/* =========================================================
   NURIDA STUDIO 3D — DESIGN SYSTEM & ESTILOS PRINCIPALES
   100% Vanilla CSS moderno, limpio, modular y responsivo
========================================================= */

:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Paleta Rosa Empolvado, Terracota & Beige */
  --bg: #F8F2EE;               /* Fondo principal */
  --surface: #FFFFFF;          /* Blanco */
  --surface-alt: #F6EFE9;      /* Fondo secundario */
  --surface-pale: #F0E2DE;     /* Rosa pálido */
  --surface-dusty: #EBD7D2;    /* Rosa empolvado */
  --surface-beige: #C5AA9E;
  --surface-hover: #F0E2DE;    /* Beige rosado */
  
  --text: #312F2E;             /* Texto principal (Contraste 12.0:1 AAA) */
  --text-muted: #67564C;       /* Texto secundario de alta legibilidad WCAG AA 6.2:1 */
  --text-secondary: #A7968B;   /* Texto secundario / metadata base de la paleta */
  --text-light: #A7968B;       /* Texto tenue / placeholders */
  
  --border: #DACBC7;           /* Bordes y separadores */
  --border-focus: #CB8280;     /* Foco primario */
  --border-subtle: #EBD7D2;    /* Borde suave */
  
  --primary: #CB8280;          /* Color primario terracota */
  --primary-hover: #B76F6D;    /* Color primario hover */
  --primary-dark: #A15250;     /* Terracota oscuro para contraste WCAG AA (>5.5:1 con blanco) */
  --primary-dark-hover: #8F4240;
  --primary-light: #F0E2DE;    /* Rosa pálido */
  --primary-dusty: #EBD7D2;    /* Rosa empolvado */
  --primary-text: #964846;     /* Texto acento con contraste 5.5:1 sobre #F8F2EE */
  
  --beige-rose: #C5AA9E;       /* Beige rosado */
  
  --success: #059669;
  --success-hover: #047857;
  --success-light: #d1fae5;
  
  --danger: #dc2626;
  --danger-light: #fee2e2;

  /* Marcas y Redes Protegidas (Exclusión Estricta e Intacta) */
  --accent-wa: #25D366;
  --accent-wa-hover: #20ba59;
  
  /* Radios & Sombras */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(49, 47, 46, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(49, 47, 46, 0.08);
  --shadow-lg: 0 14px 34px -4px rgba(49, 47, 46, 0.1);
  --shadow-modal: -10px 0 40px rgba(49, 47, 46, 0.16);
  
  --header-bg: rgba(255, 255, 255, 0.96);
  --header-h: 70px;
  --max-width: 1200px;
}

/* 1. Reset Global & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
}

body.cart-open {
  overflow: hidden;
}

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

button, input, textarea, select {
  font: inherit;
}

button, a {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hide {
  display: none !important;
}

/* =========================================================
   Iconos SVG Vectoriales Estandarizados (100% consistentes)
========================================================= */
.icon-svg {
  display: inline-block;
  vertical-align: -0.15em;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  pointer-events: none;
}

.icon-svg[fill="none"] {
  fill: none;
  stroke: currentColor;
  stroke-width: 2px;
}

