/* ==========================================================================
   Stilivo — design system public
   Editorial de modă + motor de descoperire. Tokeni → bază → layout → componente → pagini → motion.
   Tema: html[data-theme="light"|"dark"]; fără atribut = urmează sistemul.
   ========================================================================== */

/* ---------- 0. Fonturi (self-hosted, OFL — assets/fonts/OFL-*.txt) ----------
   Fraunces (titluri, axa wght 100–900; folosim 600/700) + Plus Jakarta Sans (interfață și text, wght 200–800).
   Subseturi latin + latin-ext (ă ș ț sunt în latin-ext). Fișierele latin sunt preîncărcate în layouts/site.php.
   Fonturile „… Fallback” au metricile ajustate la fonturile reale (lățime + ascent/descent), ca înlocuirea să nu
   mute textul (CLS ≈ 0). Valorile sunt măsurate pe un text românesc reprezentativ. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* italic doar pentru latin (accentul din titlul hero, ex. „stil”); se descarcă numai pe paginile care îl folosesc */
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces Fallback"; font-weight: 100 549; src: local("Georgia"); size-adjust: 107.4%; ascent-override: 91.2%; descent-override: 24.2%; line-gap-override: 0%; }
@font-face { font-family: "Fraunces Fallback"; font-weight: 550 900; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 93.3%; ascent-override: 105%; descent-override: 27.9%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 100 549; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 105.1%; ascent-override: 99%; descent-override: 20.9%; line-gap-override: 0%; }
@font-face { font-family: "Jakarta Fallback"; font-weight: 550 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"); size-adjust: 99.5%; ascent-override: 104.5%; descent-override: 22.1%; line-gap-override: 0%; }

/* ---------- 1. Tokeni ---------- */
:root {
  color-scheme: light;
  --bg: #f7f4ef;
  --surface: #ffffff;
  --surface-2: #f0ebe4;
  --surface-3: #e8e1d8;
  --line: #e2dbd1;
  --line-strong: #cfc6ba;
  --ink: #15120f;
  --ink-2: #4a443d;
  --ink-3: #6f675e;
  --accent: #7a2e5f;
  --accent-2: #5d2148;
  --accent-ink: #ffffff;
  --accent-soft: #f4e7ef;
  --gold: #9a7436;
  --gold-soft: #f5ecdc;
  --gold-ink: #7a5a26; /* text auriu pe --gold-soft (contrast ≥ 4,5:1; --gold dădea 3,6:1) */
  --down: #17703f;
  --down-soft: #e3f3e9;
  --up: #b42318;
  --up-soft: #fbe9e7;
  --neutral: #6b6259;
  --focus: #2f6fed;
  --overlay: rgba(21, 18, 15, .55);
  --glass: rgba(247, 244, 239, .82);
  --shadow-1: 0 1px 2px rgba(21, 18, 15, .06), 0 1px 1px rgba(21, 18, 15, .04);
  --shadow-2: 0 8px 24px -8px rgba(21, 18, 15, .18), 0 2px 6px rgba(21, 18, 15, .06);
  --shadow-3: 0 24px 60px -18px rgba(21, 18, 15, .35);

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", "Jakarta Fallback", ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fw-display: 600;  /* titluri în Fraunces */
  --fw-body: 450;     /* textul curent (Plus Jakarta Sans e variabil: 450 = mai „plin” decât 400, fără să pară bold) */
  /* Logo: culorile simbolului (eticheta prună + punctul auriu) — aceleași în ambele teme, ușor mai luminoase noaptea */
  --logo-tile: #7a2e5f;
  --logo-on-tile: #fbf6ef;
  --logo-dot: #d9b674;
  --logo-tittle: #b98a3e;
  --fs-xs: .75rem; --fs-sm: .8125rem; --fs-base: .9375rem; --fs-md: 1.0625rem;
  --fs-lg: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  --fs-xl: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 3rem);
  --fs-3xl: clamp(2.4rem, 1.6rem + 3.6vw, 5rem);

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-xs: 4px; --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --container: 1720px;
  --gutter: clamp(16px, 2.4vw, 44px);
  --card-min: 230px;
  --card-ratio: 3 / 4;
  --header-h: 64px;
  --header-stack: 0px; /* rândul suplimentar al antetului (navigare / căutare pe mobil) */
  --header-offset: calc(var(--header-h) + var(--header-stack)); /* înălțimea reală; site.js o suprascrie măsurând antetul */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms; --t: 260ms; --t-slow: 560ms;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0d0c; --surface: #181513; --surface-2: #211d1a; --surface-3: #2a2521;
  --line: #2f2a26; --line-strong: #433c36;
  --ink: #f3eee8; --ink-2: #cdc4b9; --ink-3: #a1978b;
  --accent: #e09ac7; --accent-2: #f0b8db; --accent-ink: #1c1018; --accent-soft: #2e1b28;
  --gold: #d9b674; --gold-soft: #2c2416; --gold-ink: #d9b674;
  --down: #57cf8f; --down-soft: #11291c; --up: #ff8a7a; --up-soft: #331713; --neutral: #a59a8e;
  --focus: #7aa7ff; --overlay: rgba(0, 0, 0, .66); --glass: rgba(15, 13, 12, .8);
  --logo-tile: #94457a; --logo-tittle: #d9b674;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-2: 0 10px 30px -10px rgba(0, 0, 0, .7);
  --shadow-3: 0 30px 70px -20px rgba(0, 0, 0, .8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f0d0c; --surface: #181513; --surface-2: #211d1a; --surface-3: #2a2521;
    --line: #2f2a26; --line-strong: #433c36;
    --ink: #f3eee8; --ink-2: #cdc4b9; --ink-3: #a1978b;
    --accent: #e09ac7; --accent-2: #f0b8db; --accent-ink: #1c1018; --accent-soft: #2e1b28;
    --gold: #d9b674; --gold-soft: #2c2416; --gold-ink: #d9b674;
    --down: #57cf8f; --down-soft: #11291c; --up: #ff8a7a; --up-soft: #331713; --neutral: #a59a8e;
    --focus: #7aa7ff; --overlay: rgba(0, 0, 0, .66); --glass: rgba(15, 13, 12, .8);
    --logo-tile: #94457a; --logo-tittle: #d9b674;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-2: 0 10px 30px -10px rgba(0, 0, 0, .7);
    --shadow-3: 0 30px 70px -20px rgba(0, 0, 0, .8);
  }
}
:root[data-layout="full"] { --container: 100vw; }
:root[data-density="compact"] { --card-min: 190px; }

/* ---------- 2. Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* Antetul sticky acoperă partea de sus a paginii: ancorele (#sectiune) și elementele primite prin Tab se opresc sub el.
   NU cu scroll-padding pe <html>: Chrome „dezvăluie” cursorul la fiecare tastă și considera câmpul de căutare din antetul
   sticky ca fiind acoperit de propria zonă de padding → pagina urca ~100 px la fiecare literă (bug-ul „sare sus când șterg”).
   scroll-margin doar pe conținut (main + footer) păstrează compensarea fără a atinge antetul. */
:is(main, .site-footer) * { scroll-margin-top: calc(var(--header-offset) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: var(--fw-body) var(--fs-base)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip; min-height: 100vh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.12; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h1, h2, .display { font-family: var(--font-display); font-weight: var(--fw-display); letter-spacing: -.018em; font-variation-settings: normal; }
strong, b { font-weight: 700; }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 1em; text-wrap: pretty; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 1000; background: var(--ink); color: var(--bg); padding: var(--s2) var(--s4); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s3); color: var(--bg); }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(28px, 4.5vw, 72px); }
.section--tight { padding-block: clamp(18px, 2.5vw, 36px); }
.section--alt { background: var(--surface-2); }
.stack > * + * { margin-top: var(--s4); }
.row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.grow { flex: 1 1 auto; min-width: 0; }
.row > .input.grow, .row > .select.grow { flex: 1 1 0; width: auto; }
/* Un buton (chiar și --sm) pe același rând cu un câmp are înălțimea câmpului — altfel rândul arată „în trepte” */
.row > :is(.input, .select) ~ .btn { min-height: 44px; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-sm); }
.eyebrow { font: 600 var(--fs-xs)/1.2 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 68ch; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s4); margin-bottom: clamp(16px, 2vw, 28px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--ink-3); max-width: 60ch; }
.section-head__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
.section-head__link .ico { transition: transform var(--t) var(--ease); }
.section-head__link:hover .ico { transform: translateX(4px); }

/* ---------- 4. Header & navigare ---------- */
.topbar { background: var(--ink); color: var(--bg); font-size: var(--fs-xs); letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: center; align-items: center; gap: var(--s4); min-height: 34px; text-align: center; }
.topbar a { color: inherit; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 60; background: var(--glass); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
/* Antetul are 3 moduri, alese prin MĂSURARE (site.js → data-nav pe .site-header), nu după lățimea textului presupusă:
   „full” = logo · navigare · căutare · acțiuni pe un rând (doar dacă navigarea încape întreagă în coloana ei);
   „stacked” = navigarea pe un rând propriu, pe toată lățimea; „compact” = meniu hamburger (≤ 1100 px mereu).
   Fără JS: implicit după lățime (§13), iar navigarea e un container cu derulare orizontală — nu poate acoperi logo-ul/căutarea. */
.site-header__bar { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(200px, 400px) auto; grid-template-areas: "logo nav search actions"; align-items: center; column-gap: clamp(12px, 2vw, 32px); min-height: var(--header-h); }
.site-header__bar > .menu-btn { grid-area: menu; }
.site-header__bar > .logo { grid-area: logo; min-width: 0; }
.site-header__bar > .nav { grid-area: nav; }
.site-header__bar > .search { grid-area: search; }
.site-header__bar > .header-actions { grid-area: actions; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 34px; height: 34px; }
.logo__word { display: block; height: 26px; width: auto; flex: none; color: var(--ink); overflow: visible; }
.logo__word path { fill: currentColor; }
.logo__word .logo__tittle { fill: var(--logo-tittle); }
.logo__mark .logo__tile { fill: var(--logo-tile); }
.logo__mark .logo__s { fill: var(--logo-on-tile); }
.logo__mark .logo__dot { fill: var(--logo-dot); }
.logo__mark { flex: none; }
.logo__text { font-family: var(--font-display); font-weight: 650; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1; }
.logo:focus-visible { outline-offset: 4px; border-radius: 8px; }
.logo--vertical { flex-direction: column; gap: 6px; }
/* Logo animat (doar antetul public, data-logo-anim — site.js): eticheta se leagănă în jurul găurii (punctul auriu) la
   12–20 s și „scutură” câteva reduceri (%, −30%, lei…) care rămân în rândul logo-ului și se sting. Doar transform/opacity;
   particulele sunt absolute (fără CLS), aria-hidden, fără pointer-events. Oprit la reduced motion / motion.enabled = nu. */
.logo__mark { overflow: visible; }
.logo__tag { transform-box: view-box; transform-origin: 32px 14.2px; }
.logo[data-logo-anim] { position: relative; }
.logo.is-swinging .logo__tag { animation: tagSwing 1.8s cubic-bezier(.3, .1, .3, 1) both; }
@keyframes tagSwing {
  0% { transform: rotate(0); }
  11% { transform: rotate(-11deg); }
  27% { transform: rotate(8deg); }
  43% { transform: rotate(-5deg); }
  59% { transform: rotate(3deg); }
  76% { transform: rotate(-1.2deg); }
  100% { transform: rotate(0); }
}
.logo__bit { position: absolute; left: var(--bx); top: var(--by); z-index: 1; pointer-events: none; user-select: none; font: 650 11.5px/1 var(--font-display); letter-spacing: -.01em; color: var(--c, var(--accent)); white-space: nowrap; opacity: 0; transform: translate(-50%, -50%) scale(.4); animation: logoBit var(--dur, 1300ms) cubic-bezier(.2, .65, .35, 1) var(--delay, 0ms) forwards; }
.logo__bit--sm { font-size: 10px; }
@keyframes logoBit {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(0); }
  18% { opacity: 1; transform: translate(calc(-50% + var(--dx) * .42), calc(-50% + var(--lift))) scale(1) rotate(calc(var(--rot) * .35)); }
  70% { opacity: .85; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.82) rotate(var(--rot)); }
}
@media (prefers-reduced-motion: no-preference) {
  .logo[data-logo-anim] .logo__tag { transition: transform 520ms cubic-bezier(.34, 1.56, .64, 1); }
  .logo[data-logo-anim]:hover .logo__tag, .logo[data-logo-anim]:focus-visible .logo__tag { transform: rotate(-8deg); }
  .logo[data-logo-anim] .logo__dot { transition: fill var(--t); }
  .logo[data-logo-anim]:hover .logo__dot { fill: #f0d49a; }
}
:root[data-motion="off"] .logo__tag { transform: none !important; }
:root[data-motion="off"] .logo__bit { display: none; }
@media (prefers-reduced-motion: reduce) { .logo__bit { display: none; } }

/* Centrare „sigură”: marginile auto ale primului/ultimului element dispar când conținutul nu încape (justify-content: center
   l-ar fi revărsat în ambele părți, peste logo și sub căutare — bug-ul de la ~1400 px). Derularea e plasa de siguranță. */
.nav { --nav-pad: clamp(8px, .7vw, 12px); display: flex; align-items: center; gap: clamp(2px, .4vw, 6px); min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain; }
.nav::-webkit-scrollbar { display: none; }
.nav > :first-child { margin-left: auto; }
.nav > :last-child { margin-right: auto; }
.nav__item { position: static; flex: none; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: var(--header-h); padding: 0 var(--nav-pad); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em; text-decoration: none; color: var(--ink); background: none; border: 0; position: relative; white-space: nowrap; }
.nav__link:focus-visible { outline-offset: -4px; }
.nav__link::after { content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 14px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.nav__link:hover::after, .nav__item.is-open > .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link--accent { color: var(--accent); }
/* Fără JS (sau înainte de măsurare), dacă navigarea derulează: margini estompate ca indiciu (animație legată de derulare). */
@supports (animation-timeline: scroll()) {
  .nav { animation: navFade linear both; animation-timeline: scroll(self inline); }
}
@keyframes navFade {
  0% { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  2%, 98% { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
  100% { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
}

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-3); clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; transition: clip-path var(--t-slow) var(--ease-out), opacity var(--t) var(--ease), visibility 0s linear var(--t-slow); }
.nav__item.is-open .mega { clip-path: inset(0 0 0 0); opacity: 1; visibility: visible; transition: clip-path var(--t-slow) var(--ease-out), opacity var(--t) var(--ease), visibility 0s; }
.mega { max-height: calc(100vh - var(--header-offset)); max-height: calc(100dvh - var(--header-offset)); overflow-y: auto; overscroll-behavior: contain; }
/* Mega menu: [antet categorie · subcategorii cu număr de produse · branduri populare] + [1–3 imagini · cardul „Reduceri verificate”].
   Imaginile au înălțime fixă (168 px): cu 1–2 dale, coloana din dreapta nu devine mai înaltă decât cu 3.
   Subcategoriile fără copii stau într-o listă pe mai multe coloane (nu titluri goale); cele cu copii devin coloane cu titlu.
   Imaginile se încarcă abia la prima deschidere (site.js: data-src), deci meniul nu costă nimic pe paginile unde nu e folosit. */
.mega__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: var(--s5) clamp(24px, 3vw, 56px); align-items: start; padding-block: var(--s5) var(--s6); }
.mega__inner--plain { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); }
.mega__main { min-width: 0; display: grid; gap: var(--s5); align-content: start; }
.mega__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.mega__title { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-xl); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.mega__title:hover { color: var(--accent); }
.mega__total { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mega__all { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.mega__all .ico, .mega__more .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.mega__all:hover .ico, .mega__more:hover .ico { transform: translateX(3px); }
.mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s5) var(--s6); min-width: 0; }
.mega__col { min-width: 0; }
.mega__eyebrow { color: rgba(255, 255, 255, .75); }
.mega__col h3, .mega__label { font: 600 var(--fs-xs)/1.3 var(--font-sans); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin: 0 0 var(--s3); }
.mega__col h3 a { text-decoration: none; color: var(--ink-3); padding: 0; }
.mega__col h3 a:hover { color: var(--accent); }
.mega__col ul, .mega__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__links { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); column-gap: var(--s6); }
.mega__col li a, .mega__links a { display: inline-flex; align-items: baseline; gap: 8px; max-width: 100%; padding: 5px 0; text-decoration: none; color: var(--ink-2); font-size: var(--fs-base); transition: color var(--t-fast), transform var(--t) var(--ease); }
.mega__col li a:hover, .mega__links a:hover { color: var(--accent); transform: translateX(3px); }
.mega__n { font: 500 var(--fs-xs)/1 var(--font-sans); color: var(--ink-3); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; }
.mega__more { font-size: var(--fs-sm) !important; font-weight: 600; color: var(--accent) !important; align-items: center !important; }
.mega__brands { padding-top: var(--s4); border-top: 1px solid var(--line); }
.mega__brands ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mega__brand { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); text-decoration: none; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
.mega__brand:hover { border-color: var(--ink); color: var(--ink); }
.mega__aside { display: grid; gap: var(--s4); min-width: 0; }
.mega__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.mega__tile { position: relative; display: block; height: 168px; border-radius: var(--r-sm); overflow: hidden; background: radial-gradient(90% 70% at 85% 0%, color-mix(in srgb, #7a2e5f 70%, transparent), transparent 62%), radial-gradient(80% 60% at 0% 100%, color-mix(in srgb, #9a7436 60%, transparent), transparent 60%), #2a2024; color: #fff; text-decoration: none; isolation: isolate; }
.mega__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; opacity: 0; transition: opacity var(--t-slow) var(--ease), transform 1.2s var(--ease-out); }
.mega__tile img.is-loaded { opacity: 1; }
.mega__tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, .66)); }
.mega__tile span { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: var(--fs-xs); font-weight: 600; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); overflow-wrap: anywhere; }
.mega__tile:hover { color: #fff; }
.mega__tile:hover img.is-loaded { transform: scale(1.05); }
.mega__feature { position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); min-height: 150px; display: flex; align-items: end; padding: var(--s5); text-decoration: none; color: #fff; isolation: isolate; }
.mega__inner--plain .mega__feature { min-height: 220px; }
/* cardul „Reduceri verificate”: două pete de culoare (accent sus-stânga, auriu jos-dreapta) care plutesc lent, fiecare pe
   stratul ei (::before / ::after, mai mari decât cardul) — doar transform, deci ieftin; fără mișcare la prefers-reduced-motion */
.mega__feature { --mf-base: var(--ink); --mf-a: var(--accent); --mf-b: var(--gold); background: var(--mf-base); }
:root[data-theme="dark"] .mega__feature { --mf-base: #241c20; --mf-a: #7a2e5f; --mf-b: #9a7436; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mega__feature { --mf-base: #241c20; --mf-a: #7a2e5f; --mf-b: #9a7436; } }
.mega__feature::before, .mega__feature::after { content: ""; position: absolute; inset: -35%; z-index: -1; pointer-events: none; will-change: transform; }
.mega__feature::before { background: radial-gradient(42% 38% at 34% 30%, var(--mf-a) 0%, transparent 100%); animation: mf-drift-a 16s ease-in-out infinite alternate; }
.mega__feature::after { background: radial-gradient(40% 40% at 70% 72%, var(--mf-b) 0%, transparent 100%); opacity: .95; animation: mf-drift-b 21s ease-in-out infinite alternate; }
@keyframes mf-drift-a { 0% { transform: translate(-6%, -4%) scale(1); } 50% { transform: translate(10%, 8%) scale(1.15); } 100% { transform: translate(2%, 14%) scale(.95); } }
@keyframes mf-drift-b { 0% { transform: translate(6%, 4%) scale(1.05); } 50% { transform: translate(-12%, -6%) scale(.92); } 100% { transform: translate(-4%, -14%) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .mega__feature::before, .mega__feature::after { animation: none; } }
.mega__feature strong { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.15; font-weight: var(--fw-display); display: block; margin: 2px 0 4px; }
.mega__feature span { font-size: var(--fs-sm); opacity: .85; }
.mega__feature:hover { color: #fff; }

.header-actions { display: flex; align-items: center; gap: 4px; justify-content: end; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--ink); text-decoration: none; transition: background var(--t-fast), transform var(--t-fast); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn .ico { width: 22px; height: 22px; }
.count-dot { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 10px/18px var(--font-sans); text-align: center; transform: scale(0); transition: transform var(--t) var(--ease-out); }
.count-dot.is-on { transform: scale(1); }
.menu-btn { display: none; }

/* Căutare universală */
.search { position: relative; width: 100%; min-width: 0; justify-self: stretch; }
.search__form { position: relative; display: flex; align-items: center; }
.search__input { width: 100%; height: 44px; padding: 0 44px 0 44px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-base); transition: border-color var(--t-fast), box-shadow var(--t), background var(--t); }
.search__input::placeholder { color: var(--ink-3); }
.search__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.search__icon { position: absolute; left: 15px; color: var(--ink-3); pointer-events: none; }
.search__clear { position: absolute; right: 6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-3); display: grid; place-items: center; }
.search__panel { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 70; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); padding: var(--s2); max-height: min(72vh, 620px); overflow: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity var(--t-fast), transform var(--t) var(--ease-out); }
.search.is-open .search__panel { opacity: 1; transform: none; pointer-events: auto; }
.search__group { padding: var(--s2) 0; }
.search__group + .search__group { border-top: 1px solid var(--line); }
.search__label { font: 600 var(--fs-xs)/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 6px 10px; display: flex; justify-content: space-between; }
.search__label button { border: 0; background: none; color: var(--ink-3); font-size: var(--fs-xs); text-transform: none; letter-spacing: 0; padding: 0; }
.search__opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); min-height: 44px; }
.search__opt[aria-selected="true"], .search__opt:hover { background: var(--surface-2); color: var(--ink); }
.search__opt img { width: 40px; height: 52px; object-fit: cover; border-radius: var(--r-xs); background: var(--surface-2); }
.search__opt .ico { color: var(--ink-3); }
.search__opt mark { background: none; color: var(--accent); font-weight: 700; }
.search__opt small { display: block; color: var(--ink-3); font-size: var(--fs-xs); }
.search__price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.search__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 10px 8px; }
.search__empty { padding: var(--s4) 10px; color: var(--ink-3); }

