/* ============================================================
   GRAVORA — Design System (shared across all pages)
   ============================================================ */

:root {
  /* Brand palette */
  --ink: #0F1216;
  --ink-2: #161a20;
  --navy: #1C3D6A;
  --navy-deep: #142d4f;
  --crystal: #77A9F1;
  --crystal-icy: #B4CEF2;
  --crystal-deep: #4E86E0;
  --silver: #C9CDD2;
  --mist: #EEF2F7;
  --mist-2: #e4eaf2;
  --surface: #FFFFFF;
  --text: #14181D;
  --muted: #5D6164;
  --line: #e2e7ee;
  --line-dark: rgba(201,205,210,.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-sm: 7px;
  --shadow-sm: 0 1px 2px rgba(15,18,22,.05);
  --shadow-card: 0 18px 40px -24px rgba(28,61,106,.42);
  --shadow-lg: 0 30px 70px -32px rgba(15,18,22,.5);
  --ease: cubic-bezier(.22,.61,.36,1);

  --maxw: 1240px;
  --gut: 40px;

  /* ============================================================
     SEMANTIC THEME TOKENS — LIGHT (default)
     Dark overrides live in html[data-theme="dark"] below and
     reproduce the original design exactly. The brand palette
     above stays as the raw palette these tokens reference.
     ============================================================ */

  /* Core surfaces & text */
  --bg: var(--mist);              /* page background */
  --surface-1: #ffffff;           /* cards / raised surfaces */
  --surface-2: #f4f7fb;           /* sunken / secondary fills */
  --text-1: var(--text);          /* primary text */
  --text-2: var(--muted);         /* muted / secondary text */
  --border-1: var(--line);        /* hairline borders */
  --border-2: #c2cad6;            /* stronger borders */

  /* Brand-tinted roles */
  --accent: var(--crystal);
  --accent-strong: var(--crystal-deep);
  --link: var(--navy);
  --link-hover: var(--navy-deep);
  --eyebrow-color: var(--crystal-deep);
  --focus-ring: rgba(119,169,241,.30);
  --overlay: rgba(15,18,22,.55);

  /* Buttons */
  --btn-primary-bg: #2f6fd6;      /* AA: 4.8:1 on white */
  --btn-primary-text: #ffffff;
  --btn-primary-hover: #2360c4;
  --btn-primary-shadow: rgba(47,111,214,.5);
  --btn-dark-bg: var(--ink);
  --btn-dark-text: #ffffff;
  --btn-dark-hover: #000000;
  --btn-ghost-text: var(--text);
  --btn-ghost-border: rgba(15,18,22,.28);
  --btn-ghost-hover-bg: rgba(15,18,22,.05);
  --btn-ghost-hover-border: rgba(15,18,22,.6);

  /* Inputs */
  --input-bg: #ffffff;
  --input-text: var(--text);
  --input-border: var(--line);
  --input-placeholder: #8b94a1;

  /* Image wells / media placeholders */
  --media-bg: #e7ecf3;

  /* Chrome — USP strip */
  --usp-bg: #e9edf4;
  --usp-text: #4a4f55;
  --usp-icon: var(--crystal-deep);

  /* Chrome — header */
  --header-bg: #ffffff;
  --header-text: var(--text);
  --header-muted: var(--muted);
  --header-border: var(--line);
  --header-hover-bg: rgba(15,18,22,.06);
  --header-shadow: 0 1px 0 var(--line);

  /* Chrome — dropdown popover.
     `--pop-muted` și `--pop-chip-*` există fiindcă interiorul dropdown-ului (subtitlul și pastila cu
     iconiță) folosea paleta brută — `--muted`, `--mist`, `--navy` — care NU se comută pe temă. */
  --pop-bg: #ffffff;
  --pop-text: var(--text);
  --pop-border: var(--line);
  --pop-hover-bg: var(--mist);
  --pop-hover-text: var(--navy);
  --pop-muted: var(--muted);
  --pop-chip-bg: var(--mist);
  --pop-chip-icon: var(--navy);

  /* Chrome — mobile drawer */
  --menu-bg: #ffffff;
  --menu-text: var(--text);
  --menu-muted: var(--muted);
  --menu-border: var(--line);
  --menu-accent: var(--navy);

  /* Feature bands (.split, .section.on-ink, .nl-band) */
  --band-bg: #eaf0f8;
  --band-text: var(--text);
  --band-muted: var(--muted);
  --band-accent: var(--crystal-deep);
  /* Conturul cardului .split. NU folosim --line (#e2e7ee): e gândit pentru fundal alb și pe
     banda #eaf0f8 dă un contrast de 1.08:1 — practic invizibil. Nuanță din familia albastră a
     benzii, calibrată la ~1.8:1, adică puțin peste cât se vede în dark mode (1.68:1) — pe fond
     deschis un contur subtil se citește mai slab. */
  --band-border: rgba(43, 63, 94, .34);

  /* Chrome — footer */
  --footer-bg: #e9edf3;
  --footer-text: #51565c;
  --footer-heading: var(--text);
  --footer-border: var(--line);
  --footer-chip-bg: rgba(15,18,22,.05);

  /* Overlay panels (search / cookie / newsletter modal) */
  --panel-bg: #ffffff;
  --panel-text: var(--text);
  --panel-muted: var(--muted);
  --panel-border: var(--line);

  /* Status / feedback */
  --success-fg: #1f8a5b;
  --success-bg: #e9f6ef;
  --success-border: #bfe6d1;
  --danger-fg: #c0392b;
  --danger-bg: #fdeaea;
  --danger-border: #f0c9c9;
  --warn-fg: #b9740d;
  --warn-bg: #fff6e6;
  --warn-border: #f0dca0;
  --info-fg: #2b6fdb;
  --info-bg: #e8f0fe;
  --info-border: #c9ddfb;
}

/* ============================================================
   SEMANTIC THEME TOKENS — DARK
   Values reproduce the original "theme-ink" look exactly.
   ============================================================ */
html[data-theme="dark"] {
  --bg: var(--ink);
  --surface-1: var(--ink-2);
  --surface-2: rgba(255,255,255,.04);
  --text-1: #ffffff;
  --text-2: var(--silver);
  --border-1: var(--line-dark);
  --border-2: rgba(255,255,255,.22);

  --accent: var(--crystal);
  --accent-strong: var(--crystal-deep);
  --link: var(--crystal-icy);
  --link-hover: #cfe0f8;
  --eyebrow-color: var(--crystal-icy);
  --focus-ring: rgba(119,169,241,.30);
  --overlay: rgba(15,18,22,.6);

  --btn-primary-bg: var(--crystal);
  --btn-primary-text: #ffffff;
  --btn-primary-hover: var(--crystal-deep);
  --btn-primary-shadow: rgba(78,134,224,.7);
  --btn-dark-bg: var(--ink);
  --btn-dark-text: #ffffff;
  --btn-dark-hover: #000000;
  --btn-ghost-text: #ffffff;
  --btn-ghost-border: rgba(255,255,255,.45);
  --btn-ghost-hover-bg: rgba(255,255,255,.08);
  --btn-ghost-hover-border: #ffffff;

  --input-bg: var(--ink);
  --input-text: #ffffff;
  --input-border: var(--line-dark);
  --input-placeholder: rgba(201,205,210,.5);

  --media-bg: var(--ink);

  --usp-bg: var(--ink);
  --usp-text: var(--silver);
  --usp-icon: var(--crystal);

  --header-bg: var(--ink);
  --header-text: #ffffff;
  --header-muted: var(--silver);
  --header-border: var(--line-dark);
  --header-hover-bg: rgba(255,255,255,.08);
  --header-shadow: none;

  /* ⚠️ Blocul ăsta era o COPIE a celui de light — `--pop-bg: #ffffff` inclusiv — deși toți vecinii
     lui (`--header-*`, `--menu-*`, `--band-*`) erau corect întunecați. Rezultatul: meniul care se
     deschide sub „Lanțuri" rămânea alb pe temă întunecată, singurul element luminos din pagină.
     Fondul e `--ink-2`, nu `--ink`: dropdown-ul atârnă de un header care e deja `--ink`, deci are
     nevoie de o treaptă în plus ca să se desprindă de el. */
  --pop-bg: var(--ink-2);
  --pop-text: #ffffff;
  --pop-border: var(--line-dark);
  --pop-hover-bg: rgba(255,255,255,.08);
  --pop-hover-text: #ffffff;
  --pop-muted: var(--silver);
  --pop-chip-bg: rgba(255,255,255,.08);
  --pop-chip-icon: var(--crystal-icy);

  --menu-bg: var(--ink);
  --menu-text: #ffffff;
  --menu-muted: var(--silver);
  --menu-border: var(--line-dark);
  --menu-accent: var(--crystal-icy);

  --band-bg: var(--ink);
  --band-text: #ffffff;
  --band-muted: var(--silver);
  --band-accent: var(--crystal-icy);
  --band-border: rgba(201,205,210,.22);

  --footer-bg: var(--ink);
  --footer-text: var(--silver);
  --footer-heading: #ffffff;
  --footer-border: var(--line-dark);
  --footer-chip-bg: rgba(255,255,255,.08);

  --panel-bg: var(--ink);
  --panel-text: #ffffff;
  --panel-muted: var(--silver);
  --panel-border: var(--line-dark);

  --success-fg: #6fd49a;
  --success-bg: rgba(31,138,91,.18);
  --success-border: rgba(31,138,91,.30);
  --danger-fg: #f0a0a0;
  --danger-bg: rgba(192,57,67,.16);
  --danger-border: rgba(192,57,67,.35);
  --warn-fg: #e7c14e;
  --warn-bg: rgba(217,168,19,.12);
  --warn-border: rgba(217,168,19,.35);
  --info-fg: #9cc0ff;
  --info-bg: rgba(43,111,219,.2);
  --info-border: rgba(43,111,219,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--text-1);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--eyebrow-color);
}
.eyebrow.on-dark { color: var(--band-accent); }
.serif { font-family: var(--serif); }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 4vw, 44px);
  line-height: 1.05; letter-spacing: -.5px; margin-top: 8px;
}
.section-head p { color: var(--muted); max-width: 560px; margin: 12px auto 0; font-size: 15.5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: all .22s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-text); }
.btn-primary:hover { background: var(--btn-primary-hover); transform: translateY(-1px); box-shadow: 0 10px 22px -10px var(--btn-primary-shadow); }
.btn-dark { background: var(--btn-dark-bg); color: var(--btn-dark-text); }
.btn-dark:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--btn-ghost-text); border-color: var(--btn-ghost-border); }
.btn-ghost:hover { border-color: var(--btn-ghost-hover-border); background: var(--btn-ghost-hover-bg); }
.btn-outline { background: transparent; color: var(--link); border-color: var(--link); }
.btn-outline:hover { background: var(--link); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 13.5px; }

