/**
 * WooCommerce Selector de Almuerzos y After
 * Estilos CSS Frontend de Alta Gama
 */

:root {
	--wc-aa-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wc-aa-primary: #139182;
	--wc-aa-primary-hover: #0f7a6e;
	--wc-aa-primary-light: #f0fdfa;
	--wc-aa-accent: #0f766e;
	--wc-aa-accent-hover: #0d9488;
	--wc-aa-accent-gold: #b48956;
	--wc-aa-cyan: #0284c7;
	--wc-aa-cyan-light: #e0f2fe;
	--wc-aa-text-main: #0f172a;
	--wc-aa-text-muted: #64748b;
	--wc-aa-bg-card: #ffffff;
	--wc-aa-border: #e2e8f0;
	--wc-aa-border-hover: #cbd5e1;
	--wc-aa-radius-sm: 8px;
	--wc-aa-radius-md: 14px;
	--wc-aa-radius-lg: 20px;
	--wc-aa-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
	--wc-aa-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	--wc-aa-shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
	--wc-aa-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	--wc-aa-mobile-bottom: calc(env(safe-area-inset-bottom, 0px) + 76px);
}

.wc-aa-container {
	max-width: 1080px;
	margin: 30px auto;
	font-family: var(--wc-aa-font);
	color: var(--wc-aa-text-main);
	box-sizing: border-box;
	line-height: 1.5;
}

.wc-aa-container * {
	box-sizing: border-box;
}

/* Encabezado Principal */
.wc-aa-header {
	text-align: center;
	margin-bottom: 36px;
}

.wc-aa-main-title {
	font-size: 32px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 10px 0;
	color: var(--wc-aa-text-main);
}

.wc-aa-subtitle {
	font-size: 17px;
	color: var(--wc-aa-text-muted);
	margin: 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Alertas y Notificaciones */
.wc-aa-alert {
	padding: 16px 20px;
	border-radius: var(--wc-aa-radius-sm);
	margin-bottom: 28px;
	font-size: 15px;
	font-weight: 600;
	display: none;
	animation: wc-aa-slideDown 0.3s ease;
}

.wc-aa-alert.wc-aa-success {
	background-color: #f0fdfa;
	color: #0f766e;
	border: 1px solid #99f6e4;
	box-shadow: 0 4px 12px rgba(19, 145, 130, 0.08);
}

.wc-aa-alert.wc-aa-error {
	background-color: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* Secciones de Categorías */
.wc-aa-category-section {
	margin-bottom: 42px;
}

.wc-aa-category-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--wc-aa-border);
}

.wc-aa-category-badge {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.wc-aa-category-badge.wc-aa-badge-fire {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border-color: #fde68a;
	box-shadow: 0 4px 10px rgba(245, 158, 11, 0.15);
}

.wc-aa-category-title {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--wc-aa-text-main);
}

.wc-aa-category-desc {
	font-size: 14px;
	color: var(--wc-aa-text-muted);
	margin: 4px 0 0 0;
}

/* ========================================================
   GRILLA DE PRODUCTOS ESTÁNDAR (ALMUERZOS)
   ======================================================== */
.wc-aa-products-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

