

:root {
  /* Paletă (zinc) */
  --bg-main:      #FFFFFF;
  --bg-subtle:    #F4F4F5;   /* Zinc 100 · inputs, header tabel */
  --bg-row-alt:   #FAFAFA;   /* Zinc 50 */
  --bg-visited:   #EBEBF0;   /* rând/link vizitat */
  --bg-visited-hover: #DEDEE8;   /* hover peste vizitat — sub --bg-visited, altfel îl resetează */
  --text-main:    #09090B;   /* Zinc 950 */
  --text-muted:   #71717A;   /* Zinc 500 */
  --text-faint:   #A1A1AA;   /* Zinc 400 · placeholder, micro-data */
  --border:       #E4E4E7;   /* Zinc 200 */
  --border-strong:#D4D4D8;   /* Zinc 300 */

  /* Accent financiar (DOAR preț minim / economii) */
  --accent:       #16A34A;   /* Green 600 */
  --accent-bg:    #DCFCE7;   /* Green 100 */
  --accent-ring:  rgba(22,163,74,0.25);
  --danger-ring:  rgba(220,38,38,0.30);   /* flash validare căutare goală */
  --warn:         #B45309;   /* stoc redus */
  --warn-dot:     #D97706;
  --warn-bg:      #FEF3C7;   /* notă „rezultate aproximative" */
  --beta-bg:      #FDE047;   /* bară anunț „beta" */

  /* Culori logo — accent cald punctual */
  --logo-gold:    #C8A040;   /* NU înlocuiește verdele prețurilor */
  --logo-navy:    #1D2E4C;

  /* Geometrie */
  --radius-sm:    4px;       /* butoane, input, chips */
  --radius-md:    6px;       /* containere */
  --maxw:         1080px;
  --maxw-read:    760px;     /* coloană lizibilă (detaliu produs, pagini legale) */

  /* Spațiere (multipli stricți de 4) */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;

  /* Tipografie */
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, monospace;

  /* Alias-uri --c-*: live doar c-warn/c-danger/c-accent, restul mort */
  --c-text: var(--text-main);   --c-muted: var(--text-faint);
  --c-dim: var(--text-muted);   --c-link: var(--text-main);
  --c-accent: var(--text-main); --c-price: var(--accent);
  --c-border: var(--border);    --c-border-light: var(--border);
  --c-bg: var(--bg-main);       --c-bg-soft: var(--bg-row-alt);
  --c-bg-subtle: var(--bg-subtle);
  --c-warn: #D97706;            --c-danger: #DC2626;
}

* { box-sizing: border-box; }
@keyframes blink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes search-heartbeat {
  /* lub · dub · pauză */
  0%   { border-color: var(--border-strong);  box-shadow: 0 0 0 0 rgba(22,163,74,0);     outline: 0 solid transparent; outline-offset: 0px; }
  8%   { border-color: rgba(22,163,74,0.55);  box-shadow: 0 0 0 2px rgba(22,163,74,0.14); outline: 1px solid rgba(22,163,74,0.25); outline-offset: 1px; }
  16%  { border-color: rgba(22,163,74,0.35);  box-shadow: 0 0 0 1px rgba(22,163,74,0.06); outline: 0 solid transparent; outline-offset: 0px; }
  24%  { border-color: var(--border-strong);   box-shadow: 0 0 0 0 rgba(22,163,74,0);     outline: 0 solid transparent; outline-offset: 0px; }
  32%  { border-color: rgba(22,163,74,0.6);   box-shadow: 0 0 0 3px rgba(22,163,74,0.16); outline: 1px solid rgba(22,163,74,0.28); outline-offset: 1px; }
  40%  { border-color: rgba(22,163,74,0.3);   box-shadow: 0 0 0 1px rgba(22,163,74,0.04); outline: 0 solid transparent; outline-offset: 0px; }
  48%  { border-color: var(--border-strong);   box-shadow: 0 0 0 0 rgba(22,163,74,0);     outline: 0 solid transparent; outline-offset: 0px; }
  100% { border-color: var(--border-strong);   box-shadow: 0 0 0 0 rgba(22,163,74,0);     outline: 0 solid transparent; outline-offset: 0px; }
}

/* Bază */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 14px/1.5 var(--font-sans);
  color: var(--text-main);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: 22px; line-height: 1.2; }
h2 { font-size: 16px; margin: var(--sp-6) 0 var(--sp-3); }
p { margin: 0 0 var(--sp-3); }
code {
  font-family: var(--font-mono); font-size: 12px;
  background: var(--bg-subtle); padding: 1px 5px; border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }
a.url { color: var(--accent); }
a.url:hover { text-decoration: underline; }

/* Antet */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 52px; padding: 0 var(--sp-4);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.wordmark {
  font-family: var(--font-mono); font-size: 17px; font-weight: 600;
  letter-spacing: -0.04em; color: var(--text-main); white-space: nowrap;
}
.wordmark-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: var(--sp-1); overflow-x: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--text-muted);
  padding: 6px 10px; border-radius: var(--radius-sm); white-space: nowrap;
}
.nav-links a:hover { color: var(--text-main); background: var(--bg-subtle); }
.nav-links a.active { color: var(--text-main); font-weight: 600; }
.nav-search { display: inline-flex; align-items: center; gap: 5px; }
.nav-search svg { width: 15px; height: 15px; }

/* Bară sumar produs (apare la scroll, sub antet) */
/* top-ul e setat din JS = înălțimea reală a antetului (variază la wrap pe mobil) */
.pbar {
  position: fixed; left: 0; right: 0; top: 52px; z-index: 15;
  background: var(--bg-main); border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 16px -14px rgba(0,0,0,.45);
  transform: translateY(-100%); opacity: 0; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.pbar--show { transform: translateY(0); opacity: 1; pointer-events: auto; }
/* .pbar-wrap = geometria lui main; .pbar-inner = a lui .detail (stânga, 760) */
.pbar-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--sp-4); }
.pbar-inner {
  max-width: var(--maxw-read); height: 52px;
  display: flex; align-items: center; gap: var(--sp-3);
}
.pbar .thumb--sm { flex: 0 0 36px; }
.pbar-name {
  flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pbar-facts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
.pbar-price { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--accent); }
.pbar-count { font-size: 11px; color: var(--text-muted); }
@media (max-width: 640px) {
  .pbar .thumb--sm { display: none; }
  .pbar-wrap { padding: 0 var(--sp-3); }
  .pbar-inner { height: 46px; }
}

/* Conținut */
main { max-width: var(--maxw); margin: 0 auto; padding: var(--sp-5) var(--sp-4) var(--sp-8); }
.h1-row { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.h1-sub { font-size: 13px; font-weight: 400; color: var(--text-muted); }

.cat-desc { font-size: 14px; line-height: 1.6; color: var(--text-muted); max-width: 65ch; margin: 0 0 var(--sp-3); }
.cat-desc p { margin: 0 0 var(--sp-2); }
.cat-desc p:last-child { margin-bottom: 0; }

.breadcrumb { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); margin: 0 0 var(--sp-3); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--text-main); }
.breadcrumb .sep { color: var(--border-strong); margin: 0 5px; }

/* Hero acasă */
.hero { padding: var(--sp-8) 0 var(--sp-2); }
.hero h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.hero .h1-sub { margin-top: 6px; font-family: var(--font-mono); }
.hero h1 .h1-tm { font-size: 0.42em; vertical-align: super; letter-spacing: 0; color: var(--text-muted); margin-left: 0.1em; font-weight: 600; }
.hero p { font-size: 15px; color: var(--text-muted); max-width: 520px; margin-top: var(--sp-3); }
.hero-row { display: flex; align-items: center; gap: var(--sp-6); }
.hero-logo { display: block; max-width: 220px; height: auto; flex: 0 0 auto; }
.hero-text { flex: 1 1 auto; min-width: 0; }