/* Meniu mobil (drawer) */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__scrim { position: absolute; inset: 0; background: var(--overlay); opacity: 0; transition: opacity var(--t); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(92vw, 420px); background: var(--surface); display: flex; flex-direction: column; transform: translateX(-102%); transition: transform var(--t-slow) var(--ease-out); box-shadow: var(--shadow-3); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--line); }
.drawer__body { overflow: auto; padding: var(--s3) var(--s4) var(--s7); flex: 1; }
.drawer__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: var(--s4); }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 2px; font-weight: 600; cursor: pointer; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ico { transition: transform var(--t) var(--ease); }
.drawer details[open] summary .ico { transform: rotate(180deg); }
.drawer details ul { list-style: none; margin: 0 0 12px; padding: 0 0 0 4px; display: grid; gap: 2px; }
.drawer details a { display: block; padding: 8px 2px; text-decoration: none; color: var(--ink-2); }
.drawer__links { display: grid; gap: 2px; margin-top: var(--s4); }
.drawer__links a { display: flex; align-items: center; gap: 10px; padding: 10px 2px; text-decoration: none; font-weight: 600; }
.drawer .stagger > * { opacity: 0; transform: translateX(-12px); transition: opacity var(--t) var(--ease), transform var(--t-slow) var(--ease-out); }
.drawer.is-open .stagger > * { opacity: 1; transform: none; }
.drawer.is-open .stagger > *:nth-child(2) { transition-delay: 40ms; } .drawer.is-open .stagger > *:nth-child(3) { transition-delay: 80ms; }
.drawer.is-open .stagger > *:nth-child(4) { transition-delay: 120ms; } .drawer.is-open .stagger > *:nth-child(5) { transition-delay: 160ms; }
.drawer.is-open .stagger > *:nth-child(6) { transition-delay: 200ms; } .drawer.is-open .stagger > *:nth-child(n+7) { transition-delay: 240ms; }

/* ---------- 5. Butoane, câmpuri, chip-uri, badge-uri ---------- */
.btn { --btn-bg: var(--ink); --btn-fg: var(--bg); position: relative; display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; background: var(--btn-bg); color: var(--btn-fg); font-weight: 600; font-size: var(--fs-sm); letter-spacing: .02em; text-decoration: none; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform var(--t-fast) var(--ease), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, #fff 28%, transparent), transparent 60%); opacity: 0; transition: opacity var(--t); }
.btn:hover { color: var(--btn-fg); box-shadow: var(--shadow-2); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: #15120f; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-xs); }
.btn--lg { min-height: 52px; padding: 0 30px; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn--icon { padding: 0; width: 44px; }
.link-btn { border: 0; background: none; padding: 0; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-sm); }
.link-btn:hover { color: var(--accent); }

.field { display: grid; gap: 6px; }
.field label, .label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t); }
/* line-height compact: altfel un .input ieșea 46 px (10+10 padding + 1,6 × 15) lângă un .btn de 44 px pe același rând */
.input, .select { line-height: 1.3; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 38px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); cursor: pointer; line-height: 1.45; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.check input[type="radio"] { border-radius: 50%; }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--t-fast) var(--ease-out); }
.check input[type="radio"]::after { width: 8px; height: 8px; border: 0; border-radius: 50%; background: var(--accent-ink); margin: 0; transform: scale(0); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[type="radio"]:checked::after { transform: scale(1); }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check small { display: block; color: var(--ink-3); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-sm); }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 12px; background: var(--line-strong); position: relative; transition: background var(--t); margin: 0; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease-out); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(18px); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip:active { transform: scale(.96); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .ico { width: 16px; height: 16px; }
.chip--remove { background: var(--accent-soft); border-color: transparent; color: var(--accent-2); }
:root[data-theme="dark"] .chip--remove { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* Un chip mai lung decât rândul se rupe pe mai multe rânduri în loc să iasă din container (ex. sugestiile de prompt din admin la 375 px) */
.chip { max-width: 100%; }
.chips:not(.chips--scroll) .chip { white-space: normal; overflow-wrap: anywhere; padding-block: 6px; line-height: 1.3; text-align: left; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips--scroll::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font: 700 11px/1 var(--font-sans); letter-spacing: .03em; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); }
.badge--discount { background: var(--ink); color: var(--bg); }
.badge--drop { background: var(--down-soft); color: var(--down); }
.badge--new { background: var(--gold-soft); color: var(--gold-ink); }
.badge--accent { background: var(--accent); color: var(--accent-ink); }
.badge--warn { background: var(--up-soft); color: var(--up); }
.badge--ok { background: var(--down-soft); color: var(--down); }

.tooltip { position: relative; }
.tooltip[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 4px); background: var(--ink); color: var(--bg); font-size: var(--fs-xs); font-weight: 500; line-height: 1.35; padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; max-width: 260px; opacity: 0; pointer-events: none; transition: opacity var(--t-fast), transform var(--t-fast); z-index: 20; }
.tooltip[data-tip]:hover::after, .tooltip[data-tip]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 6. Cardul de produs ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(var(--card-min), 100%), 1fr)); gap: clamp(14px, 1.6vw, 28px) clamp(10px, 1.2vw, 22px); }
.product-card { position: relative; display: flex; flex-direction: column; min-width: 0; isolation: isolate; }
.product-card__media { position: relative; aspect-ratio: var(--card-ratio); border-radius: var(--r); overflow: hidden; background: var(--hint, var(--surface-2)); }
.js .product-card__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--surface) 55%, transparent) 50%, transparent 70%) 0 0 / 250% 100%; animation: shimmer 1.6s linear infinite; z-index: 0; }
.product-card__media.is-loaded::before { display: none; }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: opacity var(--t-slow) var(--ease), transform 1.2s var(--ease-out); }
.js .product-card__media:not(.is-loaded) img.img-main { opacity: 0; }
.product-card__media img.img-alt { opacity: 0; z-index: 2; }
.product-card__media .img-fallback { object-fit: contain; padding: 18%; opacity: .9 !important; background: var(--surface-2); }
@media (hover: hover) {
  .product-card:hover .product-card__media img.img-main { transform: scale(1.045); }
  .product-card:hover .product-card__media.has-alt img.img-alt.is-ready { opacity: 1; }
}
.product-card__badges { position: absolute; top: 10px; left: 10px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.product-card__fav { position: absolute; top: 8px; right: 8px; z-index: 4; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--ink); backdrop-filter: blur(6px); box-shadow: var(--shadow-1); transition: transform var(--t-fast) var(--ease), background var(--t-fast), color var(--t-fast); }
.product-card__fav:hover { transform: scale(1.08); }
.product-card__fav .ico { width: 20px; height: 20px; }
.product-card__fav .ico--on { display: none; }
.product-card__fav[aria-pressed="true"] { color: var(--accent); }
.product-card__fav[aria-pressed="true"] .ico--on { display: block; fill: currentColor; stroke: currentColor; }
.product-card__fav[aria-pressed="true"] .ico--off { display: none; }
.product-card__fav.is-pop { animation: favPop 520ms var(--ease-out); }
.product-card__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 2px 4px; flex: 1; }
.product-card__brand { font: 700 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-card__title { font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; font-weight: 500; font-family: var(--font-sans); letter-spacing: 0; }
.product-card__link { text-decoration: none; color: inherit; }
.product-card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r); }
.product-card__link:focus-visible { outline: none; }
.product-card__link:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.product-card__link:hover { color: inherit; }
.product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
.price { font-weight: 750; font-size: var(--fs-md); letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price--sale { color: var(--accent); }
.price-old { font-size: var(--fs-sm); color: var(--ink-3); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; min-height: 30px; }
.product-card__store { font-size: var(--fs-xs); color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.product-card__store b { color: var(--ink-2); font-weight: 600; }
.product-card__stock { font-size: var(--fs-xs); color: var(--ink-3); }

.trend { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px 0 6px; border-radius: var(--r-pill); border: 0; font: 700 11px/1 var(--font-sans); background: var(--surface-2); color: var(--neutral); white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }
.trend .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.trend--down { background: var(--down-soft); color: var(--down); }
.trend--up { background: var(--up-soft); color: var(--up); }
.trend--insufficient { font-weight: 600; }
button.trend:hover { filter: brightness(.96); }

.popover { position: fixed; z-index: 120; width: min(340px, calc(100vw - 24px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-3); padding: var(--s4); opacity: 0; transform: translateY(6px) scale(.98); transform-origin: var(--origin, top center); pointer-events: none; transition: opacity var(--t-fast), transform var(--t) var(--ease-out); }
.popover.is-open { opacity: 1; transform: none; pointer-events: auto; }
.popover h4 { font-size: var(--fs-sm); margin: 0 0 4px; font-family: var(--font-sans); font-weight: 700; }
.popover__close { position: absolute; top: 6px; right: 6px; }
.popover__tabs { display: flex; gap: 4px; margin: 8px 0; }
.popover__tabs button { border: 1px solid var(--line); background: none; border-radius: var(--r-pill); font-size: var(--fs-xs); padding: 3px 10px; min-height: 28px; }
.popover__tabs button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.popover dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 10px 0 0; font-size: var(--fs-sm); }
.popover dt { color: var(--ink-3); }
.popover dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.popover__note { font-size: var(--fs-xs); color: var(--ink-3); margin: 10px 0 0; }
.sparkline { width: 100%; height: 96px; display: block; color: var(--accent); }
.sparkline .area { fill: color-mix(in srgb, currentColor 14%, transparent); stroke: none; }
.sparkline .line { fill: none; stroke: currentColor; stroke-width: 2; vector-effect: non-scaling-stroke; }
.sparkline .dot { fill: currentColor; }
.sparkline .axis { fill: var(--ink-3); font-size: 10px; }

/* Card editorial (newsletter / promo) în grilă */
.feed-card { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); padding: clamp(20px, 2.4vw, 36px); border-radius: var(--r); background: var(--ink); color: var(--bg); position: relative; overflow: hidden; isolation: isolate; min-height: 100%; }
.feed-card::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(40% 40% at 70% 30%, color-mix(in srgb, var(--accent) 70%, transparent), transparent 70%), radial-gradient(35% 35% at 20% 80%, color-mix(in srgb, var(--gold) 60%, transparent), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.feed-card .eyebrow { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.feed-card h3 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-xl); margin: 0; }
.feed-card p { color: color-mix(in srgb, var(--bg) 82%, transparent); margin: 0; }
.feed-card .input { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: #fff; }
.feed-card .input::placeholder { color: rgba(255, 255, 255, .6); }
@media (max-width: 599px) { .feed-card { grid-column: 1 / -1; } }

/* ---------- 7. Catalog (categorie/brand/magazin/căutare) ---------- */
.page-head { padding-block: clamp(20px, 3vw, 44px) clamp(14px, 2vw, 24px); }
.page-head__title { margin: 6px 0 4px; }
.page-head__meta { color: var(--ink-3); font-size: var(--fs-sm); }
.page-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(200px, 26vw, 360px); display: flex; align-items: end; padding: clamp(20px, 3.5vw, 56px); color: #fff; isolation: isolate; background: var(--ink); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .62)); }
.page-hero--plain { background: radial-gradient(90% 120% at 10% 0%, color-mix(in srgb, var(--accent) 75%, #000) 0%, transparent 60%), radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--gold) 60%, #000), transparent 60%), #15120f; }
.page-hero h1 { color: #fff; margin: 0; font-size: var(--fs-3xl); }
.page-hero p { color: rgba(255, 255, 255, .86); max-width: 60ch; margin: 10px 0 0; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: rgba(255, 255, 255, .8); }

.breadcrumbs { font-size: var(--fs-xs); color: var(--ink-3); }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 4px; opacity: .6; }
.breadcrumbs a { text-decoration: none; color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--accent); }

.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.subcat { position: relative; display: flex; flex-direction: column; justify-content: end; gap: 2px; min-height: 92px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.subcat:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-2); color: var(--ink); }
.subcat .ico { width: 26px; height: 26px; color: var(--accent); margin-bottom: auto; }
.subcat strong { font-weight: 600; font-size: var(--fs-sm); line-height: 1.25; }
.subcat small { color: var(--ink-3); font-size: var(--fs-xs); }

.catalog { display: grid; grid-template-columns: var(--filters-w, 272px) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 44px); align-items: start; }
.catalog--nofilters { grid-template-columns: minmax(0, 1fr); }
.filters { position: sticky; top: calc(var(--header-offset) + 16px); max-height: calc(100vh - var(--header-offset) - 32px); overflow: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filters__head { display: none; }
.filter-group { border-bottom: 1px solid var(--line); }
.filter-group summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-weight: 700; font-size: var(--fs-sm); }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary .ico { transition: transform var(--t) var(--ease); width: 18px; height: 18px; }
.filter-group[open] summary .ico { transform: rotate(180deg); }
.filter-group__body { padding: 0 0 16px; display: grid; gap: 8px; }
.filter-group__body--scroll { max-height: 260px; overflow: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.filter-search { min-height: 36px; padding: 6px 12px; font-size: var(--fs-sm); }
.filter-count { margin-left: auto; color: var(--ink-3); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.filter-row { display: flex; align-items: center; gap: 10px; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.price-range .input { min-height: 40px; padding: 8px 10px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px 0; }
.swatch { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.swatch:has(input:checked) { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.swatch:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus); }
/* Inelul de selecție/focus (4 px în afara cercului) nu trebuie tăiat de containerul cu derulare al filtrelor:
   coloana are 6 px de spațiu în stânga, compensați cu marginea negativă (conținutul rămâne aliniat). */
@media (min-width: 1101px) { .filters { padding-left: 6px; margin-left: -6px; } }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.size-opt span { display: grid; place-items: center; min-height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-size: var(--fs-xs); font-weight: 600; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.size-opt input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.size-opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; margin-bottom: var(--s4); }
.toolbar__count { font-size: var(--fs-sm); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.toolbar__count strong { color: var(--ink); }
.toolbar .select { min-height: 40px; width: auto; min-width: 200px; font-size: var(--fs-sm); }
.filters-toggle { display: none; }
.active-filters { margin-bottom: var(--s4); }
.results { position: relative; transition: opacity var(--t) var(--ease); }
.results.is-loading { opacity: .45; pointer-events: none; }
.results.is-loading::after { content: ""; position: absolute; top: 120px; left: 50%; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 2.5px solid var(--line-strong); border-top-color: var(--accent); animation: spin .8s linear infinite; }
.results .product-card { animation: cardIn var(--t-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 28ms); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); border: 1px solid transparent; }
.pagination a:hover { border-color: var(--line-strong); color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--bg); }
.pagination .gap { min-width: 24px; padding: 0; color: var(--ink-3); }

.empty { text-align: center; padding: clamp(40px, 6vw, 88px) var(--s4); max-width: 640px; margin-inline: auto; }
.empty__art { width: 120px; height: 120px; margin: 0 auto var(--s4); color: var(--accent); opacity: .9; }
.empty h2, .empty h3 { margin-bottom: 8px; }
.empty p { color: var(--ink-3); }
.empty .chips { justify-content: center; margin-top: var(--s4); }

/* ---------- 8. Homepage ---------- */
.hero { position: relative; min-height: clamp(460px, 72vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; border-radius: 0 0 var(--r-lg) var(--r-lg); background: #120f0d; }
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .7)), radial-gradient(600px circle at var(--lx, 70%) var(--ly, 30%), rgba(255, 255, 255, .12), transparent 60%); }
.hero--art .hero__media { background: radial-gradient(70% 90% at 75% 20%, #8a3a6e 0%, transparent 60%), radial-gradient(60% 80% at 10% 90%, #9a7436 0%, transparent 55%), radial-gradient(50% 60% at 50% 50%, #2a1724 0%, transparent 70%), #120f0d; }
.hero--art .hero__media::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: overlay; }
.hero__inner { padding-block: clamp(40px, 8vw, 110px); display: grid; gap: var(--s4); max-width: 900px; }
.hero__eyebrow { color: rgba(255, 255, 255, .78); }
.hero h1 { color: #fff; font-size: var(--fs-3xl); line-height: .98; margin: 0; }
.hero h1 em { font-style: italic; color: #f3c9e2; }
.hero p { font-size: var(--fs-md); color: rgba(255, 255, 255, .88); max-width: 56ch; margin: 0; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero__stats { display: flex; gap: clamp(18px, 3vw, 48px); flex-wrap: wrap; margin-top: var(--s4); font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.hero__stats strong { display: block; font-family: var(--font-display); font-size: var(--fs-xl); font-weight: var(--fw-display); color: #fff; }

.cat-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); }
.cat-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; display: flex; align-items: end; padding: clamp(14px, 1.6vw, 24px); text-decoration: none; color: #fff; isolation: isolate; background: var(--tile, #2a2420); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 30% 10%, color-mix(in srgb, #fff 18%, transparent), transparent 60%), linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .55)); transition: opacity var(--t); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cat-tile .ico { position: absolute; top: 18px; left: 18px; width: 34px; height: 34px; opacity: .9; stroke-width: 1.3; }
.cat-tile strong { font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.9rem); line-height: 1.05; }
.cat-tile span { display: block; font-size: var(--fs-xs); opacity: .85; margin-top: 4px; letter-spacing: .04em; }
.cat-tile:hover { color: #fff; }
.cat-tile:hover img { transform: scale(1.06); }

.rail { position: relative; }
/* Lățimea coloanei e FIXĂ (nu minmax(…, 1fr)): cu 1–3 carduri, 1fr întindea cardul pe toată pista (imagine de ~1000 px). */
.rail { --rail-gap: 20px; --rail-cols: 6; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--rail-cols, 6) - 1) * var(--rail-gap, 20px)) / var(--rail-cols, 6)); justify-content: start; gap: var(--rail-gap, 20px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; }
.rail__nav { display: flex; gap: 8px; }
.rail__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); display: grid; place-items: center; color: var(--ink); transition: background var(--t-fast), opacity var(--t-fast); }
.rail__btn:hover { background: var(--surface-2); }
.rail__btn:disabled { opacity: .35; cursor: default; }

.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand-tile { display: grid; place-items: center; min-height: 84px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; text-align: center; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.15rem; color: var(--ink); transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t); }
.brand-tile small { display: block; font-family: var(--font-sans); font-size: var(--fs-xs); color: var(--ink-3); margin-top: 2px; }
.brand-tile:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-2); color: var(--ink); }
.brand-tile img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .85; }
:root[data-theme="dark"] .brand-tile img { filter: grayscale(1) invert(1); }

