﻿/* J&T Accesorios - Estilos principales */
:root {
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-violet: #7c3aed;
  --color-violet-dark: #6d28d9;
  --color-accent: #f59e0b;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --color-whatsapp: #25d366;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f3ff;
  --color-bg-alt-soft: #eef2ff;
  --color-bg-dark: #0f172a;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --gradient-brand: linear-gradient(135deg, #4338ca 0%, #6366f1 50%, #7c3aed 100%);
  --gradient-brand-soft: linear-gradient(180deg, #fafaff 0%, #f5f3ff 50%, #fff 100%);
  --gradient-surface: linear-gradient(135deg, rgba(99,102,241,.06) 0%, rgba(124,58,237,.04) 100%);
  --shadow-brand: 0 8px 28px rgba(99,102,241,.14);
  --shadow-brand-lg: 0 16px 40px rgba(79,70,229,.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: .2s ease;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --container-max: 1200px;
  --container-pad: 1rem;
  --header-height: 84px;
  --ticker-height: 2.25rem;
  --header-stack-height: calc(var(--header-height) + var(--ticker-height));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font); color: var(--color-text); background: var(--gradient-brand-soft); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.main { min-height: calc(100vh - 300px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1.5rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .9375rem; transition: all var(--transition); white-space: nowrap; }
.btn--primary { background: var(--gradient-brand); color: #fff; box-shadow: 0 2px 10px rgba(99,102,241,.25); }
.btn--primary:hover { background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #6d28d9 100%); transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.btn--outline { border: 2px solid var(--color-border); color: var(--color-text); background: transparent; }
.btn--outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--ghost { color: var(--color-primary); padding: .5rem 1rem; }
.btn--ghost:hover { background: rgba(99,102,241,.08); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1da851; }
.btn--sm { padding: .5rem 1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: none;
  height: auto;
  box-shadow: 0 4px 24px rgba(15,23,42,.04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.75rem;
  min-height: var(--header-height);
  height: auto;
  padding-block: 0.5rem;
  width: 100%;
}
.header__cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.75rem;
  flex: 1 1 auto;
  margin-left: auto;
  min-width: 0;
}
.header .logo--image { flex-shrink: 0; min-width: 0; }
.header .logo__img {
  height: 76px;
  width: auto;
  max-width: min(380px, 46vw);
  object-fit: contain;
  object-position: left center;
}
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.125rem; min-width: 0; }
.logo__icon { background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); color: #fff; padding: .4rem .65rem; border-radius: 8px; font-size: 1rem; font-weight: 800; }
.logo__text { font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem;
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
}
.nav__link {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  box-shadow: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav__link:hover {
  color: var(--color-primary-dark);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-1px);
  box-shadow: none;
}
.nav__link.active {
  color: var(--color-primary-dark);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.18);
  outline: none;
}
.nav__chat-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  color: var(--color-primary-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.nav__chat-btn:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18) 0%, rgba(124, 58, 237, 0.12) 100%);
  border-color: rgba(99, 102, 241, 0.4);
}
.header-chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  min-height: 48px;
  max-width: 16.5rem;
  padding: 0.5rem 1.05rem 0.5rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(124, 58, 237, 0.06) 100%);
  color: var(--color-primary-dark);
  text-align: left;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.1);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
}
.header-chat-cta:hover {
  border-color: rgba(99, 102, 241, 0.45);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.16) 0%, rgba(124, 58, 237, 0.1) 100%);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.16);
  transform: translateY(-1px);
}
.header-chat-cta:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}
.header-chat-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  flex-shrink: 0;
}
.header-chat-cta__icon svg {
  width: 22px;
  height: 22px;
}
.header-chat-cta__text {
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
  min-width: 0;
}
.header-chat-cta__text strong {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.header-chat-cta__text small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: 0.35rem;
}
.header-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}
.header-action-btn__icon svg {
  width: 22px;
  height: 22px;
}
/* Buscar */
.header-action-btn--search {
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.header-action-btn--search .header-action-btn__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.header-action-btn--search:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #7c3aed 100%);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.35);
  transform: translateY(-1px);
}
.header-action-btn--search.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 55%, #7c3aed 100%);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.32);
}
.header-action-btn--search.active .header-action-btn__icon,
.header-action-btn--search:hover .header-action-btn__icon {
  background: transparent;
  color: inherit;
}

/* Carrito */
.header-action-btn--cart {
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 42%, #7c3aed 100%);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.38);
  padding-right: 1rem;
  gap: 0.45rem;
}
.header-action-btn--cart .header-action-btn__icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}
.header-action-btn--cart:hover {
  color: #fff;
  background: linear-gradient(135deg, #3730a3 0%, #4f46e5 45%, #6d28d9 100%);
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}
.header-action-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-action-btn__label {
  white-space: nowrap;
}
.header-action-btn--cart:focus-visible,
.header-action-btn--search:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}
.nav__link:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.45);
  outline-offset: 2px;
}
.header-action-btn__icon--cart {
  position: relative;
  flex-shrink: 0;
}
.header-action-btn--cart .cart-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.5625rem;
  line-height: 16px;
  text-align: center;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary-dark);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  font-weight: 800;
  pointer-events: none;
}
.header-action-btn--cart .cart-badge[hidden] {
  display: none;
}
.search-toggle, .cart-toggle { /* legacy hooks for JS */ }
.menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: .65rem; border-radius: 12px; border: 1.5px solid var(--color-border); }
.search-toggle.active, .menu-toggle.active { background: rgba(99,102,241,.1); color: var(--color-primary); border-color: rgba(99,102,241,.25); }
.menu-toggle span { width: 20px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all var(--transition); }
.search-bar { display: none; padding: .75rem 0; border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt); }
.search-bar.active { display: block; }
.search-form { display: flex; gap: .5rem; }
.search-input { flex: 1; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); outline: none; }
.search-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }

/* Site ticker / marquee (sticky dentro del header) */
.site-ticker {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: var(--ticker-height);
  background: linear-gradient(90deg, #312e81 0%, #4338ca 25%, #6366f1 50%, #7c3aed 75%, #4338ca 100%);
  flex-shrink: 0;
}
.site-ticker__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.site-ticker__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: siteTickerMove 42s linear infinite;
}
.site-ticker__content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
}
.site-ticker__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: .75rem;
  padding: .6875rem 2rem;
  white-space: nowrap;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
}
.site-ticker__item::before {
  content: '';
  width: .25rem;
  height: .25rem;
  border-radius: 50%;
  background: #c7d2fe;
  flex-shrink: 0;
}
@keyframes siteTickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (min-width: 768px) {
  :root { --ticker-height: 2.5rem; }
  .site-ticker__item { font-size: .75rem; padding: .75rem 2.25rem; }
  .site-ticker__track { animation-duration: 38s; }
}
@media (max-width: 767px) {
  .site-ticker__track { animation-duration: 28s; }
}

/* Storefront hero banner */
.storefront-hero {
  padding: .875rem 0 1.25rem;
  background: transparent;
  overflow: hidden;
}
.storefront-hero__wrap { width: 100%; }
.storefront-hero__canvas {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(128deg, #0f172a 0%, #1e1b4b 38%, #4338ca 72%, #6366f1 100%);
  box-shadow: 0 20px 50px rgba(30,27,75,.22);
  isolation: isolate;
}
.storefront-hero__backdrop { position: absolute; inset: 0; pointer-events: none; }
.storefront-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 50%, #000 20%, transparent 75%);
  opacity: .6;
}
.storefront-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
}
.storefront-hero__glow--1 { width: 280px; height: 280px; top: -60px; right: 10%; background: rgba(129,140,248,.45); animation: sfGlow 9s ease-in-out infinite; }
.storefront-hero__glow--2 { width: 200px; height: 200px; bottom: -40px; left: 5%; background: rgba(167,139,250,.35); animation: sfGlow 9s ease-in-out infinite reverse; }
.storefront-hero__scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.03) 50%, transparent 100%);
  background-size: 100% 4px;
  opacity: .25;
}
@keyframes sfGlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, 8px); } }

