/* ================================================================
   iasicumpara.ro · stiluri
   Lumea: atelier noaptea, lampa e aprinsă. Camera = cerneală caldă,
   lumina = chihlimbar (acțiunea principală), filamentul PETG = mentă
   (doar pentru date de print), hârtie kraft pentru secțiunile de zi.
   Colțuri: butoane pastilă, cadre 14px, câmpuri 10px.
   ================================================================ */
@import url("fonts.css");

:root {
  --ink: #15100c;
  --ink-2: #1d1611;
  --ink-3: #2a2019;
  --ink-4: #3a2d23;
  --line: rgba(255, 226, 190, 0.11);
  --line-2: rgba(255, 226, 190, 0.2);
  --cream: #f4e7d4;
  --muted: #bda98f;
  --amber: #ffb547;
  --amber-2: #ffc977;
  --amber-deep: #e08a2c;
  --mint: #5fe0c0;
  --live: #ff3b5c;
  --wa: #25d366;
  --kraft: #e7d5b6;
  --kraft-2: #dcc6a2;
  --kraft-ink: #24170e;
  --kraft-muted: #5a4431;
  --kraft-link: #8a4500;
  --err: #ff8a7a;
  --err-paper: #a3261b;
  --ok: #8be3b0;

  --f-display: "Gloock", "Georgia", serif;
  --f-text: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", monospace;

  --r-frame: 14px;
  --r-field: 10px;
  --r-pill: 999px;

  --pad: clamp(18px, 4vw, 56px);
  --max: 1320px;
  --head-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --z-head: 40;
  --z-float: 50;
  --z-drawer: 60;
  --z-toast: 70;
  --z-grain: 80;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 1rem/1.6 var(--f-text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* granulație fixă, nu pe containere care se derulează */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: var(--z-grain);
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.paper :focus-visible { outline-color: var(--kraft-ink); }
html { scrollbar-color: var(--ink-4) var(--ink); }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 99px; border: 3px solid var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- tipografie ---------- */
h1, h2, h3, .display { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.012em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.22rem); color: var(--muted); max-width: 46ch; }
.mono { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.layers {
  background-image: repeating-linear-gradient(0deg, rgba(255, 222, 182, 0.028) 0 1px, transparent 1px 5px);
}
.paper {
  --muted: var(--kraft-muted);
  background: var(--kraft);
  color: var(--kraft-ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(60, 36, 14, 0.035) 0 1px, transparent 1px 5px),
    radial-gradient(120% 80% at 20% 0%, rgba(255, 246, 226, 0.5), transparent 60%);
  color-scheme: light;
}
.paper a:not(.btn) { color: var(--kraft-link); }
.head-block { display: grid; gap: 18px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- butoane ---------- */
.btn {
  --bg: var(--amber); --fg: #1a0f05;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-weight: 650; font-size: 1rem; letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, box-shadow 0.35s var(--ease), color .25s;
  box-shadow: 0 10px 30px -14px rgba(255, 170, 60, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn:hover { background: var(--amber-2); transform: translateY(-1px); box-shadow: 0 16px 40px -14px rgba(255, 170, 60, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn .ico { width: 1.2em; height: 1.2em; }
.btn-ghost { --bg: transparent; --fg: var(--cream); border-color: var(--line-2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 226, 190, 0.07); box-shadow: none; }
.paper .btn-ghost { --fg: var(--kraft-ink); border-color: rgba(36, 23, 14, 0.35); }
.paper .btn-ghost:hover { background: rgba(36, 23, 14, 0.06); }
.btn-ink { --bg: var(--kraft-ink); --fg: var(--kraft); box-shadow: 0 12px 30px -16px rgba(36, 23, 14, 0.7); }
.btn-ink:hover { background: #3a2718; }
.btn-wa { --bg: var(--wa); --fg: #062b14; box-shadow: 0 10px 30px -14px rgba(37, 211, 102, 0.55); }
.btn-wa:hover { background: #4be083; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.94rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow .ico { transition: transform 0.3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-head);
  height: var(--head-h);
  background: rgba(21, 16, 12, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { height: 100%; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand svg { width: 36px; height: 36px; }
.brand-word { font-family: var(--f-display); font-size: 1.42rem; letter-spacing: -0.01em; line-height: 1; }
.brand-word small { font-family: var(--f-mono); font-size: 0.62rem; color: var(--amber); margin-left: 2px; letter-spacing: 0; vertical-align: 0.4em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; padding: 10px 14px; border-radius: var(--r-pill); text-decoration: none; font-weight: 550; font-size: 0.96rem; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); background: rgba(255, 226, 190, 0.06); }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px;
  border-radius: var(--r-pill); background: rgba(255, 59, 92, 0.12); border: 1px solid rgba(255, 59, 92, 0.45);
  color: #ffd3da; font-weight: 650; font-size: 0.84rem; text-decoration: none; white-space: nowrap;
}
.live-pill:hover { background: rgba(255, 59, 92, 0.2); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(255, 59, 92, 0.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 92, 0); } }
.head-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid transparent; color: var(--cream); text-decoration: none;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(255, 226, 190, 0.08); }
.icon-btn .ico { width: 24px; height: 24px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--amber); color: #1a0f05; font: 700 0.72rem/20px var(--f-text); text-align: center;
  transform: scale(0); transition: transform 0.35s var(--ease);
}
.cart-count.has { transform: scale(1); }
.cart-count.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* sertar mobil */
.drawer { position: fixed; inset: 0; z-index: var(--z-drawer); display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8, 5, 3, 0.6); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(88vw, 380px);
  background: var(--ink-2); border-left: 1px solid var(--line); padding: 18px 22px 28px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  animation: drawerIn 0.4s var(--ease);
}
@keyframes drawerIn { from { transform: translateX(30px); opacity: 0; } }
.drawer-panel .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-panel a.dl { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.12rem; }
.drawer-panel .dl-sub { font-size: 0.98rem; color: var(--muted); padding-left: 14px; min-height: 46px; }
.drawer-panel .btn { margin-top: 16px; }

@media (min-width: 961px) and (max-width: 1180px) {
  .nav a { padding: 10px 9px; font-size: 0.9rem; }
  .site-head .live-pill .live-txt { display: none; }
  .site-head .live-pill { padding: 0 12px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-head .live-pill .live-txt { display: none; }
  .site-head .live-pill { padding: 0 12px; }
}
@media (max-width: 380px) {
  .brand-word { font-size: 1.2rem; }
  .brand svg { width: 32px; height: 32px; }
}

/* ---------- reveal: urcă în trepte, ca straturile unei imprimante ----------
   Doar transform: conținutul e mereu vizibil (fără clip-path sau opacitate),
   deci nu rămân goluri nici în capturi, nici dacă observer-ul întârzie. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { transform: translateY(28px); transition: transform 0.9s steps(8, end); }
  .js [data-reveal="soft"] { transform: translateY(18px); transition: transform 0.8s var(--ease); }
  .js [data-reveal].in { transform: none; }
}

/* ---------- media produs (poză sau scenă) ---------- */
.media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-frame); background: var(--ink-3); isolation: isolate; }
.media > img, .media > picture > img, .media > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media > picture { position: absolute; inset: 0; }

/* ---------- card produs ---------- */
.p-card { position: relative; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; border-radius: calc(var(--r-frame) + 6px); padding: 10px 10px 16px; background: var(--ink-2); border: 1px solid var(--line); transition: background-color .4s var(--ease), border-color .4s; isolation: isolate; }
.p-card::before {
  /* lumina din colț + umbra produsului aruncată pe fundalul cardului */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .5s var(--ease);
  background: radial-gradient(90% 60% at 0% 0%, rgba(255, 181, 71, 0.16), transparent 60%);
}
.p-card .media { transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease); box-shadow: 0 0 0 rgba(0,0,0,0); }
.p-card:hover, .p-card:focus-within { border-color: var(--line-2); }
.p-card:hover::before, .p-card:focus-within::before { opacity: 1; }
.p-card:hover .media, .p-card:focus-within .media { transform: translate(-3px, -6px); box-shadow: 22px 26px 34px -10px rgba(5, 3, 1, 0.75), 46px 52px 60px -30px rgba(5, 3, 1, 0.6); }
.p-card .badges { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: rgba(21, 16, 12, 0.78); backdrop-filter: blur(6px); color: var(--cream); font-size: 0.76rem; font-weight: 650; border: 1px solid var(--line-2); }
.badge.hot { background: var(--amber); color: #1a0f05; border-color: transparent; }
.p-body { display: grid; gap: 6px; padding: 0 6px; }
.p-title { font-family: var(--f-display); font-size: 1.32rem; line-height: 1.12; }
.p-title a { text-decoration: none; }
.p-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.p-pitch { color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.p-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { display: inline-flex; align-items: baseline; gap: 8px; font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.price s { color: var(--muted); font-weight: 450; font-size: 0.9rem; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
.rating .ico { color: var(--amber); width: 16px; height: 16px; }
.p-add { position: relative; z-index: 2; }

.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 560px) {
  .grid-products { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid-products .p-card { padding: 6px 6px 12px; border-radius: 16px; }
  .grid-products .p-title { font-size: 1.05rem; }
  .grid-products .p-pitch { display: none; }
  .grid-products .p-meta { flex-direction: column; align-items: flex-start; gap: 2px; }
  .grid-products .badges { top: 12px; left: 12px; }
  .grid-products .badge:nth-child(n+2) { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(255, 170, 70, 0.16), transparent 70%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(0, 0.92fr); align-items: center; gap: clamp(28px, 5vw, 80px); min-height: min(calc(100dvh - var(--head-h)), 880px); padding-block: clamp(28px, 4vw, 56px); }
.hero-copy { display: grid; gap: 26px; align-content: center; max-width: 600px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 520px); }
.hero-frame { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 50px 120px -40px rgba(255, 160, 60, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.9); border: 1px solid var(--line-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-note { position: absolute; left: -38px; bottom: 44px; display: grid; gap: 2px; padding: 14px 18px; background: rgba(21, 16, 12, 0.9); border: 1px solid var(--line-2); border-radius: var(--r-frame); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.hero-note b { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.hero-note span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 18px; gap: 26px; }
  .hero-visual { order: -1; justify-self: stretch; width: 100%; }
  .hero-frame { aspect-ratio: 4 / 5; border-radius: 18px; }
  .hero-frame img { object-position: 50% 40%; }
  .hero-visual { max-width: 460px; justify-self: center; }
  .hero-note { left: 12px; bottom: 12px; padding: 10px 14px; }
  .hero-copy { gap: 18px; }
}

/* ---------- LIVE ---------- */
.live-band { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255, 59, 92, 0.07), transparent 40%), var(--ink-2); }
.live-band .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); padding-block: 22px; }
.live-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: 0.06em; font-size: 0.86rem; color: #ffd3da; }
.live-band.off .live-tag { color: var(--muted); }
.live-band.off .live-dot { background: var(--muted); animation: none; }
.live-text { display: grid; gap: 2px; }
.live-text b { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
.live-text span { color: var(--muted); font-size: 0.94rem; }
.readouts { display: flex; gap: 18px; color: var(--mint); }
.readouts span { white-space: nowrap; }
@media (max-width: 820px) {
  .live-band .wrap { grid-template-columns: 1fr; gap: 12px; }
  .live-band .btn { justify-self: start; }
}

/* fapte de încredere */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 26px clamp(12px, 2vw, 28px); border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .ico { width: 30px; height: 30px; color: var(--amber); }
.fact b { display: block; font-weight: 650; }
.fact span { color: var(--muted); font-size: 0.9rem; line-height: 1.45; display: block; }
@media (max-width: 980px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .fact { padding: 18px 8px; gap: 10px; } .fact .ico { width: 24px; height: 24px; } .fact span { font-size: 0.84rem; } }

/* ---------- colecții ---------- */
.collections { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.col-tile { position: relative; display: flex; align-items: flex-end; border-radius: var(--r-frame); overflow: hidden; text-decoration: none; min-height: 250px; background: var(--ink-3); isolation: isolate; }
.col-tile:first-child { grid-row: span 2; }
.col-tile .col-media { position: absolute; inset: 0; z-index: -2; }
.col-tile .col-media > * { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.col-tile .col-media svg { position: absolute; inset: 0; }
.col-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(15, 10, 7, 0.92) 100%); }
.col-tile:hover .col-media > * { transform: scale(1.045); }
.col-info { padding: clamp(16px, 2vw, 26px); display: grid; gap: 4px; width: 100%; }
.col-info h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
.col-tile:first-child .col-info h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.col-info span { color: var(--muted); font-size: 0.92rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
@media (max-width: 860px) {
  .collections { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .col-tile:first-child { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .col-tile { min-height: 220px; }
}
@media (max-width: 420px) { .col-tile { min-height: 190px; } .col-info span .ico { display: none; } }

/* ---------- raft bestseller ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.rail-ctrl { display: flex; gap: 8px; }
.rail-ctrl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; transition: background-color .2s, opacity .2s; }
.rail-ctrl button:hover { background: rgba(255,226,190,.08); }
.rail-ctrl button:disabled { opacity: .35; cursor: default; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 4px 34px; margin: -14px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 60px) / 4); } }
@media (max-width: 560px) { .rail { grid-auto-columns: 78%; gap: 12px; } .rail-ctrl { display: none; } }

/* ---------- demo umbră ---------- */
.demo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.demo-copy { display: grid; gap: 22px; }
.demo-stage { position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; background: #2a1f17; touch-action: none; user-select: none; border: 1px solid var(--line-2); }
.demo-stage svg { width: 100%; height: 100%; }
.demo-light { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; border: 0; padding: 0; background: radial-gradient(circle, #fffaf0 0 22%, rgba(255, 210, 130, 0.85) 34%, rgba(255, 181, 71, 0) 70%); cursor: grab; touch-action: none; }
.demo-light::after { content: ""; position: absolute; inset: -8px; border: 1.5px dashed rgba(255, 226, 190, 0.55); border-radius: 50%; animation: spin 14s linear infinite; }
.demo-light:active { cursor: grabbing; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-hint { position: absolute; left: 16px; bottom: 14px; color: rgba(255, 240, 220, 0.85); font-size: 0.86rem; display: flex; gap: 8px; align-items: center; pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.demo-controls { display: grid; gap: 14px; }
.demo-readout { display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--mint); }
.range { display: grid; gap: 8px; }
.range label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.95rem; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--amber) var(--fill, 50%), var(--ink-4) var(--fill, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--ink-4); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--amber); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--cream); border: 4px solid var(--amber); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 4px solid var(--amber); }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } .demo-stage { aspect-ratio: 4 / 4.2; } }

/* ---------- teaser configurator (hârtie kraft) ---------- */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.gift-visual { position: relative; padding: 0 0 46px 0; }
.gift-visual .media { box-shadow: 0 40px 70px -30px rgba(40, 22, 6, 0.55); }
.gift-card {
  position: absolute; right: -10px; bottom: 0; width: min(300px, 72%); padding: 20px 22px 18px; border-radius: 6px;
  background: #fbf5ea; color: var(--kraft-ink); transform: rotate(-3deg);
  box-shadow: 0 24px 40px -18px rgba(40, 22, 6, 0.5);
  background-image: repeating-linear-gradient(0deg, transparent 0 27px, rgba(138, 69, 0, 0.13) 27px 28px);
}
.gift-card p { font-style: italic; font-size: 1.08rem; line-height: 28px; }
.gift-card small { display: block; margin-top: 8px; color: var(--kraft-muted); font-size: 0.8rem; }
.gift-card .pin { position: absolute; top: -12px; left: 50%; width: 46px; height: 18px; transform: translateX(-50%) rotate(4deg); background: rgba(255, 181, 71, 0.75); border-radius: 2px; }
.steps-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 0; counter-reset: s; }
.steps-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(36, 23, 14, 0.16); align-items: start; }
.steps-list li:last-child { border-bottom: 1px solid rgba(36, 23, 14, 0.16); }
.steps-list .ico { width: 26px; height: 26px; color: var(--kraft-link); margin-top: 1px; }
.steps-list b { display: block; }
.steps-list span { color: var(--kraft-muted); font-size: 0.94rem; }
@media (max-width: 860px) { .gift { grid-template-columns: 1fr; } .gift-visual { max-width: 460px; } .gift-card { right: -4px; } }

/* ---------- printat live: printul se construiește la scroll ---------- */
.print-sec { position: relative; }
.print-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); }
.print-steps { display: grid; gap: 0; }
.print-step { min-height: 46vh; display: grid; align-content: center; gap: 14px; padding-block: 24px; max-width: 470px; }
.print-step:first-child { min-height: 40vh; align-content: start; padding-top: 0; }
.print-step:last-child { min-height: 50vh; }
.print-step .step-k { color: var(--mint); }
.print-step p { color: var(--muted); font-size: 1.04rem; }
.print-sticky { position: sticky; top: calc(var(--head-h) + 24px); height: calc(100vh - var(--head-h) - 48px); max-height: 760px; align-self: start; }
.print-stage { position: relative; height: 100%; border-radius: 22px; overflow: hidden; background: #120d0a; border: 1px solid var(--line-2); }
.print-stage canvas { width: 100%; height: 100%; }
.print-hud { position: absolute; left: 16px; right: 16px; top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--mint); pointer-events: none; }
.print-hud .pct { color: var(--cream); }
.print-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 3px; border-radius: 3px; background: rgba(95, 224, 192, 0.15); overflow: hidden; }
.print-bar i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0); background: var(--mint); }
@media (max-width: 860px) {
  .print-grid { grid-template-columns: 1fr; }
  .print-sticky { order: -1; top: calc(var(--head-h) + 8px); height: 40vh; max-height: 360px; z-index: 2; }
  .print-step { min-height: 30vh; max-width: none; padding-inline: 4px; padding-block: 14px; }
  .print-step:first-child { min-height: 0; padding-top: 20px; }
  .print-step:last-child { min-height: 36vh; }
  .print-step > :not(.btn) { background: rgba(21, 16, 12, 0.88); }
}

/* ---------- recenzii ---------- */
.reviews { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(14px, 2vw, 22px); align-items: start; }
.review { margin: 0; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-frame); background: rgba(255, 250, 240, 0.55); border: 1px solid rgba(36, 23, 14, 0.12); display: grid; gap: 16px; }
.review:first-child { grid-row: span 2; background: var(--kraft-ink); color: var(--kraft); border-color: transparent; }
.review:first-child blockquote { font-family: var(--f-display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.22; }
.review:first-child figcaption span { color: #c7b394; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.55; }
.review figcaption { display: grid; gap: 2px; font-size: 0.9rem; }
.review figcaption b { font-weight: 650; }
.review figcaption span { color: var(--kraft-muted); }
.stars { display: flex; gap: 2px; color: var(--kraft-link); }
.review:first-child .stars { color: var(--amber); }
.stars .ico { width: 18px; height: 18px; }
.review-shot { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.review-shot svg { width: 100%; height: 100%; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } .review:first-child { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } .review:first-child { grid-column: auto; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--head-h) + 32px); display: grid; gap: 20px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { transition: transform 0.35s var(--ease); color: var(--amber); }
.qa[open] summary .ico { transform: rotate(45deg); }
.qa .ans { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- închidere ---------- */
.closer { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(36px, 6vw, 80px); background: radial-gradient(70% 120% at 85% 50%, rgba(255, 181, 71, 0.22), transparent 70%), var(--ink-2); border: 1px solid var(--line-2); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: center; }
.closer .closer-art { justify-self: end; width: min(100%, 300px); }
.closer .closer-art .media { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .closer { grid-template-columns: 1fr; } .closer .closer-art { justify-self: start; width: 70%; } }

/* ---------- footer ---------- */
.site-foot { background: #100c09; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); }
.foot-grid h2 { font-family: var(--f-text); font-size: 0.95rem; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot-grid a { color: var(--muted); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.foot-grid a:hover { color: var(--cream); text-decoration: underline; }
.foot-brand p { color: var(--muted); max-width: 34ch; margin: 16px 0 20px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--cream); }
.socials a:hover { background: rgba(255,226,190,.08); text-decoration: none; }
.company { color: var(--muted); font-size: 0.86rem; line-height: 1.7; }
.legal-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.legal-badges a { display: grid; gap: 1px; min-height: 0; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 0.78rem; line-height: 1.35; color: var(--cream); width: 210px; }
.legal-badges a b { font-size: 0.9rem; letter-spacing: 0.04em; }
.foot-bottom { margin-top: clamp(40px, 5vw, 64px); padding-block: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.86rem; }
.pay-note { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-brand { grid-column: auto; } }

/* ---------- WhatsApp plutitor ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 18px 0 16px; border-radius: var(--r-pill);
  background: var(--wa); color: #062b14; text-decoration: none; font-weight: 700;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,.15) inset;
  transition: transform 0.3s var(--ease), bottom 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ico { width: 28px; height: 28px; }
.has-buybar .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); }
@media (max-width: 700px) { .wa-float { width: 58px; padding: 0; justify-content: center; } .wa-float span { display: none; } }

/* ---------- cookie ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: var(--z-float); max-width: 420px; padding: 18px 20px; border-radius: var(--r-frame); background: var(--ink-2); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); display: grid; gap: 12px; font-size: 0.92rem; }
.cookie p { color: var(--muted); }
.cookie p b { color: var(--cream); }
.cookie .ck-m { display: none; }
.cookie .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 700px) {
  .cookie { left: 10px; right: calc(max(16px, env(safe-area-inset-right)) + 66px); bottom: max(16px, env(safe-area-inset-bottom)); max-width: none; min-height: 58px; padding: 7px 7px 7px 16px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.84rem; }
  .cookie p, .cookie .ck-d { display: none; }
  .cookie .ck-m { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .cookie .row { flex: none; }
  .cookie .btn-sm { min-height: 44px; padding-inline: 14px; }
  .cookie .ck-m { font-size: 0.8rem; }
  .has-buybar .cookie { bottom: 84px; }
}

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; top: calc(var(--head-h) + 14px); z-index: var(--z-toast); transform: translate(-50%, -12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); background: var(--cream); color: var(--ink); border-radius: var(--r-pill); padding: 10px 12px 10px 18px; display: flex; align-items: center; gap: 12px; font-weight: 600; box-shadow: 0 20px 40px -14px rgba(0,0,0,.8); max-width: calc(100vw - 24px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; white-space: nowrap; }

/* ---------- pagini interioare ---------- */
.page-head { padding-block: clamp(36px, 5vw, 72px) clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--cream); }

/* filtre categorie */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-top: 26px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; text-decoration: none; white-space: nowrap; font-weight: 550; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--cream); border-color: rgba(255,226,190,.35); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.chip small { font-family: var(--f-mono); font-size: 0.68rem; opacity: 0.8; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding-block: 18px; border-block: 1px solid var(--line); margin-bottom: 28px; }
.toolbar .filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolbar .count { color: var(--muted); font-size: 0.92rem; }
.select { position: relative; display: inline-flex; align-items: center; }
.select select { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 44px 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--ink-2); color: var(--cream); font-weight: 550; cursor: pointer; }
.select .ico { position: absolute; right: 14px; pointer-events: none; width: 18px; height: 18px; color: var(--muted); }
.empty { display: grid; justify-items: start; gap: 16px; padding: 56px 0; max-width: 480px; }
.empty .ico { width: 44px; height: 44px; color: var(--amber); }

/* ---------- pagina produsului ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.gallery { position: sticky; top: calc(var(--head-h) + 20px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 1.5px solid transparent; border-radius: 10px; overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 5; position: relative; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-current="true"] { border-color: var(--amber); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs button img, .thumbs button svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumbs .tlabel { position: absolute; left: 0; right: 0; bottom: 0; font-size: .62rem; font-weight: 700; text-align: center; background: rgba(21,16,12,.8); padding: 2px 0; }
.stage { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); cursor: zoom-in; }
.stage.zoomed { cursor: zoom-out; }
.stage .zoom-layer { position: absolute; inset: 0; transition: transform .35s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage.zoomed .zoom-layer { transform: scale(2.1); transition: transform .2s ease-out; }
.stage .zoom-layer > img, .stage .zoom-layer > picture > img, .stage .zoom-layer > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; pointer-events: none; }
.stage-ui > * { pointer-events: auto; }
.daynight { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: rgba(21, 16, 12, 0.82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); }
.daynight button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .88rem; }
.daynight button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-pill); background: rgba(21, 16, 12, 0.7); color: var(--cream); font-size: .8rem; }
.pdp-info { display: grid; gap: 22px; }
.pdp-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp-price .now { font-size: 2rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.pdp-price s { color: var(--muted); font-size: 1.1rem; }
.save { color: #1a0f05; background: var(--amber); padding: 3px 10px; border-radius: var(--r-pill); font-size: .82rem; font-weight: 700; }
.opt-group { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.opt-group legend { font-weight: 700; margin-bottom: 12px; padding: 0; display: flex; gap: 8px; align-items: baseline; }
.opt-group legend span { font-weight: 450; color: var(--muted); }
.opt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-card { position: relative; display: grid; gap: 3px; padding: 14px 16px; border-radius: var(--r-frame); border: 1.5px solid var(--line-2); cursor: pointer; transition: border-color .2s, background-color .2s; min-height: 44px; }
.opt-card:hover { border-color: rgba(255, 226, 190, 0.4); }
.opt-card input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card:has(input:checked) { border-color: var(--amber); background: rgba(255, 181, 71, 0.07); }
.opt-card:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.opt-card b { display: flex; justify-content: space-between; gap: 8px; }
.opt-card b em { font-style: normal; font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt-card span { color: var(--muted); font-size: .86rem; line-height: 1.4; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 8px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); cursor: pointer; font-size: .92rem; font-weight: 550; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 -6px 10px rgba(0,0,0,.25); }
.swatch:has(input:checked) { border-color: var(--amber); background: rgba(255,181,71,.07); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.swatch em { font-style: normal; color: var(--muted); font-size: .82rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); height: 50px; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.qty button:hover { background: rgba(255,226,190,.07); }
.qty input { width: 40px; text-align: center; border: 0; background: transparent; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; }
.pdp-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.pdp-facts div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.pdp-facts div:nth-child(odd) { padding-right: 16px; }
.pdp-facts dt { color: var(--muted); font-size: .84rem; }
.pdp-facts dd { margin: 0; font-weight: 600; }
.pdp-facts dd.mono { color: var(--mint); font-size: .82rem; font-weight: 400; }
.perks { display: grid; gap: 10px; }
.perks li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.perks li .ico { color: var(--amber); }
.perks { list-style: none; margin: 0; padding: 0; }
.desc { color: var(--muted); font-size: 1.04rem; max-width: 60ch; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float); display: none; align-items: center; gap: 12px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(29, 22, 17, 0.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .4s var(--ease); }
.buybar.show { transform: none; }
.buybar .bb-info { display: grid; line-height: 1.25; min-width: 0; }
.buybar .bb-info b { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.buybar .bb-info span { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .btn { margin-left: auto; flex: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .buybar { display: flex; }
}
@media (max-width: 420px) { .opt-cards { grid-template-columns: 1fr; } .pdp-facts { grid-template-columns: 1fr; } .pdp-facts div:nth-child(odd) { padding-right: 0; } }

/* ---------- formulare ---------- */
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .94rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--r-field);
  background: var(--ink); border: 1.5px solid var(--ink-4); color: var(--cream);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%23bda98f'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field input::placeholder, .field textarea::placeholder { color: #8c7a64; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 181, 71, 0.16); }
.field .hint { color: var(--muted); font-size: .84rem; }
.field .err { color: var(--err); font-size: .86rem; display: none; align-items: center; gap: 6px; }
.field.invalid .err { display: flex; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .94rem; color: var(--muted); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--amber); }
.check a { color: var(--cream); }
.field.invalid .check { color: var(--err); }
.panel { background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: 1.6rem; margin-bottom: 20px; }
.form-error-sum { display: none; padding: 14px 16px; border-radius: var(--r-field); background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); color: #ffd0c8; gap: 10px; align-items: flex-start; }
.form-error-sum.show { display: flex; }