/* Mark pe rând separat de .hero-row ca să se centreze pe toată coloana, nu doar
   pe titlu. .hero-row rămâne țintă de colaps JS — căutarea nu dispare. */
.hero-top { display: flex; align-items: center; gap: var(--sp-6); }
.hero-mark { display: block; width: 150px; height: auto; flex: 0 0 auto; }
.hero-col { flex: 1 1 auto; min-width: 0; }

/* Focus pe căutare → colapsează text, logo și [LIVE] ca bara să urce și
   dropdown-ul să aibă loc. .is-searching o comută hero.js.
   (max-height cu valoare de bază ca să anime lin colapsarea la 0.) */
.hero { transition: padding .45s cubic-bezier(.4, 0, .2, 1); }
.hero-row { max-height: 520px; }
.hero .live { max-height: 60px; }
.hero .hero-stats { max-height: 130px; }   /* pe mobil se rupe pe 2 rânduri → mai mult decât .live */
.hero-row, .hero .live, .hero .hero-stats {
  overflow: hidden;
  transition: opacity .35s, transform .35s,
              max-height .45s cubic-bezier(.4, 0, .2, 1), margin .45s;
}
.hero.is-searching { padding-top: var(--sp-2); }
.hero.is-searching .hero-row,
.hero.is-searching .live,
.hero.is-searching .hero-stats {
  opacity: 0; transform: translateY(-8px);
  max-height: 0; margin: 0; pointer-events: none;
}

/* Stats hero — „hairline grid": gap:1px pe fundal --border dă bordurile
   dintre celule fără să dubleze liniile adiacente. */
.hero-stats { display: flex; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; margin-top: var(--sp-5); }
.hero-stat { flex: 1; background: var(--bg-main); padding: var(--sp-3) var(--sp-2); }
.hero-stat-n { display: block; font-family: var(--font-mono); font-size: 20px; font-weight: 600; color: var(--accent); line-height: 1.1; }
.hero-stat-l { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-top: 2px; }

/* Ticker reduceri (acasă) — reutilizează animația beta-scroll */
.deals-ticker {
  overflow: hidden; margin: 0 0 var(--sp-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.deals-ticker-track { display: flex; width: max-content; animation: beta-scroll 34s linear infinite; }
.deals-ticker-group { display: flex; flex: none; }
.deals-ticker-item { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; padding-left: var(--sp-6); }
.deals-ticker-item .name { color: var(--text-muted); }
.deals-ticker-item .diff { color: var(--accent); font-weight: 600; }
.deals-ticker:hover .deals-ticker-track { animation-play-state: paused; }
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
  .hero-stat { padding: var(--sp-2) var(--sp-3); }
  .deals-ticker-item { font-size: 11.5px; padding-left: var(--sp-4); }
}

/* Overlay-placeholder: la focus pe caseta goală apare un panou cald exact unde
   vor veni rezultatele (.search-sug). z-index sub dropdown-ul real (30) ca
   rezultatele să se randeze deasupra. Pur vizual (pointer-events: none). */
/* Panoul crem de sub casetă — emis de render_search(['hint' => true]),
   vizibil la focus; sugestiile (z-30) îl acoperă. Valoarea întâi, mare;
   disclaimerul (bere) secundar, mic. */
.hero .search-hint {
  display: flex; flex-direction: column; gap: var(--sp-3);
  align-items: center; justify-content: center; text-align: center;
  position: absolute;
  top: calc(100% + 4px); left: 0; right: 0;
  height: 280px;
  padding: var(--sp-6);
  overflow: hidden;
  background: color-mix(in srgb, var(--logo-gold) 9%, var(--bg-main));
  border: 1px solid color-mix(in srgb, var(--logo-gold) 42%, transparent);
  border-radius: var(--radius-md);
  color: var(--logo-navy);               /* mai cald decât grayul */
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 20;
}
.hero .search-hint p { margin: 0; }
.search-hint-main { font-size: 15px; line-height: 1.6; max-width: 36ch; }
.search-hint-sub { font-size: 12.5px; line-height: 1.5; color: color-mix(in srgb, var(--logo-navy) 62%, transparent); }
/* pointer-events: auto — altfel tap-ul pe panou lovea linkurile de SUB el */
.hero .search.is-focused .search-hint { opacity: 1; pointer-events: auto; }

/* Căutare „terminal" — plug & play (nav, home, /cauta, oriunde) */
/* Markup: render_search() · comportament: search.js · .search-sug injectat de JS */
/* z-index obligatoriu, nu decorativ: pe hero, `hero-rise` cu fill both lasă
   .search stacking context (animă transform+opacity), iar cu z-index auto
   dropdown-ul de sugestii — oricât de mare i-ar fi z-index-ul — rămâne la
   nivelul „auto" și intră SUB pozele listării de dedesubt. Sub 20, ca antetul
   sticky să treacă peste. Se vedea doar pe device real: browserele cu
   prefers-reduced-motion: reduce nu pornesc animația, deci nici bugul. */
.search { position: relative; z-index: 10; width: 100%; max-width: 560px; }
.search-box {
  display: flex; align-items: center; gap: var(--sp-2);
  height: 50px; padding: 0 var(--sp-3);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg-main);
  outline: 0 solid transparent; outline-offset: 0px;
  transition: border-color .25s, box-shadow .35s, outline-color .35s, outline-width .35s, outline-offset .35s;
}
.search-box:focus-within {
  border-color: var(--text-main);
  outline: 0 solid transparent; outline-offset: 0px;
  animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  .search-box {
    animation: search-heartbeat 2.4s ease-in-out infinite;
  }
  .hero-mark, .hero h1, .hero p, .hero .search, .hero-stats { animation: hero-rise .45s ease both; }
  .hero h1 { animation-delay: .08s; }
  .hero p { animation-delay: .16s; }
  .hero .search, .hero-stats { animation-delay: .24s; }
}
.search-prompt { font-family: var(--font-mono); font-size: 16px; font-weight: 600; color: var(--accent); }
.search-input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: -0.01em; color: var(--text-main);
}
.search-input::placeholder { color: var(--text-faint); }
/* Validare submit gol: bordura clipește roșu de 3 ori, apoi JS scoate clasa.
   Declarat DUPĂ :focus-within ca să câștige tie-ul de specificitate (0,2,0). */
.search-box.is-invalid {
  border-color: var(--c-danger);
  animation: search-invalid .45s ease-in-out 3;
}
@keyframes search-invalid {
  0%, 100% { border-color: var(--c-danger);      box-shadow: 0 0 0 3px var(--danger-ring); }
  50%      { border-color: var(--border-strong); box-shadow: 0 0 0 0 transparent; }
}
.search-submit {
  flex: 0 0 auto; border: 0; cursor: pointer; height: 36px; padding: 0 16px;
  background: var(--text-main); color: #fff; border-radius: var(--radius-sm);
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
}
.search-submit:hover { opacity: .9; }
.search-clear {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 0; padding: 0; cursor: pointer;
  background: transparent; color: var(--text-faint); border-radius: var(--radius-sm);
}
.search-clear:hover { color: var(--text-main); background: var(--bg-subtle); }
.search-clear[hidden] { display: none; }
/* Ieșire din modul căutare (doar mobil, la focus — vezi media query) */
.search-cancel {
  order: -1; flex: 0 0 auto; display: none; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin-left: calc(-1 * var(--sp-1));
  border: 0; padding: 0; cursor: pointer;
  background: transparent; color: var(--text-muted); border-radius: var(--radius-sm);
}
.search-cancel svg { width: 20px; height: 20px; }