/* ============================================================
   USP bar
   ============================================================ */
.usp {
  background: var(--usp-bg); color: var(--usp-text);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  height: 38px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.usp-track { display: flex; gap: 0; }
.usp-item { display: flex; align-items: center; gap: 10px; }
.usp-item svg { width: 14px; height: 14px; color: var(--usp-icon); }
.usp-sep { color: var(--usp-icon); margin: 0 18px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--header-bg); color: var(--header-text); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--header-border);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; height: 74px;
}
.header-left { display: flex; align-items: center; gap: 24px; justify-self: start; }
.nav-left { display: flex; gap: 30px; }
.nav-link {
  font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  opacity: .82; transition: opacity .2s; position: relative; padding: 8px 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-link:hover { opacity: 1; }
.nav-link svg { width: 11px; height: 11px; transition: transform .2s; }
.has-dropdown { position: relative; }
.has-dropdown:hover .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--pop-bg); color: var(--pop-text); border-radius: var(--radius); min-width: 210px;
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: all .22s var(--ease); border: 1px solid var(--pop-border);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(8px); }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; transition: background .15s;
}
.dropdown a:hover { background: var(--pop-hover-bg); color: var(--pop-hover-text); }
.dropdown a .d-sub { font-size: 11.5px; color: var(--pop-muted); font-weight: 400; }
.dropdown a .d-ico { width: 34px; height: 34px; border-radius: 8px; background: var(--pop-chip-bg); display: grid; place-items: center; color: var(--pop-chip-icon); flex: none; }
.dropdown a .d-ico svg { width: 17px; height: 17px; }

.brand { justify-self: center; }
/* width:auto + flex-shrink:0 sunt esențiale: regula globală `img { max-width:100% }` combinată
   cu înălțimea fixă tăia LĂȚIMEA logo-ului fără să scadă înălțimea, deci îl turtea orizontal.
   Pe 375px coloana logo-ului ajunsese la 21px din 130 necesari (turtire de 84%). */
.brand img { height: 36px; width: auto; max-width: none; flex-shrink: 0; }

/* Logo swaps to the dark wordmark on light surfaces (keeps the crystal accent) */
[data-theme="light"] .brand img,
[data-theme="light"] .mm-top img,
[data-theme="light"] .footer-brand img { content: url("assets/logo-black.png"); }

.nav-right { display: flex; gap: 8px; justify-self: end; align-items: center; }

/* Language switcher (flag toggle) */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; }
.lang-switch .lang-opt { background: transparent; border: none; padding: 0; cursor: pointer; line-height: 0; border-radius: 4px; }
.lang-switch .lang-opt img { display: block; width: 26px; height: 18px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(255,255,255,.28); box-shadow: 0 1px 3px rgba(0,0,0,.45); opacity: .5; filter: saturate(.85); transition: opacity .18s, border-color .18s, transform .18s, box-shadow .18s; }
.lang-switch .lang-opt:hover img { opacity: .85; transform: translateY(-1px); }
.lang-switch .lang-opt.active img { opacity: 1; filter: none; border-color: var(--crystal, #77A9F1); box-shadow: 0 0 0 2px rgba(119,169,241,.35), 0 1px 3px rgba(0,0,0,.45); }
.lang-switch.mm-lang { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.lang-switch.mm-lang .mm-lang-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--menu-muted); opacity: .8; margin-right: auto; }
.lang-switch.mm-lang .lang-opt img { width: 34px; height: 23px; }
/* Toggle-ul de temă din subsolul meniului mobil (a doua instanță, vezi app.js placeToggle). */
.mm-theme { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; }
.mm-theme .mm-lang-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--menu-muted); opacity: .8; margin-right: auto; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px;
  background: transparent; border: none; color: var(--header-text); opacity: .85; transition: all .18s; position: relative;
}
.icon-btn:hover { opacity: 1; background: var(--header-hover-bg); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: 3px; right: 2px; background: var(--crystal); color: #fff;
  font-size: 10px; font-weight: 700; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; display: grid; place-items: center; line-height: 1;
}
.cart-count[data-count="0"] { display: none; }
.hamburger { display: grid; }
.hamburger .ham-x { display: none; }