/* ---------- coș ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr); gap: clamp(22px, 4vw, 48px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.cart-items { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.c-item { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.c-item .media { border-radius: 12px; }
.c-item h3 { font-size: 1.28rem; }
.c-item h3 a { text-decoration: none; }
.c-item .opts { color: var(--muted); font-size: .88rem; margin-top: 4px; line-height: 1.5; }
.c-item .row { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.c-item .qty { height: 44px; }
.c-item .qty button { width: 42px; height: 42px; }
.c-item .line-price { font-weight: 700; font-size: 1.08rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-item .line-price small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }
.remove { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); border-radius: var(--r-pill); font-size: .9rem; }
.remove:hover { color: var(--err); background: rgba(255,138,122,.08); }
.summary { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 18px; }
.sum-rows { display: grid; gap: 10px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sum-row b { color: var(--cream); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.ship-progress { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-frame); background: rgba(95, 224, 192, 0.06); border: 1px solid rgba(95, 224, 192, 0.22); font-size: .94rem; }
.ship-progress .bar { height: 6px; border-radius: 6px; background: rgba(95, 224, 192, 0.15); overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--mint); border-radius: 6px; transition: transform .6s var(--ease); }
.ship-progress.done { background: rgba(95, 224, 192, 0.12); }
.ship-progress b { color: var(--mint); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }
@media (max-width: 480px) { .c-item { grid-template-columns: 76px 1fr; gap: 12px; } .c-item .line-price { grid-column: 2; text-align: left; } }

/* checkout */
.co-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.85fr); gap: clamp(22px, 4vw, 48px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.co-layout form { display: grid; gap: 22px; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mini-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; font-size: .92rem; }
.mini-items .media { border-radius: 8px; }
.mini-items span { color: var(--muted); font-size: .8rem; display: block; }
.pay-box { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-frame); border: 1.5px solid var(--amber); background: rgba(255,181,71,.06); }
.pay-box .ico { width: 30px; height: 30px; color: var(--amber); }
.pay-box span { color: var(--muted); font-size: .9rem; display: block; }
@media (max-width: 900px) { .co-layout { grid-template-columns: 1fr; } .co-layout .summary { order: -1; } }
@media (max-width: 420px) { .radio-cards { grid-template-columns: 1fr; } }