/* Dropdown sugestii — injectat de JS */
.search-sug {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 30;
  background: var(--bg-main); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: 0 8px 28px rgba(9, 9, 11, .12);
}
.search-sug[hidden] { display: none; }
.search-row {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3); color: var(--text-main); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.search-row.is-active { background: var(--bg-subtle); }
.search-thumb {
  flex: 0 0 34px; height: 42px; overflow: hidden; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; background: var(--bg-subtle);
}
.search-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.search-meta { flex: 1; min-width: 0; }
.search-name { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-type { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-transform: lowercase; }
.search-price { flex: 0 0 auto; font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.search-foot, .search-empty {
  display: block; padding: var(--sp-2) var(--sp-3); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); text-decoration: none;
}
/* Rândul „toate rezultatele…" */
.search-foot { background: #000; color: #fff; }
.search-foot:hover { background: #000; color: var(--accent); }

.search--nav { width: min(340px, 40vw); }
.search--nav .search-box { height: 34px; border-width: 1px; }
.search--nav .search-prompt { font-size: 13px; }
.search--nav .search-input { font-size: 13px; }
.search--nav .search-submit { height: 28px; padding: 0 12px; font-size: 12px; }

/* Bara din nav apare abia după ce caseta din hero a trecut sub antet → niciodată
   două bare vizibile odată. .nav-search-shown o comută hero.js. */
body.has-hero-search .search--nav { display: none; }
body.has-hero-search.nav-search-shown .search--nav { display: block; animation: nav-search-in .25s ease both; }
@keyframes nav-search-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Microcopy [LIVE] */
.live {
  display: flex; align-items: center; gap: 7px; margin-top: var(--sp-3);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 9999px; flex: 0 0 7px;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring);
}
.live b { color: var(--text-main); font-weight: 600; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-5) 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 7px 12px; font-size: 13px; font-weight: 500; color: var(--text-main);
  background: var(--bg-main);
}
.chip:hover { border-color: var(--text-main); }
.chip .n { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }

/* Cap de listă */
.list-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin: var(--sp-5) 0 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-muted);
}
.list-head .arrow { color: var(--text-faint); text-transform: none; }
.list-head-sub { color: var(--text-faint); text-transform: none; font-size: 10px; letter-spacing: 0; }

/* Intro căutare */
.searchintro { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: var(--sp-3) 0; }
.searchintro b { color: var(--text-main); font-weight: 600; }

/* Rând meta (N rezultate · sortare) */
.metarow {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 3px var(--sp-3);
  padding: 9px var(--sp-4); margin: 0 calc(-1 * var(--sp-4));
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  background: var(--bg-subtle); border-block: 1px solid var(--border);
}
.metarow b { color: var(--text-main); }
.metarow .arrow { color: var(--accent); font-weight: 600; }

