/* ═══════════════════════════════════════════════════════════
   Distribuidora Bernhardt — styles.css
   Vibrant warm "clean commerce". Plus Jakarta Sans + Figtree.
   Brand palette: warm yellows/oranges/red + black.
   Two pages: / (home) and /catalogo/ (catalog engine).
   Hero gradient is CONSTANT across themes (logo legibility).
   /catalogo/ reuses the same gradient as its full-page background and is
   theme-locked to light — no [data-theme="dark"] variant needed there.
   ═══════════════════════════════════════════════════════════ */

/* ── 1. Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input { font: inherit; }
[hidden] { display: none !important; }

/* ── 2. CSS Custom Properties ─────────────────────────── */
/* Light theme (default) */
:root {
  --bg-primary:     #fffdf7;
  --bg-secondary:   #fdf6e3;
  --bg-card:        #ffffff;
  --text-primary:   #1a1712;
  --text-secondary: #6b6356;
  --accent:         #fb5523;
  --accent-hover:   #e0481b;
  --accent-glow:    rgba(251, 85, 35, 0.2);
  --accent-strong:  #b8350c;   /* darker accent for SMALL text — meets AA (>=4.5:1) on light bg; light theme only */
  --border:         #eee4cf;

  /* Price is ALWAYS text-primary (black/cream bold) — never a separate color */
  --color-price:          var(--text-primary);
  --color-featured:       #fddb41;   /* Destacado badge bg */
  --color-featured-text:  #5a4400;
  --color-oferta:         #fb5523;   /* Oferta badge bg */
  --color-oferta-text:    #1a1712;   /* black — verified 5.47:1 AA on #fb5523 */
  --color-whatsapp:       #25D366;
  --color-whatsapp-hover: #1EBE5A;
  --color-success:        #2e7d32;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Figtree', sans-serif;

  /* Layout */
  --cart-drawer-width:        420px;
  --cart-drawer-width-mobile: min(85vw, 360px);
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-max:   1280px;
  --container-pad:   1.5rem;
  --gap:             1.5rem;
  --radius:          0.75rem;
  --radius-lg:       1.25rem;
  --transition:      0.3s ease;
  --transition-slow: 0.5s ease;
  --nav-height:      68px;

  /* Warm umber elevation — multi-layer, NEVER neutral gray or #000 */
  --shadow-rgb: 40 30 18;
  --elev-1:
    0 1px 2px  rgb(var(--shadow-rgb) / 0.05),
    0 2px 8px  rgb(var(--shadow-rgb) / 0.07);
  --elev-2:
    0 2px 6px  rgb(var(--shadow-rgb) / 0.08),
    0 10px 28px rgb(var(--shadow-rgb) / 0.14);
  --elev-3:
    0 4px 12px rgb(var(--shadow-rgb) / 0.10),
    0 18px 44px rgb(var(--shadow-rgb) / 0.18);
  /* Permanent golden halo for "Destacado" featured cards */
  --halo-featured:
    0 0 0 1.5px rgba(253,219,65,0.60),
    0 6px 22px rgba(253,219,65,0.35);
}

/* Dark theme */
[data-theme="dark"] {
  --bg-primary:     #181410;
  --bg-secondary:   #211a13;
  --bg-card:        #241d15;
  --text-primary:   #fdf6e8;
  --text-secondary: #b3a892;
  --accent:         #fb5523;
  --accent-hover:   #fd8a25;
  --accent-glow:    rgba(251, 85, 35, 0.3);
  --accent-strong:  var(--accent);  /* dark: brand accent already passes AA — keep #fb5523 */
  --border:         #3a2f22;
  /* featured / oferta / whatsapp stay same */

  /* Deeper, still-warm elevation for dark (warm-biased, not neutral) */
  --shadow-rgb: 8 5 0;
  --elev-1:
    0 1px 2px  rgb(var(--shadow-rgb) / 0.40),
    0 2px 8px  rgb(var(--shadow-rgb) / 0.45);
  --elev-2:
    0 2px 6px  rgb(var(--shadow-rgb) / 0.50),
    0 10px 28px rgb(var(--shadow-rgb) / 0.58);
  --elev-3:
    0 4px 12px rgb(var(--shadow-rgb) / 0.55),
    0 18px 44px rgb(var(--shadow-rgb) / 0.68);
  --halo-featured:
    0 0 0 1.5px rgba(253,219,65,0.50),
    0 6px 22px rgba(253,219,65,0.26);
}

