.tab-secc-video{
	position: relative !important;
	width: 400px !important;
	font-size: var(--fs-base) !important;
	background-size: 100% 100% !important;
	background-position: -10px -10px !important;
	background-repeat: no-repeat !important;
}

@media (max-width: 768px){
	.tab-secc-video{
		width: 280px !important;
		margin: auto !important;
	}
}
/*SLIDER TAB*/
.tab-description .elementor-image-box-wrapper{
	display: flex !important;
	flex-flow: row nowrap !important;
	text-align: left !important;
	gap: var(--esp-2) !important;
}

.tab-progress{
	position: absolute !important;
	bottom:0px !important;
	top: inherit !important;
	height: 4px !important;
	width: 100px !important;
	left: 0px !important;
	right: 0px;
	background: #d3cbe4 !important;
	border-radius: 50px !important;
	overflow: hidden !important;
	margin: 0 auto !important; 
}
.tab-progress-bar{
	position: absolute !important;
	top: inherit !important;
	bottom:0px !important;
	width: 100% !important;
	left: 0px !important;
	height: 4px !important;
	background: #886ade !important;
	border-radius: 50px !important;
	transform-origin: left !important;
	transform: scaleX(0);
}

/* ================================================
   TIENDA PAGE — hero
   ================================================ */
.ti-hero {
	min-height: 70vh;
	text-align: center;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ti-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--ti-hero-blur);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	opacity: 0.1;
	pointer-events: none;
	z-index: 0;
}

.ti-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--esp-6);
}

.ti-hero__title {
	margin: 0;
	color: var(--site-color-primary);
}

.ti-hero__scroll {
	color: var(--marca);
	opacity: 0.5;
}

.ti-hero__scroll svg {
	width: 28px;
	height: 28px;
}

/* ================================================
   TIENDA PAGE — hero en video (ancho completo)
   El video cambia por breakpoint con <source media>; el CTA va encima.
   ================================================ */
.ti-hero-video {
	position: relative;
	padding: 0 !important;
	background: var(--site-color-fondo);
}

/* H1 solo para SEO y lectores de pantalla: el texto ya está en el video */
.ti-hero-video__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ti-hero-video__media {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1500 / 600;
}

.ti-hero-video__cta {
	position: absolute;
	left: 50%;
	top: 86%;
	transform: translate(-50%, -50%);
	white-space: nowrap;   /* con left: 50% solo tendria medio ancho y se partiria */
}

@media (max-width: 1300px) {
	.ti-hero-video__media { aspect-ratio: 900 / 600; }
}

@media (max-width: 768px) {
	.ti-hero-video__media { aspect-ratio: 400 / 700; }
}

/* ================================================
   TIENDA PAGE — producto
   ================================================ */
.ti-product__inner {
	display: flex;
	align-items: center;
	gap: var(--esp-12);
	max-width: 930px;
}

.ti-product__text {
	flex: 0 0 50%;
	display: flex;
	flex-direction: column;
	gap: var(--esp-5);
	align-items: baseline;
}

.ti-product__title {
	color: var(--site-color-primary);
}

.ti-product__desc {
	color: var(--site-color-primary);
}

.ti-product__features {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--esp-3);
}

.ti-product__features li {
	display: flex;
	align-items: flex-start;
	gap: var(--esp-3);
}

.ti-product__features li img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	flex-shrink: 0;
	margin-top: 2px;
}

.ti-product__features li span {
	font-size: var(--fs-lg);
	color: var(--site-color-text);
	line-height: 1.4em;
	text-align: left !important;
}

/* ================================================
   TIENDA PAGE — phone mockup
   ================================================ */
.ti-product__video {
	flex: 0 0 50%;
	display: flex;
	justify-content: center;
	position: relative;
}

.ti-product__video video {
	max-width: 440px;
	width: 100%;
	border-radius: var(--radio-sm);
}

.ti-phone {
	position: relative;
	width: 280px;
	background: #12102a;
	border-radius: 44px;
	border: 6px solid #3d3466;
	box-shadow:
		0 0 0 2px #6c5ce7,
		0 30px 80px rgba(100, 80, 200, 0.2);
	overflow: hidden;
}

/* Notch */
.ti-phone::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 26px;
	background: #12102a;
	border-radius: 0 0 var(--radio-lg) var(--radio-lg);
	z-index: 2;
}

.ti-phone__screen {
	width: 100%;
	overflow: hidden;
}

.ti-phone__screen video {
	width: 100%;
	display: block;
}

/* ================================================
   TIENDA PAGE — divisor
   ================================================ */
.ti-divider {
	display: flex;
	align-items: center;
	gap: var(--esp-4);
	max-width: 760px;
	margin: 0 auto;
	padding: 0 30px;
	color: var(--site-color-accent);
	font-size: var(--fs-sm);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ti-divider::before,
.ti-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--site-color-borde);
}

/* ================================================
   TIENDA PAGE — nota pie
   ================================================ */

.ti-footnote {
	text-align: center;
	padding: 40px 0 0 0;
	font-size: var(--fs-sm);
	color: var(--site-color-accent);
}

.ti-footnote a {
	text-decoration: underline;
}

.ti-pago {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--esp-3);
}

.ti-pago__label {
	color: var(--site-color-primary);
	white-space: nowrap;
}

.ti-metodos-pago {
	max-width: 290px !important;
	width: 100%;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
	.ti-product__inner {
		flex-direction: column;
		gap: var(--esp-10);
	}
	.ti-product__text {
		align-items: center;
		text-align: center;
	}
	.ti-pago {
		flex-direction: column;
	}
	.ti-product__media {
		order: -1;
	}
	.ti-phone {
		width: 240px;
	}
	.ti-product__title {
		font-size: var(--fs-2xl);
	}
	/* ti-hero__title hereda responsive del h1 global */
}

/* ================================================
   MY ACCOUNT PAGE
   ================================================ */

.account-page .ma-account__inner {
	max-width: var(--contenedor-medio);
}

/* Breadcrumb */
.ma-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--esp-2);
	font-size: var(--fs-md);
	margin-bottom: 24px;
}

.ma-breadcrumb a {
	color: var(--marca);
	text-decoration: none;
}

/* Título */
.ma-title {
	font-size: var(--fs-4xl);
	color: var(--site-color-primary);
	text-align: center;
	margin: 0 0 40px;
}

@media (max-width: 768px) {
	.ma-title { font-size: var(--fs-3xl); }
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
}

/* Tabs de navegación */
.woocommerce-MyAccount-navigation ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: var(--esp-1);
	border-bottom: 1px solid var(--site-color-borde);
	overflow: hidden;
	overflow-x: auto;
}

.woocommerce-MyAccount-navigation ul li {
	float: none !important;
	width: auto !important;
}

.woocommerce-MyAccount-navigation-link a {
	display: block;
	padding: 10px;
	font-size: var(--fs-base);
	font-weight: 400;
	color: var(--site-color-primary);
	text-decoration: none;
	border-radius: var(--radio-sm) var(--radio-sm) 0 0;
	transition: background var(--dur-rapida), color var(--dur-rapida);
	white-space: nowrap;
}

.woocommerce-MyAccount-navigation-link a:hover {
	background: var(--site-color-gris-claro);
}

.woocommerce-MyAccount-navigation-link.is-active a {
	background: var(--marca);
	color: #fff !important;
	font-weight: 500;
}

/* Contenido */
.ma-content {
	padding: 40px 0 0;
}

/* ================================================
   ACCOUNT ADDRESSES (vista general)
   ================================================ */

/* Texto intro */
.woocommerce-Addresses ~ p,
.woocommerce-MyAccount-content > p:first-child {
	font-size: var(--fs-md);
	color: var(--site-color-text);
	margin-bottom: 24px;
}

/* Grid de direcciones */
.woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--esp-6);
}

@media (max-width: 768px) {
	.woocommerce-Addresses { grid-template-columns: 1fr; }
}

/* Header de cada dirección */
.woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.woocommerce-Address-title h3 {
	font-size: var(--fs-base) !important;
	font-weight: 500;
	color: var(--site-color-primary);
	margin: 0;
	letter-spacing: 0;
}

.woocommerce-Address-title .edit {
	font-size: var(--fs-md);
	color: var(--site-color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color var(--dur-rapida);
}

.woocommerce-Address-title .edit:hover {
	color: var(--marca);
}

/* Card de dirección */
.woocommerce-Address address {
	background: #fff;
	border: 1px solid var(--site-color-borde);
	border-radius: var(--radio-sm);
	padding: 20px 24px;
	font-style: normal;
	font-size: var(--fs-md);
	color: var(--site-color-text);
	line-height: 1.7em;
	min-height: 100px;
}

[data-theme="dark"] .woocommerce-Address address {
	background: #000000b5;
}

/* ================================================
   ACCOUNT ADDRESS FORM — hereda estilos del checkout
   ================================================ */
.woocommerce-address-fields .form-row {
	display: flex;
	flex-direction: column;
	padding: 8px 0 !important;
	margin: 0 !important;
	width: 100% !important;
	min-width: 100% !important;
}

.woocommerce-address-fields .form-row > label:first-child {
	font-size: var(--fs-sm);
	color: var(--site-color-primary) !important;
	font-weight: 400;
	margin-bottom: 2px;
}

.woocommerce-address-fields .form-row input.input-text {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	width: 100% !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	color: var(--site-color-primary) !important;
	outline: none !important;
	height: auto !important;
}

.woocommerce-address-fields .form-row select {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	width: auto !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	color: var(--site-color-primary) !important;
	outline: none !important;
	height: auto !important;
}

.woocommerce-address-fields .select2-container {
	width: 100% !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	height: auto !important;
	padding: 5px 0 !important;
}

.woocommerce-address-fields .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 0 !important;
	color: var(--site-color-primary) !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
}

/* ================================================
   ACCOUNT DETAILS FORM — hereda estilos del checkout
   ================================================ */
.woocommerce-EditAccountForm .form-row {
	display: flex;
	flex-direction: column;
	padding: 8px 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.woocommerce-EditAccountForm .form-row > label:first-child {
	font-size: var(--fs-sm);
	color: var(--site-color-primary) !important;
	font-weight: 400;
	margin-bottom: 2px;
}

.woocommerce-EditAccountForm .form-row input.input-text,
.woocommerce-EditAccountForm .form-row input[type="password"],
.woocommerce-EditAccountForm .form-row input[type="email"],
.woocommerce-EditAccountForm .form-row input[type="text"] {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	width: 100% !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	color: var(--site-color-primary) !important;
	outline: none !important;
	height: auto !important;
}

/* Descripción display name */
.woocommerce-EditAccountForm #account_display_name ~ span,
.woocommerce-EditAccountForm .description {
	font-size: var(--fs-sm) !important;
	color: var(--site-color-accent);
	display: block;
	margin-top: 4px;
}

/* Título "Cambiar contraseña" */
.woocommerce-EditAccountForm fieldset {
	border: none;
	padding: 0;
	margin: 24px 0 0;
}

.woocommerce-EditAccountForm fieldset legend {
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--site-color-primary);
	margin-bottom: 8px;
}

/* Botón guardar cuenta */
.woocommerce-EditAccountForm .button[name="save_account_details"] {
	background: var(--marca);
	color: #fff;
	border: none;
	border-radius: var(--radio-sm);
	padding: 12px 28px;
	font-size: var(--fs-base);
	font-weight: 500;
	font-family: var(--site-typography-primary-font-family), sans-serif;
	cursor: pointer;
	transition: opacity var(--dur-rapida);
	margin-top: 16px;
}