@media (min-width: 680px) {
	.wc-aa-products-grid.wc-aa-cols-2 {
		grid-template-columns: repeat(2, 1fr);
	}
	.wc-aa-products-grid.wc-aa-cols-3 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 980px) {
	.wc-aa-products-grid.wc-aa-cols-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Tarjeta Estándar */
.wc-aa-product-card {
	position: relative;
	background: var(--wc-aa-bg-card);
	border: 2px solid var(--wc-aa-border);
	border-radius: var(--wc-aa-radius-md);
	padding: 20px;
	cursor: pointer;
	box-shadow: var(--wc-aa-shadow-sm);
	transition: var(--wc-aa-transition);
	user-select: none;
}

.wc-aa-card-inner {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.wc-aa-product-card:hover {
	border-color: var(--wc-aa-border-hover);
	transform: translateY(-3px);
	box-shadow: var(--wc-aa-shadow-md);
}

/* Estado Seleccionado (Almuerzos) */
.wc-aa-product-card.wc-aa-selected {
	border-color: var(--wc-aa-primary);
	background-color: var(--wc-aa-primary-light);
	box-shadow: 0 10px 25px -5px rgba(19, 145, 130, 0.18);
}

.wc-aa-product-card.wc-aa-selected .wc-aa-hint-unselected {
	display: none;
}
.wc-aa-product-card.wc-aa-selected .wc-aa-hint-selected {
	display: inline-block;
}

.wc-aa-hint-unselected {
	display: inline-block;
	color: #94a3b8;
}
.wc-aa-hint-selected {
	display: none;
	color: var(--wc-aa-primary);
	font-weight: 700;
}

/* Checkbox Personalizado Estándar */
.wc-aa-card-selector {
	flex-shrink: 0;
	padding-top: 2px;
}

.wc-aa-checkbox-label {
	position: relative;
	display: inline-flex;
	cursor: pointer;
}

.wc-aa-product-checkbox {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wc-aa-custom-check {
	width: 26px;
	height: 26px;
	border: 2px solid #cbd5e1;
	border-radius: 8px;
	background-color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--wc-aa-transition);
}

.wc-aa-check-icon {
	width: 16px;
	height: 16px;
	stroke: #ffffff;
	opacity: 0;
	transform: scale(0.5);
	transition: var(--wc-aa-transition);
}

.wc-aa-product-checkbox:checked ~ .wc-aa-custom-check {
	background-color: var(--wc-aa-primary);
	border-color: var(--wc-aa-primary);
	box-shadow: 0 2px 8px rgba(19, 145, 130, 0.35);
}

.wc-aa-product-checkbox:checked ~ .wc-aa-custom-check .wc-aa-check-icon {
	opacity: 1;
	transform: scale(1);
}

/* Media / Miniatura */
.wc-aa-card-media {
	flex-shrink: 0;
	width: 76px;
	height: 76px;
	border-radius: 10px;
	overflow: hidden;
	background-color: #f1f5f9;
}

.wc-aa-product-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Cuerpo de la Tarjeta */
.wc-aa-card-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.wc-aa-card-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 8px;
}

.wc-aa-title-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wc-aa-item-icon {
	font-size: 16px;
}

.wc-aa-product-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: var(--wc-aa-text-main);
}

.wc-aa-product-price {
	font-size: 16px;
	font-weight: 800;
	color: var(--wc-aa-accent);
	white-space: nowrap;
	text-align: right;
	background: #f0fdfa;
	padding: 4px 12px;
	border-radius: 20px;
	border: 1px solid #ccfbf1;
}

.wc-aa-product-price del {
	font-size: 13px;
	color: #94a3b8;
	margin-right: 4px;
	font-weight: 500;
}

.wc-aa-product-price ins {
	text-decoration: none;
}

.wc-aa-product-desc {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.55;
	margin-bottom: 12px;
}

.wc-aa-product-desc p {
	margin: 0 0 6px 0;
}
.wc-aa-product-desc p:last-child {
	margin-bottom: 0;
}

/* Descripción Estructurada */
.wc-aa-formatted-desc {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.wc-aa-desc-intro {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.55;
	margin: 0 !important;
}

/* Pills de Metadata (Horario, Fecha, Ubicación, etc.) */
.wc-aa-desc-meta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 2px 0;
}

.wc-aa-meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 12px;
	line-height: 1.2;
	color: #334155;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.wc-aa-meta-pill-icon {
	font-size: 13px;
	line-height: 1;
}

.wc-aa-meta-pill-label {
	font-weight: 700;
	color: #0f172a;
}

.wc-aa-meta-pill-val {
	font-weight: 500;
	color: #475569;
}

/* Encabezado de Sección de Beneficios */
.wc-aa-desc-section-head {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	margin-top: 4px;
	padding-top: 6px;
	border-top: 1px dashed rgba(226, 232, 240, 0.8);
}

.wc-aa-section-head-icon {
	font-size: 13px;
	line-height: 1;
}

.wc-aa-section-head-text {
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	color: #64748b;
}

/* Grilla de Ítems / Beneficios */
.wc-aa-features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px 12px;
	margin: 2px 0;
}

.wc-aa-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 13px;
	color: #334155;
	line-height: 1.4;
}

.wc-aa-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	min-width: 16px;
	border-radius: 50%;
	background: #ccfbf1;
	color: #0f766e;
	margin-top: 2px;
	flex-shrink: 0;
}