.storefront-hero__body {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1.25rem 1.75rem;
}
.storefront-hero__copy { max-width: 36rem; color: #fff; }
.storefront-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border-radius: 999px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #c7d2fe;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  margin-bottom: .875rem;
  backdrop-filter: blur(8px);
}
.storefront-hero__title {
  font-size: clamp(1.625rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
  text-wrap: balance;
}
.storefront-hero__lead {
  font-size: clamp(.875rem, 2.6vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(226,232,240,.92);
  margin-bottom: 1.125rem;
  max-width: 42ch;
}
.storefront-hero__values {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin-bottom: 1.25rem;
}
.storefront-hero__values li {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  padding: .4rem .75rem;
  border-radius: 999px;
}
.storefront-hero__values svg { color: #a5b4fc; flex-shrink: 0; }
.storefront-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
}
.storefront-hero__btn {
  border-radius: 10px;
  font-weight: 700;
}
.storefront-hero__btn--primary {
  background: #fff;
  color: #312e81;
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
}
.storefront-hero__btn--primary:hover {
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
}
.storefront-hero__btn--primary svg { transition: transform var(--transition); }
.storefront-hero__btn--primary:hover svg { transform: translateX(3px); }
.storefront-hero__btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.storefront-hero__btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.storefront-hero__note {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  font-size: .75rem;
  font-weight: 600;
  color: #c7d2fe;
}
.storefront-hero__note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52,211,153,.7);
  flex-shrink: 0;
  animation: sfPulse 2.2s ease infinite;
}
@keyframes sfPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* Decorative scene */
.storefront-hero__scene {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(52vw, 420px);
  aspect-ratio: 1;
  opacity: .9;
}
.storefront-hero__orbit { position: relative; width: 100%; height: 100%; }
.storefront-hero__ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  animation: sfSpin 28s linear infinite;
}
.storefront-hero__ring--inner {
  inset: 28%;
  border-color: rgba(165,180,252,.25);
  animation-direction: reverse;
  animation-duration: 20s;
}
@keyframes sfSpin { to { transform: rotate(360deg); } }
.storefront-hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #e0e7ff;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.storefront-hero__float svg { width: 26px; height: 26px; }
.storefront-hero__float--1 { top: 8%; right: 18%; animation: sfFloat 5s ease-in-out infinite; }
.storefront-hero__float--2 { bottom: 22%; right: 6%; animation: sfFloat 5s ease-in-out infinite -1.6s; }
.storefront-hero__float--3 { top: 42%; left: 4%; animation: sfFloat 5s ease-in-out infinite -3.2s; }
@keyframes sfFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Mobile: compact — content first, scene hidden to save space */
@media (max-width: 767px) {
  .storefront-hero { padding: .75rem 0 1rem; }
  .storefront-hero__canvas { border-radius: 16px; }
  .storefront-hero__body { padding: 1.25rem 1rem 1.5rem; }
  .storefront-hero__scene { display: none; }
  .storefront-hero__actions { flex-direction: column; }
  .storefront-hero__actions .btn { width: 100%; }
  .storefront-hero__title { font-size: clamp(1.5rem, 7vw, 1.875rem); }
  .storefront-hero__lead { font-size: .875rem; margin-bottom: 1rem; }
}

/* Tablet */
@media (min-width: 768px) {
  .storefront-hero { padding: 1.25rem 0 1.75rem; }
  .storefront-hero__canvas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 340px;
  }
  .storefront-hero__body { grid-column: 1; padding: 2rem 1.5rem 2rem 2rem; }
  .storefront-hero__scene {
    grid-column: 2;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    justify-self: center;
  }
}

/* Desktop: wide horizontal banner */
@media (min-width: 1024px) {
  .storefront-hero { padding: 1.5rem 0 2rem; }
  .storefront-hero__canvas {
    min-height: 380px;
    grid-template-columns: 1.05fr 0.95fr;
  }
  .storefront-hero__body { padding: 2.75rem 2rem 2.75rem 3rem; }
  .storefront-hero__scene {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: min(44%, 460px);
    max-width: none;
    margin: 0;
  }
  .storefront-hero__ring,
  .storefront-hero__ring--inner { display: block; }
  .storefront-hero__orbit { display: block; }
  .storefront-hero__float {
    position: absolute;
    width: 58px;
    height: 58px;
    animation: sfFloat 5s ease-in-out infinite;
  }
  .storefront-hero__float--1 { top: 8%; right: 18%; }
  .storefront-hero__float--2 { bottom: 22%; right: 6%; animation-delay: -1.6s; }
  .storefront-hero__float--3 { top: 42%; left: 4%; animation-delay: -3.2s; }
}

@media (min-width: 1280px) {
  .storefront-hero__canvas { min-height: 400px; }
  .storefront-hero__body { padding: 3rem 2rem 3rem 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-hero__glow,
  .storefront-hero__ring,
  .storefront-hero__float,
  .storefront-hero__note-dot { animation: none !important; }
}

.home-offers { padding-top: 2.5rem; }
.storefront-hero + .section { padding-top: 2.5rem; }

/* Promo bar */
.promo-bar { background: var(--color-bg-dark); color: #fff; padding: .75rem 0; text-align: center; font-size: .875rem; }

/* Sections */
.section { padding: 4rem 0; }
.section--alt { background: var(--gradient-surface); }
.section__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.section__title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: .25rem;
  letter-spacing: -.02em;
  position: relative;
}
.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-top: .5rem;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.section__subtitle { color: var(--color-text-muted); font-size: .9375rem; }
.text-center { text-align: center; }

/* Product cards */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; align-items: stretch; }
.product-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); border: 1px solid var(--color-border); overflow: hidden; transition: all var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-brand); border-color: rgba(99,102,241,.2); }
.product-card__image { position: relative; aspect-ratio: 1; overflow: hidden; background: linear-gradient(180deg, var(--color-bg-alt-soft), #fff); flex: 0 0 auto; }
.product-card__image-link { display: block; color: inherit; text-decoration: none; }
.product-card__media { position: absolute; inset: 0; }
.product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .45s ease;
  pointer-events: none;
}
.product-card__img--primary { opacity: 1; z-index: 1; }
.product-card__img--hover { opacity: 0; z-index: 2; }
.product-card__badge,
.product-card__discount { position: absolute; z-index: 3; }
.product-card--has-hover:hover .product-card__img--primary,
.product-card--has-hover.is-hovered .product-card__img--primary { opacity: 0; }
.product-card--has-hover:hover .product-card__img--hover,
.product-card--has-hover.is-hovered .product-card__img--hover { opacity: 1; }
@media (hover: none) {
  .product-card__img--hover { display: none !important; }
}
.product-card:not(.product-card--has-hover):hover .product-card__img--primary { transform: scale(1.03); }
.product-card:not(.product-card--has-hover) .product-card__img--primary { transition: opacity .45s ease, transform .4s ease; }
.product-card__badge { position: absolute; top: .75rem; left: .75rem; background: var(--gradient-brand); color: #fff; padding: .25rem .625rem; border-radius: 999px; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.product-card__discount { position: absolute; top: .75rem; right: .75rem; background: var(--color-danger); color: #fff; padding: .25rem .5rem; border-radius: var(--radius-sm); font-size: .75rem; font-weight: 700; }
.product-card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1rem; min-height: 0; }
.product-card__content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.product-card__category {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.25rem;
  font-size: .75rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.5;
}
.product-card__category:empty::before { content: '\00a0'; }
.product-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.625rem;
  font-size: .9375rem;
  font-weight: 600;
  margin: .25rem 0 .5rem;
  line-height: 1.4;
}
.product-card__title a:hover { color: var(--color-primary); }
.product-card__prices { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; min-height: 1.6875rem; margin-bottom: .25rem; }
.product-card__price { font-size: 1.125rem; font-weight: 800; color: var(--color-text); }
.product-card__compare { font-size: .875rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-card__meta { min-height: 1.125rem; margin-bottom: .5rem; }
.product-card__stock { font-size: .75rem; font-weight: 600; display: block; line-height: 1.5; }
.product-card__stock--out { color: var(--color-danger); }
.product-card__stock--low { color: var(--color-accent); }
.product-card__actions { margin-top: auto; padding-top: .25rem; }
.product-card__actions .btn { min-height: 2.5rem; }

/* Promo banners — carrusel */
.promo-banners-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.promo-banners-slider__track {
  position: relative;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
}
.promo-banners-slider__slide {
  position: absolute; inset: 0; width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .65s cubic-bezier(.4,0,.2,1), visibility .65s;
  z-index: 0;
}
.promo-banners-slider__slide.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  position: relative; z-index: 1;
}
.promo-banners-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 20; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.96); color: var(--color-primary); box-shadow: 0 4px 20px rgba(79,70,229,.2); display: flex; align-items: center; justify-content: center; transition: all var(--transition); opacity: 0; border: 1px solid rgba(99,102,241,.15); }
.promo-banners-slider:hover .promo-banners-slider__nav { opacity: 1; }
.promo-banners-slider__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.promo-banners-slider__nav--prev { left: 1rem; }
.promo-banners-slider__nav--next { right: 1rem; }
.promo-banners-slider__footer { position: relative; z-index: 20; margin-top: 1rem; display: flex; flex-direction: column; align-items: center; gap: .625rem; }
.promo-banners-slider__dots { display: flex; justify-content: center; gap: .5rem; }
.promo-banners-slider__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); border: none; padding: 0; cursor: pointer; transition: all .3s ease; }
.promo-banners-slider__dot.active { background: var(--color-primary); width: 26px; border-radius: 4px; }
.promo-banners-slider__progress { width: min(240px, 72%); height: 3px; background: rgba(99,102,241,.15); border-radius: 999px; overflow: hidden; }
.promo-banners-slider__progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--color-primary), #7c3aed); border-radius: inherit; }

