/* =========================================
   DUTSICAKES - Rediseño estilo Crumbl
   ========================================= */

/* =========
   Base / Reset
   ========= */
* {
  margin: 0;
  padding: 0;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* =========
   Variables - Nueva paleta sofisticada
   ========= */
:root {
  /* Colores principales */
  --bg: #faf9f7;
  --bg-alt: #ffffff;
  --fg: #1a1a1a;
  --fg-muted: #6b6b6b;

  /* Marca DutsiCakes - Rosa sofisticado */
  --brand: #e8a4b8;
  --brand-dark: #d4728a;
  --brand-light: #fce4ec;

  /* Acentos */
  --accent: #f5c6d0;
  --accent-dark: #c9929e;

  /* Colores para productos (estilo Crumbl) */
  --color-cookie-1: #8B4513;
  --color-cookie-2: #D2691E;
  --color-cookie-3: #CD853F;
  --color-cookie-4: #DEB887;
  --color-cookie-5: #F4A460;
  --color-cupcake-1: #DB7093;
  --color-cupcake-2: #FFB6C1;
  --color-cupcake-3: #98D8C8;
  --color-cupcake-4: #87CEEB;
  --color-cupcake-5: #DDA0DD;
  --color-seasonal: #FF6B35;

  /* UI */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);

  /* Espaciado */
  --gap: clamp(1rem, 3vw, 2rem);
  --section-padding: clamp(3rem, 8vw, 6rem);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* =========
   Tipografía
   ========= */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========
   Holiday Banner
   ========= */
.holiday-banner {
  background: linear-gradient(135deg, #c41e3a 0%, #1a472a 50%, #c41e3a 100%);
  background-size: 200% 200%;
  animation: holidayGradient 8s ease infinite;
  padding: 0.75rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@keyframes holidayGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.holiday-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.holiday-banner-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  position: relative;
  z-index: 1;
}

.holiday-badge {
  background: #fff;
  color: #c41e3a;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.holiday-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 600px) {
  .holiday-banner {
    padding: 0.6rem 0.75rem;
  }

  .holiday-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }

  .holiday-text {
    font-size: 0.8rem;
  }
}

/* =========
   Modal de carga
   ========= */
#welcome-modal {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#welcome-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-logo {
  width: 120px;
  height: auto;
  animation: bounceIn 0.8s ease forwards;
  margin-bottom: 24px;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.modal-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--brand-light);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========
   Enlaces base
   ========= */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--brand-dark);
}

/* =========
   HEADER - Estilo minimalista Crumbl
   ========= */
header {
  background: var(--bg-alt);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

header > .header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
  transition: var(--transition);
}

.logo:hover img {
  transform: scale(1.05);
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--brand-dark);
  transform: none;
  background: none;
  box-shadow: none;
}

/* Botón carrito */
.snipcart-checkout {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--fg);
  color: var(--bg-alt);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.snipcart-checkout:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Badge del carrito */
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 10px;
  transition: var(--transition);
}

.cart-badge:empty {
  display: none;
}

.cart-badge.bounce {
  animation: badgeBounce 0.4s ease;
}

@keyframes badgeBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  50% { transform: scale(0.9); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Animación del botón Add to Cart al hacer click */
.btn-cta.added {
  animation: addedPulse 0.5s ease;
}

@keyframes addedPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); background: var(--brand); }
  100% { transform: scale(1); }
}

/* Selector de idioma */
.language-selector select {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  background: var(--bg-alt);
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.language-selector select:hover {
  border-color: var(--brand);
}

.language-selector select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 164, 184, 0.2);
}

/* Header responsive */
@media (max-width: 768px) {
  header {
    padding: 0 1rem;
  }

  header > .header-inner {
    height: 64px;
  }

  nav ul {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .snipcart-checkout {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  header {
    position: relative;
    top: auto;
  }

  header > .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 0;
    gap: 1rem;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
}

/* =========
   HERO - Estilo impactante
   ========= */
.hero {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  margin-top: 2rem;
}

.hero-carousel {
  position: relative;
  height: clamp(400px, 60vh, 600px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--brand-light);
}

.hero-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Overlay con gradiente sutil */
.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-overlay > * {
  pointer-events: auto;
}

.hero-overlay h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.hero-overlay .btn-cta {
  margin-top: 1.5rem;
  background: var(--bg-alt);
  color: var(--fg);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.hero-overlay .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--brand-light);
}

/* Navegación del carrusel */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--fg);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-nav:hover {
  background: var(--bg-alt);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots button[aria-selected="true"] {
  background: var(--bg-alt);
  transform: scale(1.2);
}

.hero-dots button:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* =========
   TÍTULOS DE SECCIÓN
   ========= */
.title_products {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--fg);
  margin: var(--section-padding) auto 1rem;
  letter-spacing: -0.03em;
}