/* ---------- Theme toggle (pill switch: sliding white knob + sun/moon) ---------- */
.theme-toggle { background: none; border: none; padding: 0 4px; height: 40px; display: inline-grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.theme-toggle .tt-track {
  position: relative; width: 54px; height: 28px; border-radius: 999px;
  background: #d7dde6; border: 1px solid #c2cad6;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
[data-theme="dark"] .theme-toggle .tt-track { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.14); }
.theme-toggle .tt-thumb {
  position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); display: grid; place-items: center;
  transition: transform .32s var(--ease);
}
[data-theme="dark"] .theme-toggle .tt-thumb { transform: translateX(26px); }
.theme-toggle .tt-ico { position: absolute; width: 13px; height: 13px; transition: opacity .25s var(--ease); }
.theme-toggle .tt-sun { color: #f0a92b; opacity: 1; }
.theme-toggle .tt-moon { color: #20242b; opacity: 0; }
[data-theme="dark"] .theme-toggle .tt-sun { opacity: 0; }
[data-theme="dark"] .theme-toggle .tt-moon { opacity: 1; }
.theme-toggle:focus-visible { outline: none; }
.theme-toggle:focus-visible .tt-track { outline: 2px solid var(--crystal); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .theme-toggle .tt-thumb { transition: none; }
}

/* ---------- Drawer menu (slides from left) ---------- */
.mm-overlay { position: fixed; inset: 0; z-index: 199; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease); }
.mm-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(360px, 86vw); z-index: 200; background: var(--menu-bg); color: var(--menu-text);
  transform: translateX(-100%); transition: transform .32s var(--ease);
  display: flex; flex-direction: column; padding: 22px 24px; overflow-y: auto; box-shadow: 20px 0 50px -20px rgba(0,0,0,.5);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mm-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-menu .mm-top img { height: 30px; }
.mm-nav { display: flex; flex-direction: column; flex: 1; }
.mm-group { padding: 14px 0; border-bottom: 1px solid var(--menu-border); }
.mm-group:first-child { padding-top: 4px; }
.mm-gtitle { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--menu-muted); opacity: .7; font-weight: 600; margin-bottom: 6px; }
.mobile-menu a.mm-link { font-family: var(--serif); font-size: 20px; padding: 8px 0; border: none; display: flex; align-items: center; gap: 10px; transition: color .15s, padding-left .15s; }
.mobile-menu a.mm-link:hover { color: var(--menu-accent); padding-left: 4px; }
.mm-sub { display: flex; align-items: center; gap: 10px; padding: 2px 0 6px 2px; }
/* padding vertical ca zona de atins să ajungă la ~40px — la 20px înălțime se rata des cu degetul */
.mm-sub a { font-size: 13.5px; font-weight: 600; color: var(--menu-accent); padding: 10px 2px; margin: -10px 0; }
.mm-sub a:hover { text-decoration: underline; }
.mm-sub span { color: var(--menu-muted); opacity: .5; }
.mm-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--menu-border); }
.mm-foot-links { display: flex; gap: 22px; margin-bottom: 14px; }
.mm-account { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--menu-text); padding: 11px 0; }
.mm-account svg { width: 17px; height: 17px; }
.mm-account:hover { color: var(--menu-accent); }
.mm-wa { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--crystal); color: #fff; font-weight: 600; font-size: 14px; padding: 13px; border-radius: 10px; transition: background .2s; }
.mm-wa:hover { background: var(--crystal-deep); }
.mm-wa svg { width: 18px; height: 18px; }
.mm-legal { margin-top: 14px; font-size: 12px; color: var(--menu-muted); opacity: .8; }
.mm-legal a { display: inline-block; padding: 9px 2px; } /* linkuri legale: 14px înălțime -> ~32px */
.mm-legal a:hover { color: var(--menu-accent); }
.mm-social { display: flex; gap: 10px; margin-top: 14px; }
.mm-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--menu-border); display: grid; place-items: center; color: var(--menu-text); transition: .2s; }
.mm-social a:hover { background: var(--crystal); border-color: var(--crystal); }
.mm-social svg { width: 17px; height: 17px; }

/* ============================================================
   Hero top — original brand banner, clean (no overlay)
   ============================================================ */
.hero-banner { display: block; background: var(--media-bg); line-height: 0; }
.hero-banner picture { display: block; width: 100%; }
.hero-banner .hero-img { width: 100%; height: auto; display: block; vertical-align: bottom; }

/* ============================================================
   Split feature (variant B)
   ============================================================ */
.split {
  background: var(--band-bg); color: var(--band-text); margin: 0;
  padding: clamp(44px, 5vw, 80px) clamp(28px, 5vw, 64px);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.split-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 560px) auto; justify-content: center; align-items: center;
  gap: clamp(36px, 5vw, 80px);
  border: 1px solid var(--band-border); border-radius: 16px;
  padding: clamp(28px, 3.5vw, 52px) clamp(28px, 4vw, 60px);
}
.split .s-left { display: flex; flex-direction: column; justify-content: center; }
.split h2, .split h1 { font-family: var(--serif); font-size: clamp(34px, 3.8vw, 50px); font-weight: 600; line-height: 1.04; letter-spacing: -.5px; margin-top: 16px; }
.split h2 em, .split h1 em { font-style: italic; color: var(--band-accent); }
.split p { color: var(--band-muted); font-size: 16px; line-height: 1.6; margin: 18px 0 28px; max-width: 420px; }
/* Image: a moderate square sized by height, balanced with the text block.
   Square box + square image = full composition, no crop, no black bands. */
.split .s-right { position: relative; aspect-ratio: 1 / 1; height: clamp(300px, 30vw, 400px); width: auto; overflow: hidden; border-radius: 6px; }
.split .s-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .split-inner { grid-template-columns: 1fr; gap: 28px; }
  .split .s-right { order: -1; justify-self: center; width: min(100%, 380px); height: auto; }
}

/* ============================================================
   Comutatoare de vizibilitate homepage (admin → Homepage → „Afișare pe homepage")
   ============================================================ */
/* 700px NU e ales arbitrar: e exact pragul pe care <picture> din .hero-banner îl folosește ca
   să comute pe imaginea mobilă (vezi media="(max-width:700px)" în index.html). Un prag diferit
   aici ar ascunde banner-ul la o lățime unde browserul încă arată cealaltă imagine. */
@media (min-width: 701px) { .gv-hide-desktop { display: none !important; } }
@media (max-width: 700px) { .gv-hide-mobile { display: none !important; } }

/* ============================================================
   Collection sections + product cards
   ============================================================ */
.section { padding: 78px 0; }
.section.on-mist { background: var(--bg); }
.section.on-surface { background: var(--surface-1); }
.section.on-ink { background: var(--band-bg); color: var(--band-text); }