/* ── 3. Typography ────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background var(--transition), color var(--transition);
}
/* QW2: tighter tracking + balanced wrapping kills orphan lines in headings */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1.5rem; font-weight: 800; }
/* QW1: editorial kicker — gradient rule (yellow -> orange) precedes the label */
.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.6rem;
}
.section-label::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #fddb41, #fb5523);
}

/* ── 4. Utilities ─────────────────────────────────────── */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
main > section { padding: var(--section-padding) 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 3000; background: var(--accent); color: #fff; padding: 0.75rem 1rem; font-family: var(--font-body); }
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 44px; cursor: pointer;
}
.btn--lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.9rem; min-height: 40px; }
.btn--primary { background: var(--accent); color: #1a1712; }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.btn--outline { border: 1.5px solid var(--border); color: var(--text-primary); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn--whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--color-whatsapp-hover); transform: translateY(-1px); }
/* QW5: tactile micro-press — gives touch devices a real "pressed" response */
.btn:active { transform: scale(0.97); }
.catalog__filter:active { transform: scale(0.96); }
.cart-item__qty-btn:active { transform: scale(0.92); }

/* ── 5. Header / Nav ──────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: var(--nav-height);
}
/* Sticky header gains a warm shadow once it detaches from the top.
   CSS-only (scroll-driven timeline) — progressive: no-op where unsupported.
   No JS scroll listener (the JS-detach approach was intentionally skipped). */
@supports (animation-timeline: scroll()) {
  .header {
    animation: header-detach linear both;
    animation-timeline: scroll(root block);
    animation-range: 8px 64px;
  }
  @keyframes header-detach {
    to { box-shadow: var(--elev-2); }
  }
}
.nav { display: flex; align-items: center; gap: 0.75rem; height: 100%; }
.nav__logo { margin-right: auto; display: inline-flex; align-items: center; gap: 0.5rem; }
.nav__logo-text {
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
  color: var(--accent); letter-spacing: -0.02em; line-height: 1;
}
.nav__logo-img { height: 36px; width: auto; display: block; }
.nav__logo-sub {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  color: var(--text-secondary); letter-spacing: 0.04em; text-transform: uppercase;
  display: block; line-height: 1;
}
/* Cart: always visible, BEFORE the hamburger */
.nav__cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--text-primary); border-radius: var(--radius); transition: color var(--transition); }
.nav__cart-btn:hover { color: var(--accent); }
.nav__cart-icon svg { width: 22px; height: 22px; }
.nav__cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--accent); color: #1a1712;
  font-size: 0.65rem; font-weight: 800; line-height: 18px; text-align: center;
}
/* Hamburger */
.nav__hamburger { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); }
.nav__hamburger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile nav backdrop — click-outside + iOS Safari fix */
.nav__backdrop { display: none; position: fixed; inset: var(--nav-height) 0 0 0; z-index: 998; cursor: pointer; }
/* Collapsible nav menu */
.nav__menu { display: flex; align-items: center; gap: 1.25rem; }
.nav__links { display: flex; gap: 1.25rem; }
.nav__link { font-weight: 600; font-size: 0.95rem; color: var(--text-secondary); transition: color var(--transition); padding: 0.25rem 0; }
.nav__link:hover, .nav__link--active { color: var(--accent); }
.nav__controls { display: flex; align-items: center; gap: 0.5rem; }
.nav__toggle { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); color: var(--text-secondary); transition: color var(--transition), background var(--transition); }
.nav__toggle:hover { color: var(--accent); background: rgba(251,85,35,0.08); }
.nav__toggle svg { width: 20px; height: 20px; }
/* Nav CTA (home page "Ver catálogo" button in nav) */
.nav__cta-catalog { font-size: 0.88rem; padding: 0.5rem 1.1rem; min-height: 38px; }
/* PWA install button (hidden by default, shown by JS) */
.nav__install { font-size: 0.85rem; width: auto; height: auto; min-height: 36px; padding: 0.4rem 0.9rem; gap: 0.4rem; }
.nav__install svg { width: 16px; height: 16px; }