/* Promo banner card — formato estándar unificado (1200×400 marco, imagen 800×800) */
.promo-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  width: 100%;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 40px rgba(79,70,229,.22);
  color: #fff;
}
.promo-banner--standard .promo-banner__overlay {
  background: linear-gradient(105deg, rgba(30,27,75,.92) 0%, rgba(79,70,229,.75) 48%, rgba(124,58,237,.45) 100%);
}
.promo-banner__bg { position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, #312e81 0%, #4f46e5 38%, #7c3aed 72%, #6366f1 100%); }
.promo-banner__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.14) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(167,139,250,.22) 0%, transparent 45%);
}
.promo-banner__bg-img, .promo-banner__bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.promo-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(30,27,75,.9) 0%, rgba(79,70,229,.72) 45%, rgba(124,58,237,.5) 100%);
}
.promo-banner--has-image .promo-banner__overlay { background: linear-gradient(105deg, rgba(30,27,75,.92) 0%, rgba(79,70,229,.68) 50%, rgba(124,58,237,.45) 100%); }
.promo-banner--product-bg .promo-banner__bg-img--product { opacity: .45; filter: saturate(1.15); object-position: 75% center; transform: scale(1.02); }
.promo-banner--product-bg .promo-banner__overlay {
  background: linear-gradient(100deg, rgba(30,27,75,.95) 0%, rgba(49,46,129,.88) 38%, rgba(79,70,229,.55) 62%, rgba(124,58,237,.2) 100%);
}
.promo-banner--product .promo-banner__title { font-size: clamp(1.375rem, 2.8vw, 2rem); }
.promo-banner--product .promo-banner__visual { width: 300px; height: 300px; }
.promo-banner--shipping .promo-banner__bg { background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 45%, #7c3aed 100%); }
.promo-banner--offer .promo-banner__tag,
.promo-banner--promo .promo-banner__tag { background: rgba(251,191,36,.22); border-color: rgba(251,191,36,.35); }
.promo-banner__body {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: 2rem 2.5rem;
  height: 100%;
  box-sizing: border-box;
}
.promo-banner__copy { flex: 1; min-width: 0; max-width: 54%; display: flex; flex-direction: column; justify-content: center; gap: .25rem; }
.promo-banner__tag {
  display: inline-block; margin-bottom: .5rem;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
  border: 1px solid rgba(255,255,255,.2);
}
.promo-banner__stars { color: #fbbf24; font-size: 1.125rem; letter-spacing: 2px; margin-bottom: .35rem; }
.promo-banner__title { font-size: clamp(1.375rem, 2.6vw, 1.875rem); font-weight: 800; line-height: 1.2; margin: 0 0 .35rem; letter-spacing: -.02em; }
.promo-banner__sku { display: block; font-size: .75rem; opacity: .8; margin-bottom: .35rem; letter-spacing: .05em; }
.promo-banner__desc { margin: 0 0 .75rem; font-size: .875rem; line-height: 1.55; opacity: .94; max-width: 440px; }
.promo-banner__desc--quote { font-style: italic; font-size: 1rem; }
.promo-banner__author { margin: 0 0 1rem; font-size: .875rem; opacity: .85; font-weight: 600; }
.promo-banner__highlights { margin: 0 0 .75rem; padding: 0; list-style: none; display: grid; gap: .25rem; }
.promo-banner__highlights li { font-size: .8125rem; opacity: .92; padding-left: 1rem; position: relative; }
.promo-banner__highlights li::before { content: ''; position: absolute; left: 0; top: .55rem; width: .3125rem; height: .3125rem; border-radius: 50%; background: #c4b5fd; }
.promo-banner__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .75rem; margin-bottom: 0; }
.promo-banner__compare { font-size: 1rem; opacity: .75; text-decoration: line-through; font-weight: 600; }
.promo-banner__price { font-size: clamp(1.375rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.promo-banner__cta { background: #fff !important; color: var(--color-primary) !important; font-weight: 700; box-shadow: 0 4px 18px rgba(0,0,0,.15); }
.promo-banner__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.promo-banner__visual {
  position: relative; flex-shrink: 0; width: 300px;
  height: 300px;
  display: flex; align-items: center; justify-content: center;
}
.promo-banner__visual--empty {
  background: rgba(255,255,255,.08);
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-md);
}
.promo-banner__visual-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; opacity: .45;
}
.promo-banner__product-video {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; border-radius: var(--radius-md);
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
}
.promo-banner__visual-glow {
  position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(167,139,250,.45) 0%, transparent 68%);
  animation: bannerPulse 4s ease-in-out infinite;
}
@keyframes bannerPulse { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
.promo-banner__product-img {
  position: relative; z-index: 1; width: 100%; height: 100%;
  object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.35));
  animation: float 5s ease-in-out infinite;
}
.promo-banners-stack { display: flex; flex-direction: column; gap: 1.5rem; }

/* Testimonials horizontal scroll (inicio) */
.testimonials-scroll-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: .5rem;
}
.testimonials-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(99,102,241,.45) transparent;
  padding: .25rem .25rem 1rem;
  flex: 1;
  min-width: 0;
}
.testimonials-scroll::-webkit-scrollbar { height: 6px; }
.testimonials-scroll::-webkit-scrollbar-thumb {
  background: rgba(99,102,241,.35);
  border-radius: 999px;
}
.testimonials-scroll .testimonial-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  max-width: none;
  margin: 0;
  text-align: left;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.testimonials-scroll .testimonial-card__header { justify-content: flex-start; }
.testimonials-scroll__nav {
  flex-shrink: 0;
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99,102,241,.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonials-scroll__nav:hover { transform: scale(1.05); box-shadow: var(--shadow-brand); }
.testimonials-scroll__hint {
  margin: .75rem 0 0;
  text-align: center;
  font-size: .8125rem;
  color: var(--color-text-muted);
}
.testimonials-section .section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  margin: .5rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), #7c3aed);
}
.testimonials-section .section__header { text-align: center; }
.testimonials-section .section__header > div { width: 100%; }
@media (max-width: 640px) {
  .testimonials-scroll-wrap {
    position: relative;
    display: block;
    gap: 0;
  }
  .testimonials-scroll {
    width: 100%;
    padding: .25rem 2.75rem 1rem;
  }
  .testimonials-scroll-wrap .testimonials-scroll__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(79,70,229,.15);
  }
  .testimonials-scroll-wrap .testimonials-scroll__nav:hover {
    transform: translateY(-50%) scale(1.05);
  }
  .testimonials-scroll-wrap .testimonials-scroll__nav--prev { left: 0; }
  .testimonials-scroll-wrap .testimonials-scroll__nav--next { right: 0; }
  .testimonials-scroll .testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
    align-items: center;
    padding: 1.25rem 1.125rem;
    scroll-snap-align: center;
    overflow: hidden;
  }
  .testimonials-scroll .testimonial-card__header {
    justify-content: center;
    text-align: center;
    width: 100%;
    min-width: 0;
  }
  .testimonials-scroll .testimonial-card__header > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    min-width: 0;
    max-width: 100%;
  }
  .testimonials-scroll .testimonial-card__demo-tag { margin-left: 0; }
  .testimonials-scroll .testimonial-card__comment {
    text-align: center;
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .testimonials-scroll .testimonial-card__product {
    text-align: center;
    width: 100%;
    min-width: 0;
    line-height: 1.5;
    padding-inline: .125rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }
  .testimonials-scroll .testimonial-card__link {
    align-self: center;
    margin-top: .75rem;
    max-width: 100%;
  }
}