.title_products::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
  background: var(--brand);
}

/* =========
   GRID DE PRODUCTOS - Estilo Crumbl
   ========= */
.productContainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  justify-items: center;
}

/* Cuando hay pocos productos, centrarlos */
@media (min-width: 900px) {
  .productContainer {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
  }
}

/* =========
   TARJETA DE PRODUCTO - Hover estilo Crumbl
   ========= */
.producto {
  --product-color: var(--brand-light);

  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

/* Efecto hover estilo Crumbl - cambia el fondo */
.producto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--product-color);
  opacity: 0;
  transition: var(--transition);
  z-index: 0;
}

.producto:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.producto:hover::before {
  opacity: 1;
}

.producto > * {
  position: relative;
  z-index: 1;
}

/* Imagen del producto */
.producto .prod-img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.producto:hover .prod-img {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: var(--shadow-lg);
}

/* Título del producto */
.producto .prod-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.producto:hover .prod-title {
  color: var(--fg);
}

/* Descripción */
.producto .prod-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
  transition: var(--transition);
}

.producto:hover .prod-desc {
  color: var(--fg);
}

/* Warning de alérgenos - con tooltip */
.producto .allergen-warning {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: var(--fg-muted);
  opacity: 0.7;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 5;
}

.producto .allergen-warning .allergen-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.producto .allergen-warning svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  flex-shrink: 0;
}

.producto .allergen-warning .allergen-text {
  text-decoration: underline dotted;
}

.producto .allergen-warning:hover {
  opacity: 1;
  color: var(--fg);
}

.producto:hover .allergen-warning {
  opacity: 0.85;
}

/* Tooltip que se expande al hacer click */
.producto .allergen-tooltip {
  display: none;
  background: var(--fg);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.72rem;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
  margin-top: 0.25rem;
  animation: tooltipFadeIn 0.2s ease;
}

.producto .allergen-warning.show-tooltip .allergen-tooltip {
  display: block;
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Precio */
.producto .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.producto:hover .price {
  color: var(--fg);
}

/* Botón agregar al carrito */
.producto .btn-cta {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--fg);
  color: var(--bg-alt);
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.producto .btn-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* Colores únicos por producto (se asignan via JS o inline) */
.producto[data-color="chocolate"] { --product-color: #D2691E; }
.producto[data-color="vanilla"] { --product-color: #FFF8DC; }
.producto[data-color="strawberry"] { --product-color: #FFB6C1; }
.producto[data-color="matcha"] { --product-color: #98D8C8; }
.producto[data-color="caramel"] { --product-color: #DEB887; }
.producto[data-color="red-velvet"] { --product-color: #C41E3A; }
.producto[data-color="lemon"] { --product-color: #FFFACD; }
.producto[data-color: "seasonal"] { --product-color: #FF6B35; }

/* Animación de entrada */
@keyframes floatIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.producto {
  animation: floatIn 0.5s ease both;
}

.producto:nth-child(1) { animation-delay: 0.05s; }
.producto:nth-child(2) { animation-delay: 0.1s; }
.producto:nth-child(3) { animation-delay: 0.15s; }
.producto:nth-child(4) { animation-delay: 0.2s; }
.producto:nth-child(5) { animation-delay: 0.25s; }
.producto:nth-child(6) { animation-delay: 0.3s; }

/* =========
   BOTÓN CTA GENERAL
   ========= */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--brand);
  color: var(--bg-alt);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--bg-alt);
}

/* =========
   SECCIÓN REVIEWS
   ========= */
#reviews {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--section-padding) clamp(1rem, 4vw, 3rem);
}

.reviews-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.reviews-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  padding: 0.5rem;
}

.review-card {
  flex: 0 0 300px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
  animation: floatIn 0.5s ease both;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review-card .review-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.review-card .review-stars {
  font-size: 1rem;
  color: var(--brand);
  letter-spacing: 2px;
}

.review-card .star.full { color: var(--brand); }
.review-card .star.empty { color: rgba(0, 0, 0, 0.15); }

.review-card .review-text {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}

.review-card .review-date {
  font-size: 0.8rem;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* Botones de navegación reviews */
.reviews-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-alt);
  color: var(--fg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-nav:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  transform: scale(1.05);
}

.reviews-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

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

  .reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .reviews-nav.prev { left: 0.5rem; }
  .reviews-nav.next { right: 0.5rem; }

  .review-card {
    flex: 0 0 260px;
  }
}

/* =========
   FORMULARIO DE COTIZACIÓN
   ========= */
#quote {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--section-padding) clamp(1rem, 4vw, 3rem);
}

#quote h2 {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--fg);
}

#quote form {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#quote label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
  display: block;
}

#quote input,
#quote select,
#quote textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  color: var(--fg);
  transition: var(--transition);
}