.icon-svg--sm { width: 14px; height: 14px; }
.icon-svg--md { width: 18px; height: 18px; }
.icon-svg--lg { width: 24px; height: 24px; }
.icon-svg--xl { width: 32px; height: 32px; }
.icon-svg--wa { color: var(--accent-wa, #25D366); fill: currentColor; }
.icon-svg--ig { color: #E1306C; fill: currentColor; }
.icon-svg--tt { color: #0F172A; fill: currentColor; }

/* Contenedores y alineaciones de iconos */
.cart-pill__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-pill__icon .icon-svg {
  width: 18px;
  height: 18px;
}

.search-box__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box__icon .icon-svg {
  width: 18px;
  height: 18px;
  color: var(--text-light);
}

.cat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cat__icon .icon-svg {
  width: 15px;
  height: 15px;
}

.mobile-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}
.mobile-nav__icon .icon-svg {
  width: 18px;
  height: 18px;
}

.mobile-nav__close .icon-svg,
.cart-close .icon-svg {
  width: 18px;
  height: 18px;
}

.hero-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust__chip .icon-svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.product-tag .icon-svg {
  width: 12px;
  height: 12px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.detail-badge .icon-svg {
  width: 13px;
  height: 13px;
}

.btn-add-cart__icon,
.btn-whatsapp-order__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.btn-add-cart__icon .icon-svg,
.btn-whatsapp-order__icon .icon-svg {
  width: 18px;
  height: 18px;
}

.btn-whatsapp-order .icon-svg--wa,
.buy-now .icon-svg--wa,
.checkout-btn .icon-svg--wa,
.mobile-wa-btn .icon-svg--wa,
.footer-social-link--wa .icon-svg--wa {
  color: #25D366;
  fill: currentColor;
  transition: all 0.2s ease;
}

.btn-whatsapp-order:hover .icon-svg--wa,
.buy-now:hover .icon-svg--wa,
.checkout-btn:hover .icon-svg--wa,
.mobile-wa-btn:hover .icon-svg--wa,
.footer-social-link--wa:hover .icon-svg--wa {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.detail-add .icon-svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon .icon-svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon .icon-svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.shipping-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shipping-icon .icon-svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.payment-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-card > span .icon-svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.contact-card__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon-box .icon-svg {
  width: 28px;
  height: 28px;
}
.contact-card--wa .icon-svg--wa {
  color: #128C7E;
  fill: #128C7E;
}
.contact-card--ig .icon-svg--ig {
  color: #E1306C;
  fill: #E1306C;
}
.contact-card--tt .icon-svg--tt {
  color: #0F172A;
  fill: #0F172A;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social-icon .icon-svg {
  width: 16px;
  height: 16px;
}
.footer-social-link--wa:hover .icon-svg--wa,
.footer-social-link--ig:hover .icon-svg--ig,
.footer-social-link--tt:hover .icon-svg--tt {
  color: #ffffff;
  fill: #ffffff;
}

.cart-item__delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-item__delete .icon-svg {
  width: 14px;
  height: 14px;
}

.cart-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-empty__icon .icon-svg {
  width: 48px;
  height: 48px;
  color: var(--text-light);
}

.cart-toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-toast__icon .icon-svg {
  width: 20px;
  height: 20px;
  color: #10b981;
}

.cart-shipping-notice__title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-shipping-notice__title .icon-svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.checkout-btn .icon-svg--wa {
  width: 20px;
  height: 20px;
}

.floating-cart .icon-svg {
  width: 22px;
  height: 22px;
  color: #ffffff;
}

/* Contenedor centralizado */
.section-shell {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 28px);
  padding-right: clamp(16px, 4vw, 28px);
}

/* 2. Cabecera (Store Header) */
.store-header {
  height: var(--header-h);
  background: var(--header-bg, rgba(255, 255, 255, 0.96));
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.store-header__inner {
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(12px, 3.5vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 12px);
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: clamp(13px, 2.8vw, 15px);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  line-height: 1.25;
  white-space: nowrap;
}

.brand-copy small {
  display: block;
  font-size: clamp(9.5px, 2vw, 11px);
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

/* Acciones de Cabecera */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Enfoque Mobile-First (< 768px): Navegación de escritorio oculta por defecto */
.desktop-nav {
  display: none;
}

/* Botón Hamburguesa Mobile-First (< 768px) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 10px 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 55;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.menu-toggle:hover {
  border-color: var(--accent-wa);
}

.menu-toggle__line {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

/* Animación fluida de las 3 líneas a "X" */
.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--accent-wa);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--accent-wa);
}

/* Overlay / Telón oscuro con desenfoque */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Drawer / Menú Lateral Móvil (< 768px) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--surface);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
  z-index: 90;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.mobile-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.mobile-nav__titles strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}

.mobile-nav__titles small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.mobile-nav__close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-nav__close:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.mobile-nav__body {
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav__group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  padding: 6px 12px 2px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.mobile-nav__link:hover,
.mobile-nav__link:active {
  background: var(--surface-alt);
  color: var(--accent-wa);
}

.mobile-nav__icon {
  font-size: 18px;
  line-height: 1;
}

.mobile-nav__divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.mobile-cats-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}

.mobile-cat-item:hover,
.mobile-cat-item:active {
  background: var(--surface-hover, var(--surface-pale));
  border-color: var(--primary-dark);
  color: var(--text);
}

.mobile-cat-item.active {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-text);
  font-weight: 700;
}

.mobile-nav__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
}

.mobile-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.mobile-wa-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mobile-wa-btn:active {
  transform: scale(0.98);
}

/* Bloqueo de scroll de fondo cuando el menú está abierto */
body.nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* 2. COMPORTAMIENTO EN ESCRITORIO (>= 1024px) */
@media (min-width: 1024px) {
  .menu-toggle {
    display: none !important;
  }

  .mobile-nav,
  .nav-overlay {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 24px);
    margin-left: auto;
    margin-right: 16px;
    white-space: nowrap;
  }

  .desktop-nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
  }

  .desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-wa);
    transition: width 0.2s ease;
    border-radius: 2px;
  }

  .desktop-nav a:hover {
    color: var(--accent-wa);
  }

  .desktop-nav a:hover::after {
    width: 100%;
  }
}

.cart-pill {
  border: 1.5px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 4px 14px rgba(161, 82, 80, 0.28);
  transition: all 0.2s ease;
  flex-shrink: 0;
  white-space: nowrap;
  cursor: pointer;
}

.cart-pill:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(161, 82, 80, 0.38);
}

.cart-pill:active {
  transform: scale(0.98) translateY(0);
}

.cart-pill__icon {
  font-size: 16px;
  line-height: 1;
}

.cart-count {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  padding: 0 4px;
}

@media (max-width: 520px) {
  .store-header {
    height: 64px;
  }
  .brand-logo {
    width: clamp(34px, 8.5vw, 38px);
    height: clamp(34px, 8.5vw, 38px);
  }
  .brand-copy strong {
    font-size: clamp(12.5px, 3.8vw, 14px);
    color: var(--text);
  }
  .brand-copy small {
    display: block;
    font-size: clamp(9px, 2.5vw, 10px);
    color: var(--text-muted);
  }
  .cart-pill {
    padding: 6px 12px;
    gap: 6px;
    font-size: 12px;
  }
  .cart-pill__label {
    display: inline-block;
  }
}

@media (max-width: 380px) {
  .store-header__inner {
    padding: 0 10px;
    gap: 8px;
  }
  .brand {
    gap: 6px;
  }
  .brand-logo {
    width: 32px;
    height: 32px;
  }
  .brand-copy strong {
    font-size: 12px;
  }
  .brand-copy small {
    font-size: 8.5px;
  }
  .cart-pill {
    padding: 5px 8px;
    gap: 4px;
    font-size: 11.5px;
  }
}