.woocommerce-EditAccountForm .button[name="save_account_details"]:hover {
	opacity: 0.88;
}

/* Botón guardar */
.woocommerce-address-fields .button[name="save_address"] {
	background: var(--marca);
	color: #fff;
	border: none;
	border-radius: var(--radio-sm);
	padding: 12px 28px;
	font-size: var(--fs-base);
	font-weight: 500;
	font-family: var(--site-typography-primary-font-family), sans-serif;
	cursor: pointer;
	transition: opacity var(--dur-rapida);
	margin-top: 16px;
}

.woocommerce-address-fields .button[name="save_address"]:hover {
	opacity: 0.88;
}

/* Tabla de pedidos */
.woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
	vertical-align: middle;
}

.woocommerce-orders-table thead th {
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--site-color-primary);
	text-align: left;
	padding: 0 16px 14px;
	border-bottom: 1px solid var(--site-color-borde);
	background: transparent;
}

.woocommerce-orders-table tbody td {
	font-size: var(--fs-md);
	color: var(--site-color-text);
	padding: 16px;
	border-bottom: 1px solid var(--site-color-borde);
	background: transparent;
	vertical-align: middle;
}

.woocommerce-orders-table tbody tr:last-child td {
	border-bottom: none;
}

/* Número de orden — link morado */
.woocommerce-orders-table__cell-order a {
	color: var(--marca);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 500;
}

/* Botón "Ver" */
.woocommerce-orders-table__cell-actions .woocommerce-button {
	background: transparent;
	border: none;
	box-shadow: none;
	color: var(--site-color-primary);
	font-size: var(--fs-md);
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 0;
	cursor: pointer;
	transition: color var(--dur-rapida);
}

.woocommerce-orders-table__cell-actions .woocommerce-button:hover {
	color: var(--marca);
}

@media (max-width: 768px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tbody td {
		display: flex;
		justify-content: space-between;
		padding: 10px 0;
	}
	.woocommerce-orders-table tbody td::before {
		content: attr(data-title);
		font-weight: 500;
		color: var(--site-color-primary);
	}
}

.woocommerce-MyAccount-content p {
	font-size: var(--fs-base);
	color: var(--site-color-text);
	margin-bottom: 16px;
}

/* ================================================
   CHECKOUT PAGE
   ================================================ */

.checkout-page .ck-checkout__inner {
	max-width: 800px;
}

/* Breadcrumb */
.ck-breadcrumb {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--esp-2);
	font-size: var(--fs-md);
	margin-bottom: 32px;
}

.ck-breadcrumb a {
	color: var(--site-color-text);
	text-decoration: none;
}

.ck-breadcrumb span {
	color: var(--site-color-accent);
}

/* Título */
.ck-title {
	font-size: var(--fs-4xl);
	color: var(--site-color-primary);
	margin: 0 0 24px;
	text-align: center;
}

@media (max-width: 768px) {
	.ck-title { font-size: var(--fs-3xl); }
}

/* Divisor */
.ck-divider {
	border: none;
	border-top: 1px solid var(--site-color-borde);
	margin: 0 0 48px;
}

/* Layout: columna única */
.woocommerce-checkout .col2-set {
	width: 100%;
}

.woocommerce-checkout #customer_details .col-1 {
	width: 100%;
	float: none;
}

.woocommerce-checkout #customer_details .col-2 {
	display: none;
}

/* Headings de sección */
.woocommerce-billing-fields > h3,
#order_review_heading,
.ck-payment-title {
	font-weight: 500;
	color: var(--site-color-primary);
	letter-spacing: 0;
	margin: 0 0 28px;
	padding: 40px 0 20px;
}

.woocommerce-billing-fields > h3 {
	padding-top: 24px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
	width: 100%;
}

/* Grid 2 columnas para los campos */
.woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--esp-4);
}

.woocommerce-billing-fields__field-wrapper * {
	float: none !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-wide {
	grid-column: span 1;
}

/* Form row */
.woocommerce-checkout .form-row {
	display: flex;
	flex-direction: column;
	padding: 8px 0 !important;
	margin: 0 !important;
	width: 100% !important;
	min-width: 100% !important;
}

/* Labels */
.woocommerce-checkout .form-row > label:first-child {
	font-size: var(--fs-sm);
	color: var(--site-color-primary) !important;
	font-weight: 400;
	margin-bottom: 2px;
	letter-spacing: 0;
}

.woocommerce-checkout .form-row .required {
	color: var(--site-color-primary);
}

/* Inputs y selects */
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	/* el input debe ocupar su columna: con width:auto tomaba el ancho
	   por defecto del navegador y el texto se veia cortado */
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	color: var(--site-color-primary) !important;
	outline: none !important;
	height: auto !important;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus {
	border-bottom-color: var(--marca) !important;
}

/* Select2 (país, departamento) */
.woocommerce-checkout .select2-container {
	width: 100% !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	height: auto !important;
	padding: 5px 0 !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding-left: 0 !important;
	color: var(--site-color-primary) !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	line-height: 1.5 !important;
}

:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50% !important;
	transform: translateY(-50%) !important;
	right: 0 !important;
}

.woocommerce table.shop_table {
	border: none;
	border-radius: 0;
}

.woocommerce table.shop_table td {
	border-top: none !important;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
	font-weight: 500 !important;
	border-top: none !important;
}

/* Tabla de resumen del pedido */
.woocommerce-checkout-review-order-table {
	width: 100%;
	border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	padding: 14px 20px;
	font-size: var(--fs-base);
	color: var(--site-color-text);
	border: none;
	border-bottom: 1px solid var(--site-color-borde);
	border-left: none !important;
	border-right: none !important;
	text-align: left;
	background: transparent;
}

.woocommerce-checkout-review-order-table thead th {
	font-size: var(--fs-sm);
	font-weight: 500 !important;
	color: var(--site-color-accent);
}

.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td {
	color: var(--site-color-primary);
	font-weight: 400 !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
	font-weight: 500;
	color: var(--site-color-primary);
	border-bottom: none;
}

.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table th:last-child {
	text-align: right;
}

.woocommerce-checkout-review-order-table thead .product-name,
.woocommerce-checkout-review-order-table thead .product-total {
	font-weight: 500;
}

/* Sección cupón */
.checkout_coupon {
	background: #fff;
	border: 1px solid var(--site-color-borde) !important;
	border-radius: var(--radio-sm) !important;
	padding: 20px 24px !important;
	margin: 24px 0 !important;
	display: flex;
	flex-direction: column;
	gap: var(--esp-4);
}

.checkout_coupon p {
	margin: 0;
	font-size: var(--fs-md);
}

.checkout_coupon .form-row {
	flex-direction: row !important;
	align-items: flex-end;
	gap: var(--esp-3);
}

.checkout_coupon input[name="coupon_code"] {
	flex: 1;
	border: none !important;
	border-bottom: 1px solid var(--site-color-borde) !important;
	border-radius: 0 !important;
	background: transparent !important;
	padding: 8px 0 !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	outline: none !important;
}

.checkout_coupon button[name="apply_coupon"] {
	background: var(--marca);
	color: #fff;
	border: none;
	border-radius: var(--radio-sm);
	padding: 10px 24px;
	font-size: var(--fs-md);
	font-weight: 500 !important;
	font-family: var(--site-typography-primary-font-family), sans-serif;
	cursor: pointer;
	transition: opacity var(--dur-rapida);
	white-space: nowrap;
}

.checkout_coupon button[name="apply_coupon"]:hover {
	opacity: 0.88;
}

/* Métodos de pago */
#payment {
	background: transparent !important;
	border-radius: 0 !important;
	padding: 0 !important;
}

#payment ul.wc_payment_methods {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	border: none !important;
}

#payment ul.wc_payment_methods li {
	border: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Fila: radio + label */
#payment ul.wc_payment_methods li > label {
	display: flex;
	align-items: center;
	gap: var(--esp-2);
	font-size: var(--fs-base);
	color: var(--site-color-primary);
	cursor: pointer;
	padding: 0 0 0 25px;
}

#payment ul.wc_payment_methods li label img {
	height: 24px;
	width: auto;
}

/* Radio estilizado como cuadrado */
#payment input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	min-width: 18px;
	border: 2px solid var(--site-color-primary);
	background: transparent;
	cursor: pointer;
	margin: 0;
	transition: background var(--dur-rapida);
	position: absolute;
	top: 8px;
	left: 0;
}

#payment input[type="radio"]:checked {
	background: var(--site-color-primary);
}

/* Description box */
#payment .payment_box {
	background: var(--site-color-gris-claro);
	border-radius: var(--radio-sm);
	padding: 14px 20px;
	margin: 4px 0 8px;
	font-size: var(--fs-md);
	color: var(--site-color-text);
	line-height: 1.6em;
}

#payment .payment_box p {
	margin: 0;
	font-size: var(--fs-md);
}

[data-theme="dark"] .cr-cart,
[data-theme="dark"] .ck-checkout {
	background: #0e131e;
}

[data-theme="dark"] #add_payment_method #payment div.payment_box,
[data-theme="dark"] .woocommerce-cart #payment div.payment_box,
[data-theme="dark"] .woocommerce-checkout #payment div.payment_box {
	background: #192435 !important;
}

[data-theme="dark"] #add_payment_method #payment div.payment_box::before,
[data-theme="dark"] .woocommerce-cart #payment div.payment_box::before,
[data-theme="dark"] .woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #192435;
}

/* Privacidad */
.woocommerce-terms-and-conditions-wrapper {
	margin-top: 24px;
	font-size: var(--fs-sm);
	color: var(--site-color-accent);
	line-height: 1.6;
}

.woocommerce-terms-and-conditions-wrapper p {
	font-size: var(--fs-sm);
	color: var(--site-color-accent);
}

.woocommerce-terms-and-conditions-wrapper a {
	color: var(--marca);
}

/* Botón Realizar pedido */
#place_order {
	display: block !important;
	width: 100% !important;
	background: var(--marca) !important;
	color: #fff !important;
	font-size: var(--fs-lg) !important;
	font-weight: 500 !important;
	padding: 16px 32px !important;
	border-radius: var(--radio-sm) !important;
	border: none !important;
	cursor: pointer !important;
	transition: opacity var(--dur-rapida) !important;
	margin-top: 32px !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
}

#place_order:hover {
	opacity: 0.88 !important;
}

/* Responsive */
@media (max-width: 768px) {
	.woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.woocommerce-billing-fields__field-wrapper .form-row-wide {
		grid-column: span 1;
	}

	.checkout_coupon .form-row {
		flex-direction: column !important;
	}
}

.woocommerce-order section {
	padding: 0 0 30px 0 !important;
}

.woocommerce-order h2 {
	font-size: var(--fs-2xl) !important;
}

.woocommerce-order h3 {
	font-size: var(--fs-lg) !important;
}

/* ================================================
   CUSTOMER DETAILS (THANK YOU PAGE)
   ================================================ */
.woocommerce-customer-details {
	margin: 32px 0;
}

.woocommerce-column__title {
	font-weight: 500;
	color: var(--site-color-primary);
	margin-bottom: 16px;
	letter-spacing: 0;
}

.woocommerce-customer-details address {
	background: #fff;
	border: 1px solid var(--site-color-borde) !important;
	border-width: 1px !important;
	border-radius: var(--radio-sm);
	padding: 24px !important;
	font-style: normal !important;
	font-size: var(--fs-md) !important;
	color: var(--site-color-text);
	line-height: 1.4em;
}