#quote input:focus,
#quote select:focus,
#quote textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 164, 184, 0.2);
}

#quote textarea {
  min-height: 120px;
  resize: vertical;
}

#quote .grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  #quote .grid-two {
    grid-template-columns: 1fr;
  }
}

#quote .review-actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

#quote button[type="submit"] {
  min-width: 200px;
}

#quote .muted {
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.5rem;
}

/* =========
   FOOTER - Moderno y limpio
   ========= */
footer {
  background: var(--fg);
  color: rgba(255, 255, 255, 0.8);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) 1.5rem;
  margin-top: var(--section-padding);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-brand,
.footer-links,
.footer-disclaimer {
  text-align: left;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--brand-light);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-links h4,
.footer-disclaimer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand-light);
}

.footer-disclaimer p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1400px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* =========
   ABOUT PAGE
   ========= */
.about {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

.about-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.about-lead {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.1rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-text {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.about-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--fg);
  margin-bottom: 1rem;
}

.about-desc:last-child {
  margin-bottom: 0;
}

.about-photo-full img {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.photo-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 600;
}

/* Team section */
.about-team {
  margin-top: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 2rem auto 0;
}

.team-grid.one {
  grid-template-columns: minmax(200px, 300px);
  justify-content: center;
}

.team-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--brand-light);
}

.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* =========
   REVIEW PAGE
   ========= */
#review {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

#review h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

#review form {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#review label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
}

#review input,
#review select,
#review textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--bg);
  transition: var(--transition);
}

#review input:focus,
#review select:focus,
#review textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 164, 184, 0.2);
}

#review button[type="submit"] {
  margin-top: 0.5rem;
}

/* =========
   SNIPCART OVERRIDES
   ========= */
#snipcart .snipcart-modal__container {
  background: var(--bg) !important;
  border-radius: var(--radius-lg) !important;
}

#snipcart .snipcart-button-primary {
  background: var(--fg) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}

#snipcart .snipcart-button-primary:hover {
  background: var(--brand-dark) !important;
}

#snipcart .snipcart-item {
  border-radius: var(--radius) !important;
}

/* Snipcart z-index */
#snipcart [data-testid="cart"],
#snipcart .snipcart-modal__container,
#snipcart .snipcart-modal__overlay {
  z-index: 99999 !important;
}

html:has(#snipcart [data-testid="cart"]) header,
html:has(#snipcart .snipcart-modal__container) header {
  display: none !important;
}

html:has(#snipcart [data-testid="cart"]),
html:has(#snipcart .snipcart-modal__container) {
  overflow: hidden;
}

/* =========
   MODAL DE TARIFAS
   ========= */
.fees-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.fees-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fees-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.fees-dialog {
  position: relative;
  max-width: min(800px, 90vw);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.fees-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
}

.fees-close:hover {
  background: var(--brand-light);
}

.fees-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.fees-lead {
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.fees-table-wrap {
  max-height: 300px;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.fees-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.fees-table th {
  position: sticky;
  top: 0;
  background: var(--brand-light);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.fees-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fees-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

.fees-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.btn-ghost {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-full);
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ghost:hover {
  background: var(--bg);
}

/* =========
   ACCESIBILIDAD
   ========= */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* =========
   RESPONSIVE UTILITIES
   ========= */
@media (max-width: 480px) {
  .productContainer {
    grid-template-columns: 1fr;
  }

  .producto {
    max-width: 100%;
  }
}

/* =========
   REVIEW PAGE HERO OVERRIDE
   ========= */
.page-reviews .hero {
  min-height: auto;
  padding: 3rem 1rem;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  margin: 1rem auto;
  max-width: 1400px;
}

.page-reviews .hero h1 {
  font-size: 2rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.page-reviews .hero p {
  color: var(--fg-muted);
}