/* 3. Hero Banner Compacto & Aesthetic */
.hero-menu {
  width: calc(100% - clamp(16px, 3.5vw, 40px));
  max-width: var(--max-width);
  margin: clamp(10px, 1.8vw, 18px) auto 0;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3.8vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #2D2321 0%, #3D2D2A 50%, #523A36 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.hero-menu::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 215, 210, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 3px 12px 3px 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 10px;
}

.hero-badge__logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-badge__text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F8F2EE;
}

.hero-menu h1 {
  font-size: clamp(23px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-title-accent {
  background: linear-gradient(135deg, #F8F2EE 0%, #EBD7D2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(13px, 1.35vw, 14.5px);
  line-height: 1.5;
  color: #cbd5e1;
  max-width: 480px;
  margin-bottom: 16px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.hero-btn--primary {
  background: #ffffff;
  color: #312F2E;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-btn--primary:hover {
  background: #ffffff;
  color: #312F2E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.hero-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  color: #eee5fa;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-trust__chip:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Composición de Fondo Decorativo: Productos 3D Transparentes */
.hero-decor {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(320px, 32vw, 390px);
  pointer-events: none;
  user-select: none;
}

.hero-decor__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(340px, 36vw, 480px);
  height: clamp(300px, 32vw, 380px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 130, 128, 0.22) 0%, rgba(161, 82, 80, 0.08) 55%, transparent 75%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.hero-decor__cluster {
  position: relative;
  width: 100%;
  max-width: none;
  height: clamp(310px, 31vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Items individuales: posición estática compuesta con animación inicial simultánea */
.hero-decor__item {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: heroDecorEnter 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

.hero-decor__img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.42))
          drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s ease;
}

/* Distribución optimizada escalonada (11 productos 3D sin solapamiento y maximizando el espacio) */

/* 1. Jarrón Nórdico Espiral (Fila superior - extremo izquierdo) */
.hero-decor__item--vase {
  height: 200px;
  top: 4px;
  left: 0%;
  right: auto;
  bottom: auto;
  z-index: 1;
}

/* 2. Portavela Espiral (Fila superior - centro-izquierda) */
.hero-decor__item--candle {
  height: 165px;
  top: 18px;
  left: 18%;
  right: auto;
  bottom: auto;
  z-index: 2;
}

/* 3. Lámpara Lunar 3D (Fila superior - central) */
.hero-decor__item--lamp {
  height: 148px;
  top: 8px;
  left: 36%;
  right: auto;
  bottom: auto;
  z-index: 2;
}

/* 4. Escultura Arco Terracota (Fila superior - centro-derecha) */
.hero-decor__item--arch {
  height: 135px;
  top: 16px;
  left: 54%;
  right: auto;
  bottom: auto;
  z-index: 2;
}

/* 5. Escultura Paramétrica Wave (Fila superior - destacado derecha) */
.hero-decor__item--wave {
  height: 172px;
  top: 6px;
  left: 70%;
  right: auto;
  bottom: auto;
  z-index: 3;
}

/* 6. Reno Nórdico Geométrico (Fila superior - extremo derecho) */
.hero-decor__item--reindeer {
  height: 182px;
  top: 4px;
  left: 86%;
  right: auto;
  bottom: auto;
  z-index: 2;
}

/* 7. Maceta Facetada Terracota (Fila inferior - hueco 1: entre jarrón y portavela) */
.hero-decor__item--planter {
  height: 118px;
  bottom: 8px;
  left: 8%;
  right: auto;
  top: auto;
  z-index: 4;
}

/* 8. Calavera Facetada Low-Poly (Fila inferior - hueco 2: entre portavela y lámpara) */
.hero-decor__item--skull {
  height: 120px;
  bottom: 20px;
  left: 26%;
  right: auto;
  top: auto;
  z-index: 4;
}

/* 9. Organizador Hexagonal Facetado (Fila inferior - hueco 3: central frontal) */
.hero-decor__item--organizer {
  height: 134px;
  bottom: 4px;
  left: 44%;
  right: auto;
  top: auto;
  z-index: 5;
}

/* 10. Gatito Low-Poly Geométrico (Fila inferior - hueco 4: entre arco y wave) */
.hero-decor__item--cat {
  height: 126px;
  bottom: 8px;
  left: 62%;
  right: auto;
  top: auto;
  z-index: 4;
}

/* 11. Dragón Articulado Seda (Fila inferior - hueco 5: entre wave y reno) */
.hero-decor__item--dragon {
  height: 118px;
  bottom: 6px;
  left: 80%;
  right: auto;
  top: auto;
  z-index: 5;
}

/* Animación inicial simultánea (duración 750ms, ejecutada una sola vez) */
@keyframes heroDecorEnter {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.93);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsividad para tablets y móviles */
@media (max-width: 860px) {
  .hero-menu {
    grid-template-columns: 1fr;
    gap: 0;
    padding: clamp(20px, 4vw, 28px) clamp(16px, 3.5vw, 24px);
    position: relative;
    overflow: hidden;
  }

  /* En móvil el contenido se mantiene al frente con alto contraste */
  .hero-content {
    position: relative;
    z-index: 2;
  }

  .hero-menu h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  }

  .hero-desc {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  }

  /* Móvil: Las imágenes se posicionan DETRÁS del texto para no alargar el banner */
  .hero-decor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    border-top: none;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-decor__cluster {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .hero-decor__glow {
    width: 240px;
    height: 240px;
    opacity: 0.8;
  }

  /* Posicionamiento en bordes y esquinas aprovechando todo el espacio vacío sin solaparse */
  .hero-decor__item--vase {
    height: 145px;
    top: -12px;
    left: -10px;
    right: auto;
    opacity: 0.38;
    z-index: 1;
  }

  .hero-decor__item--candle {
    height: 125px;
    top: -15px;
    left: 16%;
    right: auto;
    opacity: 0.35;
    z-index: 1;
  }

  .hero-decor__item--lamp {
    height: 110px;
    top: -18px;
    left: 45%;
    right: auto;
    opacity: 0.32;
    z-index: 1;
  }

  .hero-decor__item--arch {
    height: 100px;
    top: 44%;
    right: -10px;
    left: auto;
    opacity: 0.36;
    z-index: 2;
  }

  .hero-decor__item--planter {
    height: 86px;
    bottom: -10px;
    left: 1%;
    right: auto;
    opacity: 0.42;
    z-index: 3;
  }

  .hero-decor__item--cat {
    height: 108px;
    bottom: -8px;
    right: 18%;
    left: auto;
    opacity: 0.48;
    z-index: 3;
  }

  .hero-decor__item--dragon {
    height: 78px;
    bottom: -8px;
    left: 22%;
    right: auto;
    opacity: 0.42;
    z-index: 3;
  }

  .hero-decor__item--reindeer {
    height: 145px;
    top: -8px;
    right: -8px;
    left: auto;
    opacity: 0.36;
    z-index: 1;
  }

  .hero-decor__item--skull {
    height: 95px;
    top: 42%;
    left: -8px;
    right: auto;
    opacity: 0.38;
    z-index: 2;
  }

  .hero-decor__item--wave {
    height: 128px;
    top: 8px;
    right: 18%;
    left: auto;
    opacity: 0.58;
    z-index: 3;
  }

  .hero-decor__item--organizer {
    height: 94px;
    bottom: -6px;
    left: 45%;
    right: auto;
    opacity: 0.42;
    z-index: 3;
  }
}

@media (max-width: 540px) {
  .hero-menu {
    margin-top: 8px;
    padding: 16px 14px 14px;
    border-radius: var(--radius-md);
  }
  .hero-menu h1 {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .hero-desc {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .hero-btn {
    width: 100%;
    padding: 9px 16px;
  }
  .hero-trust {
    margin-top: 10px;
    padding-top: 8px;
    gap: 4px 6px;
  }
  .hero-trust__chip {
    font-size: 10.5px;
    padding: 3px 8px;
  }

  /* Ajustes de escala y perímetro para móviles compactos sin solapamiento */
  .hero-decor__item--vase {
    height: 118px;
    top: -12px;
    left: -10px;
    right: auto;
  }

  .hero-decor__item--candle {
    height: 100px;
    top: -14px;
    left: 16%;
    right: auto;
  }

  .hero-decor__item--lamp {
    height: 86px;
    top: -16px;
    left: 44%;
    right: auto;
  }

  .hero-decor__item--arch {
    height: 80px;
    top: 44%;
    right: -8px;
    left: auto;
  }

  .hero-decor__item--planter {
    height: 72px;
    bottom: -8px;
    left: 0;
    right: auto;
  }

  .hero-decor__item--cat {
    height: 88px;
    bottom: -6px;
    right: 18%;
    left: auto;
  }

  .hero-decor__item--dragon {
    height: 62px;
    bottom: -6px;
    left: 22%;
    right: auto;
  }

  .hero-decor__item--reindeer {
    height: 118px;
    top: -6px;
    right: -10px;
    left: auto;
  }

  .hero-decor__item--skull {
    height: 78px;
    top: 40%;
    left: -6px;
    right: auto;
  }

  .hero-decor__item--wave {
    height: 105px;
    top: 6px;
    right: 18%;
    left: auto;
  }

  .hero-decor__item--organizer {
    height: 76px;
    bottom: -4px;
    left: 44%;
    right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor__item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-decor__glow {
    animation: none !important;
  }
}


/* 4. Sección de Catálogo */
.catalog-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 6px;
}

.section-intro h2 {
  font-size: clamp(24px, 3.8vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 8px;
}

.section-intro p {
  font-size: 14.5px;
  color: var(--text-muted);
}

/* 5. Barra de Herramientas del Catálogo */
.catalog-tools {
  max-width: 860px;
  margin: 0 auto 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-box {
  height: 50px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(203, 130, 128, 0.25);
  background: var(--surface);
}

.search-box__icon {
  font-size: 16px;
  color: var(--text-light);
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  color: var(--text);
}

.search-box input::placeholder {
  color: var(--text-light);
}

.catalog-controls-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.cats-wrapper {
  position: relative;
  width: 100%;
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  width: 100%;
  padding: 2px 0 6px;
}

@media (max-width: 768px) {
  .cat--desktop-only {
    display: none !important;
  }
  .cats {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    overflow-x: visible;
    padding: 2px 0;
  }
  .cats .cat {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .cats .cat__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat__icon {
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cat__text {
  line-height: 1.2;
}

.cat:hover {
  border-color: var(--primary-dark);
  background: var(--surface-alt);
  color: var(--text);
}

.cat:active {
  transform: scale(0.96);
}

.cat:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cat.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-hover));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(161, 82, 80, 0.35);
}

.cat.active .cat__icon {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}

.cat__count {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.65;
  margin-left: 1px;
}

.cat.active .cat__count {
  opacity: 0.95;
  color: #ffffff;
}

/* Botón "Más categorías" */
.cat--more {
  border-style: dashed;
  border-color: #cbd5e1;
  background: var(--surface-alt);
}

.cat--more .cat__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat--more[aria-expanded="true"] {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  color: var(--primary-text);
}

.cat--more[aria-expanded="true"] .cat__chevron {
  transform: rotate(180deg);
}

.cat--more.active {
  border-style: solid;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--border-focus));
  color: #ffffff;
}

.cat--more.active[aria-expanded="true"] {
  color: #ffffff;
}

/* Panel Desplegable de Más Categorías */
.cats-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 270px;
  max-width: 360px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  z-index: 70;
  animation: catsDropdownIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes catsDropdownIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cats-dropdown.hide {
  display: none !important;
}

.cats-dropdown__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.cats-dropdown__title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cats-dropdown__icon {
  font-size: 13px;
  color: var(--primary);
  display: flex;
  align-items: center;
}

.cats-dropdown__title {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
}

.cats-dropdown__close {
  appearance: none;
  border: none;
  background: var(--surface-alt);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cats-dropdown__close:hover {
  background: var(--border);
  color: var(--text);
}

.cats-dropdown__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.cats-dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.cats-dropdown__item {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.cats-dropdown__item:hover {
  background: var(--surface-hover, var(--surface-pale));
  border-color: var(--primary-dark);
  color: var(--text);
}

.cats-dropdown__item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.cats-dropdown__item.active {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-text);
  font-weight: 800;
}

.cats-dropdown__item-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cats-dropdown__item-right {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cats-dropdown__check {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 14px;
}

/* Visibilidad condicional Desktop / Móvil en #moreCatsBtn y desplegable */
.cat__icon--mobile,
.cat__text--mobile,
.cat__count--mobile,
.cats-dropdown__item--mobile-only {
  display: none !important;
}

.cat__icon--desktop,
.cat__text--desktop,
.cat__count--desktop {
  display: inline-flex !important;
}

@media (max-width: 768px) {
  .cat__icon--desktop,
  .cat__text--desktop,
  .cat__count--desktop {
    display: none !important;
  }

  .cat__icon--mobile,
  .cat__text--mobile,
  .cat__count--mobile {
    display: inline-flex !important;
  }

  .cats-dropdown__item--mobile-only {
    display: flex !important;
  }

  .cat--more.active-on-mobile {
    border-style: solid;
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), var(--border-focus));
    color: #ffffff;
  }

  .cats-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
  }

  /* Selector de tamaño táctil y cómodo para celulares */
  .product-card__size-wrap {
    gap: 8px;
  }

  .product-card__size-label {
    font-size: 12px;
  }

  .card-size-selector {
    padding: 3px;
    gap: 4px;
    border-width: 1.5px;
  }

  .size-pill {
    min-width: 28px;
    height: 25px;
    padding: 0 8px;
    font-size: 12.5px;
    font-weight: 800;
  }
}

.catalog-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
}

.catalog-count-info {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
}


/* 6. Cuadrícula de Productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* Por defecto en PC / pantalla grande: grid de 4 */
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 7. Tarjeta de Producto (Product Card) */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.product-card__image {
  aspect-ratio: 1 / 1;
  width: 100%;
  position: relative;
  background: var(--surface-alt);
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__tags {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
  max-width: calc(100% - 20px);
}

.product-tag {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.product-tag--featured {
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.product-tag--custom {
  background: rgba(161, 82, 80, 0.82);
  color: #ffffff;
  border: 1px solid rgba(216, 180, 254, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.product-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__category {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-card__name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name:hover {
  color: var(--primary-text);
}

.product-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.product-card__price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 28px;
  flex-wrap: wrap;
}

.product-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.product-card__price-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
  font-weight: 700;
}

.product-card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

/* Selector compacto de variantes en tarjetas */
.product-card__size-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.product-card__size-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  line-height: 1;
  user-select: none;
}

.card-size-selector {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
  flex-shrink: 0;
}

.size-pill {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.size-pill:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.05);
}

.size-pill.is-active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(161, 82, 80, 0.3);
}

.size-pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(161, 82, 80, 0.25);
}

.btn-add-cart:hover {
  background: var(--primary-dark-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(161, 82, 80, 0.35);
}

.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp-order:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp-order:active {
  transform: scale(0.98);
}

.btn-whatsapp-order:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

.btn-card-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 10px;
  background: transparent;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
  text-align: center;
  width: 100%;
  margin-top: 2px;
}

.btn-card-detail__arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-card-detail:hover {
  color: var(--primary-text);
}

.btn-card-detail:hover .btn-card-detail__arrow,
.btn-card-detail:focus-visible .btn-card-detail__arrow {
  transform: translateX(3px);
}

.btn-card-detail:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.product-card__footer {
  display: none;
}

/* Adaptación en Celulares (< 600px) */
@media (max-width: 600px) {
  .search-box input,
  .checkout-fields input,
  .checkout-fields textarea {
    font-size: 16px !important; /* Previene auto-zoom forzado en Safari iOS */
  }

  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .cats {
    gap: 6px 8px;
  }

  .cat {
    padding: 7px 12px;
    font-size: 12px;
  }

  .product-card {
    border-radius: var(--radius-lg);
  }

  .product-card__content {
    padding: 14px 16px 16px;
  }

  .product-card__category {
    font-size: 11px;
  }

  .product-card__name {
    font-size: 15.5px;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }

  .product-card__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    margin-bottom: 6px;
    color: var(--text-muted);
  }

  .product-card__bottom {
    padding-top: 10px;
    gap: 10px;
  }

  .product-card__price-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
  }

  .product-card__price {
    font-size: 18px;
  }

  /* Selector de tamaños más grande y cómodo al tacto en pantallas de celular */
  .product-card__size-wrap {
    gap: 8px;
  }

  .product-card__size-label {
    font-size: 12px;
  }

  .card-size-selector {
    padding: 3px;
    gap: 4px;
    border-width: 1.5px;
  }

  .size-pill {
    min-width: 28px;
    height: 25px;
    padding: 0 8px;
    font-size: 12.5px;
    font-weight: 800;
  }

  .product-card__actions {
    gap: 8px;
    width: 100%;
  }

  .btn-add-cart,
  .btn-whatsapp-order {
    width: 100%;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: var(--radius-full);
  }

  .btn-card-detail {
    min-height: 28px;
    padding: 4px 6px;
    font-size: 11.5px;
    background: transparent;
  }
}

/* Paginación de Catálogo (8 productos por hoja) */
.pagination-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 10px 0;
}

.pagination-wrap.hide {
  display: none !important;
}

.pagination {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--surface-hover, var(--surface-alt));
  border-color: var(--primary-dark);
  color: var(--text);
  transform: translateY(-1px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary-dark-hover) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(161, 82, 80, 0.35);
  cursor: default;
  transform: none;
}

.pagination-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-nav {
  font-size: 13px;
  padding: 0 14px;
  background: var(--surface-secondary, rgba(0, 0, 0, 0.04));
  border-color: var(--border);
}

.pagination-info {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

/* Estados vacíos, de carga y componentes reutilizables */
.empty-state {
  text-align: center;
  padding: 48px 20px;
}

.empty-state__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.empty-state__desc {
  font-size: 14px;
  color: var(--text);
  color: var(--text-muted);
  margin: 0;
}

.footer-brand__name {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.footer-brand__tagline {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 2px;
}

.product-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 16px;
}

.detail-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.not-found {
  text-align: center;
  padding: 60px 20px;
}

.not-found__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.not-found__desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.related-section {
  margin-top: 60px;
}

.related-section__header {
  margin-bottom: 20px;
}

.related-section__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}

.detail-size-btn__sub {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 600;
}

@media (max-width: 520px) {
  .pagination {
    padding: 4px 6px;
    gap: 4px;
  }
  .pagination-btn {
    min-width: 34px;
    height: 34px;
    font-size: 12.5px;
    padding: 0 8px;
  }
  .pagination-nav {
    padding: 0 10px;
    font-size: 12px;
  }
  .cart-drawer {
    width: 100vw;
    padding: 18px 16px;
  }
}

/* 8. Carrito Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  backdrop-filter: blur(4px);
}

.cart-drawer {
  width: min(440px, 100vw);
  height: 100%;
  background: var(--surface);
  padding: clamp(20px, 4vw, 28px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  overflow-y: auto;
  animation: drawerSlide 0.25s ease;
}

@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-drawer__header small {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--primary);
}

.cart-drawer__header h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-top: 2px;
}

.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 20px;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.cart-close:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.cart-items {
  flex: 1;
  min-height: 120px;
  overflow-y: auto;
  padding: 10px 0;
  -webkit-overflow-scrolling: touch;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item__img {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-alt);
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  margin-bottom: 2px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__size {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
  line-height: 1.3;
}

.cart-item__unit-price {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface-alt);
  padding: 2px;
  gap: 2px;
}

.qty-control button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.qty-control button:hover {
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(161, 82, 80, 0.25);
}

.qty-control button:active {
  transform: scale(0.9);
}

.qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.cart-item__delete {
  width: 26px;
  height: 26px;
  border: 0;
  background: var(--danger-light);
  color: var(--danger);
  border-radius: 50%;
  font-size: 11px;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease;
}

.cart-item__delete:hover {
  transform: scale(1.1);
}

.cart-item__total-col {
  text-align: right;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text);
  flex-shrink: 0;
}

.cart-empty {
  text-align: center;
  padding: 40px 16px;
}

.cart-empty__icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.cart-empty h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.cart-empty p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.continue-btn--empty {
  display: inline-block;
  background: var(--primary);
  color: #ffffff !important;
  border-radius: var(--radius-full);
  padding: 8px 18px !important;
  font-weight: 700;
}

.cart-summary {
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: auto;
  flex-shrink: 0;
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-summary span {
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-summary strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}

.checkout-fields {
  padding: 14px 0 10px;
  flex-shrink: 0;
}

.checkout-fields label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.checkout-fields input,
.checkout-fields textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 4px;
  outline: 0;
  background: var(--surface);
  font-size: 14px;
}

.checkout-fields input:focus,
.checkout-fields textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(203, 130, 128, 0.25);
}

.checkout-btn {
  width: 100%;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
  box-sizing: border-box;
}

.checkout-btn:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.checkout-btn:active {
  transform: scale(0.98);
}

.checkout-btn:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

.continue-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 10px;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 4px;
  flex-shrink: 0;
}

/* 9. Botón Flotante del Carrito */
.floating-cart {
  position: fixed;
  right: clamp(14px, 3.5vw, 24px);
  bottom: clamp(14px, 3.5vw, 24px);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--primary);
  color: #ffffff;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(161, 82, 80, 0.35);
  display: none; /* Oculto en laptop/escritorio porque el botón de carrito ya está fijado en la cabecera */
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.2s ease;
}