/* ---------- configurator ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
.cfg-preview { position: sticky; top: calc(var(--head-h) + 20px); display: grid; gap: 16px; }
.cfg-wall { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-3); }
.cfg-wall .media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.cfg-wall .rgb { position: absolute; inset: 0; mix-blend-mode: color; opacity: 0; transition: opacity .5s; background: conic-gradient(from 0deg at 50% 45%, #ff4d6d, #ffb547, #5fe0c0, #4d8bff, #c86bff, #ff4d6d); animation: hue 6s linear infinite; pointer-events: none; }
.cfg-wall.is-rgb .rgb { opacity: 0.55; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.plaque { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); min-width: 40%; max-width: 86%; padding: 8px 18px; border-radius: 6px; background: var(--plaque, #1b1714); color: var(--plaque-ink, #e8c98f); font-family: var(--f-display); font-size: clamp(1rem, 1.8vw, 1.35rem); text-align: center; letter-spacing: .02em; box-shadow: 0 10px 24px -10px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .3s; }
.plaque.on { opacity: 1; }
.cfg-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r-frame); background: var(--ink-2); border: 1px solid var(--line-2); }
.cfg-total .t { display: grid; }
.cfg-total .t b { font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cfg-total .t span { color: var(--muted); font-size: .84rem; }
.cfg-steps { display: grid; gap: 14px; counter-reset: step; }
.cfg-step { border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 16px; }
.cfg-step > h2 { font-size: 1.45rem; display: flex; gap: 12px; align-items: baseline; }
.cfg-step > h2::before { counter-increment: step; content: counter(step); font-family: var(--f-mono); font-size: .78rem; color: var(--mint); min-width: 22px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px; margin: -4px; }
.pick { position: relative; display: grid; gap: 6px; cursor: pointer; font-size: .84rem; line-height: 1.25; font-weight: 550; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick .media { border-radius: 10px; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.pick:has(input:checked) .media { outline-color: var(--amber); }
.pick:has(input:focus-visible) .media { outline-color: var(--cream); }
.pick small { color: var(--muted); font-weight: 400; }
.personal-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 22px clamp(18px, 3vw, 28px); border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, rgba(37, 211, 102, 0.14), transparent 60%), var(--ink-2); border: 1px solid rgba(37, 211, 102, 0.35); margin-bottom: 28px; }
.personal-cta h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.personal-cta p { color: var(--muted); margin-top: 6px; }
@media (max-width: 640px) { .personal-cta { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .cfg { grid-template-columns: 1fr; } .cfg-preview { position: static; } .cfg-wall { aspect-ratio: 1 / 1; } }

/* flux „modelul meu" */
.personal { display: none; }
.personal.open { display: block; animation: drawerIn .5s var(--ease); }
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: 10px; min-height: 220px; padding: 26px; border-radius: 16px; border: 2px dashed var(--line-2); background: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.drag { border-color: var(--wa); background: rgba(37, 211, 102, 0.05); }
.drop .ico { width: 44px; height: 44px; color: var(--wa); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop b { font-size: 1.06rem; }
.drop span { color: var(--muted); font-size: .88rem; }
.drop.has-file { padding: 12px; min-height: 0; }
.preview-img { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; text-align: left; width: 100%; }
.preview-img img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; }
.preview-img span { word-break: break-all; }
.status { display: none; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-field); font-size: .94rem; }
.status.show { display: flex; }
.status.info { background: rgba(95, 224, 192, 0.08); border: 1px solid rgba(95, 224, 192, 0.3); }
.status.ok { background: rgba(37, 211, 102, 0.1); border: 1px solid rgba(37, 211, 102, 0.4); }
.status.bad { background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); color: #ffd0c8; }