.collection-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.collection-head .ch-text h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; line-height: 1.05; margin-top: 6px; }
.collection-head .ch-link { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--link); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: gap .2s; }
.collection-head .ch-link:hover { gap: 12px; }
.on-ink .collection-head .ch-link { color: var(--band-accent); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--surface-1); border: 1px solid var(--border-1); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.product-card .pc-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--media-bg); }
.product-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.06); }
.product-card .pc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .pc-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.product-card .pc-meta { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.product-card .pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.product-card .pc-price { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--text-1); }
.product-card .pc-price s { color: var(--muted); font-size: 16px; font-weight: 400; margin-right: 6px; }
.product-card .pc-add {
  width: 38px; height: 38px; border-radius: 8px; background: var(--mist); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--navy); transition: all .2s;
}
.product-card .pc-add:hover { background: var(--crystal); color: #fff; border-color: var(--crystal); }
.product-card .pc-add svg { width: 18px; height: 18px; }

.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px;
}
.badge.sold { background: rgba(15,18,22,.82); color: #fff; }
.badge.new { background: var(--crystal); color: #fff; }
.badge.gold { background: #C9A24B; color: #fff; }
.product-card.is-sold .pc-media img { filter: grayscale(.6) brightness(.85); }
.product-card.is-sold:hover { transform: none; box-shadow: var(--shadow-sm); }

/* ---------- „Vezi și alte produse" (banda de pe pagina de produs) ---------- */
/* Tokeni SEMANTICI (--text-1, --serif), nu paleta brută: banda stă pe pagina publică, deci
   trebuie să arate corect și pe tema întunecată. `styles.css` nu are niciun selector `h2` de
   bază — titlurile sunt stilizate per componentă — deci fără regula de mai jos titlul ar rămâne
   la dimensiunea implicită a browserului. */
.related { margin: 56px 0 0; }
.related h2 { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--text-1); margin-bottom: 22px; }
/* Banda are FIX 4 produse, spre deosebire de grilele de catalog, care au un număr variabil.
   Regula globală trece grila la 3 coloane sub 1080px, ceea ce ar lăsa al patrulea card orfan pe
   rândul doi — aici se sare direct la 2×2. Sub 560px regula globală dă oricum 2 coloane. */
@media (max-width: 1080px) { .related .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related { margin-top: 36px; } .related h2 { font-size: 24px; } }

/* ---------- Collection cards (4-up, variant B style) ---------- */
.collection-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coll-card { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; display: block; }
.coll-card .cc-bg { position: absolute; inset: 0; }
.coll-card .cc-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.coll-card:hover .cc-bg img { transform: scale(1.07); }
.coll-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(15,18,22,.92) 100%); }
.coll-card .cc-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.coll-card .cc-label h3 { font-family: var(--serif); color: #fff; font-size: 24px; font-weight: 600; }
.coll-card .cc-line { width: 28px; height: 2px; background: var(--crystal); margin-top: 9px; transition: width .3s var(--ease); }
.coll-card:hover .cc-line { width: 56px; }

/* ---------- Category banner cards (Cristale / Brelocuri) ---------- */
.cat-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-banner {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff; padding: 34px; isolation: isolate;
}
.cat-banner .cb-bg { position: absolute; inset: 0; z-index: -1; }
.cat-banner .cb-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-banner:hover .cb-bg img { transform: scale(1.05); }
.cat-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,18,22,.12) 0%, rgba(15,18,22,.85) 100%); }
.cat-banner .cb-text h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.05; }
.cat-banner .cb-text p { font-size: 14px; color: rgba(255,255,255,.82); margin: 6px 0 16px; max-width: 320px; }

/* ============================================================
   How it works
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step .step-img { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--media-bg); position: relative; }
.step .step-img img { width: 100%; height: 100%; object-fit: cover; }
.step .step-n {
  position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(15,18,22,.55); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-family: var(--serif); font-size: 18px; font-weight: 600; display: grid; place-items: center;
}
.step h3 { font-family: var(--serif); font-size: 23px; font-weight: 600; margin: 18px 0 7px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   Trust section
   ============================================================ */
.trust { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.trust .t-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.trust .t-img img { width: 100%; height: 100%; object-fit: cover; }
.trust-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.trust-item { display: flex; gap: 18px; }
.trust-item .ti-ico { width: 50px; height: 50px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; color: var(--navy); flex: none; }
.trust-item .ti-ico svg { width: 23px; height: 23px; }
.trust-item h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; }
.trust-item p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.55; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 64px 0 30px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 280px; color: var(--footer-text); opacity: .9; }
.footer-col h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-heading); margin-bottom: 16px; font-weight: 600; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; opacity: .85; transition: opacity .18s, color .18s; }
.footer-col a:hover { opacity: 1; color: var(--link); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--footer-border); display: grid; place-items: center; transition: all .2s; }
.footer-social a:hover { background: var(--crystal); border-color: var(--crystal); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--footer-border); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12.5px; opacity: .85; }
.footer-pay { display: flex; gap: 8px; align-items: center; }
.footer-pay span { width: 40px; height: 26px; border-radius: 5px; background: var(--footer-chip-bg); border: 1px solid var(--footer-border); display: grid; place-items: center; font-size: 9px; font-weight: 700; letter-spacing: .03em; }