.floating-cart:hover {
  transform: scale(1.08);
}

.floating-cart b {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 10px;
  font-weight: 900;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--border);
}

@media (max-width: 768px) {
  .floating-cart {
    display: flex !important;
  }
  body.storefront {
    padding-bottom: 70px; /* Margen inferior para que el botón flotante nunca tape contenidos o enlaces en móviles */
  }
}

/* 10. Toast Mejorado con Animación Elástica y Barra de Progreso */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px) scale(0.92);
  background: #312F2E;
  color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.35);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, visibility 0.3s ease;
  max-width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.cart-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.cart-toast__content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 700;
}

.cart-toast__icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.cart-toast__msg {
  flex: 1;
  line-height: 1.35;
  color: #F8F2EE;
}

.cart-toast__close {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.cart-toast__close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.cart-toast__progress-track {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  width: 100%;
}

.cart-toast__progress-bar {
  height: 100%;
  background: var(--accent-wa);
  width: 100%;
  transform-origin: left;
}

.cart-toast.show .cart-toast__progress-bar {
  animation: toastProgress 2.8s linear forwards;
}

@keyframes toastProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Reducción de movimiento para accesibilidad */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 11. Paso a Paso & Formas de Pago */
.how-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 6vw, 70px) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-number {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.step-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.payment-section {
  padding: clamp(40px, 6vw, 70px) 0;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.payment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
}

.payment-card > span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.payment-card h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}