/* ---------- pagini legale ---------- */
.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal .doc { max-width: 760px; }
.legal .doc h1 { margin-bottom: 14px; }
.legal .doc h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal .doc p, .legal .doc li { line-height: 1.7; }
.legal .doc p + p { margin-top: 12px; }
.legal .doc ul { padding-left: 20px; }
.legal .doc .upd { color: var(--muted); font-size: .9rem; }
.legal .callout { margin: 22px 0; padding: 18px 20px; border-radius: var(--r-frame); background: rgba(255, 250, 240, 0.55); border: 1px solid rgba(36, 23, 14, 0.15); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(36, 23, 14, 0.15); }

/* mulțumim */
.thanks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 7vw, 100px); }
.order-no { display: inline-flex; justify-self: start; width: fit-content; gap: 10px; align-items: center; padding: 10px 16px; border-radius: var(--r-pill); background: rgba(95,224,192,.08); border: 1px solid rgba(95,224,192,.3); color: var(--mint); }
.next-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }
.next-steps .ico { width: 26px; height: 26px; color: var(--amber); }
.next-steps span { color: var(--muted); display: block; font-size: .94rem; }
@media (max-width: 860px) { .thanks { grid-template-columns: 1fr; } }

/* utilitare */
.stack-s { display: grid; gap: 10px; }
.stack-m { display: grid; gap: 18px; }
.mt-l { margin-top: clamp(28px, 4vw, 48px); }
.center { text-align: center; }
.hide-m { }
@media (max-width: 700px) { .hide-m { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Personalizăm orice ---------- */
.personal-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.personal-band .lead { max-width: 52ch; color: var(--cream); opacity: .86; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flow li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-frame); background: var(--ink-2); border: 1px solid var(--line); }
.flow li:nth-child(2) { border-color: rgba(37, 211, 102, 0.35); }
.flow .ico { width: 30px; height: 30px; color: var(--amber); margin-bottom: 6px; }
.flow li:nth-child(2) .ico { color: var(--wa); }
.flow b { font-size: 1.04rem; }
.flow span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.flow-compact { grid-template-columns: repeat(4, auto); justify-content: start; }
.flow-compact li { padding: 12px 16px; display: flex; align-items: center; gap: 10px; }
.flow-compact .ico { margin: 0; width: 24px; height: 24px; }
.flow-compact b { font-size: .94rem; white-space: nowrap; }
.pers-head { display: grid; gap: 28px; }
.pers-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pers-side { position: sticky; top: calc(var(--head-h) + 20px); }
@media (max-width: 1100px) { .flow-compact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .personal-band, .pers-layout { grid-template-columns: 1fr; } .pers-side { position: static; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow-compact { grid-template-columns: 1fr 1fr; } .flow-compact b { white-space: normal; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card { display: grid; gap: 8px; align-content: start; text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.contact-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.contact-card > .ico { width: 34px; height: 34px; color: var(--amber); }
.contact-card h2 { font-size: 1.5rem; margin: 6px 0 0; }
.contact-company { grid-column: 1 / -1; }
.contact-company h2 { font-size: 1.4rem; margin-bottom: 8px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.crumbs .ico { width: 14px; height: 14px; transform: rotate(-90deg); opacity: .6; }
.keys-row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .keys-row { grid-template-columns: 1fr 1fr; } }
.hero-note { text-decoration: none; transition: border-color .2s, transform .3s var(--ease); }
.hero-note:hover { border-color: var(--amber); transform: translateY(-2px); }
.demo-hint .ico { width: 20px; height: 20px; }
.empty > .ico { width: 44px; height: 44px; }
@media (max-width: 560px) { .rail-head { flex-wrap: wrap; align-items: flex-start; } .rail-head .link-arrow { white-space: nowrap; } }