.store-card { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color var(--t), box-shadow var(--t), transform var(--t) var(--ease); }
.store-card:hover { border-color: var(--ink); box-shadow: var(--shadow-2); transform: translateY(-2px); color: var(--ink); }
.store-card__logo { width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.3rem; }
.store-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.store-card strong { display: block; }
.store-card small { color: var(--ink-3); font-size: var(--fs-xs); }
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }

.collection-card { position: relative; display: flex; flex-direction: column; justify-content: end; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; padding: clamp(18px, 2vw, 28px); color: #fff; text-decoration: none; isolation: isolate; background: var(--ink); }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.collection-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .7)); }
.collection-card--art { background: radial-gradient(80% 70% at 80% 10%, color-mix(in srgb, var(--accent) 80%, #000), transparent 60%), radial-gradient(70% 70% at 0% 100%, color-mix(in srgb, var(--gold) 70%, #000), transparent 60%), #1b1613; }
.collection-card h3 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-xl); margin: 0; color: #fff; }
.collection-card p { margin: 6px 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .85); }
.collection-card:hover { color: #fff; }
.collection-card:hover img { transform: scale(1.05); }
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(12px, 1.4vw, 22px); }

.article-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.article-card__media { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.article-card__media--art { background: radial-gradient(80% 90% at 90% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), var(--surface-2); display: grid; place-items: center; }
.article-card__media--art .ico { width: 48px; height: 48px; color: var(--accent); }
.article-card h3 { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg); margin: 0; }
.article-card p { color: var(--ink-3); font-size: var(--fs-sm); margin: 0; }
.article-card:hover { color: var(--ink); }
.article-card:hover h3 { color: var(--accent); }
.article-card:hover .article-card__media img { transform: scale(1.04); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(18px, 2vw, 32px); }

.newsletter-band { position: relative; border-radius: var(--r-lg); overflow: hidden; padding: clamp(28px, 5vw, 72px); background: var(--ink); color: var(--bg); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; isolation: isolate; }
.newsletter-band::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(35% 45% at 80% 20%, color-mix(in srgb, var(--accent) 65%, transparent), transparent 70%), radial-gradient(30% 40% at 10% 90%, color-mix(in srgb, var(--gold) 55%, transparent), transparent 70%); animation: drift 22s ease-in-out infinite alternate; }
.newsletter-band h2 { color: var(--bg); margin: 0 0 8px; font-size: var(--fs-2xl); }
.newsletter-band p { color: color-mix(in srgb, var(--bg) 80%, transparent); margin: 0; }
.newsletter-band .input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
:root[data-theme="dark"] .newsletter-band .input, :root:not([data-theme="light"]) .newsletter-band .input { color: var(--bg); }
.newsletter-band .check { color: color-mix(in srgb, var(--bg) 82%, transparent); }
.newsletter-band .check input { border-color: rgba(255, 255, 255, .45); background: transparent; }
.nl-form { display: grid; gap: 12px; }
.nl-form__row { display: flex; gap: 8px; }
.nl-form__row .input { flex: 1; min-width: 0; }
.nl-form__segments { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.form-msg { font-size: var(--fs-sm); min-height: 1.4em; }
.form-msg.is-ok { color: var(--down); }
.form-msg.is-err { color: var(--up); }
.newsletter-band .form-msg.is-ok { color: #8fe3b4; }
.newsletter-band .form-msg.is-err { color: #ffb4a8; }

.countdown { display: flex; gap: clamp(8px, 1.4vw, 16px); }
.countdown__unit { min-width: clamp(64px, 8vw, 96px); padding: 12px 8px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); text-align: center; backdrop-filter: blur(8px); }
.countdown__unit b { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__unit span { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; opacity: .75; }

.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-xl); line-height: 1.1; }
.stat span { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 9. Conținut editorial (articole, pagini legale) ---------- */
.prose { max-width: 74ch; font-size: var(--fs-md); line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: var(--fs-xl); margin: 1.8em 0 .5em; color: var(--ink); }
.prose h3 { font-size: var(--fs-lg); margin: 1.5em 0 .4em; color: var(--ink); font-family: var(--font-sans); font-weight: 650; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 1.2em; border-left: 3px solid var(--accent); font-family: var(--font-display); font-weight: 500; font-size: var(--fs-lg); color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: var(--fs-sm); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 650; background: var(--surface-2); }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose .table-wrap { overflow-x: auto; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 4vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-offset) + 24px); font-size: var(--fs-sm); border-left: 1px solid var(--line); padding-left: 16px; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--ink-3); }
.toc a:hover, .toc a.is-active { color: var(--accent); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3em; line-height: 1; color: var(--ink-3); transition: transform var(--t) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-2); }
.callout { padding: 16px 18px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.callout--accent { background: var(--accent-soft); border-color: transparent; }
.byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--fs-sm); color: var(--ink-3); }
.ai-note { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--ink-3); }

/* ---------- 10. Footer ---------- */
.site-footer { margin-top: clamp(40px, 6vw, 96px); background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(36px, 5vw, 72px) var(--s5); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.site-footer h2 { font: 700 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--accent); }
/* „Preferințe cookie-uri” e buton, dar în listă arată ca vecinii lui (fără subliniere, aceeași mărime) */
.site-footer .link-btn { font-size: inherit; line-height: inherit; text-decoration: none; text-align: left; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 56px); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-xs); }
.theme-switch { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--surface-2); gap: 2px; }
.theme-switch button { border: 0; background: transparent; border-radius: var(--r-pill); width: 36px; height: 30px; display: grid; place-items: center; color: var(--ink-3); }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.theme-switch .ico { width: 16px; height: 16px; }
.disclosure { font-size: var(--fs-xs); color: var(--ink-3); max-width: 80ch; }

/* ---------- 11. Overlays: consimțământ, dialog, toast ---------- */
.consent { position: fixed; z-index: 100; left: var(--s4); bottom: var(--s4); width: min(460px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: var(--s5); transform: translateY(20px); opacity: 0; transition: transform var(--t-slow) var(--ease-out), opacity var(--t); }
.consent.is-open { transform: none; opacity: 1; }
.consent h2 { font-size: var(--fs-lg); margin-bottom: 6px; }
.consent p { font-size: var(--fs-sm); color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--s3); }
.consent__actions .btn { min-width: 0; padding: 0 12px; }
.consent__prefs { display: grid; gap: 12px; margin: var(--s3) 0; padding: var(--s3); border-radius: var(--r); background: var(--surface-2); }
/* Invitația de instalare a aplicației (partials/pwa-prompt.php, site.js; regulile în Admin → Analytics → Aplicația (PWA)) */
.pwa-prompt { position: fixed; z-index: 100; left: var(--s4); bottom: var(--s4); width: min(430px, calc(100vw - 32px)); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-3); transform: translateY(20px); opacity: 0; transition: transform var(--t-slow) var(--ease-out), opacity var(--t); }
.pwa-prompt.is-open { transform: none; opacity: 1; }
.pwa-prompt__icon { width: 52px; height: 52px; border-radius: 14px; box-shadow: var(--shadow-1); }
.pwa-prompt__x { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; }
.pwa-prompt h2 { font-size: var(--fs-md); line-height: 1.25; margin: 2px 34px 4px 0; }
.pwa-prompt p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
.pwa-prompt__steps { margin: 10px 0 0; padding: 10px 12px 10px 30px; border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); display: grid; gap: 6px; }
p.pwa-prompt__steps { display: block; padding-left: 12px; color: var(--ink); line-height: 1.5; }
.pwa-prompt__steps .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; }
.pwa-prompt__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
@media (max-width: 560px) {
  .pwa-prompt { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .pwa-prompt__actions .btn { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { .pwa-prompt { transition: none; } }

.dialog { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: min(560px, calc(100vw - 24px)); width: 100%; }
.dialog::backdrop { background: var(--overlay); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialogIn var(--t-slow) var(--ease-out); }
.dialog__box { position: relative; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: clamp(20px, 3vw, 32px); max-height: calc(100vh - 48px); overflow: auto; }
.dialog__close { position: absolute; top: 10px; right: 10px; }
.dialog h2 { font-size: var(--fs-xl); margin-right: 40px; }
.dialog .product-grid { --card-min: 150px; }

.toasts { position: fixed; z-index: 130; right: var(--s4); bottom: var(--s4); display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-3); font-size: var(--fs-sm); animation: toastIn var(--t-slow) var(--ease-out); }
.toast.is-leaving { animation: toastOut var(--t) var(--ease) forwards; }
.toast a, .toast button { color: inherit; font-weight: 700; margin-left: auto; background: none; border: 0; text-decoration: underline; }
.toast--ok .ico { color: #8fe3b4; }
.toast--err .ico { color: #ffb4a8; }

.particle { position: fixed; z-index: 140; width: 7px; height: 7px; border-radius: 50%; pointer-events: none; background: var(--accent); animation: burst 700ms var(--ease-out) forwards; }

.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-sm); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--surface) 60%, transparent) 50%, transparent 70%) 0 0 / 250% 100%; animation: shimmer 1.5s linear infinite; }
/* Schelet de card: aceleași înălțimi ca .product-card (imagine + corp: brand, titlu pe 2 rânduri, preț, rândul magazin/trend)
   (măsurat: imagine · +13 brand 14 · +6 titlu 13 · +5 titlu 13 · +13 preț 20 · +15 rând 26 · +6 = corpul de 144 px al cardului) */
.skeleton-card { display: flex; flex-direction: column; min-width: 0; padding-bottom: 6px; }
.skeleton-card .skeleton:first-child { aspect-ratio: var(--card-ratio); border-radius: var(--r); margin-bottom: 13px; }
.skeleton-card .skeleton + .skeleton { flex: none; height: 13px; margin: 5px 2px 0; border-radius: var(--r-xs); }
.skeleton-card .skeleton:nth-child(2) { width: 38%; height: 14px; margin-top: 0; }
.skeleton-card .skeleton:nth-child(3) { width: 92%; margin-top: 6px; }
.skeleton-card .skeleton:nth-child(4) { width: 64%; }
.skeleton-card .skeleton:nth-child(5) { width: 34%; height: 20px; margin-top: 13px; }
.skeleton-card .skeleton:nth-child(6) { width: 58%; height: 26px; margin-top: 15px; border-radius: var(--r-pill); }
/* Sugestii de căutare în încărcare */
.search__skel { display: flex; align-items: center; gap: 12px; padding: 8px 10px; min-height: 44px; }
.search__skel > .skeleton:first-child { width: 40px; height: 52px; flex: none; border-radius: var(--r-xs); }
.search__skel .grow { display: grid; gap: 8px; }
.search__skel .grow .skeleton { height: 11px; width: 80%; }
.search__skel .grow .skeleton + .skeleton { width: 45%; }
.search__skel > .skeleton:last-child { width: 64px; height: 14px; flex: none; }
/* Filtre/sortare: rezultatele vechi devin schelete PE LOC (aceeași grilă, aceleași dimensiuni → fără CLS) până vine răspunsul */
.results.is-loading { opacity: 1; }
.results.is-loading::after { content: none; }
.results.is-loading .product-card { animation: none; }
.results.is-loading .product-card__media { background: var(--surface-2); }
.results.is-loading .product-card__media::after { content: ""; position: absolute; inset: 0; z-index: 5; background: var(--surface-2) linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--surface) 60%, transparent) 50%, transparent 70%) 0 0 / 250% 100%; animation: shimmer 1.5s linear infinite; }
.results.is-loading .product-card__body > :not(.product-card__meta), .results.is-loading .product-card__meta > * { color: transparent !important; background: var(--surface-2); border-radius: var(--r-xs); border-color: transparent; box-shadow: none; }
.results.is-loading .product-card__body > :not(.product-card__meta) { align-self: flex-start; max-width: 100%; }
.results.is-loading .product-card__body * { color: transparent !important; visibility: visible; }
.results.is-loading .product-card__body .ico, .results.is-loading .product-card__body img, .results.is-loading .product-card__fav, .results.is-loading .product-card__badges { visibility: hidden; }
.results.is-loading .pagination { opacity: .4; }