/* Notă calitate căutare — „aproximativ" (warn) / „categorie" (info) */
.searchnote {
  font-size: 13px; line-height: 1.45;
  padding: var(--sp-3) var(--sp-4); margin: var(--sp-3) 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.searchnote b { font-weight: 600; }
.searchnote-warn {
  background: var(--warn-bg); border-color: var(--warn-dot);
  border-left: 3px solid var(--warn-dot); color: var(--warn);
}
.searchnote-warn b { color: var(--warn); }
.searchnote-info {
  background: var(--bg-subtle); border-left: 3px solid var(--border-strong);
  color: var(--text-muted);
}
.searchnote-info b { color: var(--text-main); }
.searchnote-info a { color: var(--text-main); font-weight: 500; border-bottom: 1px solid var(--border-strong); }

/* Listă produse (data grid) */
.plist { margin: 0 calc(-1 * var(--sp-4)); }
.prow {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 11px var(--sp-4);
  /* Fundal opac obligatoriu: :visited moștenește alpha-ul stării nevizitate,
     deci peste `transparent` tenta de vizitat nu se randează deloc. */
  background: var(--bg-main);
  border-bottom: 1px solid var(--border); color: var(--text-main);
}
.prow:nth-child(even) { background: var(--bg-row-alt); }
.prow:visited { background: var(--bg-visited); }
.prow:visited .prow-name { color: var(--text-muted); }
.prow:visited .prow-chev { color: var(--border); }
.prow:hover { background: var(--bg-subtle); }
/* --bg-subtle e mai deschis decât --bg-visited: fără regula asta, hover-ul face
   un rând vizitat să arate proaspăt. */
.prow:visited:hover { background: var(--bg-visited-hover); }
.prow-body { flex: 1; min-width: 0; }
.prow-name {
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Termenul căutat în rezultate */
mark.hl {
  background: none; color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}
.prow-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.prow-meta b { color: var(--text-main); font-weight: 600; }
.prow-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.prow-retailer { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }
.prow-offers { font-family: var(--font-mono); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.prow-chev { color: var(--text-faint); flex: 0 0 auto; }
.prow-chev svg { width: 16px; height: 16px; display: block; }

.thumb {
  position: relative; flex: 0 0 auto;
  width: 42px; height: 42px;
  background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--bg-subtle); }
.thumb-ph { height: 64%; width: auto; stroke: var(--text-faint); stroke-width: 1.3; fill: none; }
.thumb--sm { width: 36px; height: 36px; }
.thumb--md { width: 56px; height: 56px; }
.thumb--lg { width: 114px; height: 114px; }   /* hero pagină produs */
/* Scoped pe .prow ca să nu atingă .pbar .thumb--sm (bara sticky rămâne 36px). */
@media (min-width: 641px) {
  .prow .thumb--sm { width: 40px; height: 40px; }
  .thumb--lg       { width: 125px; height: 125px; }
}
/* Rezultate de căutare: grid de carduri cu poza mare (80% trafic mobil,
   eticheta sticlei trebuie să fie lizibilă). Refolosește markup-ul
   product_row(); doar aranjarea diferă. */
.plist--search {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--sp-2);
}
.plist--search .prow { flex-direction: column; align-items: stretch; gap: var(--sp-2); padding: var(--sp-3); }
/* Fără dungi în grilă, dar opac (vezi nota de alpha de pe .prow). Cardurile din
   banda „al doilea raft" iau fundalul benzii, tot opac. */
.plist--search .prow:nth-child(even) { background: var(--bg-main); }
.plist--tail   .prow,
.plist--tail   .prow:nth-child(even) { background: var(--bg-row-alt); }
.plist--search .prow:visited { background: var(--bg-visited); }
.plist--search .prow:hover { background: var(--bg-subtle); }
.plist--search .prow:visited:hover { background: var(--bg-visited-hover); }
.plist--search .thumb--sm { width: 100%; height: auto; aspect-ratio: 1; }
.plist--search .prow-body { flex: 0 0 auto; }
.plist--search .prow-name {
  white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13.5px; line-height: 1.3; min-height: calc(2 * 1.3em);
}
/* Prețul (minimul produsului) jos, aliniat între carduri vecine */
.plist--search .prow-right { margin-top: auto; flex-direction: row; align-items: baseline; gap: var(--sp-2); text-align: left; }
.plist--search .price-num { color: var(--accent); }
.plist--search .prow-chev { display: none; }
/* Nr. de magazine + preț mai vizibile, DOAR pe /cauta — nu și pe „Populare acum"
   din home, care refolosește .plist--search. De asta scop pe body.view-search,
   nu pe clasa de grilă. */
.prow-pricelabel { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
body.view-search .prow-meta { font-size: 12.5px; }
body.view-search .price-num { font-size: 19px; }
/* Rezultatele fără toate cuvintele căutate stau pe o bandă proprie, ca „al doilea
   raft". Tenta e pe secțiune, nu pe card: fundalul cardului e ocupat de :visited
   și :hover, iar un al patrulea gri acolo le-ar face pe toate patru identice. */
.plist--tail {
  background: var(--bg-row-alt);
  border-block: 1px solid var(--border);
  margin-top: var(--sp-5); padding-bottom: var(--sp-3);
}
.psplit {
  grid-column: 1 / -1;
  padding: var(--sp-3) var(--sp-3) var(--sp-2);
  font-size: 12.5px; line-height: 1.4; color: var(--text-muted);
}
/* Nota trece întreagă pe rândul următor; „fără:" rupt de cuvântul tăiat nu se citește. */
.prow-miss { white-space: nowrap; }
@media (min-width: 641px) {
  .plist--search { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* /cauta pe mobil: caseta rămâne lipită sub antet la scroll (pe desktop există
   deja search--nav în antet). --header-h = înălțimea reală a antetului,
   setată din JS în search.php (antetul face wrap sub ~360px). */
@media (max-width: 640px) {
  body.view-search main > .search {
    position: sticky; top: var(--header-h, 46px); z-index: 15;
    width: auto; max-width: none;
    margin: 0 calc(-1 * var(--sp-4));
    padding: var(--sp-2) var(--sp-4);
    background: var(--bg-main);
    border-bottom: 1px solid var(--border);
  }
}

/* Preț */
.price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -0.02em; }
.price-num { font-size: 16px; font-weight: 700; }
.price-cur { font-size: 10px; font-weight: 500; margin-left: 2px; opacity: .7; }
.price--sm .price-num { font-size: 15.4px; }
.price--sm .price-cur { font-size: 9.9px; }
.price--lg .price-num { font-size: 34px; }
.price--lg .price-cur { font-size: 18px; }
.price--accent { color: var(--accent); }

/* Avatar retailer */
.retailer-mark {
  flex: 0 0 auto; width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-subtle); color: var(--text-muted);
  font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: -0.02em;
}
.retailer-mark--sm { width: 22px; height: 22px; font-size: 9px; }
.retailer-mark--lg { width: 26px; height: 26px; font-size: 12.1px; }

.stock { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.stock-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--accent); }
.stock--low { color: var(--warn); }
.stock--low .stock-dot { background: var(--warn-dot); }
.stock--out { color: var(--text-faint); }
.stock--out .stock-dot { background: var(--text-faint); }

/* Badge economisire */
.save {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--accent-bg); color: var(--accent); border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  padding: 3px 7px; letter-spacing: -0.01em;
}
.save svg { width: 11px; height: 11px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg-main); color: var(--text-main);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
}
.btn:hover { background: var(--bg-subtle); }
.btn--primary { background: var(--text-main); color: #fff; border-color: var(--text-main); }
.btn--primary:hover { opacity: .9; background: var(--text-main); }
.btn--primary:visited { background: var(--text-muted); border-color: var(--text-muted); }
.btn--block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* Detaliu produs */
.detail { max-width: var(--maxw-read); }

.phead { display: flex; gap: var(--sp-4); padding-bottom: var(--sp-4); border-bottom: 1px solid var(--border); }
.phead-body { flex: 1; min-width: 0; }
.ptitle { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.pmeta { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.ptags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: var(--sp-2); }
.ptag {
  display: inline-block; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 3px 8px; font-size: 11px; font-weight: 500; color: var(--text-muted);
  text-decoration: none;
}
a.ptag:hover {
  border-color: var(--c-accent); color: var(--c-accent); background: var(--bg-subtle);
}
.pdesc { font-size: 13.5px; line-height: 1.6; color: var(--text-main); margin-top: var(--sp-3); }
.pingredients { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: var(--sp-2); }

.bestprice { padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.section-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.bestprice-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-3); margin-top: 6px; }
.bestprice-seller { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.bestprice-seller-name { font-size: 13.5px; font-weight: 500; }
.bestprice .btn { margin-top: var(--sp-3); }
.price-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin: var(--sp-2) 0 0; }

.histblock { padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.histblock-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-2); }
.histblock-head h2.section-label { margin: 0; }
.hist-trend { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--accent); }
.hist-trend--bad { color: var(--warn); }
.hist-trend--flat { color: var(--text-muted); }
.hist-chart-wrap { position: relative; margin-top: var(--sp-2); }
.spark { display: block; width: 100%; height: auto; }
.spark-area { fill: var(--accent-bg); opacity: .55; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark-dot { fill: var(--accent); }
.spark-mark { fill: var(--bg-main); stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }

.hist-tag {
  position: absolute; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  color: var(--text-muted); background: var(--bg-main); white-space: nowrap;
  padding: 1px 5px; border-radius: 3px; pointer-events: none; z-index: 1;
}
.hist-tag--min { color: var(--accent); background: var(--accent-bg); }
.hist-tag--today { color: var(--text-main); border: 1px solid var(--border-strong); }
.hist-axis {
  display: flex; justify-content: space-between; margin-top: var(--sp-1);
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint);
}