.wc-aa-feature-icon svg {
	width: 10px;
	height: 10px;
	stroke: #0f766e;
}

.wc-aa-feature-label {
	font-weight: 500;
}

.wc-aa-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding-top: 8px;
	border-top: 1px dashed #e2e8f0;
	font-size: 12px;
}

/* ========================================================
   CATEGORÍA AFTER DESTACADA (ULTRA-PREMIUM PANORÁMICA)
   ======================================================== */
.wc-aa-featured-section {
	margin-top: 50px;
}

.wc-aa-featured-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Tarjeta Base Destacada */
.wc-aa-product-card.wc-aa-featured-card {
	border-radius: var(--wc-aa-radius-lg);
	padding: 38px 26px 24px 26px;
	position: relative;
	overflow: hidden;
	border-width: 2px;
}

.wc-aa-featured-ribbon {
	position: absolute;
	top: 0;
	right: 0;
	background: linear-gradient(135deg, #139182 0%, #0284c7 100%);
	color: #ffffff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 6px 18px;
	border-bottom-left-radius: 12px;
	box-shadow: 0 4px 12px rgba(19, 145, 130, 0.35);
	z-index: 2;
	line-height: 1.2;
}

.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow .wc-aa-featured-ribbon {
	background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
	box-shadow: 0 4px 12px rgba(147, 51, 234, 0.35);
}

.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-sunset_gradient .wc-aa-featured-ribbon {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-dark_vip .wc-aa-featured-ribbon {
	background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
	box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

/* Tema Emerald & Teal Luxe (Alineado a AnestesIA / LASRA 2026) */
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-emerald_fresh {
	background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
	border-color: #99f6e4;
	box-shadow: 0 10px 30px rgba(19, 145, 130, 0.08);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-emerald_fresh:hover {
	border-color: #14b8a6;
	box-shadow: 0 16px 36px rgba(19, 145, 130, 0.15);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-emerald_fresh.wc-aa-selected {
	border-color: #139182;
	background: linear-gradient(180deg, #ccfbf1 0%, #f0fdfa 100%);
	box-shadow: 0 16px 40px rgba(19, 145, 130, 0.25);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-emerald_fresh .wc-aa-product-checkbox:checked ~ .wc-aa-custom-check {
	background-color: #139182;
	border-color: #139182;
	box-shadow: 0 2px 10px rgba(19, 145, 130, 0.4);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-emerald_fresh.wc-aa-selected .wc-aa-hint-selected {
	color: #139182;
}

/* Tema Violet Glow */
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow {
	background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
	border-color: #d8b4fe;
	box-shadow: 0 10px 30px rgba(147, 51, 234, 0.08);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow:hover {
	border-color: #a855f7;
	box-shadow: 0 16px 36px rgba(147, 51, 234, 0.15);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow.wc-aa-selected {
	border-color: #9333ea;
	background: linear-gradient(180deg, #f3e8ff 0%, #faf5ff 100%);
	box-shadow: 0 16px 40px rgba(147, 51, 234, 0.25);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow .wc-aa-product-checkbox:checked ~ .wc-aa-custom-check {
	background-color: #9333ea;
	border-color: #9333ea;
	box-shadow: 0 2px 10px rgba(147, 51, 234, 0.4);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-violet_glow.wc-aa-selected .wc-aa-hint-selected {
	color: #9333ea;
}

/* Tema Sunset Amber */
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-sunset_gradient {
	background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
	border-color: #fde68a;
	box-shadow: 0 10px 30px rgba(245, 158, 11, 0.08);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-sunset_gradient:hover {
	border-color: #f59e0b;
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-sunset_gradient.wc-aa-selected {
	border-color: #d97706;
	background: linear-gradient(180deg, #fef3c7 0%, #fffbeb 100%);
	box-shadow: 0 16px 40px rgba(217, 119, 6, 0.22);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-sunset_gradient .wc-aa-product-checkbox:checked ~ .wc-aa-custom-check {
	background-color: #d97706;
	border-color: #d97706;
}

/* Tema Dark VIP */
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-dark_vip {
	background: #0f172a;
	border-color: #334155;
	color: #f8fafc;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-dark_vip .wc-aa-product-title {
	color: #ffffff;
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-dark_vip .wc-aa-product-desc {
	color: #cbd5e1;
}
.wc-aa-product-card.wc-aa-featured-card.wc-aa-style-dark_vip.wc-aa-selected {
	border-color: #38bdf8;
	box-shadow: 0 16px 45px rgba(56, 189, 248, 0.3);
}

/* Tipografía y Descripción del After Destacado */
.wc-aa-featured-card .wc-aa-product-title {
	font-size: 22px;
	font-weight: 800;
}

.wc-aa-featured-card .wc-aa-product-price {
	font-size: 20px;
	padding: 6px 16px;
}

.wc-aa-featured-desc {
	font-size: 14.5px;
	line-height: 1.6;
	color: #334155;
	margin: 14px 0 20px 0;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	padding: 20px 22px;
	border-radius: 16px;
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
}

.wc-aa-featured-desc .wc-aa-desc-intro {
	font-size: 14.5px;
	color: #1e293b;
	line-height: 1.6;
	font-weight: 500;
}

.wc-aa-featured-desc .wc-aa-desc-meta-group {
	margin: 6px 0 10px 0;
	gap: 10px;
}

.wc-aa-featured-desc .wc-aa-meta-pill {
	padding: 5px 14px;
	border-radius: 24px;
	font-size: 13px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wc-aa-featured-desc .wc-aa-meta-pill-label {
	color: #0f172a;
}

.wc-aa-featured-desc .wc-aa-desc-section-head {
	font-size: 13px;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px dashed rgba(203, 213, 225, 0.9);
}

.wc-aa-featured-desc .wc-aa-section-head-text {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: #475569;
}

.wc-aa-featured-desc .wc-aa-features-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px 16px;
	margin-top: 8px;
}

.wc-aa-featured-desc .wc-aa-feature-item {
	font-size: 13.5px;
	color: #1e293b;
	background: rgba(255, 255, 255, 0.75);
	padding: 7px 12px;
	border-radius: 9px;
	border: 1px solid rgba(226, 232, 240, 0.7);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	transition: var(--wc-aa-transition);
}

.wc-aa-featured-desc .wc-aa-feature-item:hover {
	background: #ffffff;
	border-color: #cbd5e1;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.wc-aa-featured-desc .wc-aa-feature-icon {
	width: 18px;
	height: 18px;
	min-width: 18px;
}

.wc-aa-featured-desc .wc-aa-feature-icon svg {
	width: 11px;
	height: 11px;
}

/* Adaptación a Emerald Luxe */
.wc-aa-style-emerald_fresh .wc-aa-featured-desc {
	background: rgba(255, 255, 255, 0.9);
	border-color: rgba(153, 246, 228, 0.7);
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-meta-pill {
	background: #f0fdfa;
	border-color: #ccfbf1;
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-meta-pill-label {
	color: #0f766e;
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-section-head-text {
	color: #0f766e;
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-feature-item {
	border-color: rgba(204, 251, 241, 0.8);
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-feature-item:hover {
	border-color: #5eead4;
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-feature-icon {
	background: #ccfbf1;
	color: #0f766e;
}
.wc-aa-style-emerald_fresh .wc-aa-featured-desc .wc-aa-feature-icon svg {
	stroke: #0f766e;
}

/* Adaptación a Violet Glow */
.wc-aa-style-violet_glow .wc-aa-featured-desc {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(216, 180, 254, 0.6);
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-meta-pill {
	background: #faf5ff;
	border-color: #e9d5ff;
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-meta-pill-label {
	color: #7e22ce;
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-section-head-text {
	color: #7e22ce;
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-feature-item {
	border-color: rgba(233, 213, 255, 0.7);
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-feature-item:hover {
	border-color: #c084fc;
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-feature-icon {
	background: #f3e8ff;
	color: #7e22ce;
}
.wc-aa-style-violet_glow .wc-aa-featured-desc .wc-aa-feature-icon svg {
	stroke: #7e22ce;
}

/* Adaptación a Sunset Amber */
.wc-aa-style-sunset_gradient .wc-aa-featured-desc {
	background: rgba(255, 255, 255, 0.88);
	border-color: rgba(253, 230, 138, 0.7);
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-meta-pill {
	background: #fffbeb;
	border-color: #fde68a;
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-meta-pill-label {
	color: #b45309;
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-section-head-text {
	color: #b45309;
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-feature-item {
	border-color: rgba(254, 243, 199, 0.8);
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-feature-item:hover {
	border-color: #fcd34d;
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-feature-icon {
	background: #fef3c7;
	color: #b45309;
}
.wc-aa-style-sunset_gradient .wc-aa-featured-desc .wc-aa-feature-icon svg {
	stroke: #b45309;
}

/* Adaptación a Dark VIP */
.wc-aa-style-dark_vip .wc-aa-featured-desc {
	background: rgba(30, 41, 59, 0.8);
	border-color: rgba(71, 85, 105, 0.6);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-desc-intro {
	color: #e2e8f0;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-meta-pill {
	background: #1e293b;
	border-color: #334155;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-meta-pill-label {
	color: #38bdf8;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-meta-pill-val {
	color: #f8fafc;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-desc-section-head {
	border-color: rgba(71, 85, 105, 0.6);
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-section-head-text {
	color: #38bdf8;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-feature-item {
	background: rgba(15, 23, 42, 0.65);
	border-color: rgba(51, 65, 85, 0.8);
	color: #f1f5f9;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-feature-item:hover {
	background: rgba(15, 23, 42, 0.9);
	border-color: #38bdf8;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-feature-icon {
	background: rgba(56, 189, 248, 0.18);
	color: #38bdf8;
}
.wc-aa-style-dark_vip .wc-aa-featured-desc .wc-aa-feature-icon svg {
	stroke: #38bdf8;
}

.wc-aa-product-desc ul,
.wc-aa-featured-desc ul {
	list-style: none;
	padding-left: 0;
	margin: 8px 0;
}

.wc-aa-product-desc ul li,
.wc-aa-featured-desc ul li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 5px;
	line-height: 1.45;
}

.wc-aa-product-desc ul li::before,
.wc-aa-featured-desc ul li::before {
	content: "•";
	position: absolute;
	left: 3px;
	color: var(--wc-aa-primary);
	font-weight: bold;
	font-size: 15px;
	line-height: 1;
}

.wc-aa-featured-desc ol {
	margin: 8px 0 8px 18px;
	padding: 0;
}
.wc-aa-featured-desc ol li {
	margin-bottom: 5px;
}

.wc-aa-featured-media {
	width: 140px;
	height: 140px;
	border-radius: 14px;
}

/* ========================================================
   SELECTOR DE CANTIDAD (+ / -)
   ======================================================== */
.wc-aa-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wc-aa-qty-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--wc-aa-text-muted);
}

.wc-aa-qty-stepper {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--wc-aa-border);
	border-radius: 8px;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.wc-aa-qty-btn {
	width: 30px;
	height: 30px;
	background: #f8fafc;
	border: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	color: var(--wc-aa-text-main);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.wc-aa-qty-btn:hover {
	background: #e2e8f0;
}

.wc-aa-qty-input {
	width: 42px;
	height: 30px;
	border: none;
	border-left: 1px solid var(--wc-aa-border);
	border-right: 1px solid var(--wc-aa-border);
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding: 0;
	color: var(--wc-aa-text-main);
	-moz-appearance: textfield;
}

.wc-aa-qty-input::-webkit-outer-spin-button,
.wc-aa-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ========================================================
   BARRA DE RESUMEN STICKY Y BOTÓN DE COMPRA
   ======================================================== */
.wc-aa-summary-bar {
	position: sticky;
	bottom: 24px;
	z-index: 999;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: var(--wc-aa-radius-lg);
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 5px 15px rgba(0, 0, 0, 0.04);
	margin-top: 40px;
	transition: var(--wc-aa-transition);
	box-sizing: border-box;
}

.wc-aa-summary-info {
	display: flex;
	align-items: center;
	gap: 24px;
	min-width: 0;
}

.wc-aa-selection-count {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.wc-aa-count-badge {
	background: var(--wc-aa-primary);
	color: #ffffff;
	font-weight: 800;
	font-size: 13px;
	padding: 2px 10px;
	border-radius: 16px;
	box-shadow: 0 2px 6px rgba(19, 145, 130, 0.3);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
}

.wc-aa-count-text {
	font-size: 14px;
	font-weight: 600;
	color: var(--wc-aa-text-muted);
	white-space: nowrap !important;
	word-break: normal !important;
}

.wc-aa-total-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	white-space: nowrap;
}

.wc-aa-total-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--wc-aa-text-muted);
}

.wc-aa-total-amount {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--wc-aa-primary);
	white-space: nowrap;
}

/* Botón Principal */
.wc-aa-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #139182 0%, #0284c7 100%);
	color: #ffffff;
	border: none;
	border-radius: 12px;
	padding: 13px 26px;
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	cursor: pointer;
	transition: var(--wc-aa-transition);
	box-shadow: 0 6px 20px rgba(19, 145, 130, 0.35);
	outline: none;
	box-sizing: border-box;
}

.wc-aa-submit-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, #0f766e 0%, #0369a1 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(19, 145, 130, 0.45);
}

.wc-aa-submit-btn:disabled {
	background: #cbd5e1;
	color: #94a3b8;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.wc-aa-btn-text {
	line-height: 1.25;
	display: inline-block;
}

.wc-aa-btn-icon {
	font-size: 16px;
	line-height: 1;
	flex-shrink: 0;
}

.wc-aa-btn-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, 0.4);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: wc-aa-spin 0.75s linear infinite;
	flex-shrink: 0;
}

.wc-aa-submit-btn.wc-aa-loading .wc-aa-btn-spinner {
	display: inline-block;
}

.wc-aa-submit-btn.wc-aa-loading .wc-aa-btn-icon {
	display: none;
}

/* Animaciones */
@keyframes wc-aa-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes wc-aa-slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========================================================
   RESPONSIVIDAD MÓVIL Y TABLETS (ULTRA-PULIDA & INFALIBLE)
   ======================================================== */
@media (max-width: 768px) {
	.wc-aa-container {
		margin: 12px auto;
		padding: 0 8px;
	}

	.wc-aa-header {
		margin-bottom: 20px;
	}

	.wc-aa-main-title {
		font-size: 22px;
	}

	.wc-aa-subtitle {
		font-size: 14px;
	}

	.wc-aa-category-section {
		margin-bottom: 24px;
	}

	.wc-aa-category-header {
		margin-bottom: 14px;
		gap: 10px;
		padding-bottom: 8px;
	}

	.wc-aa-category-title {
		font-size: 17px;
	}

	.wc-aa-category-badge {
		width: 34px;
		height: 34px;
		font-size: 17px;
		border-radius: 9px;
	}

	/* Tarjeta de Producto Estándar */
	.wc-aa-product-card {
		padding: 14px 14px;
		border-radius: 14px;
	}

	/* Tarjeta Destacada (Con despeje superior de 44px para evitar colisión con el ribbon) */
	.wc-aa-product-card.wc-aa-featured-card {
		padding: 44px 14px 16px 14px !important;
		border-radius: 16px;
	}

	.wc-aa-featured-ribbon {
		top: 0;
		right: 0;
		font-size: 9.5px;
		font-weight: 800;
		letter-spacing: 0.05em;
		padding: 4px 12px;
		border-bottom-left-radius: 10px;
		line-height: 1.2;
	}

	/* Mantener flujo horizontal para que el checkbox quede perfectamente alineado al título */
	.wc-aa-card-inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 10px;
	}

	.wc-aa-card-selector {
		padding-top: 2px;
		flex-shrink: 0;
	}

	.wc-aa-custom-check {
		width: 22px;
		height: 22px;
		border-radius: 6px;
	}

	.wc-aa-check-icon {
		width: 13px;
		height: 13px;
	}

	.wc-aa-card-media {
		width: 54px;
		height: 54px;
		border-radius: 8px;
		flex-shrink: 0;
	}

	.wc-aa-featured-media {
		width: 64px;
		height: 64px;
		border-radius: 8px;
		flex-shrink: 0;
	}

	.wc-aa-card-body {
		flex: 1;
		min-width: 0;
	}

	.wc-aa-card-header {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		gap: 8px;
		margin-bottom: 6px;
	}

	.wc-aa-title-wrap {
		display: flex;
		align-items: flex-start;
		gap: 5px;
		flex: 1;
		min-width: 0;
	}

	.wc-aa-item-icon {
		font-size: 14px;
		line-height: 1.25;
		margin-top: 1px;
		flex-shrink: 0;
	}

	.wc-aa-product-title {
		font-size: 14.5px;
		font-weight: 700;
		line-height: 1.25;
		margin: 0;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.wc-aa-featured-card .wc-aa-product-title {
		font-size: 16.5px;
		font-weight: 800;
		line-height: 1.25;
	}

	.wc-aa-product-price {
		font-size: 13.5px;
		font-weight: 800;
		padding: 2px 7px;
		border-radius: 12px;
		flex-shrink: 0;
		white-space: nowrap;
		line-height: 1.25;
		align-self: flex-start;
	}

	.wc-aa-featured-card .wc-aa-product-price {
		font-size: 15px;
		padding: 3px 9px;
	}

	.wc-aa-product-desc {
		font-size: 12.5px;
		line-height: 1.45;
		margin-bottom: 8px;
	}

	.wc-aa-featured-desc {
		padding: 12px 14px;
		margin: 8px 0 12px 0;
		border-radius: 12px;
		font-size: 13px;
	}

	.wc-aa-featured-desc .wc-aa-features-grid {
		grid-template-columns: 1fr;
		gap: 5px;
	}

	.wc-aa-card-footer {
		padding-top: 6px;
		font-size: 11.5px;
	}

	/* ========================================================
	   BARRA RESUMEN MÓVIL: ULTRA COMPACTA & ELEVADA
	   (Evita superposición con WhatsApp e Idioma en el pie)
	   ======================================================== */
	.wc-aa-summary-bar {
		position: sticky;
		bottom: var(--wc-aa-mobile-bottom, calc(env(safe-area-inset-bottom, 0px) + 76px));
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 8px 12px;
		gap: 10px;
		border-radius: 16px;
		margin: 18px 0 0 0;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
		border: 1px solid rgba(226, 232, 240, 0.95);
		z-index: 998;
		width: 100%;
		box-sizing: border-box;
	}

	.wc-aa-summary-info {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 1px;
		flex-shrink: 0;
		min-width: 90px;
	}

	.wc-aa-selection-count {
		display: flex;
		align-items: center;
		gap: 5px;
		white-space: nowrap;
	}

	.wc-aa-count-badge {
		font-size: 10.5px;
		font-weight: 800;
		padding: 1px 6px;
		border-radius: 8px;
		line-height: 1.1;
		min-width: 16px;
		height: 16px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.wc-aa-count-text {
		font-size: 11px;
		font-weight: 600;
		color: var(--wc-aa-text-muted);
		white-space: nowrap !important;
		word-break: normal !important;
		line-height: 1.1;
	}

	.wc-aa-total-price {
		display: flex;
		align-items: baseline;
		gap: 2px;
		white-space: nowrap;
	}

	.wc-aa-total-label {
		display: none; /* Ocultar etiqueta en móvil para máxima limpieza */
	}

	.wc-aa-total-amount {
		font-size: 19px;
		font-weight: 800;
		color: var(--wc-aa-primary);
		line-height: 1.15;
		white-space: nowrap;
	}

	.wc-aa-summary-action {
		flex: 1;
		min-width: 0;
		display: flex;
		justify-content: flex-end;
	}

	.wc-aa-submit-btn {
		width: 100%;
		max-width: 190px;
		padding: 9px 12px;
		font-size: 11.5px;
		font-weight: 700;
		border-radius: 10px;
		line-height: 1.2;
		letter-spacing: 0.01em;
		min-height: 40px;
		gap: 5px;
		text-align: center;
		box-sizing: border-box;
	}

	.wc-aa-btn-text {
		line-height: 1.2;
		display: inline-block;
		font-size: 11.5px;
		font-weight: 700;
	}

	.wc-aa-btn-icon {
		font-size: 13px;
		flex-shrink: 0;
	}
}

@media (max-width: 360px) {
	.wc-aa-product-card.wc-aa-featured-card {
		padding: 40px 10px 14px 10px !important;
	}

	.wc-aa-summary-bar {
		padding: 6px 10px;
		gap: 6px;
	}

	.wc-aa-summary-info {
		min-width: 80px;
	}

	.wc-aa-count-text {
		font-size: 10px;
	}

	.wc-aa-total-amount {
		font-size: 17px;
	}

	.wc-aa-submit-btn {
		padding: 8px 8px;
		font-size: 10.5px;
		max-width: 160px;
		min-height: 36px;
	}

	.wc-aa-btn-text {
		font-size: 10.5px;
	}
}