/* ── 6. Hero (home page) ──────────────────────────────── */
.hero {
  display: flex; flex-direction: column;
  min-height: calc(88vh - var(--nav-height));
  /* Brand gradient — CONSTANT in both themes. Never override in [data-theme="dark"].
     SM2 depth layers (grain + warm-white top-left focus) are PREPENDED here so they
     paint in stacking step 1 (element background) — strictly BEHIND the in-flow logo.
     These two added layers MUST stay byte-identical in the [data-theme="dark"] block. */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.5' stop-color='%23fff' stop-opacity='0.45'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='600' height='400' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='600' height='400' filter='url(%23g)' mask='url(%23m)' opacity='0.07'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    radial-gradient(38% 34% at 14% 12%, rgba(255,250,240,0.26) 0%, rgba(255,250,240,0) 72%),
    radial-gradient(120% 95% at 72% 120%, #fb5523 0%, rgba(251,85,35,0) 55%),
    linear-gradient(125deg, #d9f55a 0%, #faee64 28%, #fddb41 50%, #fdb72e 70%, #fd8a25 100%);
  color: #1a1712;
  padding: 0;
  overflow: hidden;
}
/* Dark theme: hero stays on the gradient — do NOT inherit dark bg.
   SM2 depth layers below are BYTE-IDENTICAL to the base .hero block (theme lock). */
[data-theme="dark"] .hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.5' stop-color='%23fff' stop-opacity='0.45'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='600' height='400' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='600' height='400' filter='url(%23g)' mask='url(%23m)' opacity='0.07'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    radial-gradient(38% 34% at 14% 12%, rgba(255,250,240,0.26) 0%, rgba(255,250,240,0) 72%),
    radial-gradient(120% 95% at 72% 120%, #fb5523 0%, rgba(251,85,35,0) 55%),
    linear-gradient(125deg, #d9f55a 0%, #faee64 28%, #fddb41 50%, #fdb72e 70%, #fd8a25 100%);
  color: #1a1712;
}

.hero__body {
  flex: 1; display: flex; align-items: center;
  padding: clamp(3rem, 8vw, 5rem) 0 2rem;
  position: relative; /* QW9: anchor for the scroll chevron */
}
/* QW9: scroll-continuity cue at the base of the hero (dark ink, legible on the
   warm gradient; sits below the centered logo, never over it) */
.hero__body::after {
  content: ""; position: absolute; left: 50%; bottom: 0.8rem;
  transform: translate(-50%, 0);
  width: 24px; height: 24px; opacity: 0.6; pointer-events: none;
  background-color: #1a1712;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: chevron-bob 1.8s ease-in-out infinite;
}
@keyframes chevron-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 5px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__body::after { animation: none; }
}
.hero__content {
  max-width: 1100px; margin: 0 auto;
  padding: 0 var(--container-pad); text-align: center;
}
/* Logo h1: contains inline SVG */
.hero__logo-heading {
  margin: 0 0 1.75rem; display: flex; justify-content: center;
  line-height: 1;
}
.hero__logo-heading svg {
  width: min(340px, 72vw); height: auto;
  display: block;
}
.hero__tagline {
  max-width: 560px; margin: 0 auto 2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #1a1712; line-height: 1.65; font-weight: 500;
}
.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* CTA colors on hero gradient — primary accent, outline dark */
.hero .btn--primary { background: var(--accent); color: #1a1712; box-shadow: 0 2px 12px rgba(251,85,35,0.3); }
.hero .btn--primary:hover { background: #e0481b; box-shadow: 0 4px 20px rgba(251,85,35,0.45); }
.hero .btn--outline { background: transparent; border: 2px solid #1a1712; color: #1a1712; }
.hero .btn--outline:hover { background: rgba(26,23,18,0.1); }

/* ── 6a. Hero marquee bar (black, white text, right→left) ─ */
.hero__marquee-bar {
  background: #000; color: #fff;
  overflow: hidden; white-space: nowrap;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.14em;
  flex-shrink: 0;
  position: relative;
}
/* QW8: edge fade — gradients in the BAR'S OWN bg color (#000), so text dissolves
   into the bar instead of revealing anything behind it. */
.hero__marquee-bar::before,
.hero__marquee-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 4rem;
  z-index: 1; pointer-events: none;
}
.hero__marquee-bar::before { left: 0;  background: linear-gradient(90deg,  #000 0%, rgba(0,0,0,0) 100%); }
.hero__marquee-bar::after  { right: 0; background: linear-gradient(270deg, #000 0%, rgba(0,0,0,0) 100%); }
.hero__marquee-track {
  display: inline-flex;
  animation: marquee-rtl 22s linear infinite;
}
/* QW8: pause on hover for readability */
.hero__marquee-bar:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-item {
  display: inline-block; white-space: nowrap;
  padding: 0 3.5rem;
}
@keyframes marquee-rtl {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__marquee-track { animation: none; }
  .hero__marquee-bar { text-align: center; }
}

/* ── 6b. Reflection strip ────────────────────────────────  */
.hero__reflection {
  height: 42px; flex-shrink: 0;
  background: linear-gradient(180deg, #fb5523 0%, #fd8a25 36%, rgba(253,138,37,0) 100%);
}

/* ── 6c. Hero entrance — staggered "ink settling" (CSS-only) ──
   FAIL-SAFE: opacity:0 lives ONLY inside @keyframes hero-rise (animation
   backwards-fill holds it during the delay). It is NEVER a base style — so if
   the animation never runs, the wordmark/tagline/CTAs stay fully VISIBLE. */
.hero__logo-heading { animation: hero-rise 0.6s cubic-bezier(.22, 1, .36, 1) backwards; }
.hero__tagline      { animation: hero-rise 0.5s cubic-bezier(.22, 1, .36, 1) 0.20s backwards; }
.hero__ctas         { animation: hero-rise 0.5s cubic-bezier(.22, 1, .36, 1) 0.32s backwards; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo-heading, .hero__tagline, .hero__ctas { animation: none; }
}

/* ── 7. About / Nosotros ──────────────────────────────── */
.about { background: var(--bg-primary); }
.about__paragraphs { max-width: 720px; color: var(--text-secondary); display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
.about__paragraphs p { line-height: 1.75; }
/* QW3: lead paragraph opens the section — larger, heavier, primary ink */
.about__paragraphs p:first-child { font-size: 1.12rem; font-weight: 500; color: var(--text-primary); }
.values__subtitle { font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.value-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--elev-2); }
.value-card__icon { width: 44px; height: 44px; color: var(--accent); margin-bottom: 1rem; }
.value-card__icon svg { width: 100%; height: 100%; }
.value-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.value-card__desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ── 8. Catalog page background — tied to the home Hero gradient ──
   Client request: /catalogo must feel like a continuation of the home Hero,
   and never offer a dark theme. Reuses the Hero's gradient recipe (byte-
   identical layers) pinned to the viewport via background-attachment:fixed
   so it doesn't stretch/distort on long product lists. Catalog is
   theme-locked to light (theme.js is not loaded on this page — see
   catalogo/index.html), so this never needs a [data-theme="dark"] variant. */
body.page-catalogo {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'%3E%3Cdefs%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3ClinearGradient id='f' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='0.5' stop-color='%23fff' stop-opacity='0.45'/%3E%3Cstop offset='0.85' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cmask id='m'%3E%3Crect width='600' height='400' fill='url(%23f)'/%3E%3C/mask%3E%3C/defs%3E%3Crect width='600' height='400' filter='url(%23g)' mask='url(%23m)' opacity='0.07'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    radial-gradient(38% 34% at 14% 12%, rgba(255,250,240,0.26) 0%, rgba(255,250,240,0) 72%),
    radial-gradient(120% 95% at 72% 120%, #fb5523 0%, rgba(251,85,35,0) 55%),
    linear-gradient(125deg, #d9f55a 0%, #faee64 28%, #fddb41 50%, #fdb72e 70%, #fd8a25 100%);
  background-attachment: fixed;
}

/* ── 8a. Catalog header (catalogo page short intro) ───── */
/* Transparent — lets body's Hero gradient show through. Text uses the same
   dark ink (#1a1712) the Hero uses on this exact gradient (proven legible),
   instead of the lighter --accent/--text-secondary tokens. */
.catalog-hero {
  position: relative;
  padding: 2rem 0;
}
.catalog-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #fddb41 0%, #fb5523 100%);
}
.catalog-hero__inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.catalog-hero__store {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  color: #1a1712; letter-spacing: -0.02em;
}
.catalog-hero__tagline {
  font-size: 0.95rem; color: #1a1712;
  flex: 1; min-width: 180px;
}

/* ── 9. Catalog section ───────────────────────────────── */
.catalog { background: transparent; }
/* Sits directly on the body Hero gradient (no opaque card behind it) —
   override accent/secondary tokens with the Hero's proven dark ink so
   labels, filters and counts stay legible across every gradient stop. */
#catalogo .section-label { color: #1a1712; }
#catalogo .catalog__filter { border-color: #1a1712; color: #1a1712; }
#catalogo .catalog__filter:hover { border-color: #1a1712; color: #1a1712; background: rgba(26,23,18,0.1); }
#catalogo .catalog__filter--oferta { color: #1a1712; }
#catalogo .catalog__loading,
#catalogo .catalog__empty,
#catalogo .catalog__count { color: #1a1712; }
#catalogo .btn--outline { border-color: #1a1712; color: #1a1712; }
#catalogo .btn--outline:hover { border-color: #1a1712; color: #1a1712; background: rgba(26,23,18,0.1); }
.catalog__controls { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0; }
.catalog__search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.catalog__search-input {
  width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); color: var(--text-primary);
  font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color var(--transition);
}
.catalog__search-input:focus { outline: none; border-color: var(--accent); }
.catalog__search-input::placeholder { color: var(--text-secondary); }
.catalog__search::before {
  content: '';
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--text-secondary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  mask-size: contain; -webkit-mask-size: contain; mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
}
/* Filters row: single-line horizontal scroll, fade hint on the right */
.catalog__filters {
  display: flex; flex-wrap: nowrap; gap: 0.4rem; align-items: center;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 4px;
  mask-image: linear-gradient(to right, black calc(100% - 3rem), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 3rem), transparent 100%);
}
.catalog__filters::-webkit-scrollbar { display: none; }
.catalog__filter {
  padding: 0.45rem 1rem; border: 1.5px solid var(--border);
  border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-secondary); transition: all var(--transition);
  white-space: nowrap;
}
.catalog__filter:hover { border-color: var(--accent); color: var(--accent); }
.catalog__filter--active { background: var(--accent); color: #1a1712; border-color: var(--accent); }
/* Ofertas chip has accent border even when inactive */
.catalog__filter--oferta { border-color: var(--color-oferta); color: var(--accent-strong); }
.catalog__filter--oferta-active,
.catalog__filter--oferta.catalog__filter--active { background: var(--color-oferta); color: #1a1712; }

.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.catalog__loading, .catalog__empty { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); font-size: 1rem; }
.catalog__error { text-align: center; padding: 3rem 1rem; display: grid; gap: 1rem; justify-items: center; }
.catalog__more { text-align: center; margin-top: 2rem; display: grid; gap: 0.75rem; justify-items: center; }
.catalog__count { color: var(--text-secondary); font-size: 0.88rem; }

/* ── 10. Product cards ────────────────────────────────── */
.product-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--elev-1);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--elev-2); }
/* Permanent golden halo on featured ("Destacado") cards — pure CSS via :has() */
.product-card:has(.badge--destacado) { box-shadow: var(--elev-1), var(--halo-featured); }
.product-card:has(.badge--destacado):hover { box-shadow: var(--elev-2), var(--halo-featured); }
.product-card__image { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--bg-secondary); }
.product-card__body { padding: 0.75rem; flex: 1; display: flex; flex-direction: column; min-width: 0; }
.product-card__name { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--text-primary); }
.product-card__description {
  color: var(--text-secondary); font-size: 0.75rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 0.4rem; min-width: 0;
}
.product-card__footer { margin-top: auto; padding-top: 0.5rem; display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; flex-wrap: wrap; }
/* Price: ALWAYS text-primary bold — black in light, cream in dark */
/* QW10: price is the #1 buyer signal — heavier and larger, never recolored, no wrap */
.product-card__price { color: var(--color-price); font-weight: 800; font-size: 1rem; font-family: var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.product-card__add { padding: 0.35rem 0.65rem; font-size: 0.75rem; min-height: 32px; }
.product-card__add--added { background: var(--color-success) !important; color: #fff !important; }

/* Dual badges — stacked top-left */
.product-card__badges {
  position: absolute; top: 0.6rem; left: 0.6rem; z-index: 1;
  display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start;
}
/* QW6: foil seals — gradient + lift shadow + diagonal sheen. Each base color
   stays the dominant stop so the verified AA text contrast is preserved. */
.badge {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 0.2rem;
  padding: 0.2rem 0.55rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.03em;
  line-height: 1.4; white-space: nowrap;
  box-shadow: var(--elev-1);
}
.badge::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 42%);
}
/* Oferta = red-orange seal; Destacado = yellow seal (semantics kept independent) */
.badge--oferta { background: linear-gradient(135deg, #ff7a4f 0%, var(--color-oferta) 55%, var(--color-oferta) 100%); color: var(--color-oferta-text); }
.badge--destacado { background: linear-gradient(135deg, #ffe87a 0%, var(--color-featured) 55%, var(--color-featured) 100%); color: var(--color-featured-text); }
.badge--destacado svg { width: 10px; height: 10px; }

/* ── 11. Cart drawer ──────────────────────────────────── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; transition: opacity var(--transition); }
.cart-overlay.active { opacity: 1; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: var(--cart-drawer-width-mobile); max-width: var(--cart-drawer-width);
  background: var(--bg-primary); border-left: 1px solid var(--border);
  z-index: 2000; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--transition);
}
.cart-drawer.active { transform: translateX(0); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; border-bottom: 1px solid var(--border); }
.cart-drawer__header h2 { font-size: 1.1rem; font-weight: 800; }
.cart-drawer__close { color: var(--text-secondary); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius); }
.cart-drawer__close:hover { color: var(--accent); background: rgba(251,85,35,0.08); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: grid; gap: 1rem; align-content: start; }
.cart-drawer__empty { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); display: grid; gap: 0.5rem; justify-items: center; }
.cart-drawer__empty-icon { font-size: 2.5rem; }
.cart-drawer__footer { padding: 1.25rem; padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); display: grid; gap: 0.75rem; }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05rem; }
.cart-item { display: grid; grid-template-columns: 1fr auto auto; gap: 0.75rem; align-items: center; }
.cart-item__info { min-width: 0; }
.cart-item__name { font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item__price { color: var(--color-price); font-size: 0.85rem; font-weight: 700; }
.cart-item__controls { display: inline-flex; align-items: center; gap: 0.35rem; }
.cart-item__qty-btn { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--border); border-radius: 6px; transition: border-color var(--transition), color var(--transition); }
.cart-item__qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-item__qty { font-weight: 700; min-width: 20px; text-align: center; font-size: 0.9rem; }
.cart-item__remove { color: var(--text-secondary); width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.cart-item__remove:hover { color: #e53e3e; }

/* ── 11a. Cart confirm banner + clear toast ───────────── */
.cart-confirm-banner {
  background: linear-gradient(135deg, rgba(250,238,100,0.18) 0%, rgba(253,219,65,0.25) 100%);
  border: 1.5px solid #fddb41;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
}
.cart-confirm-banner--visible {
  opacity: 1;
  transform: none;
}
[data-theme="dark"] .cart-confirm-banner {
  background: linear-gradient(135deg, rgba(250,238,100,0.08) 0%, rgba(253,219,65,0.13) 100%);
  border-color: rgba(253,219,65,0.45);
}
.cart-confirm-banner__question {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.cart-confirm-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cart-confirm-banner__yes,
.cart-confirm-banner__no {
  flex: 1;
  min-width: 120px;
  min-height: 44px;
  font-size: 0.88rem;
}

.cart-clear-toast {
  background: rgba(46,125,50,0.12);
  border: 1.5px solid var(--color-success);
  border-radius: var(--radius);
  padding: 0.65rem 1.1rem;
  color: var(--color-success);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition);
}
.cart-clear-toast--visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .cart-confirm-banner,
  .cart-clear-toast {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* ── 12. FAQ accordion ────────────────────────────────── */
.faq { background: var(--bg-secondary); }
.faq__list { display: grid; gap: 0.6rem; max-width: 820px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-card); box-shadow: var(--elev-1); }
.faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.25rem; text-align: left;
  font-weight: 700; font-size: 0.95rem; color: var(--text-primary);
  transition: color var(--transition);
}
.faq__question:hover { color: var(--accent); }
.faq__icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); color: var(--accent); }
.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--text-secondary); line-height: 1.7; font-size: 0.92rem; }

/* ── 13. Contact ──────────────────────────────────────── */
.contact { background: var(--bg-primary); }
.contact__layout { display: grid; gap: 3rem; }
.contact__content { max-width: 520px; }
.contact__title { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 0.75rem; }
.contact__text { color: var(--text-secondary); margin-bottom: 1.75rem; line-height: 1.65; }
.contact__info { color: var(--text-secondary); display: grid; gap: 0.75rem; }
.contact__info p { line-height: 1.6; font-size: 0.95rem; }
/* QW4: address + hours are "credible facts" for a local visit — strong primary ink */
.contact__address, .contact__hours { color: var(--text-primary); font-weight: 600; }
.contact__address::before { content: "📍 "; }
.contact__hours { white-space: pre-line; }
.contact__hours::before { content: "🕐 "; }

/* ── 14. Floating action buttons (WhatsApp + Maps) ────── */
.float-cluster {
  position: fixed;
  /* QW11: keep FABs clear of the iOS home-indicator / notch */
  bottom: calc(2rem + env(safe-area-inset-bottom));
  right: calc(0.5rem + env(safe-area-inset-right));
  display: flex; flex-direction: column; gap: 0.75rem;
  align-items: center; z-index: 999;
}
.float-btn {
  width: 44px; height: 44px; border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-btn svg { width: 22px; height: 22px; }
.float-btn--whatsapp {
  background: var(--color-whatsapp);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.float-btn--whatsapp:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.float-btn--maps {
  background: #EA4335;
  box-shadow: 0 4px 20px rgba(234,67,53,0.35);
}
.float-btn--maps:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(234,67,53,0.5); }
/* legacy alias — keep for any old reference */
.whatsapp-float { display: none; }

/* ── 15. Footer ───────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 2rem 0; background: var(--bg-secondary); }
.footer__layout { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; color: var(--text-secondary); font-size: 0.88rem; }
.footer__links a:hover { color: var(--accent); }
#footer-developer a { color: inherit; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: color var(--transition), text-decoration-color var(--transition); }
#footer-developer a:hover { color: var(--accent); text-decoration-color: var(--accent); }
/* Footer store name: text only (logo has black parts, dark footer unsafe) */
.footer__store-name { font-family: var(--font-display); font-weight: 800; color: var(--accent-strong); font-size: 1rem; }

/* ── 16. Legal / 404 pages ────────────────────────────── */
.legal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem var(--container-pad); border-bottom: 1px solid var(--border); }
.legal-header .nav__logo-text { font-size: 1.1rem; }
.legal { max-width: 760px; padding-top: 2.5rem; padding-bottom: 4rem; display: grid; gap: 0.9rem; }
.legal h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.legal h2 { font-size: 1.1rem; margin-top: 1.25rem; color: var(--text-primary); }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.error { min-height: 70vh; display: grid; gap: 1rem; place-content: center; text-align: center; padding: 2rem; }
.error__code { font-size: clamp(4rem, 16vw, 8rem); color: var(--accent); font-weight: 900; line-height: 1; }
.error__msg { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ── 17. PWA — offline banner + install button ────────── */
.offline-banner {
  position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 998;
  max-width: calc(100vw - 5rem); /* clear of WhatsApp FAB at right: 0.5rem + 44px */
  padding: 0.65rem 1.1rem; border-radius: var(--radius);
  background: var(--bg-secondary); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.88rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  text-align: center;
  transition: opacity var(--transition);
}
@media (prefers-reduced-motion: reduce) {
  .offline-banner { transition: none; }
}

/* ── 18. Noscript ─────────────────────────────────────── */
.noscript-fallback { text-align: center; padding: 4rem 2rem; color: var(--text-secondary); }

/* ── 19. Animations ───────────────────────────────────── */
/* Reveal is driven by @keyframes — NOT a transition on .fade-in — so it never
   competes with the cards' own hover transition (border-color/transform/box-shadow).
   animation-fill-mode:backwards holds the pre-reveal state during the staggered
   animation-delay (value cards) but does NOT forwards-fill transform, leaving
   :hover free to lift the card after it has revealed. */
.fade-in { opacity: 0; }
.fade-in.visible { opacity: 1; animation: fade-in-up var(--transition-slow) ease backwards; }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
/* ── 19a. SM4 — physical cart feedback ────────────────── */
/* Add-to-cart button: scale-pop on click (class toggled by app.js) */
.product-card__add--pop { animation: add-pop 0.34s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes add-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
/* Nav cart badge: bounce when the count increases (eye follows button -> cart) */
.nav__cart-badge--bounce { animation: badge-bounce 0.5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes badge-bounce {
  0%, 100% { transform: scale(1); }
  30%      { transform: scale(1.4); }
  60%      { transform: scale(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  .product-card__add--pop, .nav__cart-badge--bounce { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ── 20. Media queries ────────────────────────────────── */
/* Mobile catalog grid: ALWAYS 2 columns, never 1 */
@media (max-width: 640px) {
  .catalog__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__body { padding: 0.85rem; }
  .product-card__name { font-size: 0.9rem; }
  .product-card__price { font-size: 1.05rem; }
  .product-card__add { width: 100%; }
  .product-card__footer { flex-direction: column; align-items: stretch; gap: 0.5rem; }
}
@media (max-width: 360px) {
  .catalog__grid { gap: 8px; }
}

/* Cart items — mobile */
@media (max-width: 640px) {
  .cart-item { gap: 0.4rem; }
  .cart-item__name { white-space: normal; font-size: 0.82rem; line-height: 1.3; }
  .cart-item__price { font-size: 0.78rem; }
  .cart-item__controls { gap: 0.2rem; }
  .cart-item__qty-btn { width: 22px; height: 22px; border-radius: 5px; }
  .cart-item__qty { font-size: 0.82rem; min-width: 16px; }
  .cart-item__remove { width: 22px; height: 22px; }
  .cart-item__remove svg, .cart-item__qty-btn svg { width: 14px; height: 14px; }
}

/* Contact 2-col */
@media (min-width: 768px) {
  .contact__layout { grid-template-columns: 1.3fr 1fr; align-items: start; }
}

/* Catalog hero layout */
@media (min-width: 768px) {
  .catalog-hero__inner { flex-wrap: nowrap; }
}

/* Nav hamburger threshold: ≤ 900px mobile, > 900px desktop */
@media (max-width: 900px) {
  .nav__menu {
    position: fixed; inset: var(--nav-height) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.5rem;
    padding: 1.25rem var(--container-pad);
    background: var(--bg-primary); border-bottom: 1px solid var(--border);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: transform var(--transition), opacity var(--transition), visibility 0s linear var(--transition);
    z-index: 999;
  }
  .nav__menu.nav--open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: transform var(--transition), opacity var(--transition), visibility 0s;
  }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__link { padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav__links li:last-child .nav__link { border-bottom: none; }
  .nav__controls { padding-top: 0.75rem; border-top: 1px solid var(--border); justify-content: flex-start; flex-wrap: wrap; gap: 0.5rem; }
  .nav__cta-catalog { order: -1; }
  body.menu-open { overflow: hidden; }
  .nav__backdrop.active { display: block; }
}
@media (min-width: 901px) {
  .nav__hamburger { display: none; }
}
@media (min-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}

/* Hero responsive */
@media (max-width: 600px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero .btn--lg { width: 100%; max-width: 320px; }
}