[data-theme="dark"] .woocommerce-customer-details address {
	background: #000000b5;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {
	font-size: var(--fs-sm);
}

.woocommerce-customer-details address a {
	color: var(--marca);
	text-decoration: none;
}

.woocommerce-customer-details address a:hover {
	text-decoration: underline;
}

/* ================================================
   ORDER DETAILS (THANK YOU PAGE)
   ================================================ */
.woocommerce-order-details {
	margin: 32px 0;
}

.woocommerce-order-details__title {
	font-weight: 500;
	color: var(--site-color-primary);
	margin-bottom: 16px;
	letter-spacing: 0;
}

.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border: 1px solid var(--site-color-borde) !important;
	border-radius: var(--radio-sm) !important;
	overflow: hidden;
	padding: 24px;
}

[data-theme="dark"] .woocommerce-table--order-details {
	background: #000000b5;
}

/* Ocultar thead */
.woocommerce-table--order-details thead {
	display: none;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
	padding: 14px 20px;
	font-size: var(--fs-base);
	color: var(--site-color-text);
	border: none;
	border-bottom: 1px dashed var(--site-color-borde);
	background: transparent;
	text-align: left;
}

.woocommerce-table--order-details td:last-child,
.woocommerce-table--order-details th:last-child {
	text-align: right;
}

/* Producto */
.woocommerce-table--order-details .product-name a {
	color: var(--site-color-primary);
	font-weight: 500;
	text-decoration: none;
}

/* Fila Total — morado */
.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
	color: var(--marca);
	font-weight: 500;
	border-bottom: none;
}

/* Última fila sin borde */
.woocommerce-table--order-details tbody tr:last-child td {
	border-bottom: 1px dashed var(--site-color-borde);
}

@media (max-width: 768px) {
	.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details,
	ul.wc-bacs-bank-details.order_details.bacs_details {
		flex-flow: column nowrap !important;
		border: none !important;
	}

	.woocommerce ul.order_details li {
		border: none !important;
	}
}

/* ================================================
   BACS BANK DETAILS
   ================================================ */
.woocommerce-bacs-bank-details {
	margin: 24px 0;
}

/* Lista de cuentas — card */
ul.wc-bacs-bank-details.order_details.bacs_details {
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: var(--esp-4);
	background: #fff;
	border: 1px solid var(--site-color-borde);
	border-radius: var(--radio-sm);
	padding: 24px;
	position: relative;
	margin: 10px 0 20px 0;
}

[data-theme="dark"] ul.wc-bacs-bank-details.order_details.bacs_details {
	background: #000000b5;
}

/* Título de la cuenta */
.wc-bacs-bank-details-heading {
	margin-bottom: 20px;
}

.wc-bacs-bank-details-account-name {
	font-weight: 500 !important;
}

/* Detalles: 2 columnas */
ul.wc-bacs-bank-details-account-details {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
}

ul.wc-bacs-bank-details-account-details li {
	font-size: var(--fs-md);
	color: var(--site-color-text);
	padding: 0 24px 0 0;
}

ul.wc-bacs-bank-details-account-details li + li {
	padding: 0 0 0 24px;
	border-left: 1px solid var(--site-color-borde);
}

/* Valores en morado */
ul.wc-bacs-bank-details-account-details li strong {
	display: block;
	color: var(--marca);
	font-weight: 500;
	font-size: var(--fs-base);
	margin-top: 4px;
}

/* ================================================
   THANK YOU PAGE
   ================================================ */
.woocommerce-order .woocommerce-thankyou-order-received {
	text-align: center;
	margin: 0 0 20px 0;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	background: #fff;
	border-radius: var(--radio-sm);
	border: 1px solid var(--site-color-borde);
	list-style: none;
	padding: 24px;
	margin: 0 0 60px 0;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	gap: var(--esp-4) var(--esp-10);
}

.woocommerce ul.order_details li {
	margin-right: 10px;
	padding-right: 10px;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	font-size: var(--fs-sm);
	color: var(--site-color-text);
	line-height: 1em;
}

.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li strong {
	font-size: var(--fs-md);
	font-weight: 500;
	color: var(--site-color-primary);
	display: block;
	margin-top: 4px;
	line-height: 1em;
}

[data-theme="dark"] .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
	background: #000000b5;
}

/* ================================================
   CART PAGE
   ================================================ */

/* --- Título --- */
.cr-hero__title {
	font-size: var(--fs-4xl);
	color: var(--site-color-primary);
	margin: 0 0 80px;
	text-align: center;
}

@media (max-width: 768px) {
	.cr-hero__title { font-size: var(--fs-3xl); }
}

.cr-hero__title .woocommerce-Price-amount {
	color: inherit;
}

/* --- Notices --- */
.cr-notices {
	margin-bottom: 16px;
}

ul.woocommerce-error,
div.woocommerce-message,
div.woocommerce-info {
	background: var(--site-color-marino);
	color: #fff;
	border: none;
	border-radius: var(--radio-sm);
	padding: 18px 24px 18px 55px;
	margin: 0 0 12px;
	list-style: none;
}

div.woocommerce-message::before {
	content: none;
}

[data-theme="dark"] ul.woocommerce-error,
[data-theme="dark"] div.woocommerce-message,
[data-theme="dark"] div.woocommerce-info {
	background: #16223d;
}

ul.woocommerce-error li,
div.woocommerce-message,
div.woocommerce-info {
	color: #fff;
}

div.woocommerce-message a,
div.woocommerce-info a,
ul.woocommerce-error a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: underline;
	font-size: var(--fs-md);
	display: inline-block;
	margin-top: 4px;
}

/* --- Cart container --- */
.cr-cart__inner {
	max-width: 760px;
}

/* --- Items --- */
.cr-items {
	display: flex;
	flex-direction: column;
	gap: var(--esp-2);
}

.cr-item {
	display: flex;
	align-items: center;
	gap: var(--esp-5);
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--site-color-borde);
	border-radius: var(--radio-sm);
}

.cr-item.cart_item {
	background: #fff !important;
	position: relative;
}

.cr-item__remove {
	position: absolute;
	top: 10px;
	right: -16px;
}

[data-theme="dark"] .cr-remove {
	background: #000000b5 !important;
}

[data-theme="dark"] .cr-item,
[data-theme="dark"] .cr-item.cart_item {
	background: #000000b5 !important;
}

.cr-item__img {
	flex-shrink: 0;
	width: 80px;
	height: 80px;
	border-radius: var(--radio-sm);
	overflow: hidden;
}

.cr-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cr-item__img a {
	display: block;
	width: 100%;
	height: 100%;
}

.cr-item__name {
	flex: 1;
}

.cr-item__name h4 {
	color: var(--site-color-primary);
	text-transform: uppercase;
	font-size: var(--fs-md);
	font-weight: 500;
	line-height: 1.3em;
	letter-spacing: 0;
	margin: 0;
}

.cr-item__name h4 a {
	color: inherit;
	text-decoration: none;
}

.cr-item__name .variation {
	color: var(--site-color-text);
	font-size: var(--fs-md);
}

.cr-item__qty p,
.cr-item__price p,
.cr-item__subtotal p {
	margin: 0;
	white-space: nowrap;
}

.cr-item__qty p {
	color: var(--site-color-text);
}

.cr-item__price p,
.cr-item__subtotal p {
	color: var(--site-color-primary);
}

.cr-item__remove {
	position: absolute;
	top: 10px;
	right: -16px;
	flex-shrink: 0;
}

.cr-remove {
	font-size: var(--fs-xl);
	color: var(--site-color-accent);
	text-decoration: none;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--radio-circulo);
	transition: color var(--dur-rapida), background var(--dur-rapida);
}

.cr-remove:hover {
	color: var(--site-color-primary);
	background: var(--site-color-gris-claro);
}

/* --- Totales --- */
.cr-totals {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
}

.cr-totals__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--site-color-borde);
	font-size: var(--fs-base);
	color: var(--site-color-text);
}

.cr-totals__row--total {
	font-weight: 500;
	font-size: var(--fs-lg);
	color: var(--site-color-primary);
}

.cr-totals__row--total .woocommerce-Price-amount {
	color: var(--site-color-primary);
}

/* --- Botón checkout --- */
.cr-checkout {
	display: block;
	text-align: center;
	background: var(--marca);
	color: #fff;
	font-size: var(--fs-lg);
	font-weight: 500;
	padding: 16px 32px;
	border-radius: var(--radio-sm);
	text-decoration: none;
	margin-top: 32px;
	transition: opacity var(--dur-rapida);
}

.cr-checkout:hover {
	color: #fff;
	opacity: 0.88;
}

/* --- Nota cupón --- */
.cr-coupon-note {
	text-align: center;
	margin-top: 16px;
	font-size: var(--fs-md) !important;
	color: var(--site-color-text);
}

/* --- Carrito vacío --- */
.cr-empty__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--esp-8);
	text-align: center;
	padding: 60px 30px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
	.cr-hero {
		padding: 40px 0 24px !important;
	}

	.cr-item {
		flex-wrap: wrap;
		gap: var(--esp-3);
	}

	.cr-item__img {
		width: 60px;
		height: 60px;
	}

	.cr-item__price {
		display: none;
	}
}

/* ================================================
   LOGIN / REGISTRO
   ================================================ */
.ma-auth {
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 0;
}

.ma-auth__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--esp-10);
	max-width: 800px !important;
	width: 100%;
}

.ma-auth__box {
	width: 100%;
}

/* Paneles login / registro */
.auth-wrap {
	width: 100%;
}

.auth-panel__title {
	margin: 0 0 32px;
	text-align: center;
}

/* Hereda estilos de formularios existentes */
.auth-form .form-row {
	display: flex;
	flex-direction: column;
	padding: 8px 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.auth-form .form-row label {
	font-size: var(--fs-sm);
	color: var(--site-color-primary) !important;
	font-weight: 400;
	margin-bottom: 2px;
}

.auth-form .form-row .input-text {
	border: none !important;
	border-bottom: 1px solid var(--site-color-primary) !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	width: 100% !important;
	font-size: var(--fs-base) !important;
	font-family: var(--site-typography-primary-font-family), sans-serif !important;
	color: var(--site-color-primary) !important;
	outline: none !important;
	height: auto !important;
}

.auth-form__actions {
	display: flex !important;
	flex-direction: column !important;
	align-items: center;
	justify-content: center;
	gap: var(--esp-4);
	margin-top: 24px !important;
}

.auth-btn {
	align-self: center;
}

.auth-form__note {
	font-size: var(--fs-sm);
	color: var(--site-color-accent);
	margin: 8px 0;
}

.lost_password {
	margin-top: 12px !important;
	font-size: var(--fs-sm);
	text-align: center;
}

.lost_password a {
	color: var(--site-color-accent);
	text-decoration: none;
}

.auth-switch {
	margin-top: 24px;
	text-align: center;
	font-size: var(--fs-sm);
	color: var(--site-color-primary);
}

.auth-switch__link {
	color: var(--site-color-enlace);
	text-decoration: underline !important;
	font-weight: 400;
}

.auth-switch__link:hover {
	text-decoration: underline;
}

.woocommerce-privacy-policy-text,
.woocommerce-privacy-policy-text p {
	font-size: var(--fs-sm);
}

@media (max-width: 768px) {
	.auth-panel__title {
		font-size: var(--fs-xl);
	}
}

/* ================================================
   NUEVA PLANTILLA DE TIENDA — tienda-invitaciones.php
   Bloques por tipo de evento (Bodas, Corporativo) con
   sus planes Express / Exclusive.
   ================================================ */

/* la regla global section{padding:70px 0 !important} obliga al !important */
.ti-evento {
	padding-top: 0 !important;
}

.tib__cabecera .tib__morado {
	color: var(--site-color-pase);
}

.ti-evento__inner {
	max-width: 1000px;
}

/* boton de WhatsApp bajo las tarjetas de los planes */
.ti-evento__cta {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.ti-evento__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--esp-6);
	align-items: stretch;
}