.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); color: var(--ink-2); }
.notice .ico { flex: none; margin-top: 2px; color: var(--accent); }

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--s8) var(--s4); }
.error-page__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 4rem + 8vw, 12rem); line-height: .9; letter-spacing: -.04em; background: linear-gradient(120deg, var(--accent), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 12. Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.magnetic { transition: transform var(--t) var(--ease-out); }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -100% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes favPop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 60% { transform: scale(.9); } 100% { transform: scale(1); } }
@keyframes burst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg); } to { transform: translate3d(3%, 2%, 0) rotate(6deg); } }

@view-transition { navigation: auto; }
/* durata/curba fondului încrucișat între pagini: vezi blocul agentSite2 de la final (fără translate — antetul nu mai „sare”) */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media { transform: none !important; }
  @view-transition { navigation: none; }
}
:root[data-motion="off"] .reveal { opacity: 1; transform: none; }
:root[data-motion="off"] *, :root[data-motion="off"] *::before, :root[data-motion="off"] *::after { animation: none !important; transition-duration: 1ms !important; }

/* ---------- 13. Responsive ---------- */
/* Perechile max/min folosesc .98 (max-width: 1100.98px ↔ min-width: 1101px): la zoom/scalare Windows lățimea e fracționară
   (ex. 1100.8 px) și cu max-width: 1100px nu s-ar fi aplicat niciun set de reguli (navigare plină + hamburger ascuns). */
@media (max-width: 1280px) {
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-tile { aspect-ratio: 4 / 3; }
  .rail { --rail-gap: 16px; --rail-cols: 4; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1100.98px) {
  .site-header .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header__bar { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "menu logo search actions"; }
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; z-index: 95; inset: auto 0 0 0; top: auto; max-height: 86vh; background: var(--surface); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 0 var(--s4) var(--s4); box-shadow: var(--shadow-3); transform: translateY(105%); transition: transform var(--t-slow) var(--ease-out); visibility: hidden; }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__head { display: flex; position: sticky; top: 0; z-index: 2; background: var(--surface); align-items: center; justify-content: space-between; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .filters__foot { position: sticky; bottom: 0; background: var(--surface); padding-top: var(--s3); display: grid; grid-template-columns: 1fr 2fr; gap: 8px; }
  .filters-scrim { position: fixed; inset: 0; z-index: 94; background: var(--overlay); opacity: 0; pointer-events: none; transition: opacity var(--t); }
  .filters-scrim.is-open { opacity: 1; pointer-events: auto; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; border-left: 0; padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); }
  .newsletter-band { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1101px) {
  .filters__foot { display: none; }
  .filters-scrim { display: none; }
}
@media (max-width: 760.98px) {
  :root { --header-h: 58px; --header-stack: 53px; --card-min: 150px; }
  .site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "menu logo actions" "search search search"; gap: 8px; padding-top: 6px; }
  .site-header .search { margin-bottom: 10px; }
  .site-header__bar > .logo { justify-self: start; }
  .logo__word { height: 22px; }
  .logo__text { font-size: 1.3rem; }
  .logo__mark { width: 30px; height: 30px; }
  .header-actions .hide-sm { display: none; }
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail { --rail-gap: 12px; --rail-cols: 2.15; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toolbar .select { min-width: 0; flex: 1; }
  .hero { min-height: 520px; border-radius: 0 0 var(--r) var(--r); }
  .hero__stats { gap: 18px; }
  .product-card__fav { width: 36px; height: 36px; top: 6px; right: 6px; }
  .product-card__badges { top: 8px; left: 8px; }
  .trend { height: 24px; padding: 0 6px 0 5px; }
  .trend__label { display: none; }
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; }
  .nl-form__row { flex-direction: column; }
  .countdown__unit { min-width: 0; flex: 1; }
}
@media (max-width: 380px) {
  :root { --gutter: 12px; }
  .product-grid { gap: 14px 8px; }
  .price { font-size: var(--fs-base); }
}
@media print {
  .site-header, .site-footer, .consent, .toasts, .filters, .product-card__fav { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   14. Vitrina (modulul Storefront) — completări peste componentele existente:
       secțiuni pe dispozitiv, antete de listare, catalog, rails cu grilă, branduri A–Z, magazin (fapte + grafic),
       căutare, Black Friday, articol, pagini personale. Doar tokeni din §1 (zi/noapte automat).
   ========================================================================== */
@media (max-width: 760.98px) { .only-desktop { display: none !important; } }
@media (min-width: 761px) { .only-mobile { display: none !important; } }

/* Antet pe desktop (> 1100 px): modul vine din site.js (data-nav), măsurat pe fonturile reale ale vizitatorului.
   Până la măsurare / fără JS: sub 1600 px navigarea stă pe rândul ei (încape sigur), de la 1600 px pe un singur rând. */
@media (min-width: 1101px) {
  .site-header[data-nav="stacked"] .site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions" "nav nav nav"; }
  .site-header[data-nav="stacked"] .search { justify-self: center; width: min(100%, 600px); }
  .site-header[data-nav="stacked"] .site-header__bar { grid-template-rows: var(--header-h) 44px; }
  .site-header[data-nav="stacked"] .nav { --header-h: 44px; }
  .site-header[data-nav="stacked"] .nav__link::after { bottom: 10px; }
  .site-header[data-nav="compact"] .nav { display: none; }
  .site-header[data-nav="compact"] .menu-btn { display: inline-grid; }
  .site-header[data-nav="compact"] .site-header__bar { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "menu logo search actions"; }
}
@media (min-width: 1101px) and (max-width: 1599px) {
  :root { --header-stack: 44px; }
  .site-header:not([data-nav]) .site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo search actions" "nav nav nav"; }
  .site-header:not([data-nav]) .search { justify-self: center; width: min(100%, 600px); }
  .site-header:not([data-nav]) .site-header__bar { grid-template-rows: var(--header-h) 44px; }
  .site-header:not([data-nav]) .nav { --header-h: 44px; }
  .site-header:not([data-nav]) .nav__link::after { bottom: 10px; }
}
/* Layout-ul pune --card-min (setarea layout.grid_min) ca stil inline pe <html>, care anula valorile pentru mobil din §13
   (grila rămânea pe o singură coloană la 375 px). !important din foaia de stil are prioritate față de inline. */
@media (max-width: 760.98px) { :root { --card-min: 150px !important; } }
@media (max-width: 340px) { :root { --card-min: 136px !important; } }

/* Hero (homepage) */
.hero__ghost { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; border-color: rgba(255, 255, 255, .42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__ghost:hover { border-color: #fff; }
.hero__stats { margin-bottom: 0; }
.hero__stats > div { min-width: 0; }
.hero__stats dd { margin: 0; }
.home-head { padding-bottom: 0; }
.home-head .page-head__title { max-width: 24ch; }

/* Antete de listare (categorie, brand, magazin, reduceri, selecție, Black Friday) */
.listing-top { padding-top: clamp(14px, 2vw, 28px); }
.page-hero__inner { position: relative; display: grid; gap: 8px; max-width: 900px; min-width: 0; }
.page-hero__eyebrow { color: rgba(255, 255, 255, .78); }
.page-hero p { overflow-wrap: anywhere; }
.page-hero h1 { overflow-wrap: anywhere; }
.listing-intro { margin-top: clamp(18px, 2.4vw, 32px); }
.listing-intro > :last-child { margin-bottom: 0; }
.listing-block { margin-top: clamp(16px, 2vw, 28px); min-width: 0; }
.listing-block > .eyebrow { margin: 0 0 10px; }
.listing-note { margin-top: var(--s5); }
.chips--scroll .muted { font-size: var(--fs-xs); }

.entity-head { padding-block: clamp(4px, 1vw, 12px) 0; }
.entity-head__row { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-top: 14px; }
.entity-head__logo { flex: none; width: clamp(72px, 9vw, 112px); aspect-ratio: 1; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.entity-head__logo img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.entity-head__logo--text { background: radial-gradient(90% 90% at 20% 10%, var(--accent-soft), transparent 70%), var(--surface); font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); color: var(--accent); }
.entity-head__text { min-width: 0; }
.entity-head__text .page-head__title { margin: 4px 0 6px; overflow-wrap: anywhere; }
.page-head__meta .badge { vertical-align: middle; }
.page-head__meta .badge .ico { width: 14px; height: 14px; }

/* Catalog: coloana principală, bara de instrumente, filtre active */
.catalog__main { min-width: 0; }
.catalog__heading { font-size: var(--fs-lg); margin: 0 0 var(--s4); }
.toolbar__count { margin: 0; flex: 1 1 auto; }
.toolbar__sort { display: flex; }
.filters-toggle .badge { height: 20px; padding: 0 7px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.active-filters:empty { display: none; }
.active-filters .chip .ico { width: 14px; height: 14px; }
.filters .switch { line-height: 1.35; }
.filters .check.filter-row { align-items: center; }
.filters .check.filter-row > span:not(.filter-count) { min-width: 0; overflow-wrap: anywhere; }
.filters .check input { margin-top: 0; }
.catalog__cap { text-align: center; margin-top: var(--s4); }
@media (max-width: 1100.98px) {
  .toolbar__count { order: 3; flex-basis: 100%; }
  .toolbar__sort { margin-left: auto; }
}
@media (max-width: 760.98px) {
  .toolbar__sort { flex: 1; margin-left: 0; }
  .toolbar__sort .select { width: 100%; }
}

/* Rails: carduri primite ca grilă (partials/product-grid sau HTML din API) devin elemente directe ale pistei */
.rail__track > .product-grid { display: contents; }
.rail__track .product-card { scroll-snap-align: start; min-width: 0; }
.rail-grid > .product-grid { width: 100%; }
.section-head__aside { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }
@media (max-width: 760.98px) { .rail__nav { display: none; } }

/* Dale de categorie: textul */
.cat-tile__text { display: block; position: relative; }

/* Selecții: eticheta de pe card */
.collection-card__eyebrow { color: rgba(255, 255, 255, .78); margin-bottom: 6px; }

/* Branduri A–Z */
.az-filter { width: min(100%, 320px); }
.az-nav { position: sticky; top: calc(var(--header-offset) + 8px); z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; margin-bottom: var(--s5); border-radius: var(--r); background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); }
.az-nav a, .az-nav span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: var(--r-pill); font-weight: 650; font-size: var(--fs-sm); text-decoration: none; }
.az-nav a:hover { background: var(--ink); color: var(--bg); }
.az-nav span { color: var(--ink-3); opacity: .45; }
.az-group { padding-block: var(--s4); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-offset) + 72px); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s4); }
.az-group__letter { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-2xl); line-height: 1; margin: 0; color: var(--accent); }
.az-list { list-style: none; margin: 0; padding: 0; columns: 4 200px; column-gap: var(--s6); }
.az-list li { break-inside: avoid; padding: 4px 0; font-size: var(--fs-base); }
.az-list a { text-decoration: none; }
.az-list .muted { font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
@media (max-width: 760.98px) {
  .az-group { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .az-filter { width: 100%; }
}

/* Magazin: fapte, notă, grafic */
.store-facts { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s4); margin-top: clamp(16px, 2vw, 28px); align-items: start; }
.store-facts__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.store-facts__list > div { padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.store-facts__list dt { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .02em; }
.store-facts__list dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg); line-height: 1.2; overflow-wrap: anywhere; }
.store-facts__note p { margin: 0 0 6px; }
.store-facts__note p:last-child { margin: 0; }
@media (max-width: 1100.98px) { .store-facts { grid-template-columns: minmax(0, 1fr); } }
.store-trend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.store-trend__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--ink-2); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.dot--down { background: var(--down); }
.dot--up { background: var(--up); }
.bars-chart { width: 100%; height: auto; max-height: 260px; }
.bars-chart__axis { stroke: var(--line-strong); stroke-width: 1; }
.bars-chart__down { fill: var(--down); }
.bars-chart__up { fill: var(--up); opacity: .85; }
.bars-chart__label { fill: var(--ink-3); font-size: 11px; font-family: var(--font-sans); }
@media (max-width: 1100.98px) { .store-trend { grid-template-columns: minmax(0, 1fr); } }
.stores-note { margin-top: var(--s5); }

/* Căutare */
.search-page-form { display: flex; gap: 8px; max-width: 640px; margin-top: var(--s4); }
.search-page-form .input { min-width: 0; }
.search-correction { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink-2); margin: 8px 0 0; }
.search-correction .ico { color: var(--accent); }
.related-links { display: grid; gap: var(--s4); }
.related-links nav { min-width: 0; }
.related-links .eyebrow { margin: 0 0 8px; }
.zero-results { display: grid; gap: var(--s3); }
.zero-results h2 { margin: 0; }
.zero-results .eyebrow { margin: var(--s4) 0 0; }
@media (max-width: 480px) { .search-page-form { flex-direction: column; } }

/* Black Friday */
.bf-hero { min-height: clamp(260px, 30vw, 420px); background: radial-gradient(80% 120% at 85% 0%, color-mix(in srgb, var(--accent) 70%, #000) 0%, transparent 60%), radial-gradient(60% 90% at 0% 100%, color-mix(in srgb, var(--gold) 55%, #000), transparent 60%), #0b0908; }
.bf-hero__dates { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); }
.bf-hero__countdown { margin-top: var(--s3); color: #fff; flex-wrap: wrap; }
.bf-explainer { max-width: 90ch; }
.bf-explainer strong { color: var(--ink); }

/* Articol */
.article-head { max-width: 860px; padding-block: clamp(20px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.article-head__title { font-size: var(--fs-3xl); line-height: 1.02; margin: 10px 0 14px; overflow-wrap: anywhere; }
.article-head .eyebrow a { color: inherit; }
.article-head .byline { margin-top: var(--s3); }
.article-head .byline span { display: inline-flex; align-items: center; gap: 6px; }
.article-head .ai-note { margin: 10px 0 0; }
.article-hero { margin: 0 0 clamp(24px, 3vw, 44px); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.article-hero img { width: 100%; max-height: 620px; object-fit: cover; }
.article-layout--single { grid-template-columns: minmax(0, 1fr); }
.article-body .product-grid { margin: 1.6em 0; max-width: none; }
.article-body .faq { margin: 1.4em 0; }
.prose .product-grid { --card-min: 190px; }
.article-disclosure { margin-top: var(--s6); }
.toc .eyebrow { margin: 0; }
.static-page { padding-bottom: var(--s6); }

/* Pagini personale (favorite / istoric) */
.personal-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s4); }
.personal-page [data-fav-missing] { margin-bottom: var(--s4); }

/* Pictograma din textele informative stă pe rând cu textul (svg e display:block global) */
.disclosure .ico, .search-correction .ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* Dialog „exit intent” */
.exit-offer__more { margin: var(--s5) 0 0; text-align: center; }
.dialog .eyebrow { display: block; margin-bottom: 6px; }

/* ---------- 14. Blocuri editoriale (BlockRenderer) ---------- */
.blocks { display: grid; gap: clamp(18px, 2.2vw, 28px); min-width: 0; }
.blocks > .blk { min-width: 0; }
.blocks > .blk.prose > :first-child { margin-top: 0; }
.blocks > .blk.prose > :last-child { margin-bottom: 0; }
.blk-title { font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg); margin: 0 0 var(--s3); }
.blk-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.blk-head .blk-title { margin: 0; }
.blk-note { margin: var(--s3) 0 0; font-size: var(--fs-sm); color: var(--ink-3); }
.blk-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.blk-cta p { margin: 0; color: var(--ink); max-width: 60ch; }
.blk-cta .ico { display: inline-block; }
.blk-figure { margin: 0; }
.blk-figure img { width: 100%; height: auto; border-radius: var(--r); margin: 0; }
.blk-figure figcaption, .blk-gallery figcaption { margin-top: 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.blk-gallery { margin: 0; }
.blk-gallery__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 45%), 1fr)); gap: 10px; }
.blk-gallery__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.blk blockquote cite { display: block; margin-top: 8px; font-family: var(--font-sans); font-size: var(--fs-sm); font-style: normal; color: var(--ink-3); }
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; background: var(--gold-soft); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; text-align: center; }
.preview-bar .ico { display: inline-block; }
.preview-hero { margin-bottom: clamp(20px, 3vw, 40px); }
.preview-hero img { max-height: 520px; object-fit: cover; }