/* ---------- Compliance strip (firm data + ANPC/SAL) ---------- */
.footer-legal { border-top: 1px solid var(--footer-border); margin-top: 40px; padding-top: 26px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.firm-data { font-size: 12.5px; line-height: 1.9; color: var(--footer-text); opacity: .95; }
.firm-data h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-heading); margin-bottom: 10px; opacity: 1; }
.anpc-block { display: flex; flex-direction: column; gap: 12px; }
.anpc-block h5 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--footer-heading); margin-bottom: 2px; }
.anpc-badges { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.anpc-badge { display: flex; align-items: center; justify-content: center; height: 50px; width: 230px; max-width: 100%; border: 1px dashed var(--border-2); border-radius: 6px; background: var(--footer-chip-bg); font-size: 11px; color: var(--footer-text); text-align: center; padding: 4px 10px; line-height: 1.3; transition: .2s; }
.anpc-badge:hover { border-color: var(--crystal); color: var(--footer-heading); }
.anpc-badge b { color: var(--link); }
.anpc-badge.img { width: auto; border: 1px solid var(--line); background: #fff; padding: 7px 12px; border-radius: 8px; }
.anpc-badge.img:hover { border-color: var(--crystal); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); transform: translateY(-1px); }
.anpc-badge.img img { height: 100%; width: auto; display: block; }

/* ---------- Placeholder highlight (to be filled by owner) ---------- */
.ph-fill { background: #fff4c2; color: #6b5a14; padding: 0 5px; border-radius: 3px; font-weight: 600; font-family: var(--sans); }
[data-theme="dark"] .ph-fill,
[data-theme="dark"] .on-dark .ph-fill { background: rgba(255,225,120,.22); color: #ffe690; }

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 1080px; margin: 0 auto; background: var(--panel-bg); color: var(--panel-muted); border: 1px solid var(--panel-border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; transform: translateY(140%); transition: transform .4s var(--ease); }
.cookie-banner.show { transform: none; }
.cookie-banner .cb-text { flex: 1; min-width: 240px; font-size: 13px; line-height: 1.6; }
.cookie-banner .cb-text b { color: var(--panel-text); font-family: var(--serif); font-size: 16px; font-weight: 600; display: block; margin-bottom: 4px; }
.cookie-banner .cb-text a { color: var(--link); text-decoration: underline; }
.cookie-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-settings { position: fixed; inset: 0; z-index: 260; background: var(--overlay); display: none; place-items: center; padding: 20px; }
.cookie-settings.show { display: grid; }
.cookie-settings .cs-card { background: #fff; color: var(--text); border-radius: 16px; width: min(460px, 100%); padding: 26px; }
.cookie-settings h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.cookie-settings .cs-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cookie-settings .cs-row:last-of-type { border-bottom: none; }
.cookie-settings .cs-row .cs-info { flex: 1; }
.cookie-settings .cs-row b { font-size: 14px; }
.cookie-settings .cs-row p { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
/* Trei butoane (Refuză tot / Salvează / Acceptă tot). Pe ecrane înguste se pun unul sub altul,
   cu „Acceptă tot" primul — cel mai la îndemână pentru deget, fără să scoatem refuzul de la vedere. */
.cookie-settings .cs-foot { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cookie-settings .cs-foot .btn { flex: 1 1 auto; min-width: 0; white-space: nowrap; }
@media (max-width: 460px) {
  .cookie-settings .cs-foot { flex-direction: column-reverse; }
}
.cs-switch { position: relative; width: 44px; height: 25px; flex: none; }
.cs-switch input { opacity: 0; width: 0; height: 0; }
.cs-switch .tk { position: absolute; inset: 0; background: #cdd3db; border-radius: 999px; cursor: pointer; transition: .18s; }
.cs-switch .tk::before { content: ""; position: absolute; left: 3px; top: 3px; width: 19px; height: 19px; background: #fff; border-radius: 50%; transition: .18s; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.cs-switch input:checked + .tk { background: var(--crystal); }
.cs-switch input:checked + .tk::before { transform: translateX(19px); }
.cs-switch input:disabled + .tk { background: #1f8a5b; opacity: .6; cursor: not-allowed; }

@media (max-width: 700px) {
  .footer-legal { grid-template-columns: 1fr; gap: 22px; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Newsletter premium band
   ============================================================ */
.nl-band { background: var(--band-bg); color: var(--band-text); position: relative; overflow: hidden; transition: background-color .3s var(--ease), color .3s var(--ease); }
.nl-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 85% 50%, rgba(28,61,106,.10), transparent 60%), radial-gradient(80% 120% at 12% 20%, rgba(119,169,241,.10), transparent 55%); }
[data-theme="dark"] .nl-band::before { background: radial-gradient(120% 140% at 85% 50%, rgba(28,61,106,.55), transparent 60%), radial-gradient(80% 120% at 12% 20%, rgba(119,169,241,.18), transparent 55%); }
.nl-band .nl-band-crystal { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 200px; opacity: .12; filter: drop-shadow(0 0 30px rgba(119,169,241,.5)); }
.nl-band .wrap { position: relative; z-index: 1; padding: 56px var(--gut); max-width: 880px; text-align: center; margin: 0 auto; }
.nl-band .nl-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--band-accent); font-weight: 600; }
.nl-band h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 600; line-height: 1.1; margin: 12px 0 8px; }
.nl-band p { color: var(--band-muted); font-size: 15.5px; max-width: 460px; margin: 0 auto 26px; }
.nl-band form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.nl-band input[type=email] { flex: 1; font-family: var(--sans); font-size: 15px; padding: 15px 18px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--input-bg); color: var(--input-text); transition: .2s; }
.nl-band input[type=email]::placeholder { color: var(--input-placeholder); }
.nl-band input[type=email]:focus { outline: none; border-color: var(--crystal); box-shadow: 0 0 0 3px var(--focus-ring); }
[data-theme="dark"] .nl-band input[type=email] { border-color: var(--line-dark); background: rgba(255,255,255,.07); color: #fff; }
[data-theme="dark"] .nl-band input[type=email]::placeholder { color: rgba(201,205,210,.6); }
[data-theme="dark"] .nl-band input[type=email]:focus { background: rgba(255,255,255,.1); }
.nl-band .nl-band-note { font-size: 12px; color: var(--band-muted); opacity: .85; margin-top: 14px; }
.nl-band .nl-band-note a { color: var(--band-accent); text-decoration: underline; }
.nl-band .nl-band-success { font-size: 17px; }
.nl-band .nl-band-success .nl-code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .1em; color: #fff; background: var(--crystal); padding: 8px 18px; border-radius: 8px; margin-left: 8px; }
@media (max-width: 560px) { .nl-band form { flex-direction: column; } }

/* ============================================================
   Search overlay
   ============================================================ */
.search-overlay { position: fixed; left: 0; right: 0; top: 0; z-index: 260; background: var(--overlay); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { background: var(--panel-bg); color: var(--panel-text); transform: translateY(-100%); transition: transform .3s var(--ease); padding: 24px var(--gut) 32px; box-shadow: var(--shadow-lg); }
.search-overlay.open .search-panel { transform: none; }
.search-inner { max-width: 760px; margin: 0 auto; }
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--border-2); padding-bottom: 14px; }
.search-bar svg { width: 24px; height: 24px; color: var(--panel-muted); flex: none; }
.search-bar input { flex: 1; background: none; border: none; outline: none; color: var(--panel-text); font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); }
.search-bar input::placeholder { color: var(--input-placeholder); }
.search-close { background: none; border: none; color: var(--panel-muted); cursor: pointer; padding: 6px; }
.search-close:hover { color: var(--panel-text); }
.search-close svg { width: 24px; height: 24px; }
.search-body { margin-top: 22px; }
.search-cap { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--panel-muted); opacity: .85; margin-bottom: 14px; }
.search-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.search-chips a { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--panel-border); color: var(--panel-text); transition: .15s; }
.search-chips a:hover { background: var(--crystal); border-color: var(--crystal); color: #fff; }
.search-results { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; }
.search-res { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; transition: background .15s; }
.search-res:hover { background: var(--header-hover-bg); }
.search-res .sr-thumb { width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--media-bg); flex: none; }
.search-res .sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-res .sr-thumb .ph-img { width: 100%; height: 100%; }
.search-res .sr-name { font-weight: 600; font-size: 14.5px; }
.search-res .sr-cat { font-size: 12px; color: var(--panel-muted); opacity: .85; }
.search-res .sr-price { margin-left: auto; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.search-empty { color: var(--panel-muted); font-size: 14.5px; padding: 8px 0; }

/* ============================================================
   Auth modal + account
   ============================================================ */
.auth-overlay { position: fixed; inset: 0; z-index: 280; background: var(--overlay); display: none; place-items: center; padding: 20px; }
.auth-overlay.open { display: grid; }
.auth-card { background: #fff; color: var(--text); border-radius: 16px; width: min(420px, 100%); padding: 28px; position: relative; }
.auth-tabs { display: flex; gap: 6px; background: var(--mist); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.auth-tab { flex: 1; padding: 10px; border: none; background: none; border-radius: 8px; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--muted); }
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.auth-card h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.auth-card .auth-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.auth-card .ffield { margin-bottom: 14px; }
.auth-card .ffield label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.auth-card .input { width: 100%; font-family: var(--sans); font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; }
.auth-card .input:focus { outline: none; border-color: var(--crystal); box-shadow: 0 0 0 3px rgba(119,169,241,.22); }
.auth-forgot { font-size: 12.5px; color: var(--navy); text-decoration: underline; }
.auth-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--mist); border: none; cursor: pointer; display: grid; place-items: center; }
.auth-close svg { width: 18px; height: 18px; }
.auth-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 14px; }
.acct-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; }
.acct-nav { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; position: sticky; top: 92px; }
.acct-nav button { width: 100%; text-align: left; background: none; border: none; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text); }
.acct-nav button.active { background: var(--navy); color: #fff; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
/* Notă „confirmă emailul" — fundal cald care se adaptează la temă (ca .legal-note.warn),
   ca să nu rămână un card deschis cu text alb invizibil în dark mode. */
.acct-notice { background: #fff8e8; border: 1px solid #f0dca0; border-left: 3px solid #d9a813; border-radius: 12px; padding: 20px 24px; margin-bottom: 18px; }
.acct-notice b { color: var(--text-1); }
[data-theme="dark"] .acct-notice { background: rgba(217,168,19,.12); border-color: rgba(217,168,19,.32); border-left-color: #d9a813; }
@media (max-width: 760px) { .acct-layout { grid-template-columns: 1fr; } .acct-nav { position: static; display: flex; overflow-x: auto; } }

/* ============================================================
   About page
   ============================================================ */
.ab-hero { background: var(--band-bg); color: var(--band-text); padding: 64px 0; transition: background-color .3s var(--ease), color .3s var(--ease); }
.ab-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ab-hero-text h1 { font-family: var(--serif); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; line-height: 1.06; letter-spacing: -.5px; margin: 14px 0 16px; }
.ab-hero-text p { color: var(--band-muted); font-size: 16.5px; line-height: 1.65; margin-bottom: 26px; max-width: 460px; }
.ab-hero-media { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--media-bg); }
.ab-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-hero-media .ph-img { width: 100%; height: 100%; }
.ab-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ab-pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.ab-pnum { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 16px; }
.ab-pillar h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; line-height: 1.2; }
.ab-pillar p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ab-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ab-gitem { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: var(--media-bg); }
.ab-gitem img { width: 100%; height: 100%; object-fit: cover; }
.ab-gitem .ph-img { width: 100%; height: 100%; }
.ab-uspbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ab-usp { display: flex; align-items: center; gap: 12px; color: var(--band-text); font-size: 14.5px; font-weight: 500; justify-content: center; }
.ab-usp-ic { width: 42px; height: 42px; border-radius: 50%; background: rgba(119,169,241,.16); color: var(--band-accent); display: grid; place-items: center; flex: none; }
.ab-usp-ic svg { width: 21px; height: 21px; }
.ab-cta { background: var(--mist); text-align: center; padding: 70px 0; }
.ab-cta h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); font-weight: 600; margin-bottom: 26px; }
@media (max-width: 860px) {
  .ab-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ab-pillars { grid-template-columns: 1fr; }
  .ab-gallery { grid-template-columns: repeat(2, 1fr); }
  .ab-uspbar { grid-template-columns: 1fr 1fr; gap: 18px; }
}