.hist-stats {
  display: flex; gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden; margin-top: var(--sp-4);
}
.hist-stat { flex: 1; background: var(--bg-main); padding: var(--sp-2) var(--sp-3); }
.hist-stat-l { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.hist-stat-v { display: block; font-family: var(--font-mono); font-size: 15px; font-weight: 600; color: var(--text-main); line-height: 1.3; margin-top: 2px; }
.hist-stat-d { display: block; font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.hist-stat--good { background: var(--accent-bg); }
.hist-stat--good .hist-stat-v { color: var(--accent); }
.hist-narrative { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: var(--sp-3) 0 0; }
@media (max-width: 640px) {
  .hist-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
}

/* Istoricul unui singur litraj, între eticheta variantei și ofertele ei. */
.hist-inline { padding: var(--sp-2) 0 var(--sp-3); }
.hist-inline .histblock-head { margin-bottom: 0; }
.hist-inline .section-label { margin: 0; }
.hist-inline .hist-narrative { margin-top: var(--sp-2); font-size: 12.7px; }
/* Seria fără trepte: fraza ține locul graficului, cu aceleași cifre. */
.hist-note {
  font-family: var(--font-mono); font-size: 11.6px; line-height: 1.6;
  color: var(--text-muted); margin: 0 0 var(--sp-2);
}
.histblock .hist-note { margin: var(--sp-2) 0 0; }

.offers { margin: 0; }
.ohead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-family: var(--font-mono); font-size: 11.6px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted);
}
.variant-group { border-top: 1px solid var(--border); }
.variant-label {
  font-family: var(--font-mono); font-size: 12.7px; color: var(--text-muted);
  padding: var(--sp-2) 0 6px;
}
.variant-label b { color: var(--text-main); }
.orow {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 11px var(--sp-2); margin: 0 calc(-1 * var(--sp-2));
  border-bottom: 1px solid var(--border); color: var(--text-main);
}
.orow:nth-child(even) { background: var(--bg-row-alt); }
.orow--best { background: var(--accent-bg); }
.orow--best:nth-child(even) { background: var(--accent-bg); }
.orow-rank { font-family: var(--font-mono); font-size: 12.1px; color: var(--text-faint); width: 18px; flex: 0 0 18px; }
.orow-body { flex: 1; min-width: 0; }
.orow-name { font-size: 14.9px; font-weight: 500; }
/* Titlul exact de la magazin — ajunge la 70+ caractere, deci o linie + ellipsis. */
.orow-src { font-size: 13.2px; color: var(--text-muted); margin-top: 1px; }
/* Singurul element clickabil din rând: titlul produsului de la magazin (nu tot rândul). */
.orow-link { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; }
.orow-link-t {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: underline; text-decoration-color: var(--border-strong);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.orow-link .ext { flex: 0 0 auto; color: var(--text-faint); display: flex; }
.orow-link .ext svg { width: 12.1px; height: 12.1px; }
/* „Deja deschis": firul gri de sub titlu devine bandă neagră. Paleta e monocromă
   (brandbook), deci semnalul se ia din grosime + închidere, nu dintr-un hue nou;
   iar „vizitat" trebuie să fie un plus de contrast, nu o estompare — estomparea
   dispare pe fundal alb. Ordine LVHA: :visited înaintea lui :hover. */
.orow-link:visited .orow-link-t { text-decoration-color: var(--text-main); }
.orow-link:visited .ext         { color: var(--text-main); }
.orow-link:hover { color: var(--text-main); }
.orow-link:hover .orow-link-t { text-decoration-color: currentColor; }
.orow-sub { display: flex; align-items: center; gap: var(--sp-2); margin-top: 1px; }
.orow-fresh { font-family: var(--font-mono); font-size: 11.6px; color: var(--text-faint); }
.orow .stock { font-size: 12.1px; }   /* best-block rămâne 11px */
.orow-right { display: flex; flex-direction: column; align-items: flex-end; }
.orow-diff { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.orow-empty { font-family: var(--font-mono); font-size: 13.2px; color: var(--text-faint); padding: var(--sp-2) 0; }

/* Bară „beta" — ticker orizontal, buclă lină */
.beta-ticker {
  overflow: hidden; background: var(--beta-bg);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  margin: var(--sp-3) 0 var(--sp-5); padding: var(--sp-2) 0;
  /* estompare la margini → textul nu e tăiat brusc */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}
.beta-ticker-track { display: flex; width: max-content; animation: beta-scroll 50s linear infinite; }
.beta-ticker-group { display: flex; flex: none; }   /* 2 grupuri identice → -50% = buclă continuă */
.beta-ticker-item {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text-main); white-space: nowrap; padding-left: var(--sp-6);
}
.beta-ticker-sep { color: var(--text-muted); padding-left: var(--sp-6); }
@keyframes beta-scroll { to { transform: translateX(-50%); } }
/* pauză la hover → WCAG „pausable" */
.beta-ticker:hover .beta-ticker-track { animation-play-state: paused; }

.beta-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-bg); border-radius: var(--radius-sm);
  padding: 1px 6px; margin-left: 6px; vertical-align: 1px;
}

/* Marcaj „beta" — panglică diagonală în colț */
/* overflow:hidden taie banda la marginea ecranului (fără scroll orizontal);
   pointer-events:none ca pătratul invizibil să nu fure click-uri din footer. */
.beta-corner {
  position: fixed; right: 0; bottom: 0; z-index: 90;
  width: 140px; height: 140px; overflow: hidden; pointer-events: none;
}
.beta-corner span {
  position: absolute; right: -48px; bottom: 30px; width: 210px;   /* offset-uri centrate pe diagonala colțului */
  transform: rotate(-45deg); transform-origin: center;
  padding: 5px 0; text-align: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: var(--text-main); background: var(--beta-bg);
  border-top: 1px solid var(--warn-dot); border-bottom: 1px solid var(--warn-dot);
  box-shadow: 0 1px 4px rgba(9,9,11,.18);
  pointer-events: auto; user-select: none; cursor: default;
  opacity: .94; transition: opacity .15s ease;
}
.beta-corner span:hover { opacity: 1; }
@media (max-width: 640px) {
  .beta-corner { width: 116px; height: 116px; }
  .beta-corner span { right: -46px; bottom: 24px; width: 180px; font-size: 10px; letter-spacing: .12em; }
}
/* Beta ?layout=zoom — rând compact, detalii la tap */
.orow-zoom { border-bottom: 1px solid var(--border); }
.orow-zoom:nth-child(odd) { background: var(--bg-row-alt); }
.orow-zoom--best { background: var(--accent-bg); }
.orow-zoom-hit {
  all: unset; box-sizing: border-box; display: flex; align-items: center; gap: var(--sp-2);
  width: 100%; padding: 11px var(--sp-2); margin: 0 calc(-1 * var(--sp-2));
  cursor: pointer; color: var(--text-main); font-family: var(--font-sans);
}
.orow-zoom-hit:hover { background: var(--bg-subtle); }
.orow-zoom--best .orow-zoom-hit:hover { background: var(--accent-bg); }
.orow-zoom-name { font-size: 13.8px; font-weight: 500; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orow-zoom-badge {
  font-size: 11px; font-weight: 500; padding: 1px 7px; border-radius: 9px; white-space: nowrap; flex: 0 0 auto;
}
.orow-zoom-badge--best { color: var(--accent); background: var(--bg-main); }
.orow-zoom-badge--warn { color: var(--warn); background: var(--bg-main); }
.orow-zoom-right { display: flex; align-items: baseline; gap: 6px; margin-left: auto; flex: 0 0 auto; }
.orow-zoom-diff { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.orow-zoom-chev { display: flex; color: var(--text-faint); flex: 0 0 auto; transition: transform .15s ease; }
.orow-zoom-hit[aria-expanded="true"] .orow-zoom-chev { transform: rotate(90deg); }
.orow-zoom-detail { padding: 0 var(--sp-2) var(--sp-3); }
.orow-zoom-title { font-size: 13px; color: var(--text-muted); font-style: italic; margin-bottom: 6px; }
.orow-zoom-meta { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.orow-zoom-meta .stock { font-size: 12.1px; }
.orow-zoom-go { min-height: 38px; font-size: 13px; }

.about .pingredients + .pdesc { margin-top: var(--sp-3); }

/* în coloana de citire, listele nu fac full-bleed */
.detail .plist, .detail .orow { margin-inline: 0; }

/* Subcategorii */
.subcats { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-3) 0 var(--sp-4); }
.subcats a {
  font-family: var(--font-mono); font-size: 12px; padding: 5px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-muted);
}
.subcats a:hover { border-color: var(--text-main); color: var(--text-main); }
.subcats .n { color: var(--text-faint); }

/* Director branduri */
.brandgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; margin-bottom: var(--sp-4); }
.brandgrid a {
  font-family: var(--font-mono); font-size: 12.5px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-main);
  display: flex; justify-content: space-between; gap: 8px;
}
.brandgrid a:hover { border-color: var(--text-main); background: var(--bg-subtle); }
.brandgrid .n { color: var(--text-faint); }

/* Răsfoiește pe categorii (acasă) */
/* auto-fit, nu auto-fill: cu 2 carduri, auto-fill lăsa coloane fantomă care
   furau lățimea → cardurile rămâneau blocate la minimul de 240px. */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-3); }
.cat-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--sp-4); }
.cat-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-2); }
.cat-title { font-size: 17px; font-weight: 700; color: var(--text-main); }
.cat-title:hover { color: var(--accent); }
.cat-count { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); white-space: nowrap; }

/* Secțiuni editoriale acasă (Despre / Categorii / FAQ) */
.sec { padding: var(--sp-8) 0 var(--sp-6); border-top: 1px solid var(--border); }
.sec-eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 var(--sp-2); }
.sec-title { font-size: 22px; margin: 0 0 var(--sp-4); }
.prose { color: var(--text-muted); max-width: var(--maxw-read); }
.prose p { margin: 0 0 var(--sp-3); }
.prose b { color: var(--text-main); font-weight: 600; }