/* ---------- 15. Newsletter, contact, drepturile utilizatorilor ---------- */
.pub-narrow { max-width: 760px; margin-inline: auto; }
.pub-card { padding: clamp(18px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pub-card .field textarea { min-height: 140px; }
.pub-fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.pub-fieldset legend { margin-bottom: 8px; }
.pub-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.pub-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; padding-bottom: var(--s6); }
.pub-aside__title { font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 700; margin: 0 0 8px; }
.pub-aside .callout p + p { margin-top: 8px; }
.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: clamp(20px, 3vw, 40px) 0; }
.pub-result { max-width: 680px; margin: clamp(32px, 6vw, 88px) auto; text-align: center; }
.pub-result__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s4); }
.pub-result__icon .ico { width: 28px; height: 28px; }
.pub-result .lead { margin-inline: auto; }
.pub-result__actions { justify-content: center; margin-top: var(--s5); }
.pub-result__actions form { margin: 0; }
.notice .ico { display: inline-block; }
@media (max-width: 900px) {
  .pub-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pub-fields { grid-template-columns: minmax(0, 1fr); }
  .blk-cta { flex-direction: column; align-items: stretch; }
  .blk-cta .btn { width: 100%; }
}

/* ---------- 16. Bara de anunțuri + carusele de pe homepage (branduri, magazine, autoplay) ---------- */
/* Bara stă deasupra antetului sticky (derulează odată cu pagina); înălțime fixă → fără CLS la rotire. */
.promo-bar { --promo-bg: #15120f; --promo-fg: #f3eee8; --promo-h: 38px; position: relative; z-index: 61; background: var(--promo-bg); color: var(--promo-fg); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; }
.promo-bar--plum { --promo-bg: #7a2e5f; --promo-fg: #ffffff; }
.promo-bar--gold { --promo-bg: #f5ecdc; --promo-fg: #4f3a17; }
:root[data-theme="dark"] .promo-bar--ink { box-shadow: inset 0 -1px 0 var(--line); }
:root[data-theme="dark"] .promo-bar--gold { --promo-bg: #2c2416; --promo-fg: #ecd3a0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .promo-bar--ink { box-shadow: inset 0 -1px 0 var(--line); }
  :root:not([data-theme="light"]) .promo-bar--gold { --promo-bg: #2c2416; --promo-fg: #ecd3a0; }
}
:root[data-promo-closed] .promo-bar { display: none; }
.promo-bar__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 4px; height: var(--promo-h); }
.promo-bar__inner > .promo-bar__viewport:first-child { grid-column: 1 / 3; }
.promo-bar__viewport { position: relative; height: 100%; min-width: 0; overflow: hidden; }
.promo-bar__msg { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; opacity: 0; visibility: hidden; transform: translateX(calc(var(--promo-dir, 1) * 24px)); transition: opacity var(--t) var(--ease), transform var(--t-slow) var(--ease-out), visibility 0s linear var(--t); }
.promo-bar__msg.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t) var(--ease), transform var(--t-slow) var(--ease-out), visibility 0s; }
.promo-bar__msg > span, .promo-bar__msg a > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.promo-bar__msg a { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 32px; padding: 0 6px; color: inherit; text-decoration: none; border-radius: var(--r-xs); }
.promo-bar__msg a:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.promo-bar__msg a .ico { width: 14px; height: 14px; flex: none; transition: transform var(--t) var(--ease); }
.promo-bar__msg a:hover .ico { transform: translateX(3px); }
.promo-bar a:focus-visible, .promo-bar__btn:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.promo-bar__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; opacity: .78; transition: opacity var(--t-fast), background var(--t-fast); }
.promo-bar__btn:hover { opacity: 1; background: color-mix(in srgb, currentColor 12%, transparent); }
.promo-bar__btn .ico { width: 16px; height: 16px; }
.promo-bar__close { margin-left: 4px; }
@media (max-width: 760.98px) {
  /* pe telefon mesajul are voie pe 2 rânduri (bara mai înaltă, tot fixă) — fără „…” la mesajele obișnuite */
  .promo-bar { --promo-h: 46px; line-height: 1.3; }
  .promo-bar__inner { padding-inline: 4px; gap: 0; }
  .promo-bar__msg > span, .promo-bar__msg a > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
  .promo-bar__btn { width: 30px; height: 30px; }
}

/* Carusele generice (aceeași pistă .rail__track): dale de brand și carduri de magazin, lățime fixă pe coloană */
.rail--brands { --rail-cols: 8; --rail-gap: 12px; }
.rail--stores { --rail-cols: 7; --rail-gap: 12px; } /* plăcuțe de magazin (.store-card--tile): 7 / 6 / 5 / 4 / 2,3 pe rând */
.rail--brands .rail__track, .rail--stores .rail__track { padding: 4px 2px 8px; margin: -4px -2px 0; scroll-padding-inline: 2px; } /* scroll-padding: snap-ul aliniază primul card cu titlul secțiunii (altfel −2 px) */
.rail--brands .brand-tile { min-height: 96px; }
.rail--stores .store-card { height: 100%; min-width: 0; }
.rail__btn--toggle .ico { width: 16px; height: 16px; }
@media (max-width: 1440px) { .rail--stores { --rail-cols: 6; } }
@media (max-width: 1280px) { .rail--brands { --rail-cols: 5; } .rail--stores { --rail-cols: 5; } }
@media (max-width: 1000.98px) { .rail--stores { --rail-cols: 4; } }
@media (max-width: 760.98px) {
  .rail--brands { --rail-cols: 2.6; --rail-gap: 10px; }
  .rail--stores { --rail-cols: 2.3; --rail-gap: 10px; }
  /* pe telefon: săgețile dispar (swipe nativ), dar butonul Pauză rămâne (WCAG 2.2.2) */
  .rail__nav:has(.rail__btn--toggle:not([hidden])) { display: flex; }
  .rail__nav [data-rail-prev], .rail__nav [data-rail-next] { display: none; }
}

/* ---------- 17. Homepage: numerele din hero, dale de categorie cu imagine, „Carduri selecții” ---------- */
/* Numerele din hero numără până la valoarea reală (site.js → data-count); valoarea finală vine din server (SEO, fără JS,
   reduced motion). Cifre tabulare + lățimea casetei blocată de JS înainte de animație → fără deplasări pe rând. */
.hero__stats strong { font-variant-numeric: tabular-nums lining-nums; }

/* Dale de categorie cu imagine (categories.hero_image): gradient mai dens jos, pentru textul alb pe orice fotografie */
.cat-tile--photo { background: #1b1613; }
.cat-tile--photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, transparent 26%, transparent 46%, rgba(0, 0, 0, .74) 100%); }
.cat-tile--photo .ico { display: none; } /* fotografia spune deja categoria; pictograma peste ea doar aglomera */
.cat-tile--photo strong, .cat-tile--photo .cat-tile__text span { text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }

/* Carduri selecții (tipul promo_cards din Homepage Builder): 1–4 pe rând, carusel cu snap pe mobil */
.promo-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--pc-cols, 3), minmax(0, 1fr)); grid-auto-rows: 1fr; gap: clamp(12px, 1.4vw, 22px); }
.promo-cards--1 { --pc-cols: 1; }
.promo-cards--2 { --pc-cols: 2; }
.promo-cards--4 { --pc-cols: 4; }
.promo-cards > li { display: flex; min-width: 0; container-type: inline-size; }
/* Card îngust (4 pe rând, carusel pe mobil): evantaiul de produse sus, textul jos. Card lat (≥ 460 px): unul lângă altul. */
.promo-card { --pc-pad: clamp(18px, 1.8vw, 28px); position: relative; flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-content: space-between; align-items: end; gap: var(--s4); min-height: clamp(230px, 19vw, 300px); padding: var(--pc-pad); border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: var(--pc-bg, #1b1613); box-shadow: var(--shadow-1); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.promo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 3px 3px; pointer-events: none; }
.promo-card:hover { color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-2); }
.promo-card:focus-visible { outline-offset: 3px; }
.promo-card--plum { --pc-bg: radial-gradient(90% 90% at 88% 8%, #a24a82 0%, transparent 60%), linear-gradient(150deg, #5d2148, #26101f); }
.promo-card--gold { --pc-bg: radial-gradient(90% 90% at 88% 8%, #d6a95c 0%, transparent 58%), linear-gradient(150deg, #6e5020, #261c0d); }
.promo-card--ink { --pc-bg: radial-gradient(80% 80% at 90% 0%, #7a2e5f 0%, transparent 58%), radial-gradient(70% 70% at 0% 100%, #6e5020 0%, transparent 55%), #15120f; }
.promo-card--sage { --pc-bg: radial-gradient(90% 90% at 88% 8%, #7d9c78 0%, transparent 58%), linear-gradient(150deg, #2f432d, #111811); }
.promo-card--rose { --pc-bg: radial-gradient(90% 90% at 88% 8%, #d987b3 0%, transparent 58%), linear-gradient(150deg, #8e3864, #3a1229); }
.promo-card--sky { --pc-bg: radial-gradient(90% 90% at 88% 8%, #6f93c4 0%, transparent 58%), linear-gradient(150deg, #2a4363, #0f151d); }
.promo-card--photo { background: #1b1613; }
.promo-card--photo::before { background: linear-gradient(180deg, rgba(0, 0, 0, .06) 20%, rgba(0, 0, 0, .74)); background-size: auto; }
.promo-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.promo-card:hover .promo-card__bg { transform: scale(1.04); }
.promo-card__body { display: grid; justify-items: start; gap: 8px; min-width: 0; }
.promo-card__badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: #fff; color: #15120f; font: 700 var(--fs-xs)/1 var(--font-sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.promo-card__title { margin: 0; color: #fff; font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); line-height: 1.1; letter-spacing: -.01em; overflow-wrap: break-word; text-wrap: balance; }
.promo-card__text { margin: 0; color: rgba(255, 255, 255, .86); font-size: var(--fs-sm); line-height: 1.45; max-width: 46ch; }
.promo-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; }
.promo-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: var(--fs-sm); }
.promo-card__cta .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.promo-card:hover .promo-card__cta .ico { transform: translateX(4px); }
.promo-card__meta { font-size: var(--fs-xs); color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; }
/* evantaiul de produse: 1–3 fotografii reale din țintă; are rândul/coloana lui (nu acoperă textul) */
.promo-card__stack { position: relative; order: -1; justify-self: end; align-self: start; width: min(74%, 230px); aspect-ratio: 16 / 10; pointer-events: none; }
.promo-card__shot { position: absolute; top: 6%; width: 40%; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: #f3eee8; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12); transition: transform 700ms var(--ease-out); }
.promo-card__shot img { width: 100%; height: 100%; object-fit: cover; }
.promo-card__shot[hidden] { display: none; }
.promo-card__shot--1 { left: 30%; top: 0; z-index: 3; transform: rotate(2deg); }
.promo-card__shot--2 { left: 4%; z-index: 2; transform: rotate(-9deg); }
.promo-card__shot--3 { left: 56%; z-index: 1; transform: rotate(10deg); }
.promo-card--shots-1 .promo-card__shot--1 { left: 56%; top: 2%; transform: rotate(4deg); }
.promo-card--shots-2 .promo-card__shot--1 { left: 56%; }
.promo-card--shots-2 .promo-card__shot--2 { left: 28%; }
@container (min-width: 460px) {
  .promo-card--shots { grid-template-columns: minmax(0, 1fr) clamp(120px, 36%, 200px); align-content: end; }
  .promo-card__stack { order: 0; justify-self: stretch; align-self: center; width: 100%; aspect-ratio: 1 / 1.08; }
  .promo-card__shot { width: 64%; }
  .promo-card__shot--1 { left: 18%; }
  .promo-card__shot--2 { left: 0; }
  .promo-card__shot--3 { left: 36%; }
  .promo-card--shots-1 .promo-card__shot--1, .promo-card--shots-2 .promo-card__shot--1 { left: 30%; }
  .promo-card--shots-2 .promo-card__shot--2 { left: 4%; }
}
.promo-card:hover .promo-card__shot--1 { transform: rotate(0deg) translateY(-4px); }
.promo-card:hover .promo-card__shot--2 { transform: rotate(-13deg) translateX(-6px); }
.promo-card:hover .promo-card__shot--3 { transform: rotate(14deg) translateX(6px); }
@media (max-width: 1100.98px) {
  .promo-cards--3, .promo-cards--4 { --pc-cols: 2; }
  .promo-cards--3 > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760.98px) {
  .promo-cards:not(.promo-cards--1) { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 6px; }
  .promo-cards::-webkit-scrollbar { display: none; }
  .promo-cards > li { scroll-snap-align: start; }
  .promo-cards--3 > li:last-child { grid-column: auto; }
  .promo-card { min-height: 220px; }
}

/* === Pagina de produs (owner: agentP, continuat de agentP2) === */
/* Cardul: imaginea → /go/ (strat peste imagine), titlul + corpul cardului → pagina produsului */
.product-card__body { position: relative; }
.product-card__go { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.product-card__badges { pointer-events: none; }

.pp { padding-top: clamp(14px, 2vw, 28px); padding-bottom: clamp(8px, 2vw, 24px); }
.pp-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 16px; }
.pp-gallery { min-width: 0; }
.pp-gallery.has-thumbs { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.pp-gallery__main { position: relative; margin: 0; aspect-ratio: var(--card-ratio); border-radius: var(--r-lg); overflow: hidden; background: var(--hint, var(--surface-2)); }
.pp-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.pp-gallery__main .pp-gallery__fallback { object-fit: contain; padding: 22%; background: var(--surface-2); }
.pp-gallery__main .product-card__badges { position: absolute; top: 14px; left: 14px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pp-thumbs { order: -1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pp-thumb { display: block; width: 76px; aspect-ratio: 3 / 4; padding: 0; border: 1.5px solid transparent; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); transition: border-color var(--t-fast); }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-thumb:hover { border-color: var(--line-strong); }
.pp-thumb[aria-pressed="true"] { border-color: var(--ink); }
.pp-thumb:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* desktop (agentP2): galeria e sticky și încape mereu în ecran (înălțimea imaginii ≤ fereastra), iar coloana din dreapta
   (cumpărare + Detalii + Distribuie) defilează natural lângă ea — fără gol mare lângă imaginea înaltă */
@media (min-width: 861px) {
  .pp-gallery { position: sticky; top: calc(var(--header-offset) + 16px); }
  .pp-gallery__main { width: min(100%, calc((100svh - var(--header-offset) - 40px) * .75)); margin-inline: auto; }
  .pp-gallery.has-thumbs .pp-thumbs { height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; padding: 2px; margin: -2px; }
  .pp-gallery.has-thumbs .pp-thumb { flex: none; }
}

.pp-info { min-width: 0; }
.pp-brand { margin: 0 0 6px; font: 700 var(--fs-sm)/1.3 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.pp-brand a { text-decoration: none; }
.pp-title { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.5rem); margin: 0 0 6px; overflow-wrap: anywhere; }
.pp-sub { margin: 0; color: var(--ink-3); font-size: var(--fs-sm); }
.pp-buy { margin-top: clamp(18px, 2.4vw, 28px); padding: clamp(18px, 2vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pp-buy__label { margin: 0 0 4px; font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.pp-buy.is-unavailable .pp-buy__label { color: var(--up); font-size: var(--fs-base); }
.pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.pp-price__now { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); line-height: 1.1; }
.pp-price .price-old { font-size: var(--fs-md); }
.pp-price .badge { align-self: center; }
.pp-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 0; font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.45; }
.pp-note .ico { width: 15px; height: 15px; margin-top: 1px; }
.pp-note--warn { color: var(--up); }
.pp-unavailable { margin: 6px 0 0; color: var(--ink-2); font-size: var(--fs-sm); }
.pp-actions { display: flex; gap: 10px; margin-top: 18px; }
.pp-cta { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
.pp-fav .ico { width: 22px; height: 22px; }
.pp-fav .ico--on { display: none; }
.pp-fav[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); }
.pp-fav[aria-pressed="true"] .ico--on { display: block; fill: currentColor; stroke: currentColor; }
.pp-fav[aria-pressed="true"] .ico--off { display: none; }
.pp-fav.is-pop { animation: favPop 520ms var(--ease-out); }
.pp-facts { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: var(--fs-sm); color: var(--ink-2); }
.pp-facts > li { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; }
.pp-facts > li:not(.trend) .ico { width: 16px; height: 16px; color: var(--ink-3); }
.pp-facts > li.trend { padding-right: 10px; }
.pp-disclosure { margin: 16px 0 0; }
.pp-jump { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: var(--fs-sm); }
.pp-jump a { color: var(--ink-2); text-underline-offset: 4px; }
.pp-jump a:hover { color: var(--accent); }

.pp-section { margin-top: clamp(40px, 5vw, 80px); scroll-margin-top: calc(var(--header-offset) + 16px); }
.pp-offers { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: var(--fs-sm); }
.pp-offers th, .pp-offers td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.pp-offers tbody tr:last-child > * { border-bottom: 0; }
.pp-offers thead th { padding-block: 10px; font: 600 var(--fs-xs)/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.pp-offers tr.is-best > * { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); }
.pp-offers tr.is-off { color: var(--ink-3); }
.pp-offers__store { font-weight: 400; }
.pp-offers__store a { font-weight: 650; text-decoration: none; color: var(--ink); margin-right: 8px; }
.pp-offers__store a:hover { color: var(--accent); }
.pp-offers__store .badge { vertical-align: middle; }
.pp-offers__price { white-space: nowrap; }
.pp-offers__price .price-old { margin-left: 6px; }
.pp-offers__ship { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
.pp-offers__seen { color: var(--ink-3); white-space: nowrap; }
.pp-offers__cta { text-align: right; white-space: nowrap; }
.pp-offers__cta .btn .ico { width: 14px; height: 14px; }
.pp-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pp-sizes > span { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 6px; font: 600 11px/1 var(--font-sans); color: var(--ink-2); }
@media (max-width: 760.98px) {
  .pp-offers, .pp-offers tbody { display: block; border: 0; background: none; border-radius: 0; overflow: visible; }
  .pp-offers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pp-offers tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
  .pp-offers tr.is-best { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); border-color: transparent; }
  .pp-offers th, .pp-offers td, .pp-offers tr.is-best > * { padding: 0; border: 0; background: none; }
  .pp-offers__price { text-align: right; }
  .pp-offers__avail, .pp-offers__seen, .pp-offers__cta { grid-column: 1 / -1; }
  .pp-offers__seen::before { content: "Actualizat: "; }
  .pp-offers__cta { text-align: left; margin-top: 6px; }
  .pp-offers__cta .btn { width: 100%; }
}

.pp-history__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.pp-chart { margin: 0; padding: clamp(14px, 2vw, 24px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pp-chart--empty { border: 0; }
.pp-chart__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pp-chart__tabs[hidden] { display: none; }
.pp-chart__plot { position: relative; height: clamp(180px, 20vw, 240px); color: var(--accent); touch-action: pan-y; }
.pp-chart__svg { width: 100%; height: 100%; overflow: visible; }
.pp-chart__line { fill: none; stroke: currentColor; stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.pp-chart__area { fill: color-mix(in srgb, currentColor 12%, transparent); stroke: none; }
.pp-chart__grid { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.pp-chart__y { position: absolute; left: 0; z-index: 1; transform: translateY(-50%); padding: 1px 6px 1px 0; background: var(--surface); font: 600 var(--fs-xs)/1.3 var(--font-sans); color: var(--ink-3); font-variant-numeric: tabular-nums; pointer-events: none; }
.pp-chart__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.pp-chart__tip { position: absolute; top: -6px; z-index: 3; transform: translate(-50%, -100%); padding: 5px 9px; border-radius: var(--r-sm); background: var(--ink); color: var(--bg); font: 600 var(--fs-xs)/1.3 var(--font-sans); white-space: nowrap; pointer-events: none; font-variant-numeric: tabular-nums; }
.pp-chart__tip[hidden] { display: none; }
.pp-chart__x { display: flex; justify-content: space-between; margin-top: 8px; font-size: var(--fs-xs); color: var(--ink-3); }
.pp-chart__cap { margin-top: 10px; font-size: var(--fs-sm); color: var(--ink-3); }
.pp-stats { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-stats > div { padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pp-stats dt { font-size: var(--fs-xs); color: var(--ink-3); }
.pp-stats dd { margin: 4px 0 0; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

.pp-about__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pp-desc h3 { font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 650; margin: 0 0 8px; }
.pp-desc .prose p { margin: 0 0 .8em; }
.pp-details { margin: 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.pp-details > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pp-details dt { color: var(--ink-3); }
.pp-details dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

@media (max-width: 1100.98px) { .pp-history__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .pp-about__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .pp-top { grid-template-columns: minmax(0, 1fr); }
  .pp-gallery.has-thumbs { grid-template-columns: minmax(0, 1fr); }
  .pp-thumbs { order: 1; flex-direction: row; overflow-x: auto; }
  .pp-thumb { width: 64px; flex: none; }
  /* pe ecrane înguste imaginea nu ocupă tot primul ecran: prețul și butonul rămân aproape */
  .pp-gallery__main { width: 100%; max-width: min(560px, 44vh); margin-inline: auto; }
  .pp-thumbs { justify-content: center; }
}
@media (max-width: 340px) { .pp-stats { grid-template-columns: minmax(0, 1fr); } }
/* --- agentP2: galerie (mărire, contor, swipe), carduri „Detalii” + „Distribuie”, raportare, lightbox --- */
.pp-gallery__main { touch-action: pan-y; }
.pp-gallery__open { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: zoom-in; }
.pp-gallery__open[hidden] { display: none; }
.pp-gallery__open:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.pp-gallery__zoom { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--ink); box-shadow: var(--shadow-2); transition: transform var(--t-fast) var(--ease-out); }
.pp-gallery__zoom .ico { width: 20px; height: 20px; }
.pp-gallery__open:hover .pp-gallery__zoom { transform: scale(1.08); }
.pp-gallery__count { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: none; padding: 6px 10px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--ink); font: 650 var(--fs-xs)/1 var(--font-sans); font-variant-numeric: tabular-nums; pointer-events: none; }

.pp-card { margin-top: 16px; padding: 18px 20px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.pp-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.pp-card__title { margin: 0; font: 650 var(--fs-base)/1.3 var(--font-sans); letter-spacing: 0; }
.pp-card__more { font-size: var(--fs-sm); color: var(--ink-2); text-underline-offset: 4px; }
.pp-card__more:hover { color: var(--accent); }
.pp-kf__list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: var(--fs-sm); }
.pp-kf__row { display: grid; align-content: start; gap: 2px; padding: 9px 0; border-top: 1px solid var(--line); min-width: 0; }
.pp-kf__row:nth-child(-n + 2) { border-top: 0; padding-top: 0; }
.pp-kf__row--sizes { grid-column: 1 / -1; }
.pp-kf__row dt { font-size: var(--fs-xs); color: var(--ink-3); }
.pp-kf__row dd { margin: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }
.pp-kf__row dd a { color: inherit; text-underline-offset: 3px; }
.pp-kf__row dd a:hover { color: var(--accent); }
/* „Mărimi” e ultimul rând, pe toată lățimea: când e al doilea element, nu face parte din primul rând */
.pp-kf__row--sizes:nth-child(2) { border-top: 1px solid var(--line); padding-top: 9px; }

.pp-share__nets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pp-share__nets > li[hidden] { display: none; }
.pp-share__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.pp-share__btn .ico { width: 20px; height: 20px; }
.pp-share__btn:hover { transform: translateY(-1px); color: #fff; border-color: transparent; background: var(--net, var(--ink)); }
.pp-share__btn:active { transform: none; }
.pp-share__btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pp-share__btn--whatsapp { --net: #1f9e52; }
.pp-share__btn--facebook { --net: #1877f2; }
.pp-share__btn--pinterest { --net: #e60023; }
.pp-share__btn--x { --net: #15120f; }
.pp-share__btn--telegram { --net: #229ed9; }
.pp-share__btn--mail, .pp-share__btn--native { --net: var(--accent); }
.pp-share__btn--copy { --net: var(--accent); } /* ca e-mailul: pe tema închisă var(--ink) e deschis, iar pictograma albă dispărea la hover */
.pp-share__btn--copy.is-done, .pp-share__btn--copy.is-done:hover { --net: var(--ok, #1f7a4d); color: #fff; border-color: transparent; background: var(--ok, #1f7a4d); }

.pp-report-link { display: flex; align-items: center; gap: 5px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--ink-3); font: 500 var(--fs-xs)/1.3 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); cursor: pointer; }
.pp-report-link[hidden] { display: none; }
.pp-report-link .ico { width: 13px; height: 13px; }
.pp-report-link:hover { color: var(--accent); }
.pp-report-link:disabled { cursor: default; text-decoration: none; color: var(--ok, #1f7a4d); }
.pp-report__lead { margin: 6px 0 0; color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5; }
.pp-report__reasons { margin: 16px 0; padding: 0; border: 0; display: grid; gap: 10px; }
.pp-report__reasons legend { margin-bottom: 8px; padding: 0; }
.pp-report__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pp-report__note { margin: 12px 0 0; }
.pp-report__error { margin: 12px 0 0; color: var(--up); font-size: var(--fs-sm); }
.pp-report__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pp-report .textarea { min-height: 84px; }

/* galeria pe tot ecranul (dialog modal creat din JS) */
html.pp-lb-open { overflow: hidden; }
.pp-lb { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 10, 9, .96); color: #fff; overflow: hidden; }
.pp-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.pp-lb::backdrop { background: rgba(12, 10, 9, .96); }
.pp-lb__bar { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; padding: max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left)); }
.pp-lb__count { font: 650 var(--fs-sm)/1 var(--font-sans); font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .86); }
.pp-lb__tools { display: flex; gap: 8px; margin-left: auto; }
.pp-lb__btn, .pp-lb__nav { display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background var(--t-fast); }
.pp-lb__btn { width: 44px; height: 44px; }
.pp-lb__btn .ico { width: 22px; height: 22px; }
.pp-lb__btn:hover, .pp-lb__nav:hover { background: rgba(255, 255, 255, .22); }
.pp-lb__btn:focus-visible, .pp-lb__nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.pp-lb__btn[aria-pressed="true"] { background: #fff; color: #15120f; }
.pp-lb__stage { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; min-height: 0; overflow: hidden; padding: 0 clamp(64px, 7vw, 104px) clamp(12px, 3vh, 32px); touch-action: pinch-zoom; }
.pp-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; cursor: zoom-in; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; transition: transform 240ms var(--ease-out); }
.pp-lb.is-zoomed .pp-lb__img { transform: scale(2.2); cursor: zoom-out; transition: transform 240ms var(--ease-out), transform-origin 80ms linear; }
.pp-lb.is-zoomed .pp-lb__stage { touch-action: none; }
.pp-lb__nav { position: absolute; top: 50%; z-index: 3; width: 52px; height: 52px; transform: translateY(-50%); }
.pp-lb__nav .ico { width: 26px; height: 26px; }
.pp-lb__nav--prev { left: max(12px, env(safe-area-inset-left)); }
.pp-lb__nav--next { right: max(12px, env(safe-area-inset-right)); }
@media (max-width: 600px) {
  .pp-lb__stage { padding: 0 0 calc(76px + env(safe-area-inset-bottom)); }
  .pp-lb__nav { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; width: 48px; height: 48px; }
  .pp-lb__nav--prev { left: calc(50% - 60px); }
  .pp-lb__nav--next { right: calc(50% - 60px); }
}
@media (prefers-reduced-motion: reduce) { .pp-lb__img, .pp-lb.is-zoomed .pp-lb__img, .pp-gallery__zoom, .pp-share__btn { transition: none; } }
:root[data-theme="dark"] .pp-share__btn--x { --net: #f3eee8; }
:root[data-theme="dark"] .pp-share__btn--x:hover { color: #15120f; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pp-share__btn--x { --net: #f3eee8; }
  :root:not([data-theme="light"]) .pp-share__btn--x:hover { color: #15120f; }
}
@media (max-width: 860px) {
  .pp-gallery__count { display: block; left: 12px; bottom: 19px; } /* centrat vertical cu butonul de mărire (38 px) */
  .pp-gallery__zoom { width: 38px; height: 38px; right: 12px; bottom: 12px; }
}
@media (max-width: 360px) { .pp-kf__list { grid-template-columns: minmax(0, 1fr); } .pp-kf__row:nth-child(2) { border-top: 1px solid var(--line); padding-top: 9px; } }
/* === sfârșit agentP === */

/* === Date: alerte, similare, grafic (owner: agentData) === */
/* grafic: tooltipul poate avea două rânduri (data + „minimul a N zile”) */
.pp-chart__tip { white-space: normal; width: max-content; max-width: min(260px, 72vw); text-align: center; }
.pp-chart[aria-busy="true"] .pp-chart__plot { opacity: .55; transition: opacity var(--t-fast); }
.pp-chart__tabs { flex-wrap: wrap; }

/* „Anunță-mă când scade prețul” (site/partials/price-alert.php + assets/js/alerts.js) */
.pa { margin-top: 14px; }
.pa > summary { list-style: none; width: 100%; justify-content: center; gap: 8px; cursor: pointer; }
.pa > summary::-webkit-details-marker { display: none; }
.pa[open] > summary { border-color: var(--ink); }
.pa__form { display: grid; gap: 14px; margin-top: 12px; padding: clamp(14px, 2vw, 20px); border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.pa__lead { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.pa__field { display: grid; gap: 6px; }
.pa__field label, .pa__types legend { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.pa__types { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pa__types legend { padding: 0; margin-bottom: 8px; }
.pa__opt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-height: 38px; }
.pa__inline { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.pa__inline .input { width: 7.5em; min-height: 38px; padding: 6px 10px; }
.pa__inline .select { width: auto; min-height: 38px; padding: 6px 30px 6px 10px; }
.pa__inline :disabled { opacity: .55; }
.pa__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pa__consent { font-size: var(--fs-xs); color: var(--ink-2); }
.pa__consent a { color: inherit; text-decoration: underline; }
.pa__actions .btn { width: 100%; justify-content: center; }
.pa__msg { margin: 0; padding: 10px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); background: var(--surface-2); color: var(--ink); }
.pa__msg--ok { background: var(--down-soft); color: var(--down); }
.pa__msg--error { background: var(--up-soft); color: var(--up); }
.pa__form[aria-busy="true"] .pa__actions .btn { opacity: .6; pointer-events: none; }
@media (max-width: 420px) { .pa__opt > .check { flex: 1 1 100%; } .pa__inline { margin-left: 30px; } }
/* === sfârșit agentData === */
/* === Articol (owner: agentAI2, apoi agentSite2) === */
/* Antet editorial CENTRAT deasupra imaginii principale: breadcrumb, etichetă, H1, rezumat, autor/date, nota AI — coloană de
   max. 960 px, centrată în container, text centrat la orice lățime (înainte stătea lipit în stânga, pe toată lățimea).
   Corpul + cuprinsul de dedesubt rămân neschimbate. */
.article-head.article-head--center { max-width: 960px; margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; padding-block: clamp(24px, 4vw, 56px) clamp(20px, 2.6vw, 36px); }
.article-head--center .breadcrumbs { align-self: stretch; }
.article-head--center .breadcrumbs ol { justify-content: center; }
.article-head--center > .eyebrow { margin-top: var(--s4); }
.article-head--center .article-head__title { max-width: 22ch; margin: 12px auto 14px; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 4.2rem); line-height: 1.05; text-wrap: balance; }
.article-head--center .lead { max-width: 64ch; margin: 0 auto; font-size: clamp(var(--fs-md), .95rem + .35vw, 1.25rem); text-wrap: pretty; }
.article-head--center .byline { justify-content: center; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); gap: 8px 18px; min-width: min(100%, 520px); }
.article-head--center .ai-note { display: block; text-align: center; max-width: 92ch; margin: 10px auto 0; text-wrap: balance; }
.article-head--center .ai-note .ico { display: inline-block; vertical-align: -3px; margin-right: 6px; }
/* „Despre acest articol”: autor, date, cum sunt alese produsele (semnale E-E-A-T) */
.article-about { margin: clamp(28px, 4vw, 48px) 0 0; padding: 18px 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.article-about__title { font-family: var(--font-sans); font-size: var(--fs-base); font-weight: 650; margin: 0 0 10px; color: var(--ink); }
.article-about__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 10px; }
.article-about__meta div { min-width: 0; }
.article-about__meta dt { font-size: var(--fs-xs); color: var(--ink-3); }
.article-about__meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.article-about p { margin: 0; max-width: 80ch; }
@media (max-width: 600px) {
  .article-head--center .article-head__title { font-size: clamp(1.9rem, 1.2rem + 4.4vw, 2.6rem); max-width: none; }
  .article-head--center .byline { min-width: 0; }
  .article-about { padding: 14px 16px; }
}
/* === sfârșit === */

/* === Runda agentSite2 (13.11.2026): încadrarea imaginilor, căutarea extinsă, mișcare lină === */

/* --- Încadrare: imaginile decupate cu object-fit: cover se centrau vertical → capul modelelor / partea de sus a obiectelor
   ieșeau din cadru. Implicit: cadrul ancorat spre partea de sus. Alegerea din admin (categories.hero_focus, „Punct de
   focalizare” la hero) sau punctul focal din metadatele imaginii vin ca --fx/--fy pe <img> (Services/Storefront/Focal). */
.hero__media img, .hero__media video { object-position: var(--fx, 50%) var(--fy, 10%); }
.page-hero > img { object-position: var(--fx, 50%) var(--fy, 5%); } /* bandă foarte lată (~4:1): decupajul vertical e mare */
.cat-tile img, .mega__tile img, .collection-card > img { object-position: var(--fx, 50%) var(--fy, 8%); }
.promo-card__bg { object-position: var(--fx, 50%) var(--fy, 12%); }
.article-hero img { object-position: var(--fx, 50%) var(--fy, 6%); }
.article-card__media img { object-position: var(--fx, 50%) var(--fy, 20%); }
.blk-gallery__grid img { object-position: 50% 25%; }
/* fotografii de produs (modele 2:3 în cadru 3:4, obiecte întregi): sus, cu o margine mică */
.product-card__media img:not(.img-fallback), .pp-gallery__main img:not(.pp-gallery__fallback), .pp-thumb img, .promo-card__shot img { object-position: 50% 12%; }
/* hero: cadrul imaginii = cadrul secțiunii (înainte depășea 6 % în sus pentru parallax și ascundea exact partea de sus);
   parallax-ul (site.js) mărește imaginea din marginea de jos cât o coboară → sus nu apare niciodată un gol */
.hero__media { inset: 0; transform-origin: 50% 100%; }

/* --- Imaginile apar cu fade după încărcare (fără „pop-in” / decodare progresivă vizibilă). Dimensiunile sunt deja rezervate
   (width/height, aspect-ratio) → fără CLS. site.js pune .is-loaded; plasă de siguranță: apar oricum după 4 s. */
.hero__media img, .page-hero > img, .cat-tile img, .collection-card > img, .article-card__media img, .article-hero img, .promo-card__bg, .promo-card__shot img, .search__thumb img, .pp-thumb img, .blk-gallery__grid img { transition: opacity 320ms var(--ease), transform 1.2s var(--ease-out); }
.js :is(.hero__media img, .page-hero > img, .cat-tile img, .collection-card > img, .article-card__media img, .article-hero img, .promo-card__bg, .promo-card__shot img, .search__thumb img, .pp-thumb img, .blk-gallery__grid img):not(.is-loaded) { opacity: 0; animation: stlImgSafety 1ms linear 4s forwards; }
@keyframes stlImgSafety { to { opacity: 1; } }

/* --- Căutarea se extinde peste navigare (desktop, antet „full” / „stacked”; site.js → .is-expanded + --sx-l/--sx-r).
   Celula din grilă își păstrează mărimea (44 px înălțime): câmpul e absolut și se lățește spre stânga (full) sau în ambele
   părți (stacked) → logo-ul, navigarea și pictogramele nu se mișcă; navigarea se estompează dedesubt. */
@media (min-width: 1101px) {
  .site-header:not([data-nav="compact"]) .search { height: 44px; z-index: 3; }
  .site-header:not([data-nav="compact"]) .search__form { position: absolute; top: 0; left: 0; right: 0; transition: left var(--t) var(--ease-out), right var(--t) var(--ease-out); }
  .site-header:not([data-nav="compact"]) .search.is-expanded .search__form,
  .site-header:not([data-nav="compact"]) .search.is-expanded .search__panel { left: calc(-1 * var(--sx-l, 0px)); right: calc(-1 * var(--sx-r, 0px)); }
  .site-header:not([data-nav="compact"]) .search__panel { transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease-out), left var(--t) var(--ease-out), right var(--t) var(--ease-out); }
  .site-header:not([data-nav="compact"]) .search.is-expanded .search__input { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent), var(--shadow-2); }
  .site-header .nav { transition: opacity var(--t) var(--ease) 60ms, visibility 0s; }
  .site-header.is-search-wide:not([data-nav="compact"]) .nav { opacity: 0; visibility: hidden; transition: opacity var(--t-fast) var(--ease), visibility 0s linear var(--t-fast); }
}
/* Panoul de sugestii: lat → două coloane (produse | categorii, branduri, magazine, căutări); îngust → o coloană */
.search__panel { container-type: inline-size; max-height: min(76vh, 680px); padding: var(--s2) var(--s2) var(--s1); }
.search__cols { display: grid; grid-template-columns: minmax(0, 1fr); }
.search__main, .search__side { min-width: 0; }
.search__cols.is-swap { animation: stlFadeIn 180ms var(--ease); }
.search__catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: var(--s2); }
.search__side { border-top: 1px solid var(--line); }
@container (min-width: 700px) {
  .search__cols--split { grid-template-columns: minmax(0, 1fr) clamp(230px, 32%, 320px); }
  .search__cols--split .search__side { border-top: 0; border-left: 1px solid var(--line); margin-left: var(--s2); padding-left: var(--s2); }
  .search__side .search__group + .search__group { border-top: 1px solid var(--line); }
}
.search__main > .search__group:first-child, .search__side > .search__group:first-child { border-top: 0; }
.search__group--all .search__opt { color: var(--accent); font-weight: 600; }
.search__group--all .search__go { margin-left: auto; width: 16px; height: 16px; color: currentColor; transition: transform var(--t) var(--ease); }
.search__group--all .search__opt:hover .search__go, .search__group--all .search__opt[aria-selected="true"] .search__go { transform: translateX(3px); }
.search__opt { transition: background var(--t-fast); }
.search__opt--product { gap: 14px; padding: 7px 10px; }
.search__thumb { flex: none; display: grid; place-items: center; width: 48px; height: 64px; border-radius: var(--r-xs); overflow: hidden; background: var(--surface-2); color: var(--ink-3); }
.search__opt .search__thumb img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: 50% 12%; }
.search__pbody { flex: 1; min-width: 0; display: grid; gap: 3px; }
.search__ptitle { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; font-size: var(--fs-sm); }
.search__pbody small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__pricebox { flex: none; display: grid; justify-items: end; gap: 3px; margin-left: auto; text-align: right; }
.search__pricebox .search__price { margin: 0; font-variant-numeric: tabular-nums; }
.search__price.is-sale { color: var(--accent); }
.search__was { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--ink-3); }
.search__was s { font-variant-numeric: tabular-nums; }
.search__disc { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font: 700 11px/1 var(--font-sans); letter-spacing: .02em; }
/* panou foarte lat (câmpul extins până lângă logo): produsele pe două coloane, ca rândurile să nu fie goale la mijloc */
@container (min-width: 1100px) {
  .search__cols--split .search__plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s2); }
}
@container (min-width: 700px) {
  .search__thumb { width: 60px; height: 80px; border-radius: var(--r-sm); }
  .search__ptitle { font-size: var(--fs-base); }
}
.search__skel > .skeleton:first-child { width: 48px; height: 64px; }
@container (min-width: 700px) { .search__skel > .skeleton:first-child { width: 60px; height: 80px; } }

/* --- Trecerea între pagini (View Transitions între documente, @view-transition din §12): doar fondu încrucișat scurt, cu
   aceeași durată și curbă pentru imaginea veche și cea nouă → zonele identice (antetul) rămân perfect pe loc. Erorile
   „Transition was aborted” (navigare rapidă) sunt prinse în theme-init.js; mișcare redusă / animații oprite → fără tranziție. */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; animation-timing-function: cubic-bezier(.4, 0, .2, 1); }

/* --- Dialoguri: intrare și IEȘIRE lină (site.js → StilivoCloseDialog: .is-closing, apoi close()) --- */
.dialog[open]::backdrop { animation: stlFadeIn var(--t) var(--ease); }
.dialog.is-closing { animation: stlDialogOut 180ms var(--ease) forwards; }
.dialog.is-closing::backdrop { animation: stlFadeOut 180ms var(--ease) forwards; }
@keyframes stlFadeIn { from { opacity: 0; } }
@keyframes stlFadeOut { to { opacity: 0; } }
@keyframes stlDialogOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }

/* --- Galeria produsului: imaginea principală trece în cealaltă prin fondu încrucișat (storefront.js: o copie a imaginii vechi
   deasupra, care se stinge după ce noua s-a încărcat); lightbox-ul se deschide/închide cu fade + scale, iar imaginile
   alunecă scurt în direcția navigării (Web Animations, doar opacity/transform). */
.pp-gallery__ghost { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; pointer-events: none; transition: opacity 260ms var(--ease); }
.pp-gallery__ghost.is-out { opacity: 0; }
.pp-lb[open] { animation: stlFadeIn 220ms var(--ease); }
.pp-lb[open]::backdrop { animation: stlFadeIn 220ms var(--ease); }
.pp-lb[open] .pp-lb__img { animation: stlLbImgIn 300ms var(--ease-out); }
.pp-lb[open] .pp-lb__bar, .pp-lb[open] .pp-lb__nav { animation: stlFadeIn 300ms var(--ease) 60ms both; }
.pp-lb.is-closing { animation: stlFadeOut 200ms var(--ease) forwards; }
.pp-lb.is-closing::backdrop { animation: stlFadeOut 200ms var(--ease) forwards; }
.pp-lb.is-closing .pp-lb__img { animation: stlLbImgOut 200ms var(--ease) forwards; }
@keyframes stlLbImgIn { from { opacity: 0; transform: scale(.94); } }
@keyframes stlLbImgOut { to { opacity: 0; transform: scale(.96); } }

/* --- Conținut încărcat din JS (vizualizate recent, favorite, pentru tine, istoric): secțiunea apare cu fade, iar cardurile
   reale înlocuiesc scheletele în cascadă (aceeași animație ca rezultatele filtrelor). */
[data-local-section]:not([hidden]) { animation: stlFadeIn var(--t-slow) var(--ease); }
:is([data-local-target], [data-fav-list], [data-hist-list]) .product-card { animation: cardIn var(--t-slow) var(--ease-out) both; animation-delay: calc(min(var(--i, 0), 12) * 28ms); }

/* --- Bara de anunțuri: închiderea o strânge lin (site.js → .is-closing, apoi data-promo-closed) --- */
.promo-bar.is-closing { overflow: hidden; animation: stlPromoOut 240ms var(--ease) forwards; }
@keyframes stlPromoOut { to { margin-top: calc(-1 * var(--promo-close-h, 38px)); opacity: 0; } }

/* --- Acordeoane (meniul mobil, întrebări frecvente): deschidere lină unde browserul o suportă (::details-content) --- */
@supports selector(::details-content) {
  :root { interpolate-size: allow-keywords; }
  .drawer details::details-content, .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--t) var(--ease), content-visibility var(--t) allow-discrete; }
  .drawer details[open]::details-content, .faq details[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .js :is(.hero__media img, .page-hero > img, .cat-tile img, .collection-card > img, .article-card__media img, .article-hero img, .promo-card__bg, .promo-card__shot img, .search__thumb img, .pp-thumb img, .blk-gallery__grid img):not(.is-loaded) { opacity: 1; animation: none; }
  .pp-gallery__ghost { display: none; }
  .site-header .nav, .site-header:not([data-nav="compact"]) .search__form, .site-header:not([data-nav="compact"]) .search__panel { transition: none !important; }
  .drawer details::details-content, .faq details::details-content { transition: none; }
}
:root[data-motion="off"] :is(.hero__media img, .page-hero > img, .cat-tile img, .collection-card > img, .article-card__media img, .article-hero img, .promo-card__bg, .promo-card__shot img, .search__thumb img, .pp-thumb img, .blk-gallery__grid img) { opacity: 1 !important; }
/* === sfârșit agentSite2 === */

/* === Runda agentSite3 (14.11.2026): fotografii întregi, magazin, filtre, distribuire, antete de secțiune, logo-uri === */

/* --- Fotografii de produs: NU se decupează. Implicit întregi (contain) pe fond alb — fotografiile de produs sunt făcute pe
   alb, deci marginile se contopesc. site.js (fitPhoto) adaugă .is-fill doar când proporția imaginii e aproape de a cadrului
   (≤ 14 % pe verticală, ex. modele 2:3 în cadrul 3:4; ≤ 7 % lateral) → umple cadrul ca înainte. Fondul alb e același în ambele teme.
   Imaginile editoriale (hero, dale de categorie, selecții, articole) rămân cover + punct focal. */
:root { --photo-bg: #ffffff; }
.product-card__media img:not(.img-fallback),
.pp-gallery__main img:not(.pp-gallery__fallback),
.pp-thumb img,
.search__opt .search__thumb img,
.promo-card__shot img,
.mega__tile--product img { object-fit: contain; object-position: 50% 50%; background-color: var(--photo-bg); }
.product-card__media img.is-fill:not(.img-fallback),
.pp-gallery__main img.is-fill:not(.pp-gallery__fallback),
.pp-thumb img.is-fill,
.search__opt .search__thumb img.is-fill,
.promo-card__shot img.is-fill,
.mega__tile--product img.is-fill { object-fit: cover; object-position: 50% 12%; }
.mega__tile--product::after { background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, .72)); }

/* --- Distribuie: culorile rețelelor închise cât să țină pictograma albă la ≥ 4,5:1 (WhatsApp #1f9e52 = 3,5:1, Telegram
   #229ed9 = 3:1 — pictograma abia se vedea pe verde la hover/apăsare). Aceeași stare la hover, apăsare (atingere) și focus.
   Pe noapte accentul e roz deschis → pictograma ia --accent-ink (închis), nu alb. */
.pp-share__btn--whatsapp { --net: #0f7a3d; }
.pp-share__btn--facebook { --net: #0866ff; }
.pp-share__btn--pinterest { --net: #e60023; }
.pp-share__btn--telegram { --net: #17739f; }
.pp-share__btn:is(:hover, :active, :focus-visible) { color: #fff; border-color: transparent; background: var(--net, var(--ink)); }
.pp-share__btn--whatsapp .ico { stroke-width: 1.9; }
.pp-share__btn:is(.pp-share__btn--mail, .pp-share__btn--native):is(:hover, :active, :focus-visible) { color: var(--accent-ink); }
:root[data-theme="dark"] .pp-share__btn--x:is(:hover, :active, :focus-visible) { color: #15120f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pp-share__btn--x:is(:hover, :active, :focus-visible) { color: #15120f; } }

/* --- Cipuri de categorii/branduri (.chips--fit, partialul site/partials/cat-chips): etichete scurte, pe rânduri pe
   desktop; pe telefon un singur rând care defilează în interiorul lui (fără depășirea paginii). */
.chips--fit .muted { font-size: var(--fs-xs); }
@media (max-width: 760px) {
  .chips--fit { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 2px; }
  .chips--fit::-webkit-scrollbar { display: none; }
  .chips--fit .chip { flex: none; white-space: nowrap; padding-block: 0; }
}

/* ── Logo-uri: cutia cu fond alb / negru (partials/logo-box.php, App\Services\Storefront\LogoTone) — 17.11.2026 ──
   Cutie de mărime fixă (o dă componenta care o folosește), logo-ul întreg (contain) cu spațiu în jur. Fond ALB pentru
   logo-urile închise, NEGRU pentru cele deschise / albe — la fel în ambele teme (culorile logo-ului nu se inversează).
   Fără logo: monograma (inițiala) pe fondul accentului; în admin „fără logo” (--none). */
/* grid-template: rândul și coloana = cutia (fără el, height:100% al imaginii se raporta la conținut → logo-ul ieșea din cutie și se tăia jos) */
.logo-box { grid-template: minmax(0, 1fr) / minmax(0, 1fr); --logo-bg: #fff; --logo-edge: rgba(21, 18, 15, .08); --logo-pad: 10px 14px; position: relative; display: grid; place-items: center; min-width: 0; overflow: hidden; border-radius: calc(var(--r) - 4px); background: var(--logo-bg); box-shadow: inset 0 0 0 1px var(--logo-edge); }
.logo-box--dark { --logo-bg: #000; --logo-edge: rgba(255, 255, 255, .12); }
.logo-box > img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: contain; padding: var(--logo-pad); }
.logo-box--text { --logo-bg: var(--accent-soft); --logo-edge: transparent; font-family: var(--font-display); font-weight: var(--fw-display); font-size: 1.6rem; line-height: 1; color: var(--accent); }
.logo-box--none { --logo-bg: transparent; --logo-edge: transparent; border: 1px dashed var(--line-strong); font-size: var(--fs-xs); color: var(--ink-3); }

/* ── Plăcuța de magazin (site/partials/store-card.php → .store-card--tile): cutia logo-ului sus, numele + nr. de produse
   dedesubt. Homepage (carusel .rail--stores: 7 / 6 / 5 / 4 / 2,3 pe rând), /magazine și pagina de brand (grilă). ── */
.store-card--tile { flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 8px 12px; min-width: 0; }
.store-card--tile .store-card__plate { height: 88px; --logo-pad: 14px 18px; }
.store-card--tile .store-card__plate.logo-box--text { font-size: 2rem; }
.store-card__body { display: grid; gap: 2px; min-width: 0; padding-inline: 6px; }
.store-card__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--fs-base); font-weight: 650; line-height: 1.3; }
.store-card__meta { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.35; }
.stores-grid:has(> .store-card--tile) { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 760.98px) {
  .store-card--tile { gap: 8px; padding: 6px 6px 10px; }
  .store-card--tile .store-card__plate { height: 68px; --logo-pad: 10px 12px; }
  .store-card__body { padding-inline: 4px; }
  .stores-grid:has(> .store-card--tile) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ── Pagina de magazin: cardul de profil (17.11.2026) ──
   Un singur card: logo (cutie albă/neagră) | nume, stare, domeniu, descriere scurtă | butoane; dedesubt banda cu cifrele,
   descrierea lungă (dacă există) și condițiile. Toate secțiunile folosesc aceeași margine laterală (--sp-x), deci textul
   din bandă se aliniază cu logo-ul. Desktop: orizontal; ≤ 760 px: logo + nume pe un rând, apoi descrierea și butoanele. */
.store-profile { --sp-x: clamp(18px, 2vw, 28px); margin-top: 14px; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.store-profile__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo id cta" "logo lead cta"; align-items: center; column-gap: clamp(16px, 2.2vw, 32px); padding: clamp(18px, 2vw, 28px) var(--sp-x); }
.store-profile__logo { grid-area: logo; width: clamp(136px, 11vw, 176px); aspect-ratio: 8 / 5; --logo-pad: 12% 11%; border-radius: var(--r); }
.store-profile__logo.logo-box--text { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.store-profile__id { grid-area: id; align-self: end; min-width: 0; }
.store-profile__name { margin: 4px 0 8px; overflow-wrap: anywhere; }
.store-profile__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: var(--fs-sm); color: var(--ink-3); }
.store-profile__meta .badge .ico { width: 14px; height: 14px; }
.store-profile__domain { min-width: 0; overflow-wrap: anywhere; }
.store-profile__lead { grid-area: lead; align-self: start; margin: 12px 0 0; max-width: 68ch; color: var(--ink-2); font-size: var(--fs-base); line-height: 1.6; }
.store-profile__cta { grid-area: cta; display: grid; gap: 8px; min-width: 196px; }
.store-profile__cta .btn { justify-content: center; }
.store-profile__cta .btn .ico { width: 16px; height: 16px; }
/* banda cu cifre: rânduri care se rup (5 → 3 + 2 pe tabletă, 2 pe rând pe telefon), fără celule goale; liniile despărțitoare
   sunt umbre de 1px în stânga/sus ale fiecărei celule (nu ocupă loc → textul se aliniază exact cu logo-ul); cea a primei
   coloane cade în afara cardului și e tăiată de overflow */
.store-profile__facts { display: flex; flex-wrap: wrap; margin: 0; background: color-mix(in srgb, var(--surface-2) 50%, var(--surface)); }
.store-profile__facts > div { flex: 1 1 190px; min-width: 0; padding: clamp(14px, 1.4vw, 18px) var(--sp-x); box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.store-profile__facts dt { font-size: var(--fs-xs); color: var(--ink-3); letter-spacing: .02em; }
.store-profile__facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-lg); line-height: 1.2; overflow-wrap: anywhere; }
.store-profile__facts dd small { font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-xs); color: var(--ink-3); }
.store-profile__about { margin: 0; padding: clamp(16px, 1.8vw, 22px) var(--sp-x) 0; max-width: calc(76ch + 2 * var(--sp-x)); }
.store-profile__about > :last-child { margin-bottom: 0; }
.store-profile__foot { display: grid; gap: 8px; padding: 14px var(--sp-x) clamp(16px, 1.8vw, 20px); }
.store-profile__facts + .store-profile__foot { border-top: 1px solid var(--line); }
.store-profile__note { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.store-profile__note .ico { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--ink-3); }
.store-profile__fine { margin: 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-3); }
@media (max-width: 760.98px) {
  .store-profile__top { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo id" "lead lead" "cta cta"; column-gap: 14px; }
  .store-profile__logo { width: 96px; --logo-pad: 10px 10px; border-radius: calc(var(--r) - 4px); }
  .store-profile__logo.logo-box--text { font-size: 2rem; }
  .store-profile__id { align-self: center; }
  .store-profile__name { margin: 2px 0 6px; font-size: var(--fs-xl); }
  .store-profile__lead { margin-top: 14px; font-size: var(--fs-sm); }
  .store-profile__cta { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); min-width: 0; margin-top: 16px; }
  .store-profile__facts > div { flex-basis: 140px; padding-block: 12px; }
}
/* ── sfârșit Pagina de magazin: cardul de profil ── */

/* --- Filtre: prețul (câmpuri compacte cu „lei” + glisor cu două mânere) și aceeași distanță între rândurile tuturor
   listelor de bife (Brand/Magazin erau într-un bloc fără gap, mai înghesuite decât Material/Stil). */
.filters .price-range { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 6px; }
.price-range__sep { padding-bottom: 10px; color: var(--ink-3); }
.price-field { display: grid; gap: 4px; min-width: 0; }
.price-field__cap { font-size: var(--fs-xs); color: var(--ink-3); }
.price-field__box { position: relative; display: block; min-width: 0; }
.filters .price-field .input { width: 100%; min-height: 40px; padding: 8px 30px 8px 10px; font-size: var(--fs-sm); font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.filters .price-field .input::-webkit-outer-spin-button, .filters .price-field .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filters .price-field .input::placeholder { color: var(--ink-3); opacity: 1; }
.price-field__unit { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: var(--fs-xs); color: var(--ink-3); pointer-events: none; }
@media (pointer: coarse) { .filters .price-field .input { font-size: 16px; } } /* iOS: sub 16 px câmpul mărește pagina la focus */
.price-slider { --lo: 0%; --hi: 100%; --thumb: 22px; position: relative; height: 32px; margin: 10px 2px 0; }
.price-slider[hidden] { display: none; }
.price-slider__track { position: absolute; left: calc(var(--thumb) / 2); right: calc(var(--thumb) / 2); top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--line-strong); }
.price-slider__fill { position: absolute; top: 0; bottom: 0; left: var(--lo); right: calc(100% - var(--hi)); border-radius: 2px; background: var(--accent); }
.price-slider input[type="range"] { -webkit-appearance: none; appearance: none; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: none; pointer-events: none; z-index: 1; }
.price-slider input.is-top { z-index: 2; }
.price-slider input[type="range"]::-webkit-slider-runnable-track { height: 100%; background: none; border: 0; }
.price-slider input[type="range"]::-moz-range-track { height: 100%; background: none; border: 0; }
.price-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; width: var(--thumb); height: var(--thumb); margin-top: calc((32px - var(--thumb)) / 2); border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); box-shadow: var(--shadow-1); cursor: grab; transition: box-shadow var(--t-fast); }
.price-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; width: var(--thumb); height: var(--thumb); box-sizing: border-box; border-radius: 50%; border: 2px solid var(--accent); background: var(--surface); box-shadow: var(--shadow-1); cursor: grab; }
.price-slider input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.price-slider input[type="range"]:focus { outline: none; }
.price-slider input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus); }
.price-slider input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--focus); }
@media (pointer: coarse) { .price-slider { --thumb: 26px; height: 36px; } .price-slider input[type="range"]::-webkit-slider-thumb { margin-top: calc((36px - var(--thumb)) / 2); } }
.filters .filter-group__body--scroll { display: grid; gap: 8px; align-content: start; }
.filters .filter-group__body > .filter-row, .filters .filter-group__body--scroll > .filter-row { min-height: 26px; }
/* bifele/butoanele radio nebifate: conturul --line-strong avea ~1,6:1 față de fundal (zi și noapte) → abia se vedeau;
   derivat din --ink ajunge la ≈ 3:1 (minimul pentru componente de interfață) în ambele teme */
.check input:not(:checked) { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }
/* mostrele de culoare: conturul derivat din --ink (≈ 3:1 față de fundal în ambele teme) → negrul se vede noaptea, albul ziua */
.swatch { border-color: color-mix(in srgb, var(--ink) 45%, transparent); }

/* --- Suprafețe inversate (fundal --ink, text --bg): banda de newsletter și cardul de newsletter din grilă. Noaptea --ink e
   DESCHIS, iar câmpul și bifele aveau culori albe fixe (rgba(255,255,255,…)) → invizibile pe cardul deschis. Toate se
   derivă acum din --bg (culoarea textului suprafeței), deci funcționează în ambele teme. Bifa activă = „negativul”
   suprafeței (pătrat --bg, semn --ink), contrast maxim zi și noapte. */
:is(.newsletter-band, .feed-card) .input { background: color-mix(in srgb, var(--bg) 9%, transparent); border-color: color-mix(in srgb, var(--bg) 38%, transparent); color: var(--bg); }
:is(.newsletter-band, .feed-card) .input::placeholder { color: color-mix(in srgb, var(--bg) 62%, transparent); }
:is(.newsletter-band, .feed-card) .input:focus { border-color: var(--bg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bg) 18%, transparent); }
:is(.newsletter-band, .feed-card) .check { color: color-mix(in srgb, var(--bg) 88%, transparent); }
:is(.newsletter-band, .feed-card) .check input { border-color: color-mix(in srgb, var(--bg) 62%, transparent); background: transparent; }
:is(.newsletter-band, .feed-card) .check input::after { border-color: var(--ink); }
:is(.newsletter-band, .feed-card) .check input:checked { background: var(--bg); border-color: var(--bg); }
:is(.newsletter-band, .feed-card) .check input:focus-visible { outline-color: var(--bg); }
:is(.newsletter-band, .feed-card) a:not(.btn) { color: inherit; }
:root { --inv-ok: #8fe3b4; --inv-err: #ffb4a8; }
:root[data-theme="dark"] { --inv-ok: #17703f; --inv-err: #b42318; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --inv-ok: #17703f; --inv-err: #b42318; } }
:is(.newsletter-band, .feed-card) .form-msg.is-ok { color: var(--inv-ok); }
:is(.newsletter-band, .feed-card) .form-msg.is-err { color: var(--inv-err); }

/* --- Antetele secțiunilor cu imagine (Storefront\SectionHero, partialul site/partials/section-hero-img): Reduceri, Black
   Friday, Branduri, Magazine, Selecții, Articole, Ghiduri, Recomandări, Newsletter, Toate categoriile. Fără imagine paginile
   își păstrează antetul obișnuit. Gradientul ține textul lizibil pe orice fotografie (jos + stânga, unde stă textul). */
.page-hero--photo { background: #15120f; }
.page-hero--photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, .34) 45%, rgba(0, 0, 0, .74) 100%), linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 70%); }
@media (max-width: 760px) { .page-hero--photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .78) 100%); } } /* pe telefon textul acoperă aproape toată imaginea */
.page-hero--photo h1, .page-hero--photo p { text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.page-hero--section { margin-block: clamp(14px, 2vw, 24px) clamp(20px, 3vw, 36px); }
.page-hero--section .page-head__title { margin: 0; }
.page-hero--section .lead { color: rgba(255, 255, 255, .88); }
.page-hero--section .page-head__title .muted { color: rgba(255, 255, 255, .7); }

/* --- Logo-uri de brand / magazin (brands.logo_path, stores.logo_path; SVG/PNG transparente): pe o plăcuță deschisă,
   aceeași în ambele teme — logo-urile sunt desenate pentru fundal deschis; fără inversare/filtre de culoare. */
:root { --logo-plate: #ffffff; }
.brand-tile--logo { display: grid; grid-template-rows: auto auto; place-items: stretch; align-content: start; gap: 10px; padding: 10px 10px 12px; }
.brand-tile__plate { display: grid; place-items: center; min-width: 0; height: 64px; padding: 10px 14px; border-radius: calc(var(--r) - 4px); background: var(--logo-plate); box-shadow: inset 0 0 0 1px rgba(21, 18, 15, .06); }
:root .brand-tile--logo .brand-tile__plate img { display: block; width: 100%; height: 40px; max-height: none; object-fit: contain; filter: none; opacity: 1; } /* cutie fixă: fără CLS, iar lazy-load are o țintă */
.brand-tile__name { display: block; font-size: var(--fs-sm); line-height: 1.25; overflow-wrap: anywhere; }
.rail--brands .brand-tile--logo { min-height: 0; }
.brand-wall { grid-auto-rows: 1fr; } /* rânduri egale când unele dale au logo (mai înalte) */
.entity-head__logo:not(.entity-head__logo--text) { background: var(--logo-plate); }
.entity-head__logo.logo-box { --logo-pad: 12%; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; }
.entity-head__logo.logo-box--dark { background: #000; }
.store-card__logo:has(img) { background: var(--logo-plate); }
.mega__brand--logo { padding: 4px 12px; background: var(--logo-plate); border-color: var(--line); }
.mega__brand--logo img { display: block; width: 72px; height: 20px; object-fit: contain; }
.mega__brand--logo:hover { border-color: var(--ink); background: var(--logo-plate); }
/* logo alb / deschis (LogoTone::DARK, ex. Carolina Lemke): plăcuță neagră, altfel e alb pe alb */
.brand-tile__plate--dark, .mega__brand--logo.mega__brand--dark, .mega__brand--logo.mega__brand--dark:hover { background: #000; }
.brand-tile__plate--dark { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
/* === sfârșit agentSite3 === */

/* === Variante de culoare pe pagina de produs (ProductPage::colorVariants) ===
   Selectorul de sub titlu: fiecare culoare a aceluiași model e un produs separat (un produs = stil + culoare), deci mostrele
   sunt linkuri spre paginile lor; culoarea afișată e marcată cu inel. Culorile necunoscute dicționarului au mostră hașurată. */
.pp-colors { margin-top: 14px; }
.pp-colors__label { margin: 0 0 8px; font-size: var(--fs-sm); color: var(--ink-3); }
.pp-colors__label b { color: var(--ink); font-weight: 600; }
.pp-colors__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 3px 0; list-style: none; } /* fără padding lateral: mostrele se aliniază cu titlul */
.pp-colors__list li { display: flex; }
.pp-swatch { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; text-decoration: none; box-shadow: 0 0 0 1px var(--line-strong); transition: box-shadow var(--t-fast); }
.pp-swatch__dot { width: 30px; height: 30px; border-radius: 50%; background: var(--sw, var(--surface-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }
.pp-swatch__dot.is-unknown { background: repeating-linear-gradient(135deg, var(--surface-2) 0 4px, var(--line-strong) 4px 8px); }
a.pp-swatch:hover { box-shadow: 0 0 0 1px var(--ink-3); }
.pp-swatch.is-current { box-shadow: 0 0 0 2px var(--ink); }
.pp-swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* === sfârșit variante de culoare === */

/* Variante de culoare (pagina produsului) — miniaturi (17.11.2026): rândul „Culoare: …” stă în cardul de cumpărare, sub preț
   (partialul site/partials/color-swatches). Când produsele au imagine, mostrele sunt pătrate cu fotografia (fond alb, contain,
   în ambele teme — ca fotografiile de produs); culoarea afișată are inel dublu (spațiu în culoarea cardului + inel închis). */
.pp-buy .pp-colors { margin-top: 16px; }
.pp-colors__list--img { gap: 10px; padding: 4px 0; }
.pp-swatch--img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.pp-swatch__img { display: block; width: 100%; height: 100%; object-fit: contain; }
a.pp-swatch--img:hover { box-shadow: 0 0 0 1px var(--ink-3), 0 2px 8px color-mix(in srgb, var(--ink) 14%, transparent); }
.pp-swatch--img.is-current { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); }
.pp-swatch--img .pp-swatch__dot { width: 32px; height: 32px; }
@media (max-width: 560px) {
  .pp-swatch--img { width: 52px; height: 52px; }
  .pp-colors__list--img { gap: 9px; }
}
/* miniatură ruptă → ilustrația categoriei, mai mică, pe fondul alb al mostrei */
.pp-swatch__img.is-fallback { padding: 10px; opacity: .55; }
/* === sfârșit variante de culoare (miniaturi) === */

/* Stoc epuizat / scoase din feed (pagina produsului, 17.11.2026): fără ofertă cumpărabilă, capul paginii arată prețul
   „stoc epuizat la ultima verificare” (fără accent de preț curent); în tabel, starea fiecărui magazin are eticheta ei,
   iar ofertele scoase din feed arată doar „ultimul preț” (informativ, nu preț curent). */
.pp-price--oos .pp-price__now { color: var(--ink-2); }
.pp-price__where { font-size: var(--fs-sm); color: var(--ink-3); }
.pp-offers__last { font-size: var(--fs-xs); color: var(--ink-3); white-space: normal; }
.pp-offers__state { display: inline-block; font-weight: 600; }
.pp-offers__state--out_of_stock { color: var(--up); }
.pp-offers__state--removed, .pp-offers__state--stale { color: var(--ink-3); font-weight: 500; }
.pp-offers tr.is-off .pp-offers__price .price { color: var(--ink-2); }
/* === sfârșit stoc epuizat / scoase din feed === */

/* Listări (categorie, brand, magazin, căutare, reduceri): doar 2/3/4/6/8 coloane — toate împart cele 48 de celule ale paginii
   (ProductQuery::defaultPerPage; cardurile editoriale de 2 celule — newsletter, aplicația — scad din produse, FeedCards) — ca
   ultimul rând dinaintea paginării să fie mereu plin. „dense”: golul lăsat de un card de 2 celule la capăt de rând se umple cu
   produsul următor. Pragurile țin cardul între ~190 și ~290 px. */
.results { container-type: inline-size; }
.results > .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; }
@container (min-width: 560px) { .results > .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 860px) { .results > .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (min-width: 1240px) { .results > .product-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@container (min-width: 1680px) { .results > .product-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
/* cardul „Aplicația” (partials/app-card.php): același format ca newsletterul, altă culoare */
.feed-card--app::before { background: radial-gradient(42% 42% at 25% 25%, color-mix(in srgb, var(--gold) 65%, transparent), transparent 70%), radial-gradient(38% 38% at 80% 75%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); }
.feed-card--app .btn { align-self: flex-start; }
.feed-card__help { margin: 10px 0 0; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.feed-card__done { display: flex; flex-direction: column; gap: var(--s3); }
.pwa-installed .feed-card--app [data-app-pitch] { display: none; }
.pwa-installed .feed-card--app [data-app-done] { display: flex !important; } /* bate „[hidden] { display: none !important }” */