/* ---------- Elegant placeholder (missing product photos) ---------- */
.ph-img {
  width: 100%; height: 100%; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(119,169,241,.12), transparent 60%),
    repeating-linear-gradient(45deg, #e7ecf3 0 12px, #eef2f7 12px 24px);
  display: grid; place-items: center; text-align: center;
}
.ph-img .ph-crystal { width: 46px; opacity: .5; margin-bottom: 12px; }
.ph-img .ph-cap { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: .05em; color: #8b94a1; padding: 0 14px; line-height: 1.5; }
/* Dark theme (and explicit .dark modifier) — original ink placeholder */
[data-theme="dark"] .ph-img,
.ph-img.dark {
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(119,169,241,.16), transparent 60%),
    repeating-linear-gradient(45deg, #14181d 0 12px, #181d24 12px 24px);
}
[data-theme="dark"] .ph-img .ph-cap,
.ph-img.dark .ph-cap { color: rgba(201,205,210,.65); }
/* .ph-img.light always stays light, even under the dark theme */
.ph-img.light {
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(119,169,241,.12), transparent 60%),
    repeating-linear-gradient(45deg, #e7ecf3 0 12px, #eef2f7 12px 24px);
}
.ph-img.light .ph-cap { color: #8b94a1; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  :root { --gut: 22px; }
  .nav-left { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; height: 64px; }
  .brand { justify-self: start; }
  .nav-right .icon-account { display: none; }
  .mobile-menu a.mm-link { display: flex; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
  .trust { grid-template-columns: 1fr; gap: 32px; }
  .cat-banners { grid-template-columns: 1fr; }
  .collection-cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .pc-name { font-size: 18px; }
  .product-card .pc-price { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; }
  .collection-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Pe telefon, selectorul de limbă trece în meniul hamburger (subsolul lui îl are deja,
     injectat de i18n.js). Ocupa 58px din 375 și nu mai rămânea loc pentru logo.
     Toggle-ul de temă RĂMÂNE în header — e comutat des, nu merită ascuns într-un meniu. */
  .nav-right .lang-switch:not(.mm-lang) { display: none; }
  .header-inner { gap: 10px; }
  .nav-right { gap: 2px; }
  /* Toggle-ul, puțin mai compact: 54x28 -> 44x24, cu cursa bilei ajustată în consecință. */
  .theme-toggle { padding: 0 2px; }
  .theme-toggle .tt-track { width: 44px; height: 24px; }
  .theme-toggle .tt-thumb { width: 18px; height: 18px; }
  [data-theme="dark"] .theme-toggle .tt-thumb { transform: translateX(20px); }
  .brand img { height: 28px; }
}

/* Telefoane foarte înguste (iPhone SE, Android mici). La 320px logo-ul ajungea exact pe
   limita coloanei; fiindcă acum are max-width:none (ca să nu se mai turtească), depășirea
   ar produce scroll orizontal în loc de deformare. Strângem marginile și iconițele. */
@media (max-width: 360px) {
  :root { --gut: 14px; }
  .header-inner { gap: 8px; }
  .nav-right .icon-btn { width: 34px; height: 34px; }
  .nav-right .icon-btn svg { width: 18px; height: 18px; }
  .brand img { height: 24px; }
}

/* ============================================================
   Full-page dark theme — activated by <html data-theme="dark">.
   These per-component overrides reproduce the original look and
   layer on top of the semantic tokens above. Turns the
   alternating light sections into one cohesive dark surface
   while keeping every component readable.
   ============================================================ */
[data-theme="dark"] body { background: var(--ink); color: #fff; }

/* Every section shares the dark surface; a subtle tonal shift
   keeps adjacent blocks distinguishable. */
[data-theme="dark"] .section.on-mist,
[data-theme="dark"] .section.on-surface { background: var(--ink); color: #fff; }
[data-theme="dark"] .section.on-surface { background: var(--ink-2); }

/* Headings & body copy */
[data-theme="dark"] .section-head h2,
[data-theme="dark"] .collection-head .ch-text h2,
[data-theme="dark"] .step h3,
[data-theme="dark"] .trust-item h4 { color: #fff; }
[data-theme="dark"] .section-head p,
[data-theme="dark"] .step p,
[data-theme="dark"] .trust-item p,
[data-theme="dark"] .product-card .pc-meta,
[data-theme="dark"] .story .st-meta { color: var(--silver); }

/* Accents */
[data-theme="dark"] .eyebrow,
[data-theme="dark"] .collection-head .ch-link { color: var(--crystal-icy); }

/* Trust icon chips */
[data-theme="dark"] .trust-item .ti-ico {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-dark);
  color: var(--crystal-icy);
}

/* Product cards → dark surface with subtle separation */
[data-theme="dark"] .product-card { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .product-card .pc-name,
[data-theme="dark"] .product-card .pc-price { color: #fff; }
[data-theme="dark"] .product-card .pc-add {
  background: rgba(255,255,255,.06);
  border-color: var(--line-dark);
  color: var(--crystal-icy);
}
[data-theme="dark"] .product-card .pc-add:hover { background: var(--crystal); color: #fff; border-color: var(--crystal); }

/* Story (reviews) cards + showcase cards → dark, with borders so
   they stay defined against the dark page. */
[data-theme="dark"] .story { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .story .st-quote,
[data-theme="dark"] .story .st-name { color: #fff; }
[data-theme="dark"] .showcase-card { border: 1px solid var(--line-dark); }

/* ============================================================
   Product page (produs.html) dark theme — extends body[data-theme="dark"].
   <main class="section on-surface"> already gets the dark surface
   above; these rules recolor the product-specific components.
   ============================================================ */
[data-theme="dark"] .breadcrumb { color: var(--silver); }
[data-theme="dark"] .breadcrumb a:hover { color: var(--crystal-icy); }

/* Title, brand, price, rating */
[data-theme="dark"] .p-brand { color: var(--crystal-icy); }
[data-theme="dark"] .p-title,
[data-theme="dark"] .p-price .now { color: #fff; }
[data-theme="dark"] .p-rating { color: var(--silver); }
[data-theme="dark"] .p-rating .pr-link { color: var(--crystal-icy); }

/* Field labels */
[data-theme="dark"] .field > label.flabel { color: var(--silver); }

/* Selects & inputs → dark fields with a light dropdown chevron */
[data-theme="dark"] .select,
[data-theme="dark"] .input {
  background-color: var(--ink);
  border-color: var(--line-dark);
  color: #fff;
}
[data-theme="dark"] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B4CEF2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
[data-theme="dark"] .input::placeholder { color: rgba(201,205,210,.5); }

/* Upload widget */
[data-theme="dark"] .upload { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); }
[data-theme="dark"] .upload:hover { background: rgba(255,255,255,.07); border-color: var(--crystal); }
[data-theme="dark"] .upload .up-title { color: #fff; }
[data-theme="dark"] .upload .up-sub { color: var(--silver); }

/* Preview toggle row */
[data-theme="dark"] .toggle-row { background: var(--ink); border-color: var(--line-dark); }
[data-theme="dark"] .toggle-row .tr-title { color: #fff; }
[data-theme="dark"] .toggle-row .tr-note { color: var(--silver); }
[data-theme="dark"] .switch .track { background: rgba(255,255,255,.18); }

/* Reassurance line */
[data-theme="dark"] .p-reassure { color: var(--silver); }

/* Accordions + spec table */
[data-theme="dark"] .accordions { border-top-color: var(--line-dark); }
[data-theme="dark"] .acc { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .acc-head { color: #fff; }
[data-theme="dark"] .acc-inner { color: var(--silver); }
[data-theme="dark"] .spec-table td { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .spec-table td:first-child { color: var(--silver); }
[data-theme="dark"] .spec-table td:last-child { color: #fff; }

/* Product reviews block */
[data-theme="dark"] .prod-reviews { border-top-color: var(--line-dark); }
[data-theme="dark"] .prod-reviews .pr-head h2 { color: #fff; }
[data-theme="dark"] .prod-reviews .pr-summary { color: var(--silver); }
[data-theme="dark"] .rev-card { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .rev-card .rc-av { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--crystal-icy); }
[data-theme="dark"] .rev-card .rc-name { color: #fff; }
[data-theme="dark"] .rev-card .rc-text { color: var(--silver); }
[data-theme="dark"] .rev-card .rc-date { color: var(--silver); }
[data-theme="dark"] .rev-helpful { color: var(--silver); border-color: var(--line-dark); }
[data-theme="dark"] .rev-helpful:hover { border-color: var(--crystal); color: var(--crystal-icy); }
[data-theme="dark"] .rev-reply { background: rgba(255,255,255,.04); }
[data-theme="dark"] .rev-reply .rr-head { color: var(--crystal-icy); }
[data-theme="dark"] .rev-reply .rr-text { color: var(--silver); }

/* ============================================================
   Inner pages dark theme — collection, cart, checkout, account,
   contact, tracking, legal, FAQ, blog, reviews. Extends
   body[data-theme="dark"]; selectors outrank shop/reviews/blog.css.
   ============================================================ */

/* ---- Inner page header band + shared bits ---- */
[data-theme="dark"] .page-band { background: var(--ink-2); border-bottom-color: var(--line-dark); }
[data-theme="dark"] .page-band p { color: var(--silver); }
[data-theme="dark"] .breadcrumb a:hover { color: var(--crystal-icy); }
[data-theme="dark"] .coll-toolbar .count,
[data-theme="dark"] .sort-field label,
[data-theme="dark"] .fb-field label { color: var(--silver); }
[data-theme="dark"] .btn-reset,
[data-theme="dark"] .cf-back { color: var(--crystal-icy); }

/* ---- Chips & filter bars (collection, contact, blog, reviews) ---- */
[data-theme="dark"] .filter-bar { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .cat-chip,
[data-theme="dark"] .cf-chip,
[data-theme="dark"] .blog-chip,
[data-theme="dark"] .rev-chip { background: rgba(255,255,255,.05); border-color: var(--line-dark); color: var(--silver); }
[data-theme="dark"] .cat-chip:hover,
[data-theme="dark"] .cf-chip:hover,
[data-theme="dark"] .blog-chip:hover,
[data-theme="dark"] .rev-chip:hover { color: #fff; border-color: var(--crystal); }
[data-theme="dark"] .cat-chip.active,
[data-theme="dark"] .cf-chip.active,
[data-theme="dark"] .blog-chip.active,
[data-theme="dark"] .rev-chip.active { background: var(--crystal); border-color: var(--crystal); color: #fff; }

/* ---- Editorial collection rows + quick view ---- */
[data-theme="dark"] .ed-row { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .er-media { background: var(--ink); }
[data-theme="dark"] .ed-row p { color: var(--silver); }
[data-theme="dark"] .qv-card { background: var(--ink-2); }
[data-theme="dark"] .qv-info p { color: var(--silver); }
[data-theme="dark"] .qv-close { background: rgba(255,255,255,.14); color: #fff; }

/* ---- Order tracking ---- */
[data-theme="dark"] .trk-card { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .trk-date,
[data-theme="dark"] .trk-label,
[data-theme="dark"] .trk-awb-k { color: var(--silver); }
[data-theme="dark"] .trk-step.done .trk-label,
[data-theme="dark"] .trk-step.current .trk-label { color: #fff; }
[data-theme="dark"] .trk-dot,
[data-theme="dark"] .trk-line { background: rgba(255,255,255,.12); color: var(--silver); }
[data-theme="dark"] .trk-items,
[data-theme="dark"] .trk-livrare,
[data-theme="dark"] .trk-awb { border-top-color: var(--line-dark); }
[data-theme="dark"] .st-pill { background: rgba(43,111,219,.2); color: #9cc0ff; }
[data-theme="dark"] .trk-error { background: rgba(192,57,67,.16); border-color: rgba(192,57,67,.35); color: #f0a0a0; }

/* Callout notes (tracking, contact answer, legal) */
[data-theme="dark"] .trk-note,
[data-theme="dark"] .cf-answer,
[data-theme="dark"] .legal-note { background: rgba(119,169,241,.10); border-color: rgba(119,169,241,.30); }
[data-theme="dark"] .legal-note.warn { background: rgba(217,168,19,.12); border-color: rgba(217,168,19,.35); }

/* ---- Discount + generic inputs ---- */
[data-theme="dark"] .discount-row input,
[data-theme="dark"] .faq-search input { background: var(--ink); border-color: var(--line-dark); color: #fff; }
[data-theme="dark"] .discount-row input::placeholder,
[data-theme="dark"] .faq-search input::placeholder { color: rgba(201,205,210,.5); }
[data-theme="dark"] .faq-search svg { color: var(--silver); }

/* ---- Cart ---- */
[data-theme="dark"] .cart-list,
[data-theme="dark"] .cart-item { border-color: var(--line-dark); }
[data-theme="dark"] .cart-item .ci-opts,
[data-theme="dark"] .ci-del { color: var(--silver); }
[data-theme="dark"] .qty { background: var(--ink); border-color: var(--line-dark); }
[data-theme="dark"] .qty button { color: #fff; }
[data-theme="dark"] .qty button:hover { background: rgba(255,255,255,.08); color: var(--crystal-icy); }
[data-theme="dark"] .summary { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .sum-row { color: var(--silver); }
[data-theme="dark"] .sum-row b { color: #fff; }
[data-theme="dark"] .sum-total { border-top-color: var(--line-dark); }
[data-theme="dark"] .cart-empty p { color: var(--silver); }

/* ---- Checkout ---- */
[data-theme="dark"] .step-chip { color: var(--silver); }
[data-theme="dark"] .step-chip .n { background: rgba(255,255,255,.12); color: var(--silver); }
[data-theme="dark"] .step-chip.active { color: #fff; }
[data-theme="dark"] .co-card { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .ffield label { color: var(--silver); }
[data-theme="dark"] .ship-option { border-color: var(--line-dark); }
[data-theme="dark"] .ship-option.sel { background: rgba(119,169,241,.12); }
[data-theme="dark"] .ship-option .so-sub { color: var(--silver); }
[data-theme="dark"] .ship-option .radio { border-color: rgba(255,255,255,.3); }
[data-theme="dark"] .pay-card { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .pay-brands span { background: rgba(255,255,255,.9); border-color: var(--line-dark); color: var(--ink); }
[data-theme="dark"] .co-sum-item { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .co-sum-item .csi-opt { color: var(--silver); }
[data-theme="dark"] .confirm p { color: var(--silver); }
[data-theme="dark"] .confirm .order-no { background: rgba(255,255,255,.04); border-color: var(--line-dark); }

/* ---- Legal pages ---- */
[data-theme="dark"] .legal-toc { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .legal-toc h4 { color: var(--silver); }
[data-theme="dark"] .legal-toc a { color: var(--silver); }
[data-theme="dark"] .legal-toc a:hover { color: var(--crystal-icy); }
[data-theme="dark"] .legal-updated { color: var(--silver); border-bottom-color: var(--line-dark); }
[data-theme="dark"] .legal-prose p,
[data-theme="dark"] .legal-prose li { color: var(--silver); }
[data-theme="dark"] .legal-prose a { color: var(--crystal-icy); }
[data-theme="dark"] .legal-prose strong { color: #fff; }
[data-theme="dark"] .legal-table th,
[data-theme="dark"] .legal-table td { border-color: var(--line-dark); }
[data-theme="dark"] .legal-table th { background: rgba(255,255,255,.05); color: var(--silver); }
[data-theme="dark"] .firm-box { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .firm-box .fb-k { color: var(--silver); }
[data-theme="dark"] .retract-form { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.22); }
[data-theme="dark"] .retract-form .rf-line { border-bottom-color: var(--line-dark); }

/* ---- Contact ---- */
[data-theme="dark"] .cf-cat,
[data-theme="dark"] .cf-subject { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .cf-cat-ic { background: rgba(255,255,255,.06); color: var(--crystal-icy); }
[data-theme="dark"] .cf-subject:hover { color: var(--crystal-icy); }
[data-theme="dark"] .cf-subject svg { color: var(--silver); }
[data-theme="dark"] .cf-answer-h { color: var(--crystal-icy); }
[data-theme="dark"] .cf-answer p,
[data-theme="dark"] .cf-answer-link,
[data-theme="dark"] .cf-answer-more,
[data-theme="dark"] .cf-success p { color: var(--silver); }
[data-theme="dark"] .contact-success { background: rgba(31,122,77,.18); color: #6fd49a; }
[data-theme="dark"] .info-card { background: rgba(255,255,255,.04); border-color: var(--line-dark); }
[data-theme="dark"] .info-row { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .info-ic { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--crystal-icy); }
[data-theme="dark"] .info-k { color: var(--silver); }
[data-theme="dark"] .info-v { color: #fff; }
[data-theme="dark"] .info-v:hover { color: var(--crystal-icy); }

/* ---- Mini-cart drawer (global) ---- */
[data-theme="dark"] .mc-drawer { background: var(--ink-2); }
[data-theme="dark"] .mc-head { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .mc-head .mc-close { color: #fff; }
[data-theme="dark"] .mc-item { border-bottom-color: var(--line-dark); }
[data-theme="dark"] .mc-opts,
[data-theme="dark"] .mc-note,
[data-theme="dark"] .mc-del { color: var(--silver); }
[data-theme="dark"] .mc-foot { border-top-color: var(--line-dark); }

/* ---- Account + auth modal ---- */
[data-theme="dark"] .acct-nav,
[data-theme="dark"] .acct-card { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .acct-nav button { color: var(--silver); }
[data-theme="dark"] .acct-nav button:hover { color: #fff; background: rgba(255,255,255,.05); }
[data-theme="dark"] .acct-nav button.active { background: var(--crystal); color: #fff; }
[data-theme="dark"] .auth-card { background: var(--ink-2); color: #fff; }
[data-theme="dark"] .auth-tabs { background: rgba(255,255,255,.06); }
[data-theme="dark"] .auth-tab { color: var(--silver); }
[data-theme="dark"] .auth-tab.active { background: var(--crystal); color: #fff; }
[data-theme="dark"] .auth-card .auth-sub,
[data-theme="dark"] .auth-card .ffield label,
[data-theme="dark"] .auth-note { color: var(--silver); }
[data-theme="dark"] .auth-card .input { background: var(--ink); border-color: var(--line-dark); color: #fff; }
[data-theme="dark"] .auth-forgot { color: var(--crystal-icy); }
[data-theme="dark"] .auth-close { background: rgba(255,255,255,.1); color: #fff; }

/* ---- FAQ ---- */
[data-theme="dark"] .faq-empty { color: var(--silver); }

/* ---- Reviews page ---- */
[data-theme="dark"] .stories .story { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .story .st-quote,
[data-theme="dark"] .story .st-name { color: #fff; }
[data-theme="dark"] .story .st-meta { color: var(--silver); }
[data-theme="dark"] .rev-card .rc-verif { background: rgba(31,138,91,.18); color: #6fd49a; }
[data-theme="dark"] .rev-helpful.voted { background: rgba(119,169,241,.16); border-color: var(--crystal); color: var(--crystal-icy); }
[data-theme="dark"] .rev-empty,
[data-theme="dark"] .rev-success p { color: var(--silver); }
[data-theme="dark"] .rev-modal .rm-card,
[data-theme="dark"] .rev-modal .rm-head,
[data-theme="dark"] .rev-modal .rm-foot { background: var(--ink-2); }
[data-theme="dark"] .rev-modal .rm-head,
[data-theme="dark"] .rev-modal .rm-foot { border-color: var(--line-dark); }
[data-theme="dark"] .rm-upload { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.22); color: var(--silver); }
[data-theme="dark"] .rm-upload:hover { background: rgba(255,255,255,.07); border-color: var(--crystal); }

/* ---- Blog list + article ---- */
[data-theme="dark"] .blog-card { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .blog-card p,
[data-theme="dark"] .blog-card .bc-meta { color: var(--silver); }
[data-theme="dark"] .article .a-meta { color: var(--silver); }
[data-theme="dark"] .article .a-body p { color: var(--silver); }
[data-theme="dark"] .article .a-body blockquote { color: var(--crystal-icy); }
[data-theme="dark"] .a-share { border-top-color: var(--line-dark); border-bottom-color: var(--line-dark); }
[data-theme="dark"] .a-share .as-label { color: var(--silver); }
[data-theme="dark"] .a-share a { border-color: var(--line-dark); color: var(--crystal-icy); }
[data-theme="dark"] .a-share a:hover { background: var(--crystal); border-color: var(--crystal); color: #fff; }

/* ---- About page ---- */
[data-theme="dark"] .ab-pillar { background: var(--ink-2); border-color: var(--line-dark); }
[data-theme="dark"] .ab-pillar p { color: var(--silver); }
[data-theme="dark"] .ab-cta { background: var(--ink-2); }