@media (max-width: 380px) {
  .testimonials-scroll { padding-inline: 2.35rem; }
  .testimonials-scroll-wrap .testimonials-scroll__nav {
    width: 28px;
    height: 28px;
  }
  .testimonials-scroll-wrap .testimonials-scroll__nav svg {
    width: 16px;
    height: 16px;
  }
  .testimonials-scroll .testimonial-card {
    padding: 1.125rem .875rem;
  }
  .testimonials-scroll .testimonial-card__comment,
  .testimonials-scroll .testimonial-card__product {
    font-size: .875rem;
  }
}
.footer-banners { background: var(--color-bg-alt-soft); padding: 1.5rem 0; border-top: 1px solid rgba(99,102,241,.1); }
.footer-banners__inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.footer-banner { display: flex; align-items: center; gap: 1rem; background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius-md); border: 1px solid rgba(99,102,241,.12); box-shadow: 0 2px 12px rgba(99,102,241,.06); }
.footer-banner strong { display: block; font-size: .9375rem; }
.footer-banner span { font-size: .8125rem; color: var(--color-text-muted); }

/* CTA section */
.cta-box {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid rgba(99,102,241,.12);
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-surface);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: .5rem; }
.cta-box p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.cta-box__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page header */
.page-header {
  padding: 2.5rem 0;
  background: var(--gradient-surface);
  border-bottom: 1px solid rgba(99,102,241,.08);
  position: relative;
}
.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.page-header p { color: var(--color-text-muted); margin-top: .25rem; }