.payment-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* 11.1. Sobre Nosotros & Lo que nos hace especiales */
.about-section {
  padding: clamp(40px, 6vw, 70px) 0;
}

.about-highlight-box {
  background: linear-gradient(135deg, rgba(161, 82, 80, 0.05) 0%, rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: clamp(20px, 4vw, 32px);
  margin: 28px 0 36px;
}

.about-highlight-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.about-highlight-copy h3 {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about-highlight-copy p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-subhead {
  margin-bottom: 20px;
}

.section-subhead h3 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 11.2. Envíos a Nivel Nacional */
.shipping-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(40px, 6vw, 70px) 0;
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 32px auto 20px;
}

.shipping-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.shipping-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.shipping-card--featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  box-shadow: var(--shadow-sm);
}

.shipping-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 14px;
}

.shipping-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.shipping-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.shipping-price {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin: 8px 0 10px;
}

.shipping-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.shipping-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 14px;
}

/* Aviso de envíos en el Carrito de Compras */
.cart-shipping-notice {
  background: var(--surface-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 12px 0 16px;
  font-size: 12px;
}

.cart-shipping-notice__title {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-shipping-notice__rates {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 12px;
}

.cart-shipping-notice__rates b {
  color: var(--primary);
}

.cart-shipping-notice small {
  display: block;
  font-size: 10.5px;
  color: var(--text-light);
  margin-top: 4px;
}

/* 12. Página de Producto (product.html) */
.product-detail-shell {
  max-width: var(--max-width);
  margin: clamp(20px, 4vw, 40px) auto 70px;
  padding: 0 clamp(16px, 4vw, 28px);
}

.back-catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.back-catalog:hover {
  color: var(--primary-text);
}

.back-catalog__icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.back-catalog:hover .back-catalog__icon {
  transform: translateX(-3px);
}

/* Barra inferior fija para celulares en product.html */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .back-catalog--header {
    display: none !important;
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 58px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.12);
    z-index: 70;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .mobile-bottom-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 440px;
    height: 42px;
    background: var(--primary-light);
    color: var(--primary-text);
    border: 1.5px solid var(--primary-dark);
    border: 1px solid rgba(161, 82, 80, 0.25);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(161, 82, 80, 0.15);
    transition: all 0.2s ease;
  }

  .mobile-bottom-bar__btn:active {
    transform: scale(0.98);
    background: var(--primary-dark);
    color: #ffffff;
  }

  .mobile-bottom-bar__btn .icon-svg {
    width: 18px;
    height: 18px;
  }

  .product-page-body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .product-page-body .floating-cart {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.product-main-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.product-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.22s ease-in-out;
}

.product-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  background: var(--surface-alt);
  flex-shrink: 0;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-thumb:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.product-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(161, 82, 80, 0.25);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: clamp(22px, 3.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 6px 0 12px;
}

.product-category-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.product-detail-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 16px;
}