.faq { max-width: var(--maxw-read); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; font-size: 15px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--text-muted); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { font-size: 14px; color: var(--text-muted); margin: 0 0 var(--sp-3); }

.pagination { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; justify-content: center; margin: var(--sp-6) 0 0; font-family: var(--font-mono); font-size: 12.5px; }
.pagination a { color: var(--text-main); padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.pagination a:hover { background: var(--bg-subtle); }
.pagination .muted { color: var(--text-muted); }
.pagination .pg { min-width: 38px; padding: 8px 6px; text-align: center; }
.pagination .pg--on { border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent); font-weight: 600; }
.pagination .pg-gap { color: var(--text-faint); padding: 0 2px; }
@media (max-width: 560px) {
  .pagination .pg { min-width: 32px; padding: 7px 4px; }
  .pagination .pg-step { padding: 7px 10px; }
}

/* Blocuri de conținut sub listarea de categorie (vezi cat_block_on) */
.cblk { margin-top: var(--sp-8); }
.cblk-h { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 var(--sp-3); }

/* „hairline grid": gap 1px pe fundal --border dă bordurile interioare */
.cstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.cstat { background: var(--bg-main); padding: var(--sp-3) var(--sp-4); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cstat-k { font-size: 11px; color: var(--text-muted); }
.cstat-v { font-family: var(--font-mono); font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.cstat-v--acc { color: var(--accent); }
.cstat-d { font-size: 10.5px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chist { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: 5px; }
.chist-row { display: grid; grid-template-columns: 104px 1fr 56px; align-items: center; gap: var(--sp-3); }
.chist-l { font-size: 11.5px; color: var(--text-muted); }
.chist-bar { background: var(--bg-subtle); border-radius: 3px; height: 16px; }
.chist-bar i { display: block; height: 100%; background: var(--text-main); border-radius: 3px; opacity: .82; }
.chist-n { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-align: right; }

.csave { border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--sp-4); background: var(--bg-row-alt); }
.csave-row { display: flex; gap: var(--sp-6); align-items: center; flex-wrap: wrap; }
.csave-big { display: flex; flex-direction: column; gap: var(--sp-1); padding-right: var(--sp-6); border-right: 1px solid var(--border); }
.csave-num { font-family: var(--font-mono); font-size: 40px; font-weight: 600; color: var(--accent); letter-spacing: -.03em; line-height: 1; }
.csave-cap { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }
.csave-side { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-6); }
.csave-side div { display: flex; flex-direction: column; }
.csave-side b { font-family: var(--font-mono); font-size: 16px; font-weight: 600; }
.csave-side span { font-size: 11px; color: var(--text-muted); }
.csave-note { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin: var(--sp-4) 0 0; }

.cchips { display: flex; flex-wrap: wrap; gap: 7px; }
.cchip { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 11px; }
.cchip:hover { background: var(--bg-subtle); border-color: var(--border-strong); }
.cchip:visited { background: var(--bg-visited); }
.cchip:visited:hover { background: var(--bg-visited-hover); }
.cchip-n { font-size: 13px; font-weight: 500; }
.cchip-m { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }

.csibs { display: flex; flex-wrap: wrap; gap: 7px; }
.csibs a { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 11px; font-size: 13px; }
.csibs a:hover { background: var(--bg-subtle); }
.csibs a:visited { background: var(--bg-visited); }
.csibs b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-muted); margin-left: 5px; }

.cguide { max-width: var(--maxw-read); }
.cguide h3 { font-size: 15px; margin: var(--sp-4) 0 var(--sp-2); }
.cguide p { font-size: 13.5px; line-height: 1.65; color: var(--text-main); margin: 0 0 var(--sp-3); }
.cguide details { border-top: 1px solid var(--border); padding: 9px 0; }
.cguide summary { font-size: 13.5px; font-weight: 500; cursor: pointer; list-style: none; position: relative; padding-left: 18px; }
.cguide summary::-webkit-details-marker { display: none; }
.cguide summary::before { content: "+"; position: absolute; left: 0; color: var(--text-muted); font-family: var(--font-mono); }
.cguide details[open] summary::before { content: "−"; }
.cguide details p { margin: var(--sp-2) 0 0; padding-left: 18px; color: var(--text-muted); }

@media (max-width: 720px) {
  .cstats { grid-template-columns: 1fr 1fr; }
  .csave-big { border-right: 0; padding-right: 0; }
  .csave-side { grid-template-columns: 1fr; }
  .chist-row { grid-template-columns: 88px 1fr 48px; gap: var(--sp-2); }
}

.empty { padding: var(--sp-8) var(--sp-4); text-align: center; color: var(--text-muted); font-size: 14px; border: 1px dashed var(--border); border-radius: var(--radius-md); }
.empty a { color: var(--text-main); font-weight: 500; border-bottom: 1px solid var(--border-strong); }

/* Pagini statice / legal */
.static { max-width: var(--maxw-read); }
.static-head { margin-bottom: var(--sp-5); }
.static-head .lead { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: var(--sp-2) 0 0; }
.static .updated { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); margin: 0 0 var(--sp-4); }
.static section { margin-bottom: var(--sp-5); }
.static section h2 { color: var(--text-main); margin: 0 0 var(--sp-2); }
.static p { line-height: 1.65; margin: 0 0 var(--sp-2); }
.static ul { margin: 0 0 var(--sp-2); padding-left: var(--sp-5); line-height: 1.65; }
.static ul.ticks { list-style: none; padding-left: 0; }
.static ul.ticks li { position: relative; padding-left: var(--sp-6); margin-bottom: 5px; }
.static ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: bold; }
.static .cta { margin-top: var(--sp-6); padding: var(--sp-5); background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius-md); }
.static .cta h2 { margin-top: 0; }
.static .cta--search { text-align: center; }
.static .cta--search p { color: var(--text-faint); max-width: 480px; margin: 0 auto var(--sp-4); }
.static .cta--search .search { max-width: 600px; margin: 0 auto; }
.search--hero .search-box { height: 58px; padding: 0 var(--sp-4); border-width: 2px; }
.search--hero .search-prompt { font-size: 18px; }
.search--hero .search-input { font-size: 16px; }
.search--hero .search-submit { height: 44px; padding: 0 22px; font-size: 14px; }
.static a { color: var(--accent); }
.static a:hover { text-decoration: underline; }

.site-footer { border-top: 1px solid var(--border); margin-top: var(--sp-8); background: var(--bg-subtle); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: var(--sp-6) var(--sp-4);
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-6);
}
.footer-logo { font-family: var(--font-mono); font-size: 16px; font-weight: 600; letter-spacing: -0.04em; color: var(--text-main); }
.footer-logo .wordmark-accent { color: var(--accent); }
.footer-brand p { margin: var(--sp-2) 0 0; font-size: 12.5px; color: var(--text-muted); }
.footer-social { display: inline-flex; margin-top: var(--sp-3); color: var(--text-muted); }
.footer-social:hover { color: var(--accent); }
.footer-col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin: 0 0 var(--sp-2); }
.footer-col a { display: block; color: var(--text-muted); font-size: 13px; padding: 3px 0; }
.footer-col a:hover { color: var(--text-main); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: var(--sp-4); font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-legal { color: var(--text-muted); margin-bottom: 6px; }

/* Alertă de preț */
.alert-trigger-wrap { padding: var(--sp-4) 0; border-bottom: 1px solid var(--border); }
.alert-trigger-wrap .btn svg { width: 16px; height: 16px; }

.pa-scrim {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9,9,11,.5);
  opacity: 0; transition: opacity .25s ease;
}
.pa-scrim--visible { display: block; opacity: 1; }