/* Catalog */
.section--catalog { padding-top: 2rem; }
.catalog-filters-open {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  font-weight: 600;
  border-color: rgba(99, 102, 241, 0.35);
  background: #fff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.08);
}
.catalog-filters-open__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  background: var(--gradient-brand);
  color: #fff;
}
.catalog-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.catalog-filters-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.catalog-filters {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-stack-height) + 1rem);
  border: 1px solid rgba(99,102,241,.12);
  box-shadow: 0 4px 16px rgba(99,102,241,.06);
}
.catalog-filters__head {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.catalog-filters__head h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.catalog-filters__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.catalog-filters__close:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.25);
  color: var(--color-primary-dark);
}
.catalog-filters__footer {
  display: none;
}
.filter-form { margin: 0; }
.filter-group { margin-bottom: 1.25rem; }
.filter-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.filter-select-wrap { position: relative; }
.filter-select-wrap::after {
  content: '';
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.filter-group select {
  width: 100%;
  padding: 0.65rem 2.25rem 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9375rem;
  color: var(--color-text);
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.filter-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.filter-checkboxes {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.filter-checkboxes__legend {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.65rem;
  padding: 0;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: .9375rem;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}
.checkbox-label:hover {
  border-color: rgba(99, 102, 241, 0.35);
}
.checkbox-label:has(input:checked) {
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(99, 102, 241, 0.06);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.12);
}
.checkbox-label input {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin: 0;
}
.checkbox-label span { flex: 1; line-height: 1.35; }
.catalog-filters__footer--desktop {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
@media (max-width: 1024px) {
  .catalog-filters-open { display: inline-flex; }
  .catalog-layout { grid-template-columns: 1fr; gap: 0; }
  body.catalog-filters-open { overflow: hidden; }
  body.catalog-filters-open .fab-stack {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
  .catalog-filters-backdrop {
    z-index: 200;
  }
  .catalog-filters {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 210;
    height: min(88dvh, 680px);
    max-height: min(88dvh, 680px);
    min-height: 0;
    margin: 0;
    padding: 0;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    transform: translateY(105%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -16px 48px rgba(15, 23, 42, 0.22);
  }
  @supports not (height: 1dvh) {
    .catalog-filters {
      height: min(88vh, 680px);
      max-height: min(88vh, 680px);
    }
  }
  body.catalog-filters-open .catalog-filters {
    transform: translateY(0);
  }
  .catalog-filters__head { display: flex; }
  .catalog-filters .filter-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1.25rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .catalog-filters__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--color-border);
    background: #fff;
    flex-shrink: 0;
  }
  .catalog-filters__footer .btn--primary {
    flex: 1 1 auto;
    min-width: 0;
  }
  .catalog-filters__footer .btn--ghost {
    flex: 0 0 auto;
  }
  .catalog-filters__sidebar-title,
  .catalog-filters__clear-desktop {
    display: none;
  }
}
@media (min-width: 1025px) {
  .catalog-filters[aria-hidden="true"] {
    visibility: visible;
  }
}
.catalog-filters__sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}
.catalog-filters__clear-desktop {
  margin-top: 0.25rem;
}

/* Product detail */
.product-detail { padding: 2rem 0 4rem; }
.breadcrumb { font-size: .8125rem; color: var(--color-text-muted); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--color-primary); }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.product-detail__main-image { position: relative; aspect-ratio: 1; background: var(--color-bg-alt); border-radius: var(--radius-lg); overflow: hidden; }
.product-detail__main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__categories { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.product-detail__category { font-size: .8125rem; color: var(--color-primary); font-weight: 600; text-transform: uppercase; text-decoration: none; }
.product-detail__category:hover { text-decoration: underline; }
.product-detail__title { font-size: 1.75rem; font-weight: 800; margin: .5rem 0; }
.product-detail__short-desc { color: var(--color-text-muted); margin-bottom: 1rem; }
.product-detail__prices { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.product-detail__price { font-size: 2rem; font-weight: 800; }
.product-detail__compare { font-size: 1.125rem; color: var(--color-text-muted); text-decoration: line-through; }
.product-detail__discount { background: var(--color-danger); color: #fff; padding: .25rem .625rem; border-radius: var(--radius-sm); font-size: .8125rem; font-weight: 700; }
.product-detail__promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, .12), rgba(212, 175, 55, .04));
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: var(--radius-md);
}
.product-detail__promo-label { font-weight: 700; color: var(--color-primary-dark, #8a6d1f); }
.product-detail__promo-price { font-weight: 800; font-size: 1.05rem; }
.product-detail__promo-unit { font-size: .875rem; color: var(--color-text-muted); }
.product-detail__line-total { margin: -.5rem 0 1rem; font-weight: 700; color: var(--color-primary-dark, #8a6d1f); }
.product-card__promo {
  margin: .25rem 0 0;
  font-size: .75rem;
  font-weight: 700;
  color: var(--color-primary-dark, #8a6d1f);
  line-height: 1.3;
}
.variant-bundle-promo {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(212, 175, 55, .35);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, .08), rgba(212, 175, 55, .02));
}
.variant-bundle-promo__title { margin: 0 0 .5rem; font-size: 1.05rem; }
.variant-bundle-promo__hint { margin: 0 0 1rem; font-size: .875rem; color: var(--color-text-muted); }
.variant-bundle-promo__empty { margin: 0 0 1rem; color: var(--color-danger); font-weight: 600; }
.variant-bundle-promo__slots { display: grid; gap: 1rem; margin-bottom: 1rem; }
.variant-bundle-slot { display: grid; gap: .5rem; }
.variant-bundle-slot__label { font-size: .875rem; font-weight: 800; }
.variant-bundle-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .5rem;
}
.variant-bundle-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .5rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  font: inherit;
  text-align: center;
}
.variant-bundle-choice:hover { border-color: var(--color-primary); }
.variant-bundle-choice.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .25);
  transform: translateY(-1px);
}
.variant-bundle-choice__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.variant-bundle-choice__label {
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.2;
}
.variant-bundle-promo__total { margin: 0 0 1rem; font-weight: 700; color: var(--color-primary-dark, #8a6d1f); }
.variant-bundle-promo__divider {
  margin: 1.5rem 0 1rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--color-text-muted);
}
#variantBundleAddBtn:disabled { opacity: .55; cursor: not-allowed; }
.product-options { display: grid; gap: 1.25rem; margin: 1.25rem 0 1rem; }
.product-option__label { display: flex; gap: .35rem; align-items: baseline; margin-bottom: .625rem; font-size: .9375rem; color: var(--color-text-muted); }
.product-option__label strong { color: var(--color-text); font-weight: 700; }
.product-option__choices { display: flex; flex-wrap: wrap; gap: .625rem; }
.product-option__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 42px; padding: .45rem .85rem;
  border: 2px solid var(--color-border); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text);
  font-size: .875rem; font-weight: 600; transition: all var(--transition);
}
.product-option__btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.product-option__btn.is-selected {
  border-color: var(--color-primary);
  background: rgba(99,102,241,.08);
  color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(99,102,241,.15);
}
.product-option__thumb { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; }
.product-option__swatch {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--swatch, #ddd); border: 1px solid rgba(0,0,0,.12);
}
.product-option__select {
  width: 100%; max-width: 320px;
  padding: .625rem .75rem; border: 2px solid var(--color-border);
  border-radius: var(--radius-sm); background: #fff; font-size: .9375rem;
}
.stock-badge { display: inline-block; padding: .25rem .75rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; margin-right: .5rem; }
.stock-badge--in { background: rgba(16,185,129,.1); color: var(--color-success); }
.stock-badge--low { background: rgba(245,158,11,.1); color: var(--color-accent); }
.stock-badge--out { background: rgba(239,68,68,.1); color: var(--color-danger); }
.product-detail__actions { display: flex; gap: .75rem; margin: 1.5rem 0; flex-wrap: wrap; }
.quantity-selector { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 44px; font-size: 1.25rem; color: var(--color-text-muted); }
.qty-btn:hover { background: var(--color-bg-alt); }
.qty-input { width: 50px; text-align: center; border: none; border-left: 1px solid var(--color-border); border-right: 1px solid var(--color-border); height: 44px; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.upsell-box { display: flex; align-items: center; gap: 1rem; background: linear-gradient(135deg, #fef3c7, #fff); border: 1px solid #fde68a; border-radius: var(--radius); padding: 1rem; margin: 1rem 0; }
.upsell-box__content p { font-size: .875rem; color: var(--color-text-muted); }
.upsell-box__content a { color: var(--color-primary); font-weight: 600; }
.product-detail__trust { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.product-detail__tabs { margin-top: 2rem; }
.tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--color-border); margin-bottom: 1.5rem; }
.tab { padding: .75rem 1.25rem; font-weight: 600; font-size: .9375rem; color: var(--color-text-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.features-list { list-style: none; display: grid; gap: .5rem; }
.features-list li { padding: .5rem 0 .5rem 1.5rem; position: relative; }
.features-list li::before { content: '✓'; position: absolute; left: 0; color: var(--color-success); font-weight: 700; }

/* Sticky buy bar */
.sticky-buy-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--color-border); padding: .75rem 0; z-index: 90; transform: translateY(100%); transition: transform .3s ease; box-shadow: 0 -4px 12px rgba(0,0,0,.08); }
.sticky-buy-bar.visible { transform: translateY(0); }
.sticky-buy-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sticky-buy-bar__price { font-size: 1.25rem; font-weight: 800; display: block; }
.sticky-buy-bar__name { font-size: .8125rem; color: var(--color-text-muted); }

/* Mini cart */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 200; opacity: 0; visibility: hidden; transition: all var(--transition); }
.cart-overlay.active { opacity: 1; visibility: visible; }
.mini-cart { position: fixed; top: 0; right: 0; width: 100%; max-width: 420px; height: 100vh; background: #fff; z-index: 201; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; box-shadow: -4px 0 20px rgba(0,0,0,.1); }
.mini-cart.open { transform: translateX(0); }
.mini-cart__header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; border-bottom: 1px solid var(--color-border); }
.mini-cart__header h2 { font-size: 1.125rem; font-weight: 700; }
.mini-cart__close { font-size: 1.5rem; color: var(--color-text-muted); padding: .25rem; }
.mini-cart__body { flex: 1; overflow-y: auto; padding: 1rem; }
.mini-cart__empty { text-align: center; padding: 3rem 1rem; color: var(--color-text-muted); }
.mini-cart__empty p { margin-bottom: 1rem; }
.mini-cart__footer { padding: 1.25rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; gap: .75rem; }
.mini-cart__subtotal { display: flex; justify-content: space-between; font-size: 1rem; }
.mini-cart__shipping-msg { font-size: .8125rem; color: var(--color-accent); font-weight: 600; text-align: center; padding: .5rem; background: rgba(245,158,11,.08); border-radius: var(--radius-sm); }
.mini-cart-item { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.mini-cart-item__img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-bg-alt); }
.mini-cart-item__info { flex: 1; }
.mini-cart-item__name { font-size: .875rem; font-weight: 600; margin-bottom: .25rem; }
.mini-cart-item__name a { color: inherit; text-decoration: none; }
.mini-cart-item__name a:hover { color: var(--color-primary); text-decoration: underline; }
.mini-cart-item__img-link { display: block; flex-shrink: 0; line-height: 0; }
.mini-cart-item__img-link:hover { opacity: .88; }
.mini-cart-item__price { font-size: .875rem; font-weight: 700; color: var(--color-primary); }
.mini-cart-item__qty { display: flex; align-items: center; gap: .5rem; margin-top: .375rem; }
.mini-cart-item__remove { color: var(--color-danger); font-size: .75rem; cursor: pointer; margin-top: .25rem; }
.mini-cart__recommendations { border-top: 1px solid var(--color-border); padding-top: .75rem; }
.mini-cart__rec-title { font-size: .8125rem; font-weight: 700; margin-bottom: .5rem; }
.mini-cart-rec { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; }
.mini-cart-rec img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.mini-cart-rec__info { flex: 1; font-size: .75rem; }
.mini-cart-rec__info strong { display: block; }
.mini-cart-rec .btn { padding: .25rem .5rem; font-size: .6875rem; }

/* Cart page */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.cart-item__img { width: 96px; height: 96px; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-bg-alt); }
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; margin-bottom: .25rem; }
.cart-item__name a { color: inherit; text-decoration: none; }
.cart-item__name a:hover { color: var(--color-primary); text-decoration: underline; }
.cart-item__img-link { display: block; flex-shrink: 0; line-height: 0; }
.cart-item__price { color: var(--color-primary); font-weight: 700; }
.cart-item__actions { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; }
.cart-summary { background: var(--color-bg-alt); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: calc(var(--header-stack-height) + 1rem); }
.cart-summary h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: .75rem; }
.cart-summary__shipping { font-size: .8125rem; color: var(--color-accent); font-weight: 600; margin-bottom: .75rem; padding: .5rem; background: rgba(245,158,11,.08); border-radius: var(--radius-sm); text-align: center; }
.cart-summary__total { display: flex; justify-content: space-between; font-size: 1.125rem; padding: 1rem 0; border-top: 1px solid var(--color-border); margin-bottom: 1rem; }
.cart-summary__note { font-size: .75rem; color: var(--color-text-muted); text-align: center; margin-bottom: 1rem; }
.cart-recommendations { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }

/* Checkout */
.checkout-notice { display: flex; align-items: flex-start; gap: .75rem; background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.2); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: .875rem; }
.checkout-notice--whatsapp { background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.25); }
.checkout-notice--whatsapp svg { flex-shrink: 0; color: var(--color-whatsapp); margin-top: 2px; }
.checkout-notice--success { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.3); }
.checkout-notice--success svg { color: #16a34a; }
.checkout-notice svg { flex-shrink: 0; color: var(--color-primary); margin-top: 2px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-form { background: #fff; }
.checkout-form h2 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 1rem; }
.checkout-form h2:first-child { margin-top: 0; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .8125rem; font-weight: 600; margin-bottom: .375rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-channel-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.channel-option input { display: none; }
.channel-option__card { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1.25rem; border: 2px solid var(--color-border); border-radius: var(--radius); text-align: center; cursor: pointer; transition: all var(--transition); }
.channel-option input:checked + .channel-option__card { border-color: var(--color-primary); background: rgba(99,102,241,.05); }
.channel-option__card small { color: var(--color-text-muted); font-size: .75rem; }
.delivery-options { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.delivery-option input { display: none; }
.delivery-option__card { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; border: 2px solid var(--color-border); border-radius: var(--radius); cursor: pointer; transition: all var(--transition); }
.delivery-option input:checked + .delivery-option__card { border-color: var(--color-primary); background: rgba(99,102,241,.05); }
.delivery-option__card small { color: var(--color-text-muted); font-size: .8125rem; line-height: 1.4; }
.checkout-summary__note { font-size: .8125rem; color: var(--color-text-muted); margin-top: .75rem; line-height: 1.5; }
.checkout-summary { background: var(--color-bg-alt); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: calc(var(--header-stack-height) + 1rem); }
.checkout-item { display: flex; gap: .75rem; padding: .75rem 0; border-bottom: 1px solid var(--color-border); font-size: .875rem; }
.checkout-item img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.checkout-item__link { color: inherit; text-decoration: none; }
.checkout-item__link:hover { color: var(--color-primary); text-decoration: underline; }
.checkout-item__img-link { display: block; flex-shrink: 0; line-height: 0; }
.checkout-summary__total { display: flex; justify-content: space-between; font-size: 1.25rem; padding: 1rem 0; margin-top: .5rem; }
.checkout-complete {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(22,163,74,.2);
  box-shadow: 0 8px 32px rgba(22,163,74,.08);
  text-align: center;
}
.checkout-complete__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
}
.checkout-complete h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; }
.checkout-complete p { color: var(--color-text-muted); margin-bottom: .75rem; line-height: 1.6; }
.checkout-complete__hint { font-size: .875rem; margin-bottom: 1.5rem !important; }
.checkout-complete__actions { display: flex; flex-direction: column; gap: .75rem; }
.checkout-complete__actions .btn { justify-content: center; }
body.checkout-completed .checkout-layout { display: none; }
.checkout-success-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal-content { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2.5rem; max-width: 420px; width: 90%; text-align: center; }
.modal-icon { width: 64px; height: 64px; background: var(--color-success); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; }

/* About & Contact */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; }
.about-text h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -.02em; }
.about-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-top: .5rem;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.about-text h3 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 .75rem; }
.about-text p { color: var(--color-text-muted); margin-bottom: 1rem; }
.about-features { list-style: none; display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.about-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.about-features__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-dark);
}
.about-features__icon svg { width: 18px; height: 18px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-content: start; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; text-align: center; border: 1px solid rgba(99,102,241,.1); box-shadow: 0 4px 16px rgba(99,102,241,.06); }
.stat-card strong { display: block; font-size: 1.75rem; font-weight: 800; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-card strong.stat-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  -webkit-text-fill-color: unset;
  color: var(--color-primary-dark);
  background: none;
}
.stat-card__rating svg { width: 1.125rem; height: 1.125rem; color: #f59e0b; flex-shrink: 0; }
.stat-card span { font-size: .8125rem; color: var(--color-text-muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(99,102,241,.12);
  box-shadow: 0 4px 16px rgba(99,102,241,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-brand); }
.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
  color: var(--color-primary-dark);
  border: 1px solid rgba(99, 102, 241, 0.15);
}
.value-card__icon svg { width: 26px; height: 26px; stroke-width: 1.75; }
.value-card h3 { font-weight: 700; margin-bottom: .5rem; }
.value-card p { font-size: .875rem; color: var(--color-text-muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem; border-radius: var(--radius-lg); border: 2px solid var(--color-border); transition: transform var(--transition), box-shadow var(--transition); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.contact-card--whatsapp { border-color: var(--color-whatsapp); }
.contact-card--instagram { border-color: #e1306c; }
.contact-card--tiktok { border-color: #010101; }
.contact-card--featured { border-color: var(--color-whatsapp); background: linear-gradient(180deg, rgba(37,211,102,.08), #fff); box-shadow: var(--shadow-md); }
.contact-card--instagram:not(.contact-card--featured) { background: linear-gradient(180deg, rgba(225,48,108,.06), #fff); }
.contact-card--tiktok:not(.contact-card--featured) { background: linear-gradient(180deg, rgba(1,1,1,.04), #fff); }
.contact-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-whatsapp); color: #fff; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .25rem .625rem; border-radius: 999px; }
.contact-card--whatsapp svg { color: var(--color-whatsapp); }
.contact-card--instagram svg { color: #e1306c; }
.contact-card--tiktok svg { color: #010101; }
.contact-card h3 { font-size: 1.25rem; font-weight: 700; margin: .75rem 0 .25rem; }
.contact-card p { color: var(--color-text-muted); font-size: .875rem; margin-bottom: 1rem; }
.contact-info h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  margin-top: .375rem;
  border-radius: 2px;
  background: var(--gradient-brand);
}
.contact-info__list { list-style: none; margin-bottom: 2rem; }
.contact-info__list li { padding: .75rem 0; border-bottom: 1px solid var(--color-border); }
.contact-info__list strong { display: block; font-size: .8125rem; color: var(--color-text-muted); margin-bottom: .125rem; }
.faq-mini details { border-bottom: 1px solid var(--color-border); padding: .75rem 0; }
.faq-mini summary { font-weight: 600; cursor: pointer; font-size: .9375rem; }
.faq-mini p { color: var(--color-text-muted); font-size: .875rem; margin-top: .5rem; padding-left: 1rem; }

/* Footer */
.footer {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  color: #94a3b8;
  padding: 3.5rem 0 1.75rem;
  margin-top: 4rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(0, 2fr);
  gap: 2.5rem 3rem;
  align-items: start;
  margin-bottom: 2.25rem;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}
.footer .logo--footer.logo--image {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  line-height: 0;
  align-self: flex-start;
}
.footer .logo--footer .logo__img {
  width: min(100%, 280px);
  height: auto;
  max-width: 280px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.footer .logo--footer-blend .logo__img {
  mix-blend-mode: lighten;
}
.footer__desc {
  margin: 0;
  font-size: .9375rem;
  line-height: 1.55;
  color: #cbd5e1;
  max-width: 22rem;
}
.footer__social { display: flex; flex-wrap: wrap; gap: .625rem; }
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}
.social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.1); transition: all var(--transition); }
.social-link:hover { background: var(--gradient-brand); border-color: transparent; box-shadow: 0 4px 14px rgba(99,102,241,.4); color: #fff; }
.footer__col h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .5rem; font-size: .875rem; }
.footer__col a {
  color: #cbd5e1;
  transition: color var(--transition);
}
.footer__col a:hover { color: #fff; }
.footer__meta {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: .5rem;
}
.footer__meta p {
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
  color: #94a3b8;
}
.footer__contact a { color: #e2e8f0; word-break: break-word; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  font-size: .8125rem;
}
.footer__bottom p { margin: 0; }
.footer__note { opacity: .75; max-width: 28rem; text-align: right; }

/* Empty state */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--color-text-muted); }
.empty-state svg { margin: 0 auto 1rem; opacity: .4; }
.empty-state h2 { color: var(--color-text); margin-bottom: .5rem; }
.empty-state p { margin-bottom: 1.5rem; }

/* Toast */
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400; display: flex; flex-direction: column; gap: .5rem; }
.toast { background: var(--color-bg-dark); color: #fff; padding: .875rem 1.25rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 500; box-shadow: var(--shadow-lg); animation: slideIn .3s ease; display: flex; align-items: center; gap: .5rem; }
.toast--success { background: var(--color-success); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Animations */
.animate-in { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .15s; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .promo-banner,
  .promo-banners-slider__track {
    height: auto;
    min-height: 460px;
    max-height: none;
    aspect-ratio: auto;
  }
  .promo-banner__body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 3.5rem 1.25rem;
    gap: 0;
  }
  .promo-banner__copy {
    max-width: none;
    width: 100%;
    align-items: center;
    gap: .35rem;
  }
  .promo-banner__desc,
  .promo-banner__highlights {
    margin-left: auto;
    margin-right: auto;
  }
  .promo-banner__highlights { margin-bottom: .5rem; }
  .promo-banner__prices {
    margin-top: .25rem;
    margin-bottom: .85rem;
  }
  .promo-banner__cta {
    margin-top: .75rem;
    margin-bottom: 1.25rem;
    padding: .8125rem 1.5rem;
    width: auto;
    max-width: min(100%, 11.5rem);
    min-height: 44px;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
  }
  .promo-banner__visual,
  .promo-banner--product .promo-banner__visual {
    width: clamp(160px, 52vw, 240px);
    height: clamp(160px, 52vw, 240px);
    margin: .5rem auto 0;
    align-self: center;
    flex-shrink: 0;
  }
  .promo-banner__product-img,
  .promo-banner__product-video {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
  }
  /* Flechas en la misma fila que el botón (centro vertical del banner), con más aire */
  .promo-banners-slider__nav {
    opacity: 1;
    width: 36px;
    height: 36px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    box-shadow: 0 3px 14px rgba(79,70,229,.2);
  }
  .promo-banners-slider__nav:hover {
    transform: translateY(-50%) scale(1.05);
  }
  .promo-banners-slider__nav--prev { left: .75rem; }
  .promo-banners-slider__nav--next { right: .75rem; }
  .promo-banners-slider__footer { margin-top: 1.25rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; }
  .header__inner {
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding-block: 0.35rem;
  }
  .header__cluster {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0.35rem;
  }
  .header-chat-cta {
    min-height: 36px;
    min-width: 36px;
    padding: 0.35rem;
    max-width: none;
    border-radius: 10px;
    box-shadow: none;
  }
  .header-chat-cta:hover {
    transform: none;
  }
  .header-chat-cta__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .header-chat-cta__icon svg {
    width: 18px;
    height: 18px;
  }
  .header .logo--image,
  .header .logo:not(.logo--image) { flex: 0 1 auto; min-width: 0; }
  .header__actions { flex: 0 0 auto; margin-left: 0; }
  .nav {
    display: none;
    position: fixed;
    top: var(--header-stack-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 99;
    gap: 0.35rem;
  }
  .nav.open { display: flex; }
  .nav__chat-btn { display: inline-flex; }
  .nav__link {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    text-align: center;
  }
  .header .logo__img { height: 56px; max-width: min(220px, 48vw); }
  .header-action-btn__label { display: none; }
  .header-action-btn {
    min-height: 36px;
    min-width: 36px;
    padding: 0.35rem;
    border-radius: 10px;
    box-shadow: none;
  }
  .header-action-btn__icon svg {
    width: 18px;
    height: 18px;
  }
  .header-action-btn--search {
    border: none;
    background: rgba(99, 102, 241, 0.08);
    color: var(--color-primary-dark);
  }
  .header-action-btn--search:hover,
  .header-action-btn--search.active {
    background: var(--color-primary-dark);
    color: #fff;
    transform: none;
    box-shadow: none;
  }
  .header-action-btn--cart {
    padding: 0.35rem;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.28);
    gap: 0;
  }
  .header-action-btn--cart:hover {
    transform: none;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.35);
  }
  .header-action-btn--cart .cart-badge {
    top: -4px;
    right: -5px;
    min-width: 15px;
    height: 15px;
    line-height: 15px;
    font-size: 0.5rem;
    border: 1.5px solid #5b21b6;
  }
  .menu-toggle {
    display: flex;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    padding: 0.35rem;
    border-radius: 10px;
    border-width: 1px;
    flex-shrink: 0;
  }
  .menu-toggle span {
    width: 18px;
  }
  .header__actions { gap: 0.35rem; flex-shrink: 0; }
}

@media (min-width: 992px) {
  .header-chat-cta__text {
    display: flex;
  }
  .nav__link {
    padding: 0.45rem 0.85rem;
    font-size: 0.875rem;
  }
  .header .logo__img {
    height: 88px;
    max-width: 400px;
  }
  :root { --header-height: 100px; }
}
@media (min-width: 1200px) {
  .header__cluster {
    gap: 0.85rem 1rem;
  }
  .nav__link {
    padding: 0.45rem 0.95rem;
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .nav__link { padding: 0.45rem 0.65rem; font-size: 0.8125rem; }
  .header .logo__img { height: 68px; max-width: min(300px, 38vw); }
}

@media (max-width: 768px) {
  .form-row, .contact-channel-options { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .product-card__body { padding: .75rem; }
  .product-card__category { min-height: 2rem; font-size: .6875rem; }
  .product-card__title { min-height: 2.25rem; font-size: .8125rem; }
  .product-card__prices { min-height: 1.5rem; }
  .product-card__meta { min-height: 1rem; margin-bottom: .375rem; }
  .product-card__actions .btn { min-height: 2.375rem; font-size: .8125rem; padding: .5rem .75rem; }
  .product-card__price { font-size: 1rem; }
  .section { padding: 2.5rem 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
  .footer__note { text-align: left; max-width: none; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .product-card__category { min-height: 1.875rem; -webkit-line-clamp: 2; }
  .product-card__title { min-height: 2.125rem; }
  .product-card__actions .btn { min-height: 2.25rem; }
  .combo-banner { padding: 1.5rem; }
  .promo-banner__body { padding-inline: 4rem; }
  .promo-banner__cta {
    max-width: min(100%, 10.5rem);
    padding: .75rem 1.25rem;
  }
  .promo-banners-slider__nav {
    width: 34px;
    height: 34px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  .promo-banners-slider__nav--prev { left: .625rem; }
  .promo-banners-slider__nav--next { right: .625rem; }
}

/* Logo */
.logo--image { display: flex; align-items: center; }
.logo__img { height: 46px; width: auto; max-width: 200px; object-fit: contain; }
.logo--footer .logo__img { height: auto; max-height: none; }
@media (max-width: 768px) {
  .logo__img { height: 42px; max-width: 170px; }
}

.storefront-hero__title,
.storefront-hero__lead,
.storefront-hero__badge,
.promo-bar,
.combo-banner,
.product-card { user-select: none; }

/* Search autocomplete */
.search-form-wrap { position: relative; }
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 400px;
  overflow-y: auto;
  z-index: 150;
}
.search-suggestions__section { padding: .5rem 0; }
.search-suggestions__label {
  display: block;
  padding: .375rem 1rem;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: .05em;
}
.search-suggestion {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  transition: background var(--transition);
  cursor: pointer;
}
.search-suggestion:hover { background: var(--color-bg-alt); }
.search-suggestion img {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--color-bg-alt);
}
.search-suggestion__info strong { display: block; font-size: .875rem; }
.search-suggestion__info span { font-size: .8125rem; color: var(--color-primary); font-weight: 700; }
.search-suggestions__empty { padding: 1rem; text-align: center; color: var(--color-text-muted); font-size: .875rem; }

/* Modal improvements */
.modal-close {
  position: absolute;
  top: .75rem; right: .75rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--color-border); }
.modal-content { position: relative; }
.modal-content .btn--outline { margin-top: .75rem; }
.field-hint { display: block; font-size: .75rem; color: var(--color-text-muted); margin-top: .25rem; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(99,102,241,.12);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-brand); transform: translateY(-2px); }
.testimonial-card__header { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card__avatar--placeholder {
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.125rem;
}
.testimonial-card__stars { color: #f59e0b; font-size: .875rem; letter-spacing: 1px; }
.testimonial-card__demo-tag {
  display: inline-block; margin-left: .35rem;
  font-size: .625rem; font-weight: 700; text-transform: uppercase;
  color: #4338ca; background: #eef2ff; border: 1px solid #c7d2fe;
  padding: .1rem .35rem; border-radius: 4px; vertical-align: middle;
}
.testimonial-card__comment { font-size: .9375rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: .5rem; }
.testimonial-card__product { font-size: .8125rem; color: var(--color-primary); font-weight: 600; display: block; margin-top: .5rem; }
.testimonial-card__link { margin-top: .75rem; }
.testimonials-section .testimonial-card__product { margin-top: auto; padding-top: .5rem; }

/* Product reviews */
.product-reviews__header { margin-bottom: 1.5rem; }
.product-reviews__summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem;
  margin-top: .5rem;
}
.product-reviews__summary-stars { color: #f59e0b; font-size: 1.125rem; letter-spacing: 1px; }
.product-reviews__score { font-size: 1.25rem; color: var(--color-text); }
.product-reviews__count { font-size: .875rem; color: var(--color-text-muted); }
.product-reviews__demo-note {
  margin-top: .5rem; font-size: .875rem; color: var(--color-text-muted);
  padding: .625rem .875rem; background: rgba(99,102,241,.06);
  border: 1px dashed rgba(99,102,241,.25); border-radius: var(--radius);
  max-width: 42rem;
}
.product-reviews__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem;
}
.product-review-card {
  background: #fff;
  border: 1px solid rgba(99,102,241,.12);
  border-radius: var(--radius-lg);
  padding: 1.125rem 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-review-card:hover { box-shadow: var(--shadow-brand); transform: translateY(-2px); }
.product-review-card--demo { border-style: dashed; background: linear-gradient(180deg, #fafaff 0%, #fff 100%); }
.product-review-card__top { display: flex; justify-content: space-between; gap: .75rem; align-items: flex-start; }
.product-review-card__author { display: flex; gap: .75rem; align-items: flex-start; min-width: 0; }
.product-review-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.product-review-card__avatar--placeholder {
  background: var(--gradient-brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.product-review-card__name { display: block; font-size: .9375rem; line-height: 1.3; }
.product-review-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem;
  margin-top: .25rem; font-size: .75rem; color: var(--color-text-muted);
}
.product-review-card__stars { color: #f59e0b; letter-spacing: .5px; }
.product-review-card__badges { display: flex; flex-direction: column; gap: .25rem; align-items: flex-end; flex-shrink: 0; }
.review-badge {
  font-size: .625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .2rem .45rem; border-radius: 999px; white-space: nowrap;
}
.review-badge--demo { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.review-badge--verified { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.product-review-card__comment {
  font-size: .9375rem; line-height: 1.6; color: var(--color-text-muted); margin: 0;
}
.product-review-card__photo {
  width: 100%; max-height: 180px; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
@media (max-width: 640px) {
  .product-reviews__list { grid-template-columns: 1fr; }
  .product-review-card__top { flex-direction: column; }
  .product-review-card__badges { flex-direction: row; align-items: flex-start; }
}

/* Product gallery with video */
.product-gallery__main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-gallery__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery__image,
.product-gallery__video,
.product-gallery__embed {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
}
.product-gallery__embed {
  border: 0;
}
.product-gallery__thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 72px; height: 72px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  position: relative;
  background: #fff;
}
.gallery-thumb.active { border-color: var(--color-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb__play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.4);
  color: #fff;
  font-size: 1.25rem;
}

/* --- Chat Bot & WhatsApp FABs --- */
.fab-stack {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 180;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.whatsapp-fab {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.38);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

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

.whatsapp-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsappFabPulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes whatsappFabPulse {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chat-fab {
  position: relative;
  flex-shrink: 0;
  bottom: auto;
  right: auto;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand-lg);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}
.chat-fab:hover { transform: scale(1.05); box-shadow: 0 12px 32px rgba(79,70,229,.28); }
.chat-fab:active { transform: scale(.98); }
.chat-fab--hidden { opacity: 0; pointer-events: none; transform: scale(.8); }
.chat-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(99,102,241,.4);
  animation: chatPulse 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}

.chat-widget {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  z-index: 185;
  width: 380px;
  max-width: calc(100vw - 1.5rem);
  height: 520px;
  max-height: calc(100vh - 7rem);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(15,23,42,.18), 0 0 0 1px rgba(99,102,241,.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.chat-widget--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: 1rem 1.125rem;
  background: var(--gradient-brand);
  color: #fff;
  flex-shrink: 0;
}
.chat-widget__header-info { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.chat-widget__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
  overflow: hidden;
}
.chat-widget__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.chat-fab__img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.chat-widget__title { font-size: .9375rem; font-weight: 700; line-height: 1.2; }
.chat-widget__subtitle { font-size: .75rem; opacity: .85; }
.chat-widget__close {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.chat-widget__close:hover { background: rgba(255,255,255,.25); }

.chat-widget__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: linear-gradient(180deg, #fafaff 0%, #fff 100%);
}
.chat-msg { max-width: 92%; animation: chatMsgIn .2s ease; }
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg--bot { align-self: flex-start; min-width: 0; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__bubble {
  padding: .625rem .875rem;
  border-radius: 14px;
  font-size: .875rem;
  line-height: 1.5;
  word-wrap: break-word;
}
.chat-msg--bot .chat-msg__bubble {
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg__bubble {
  background: var(--gradient-brand);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--typing .chat-msg__bubble {
  display: flex; gap: 4px; padding: .75rem 1rem;
}
.chat-msg--typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-text-muted);
  animation: chatTyping 1.2s infinite;
}
.chat-msg--typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-widget__quick {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding: 0 1rem .75rem;
  flex-shrink: 0;
}
.chat-quick-btn {
  font-size: .75rem;
  padding: .375rem .625rem;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,.25);
  background: var(--color-bg-alt-soft);
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.chat-quick-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.chat-widget__input-area {
  display: flex;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
  flex-shrink: 0;
}
.chat-widget__input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  min-width: 0;
}
.chat-widget__input:focus { border-color: var(--color-primary); }
.chat-widget__send {
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.chat-widget__send:hover { transform: scale(1.05); }
.chat-widget__send:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.chat-widget__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .5rem;
  padding: .375rem .75rem;
  background: rgba(37,211,102,.1);
  color: #128c7e;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.chat-widget__whatsapp:hover { background: rgba(37,211,102,.2); }

.chat-msg__actions {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-top: .5rem;
  width: 100%;
}
.chat-msg__actions--scroll {
  max-height: 220px;
  overflow-y: auto;
  padding-right: .25rem;
}
.chat-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.chat-action-btn--product {
  background: var(--color-bg-alt-soft);
  color: var(--color-primary-dark);
  border-color: rgba(99,102,241,.2);
}
.chat-action-btn--product:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.chat-action-btn--product:hover .chat-action-btn__meta { color: rgba(255,255,255,.85); }
.chat-action-btn--whatsapp {
  background: rgba(37,211,102,.12);
  color: #128c7e;
  border-color: rgba(37,211,102,.25);
  justify-content: center;
}
.chat-action-btn--whatsapp:hover {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
}
.chat-action-btn__info {
  display: flex;
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  text-align: left;
}
.chat-action-btn__name {
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-action-btn__meta {
  font-size: .6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.chat-action-btn__cta {
  flex-shrink: 0;
  font-size: .6875rem;
  white-space: nowrap;
}
.chat-action-btn--product:hover .chat-action-btn__cta { color: #fff; }
.chat-action-btn--category {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: rgba(99,102,241,.3);
  justify-content: center;
  font-size: .8125rem;
  cursor: pointer;
  font-family: inherit;
}
.chat-action-btn--category:hover {
  background: var(--color-bg-alt-soft);
  border-color: var(--color-primary);
}

@media (max-width: 480px) {
  .fab-stack { bottom: 1rem; right: 1rem; }
  .chat-fab,
  .whatsapp-fab { width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .chat-widget {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: 100%;
    height: min(85vh, 600px);
    max-height: 85vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  body.chat-open .fab-stack { bottom: calc(min(85vh, 600px) + 0.75rem); }
}

body.has-sticky-buy .fab-stack { bottom: 5rem; }
body.has-sticky-buy.chat-open .chat-widget { max-height: calc(100vh - 10rem); }

@media (min-width: 481px) {
  body.chat-open .fab-stack {
    bottom: calc(5.5rem + min(520px, calc(100vh - 7rem)) + 0.75rem);
  }
}