.product-description {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Selector de variantes en detalle del producto */
.detail-size-section {
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.detail-size-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.detail-size-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-light);
}

.detail-size-current {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}

.detail-size-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-size-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 90px;
  text-align: left;
  font-family: inherit;
}

.detail-size-btn:hover {
  border-color: var(--primary-dark);
  background: var(--surface-hover, var(--surface-pale));
  transform: translateY(-1px);
}

.detail-size-btn.is-active {
  border-color: var(--primary-dark);
  background: var(--primary-light);
  box-shadow: 0 2px 8px rgba(161, 82, 80, 0.2);
}

.detail-size-btn__name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text);
}

.detail-size-btn.is-active .detail-size-btn__name {
  color: var(--primary-text);
}

.detail-size-btn__label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.detail-size-btn__price {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text);
  margin-top: 4px;
}

.detail-size-btn.is-active .detail-size-btn__price {
  color: var(--primary-text);
}

.detail-size-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.spec-card span {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.spec-card strong {
  font-size: 13.5px;
  color: var(--text);
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.detail-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}

.detail-qty button {
  width: 44px;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
}

.detail-qty span {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  font-size: 15px;
}

.detail-add {
  flex: 1;
  min-width: 170px;
  min-height: 46px;
  background: var(--primary);
  color: #ffffff;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(161, 82, 80, 0.25);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.detail-add:hover {
  background: var(--primary-hover);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(161, 82, 80, 0.35);
}

.detail-add:active {
  transform: scale(0.98) translateY(0);
}

.buy-now {
  width: 100%;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.buy-now:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.buy-now:active {
  transform: scale(0.98);
}

.buy-now:focus-visible {
  outline: 2px solid #25D366;
  outline-offset: 2px;
}

.detail-note {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 12px;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================================================
   12. SECCIÓN DE CONTACTO & REDES OFICIALES
========================================================= */
.contact-section {
  padding: 60px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.25s ease;
}

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

/* Variantes de marca para Contact Cards */
.contact-card--wa::before {
  background: linear-gradient(90deg, #25D366, #128C7E);
}
.contact-card--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 16px 32px -6px rgba(37, 211, 102, 0.18);
}

.contact-card--ig::before {
  background: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
}
.contact-card--ig:hover {
  border-color: rgba(225, 48, 108, 0.45);
  box-shadow: 0 16px 32px -6px rgba(225, 48, 108, 0.18);
}

.contact-card--tt::before {
  background: linear-gradient(90deg, #00f2fe, #4facfe, #ff0050);
}
.contact-card--tt:hover {
  border-color: rgba(15, 23, 42, 0.45);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.16);
}

/* Iconos de las Cards */
.contact-card__icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.contact-card--wa .contact-card__icon-box {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
}
.contact-card--ig .contact-card__icon-box {
  background: rgba(225, 48, 108, 0.12);
}
.contact-card--tt .contact-card__icon-box {
  background: rgba(15, 23, 42, 0.08);
}

.contact-card:hover .contact-card__icon-box {
  transform: scale(1.08) rotate(3deg);
}

/* Contenido de la Card */
.contact-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
}

.contact-card--wa .contact-card__tag { color: #059669; }
.contact-card--ig .contact-card__tag { color: #c026d3; }
.contact-card--tt .contact-card__tag { color: #475569; }

.contact-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.contact-card__desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 2px 0 4px;
}

.contact-card__val {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  word-break: break-all;
}

/* Botón de acción / flecha */
.contact-card__btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.contact-card__arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.contact-card:hover .contact-card__btn-action {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.contact-card:hover .contact-card__arrow {
  transform: translateX(4px);
}

/* =========================================================
   13. FOOTER & REDES SOCIALES
========================================================= */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer__brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.site-footer p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-social-link--wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
}

.footer-social-link--ig:hover {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border-color: #fd1d1d;
  color: #ffffff;
}

.footer-social-link--tt:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.footer-social-link.is-disabled {
  display: none !important;
}

.footer-social-icon {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 860px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .site-footer__social {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .contact-card__btn-action {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   SOPORTE DE TEMA CLARO Y OSCURO
   ========================================================= */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1817;
    --header-bg: rgba(38, 33, 32, 0.96);
    --surface: #262120;
    --surface-alt: #302A28;
    --surface-pale: #3A3230;
    --surface-dusty: #463C38;
    --surface-beige: #544844;
    --surface-hover: #362927;
    --text: #F8F2EE;
    --text-muted: #DACBC7;
    --text-secondary: #C5AA9E;
    --text-light: #A7968B;
    --border: #463C38;
    --border-focus: #CB8280;
    --border-subtle: #38302D;
    --primary: #CB8280;
    --primary-hover: #DCA2A0;
    --primary-dark: #B76F6D;
    --primary-dark-hover: #CB8280;
    --primary-light: #362927;
    --primary-dusty: #443230;
    --primary-text: #F0E2DE;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 14px 34px -4px rgba(0, 0, 0, 0.65);
  }
}

[data-theme="dark"] {
  --bg: #1C1817;
    --header-bg: rgba(38, 33, 32, 0.96);
    --surface: #262120;
  --surface-alt: #302A28;
  --surface-pale: #3A3230;
  --surface-dusty: #463C38;
  --surface-beige: #544844;
    --surface-hover: #362927;
  --text: #F8F2EE;
  --text-muted: #DACBC7;
  --text-secondary: #C5AA9E;
  --text-light: #A7968B;
  --border: #463C38;
  --border-focus: #CB8280;
  --border-subtle: #38302D;
  --primary: #CB8280;
  --primary-hover: #DCA2A0;
  --primary-dark: #B76F6D;
  --primary-dark-hover: #CB8280;
  --primary-light: #362927;
  --primary-dusty: #443230;
  --primary-text: #F0E2DE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 14px 34px -4px rgba(0, 0, 0, 0.65);
}

/* =========================================================
   UNIVERSO NURIDA — ESTILOS Y TARJETAS DE MARCAS
   ========================================================= */
.universe-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  min-height: calc(100vh - var(--header-h) - 200px);
}

.universe-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.universe-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.universe-hero__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.universe-hero__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.universe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.universe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.universe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.universe-card--featured {
  border-color: var(--primary);
  box-shadow: 0 4px 20px -2px rgba(161, 82, 80, 0.12);
}

.universe-card__media {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.universe-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.universe-card:hover .universe-card__img {
  transform: scale(1.05);
}

.universe-card__fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary-light) 100%);
  color: var(--primary-text);
  text-align: center;
}

.universe-card__fallback-icon {
  width: 48px;
  height: 48px;
  stroke-width: 1.75;
}

.universe-card__fallback-text {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
}

.universe-card__badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.universe-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.universe-card__badge--featured {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

.universe-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.universe-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.universe-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.universe-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.universe-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.universe-card__btn:hover {
  background: var(--primary-dark-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(161, 82, 80, 0.25);
  color: #ffffff;
}

.universe-card__btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.universe-card__btn:hover svg {
  transform: translate(2px, -2px);
}

.universe-state {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

.universe-state__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.universe-state__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.universe-state__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

@media (max-width: 640px) {
  .universe-shell {
    padding: 2rem 1rem 4rem;
  }
  
  .universe-hero {
    margin-bottom: 2.25rem;
  }

  .universe-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