.pa-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 201;
  background: var(--bg-main);
  border-top-left-radius: 12px; border-top-right-radius: 12px;
  box-shadow: 0 -6px 32px rgba(0,0,0,.14);
  padding: 10px 20px 28px;
  transform: translateY(100%); transition: transform .28s ease;
  max-width: 680px; margin: 0 auto;
}
.pa-sheet--open { transform: translateY(0); }

.pa-handle {
  width: 38px; height: 4px; border-radius: 9999px;
  background: var(--border-strong); margin: 0 auto 18px;
}

.pa-head {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 6px;
}
.pa-head svg { width: 18px; height: 18px; flex-shrink: 0; }
.pa-title { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.pa-subtitle { margin: 0 0 18px; font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.pa-subtitle b { color: var(--text-main); font-weight: 500; }

.pa-stepper {
  display: flex; align-items: stretch; gap: 8px; margin-bottom: 10px;
}
.pa-step {
  width: 46px; flex-shrink: 0;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--bg-main); color: var(--text-main);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .1s;
}
.pa-step:hover { background: var(--bg-subtle); }
.pa-step:disabled { opacity: .3; cursor: default; }
.pa-step svg { width: 18px; height: 18px; }

.pa-step-display {
  flex: 1; border: 1.5px solid var(--text-main); border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 8px 6px; gap: 3px;
}
.pa-pct {
  font-family: var(--font-mono); font-size: 20px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.pa-target-label {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted);
}
.pa-mono { font-family: var(--font-mono); }

.pa-presets {
  display: flex; gap: 6px; margin-bottom: 14px;
}
.pa-preset {
  flex: 1; padding: 7px 0; text-align: center; cursor: pointer;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-main); color: var(--text-muted);
  transition: border-color .1s, background .1s, color .1s;
}
.pa-preset--active {
  border-color: var(--accent); background: var(--accent-bg); color: var(--accent);
}
.pa-preset:hover:not(.pa-preset--active) { border-color: var(--border-strong); color: var(--text-main); }

.pa-email-wrap {
  display: flex; align-items: center; gap: 9px; height: 46px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 0 12px; margin-bottom: 10px; cursor: text;
}
.pa-email-wrap svg { flex-shrink: 0; color: var(--text-muted); width: 16px; height: 16px; }
.pa-email {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--text-main); font-family: var(--font-sans);
}
.pa-email::placeholder { color: var(--text-faint); }
.pa-email--err { border-color: #dc2626 !important; }
.pa-email-wrap:focus-within { border-color: var(--text-main); }

.pa-sheet .btn { margin-bottom: 0; }
.pa-fine {
  margin: 9px 0 0; font-family: var(--font-mono); font-size: 10.5px;
  color: var(--text-faint); line-height: 1.5; text-align: center;
}

.pa-success {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--accent-bg); border-radius: var(--radius-sm);
  padding: 12px; margin-top: 10px; color: var(--accent);
}
.pa-success[hidden] { display: none; }
.pa-success svg { flex-shrink: 0; margin-top: 1px; width: 22px; height: 22px; }
.pa-success strong { display: block; font-size: 13.5px; font-weight: 600; }
.pa-success span { font-size: 12.5px; line-height: 1.4; color: var(--accent); opacity: .85; }

/* Responsive */
@media (max-width: 640px) {
  main { padding: var(--sp-4) var(--sp-4) var(--sp-6); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 6px 7px; }
  /* Header pe 2 rânduri sub ~360px: order, nu reordonare DOM. */
  .header-inner { height: auto; flex-wrap: wrap; padding: var(--sp-2) var(--sp-3); row-gap: var(--sp-2); }
  .wordmark    { order: 1; }
  .nav-links   { order: 2; }
  .search--nav { order: 3; width: 100%; flex: 1 0 100%; margin: 0; }
  /* Home + /cauta: bara din header dispare pe mobil (au căutare în pagină). */
  body.view-home .search--nav,
  body.view-search .search--nav { display: none; }
  .hero-row { gap: var(--sp-3); }
  .hero-logo { max-width: 88px; }
  .hero-mark { width: 92px; align-self: center; }
  body.view-home .hero-top { flex-direction: column; align-items: stretch; text-align: center; gap: var(--sp-3); }
  /* La focus vulpea colapsează și ea — pe mobil stă DEASUPRA casetei și
     mânca spațiul dropdown-ului. (Colapsul prin max-height, nu opacity:
     animația hero-rise cu fill both ar bate opacity-ul din cascadă.) */
  .hero-mark { max-height: 92px; transition: max-height .45s cubic-bezier(.4, 0, .2, 1), opacity .35s; }
  .hero.is-searching .hero-mark { max-height: 0; opacity: 0; pointer-events: none; }
  body.view-home .hero-top { transition: gap .45s cubic-bezier(.4, 0, .2, 1); }
  body.view-home .hero.is-searching .hero-top { gap: 0; }
  /* Focus pe mobil: caseta urcă lângă antet (hero.js). Padding = gap vizibil. */
  .hero.is-searching { padding-top: var(--sp-4); }
  /* Pe mobil panoul umple ecranul (à la Vivino), cu vulpea mutată în el —
     de deasupra casetei a dispărut la focus. Full-bleed, fără chenar, lipit
     de casetă = o singură suprafață. Conținutul stă SUS (flex-start):
     centrat ar cădea sub tastatură (~45% din ecran, nevăzut de layout).
     Sugestiile (z-30) îl acoperă imediat ce apar. url relativ la /{piață}/. */
  .hero .search-hint {
    height: calc(100vh - 80px); height: calc(100dvh - 80px);
    justify-content: flex-start;
    top: 100%; left: calc(-1 * var(--sp-4)); right: calc(-1 * var(--sp-4));
    border: 0; border-radius: 0;
    padding: 124px var(--sp-4) var(--sp-4);
    touch-action: none;   /* swipe pe panou nu mai scrollează pagina de sub el */
    background: color-mix(in srgb, var(--logo-gold) 9%, var(--bg-main))
                url("vulpavo_mark_gold.png") center var(--sp-5) / 104px auto no-repeat;
  }
  .search-hint-main { font-size: 14px; }
  .search-hint-sub { font-size: 12px; }
  /* În modul căutare: „Caută" e redundant (Enter pe tastatură) → în locul lui
     apare săgeata de ieșire, în stânga (order), unde stătea prompt-ul $. */
  .hero.is-searching .search-submit { display: none; }
  .hero.is-searching .search-prompt { display: none; }
  .hero.is-searching .search-cancel { display: flex; }
  /* Antetul se ascunde în modul căutare (clasa pe body o pune hero.js) —
     caseta ajunge chiar sus, tot ecranul rămâne pentru sugestii. */
  .site-header { max-height: 120px; transition: max-height .45s cubic-bezier(.4, 0, .2, 1); }
  body.hero-searching .site-header { max-height: 0; overflow: hidden; border-bottom: 0; }
  /* Sugestii compacte: ~7-8 rânduri vizibile în loc de 5 */
  .search-row { padding: var(--sp-1) var(--sp-3); }
  .search-thumb { flex-basis: 28px; height: 34px; }
  .search-name { font-size: 13px; }
  .search-price { font-size: 12px; }
}

/* Zid de login (nudge GIS popup) */
body.auth-locked { overflow: hidden; }
body.auth-locked main { filter: blur(5px); pointer-events: none; user-select: none; }
.auth-wall { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center;
  justify-content: center; padding: var(--sp-5);
  background: color-mix(in srgb, var(--bg-main) 72%, transparent); backdrop-filter: blur(2px); }