.ti-plan {
	display: flex;
	flex-direction: column;
	gap: var(--esp-3);
	padding: 34px 30px;
	/* el giro 3D hacia el mouse lo anima lib/js/tienda.js */
	will-change: transform;
}

/* ---- Cabecera de la tarjeta: icono junto al titulo ---- */
.ti-plan__head {
	display: flex;
	align-items: flex-start;
	gap: var(--esp-3);
}

/* la bajada se alinea con el titulo, no con el icono */
.ti-plan__titulos {
	display: flex;
	flex-direction: column;
	gap: var(--esp-2);
	min-width: 0;
}

/* ---- Pie: boton y precio en la misma linea ---- */
.ti-plan__footer {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: var(--esp-3);
	margin-top: auto;      /* empuja el pie al fondo de la tarjeta */
	padding-top: 20px;
	border-top: 1px dashed var(--site-color-borde);
}

.ti-plan__footer .ti-plan__price {
	margin: 0;
}

/* ---- Icono de cada plan ---- */
.ti-plan__icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--radio-md);
	background: color-mix(in srgb, var(--marca) 12%, transparent);
	color: var(--marca);
	flex-shrink: 0;
}

.ti-plan__icono svg {
	width: var(--icono-lg);
	height: var(--icono-lg);
}

/* el badge es inline-block: dentro del flex de la tarjeta no debe estirarse */
.ti-plan > .badge--borde {
	align-self: flex-start;
}

/* bajada bajo el titulo: usa la clase .bajada global, aqui solo el margen */
.ti-plan__bajada {
	margin: -6px 0 0;
}

.ti-plan__name {
	font-size: var(--fs-xl);
	line-height: 1.15;
	margin: 0;
	color: var(--site-color-primary);
}

.ti-plan__price {
	margin: 0;
	font-size: var(--fs-lg);
	font-weight: 500;
	color: var(--marca);
}

.ti-plan__price del {
	opacity: .55;
	font-weight: 400;
	margin-right: 6px;
}

.ti-plan__btn {
	align-self: flex-start;
}

@media (max-width: 768px) {
	.ti-evento__grid {
		grid-template-columns: 1fr;
	}
	.ti-plan {
		padding: 26px 22px;
	}
	.ti-plan__name {
		font-size: var(--fs-xl);
	}
}

/* ---- Tarjeta de cada tipo de invitación: foto + título + sus dos planes ---- */
.ti-evento .ti-tipo {
	padding: 0;
	gap: 0;
	border-radius: var(--radio-lg);
	transition: border-color var(--dur-media) ease, transform var(--dur-media) ease;
}

.ti-evento .ti-tipo:hover {
	border-color: color-mix(in srgb, var(--marca) 45%, transparent);
	transform: translateY(-4px);
}

.ti-tipo__foto {
	position: relative;
	height: 220px;
	overflow: hidden;
}

.ti-tipo__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform var(--dur-lenta) ease;
}

.ti-tipo:hover .ti-tipo__foto img {
	transform: scale(1.04);
}

/* oscurece la base de la foto para que la etiqueta se lea */
.ti-tipo__foto::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 28, 60, .55), rgba(5, 28, 60, 0) 55%);
}

.ti-tipo__etiqueta {
	position: absolute;
	left: 20px;
	bottom: 18px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: var(--esp-2);
	padding: 7px 14px 7px 10px;
	border-radius: var(--radio-pill);
	background: #FFFFFF;
	color: var(--site-color-primary);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.ti-tipo__etiqueta svg {
	width: 18px;
	height: 18px;
	color: var(--marca);
}

.ti-tipo__cuerpo {
	display: flex;
	flex-direction: column;
	gap: var(--esp-2);
	flex: 1;
	padding: 26px 28px 28px;
}

.ti-tipo__titulo {
	margin: 0;
	font-size: var(--fs-xl);
	line-height: 1.2;
	color: var(--site-color-primary);
}

/* solo el tipo de evento va en morado */
.ti-tipo__titulo span {
	color: var(--site-color-pase);
}

.ti-evento .ti-tipo__bajada {
	margin: 0 0 8px;
	font-size: var(--fs-md);
}

/* los dos planes como filas que llevan a su ficha */
.ti-tipo__planes {
	display: flex;
	flex-direction: column;
	gap: var(--esp-2);
	margin-top: auto;
}

.ti-tipo__plan {
	display: flex;
	align-items: center;
	gap: var(--esp-3);
	padding: 14px 16px;
	border: 1px solid var(--site-color-borde);
	border-radius: var(--radio-md);
	color: var(--site-color-primary);
	text-decoration: none;
	transition: border-color var(--dur-rapida) ease, background-color var(--dur-rapida) ease;
}

.ti-tipo__plan:hover {
	border-color: var(--marca);
	background: color-mix(in srgb, var(--marca) 6%, transparent);
}

.ti-tipo__plan-texto {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.ti-tipo__plan-texto b {
	font-size: var(--fs-base);
	font-weight: 600;
}

.ti-tipo__plan-texto small {
	font-size: var(--fs-sm);
	color: var(--site-color-text);
	line-height: 1.35;
}

.ti-tipo__plan-precio {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	font-size: var(--fs-base);
	font-weight: 600;
	white-space: nowrap;
}

.ti-tipo__plan-precio small {
	font-size: var(--fs-xs);
	font-weight: 400;
	color: var(--site-color-text);
}

.ti-tipo__plan-flecha {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: var(--marca);
	transition: transform var(--dur-rapida) ease;
}

.ti-tipo__plan:hover .ti-tipo__plan-flecha {
	transform: translateX(3px);
}

@media (max-width: 768px) {
	.ti-tipo__foto { height: 190px; }
	.ti-tipo__cuerpo { padding: 22px 18px 20px; }
	.ti-tipo__titulo { font-size: var(--fs-lg); }
	.ti-tipo__plan { gap: var(--esp-3); padding: 12px; }
}

@media (max-width: 470px) {
	.ti-tipo__plan-flecha { display: none; }
}

/* ================================================
   TODO INCLUIDO — tres secciones: invitación web, app móvil y panel web
   Texto + dispositivo; el dispositivo alterna lado (--izq lo pasa a la
   izquierda). Las pantallas son HTML: cada .tib-pantalla es un contenedor
   y --p vale 1 px de su diseño (390 en celular, 1000 en tablet).
   ================================================ */
.tib__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: var(--esp-20);
	max-width: 1000px;
}

.tib--izq .tib__texto {
	order: 2;
}

/* el panel necesita más ancho para la tablet */
.tib--panel .tib__inner {
	grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
	gap: var(--esp-12);
}

/* Beneficios + producto (Invitación web / Aplicación móvil / Panel web) */
.tib__etiquetas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--esp-2);
	margin-bottom: 14px;
}