.auth-wall__x { position: absolute; top: 1rem; right: 1rem; width: 2rem; height: 2rem; border: 0;
  border-radius: 50%; background: var(--bg-subtle); color: var(--text-muted); font-size: 1.4rem;
  line-height: 1; cursor: pointer; }
.auth-wall__x:hover { color: var(--text-main); }
.auth-wall__card { position: relative; width: 100%; max-width: 400px; background: var(--bg-main);
  border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem 1.75rem;
  text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.auth-wall__x { position: absolute; top: .6rem; right: .6rem; width: 1.9rem; height: 1.9rem; border: 0;
  border-radius: 50%; background: var(--bg-subtle); color: var(--text-muted); font-size: 1.3rem;
  line-height: 1; cursor: pointer; }
.auth-wall__x:hover { color: var(--text-main); }
.auth-wall__mark { display: block; width: 96px; height: auto; margin: 0 auto .5rem; }
.auth-wall__logo { font-family: var(--font-mono); font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.auth-wall__card h2 { margin: 0 0 .4rem; font-size: 1.3rem; }
.auth-wall__card p { margin: 0 0 1rem; color: var(--text-muted); font-size: .92rem; }
.auth-wall__benefits { list-style: none; margin: 0 0 1.25rem; padding: 0; text-align: left; }
.auth-wall__benefits li { position: relative; padding: .4rem 0 .4rem 1.75rem; font-size: .9rem;
  line-height: 1.4; color: var(--text-main); border-top: 1px solid var(--border); }
.auth-wall__benefits li:first-child { border-top: 0; }
.auth-wall__benefits li::before { content: "✓"; position: absolute; left: 0; top: .4rem;
  color: var(--accent); font-weight: 700; }
.auth-wall__benefits b { font-weight: 600; }
.auth-wall__btn { display: flex; justify-content: center; min-height: 40px; }
.auth-wall__err { margin-top: .75rem; color: var(--warn); font-size: .85rem; }
.auth-wall__fine { margin: .9rem 0 0; font-size: .78rem; color: var(--text-faint); }
.nav-auth { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; color: var(--text-muted); }
.nav-auth a { color: var(--accent); }

/* Poartă de vârstă (render_age_gate) — overlay peste conținut, nu în locul lui.
   z-index peste .auth-wall: dacă pică amândouă pe aceeași pagină, vârsta prima. */
body.age-locked { overflow: hidden; }
/* margin:auto pe card, nu align-items:center — pe ecran scund cardul centrat
   cu flex se taie sus și nu mai poate fi derulat. */
.age-gate { position: fixed; inset: 0; z-index: 1100; display: flex; overflow-y: auto;
  padding: var(--sp-5);
  background: color-mix(in srgb, var(--text-main) 48%, transparent); backdrop-filter: blur(4px); }
/* `animation: none` obligatoriu la ieșire: animația de intrare are fill both și
   ține opacity/transform peste declarațiile normale — fără el, tranziția nu pornește. */
.age-gate.is-out { animation: none; opacity: 0; pointer-events: none; transition: opacity .22s ease; }
.age-gate.is-out .age-gate__card { animation: none; transform: scale(.96); transition: transform .22s ease; }
.age-gate__card { position: relative; margin: auto; width: 100%; max-width: 400px; background: var(--bg-main);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--sp-8) var(--sp-6) var(--sp-6); text-align: center;
  box-shadow: 0 12px 44px rgba(0,0,0,.28); }
.age-gate__badge { position: absolute; top: -16px; right: -12px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--text-main); color: #fff;
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  box-shadow: 0 0 0 4px var(--bg-main); transform: rotate(-8deg); }
.age-gate__fox { display: block; width: 132px; height: auto; margin: 0 auto var(--sp-4); }
.age-gate__card h2 { margin: 0 0 var(--sp-2); font-size: 1.35rem; }
.age-gate__card p { margin: 0 0 var(--sp-5); color: var(--text-muted); font-size: .92rem; line-height: 1.55; }
.age-gate__actions { display: flex; gap: var(--sp-3); }
.age-gate__actions .btn { flex: 1 1 0; }
.age-gate__actions .btn--primary { flex: 2 1 0; }
.age-gate__card .age-gate__fine { margin: var(--sp-4) 0 0; font-size: .74rem; line-height: 1.5;
  color: var(--text-faint); }
.age-gate__undo { border: 0; padding: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-decoration: underline; }
.age-gate__undo:hover { color: var(--text-muted); }
.age-gate__nope { display: none; }
.age-gate.is-nope .age-gate__ask { display: none; }
.age-gate.is-nope .age-gate__nope { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .age-gate { animation: age-fade .25s ease both; }
  .age-gate__card { animation: age-card .38s cubic-bezier(.34, 1.56, .64, 1) both; }
  .age-gate__fox { animation: age-fox .55s cubic-bezier(.34, 1.56, .64, 1) .12s both; }
  .age-gate__badge { animation: age-stamp .4s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
}
@keyframes age-fade { from { opacity: 0; } }
@keyframes age-card { from { opacity: 0; transform: translateY(12px) scale(.94); } }
@keyframes age-fox {
  0%   { opacity: 0; transform: translateY(16px); }
  60%  { opacity: 1; transform: translateY(-3px) rotate(-2.5deg); }
  100% { transform: none; }
}
@keyframes age-stamp { from { opacity: 0; transform: rotate(24deg) scale(1.7); } }

/* Pagina „Contul meu" (/my_account) */
.acct { max-width: var(--maxw-read); margin: 0 auto; padding: var(--sp-6) var(--sp-4); }
.acct-head { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.acct-avatar { border-radius: 9999px; flex: 0 0 auto; }
.acct-id { flex: 1 1 auto; min-width: 0; }
.acct-name { margin: 0; font-size: 1.4rem; }
.acct-email { margin: var(--sp-1) 0 0; color: var(--text-muted); font-size: .9rem; font-family: var(--font-mono); }
.acct-logout { flex: 0 0 auto; min-height: 38px; }
.acct-block { margin-bottom: var(--sp-8); }
.acct-block h2 { font-size: 1.05rem; margin: 0 0 var(--sp-4); padding-bottom: var(--sp-2); border-bottom: 1px solid var(--border); }
.acct-empty { color: var(--text-muted); font-size: .92rem; }
.acct-alerts { list-style: none; margin: 0; padding: 0; }
.acct-alert { display: flex; align-items: baseline; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
.acct-alert__name { flex: 1 1 auto; min-width: 0; color: var(--text-main); font-weight: 500; }
.acct-alert__name:hover { color: var(--accent); }
.acct-alert__meta { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.acct-alert__rm { flex: 0 0 auto; border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; color: var(--text-faint); padding: 0 var(--sp-1); }
.acct-alert__rm:hover { color: var(--c-danger); }
.acct-danger h2 { border-bottom-color: var(--c-danger); }
.acct-danger p { color: var(--text-muted); font-size: .92rem; margin: 0 0 var(--sp-4); }
.btn--danger { color: var(--c-danger); border-color: var(--c-danger); }
.btn--danger:hover { background: var(--c-danger); color: #fff; }

/* Debug matching inline (?debug=99) */
.orow-dbg { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem;
  align-items: center; }
.dbg-badge { display: inline-block; padding: .05em .45em; border-radius: 4px;
  font-weight: 600; font-size: .68rem; line-height: 1.5;
  font-family: "Geist Mono", ui-monospace, monospace;
  background: #ddd6fe; color: #5b21b6; }
.dbg-badge--jac { background: #fde68a; color: #92400e; }
.dbg-badge--grp { background: #bbf7d0; color: #065f46; }
.dbg-mg { font-size: .68rem; color: #9ca3af;
  font-family: "Geist Mono", ui-monospace, monospace; }