.tib__producto {
	background: color-mix(in srgb, var(--marca) 12%, #FFFFFF);
	color: var(--marca);
	font-weight: 500;
}

.tib__texto h2 {
	margin: 0 0 28px;
}

.tib__lista {
	display: flex;
	flex-direction: column;
	gap: var(--esp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tib__lista li {
	display: flex;
	align-items: flex-start;
	gap: var(--esp-3);
	color: var(--site-color-primary);
	font-family: var(--site-typography-text-font-family), sans-serif;
	font-size: var(--fs-base);
}

.tib__lista svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	color: var(--site-color-whatsapp);
}

.tib__visual {
	display: flex;
	justify-content: center;
}

/* ---- Botón de Google Play ---- */
.tib-play {
	display: inline-flex;
	align-items: center;
	gap: var(--esp-3);
	margin-top: 32px;
	padding: 10px 22px 10px 16px;
	border-radius: var(--radio-md);
	background: #000000;
	color: #FFFFFF;
	text-decoration: none;
	transition: opacity var(--site-transition);
}

.tib-play:hover {
	opacity: 0.85;
}

.tib-play__logo {
	width: 26px;
	height: 28px;
}

.tib-play__txt {
	display: flex;
	flex-direction: column;
	font-size: var(--fs-lg);
	font-weight: 500;
	line-height: 1.05;
}

.tib-play__txt small {
	font-size: var(--fs-2xs);
	font-weight: 400;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

/* ---- Marcos (mismo look que los de la tienda) ---- */
/* mismo celular que en la carta virtual (.cv-movil): bisel negro y canto
   lila metálico con botones laterales */
.tib-movil {
	position: relative;
	container-type: inline-size;
	width: 280px;
	aspect-ratio: 9 / 19.5;
	padding: 6px;
	border: 5px solid transparent;
	border-radius: 15% / 7%;
	background:
		linear-gradient(#0B0A12, #0B0A12) padding-box,
		linear-gradient(160deg, #FFFFFF 0%, #E4E6EA 30%, #FFFFFF 55%, #D5D8DE 80%, #F2F3F5 100%) border-box;
	box-shadow: var(--sombra-3);
}

/* botones laterales: volumen (izquierda) y encendido (derecha) */
.tib-movil::before,
.tib-movil::after {
	content: '';
	position: absolute;
	width: 3px;
	border-radius: 2px;
	background: #D5D8DE;
}

.tib-movil::before {
	left: -8px;
	top: 20%;
	height: 7%;
	box-shadow: 0 calc(100% + 8px) 0 #D5D8DE;
}

.tib-movil::after {
	right: -8px;
	top: 27%;
	height: 11%;
}

.tib-tablet {
	width: 100%;
	max-width: 680px;
	aspect-ratio: 4 / 3;
	padding: 6px;
	border: 4px solid transparent;
	border-radius: var(--radio-lg);
	background:
		linear-gradient(#14131A, #14131A) padding-box,
		linear-gradient(160deg, #FFFFFF 0%, #E4E6EA 30%, #FFFFFF 55%, #D5D8DE 80%, #F2F3F5 100%) border-box;
	box-shadow: 0 24px 50px rgba(20, 30, 60, 0.2);
}

.tib-pantalla {
	position: relative;
	height: 100%;
	overflow: hidden;
	container-type: inline-size;
	--p: calc(100cqw / 390);
}

/* esquinas de la pantalla, en proporción al celular (como en la carta virtual) */
.tib-movil .tib-pantalla {
	border-radius: 12cqw;
}

.tib-tablet .tib-pantalla {
	border-radius: var(--radio-lg);
}

.tib-pantalla img {
	display: block;
	max-width: none;
}

.tib-pantalla svg {
	display: block;
	flex: none;
}

/* barra de estado */
.tib-estado {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: calc(48 * var(--p));
	padding: 0 calc(26 * var(--p)) 0 calc(34 * var(--p));
	color: var(--site-color-primary);
	font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
	font-size: calc(16 * var(--p));
	font-weight: 600;
}

.tib-estado__isla {
	position: absolute;
	left: 50%;
	top: calc(10 * var(--p));
	width: calc(112 * var(--p));
	height: calc(32 * var(--p));
	border-radius: var(--radio-pill);
	background: #000000;
	transform: translateX(-50%);
}

.tib-estado__iconos {
	width: calc(68 * var(--p));
	height: auto;
}

/* ================================================
   Pantalla 1: invitación — réplica del RSVP de "Terracota Silvestre"
   (00-INVITACIONES HTML/Terracota Silvestre-demo): mismos colores, fuentes
   y medidas de su diseño móvil (390 px). El JS hace el clic en "Sí, ahí
   estaré" y en "Clic para enviar" (lib/js/tienda-app.js).
   ================================================ */
@font-face {
	font-family: 'TIB Inria Serif';
	src: url('../../img/tienda/invitacion/inria-serif-latin.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'TIB Bricolage';
	src: url('../../img/tienda/invitacion/bricolage-latin.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
}

.tib-inv {
	--inv-primario: #8E563F;
	--inv-textos: #1E271D;
	--inv-bg: #F6E9E1;
	--inv-serif: 'TIB Inria Serif', Georgia, serif;
	--inv-cuerpo: 'TIB Bricolage', sans-serif;

	background: var(--inv-bg);
	color: var(--inv-textos);
	font-family: var(--inv-cuerpo);
	text-align: center;
}

@font-face {
	font-family: 'TIB Cinzel';
	src: url('../../img/tienda/invitacion/cinzel-latin.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'TIB Birthstone';
	src: url('../../img/tienda/invitacion/birthstone-latin.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
}

/* ---- inicio de la invitación (hero) ---- */
.tib-inv__hero {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: calc(800 * var(--p));
	padding: calc(80 * var(--p)) calc(24 * var(--p)) calc(56 * var(--p));
	overflow: hidden;
}

/* fondo terracota inclinado (hero_bg en mosaico, girado como en la invitación) */
.tib-inv__hero-bg {
	position: absolute;
	left: -100%;
	bottom: calc(50% - 150 * var(--p));
	width: 300%;
	height: calc(1110 * var(--p));
	background: url('../../img/tienda/invitacion/hero_bg.webp') top left / calc(1512 * var(--p)) calc(1069 * var(--p)) repeat-x;
	transform: rotate(-19deg);
	transform-origin: center bottom;
}

.tib-inv__hero-deco {
	position: absolute;
	right: calc(-12 * var(--p));
	top: 32%;
	width: 42%;
	height: auto;
}

.tib-inv__hero-nombres,
.tib-inv__hero-fecha {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tib-inv__hero-pre {
	margin-bottom: calc(10 * var(--p));
	color: #FFFFFF;
	font-size: calc(16 * var(--p));
	font-weight: 200;
	letter-spacing: 0.28em;
	text-transform: uppercase;
}

.tib-inv__hero-nombre {
	color: #FFFFFF;
	font-family: 'TIB Cinzel', serif;
	font-size: calc(55 * var(--p));
	line-height: 1.05;
}

.tib-inv__hero-and {
	width: calc(220 * var(--p));
	height: auto;
	margin: calc(4 * var(--p)) auto;
}

.tib-inv__hero-fecha {
	line-height: 0.9;
}

.tib-inv__hero-dia {
	color: var(--inv-primario);
	font-family: 'TIB Cinzel', serif;
	font-size: calc(80 * var(--p));
	line-height: 0.6;
}

.tib-inv__hero-mes {
	color: #74815C;
	font-family: 'TIB Birthstone', cursive;
	font-size: calc(80 * var(--p));
}

.tib-inv__hero-anio {
	color: var(--inv-primario);
	font-family: 'TIB Cinzel', serif;
	font-size: calc(40 * var(--p));
}

.tib-inv__divisor {
	width: calc(150 * var(--p));
	height: auto;
	margin: calc(30 * var(--p)) auto;
}

/* en el hero la barra de estado va en blanco (el JS la oscurece al bajar) */
.tib-inv .tib-estado {
	color: #FFFFFF;
}

.tib-inv__scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.tib-inv__foto {
	width: 100%;
	height: calc(250 * var(--p));
	object-fit: cover;
	object-position: center 30%;
}

.tib-inv__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(350 * var(--p));
	margin-top: calc(-60 * var(--p));
	padding: calc(30 * var(--p)) calc(24 * var(--p)) calc(28 * var(--p));
	border-radius: calc(22 * var(--p));
	background: #FFFFFF;
	box-shadow: 0 calc(12 * var(--p)) calc(30 * var(--p)) rgba(60, 28, 14, 0.1);
}

.tib-inv__pre {
	font-size: calc(17 * var(--p));
	letter-spacing: 0.06em;
	line-height: 1.5;
	text-transform: uppercase;
}

.tib-inv__pre b {
	font-weight: 600;
}

.tib-inv__nombre {
	margin: calc(10 * var(--p)) 0 calc(8 * var(--p));
	color: var(--inv-primario);
	font-family: var(--inv-serif);
	font-size: calc(33 * var(--p));
	line-height: 1.2;
}

.tib-inv__pases {
	color: #66775A;
	font-size: calc(16 * var(--p));
	font-weight: 200;
}

.tib-inv__dedicatoria {
	margin-top: calc(16 * var(--p));
	font-size: calc(17 * var(--p));
	line-height: 1.35;
}

.tib-inv__sep {
	width: 100%;
	margin: calc(20 * var(--p)) 0;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tib-inv__form,
.tib-inv__respuesta {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.tib-inv__titulo {
	margin-bottom: calc(14 * var(--p));
	font-size: calc(15 * var(--p));
	letter-spacing: 0.12em;
	line-height: 1.5;
	text-transform: uppercase;
}

.tib-inv__titulo span {
	font-weight: 200;
}

.tib-inv__label {
	font-size: calc(15 * var(--p));
	font-weight: 200;
}

.tib-inv__opcion {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(12 * var(--p));
	width: 100%;
	margin-top: calc(6 * var(--p));
	padding: calc(13 * var(--p)) calc(18 * var(--p));
	border-radius: calc(10 * var(--p));
	background: #F8F8F8;
	font-size: calc(19 * var(--p));
	font-weight: 200;
}

/* casilla: cuadradito redondeado; marcada = color primario */
.tib-inv__opcion i {
	flex: none;
	width: calc(20 * var(--p));
	height: calc(20 * var(--p));
	border: calc(2 * var(--p)) solid var(--inv-textos);
	border-radius: calc(5 * var(--p));
	background: #FFFFFF;
}

/* campos que aparecen al elegir "Sí" (el JS anima su alto) */
.tib-inv__campos {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	overflow: hidden;
	padding-top: calc(14 * var(--p));
}

.tib-inv__input {
	width: 100%;
	margin-top: calc(6 * var(--p));
	padding: calc(10 * var(--p)) calc(12 * var(--p));
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: calc(8 * var(--p));
	font-size: calc(15 * var(--p));
}

.tib-inv__btn {
	margin-top: calc(18 * var(--p));
	padding: calc(10 * var(--p)) calc(25 * var(--p));
	border-radius: 40px;
	background: var(--inv-primario);
	color: #FFFFFF;
	font-size: calc(17 * var(--p));
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* respuesta: reemplaza al formulario al enviar */
.tib-inv__respuesta {
	display: none;
	gap: calc(16 * var(--p));
	font-size: calc(18 * var(--p));
	line-height: 1.35;
}

.tib-inv__resaltado {
	color: var(--inv-primario);
	font-weight: 500;
}

/* el pase con el código QR, debajo del mensaje de la respuesta */
.tib-inv__qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--p));
	margin-top: calc(4 * var(--p));
}

.tib-inv__qr-nota {
	font-size: calc(15 * var(--p));
	font-weight: 500;
}

.tib-inv__qr img {
	display: block;
	width: calc(150 * var(--p));
	height: auto;
	padding: calc(6 * var(--p));
	border: 1px solid var(--inv-textos);
	background: #FFFFFF;
}

.tib-inv__deco {
	width: calc(200 * var(--p));
	height: auto;
	margin-top: calc(-10 * var(--p));
}

/* ================================================
   Pantalla 2: app móvil "Mis invitados" — según Figma (iPhone 14 & 15 Pro - 9,
   393 px de ancho). Colores del diseño: azul #051C3C / #283342, textos
   #394B62, morado #886ADE, línea #EAE7F2.
   ================================================ */
.tib-app {
	--p: calc(100cqw / 393);

	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	color: #283342;
	/* la fuente de los textos de la página */
	font-family: var(--site-typography-text-font-family), sans-serif;
}

.tib-app__cab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: calc(104 * var(--p));
	padding: calc(48 * var(--p)) calc(30 * var(--p)) 0;
	background: linear-gradient(180deg, #EEEAFE, #FFFFFF);
}

.tib-app__cab b {
	color: #051C3C;
	font-size: calc(20 * var(--p));
	font-weight: 500;
}

.tib-app__cab-ico {
	width: calc(24 * var(--p));
	height: calc(24 * var(--p));
	padding: calc(3 * var(--p));
}

.tib-app__resumen-zona {
	display: flex;
	justify-content: center;
	margin-top: calc(-14 * var(--p));
	padding: calc(10 * var(--p)) 0;
	border-bottom: 1px solid #EAE7F2;
}

.tib-app__resumen {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(5 * var(--p));
	width: calc(333 * var(--p));
	padding: calc(10 * var(--p));
	overflow: hidden;
	border-radius: calc(12 * var(--p));
	background: var(--site-color-pase);
}

.tib-app__resumen > span {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(8 * var(--p));
	width: calc(100 * var(--p));
	padding: calc(9 * var(--p)) calc(5 * var(--p));
	border-radius: calc(8 * var(--p));
	color: #F9F9FF;
	font-size: calc(15 * var(--p));
	line-height: 1.15;
	text-align: center;
}

.tib-app__resumen > span.is-activo {
	background: rgba(0, 0, 0, 0.11);
}

.tib-app__resumen b {
	font-size: calc(26 * var(--p));
	font-weight: 500;
	line-height: 1;
}

.tib-app__deco-1 {
	position: absolute;
	left: 0;
	top: 0;
	width: calc(24 * var(--p));
	height: calc(24 * var(--p));
}

.tib-app__deco-2 {
	position: absolute;
	right: calc(-14 * var(--p));
	bottom: 0;
	width: calc(36 * var(--p));
	height: calc(36 * var(--p));
}

.tib-app__lista {
	display: flex;
	flex-direction: column;
	gap: calc(8 * var(--p));
	width: calc(332 * var(--p));
	margin: 0 auto;
	padding: calc(20 * var(--p)) 0;
}

/* fila de invitado: color según estado (confirmado / pendiente / rechazado) */
.tib-app__fila {
	--c: #F3A301;
	--f: #FBF6EF;
	--t: #F3A301;
}

.tib-app__fila--si {
	--c: #2B7B2B;
	--f: #F3FBEF;
	--t: #2B7B2B;
}

.tib-app__fila--no {
	--c: #BC2727;
	--f: #FBEFEF;
	--t: #BC2727;
}

.tib-app .tib-app__fila {
	position: relative;
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	min-height: calc(66 * var(--p));
	padding: 0 calc(10 * var(--p));
	overflow: hidden;
	border-radius: calc(4 * var(--p));
	background: var(--f);
}

.tib-app .tib-app__fila::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: var(--c);
}

.tib-app__datos {
	display: flex;
	flex-direction: column;
	gap: calc(5 * var(--p));
	width: calc(242 * var(--p));
	min-width: 0;
}

.tib-app__nombre {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	min-width: 0;
}

.tib-app__estado {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	padding: calc(4 * var(--p)) calc(5 * var(--p));
	border-radius: calc(5 * var(--p));
	background: var(--c);
}

.tib-app__estado img {
	width: calc(12 * var(--p));
	height: calc(12 * var(--p));
}

.tib-app__nombre b {
	overflow: hidden;
	color: #283342;
	font-size: calc(17 * var(--p));
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tib-app__detalle {
	display: flex;
	align-items: center;
	gap: calc(5 * var(--p));
	padding-left: calc(31 * var(--p));
}

.tib-app__detalle small {
	color: #394B62;
	font-size: calc(15 * var(--p));
}

.tib-app__sep {
	width: 1px;
	height: calc(12 * var(--p));
	background: rgba(136, 106, 222, 0.25);
}

.tib-app__chip {
	display: flex;
	align-items: center;
	gap: calc(2 * var(--p));
	padding: calc(3 * var(--p)) calc(2 * var(--p));
	border-radius: calc(4 * var(--p));
	background: #FFFFFF;
	color: #F3A301;
	font-size: calc(15 * var(--p));
	line-height: 1;
}

.tib-app__chip--si { color: #2B7B2B; }
.tib-app__chip--no { color: #BC2727; }

.tib-app__chip img {
	width: calc(13 * var(--p));
	height: calc(13 * var(--p));
}

.tib-app__alerta {
	width: calc(17 * var(--p));
	height: calc(17 * var(--p));
}

.tib-app__vsep {
	align-self: stretch;
	width: 1px;
	background: #FFFFFF;
}

.tib-app__wsp {
	position: relative;
	display: flex;
	flex: none;
}

.tib-app__wsp img {
	width: calc(24 * var(--p));
	height: calc(24 * var(--p));
}

/* globito de envíos: x1, x2… */
.tib-app__envios {
	position: absolute;
	right: calc(-7 * var(--p));
	top: calc(-7 * var(--p));
	display: flex;
	align-items: baseline;
	justify-content: center;
	width: calc(18 * var(--p));
	height: calc(18 * var(--p));
	border-radius: var(--radio-circulo);
	background: #2B7B2B;
	color: #FFFFFF;
	font-size: calc(12 * var(--p));
	font-weight: 600;
	line-height: calc(18 * var(--p));
}

.tib-app__envios small {
	font-size: calc(9 * var(--p));
}

.tib-app__kebab {
	width: calc(4 * var(--p));
	height: calc(18 * var(--p));
}

.tib-app__fab {
	position: absolute;
	right: calc(30 * var(--p));
	bottom: calc(27 * var(--p));
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(50 * var(--p));
	height: calc(50 * var(--p));
	border-radius: calc(16 * var(--p));
	background: #886ADE;
	box-shadow: 0 calc(4 * var(--p)) calc(16 * var(--p)) rgba(5, 28, 60, 0.15);
}

.tib-app__fab img {
	width: calc(24 * var(--p));
	height: calc(24 * var(--p));
}

/* ================================================
   Pantalla 3: panel web (tablet) — réplica del panel real: menú lateral +
   pestaña Invitados (agregar uno por uno) y Respuestas. Lienzo de 860 px:
   --p = 1 px de ese diseño. La animación está en lib/js/tienda-app.js.
   ================================================ */
.tib-pw {
	--p: calc(100cqw / 860);
	--pw-morado: #886ADE;
	--pw-borde: #E4E1EE;
	--pw-texto: #1B1B21;
	--pw-gris: #6B6878;

	display: flex;
	background: #FFFFFF;
	color: var(--pw-texto);
	font-family: var(--site-typography-primary-font-family), sans-serif;
}

.tib-pw > * {
	font-size: calc(15 * var(--p));
}

.tib-pw svg {
	display: block;
	flex: none;
}

/* ---- menú lateral ---- */
.tib-pw__aside {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	width: calc(205 * var(--p));
	padding: calc(14 * var(--p)) calc(10 * var(--p)) calc(12 * var(--p));
	background: #F7F5FD;
}

.tib-pw__logo {
	width: calc(120 * var(--p));
	height: auto;
	margin-bottom: calc(12 * var(--p));
}

.tib-pw__menu {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: calc(2 * var(--p));
	width: 100%;
	padding: calc(14 * var(--p)) calc(8 * var(--p));
}

.tib-pw__volver {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	padding: 0 calc(8 * var(--p));
	color: #33313B;
	font-size: calc(15 * var(--p));
}

.tib-pw__evento {
	margin: calc(16 * var(--p)) calc(8 * var(--p)) calc(8 * var(--p));
	font-size: calc(17 * var(--p));
	font-weight: 600;
}

.tib-pw__item {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	padding: calc(8 * var(--p));
	border-radius: calc(8 * var(--p));
	color: #33313B;
	font-size: calc(15 * var(--p));
}

.tib-pw__item svg,
.tib-pw__volver svg {
	width: calc(19 * var(--p));
	height: calc(19 * var(--p));
}

.tib-pw__item.is-activo {
	background: rgba(136, 106, 222, 0.12);
	font-weight: 600;
}

.tib-pw__cuenta,
.tib-pw__beta {
	display: inline-grid;
	margin-left: auto;
	color: var(--pw-gris);
	font-size: calc(14 * var(--p));
	font-style: normal;
}

.tib-pw__cuenta > span,
.tib-pw__nuevo-par > span {
	grid-area: 1 / 1;
}

.tib-pw__beta {
	padding: 0 calc(7 * var(--p));
	border: 1px solid #D4CFE4;
	border-radius: var(--radio-pill);
	font-size: calc(12 * var(--p));
}

/* ---- contenido ---- */
.tib-pw__main {
	position: relative;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.tib-pw__vista {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	padding: calc(26 * var(--p)) calc(30 * var(--p));
}

.tib-pw__cab {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: calc(20 * var(--p));
}

.tib-pw__cab > span:first-child {
	display: flex;
	flex-direction: column;
	gap: calc(4 * var(--p));
}

.tib-pw__titulo {
	font-size: calc(32 * var(--p));
	font-weight: 700;
	letter-spacing: -0.5px;
	line-height: 1.05;
}

.tib-pw__cab small {
	color: var(--pw-gris);
	font-size: calc(14 * var(--p));
}

.tib-pw__boton,
.tib-pw__continuar {
	padding: calc(9 * var(--p)) calc(16 * var(--p));
	border-radius: var(--radio-pill);
	background: var(--pw-morado);
	color: #FFFFFF;
	font-size: calc(14 * var(--p));
	font-weight: 600;
	white-space: nowrap;
}

/* tarjetas de totales */
.tib-pw__stats {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: calc(8 * var(--p));
	margin-bottom: calc(18 * var(--p));
}

.tib-pw__stats > span {
	display: flex;
	flex-direction: column;
	gap: calc(4 * var(--p));
	padding: calc(11 * var(--p)) calc(10 * var(--p));
	border: 1px solid var(--pw-borde);
	border-radius: calc(14 * var(--p));
	color: var(--pw-gris);
	font-size: calc(13 * var(--p));
	line-height: 1.25;
}

.tib-pw__stats > span.is-activo {
	border-color: var(--pw-morado);
	background: #F4F1FE;
}

.tib-pw__stats b {
	display: inline-grid;
	color: var(--pw-texto);
	font-size: calc(23 * var(--p));
	font-weight: 700;
	line-height: 1.1;
}

.tib-pw__stats b > span {
	grid-area: 1 / 1;
}

.tib-pw__stat--si b { color: #2B7B2B; }
.tib-pw__stat--no b { color: #BC2727; }
.tib-pw__stat--pend b { color: #F3A301; }

.tib-pw__cnt > span,
.tib-pw__input--pases > span > span {
	grid-area: 1 / 1;
}

.tib-pw__cnt,
.tib-pw__input--pases > span {
	display: inline-grid;
}

/* tarjeta de invitados */
.tib-pw__card {
	border: 1px solid var(--pw-borde);
	border-radius: calc(20 * var(--p));
	overflow: hidden;
}

.tib-pw__card-cab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: calc(14 * var(--p)) calc(16 * var(--p));
	border-bottom: 1px solid var(--pw-borde);
	font-size: calc(17 * var(--p));
}

.tib-pw__card-cab b {
	font-weight: 600;
}

.tib-pw__gris {
	color: var(--pw-gris);
	font-weight: 400;
}

/* formulario: crece desde 0 (el JS anima su alto) */
.tib-pw__form-zona {
	overflow: hidden;
}

.tib-pw__form {
	display: flex;
	flex-direction: column;
	gap: calc(16 * var(--p));
	margin: calc(16 * var(--p)) calc(16 * var(--p)) 0;
	padding: calc(18 * var(--p)) calc(20 * var(--p)) calc(20 * var(--p));
	border: 1px solid var(--pw-borde);
	border-radius: calc(18 * var(--p));
	background: #FAF9FE;
}

.tib-pw__form-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: calc(14 * var(--p));
	border-bottom: 1px solid var(--pw-borde);
}

.tib-pw__tabs {
	display: flex;
	padding: calc(3 * var(--p));
	border: 1px solid var(--pw-borde);
	border-radius: calc(10 * var(--p));
	background: #FFFFFF;
}

.tib-pw__tabs span {
	padding: calc(6 * var(--p)) calc(12 * var(--p));
	border-radius: calc(8 * var(--p));
	color: var(--pw-gris);
	font-size: calc(14 * var(--p));
	font-weight: 600;
}

.tib-pw__tabs span.is-activo {
	background: var(--pw-morado);
	color: #FFFFFF;
}

.tib-pw__cerrar {
	display: flex;
	align-items: center;
	gap: calc(4 * var(--p));
	color: var(--pw-gris);
	font-size: calc(14 * var(--p));
}

.tib-pw__cerrar svg {
	width: calc(15 * var(--p));
	height: calc(15 * var(--p));
}

.tib-pw__fila2 {
	display: flex;
	align-items: flex-start;
	gap: calc(14 * var(--p));
}

.tib-pw__campo {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: calc(7 * var(--p));
	min-width: 0;
}

.tib-pw__campo--corto {
	flex: 0 0 30%;
}

.tib-pw__campo small {
	color: #33313B;
	font-size: calc(14 * var(--p));
	font-weight: 600;
}

.tib-pw__ayuda {
	color: var(--pw-gris);
	font-size: calc(12 * var(--p));
}

.tib-pw__input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: calc(44 * var(--p));
	padding: 0 calc(14 * var(--p));
	border: 1px solid #DAD7E4;
	border-radius: calc(9 * var(--p));
	background: #FFFFFF;
	font-size: calc(16 * var(--p));
}

.tib-pw__input svg {
	width: calc(16 * var(--p));
	height: calc(16 * var(--p));
}

/* texto que "se escribe"; vacío muestra el ejemplo en gris */
.tib-pw__escrito:empty::before {
	content: attr(data-ph);
	color: #A3A0B0;
}

.tib-pw__agregar {
	align-self: flex-start;
	margin-top: calc(2 * var(--p));
	padding-left: calc(26 * var(--p));
	padding-right: calc(26 * var(--p));
}

/* lista */
.tib-pw__lista {
	display: grid;
	padding: calc(16 * var(--p));
}

.tib-pw__lista > span {
	grid-area: 1 / 1;
}

.tib-pw__vacio {
	align-self: center;
	padding: calc(14 * var(--p)) 0;
	color: var(--pw-gris);
	font-size: calc(15 * var(--p));
	text-align: center;
}

.tib-pw__inv {
	position: relative;
	display: flex;
	align-items: center;
	gap: calc(12 * var(--p));
	padding: calc(10 * var(--p)) calc(12 * var(--p)) calc(10 * var(--p)) calc(16 * var(--p));
	overflow: hidden;
	border-radius: calc(14 * var(--p));
	background: #FBF6EF;
}

.tib-pw__inv::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: calc(5 * var(--p));
	background: #F3A301;
}

.tib-pw__inv-estado {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(22 * var(--p));
	height: calc(22 * var(--p));
	border-radius: calc(6 * var(--p));
	background: #F3A301;
}

.tib-pw__inv-estado img {
	width: calc(12 * var(--p));
	height: calc(12 * var(--p));
}

.tib-pw__inv-datos {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: calc(2 * var(--p));
}

.tib-pw__inv-datos b {
	font-size: calc(16 * var(--p));
	font-weight: 600;
}

.tib-pw__inv-datos small {
	color: var(--pw-gris);
	font-size: calc(14 * var(--p));
}

.tib-pw__inv-acciones,
.tib-pw__inv-mas {
	display: flex;
	align-items: center;
	gap: calc(8 * var(--p));
	padding-left: calc(12 * var(--p));
	border-left: 1px solid #FFFFFF;
}

.tib-pw__circ {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(34 * var(--p));
	height: calc(34 * var(--p));
	border-radius: var(--radio-circulo);
	color: #FFFFFF;
}

.tib-pw__circ svg {
	width: calc(18 * var(--p));
	height: calc(18 * var(--p));
}

.tib-pw__circ--wsp { background: #25D366; }
.tib-pw__circ--mail { background: var(--pw-morado); }

.tib-pw__inv-mas {
	color: #4A4757;
}

.tib-pw__inv-mas svg {
	width: calc(18 * var(--p));
	height: calc(18 * var(--p));
}

.tib-pw__continuar {
	margin-top: calc(18 * var(--p));
	text-align: center;
}

.tib-pw__volver-nota {
	margin-top: calc(8 * var(--p));
	color: var(--pw-gris);
	font-size: calc(13 * var(--p));
	text-align: center;
}

/* ---- vista Respuestas: dos columnas + playlist a lo ancho ---- */
.tib-pw__resp-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: calc(14 * var(--p));
}

.tib-pw__resp {
	--c: #886ADE;

	display: flex;
	flex-direction: column;
	gap: calc(10 * var(--p));
	padding: calc(16 * var(--p));
	border: 1px solid var(--pw-borde);
	border-radius: calc(18 * var(--p));
	background: #FFFFFF;
	box-shadow: 0 calc(4 * var(--p)) calc(14 * var(--p)) rgba(40, 30, 90, 0.05);
}

.tib-pw__resp--si { --c: #2B7B2B; }
.tib-pw__resp--deseos { --c: #D94F8A; }
.tib-pw__resp--playlist {
	--c: #886ADE;
	grid-column: 1 / -1;
}

.tib-pw__resp-cab {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	margin-bottom: calc(2 * var(--p));
}

.tib-pw__resp-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(32 * var(--p));
	height: calc(32 * var(--p));
	border-radius: calc(10 * var(--p));
	background: color-mix(in srgb, var(--c) 13%, #FFFFFF);
	color: var(--c);
}

.tib-pw__resp-ico svg {
	width: calc(18 * var(--p));
	height: calc(18 * var(--p));
}

.tib-pw__resp-cab b {
	font-size: calc(17 * var(--p));
	font-weight: 600;
}

.tib-pw__resp-n {
	margin-left: auto;
	padding: calc(2 * var(--p)) calc(9 * var(--p));
	border-radius: var(--radio-pill);
	background: color-mix(in srgb, var(--c) 13%, #FFFFFF);
	color: var(--c);
	font-size: calc(13 * var(--p));
	font-style: normal;
	font-weight: 600;
}

/* mensaje: avatar + nombre/fecha + texto */
.tib-pw__msj {
	display: flex;
	align-items: flex-start;
	gap: calc(10 * var(--p));
	padding: calc(10 * var(--p));
	border-radius: calc(12 * var(--p));
	background: #F7F6FB;
}

.tib-pw__av {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(32 * var(--p));
	height: calc(32 * var(--p));
	border-radius: var(--radio-circulo);
	background: color-mix(in srgb, var(--c) 16%, #FFFFFF);
	color: var(--c);
	font-size: calc(12 * var(--p));
	font-weight: 700;
}

.tib-pw__msj-cuerpo {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: calc(3 * var(--p));
	min-width: 0;
	font-size: calc(14 * var(--p));
	line-height: 1.3;
}

.tib-pw__msj-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
}

.tib-pw__msj-top b {
	font-size: calc(14 * var(--p));
	font-weight: 600;
}

.tib-pw__msj-top small {
	color: var(--pw-gris);
	font-size: calc(12 * var(--p));
}

.tib-pw__msj-cuerpo u {
	color: var(--pw-gris);
	font-size: calc(12 * var(--p));
	text-underline-offset: 2px;
}

.tib-pw__chip {
	margin-top: calc(2 * var(--p));
	padding: calc(2 * var(--p)) calc(8 * var(--p));
	border-radius: var(--radio-pill);
	font-size: calc(12 * var(--p));
	font-style: normal;
	font-weight: 600;
}

.tib-pw__chip--si {
	background: #E5F4E3;
	color: #2B7B2B;
}

.tib-pw__chip--no {
	background: #FBE9E9;
	color: #BC2727;
}

/* playlist */
.tib-pw__canciones {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: calc(10 * var(--p));
}

.tib-pw__cancion {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	padding: calc(8 * var(--p));
	border-radius: calc(12 * var(--p));
	background: #F7F6FB;
}

.tib-pw__portada {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(40 * var(--p));
	height: calc(40 * var(--p));
	border-radius: calc(9 * var(--p));
	background: linear-gradient(135deg, var(--a), var(--b));
	color: #FFFFFF;
}

.tib-pw__portada svg {
	width: calc(18 * var(--p));
	height: calc(18 * var(--p));
}

.tib-pw__cancion > span {
	display: flex;
	flex-direction: column;
	gap: calc(2 * var(--p));
	min-width: 0;
}

.tib-pw__cancion b {
	font-size: calc(14 * var(--p));
	font-weight: 600;
}

.tib-pw__cancion small {
	overflow: hidden;
	color: var(--pw-gris);
	font-size: calc(12 * var(--p));
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* estados iniciales (el JS los anima) */
.tib-pw__nuevo,
.tib-pw__inv,
.tib-pw__vista--respuestas {
	visibility: hidden;
	opacity: 0;
}

.tib-pw__form-zona {
	height: 0;
}

/* ================================================
   App: demo de envío por WhatsApp (lib/js/tienda-app.js)
   Toca WhatsApp de Ana María → WhatsApp con la invitación escrita →
   enviar → "¿Enviaste el mensaje?" → Sí → globito "x1" con rebote.
   ================================================ */
.tib__visual--app,
.tib__visual--inv,
.tib__visual--panel {
	position: relative;
}

/* ---- WhatsApp ---- */
.tib-wsp {
	position: absolute;
	inset: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	padding-top: calc(48 * var(--p));
	background: #EFEAE2;
	color: #111B21;
	font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

.tib-wsp__cab {
	display: flex;
	align-items: center;
	gap: calc(10 * var(--p));
	padding: calc(8 * var(--p)) calc(16 * var(--p)) calc(12 * var(--p)) calc(8 * var(--p));
	border-bottom: 1px solid #E9EDEF;
	background: #FFFFFF;
	color: #54656F;
}

.tib-wsp__atras {
	width: calc(28 * var(--p));
	height: calc(28 * var(--p));
}

.tib-wsp__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(40 * var(--p));
	height: calc(40 * var(--p));
	border-radius: var(--radio-circulo);
	background: var(--site-color-pase);
	color: #FFFFFF;
	font-size: calc(15 * var(--p));
	font-weight: 600;
}

.tib-wsp__nombre {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	color: #111B21;
	font-size: calc(17 * var(--p));
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tib-wsp__nombre small {
	color: #667781;
	font-size: calc(13 * var(--p));
	font-weight: 400;
}

.tib-wsp__ico {
	width: calc(22 * var(--p));
	height: calc(22 * var(--p));
	margin-left: calc(8 * var(--p));
}

.tib-wsp__chat {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--p));
	min-height: 0;
	padding: calc(14 * var(--p)) calc(16 * var(--p));
	overflow: hidden;
}

.tib-wsp__fecha {
	padding: calc(5 * var(--p)) calc(12 * var(--p));
	border-radius: calc(8 * var(--p));
	background: #FFFFFF;
	color: #54656F;
	font-size: calc(13 * var(--p));
}

.tib-wsp__aviso {
	padding: calc(8 * var(--p)) calc(12 * var(--p));
	border-radius: calc(8 * var(--p));
	background: rgba(243, 163, 1, 0.15);
	color: #54656F;
	font-size: calc(13 * var(--p));
	line-height: 1.35;
	text-align: center;
}

/* burbuja del mensaje enviado */
.tib-wsp__burbuja {
	position: relative;
	display: flex;
	flex-direction: column;
	align-self: flex-end;
	max-width: 88%;
	min-height: 0;
	padding: calc(8 * var(--p)) calc(10 * var(--p)) calc(22 * var(--p));
	border-radius: calc(10 * var(--p)) 0 calc(10 * var(--p)) calc(10 * var(--p));
	background: #D9FDD3;
	font-size: calc(15 * var(--p));
	line-height: 1.35;
}

.tib-wsp__link {
	color: #027EB5;
	word-break: break-all;
}

/* el mensaje se ve completo; si no entra en la pantalla se corta y aparece
   "Leer más" (el JS marca .tiene-mas al medir) */
.tib-wsp__burbuja-txt {
	min-height: 0;
	overflow: hidden;
}

.tib-wsp__mas {
	display: none;
	margin-top: calc(4 * var(--p));
	color: #027EB5;
	font-weight: 600;
}

.tib-wsp__burbuja.tiene-mas .tib-wsp__mas {
	display: block;
}

.tib-wsp__hora {
	position: absolute;
	right: calc(8 * var(--p));
	bottom: calc(4 * var(--p));
	color: #667781;
	font-size: calc(11 * var(--p));
}

.tib-wsp__hora i {
	color: #53BDEB;
	font-style: normal;
}

/* caja de texto con la invitación escrita (el texto se desplaza) */
.tib-wsp__pie {
	display: flex;
	align-items: flex-end;
	gap: calc(8 * var(--p));
	padding: calc(8 * var(--p)) calc(10 * var(--p)) calc(28 * var(--p));
	background: #F0F2F5;
}

.tib-wsp__caja {
	flex: 1;
	height: calc(300 * var(--p));
	padding: calc(10 * var(--p)) calc(14 * var(--p));
	overflow: hidden;
	border-radius: calc(20 * var(--p));
	background: #FFFFFF;
}

.tib-wsp__texto {
	color: #111B21;
	font-size: calc(15 * var(--p));
	line-height: 1.38;
}

.tib-wsp__enviar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(46 * var(--p));
	height: calc(46 * var(--p));
	border-radius: var(--radio-circulo);
	background: #00A884;
	color: #FFFFFF;
}

.tib-wsp__enviar svg {
	width: calc(22 * var(--p));
	height: calc(22 * var(--p));
}

/* ---- Ventanita "¿Enviaste el mensaje?" ---- */
.tib-modal {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: calc(28 * var(--p));
}

.tib-modal__fondo {
	position: absolute;
	inset: 0;
	background: rgba(5, 28, 60, 0.55);
}

.tib-modal__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(10 * var(--p));
	width: 100%;
	padding: calc(26 * var(--p)) calc(22 * var(--p)) calc(22 * var(--p));
	border-radius: calc(18 * var(--p));
	background: #FFFFFF;
	text-align: center;
}

.tib-modal__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(52 * var(--p));
	height: calc(52 * var(--p));
	border-radius: var(--radio-circulo);
	background: #E7F8EC;
	color: #25D366;
}

.tib-modal__ico svg {
	width: calc(28 * var(--p));
	height: calc(28 * var(--p));
}

.tib-modal__card b {
	color: #051C3C;
	font-size: calc(20 * var(--p));
	font-weight: 600;
}

.tib-modal__txt {
	color: #394B62;
	font-size: calc(15 * var(--p));
	line-height: 1.35;
}

.tib-modal__botones {
	display: flex;
	gap: calc(10 * var(--p));
	width: 100%;
	margin-top: calc(8 * var(--p));
}

.tib-modal__botones span {
	flex: 1;
	padding: calc(12 * var(--p));
	border-radius: calc(12 * var(--p));
	background: #F5F3FF;
	color: #886ADE;
	font-size: calc(16 * var(--p));
	font-weight: 600;
}

.tib-modal__botones .tib-modal__si {
	background: #886ADE;
	color: #FFFFFF;
}

/* ---- Cursor del mouse ---- */
.tib-cursor {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 10;
	width: 26px;
	height: 26px;
	pointer-events: none;
	filter: drop-shadow(0 3px 5px rgba(5, 28, 60, 0.3));
}

.tib-cursor svg {
	display: block;
	width: 100%;
	height: 100%;
}

.tib-cursor__clic {
	position: absolute;
	left: -11px;
	top: -10px;
	width: 26px;
	height: 26px;
	border: 2px solid #886ADE;
	border-radius: var(--radio-circulo);
	opacity: 0;
}

/* ---- Confirmación de Ana María: notificación, fila verde y 18 → 19 ---- */
.tib-noti {
	position: absolute;
	left: calc(12 * var(--p));
	right: calc(12 * var(--p));
	top: calc(52 * var(--p));
	z-index: 7;
	display: flex;
	align-items: center;
	gap: calc(12 * var(--p));
	padding: calc(12 * var(--p)) calc(14 * var(--p));
	border-radius: calc(22 * var(--p));
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 calc(10 * var(--p)) calc(30 * var(--p)) rgba(5, 28, 60, 0.22);
}

.tib-noti__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: calc(44 * var(--p));
	height: calc(44 * var(--p));
	border-radius: calc(11 * var(--p));
	background: linear-gradient(160deg, #A68FE6, #886ADE);
	color: #FFFFFF;
	font-family: var(--site-typography-primary-font-family), sans-serif;
	font-size: calc(30 * var(--p));
	font-weight: 700;
	line-height: 1;
	padding-bottom: calc(6 * var(--p));
}

.tib-noti__txt {
	display: flex;
	flex-direction: column;
	gap: calc(2 * var(--p));
	min-width: 0;
	color: #051C3C;
	font-size: calc(14 * var(--p));
	line-height: 1.25;
}

.tib-noti__txt small {
	color: #667781;
	font-size: calc(12 * var(--p));
	text-transform: uppercase;
}

.tib-noti__txt small i {
	float: right;
	font-style: normal;
	text-transform: none;
}

.tib-noti__txt b {
	font-size: calc(15 * var(--p));
	font-weight: 600;
}

/* ícono de estado y contador apilados: el JS cruza el viejo con el nuevo */
.tib-app__estado {
	position: relative;
}

.tib-app__estado-nuevo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.tib-app__num {
	display: inline-grid;
}

.tib-app__num > span {
	grid-area: 1 / 1;
}

.tib-noti,
.tib-app__estado-nuevo,
.tib-app__num-nuevo {
	visibility: hidden;
	opacity: 0;
}

.tib-app__chip--nuevo {
	display: none;
}

/* estados iniciales (el JS los anima) */
.tib-wsp,
.tib-wsp__burbuja,
.tib-modal,
.tib-app__envios--nuevo,
.tib-cursor {
	visibility: hidden;
	opacity: 0;
}

/* medios de pago: sección propia bajo "Todo incluido", con línea discontinua arriba */
.tib-pago {
	padding: 0 0 60px !important;
}

.tib-pago__inner {
	max-width: 1000px;
	padding-top: 40px !important;
	border-top: 1px dashed var(--site-color-accent);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
	.tib__inner,
	.tib--panel .tib__inner {
		grid-template-columns: 1fr;
		gap: var(--esp-12);
	}

	.tib--izq .tib__texto {
		order: 0;
	}
}

@media (max-width: 768px) {
	.tib__texto {
		display: flex;
		flex-direction: column;
	}

	.tib__etiquetas {
		justify-content: center;
	}

	.tib-play {
		align-self: center;
	}

	.tib__texto h2 {
		text-align: center;
	}

	/* en celular, todos los mockups de celular miden 400 px (270 px en pantallas de 470 px o menos) */
	.tib-movil {
		width: 400px;
	}
}

@media (max-width: 470px) {
	.tib-movil {
		width: 270px;
	}
}

/* ================================================
   APP SCANNER GRAPHICA (template-parts/sections/app-scanner.php)
   Réplica de la pantalla "Escanear QR": cámara arriba, tarjeta del ingreso y
   últimos escaneos. La línea barre el QR → destello → "Ingreso registrado" →
   el escaneo aparece primero en la lista → "Escanear otro". Lo anima
   lib/js/scanner-app.js.
   ================================================ */
.tib__visual--scanner {
	position: relative;
}

.tsc {
	--p: calc(100cqw / 393);
	display: flex;
	flex-direction: column;
	background: linear-gradient(180deg, #F3EEFF 0%, #FBF9FF 45%, #FFFFFF 100%);
	color: #283342;
	font-family: var(--site-typography-text-font-family), sans-serif;
}

.tsc__cab {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(96 * var(--p));
	padding-top: calc(44 * var(--p));
}

.tsc__cab b {
	color: #051C3C;
	font-size: calc(21 * var(--p));
	font-weight: 600;
}

.tsc__menu {
	position: absolute;
	left: calc(28 * var(--p));
	bottom: calc(14 * var(--p));
	width: calc(24 * var(--p));
	height: calc(24 * var(--p));
}

/* cámara: recuadro con la vista del pase */
.tsc__camara {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(345 * var(--p));
	height: calc(300 * var(--p));
	margin: calc(10 * var(--p)) auto 0;
	overflow: hidden;
	border-radius: calc(18 * var(--p));
	background: radial-gradient(circle at 50% 40%, #D9D6CF 0%, #A7A39B 75%, #8C887F 100%);
}

/* el celular del invitado mostrando su pase, muy cerca de la cámara */
.tsc__pase {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(4 * var(--p));
	padding: calc(18 * var(--p)) calc(22 * var(--p)) calc(16 * var(--p));
	border-radius: calc(14 * var(--p));
	background: #F4F2EC;
	box-shadow: 0 calc(10 * var(--p)) calc(30 * var(--p)) rgba(0, 0, 0, 0.25);
	transform: rotate(-3deg) scale(1.05);
}

.tsc__pase img {
	width: calc(170 * var(--p));
	height: calc(170 * var(--p));
}

.tsc__pase b {
	margin-top: calc(4 * var(--p));
	color: #0A0A0A;
	font-size: calc(15 * var(--p));
	font-weight: 600;
}

.tsc__pase small {
	color: #6B6B6B;
	font-size: calc(12 * var(--p));
}

/* visor (cuatro esquinas) y línea que barre */
.tsc__visor {
	position: absolute;
	inset: calc(22 * var(--p)) calc(60 * var(--p)) calc(62 * var(--p));
	--borde: rgba(255, 255, 255, 0.95);
}

.tsc__visor i {
	position: absolute;
	width: calc(34 * var(--p));
	height: calc(34 * var(--p));
	border: calc(4 * var(--p)) solid var(--borde);
}

.tsc__visor i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: calc(12 * var(--p)); }
.tsc__visor i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: calc(12 * var(--p)); }
.tsc__visor i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: calc(12 * var(--p)); }
.tsc__visor i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: calc(12 * var(--p)); }

.tsc__linea {
	position: absolute;
	left: calc(70 * var(--p));
	right: calc(70 * var(--p));
	top: calc(30 * var(--p));
	height: calc(3 * var(--p));
	border-radius: 2px;
	background: var(--site-color-pase);
	box-shadow: 0 0 calc(14 * var(--p)) var(--site-color-pase);
}

.tsc__flash {
	position: absolute;
	inset: 0;
	background: #FFFFFF;
	opacity: 0;
}

/* tarjeta: "Listo para escanear" y, tras leer el QR, "Ingreso registrado" */
.tsc__tarjeta {
	position: relative;
	display: grid;
	width: calc(345 * var(--p));
	margin: calc(16 * var(--p)) auto 0;
	padding: calc(20 * var(--p)) calc(18 * var(--p));
	border: 1px solid #DCD2F8;
	border-radius: calc(16 * var(--p));
	background: #ECE6FD;
	text-align: center;
}

.tsc__espera,
.tsc__ingreso {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: calc(6 * var(--p));
}

.tsc__espera b {
	color: #3E3366;
	font-size: calc(17 * var(--p));
	font-weight: 600;
}

.tsc__espera span {
	color: #6E6690;
	font-size: calc(14 * var(--p));
}

.tsc__ingreso {
	visibility: hidden;
	opacity: 0;
}

.tsc__ingreso-tit {
	color: #3E3366;
	font-size: calc(15 * var(--p));
	font-weight: 600;
}

.tsc__ingreso-nombre {
	color: #6A4FC4;
	font-size: calc(24 * var(--p));
	font-weight: 500;
	line-height: 1.15;
}

.tsc__ingreso-pases {
	color: #3E3366;
	font-size: calc(16 * var(--p));
}

.tsc__ingreso small {
	color: #6E6690;
	font-size: calc(13 * var(--p));
}

.tsc__otro {
	display: inline-flex;
	align-items: center;
	height: calc(42 * var(--p));
	margin-top: calc(8 * var(--p));
	padding: 0 calc(22 * var(--p));
	border-radius: calc(21 * var(--p));
	background: var(--site-color-pase);
	color: #FFFFFF;
	font-size: calc(15 * var(--p));
	font-weight: 500;
}

/* últimos escaneos */
.tsc__lista {
	display: flex;
	flex-direction: column;
	width: calc(345 * var(--p));
	margin: calc(20 * var(--p)) auto 0;
}

.tsc__titulo {
	margin-bottom: calc(6 * var(--p));
	color: #051C3C;
	font-size: calc(15 * var(--p));
	font-weight: 600;
}

.tsc__fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(10 * var(--p));
	padding: calc(10 * var(--p)) 0;
	border-bottom: 1px solid #ECE8F5;
	overflow: hidden;
}

.tsc__fila-txt {
	display: flex;
	flex-direction: column;
	gap: calc(2 * var(--p));
	min-width: 0;
}

.tsc__fila-txt b {
	overflow: hidden;
	color: #283342;
	font-size: calc(15 * var(--p));
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tsc__fila-txt small {
	color: #8A8FA3;
	font-size: calc(12 * var(--p));
}

.tsc__hora {
	flex: none;
	color: #4B5568;
	font-size: calc(14 * var(--p));
}

/* el escaneo nuevo entra arriba (empieza plegado) */
.tsc__fila--nueva {
	height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
}
