/* Eli Geo Art
   Paleta vine din identitatea de pe Facebook:
   - crem din fundalul logo-ului, alb-roz din copertă
   - verdele de pădure al Arborelui Vieții
   - maro-teracota din sloganul „MAGIE & CULOARE”
   Ritm liniștit, inspirat de casele de modă: mult spațiu, text puțin, imagini mari.
   Momentul principal: videoclipul de pe toată pagina de acasă. */

:root {
  --paper: #FFFAE4;        /* bejul ales de client, în locul albului */
  --paper-deep: #F8EDC6;   /* același bej, puțin mai plin, pentru secțiunile care se despart de fundal */
  --cream: #FDFEEC;        /* fundalul logo-ului; rămâne pentru text și butoane pe verde */
  --surface: #FFFDF2;      /* carduri și câmpuri, bej deschis */
  --ink: #1B1C17;          /* 16.9:1 pe paper */
  --muted: #5C5A50;        /* 6.9:1 pe paper */
  --line: #E4DDCF;
  --forest: #133419;       /* Arborele Vieții, 13.4:1 cu text alb */
  --forest-deep: #0B2410;
  --forest-soft: #C9D6C3;  /* text secundar pe verde, 9.2:1 */
  --sage: #688868;         /* doar decorativ */
  --clay: #884429;         /* sloganul, 6.6:1 pe paper */
  --blush: #EFDFD3;        /* nuanța caldă din copertă */
  --warm: #F3C98B;         /* lumina lumânărilor, pe verde 8.6:1 */
  --night: #17140F;        /* fundalul videoclipului */

  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-body: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --t-sm: 0.875rem;
  --t-base: 1rem;
  --t-lg: 1.0625rem;
  --t-h2: clamp(1.9rem, 1.3rem + 2vw, 2.9rem);

  --header-h: 84px;
  --space-section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1180px;
}
@media (max-width: 720px) { :root { --header-h: 68px; } }

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, canvas, video { max-width: 100%; display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 500; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .container {
    padding-left: max(48px, env(safe-area-inset-left, 0px));
    padding-right: max(48px, env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 4px;
}
.skip:focus { top: 16px; }

/* Eticheta rărită, ca sloganul „M A G I E  &  C U L O A R E” */
.eyebrow {
  font: 400 0.75rem/1.4 var(--f-body);
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--clay);
}
.eyebrow-light { color: rgba(255, 255, 255, 0.92); }
.eyebrow-warm { color: var(--warm); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 30px; border-radius: 999px;
  font: 400 0.9375rem/1 var(--f-body); letter-spacing: 0.08em;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; background: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--forest); }
.btn-cream:hover { background: #fff; }
.btn-outline-light { border-color: rgba(253, 254, 236, 0.55); color: var(--cream); }
.btn-outline-light:hover { border-color: var(--cream); background: rgba(253, 254, 236, 0.1); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Antet ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--paper); color: var(--forest);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) {
  .header-inner {
    padding-left: max(48px, env(safe-area-inset-left, 0px));
    padding-right: max(48px, env(safe-area-inset-right, 0px));
  }
}
/* Peste videoclip: transparent, cu text alb, ca la casele de modă */
.site-header.is-over {
  background: transparent; color: #fff; border-color: transparent;
}
.site-header.is-over .brand-mark { filter: brightness(0) invert(1); }

.menu-toggle {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font: 400 0.9375rem/1 var(--f-body); letter-spacing: 0.04em;
}
.burger { position: relative; width: 20px; height: 12px; }
.burger::before, .burger::after, .burger span {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
}
.burger::before { top: 0; }
.burger span { top: 5.25px; width: 70%; transition: width .3s var(--ease); }
.burger::after { bottom: 0; }
.menu-toggle:hover .burger span { width: 100%; }

.brand {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-decoration: none; text-align: center;
}
.brand-mark { width: auto; height: 32px; transition: filter .5s var(--ease); }
.brand-name {
  font: 500 1.125rem/1 var(--f-display); letter-spacing: 0.34em; text-transform: uppercase;
  padding-left: 0.34em; /* echilibrează spațierea ultimei litere */
  white-space: nowrap;
}
@media (max-width: 720px) {
  .brand-mark { height: 26px; }
  .brand-name { font-size: 0.9375rem; letter-spacing: 0.26em; padding-left: 0.26em; }
}
/* Peste videoclip, logoul e mare, ca numele caselor de modă; la derulare se micșorează lin la loc.
   Se mărește doar desenul (scale), antetul rămâne la aceeași înălțime. */
.brand { transform-origin: 50% 0; transition: scale .7s var(--ease-long, var(--ease)); }
.site-header.is-over .brand { scale: 1.65; }
@media (max-width: 720px) { .site-header.is-over .brand { scale: 1.3; } }
@media (prefers-reduced-motion: reduce) { .brand { transition: none; } }

.header-shop {
  justify-self: end; display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; text-decoration: none;
  font: 400 0.9375rem/1 var(--f-body); letter-spacing: 0.04em;
}
@media (max-width: 560px) { .menu-toggle-label, .header-shop-label { display: none; } }

/* Paginile fără videoclip încep sub antet */
.page { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }

/* ---------- Meniul care se deschide din stânga ---------- */
.menu-overlay, .filter-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(23, 20, 15, 0.42);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-overlay.open, .filter-overlay.open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }

.menu-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 90;
  width: min(460px, 100%);
  display: flex; flex-direction: column;
  padding: calc(28px + env(safe-area-inset-top, 0px)) 48px calc(32px + env(safe-area-inset-bottom, 0px)) max(48px, env(safe-area-inset-left, 0px));
  background: var(--surface); color: var(--ink);
  overflow-y: auto;
  transform: translateX(-100%); visibility: hidden;
  transition: transform .65s var(--ease), visibility 0s linear .65s;
}
.menu-drawer.open { transform: none; visibility: visible; transition: transform .65s var(--ease); }
@media (max-width: 520px) {
  .menu-drawer { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: 28px; }
}
.menu-close {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  min-height: 44px; margin-left: -4px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font: 400 0.9375rem/1 var(--f-body); letter-spacing: 0.04em; color: var(--muted);
}
.menu-close:hover { color: var(--ink); }
.menu-main, .menu-sub { list-style: none; margin: 0; padding: 0; }
.menu-main { margin-top: clamp(28px, 6vh, 56px); display: grid; gap: 2px; }
.menu-main a {
  display: inline-block; padding: 8px 0; text-decoration: none;
  font: 400 clamp(1.5rem, 1.25rem + 0.8vw, 1.9rem)/1.15 var(--f-display); color: var(--forest);
  background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.menu-main a:hover, .menu-main a[aria-current="page"] { background-size: 100% 1px; }
.menu-main a:hover { color: var(--clay); }
.menu-sub { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.menu-sub a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--muted); }
.menu-sub a:hover { color: var(--forest); }
.menu-tagline { margin-top: auto; padding-top: 32px; font: 400 0.6875rem/1.4 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--clay); }

/* Linkurile apar pe rând, ușor, după ce panoul a intrat */
.menu-main li, .menu-sub li { opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-drawer.open li { opacity: 1; transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.05s); }
@media (prefers-reduced-motion: reduce) {
  .menu-drawer, .menu-drawer.open, .menu-overlay, .menu-overlay.open, .filter-drawer, .filter-drawer.open { transition: none; }
  .menu-main li, .menu-sub li, .menu-drawer.open li { opacity: 1; transform: none; transition: none; }
}

/* ---------- Videoclipul de pe pagina de acasă ---------- */
.hero-video {
  position: relative; height: 100vh; height: 100svh; min-height: 520px;
  overflow: hidden; background: var(--night); color: #fff;
}
.hero-fallback, .hero-poster, .hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Poza galaxiei stă sub videoclip și se vede până când acesta pornește */
.hero-poster { object-fit: cover; }
.hero-video video { object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.is-playing video { opacity: 1; }
/* Desenul animat de iarnă (animatie-iarna.js) ocupă tot ecranul, ca videoclipul */
.hero-anim-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 45%);
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: calc(clamp(56px, 9vh, 96px) + env(safe-area-inset-bottom, 0px));
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.hero-caption h1 { font: 400 clamp(2.1rem, 1.5rem + 2.2vw, 3.3rem)/1 var(--f-display); letter-spacing: 0.01em; }
.hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 6px; }
.hero-links a {
  display: inline-flex; align-items: center; min-height: 44px; text-decoration: none;
  font-size: 0.9375rem; letter-spacing: 0.04em;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.hero-links a:hover { background-size: 0 1px; background-position: 100% calc(100% - 10px); }

.video-btn {
  position: absolute; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 2;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.18); color: #fff; cursor: pointer;
  transition: background-color .3s var(--ease);
}
.video-btn:hover { background: rgba(0, 0, 0, 0.4); }
.video-btn[hidden] { display: none; }
.video-play { left: max(24px, env(safe-area-inset-left, 0px)); }
.video-sound { right: max(24px, env(safe-area-inset-right, 0px)); }
.video-play .i-play, .video-play.is-paused .i-pause { display: none; }
.video-play.is-paused .i-play { display: block; }
.video-sound .i-sound, .video-sound.is-on .i-muted { display: none; }
.video-sound.is-on .i-sound { display: block; }

/* ---------- Spații pentru poze: ilustrația stă dedesubt până pui poza ---------- */
.media-slot { position: relative; overflow: hidden; background: var(--paper-deep); }
.media-slot > canvas, .media-slot > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.media-slot > img { object-fit: cover; }

/* ---------- Apariție lină la derulare ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Secțiuni ---------- */
.section { padding-block: var(--space-section); }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 18px; font: 400 var(--t-h2)/1.05 var(--f-display); color: var(--forest); }
.section-lede { margin-top: 18px; font-size: var(--t-lg); color: var(--muted); max-width: 52ch; }
.center-row { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }

/* ---------- Colecția de iarnă ---------- */
.winter {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(1200px 600px at 80% 0%, rgba(243, 201, 139, 0.12), transparent 60%),
    var(--forest);
  color: var(--cream);
  padding-block: clamp(120px, 14vw, 190px) var(--space-section);
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.lights { position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none; }
.lights svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bulb {
  position: absolute; width: 10px; height: 15px; margin-left: -5px; border-radius: 50% 50% 45% 45%;
  background: var(--c); box-shadow: 0 0 10px 2px var(--c), 0 0 26px 6px color-mix(in srgb, var(--c) 45%, transparent);
  animation: twinkle 3.4s ease-in-out infinite; animation-delay: var(--d, 0s);
}
.bulb::before { content: ""; position: absolute; left: 2px; right: 2px; top: -4px; height: 5px; border-radius: 1px; background: #2B3A2C; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .bulb { animation: none; } }

.winter-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 900px) { .winter-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(56px, 7vw, 120px); } }
.winter-media { aspect-ratio: 1 / 1; width: 100%; max-width: 460px; justify-self: center; border-radius: 2px; background: #1C4524; }
.winter-copy { display: grid; gap: 20px; justify-items: start; max-width: 520px; }
.winter-copy h2 { font: 400 clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem)/1 var(--f-display); color: var(--cream); }
.winter-copy p:not(.eyebrow) { color: var(--forest-soft); font-size: var(--t-lg); }
.winter-copy .btn { margin-top: 12px; }

/* ---------- Carduri de produs (acasă și magazin) ---------- */
.product-grid {
  display: grid; gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.product-card { display: grid; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.product-media { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 2px; }
.product-media > canvas, .product-media > img { transition: transform 1.2s var(--ease); }
.product-card:hover .product-media > canvas, .product-card:hover .product-media > img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .product-card:hover .product-media > canvas, .product-card:hover .product-media > img { transform: none; } }
.product-tag {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  padding: 5px 10px; border-radius: 999px; background: var(--forest); color: var(--cream);
  font: 400 0.625rem/1.2 var(--f-body); letter-spacing: 0.2em; text-transform: uppercase;
}
.product-info { display: grid; gap: 4px; }
.product-info h3 { font: 500 clamp(1.05rem, 0.95rem + 0.3vw, 1.25rem)/1.2 var(--f-display); color: var(--ink); }
.product-meta { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }
.product-price { font-size: 0.9375rem; color: var(--ink); font-variant-numeric: tabular-nums; }
/* Comanda din magazin și piesele vândute (din panou) */
.product-tag-sold { background: var(--clay); }
.btn-order { justify-self: start; min-height: 42px; padding: 0 22px; margin-top: 8px; font-size: .875rem; }
.product-sold { margin-top: 8px; font-size: .8125rem; color: var(--clay); letter-spacing: .04em; }

/* ---------- Ferestrele „Comandă” și „Scrie-ne” (formulare.js) ---------- */
.ega-modal {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px;
  background: rgba(19, 22, 16, .45); opacity: 0; transition: opacity .25s var(--ease);
}
.ega-modal.open { opacity: 1; }
/* închisă = scoasă complet din pagină, ca să nu prindă click-urile de dedesubt */
.ega-modal[hidden] { display: none; }
.ega-modal-box {
  position: relative; width: min(100%, 520px); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); border-radius: 6px; padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45);
  transform: translateY(14px); transition: transform .35s var(--ease);
}
.ega-modal.open .ega-modal-box { transform: none; }
.ega-modal-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; }
.ega-modal-x:hover { background: var(--blush); }
.ega-modal h2 { margin-top: 8px; font: 400 clamp(1.6rem, 1.3rem + 1vw, 2rem)/1.1 var(--f-display); color: var(--forest); padding-right: 30px; }
.mf-sub { margin-top: 6px; color: var(--muted); }
.ega-modal form { display: grid; gap: 14px; margin-top: 20px; }
.mf { display: grid; gap: 6px; }
.mf > span { font-size: .8125rem; letter-spacing: .04em; color: var(--ink); }
.mf b { color: var(--clay); font-weight: 400; }
.mf input, .mf textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--surface); color: var(--ink); font: 400 1rem/1.45 var(--f-body);
}
.mf textarea { resize: vertical; min-height: 0; }
.mf input:focus, .mf textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; }
.mf-err { font-style: normal; font-size: .8125rem; color: var(--clay); min-height: 0; }
.mf-err:empty { display: none; }
.mf-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mf-note { font-size: .8125rem; color: var(--muted); }
.mf-status { font-size: .875rem; color: var(--forest); min-height: 1.2em; }
.mf-status.is-err { color: var(--clay); }
.mf-status:empty { display: none; }
.ega-modal button[type=submit] { justify-self: start; }
.mf-thanks { display: grid; gap: 12px; justify-items: start; margin-top: 18px; }
.mf-thanks h3 { font: 400 1.6rem/1.2 var(--f-display); color: var(--forest); }
.mf-thanks p { color: var(--muted); }
.footer-msg { margin-top: 18px; }

/* ---------- Prelucrare manuală (poză orizontală) ---------- */
.craft-banner {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(320px, 38vw, 480px);
  display: grid; place-items: center; text-align: center;
}
.craft-media { position: absolute; inset: 0; background: var(--night); }
.craft-shade { position: absolute; inset: 0; background: rgba(15, 12, 8, 0.38); pointer-events: none; }
.craft-copy {
  position: relative; display: grid; justify-items: center; gap: 18px; max-width: 640px;
  padding: 64px max(20px, env(safe-area-inset-right, 0px)) 64px max(20px, env(safe-area-inset-left, 0px));
}
.craft-copy h2 { font: 400 clamp(2.3rem, 1.5rem + 3.2vw, 4.2rem)/0.95 var(--f-display); }
.craft-copy p:not(.eyebrow) { font-size: var(--t-lg); color: rgba(255, 255, 255, 0.88); max-width: 40ch; }
.craft-copy .btn { margin-top: 10px; }

/* ---------- Întrebări ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
@media (min-width: 980px) {
  .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: calc(var(--header-h) + 40px); }
}
.faq { border-top: 1px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; min-height: 56px;
  font: 500 clamp(1.2rem, 1.08rem + 0.4vw, 1.4rem)/1.2 var(--f-display); color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--forest); font: 300 1.375rem/1 var(--f-body);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--forest); color: var(--cream); }
.faq summary:hover { color: var(--clay); }
.faq details p { padding: 0 56px 26px 0; color: var(--muted); max-width: 62ch; }
@media (max-width: 560px) { .faq details p { padding-right: 0; } }

/* ---------- Magazin ---------- */
.shop-head { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); text-align: center; display: grid; justify-items: center; gap: 16px; }
.shop-head h1 { font: 400 clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem)/1 var(--f-display); color: var(--forest); }
.shop-sub { color: var(--muted); max-width: 48ch; }

.shop-toolbar {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40;
  background: var(--paper); border-block: 1px solid var(--line);
}
.toolbar-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--forest); border-radius: 999px; background: none; color: var(--forest); cursor: pointer;
  font: 400 0.9375rem/1 var(--f-body); letter-spacing: 0.04em;
}
.filter-btn:hover { background: var(--forest); color: var(--cream); }
.filter-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--clay); color: #fff; font-size: 0.75rem; line-height: 20px; text-align: center;
}
.result-count { color: var(--muted); font-size: var(--t-sm); }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--muted); }
.sort select {
  min-height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23133419' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; font: 400 0.9375rem/1 var(--f-body); color: var(--ink); cursor: pointer;
}
@media (max-width: 640px) {
  .toolbar-inner { flex-wrap: wrap; gap: 10px 12px; padding-block: 10px; }
  .result-count { order: 3; width: 100%; }
  .sort > span { display: none; }
}
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.active-chips:not(:empty) { padding-bottom: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer;
  font-size: 0.875rem; color: var(--ink);
}
.chip:hover { border-color: var(--forest); }
.chip svg { color: var(--muted); }
.chip-clear { border: 0; background: none; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); padding: 0 6px; }
.shop-results { padding-block: clamp(36px, 5vw, 64px) var(--space-section); }
.empty { display: grid; justify-items: center; gap: 20px; padding: 80px 0; text-align: center; color: var(--muted); }

.filter-drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 90;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--surface);
  transform: translateX(100%); visibility: hidden;
  transition: transform .6s var(--ease), visibility 0s linear .6s;
}
.filter-drawer.open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
.filter-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(20px + env(safe-area-inset-top, 0px)) max(28px, env(safe-area-inset-right, 0px)) 20px 28px;
  border-bottom: 1px solid var(--line);
}
.filter-head h2 { font: 500 1.75rem/1 var(--f-display); color: var(--forest); }
.icon-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.icon-close:hover { background: var(--paper); }
.filter-body { flex: 1; overflow-y: auto; padding: 8px max(28px, env(safe-area-inset-right, 0px)) 24px 28px; }
.filter-group { border: 0; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); }
.filter-group legend { padding: 0; margin-bottom: 14px; font: 400 0.6875rem/1.4 var(--f-body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--clay); }
.filter-options { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-option { position: relative; }
.filter-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-option span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 0.9375rem;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter-option span:hover { border-color: var(--forest); }
.filter-option input:checked + span { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.filter-option input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15); }
.filter-option .n { color: var(--muted); font-size: 0.8125rem; }
.filter-option input:checked + span .n { color: var(--forest-soft); }
.filter-foot {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  padding: 16px max(28px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) 28px;
  border-top: 1px solid var(--line);
}

/* ---------- Povestea ---------- */
.story-hero { position: relative; min-height: clamp(340px, 40vw, 520px); display: grid; align-items: end; color: #fff; overflow: hidden; }
.story-hero-media { position: absolute; inset: 0; background: var(--night); }
.story-hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 8, 5, 0.6), rgba(10, 8, 5, 0.1) 60%); }
.story-hero-copy { position: relative; width: 100%; padding-block: 64px; display: grid; gap: 16px; }
/* Videoclipul vertical, întreg, într-o ramă ca un ecran de telefon, aliniată cu marginea dreaptă
   a conținutului. Poza din spate rămâne fundalul bannerului. */
.story-reel {
  position: absolute; z-index: 1;
  top: clamp(32px, 4vw, 56px); bottom: clamp(32px, 4vw, 56px);
  right: max(48px, calc((100vw - var(--max)) / 2 + 48px));
  aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 18px; overflow: hidden; background: var(--night);
  box-shadow: 0 0 0 1px rgba(253, 254, 236, 0.22), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.story-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-video-btn { left: auto; right: 14px; bottom: 14px; }
/* Pe telefon: doar videoclipul, într-un banner lat 16:9, fără poză și fără titlu peste el.
   Titlul rămâne în pagină pentru cititoarele de ecran și pentru Google, dar nu se vede. */
@media (max-width: 899px) {
  .story-hero { min-height: 0; aspect-ratio: 16 / 9; display: block; }
  .story-hero-media, .story-hero-shade { display: none; }
  .story-reel { inset: 0; right: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .story-video { object-position: 50% 50%; }
  .story-video-btn { right: 12px; bottom: 12px; }
  .story-hero-copy {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
.story-hero-copy h1 { font: 400 clamp(2.2rem, 1.4rem + 3vw, 4rem)/1 var(--f-display); max-width: 16ch; }

.story-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .story-intro { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 96px; align-items: start; } }
.story-lead { font: 400 clamp(1.5rem, 1.2rem + 1.2vw, 2.15rem)/1.2 var(--f-display); color: var(--forest); }
.story-lead em { color: var(--clay); }
.story-text { display: grid; gap: 18px; color: var(--muted); font-size: var(--t-lg); max-width: 52ch; }

.story-steps-section { background: var(--paper-deep); }
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: clamp(44px, 6vw, 88px); max-width: 1000px; }
.step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 820px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); }
  .step:nth-child(even) .step-media { order: 2; }
}
.step-media { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 2px; background: var(--paper); }
.step-copy { display: grid; gap: 14px; max-width: 460px; }
.step-no { font: 400 0.75rem/1.4 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--clay); }
.step-copy h3 { font: 400 clamp(1.6rem, 1.35rem + 1vw, 2.15rem)/1.05 var(--f-display); color: var(--forest); }
.step-copy p { color: var(--muted); font-size: var(--t-lg); }

.story-cta { background: var(--forest); color: var(--cream); padding-block: var(--space-section); text-align: center; }
.story-cta-inner { display: grid; justify-items: center; gap: 20px; }
.story-cta h2 { font: 400 clamp(1.9rem, 1.3rem + 2vw, 2.8rem)/1.05 var(--f-display); max-width: 20ch; }
.story-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; }

/* ---------- Subsol ---------- */
.site-footer {
  background: var(--paper-deep); color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: var(--space-section);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.footer-cta { display: grid; justify-items: center; text-align: center; gap: 16px; }
.footer-mark { width: clamp(84px, 9vw, 120px); height: auto; margin-bottom: 8px; }
.footer-cta h2 { font: 400 clamp(2rem, 1.4rem + 2.4vw, 3.4rem)/1 var(--f-display); color: var(--forest); max-width: 14ch; }
.footer-cta h2 em { color: var(--clay); }
.footer-cta > p:not(.eyebrow) { font-size: var(--t-lg); max-width: 44ch; color: var(--muted); }
.contact-list {
  margin-top: 32px; width: 100%; display: grid; gap: 14px; text-align: left;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.contact-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface);
}
.contact-label { width: 100%; font: 400 0.6875rem/1.2 var(--f-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--clay); }
.contact-value { font: 500 1.375rem/1.25 var(--f-display); color: var(--forest); overflow-wrap: anywhere; user-select: all; text-decoration: none; }
a.contact-value { user-select: auto; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.copy-btn {
  margin-left: auto; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--forest); background: transparent; color: var(--forest);
  font: 400 0.8125rem/1 var(--f-body); letter-spacing: 0.04em; cursor: pointer;
}
.copy-btn:hover { background: var(--forest); color: var(--cream); }
.footer-bottom {
  margin-top: clamp(72px, 9vw, 120px); padding-block: 32px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
}
.footer-logo { height: 56px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { text-decoration: none; color: var(--forest); padding: 8px 0; font-size: var(--t-sm); }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { font-size: 0.875rem; color: var(--muted); }

/* ---------- Pagina de Crăciun ----------
   Aceleași culori ale brandului, plus roșu de rubin și auriu, folosite cu măsură.
   Decor liniștit: globuri care se leagănă încet, crenguțe de brad, luminițe și ninsoare. */
.page-xmas { --berry: #A3242F; /* 7.4:1 pe paper */ --gold: #C9A227; }

.xmas-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(640px, 92vh, 900px);
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(900px 520px at 50% 62%, rgba(243, 201, 139, 0.16), transparent 70%),
    radial-gradient(600px 400px at 12% 100%, rgba(163, 36, 47, 0.18), transparent 70%),
    radial-gradient(600px 400px at 88% 100%, rgba(163, 36, 47, 0.18), transparent 70%),
    var(--forest);
  color: var(--cream);
}
.xmas-hero .lights { z-index: 2; }

/* Globurile atârnă de sus și se leagănă foarte încet */
.baubles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hang {
  position: absolute; top: 0; left: var(--x); width: clamp(64px, 7vw, 104px);
  height: calc(var(--len) + clamp(110px, 11vw, 160px));
  margin-left: calc(clamp(64px, 7vw, 104px) / -2);
  transform-origin: 50% 0;
  animation: sway 7s ease-in-out infinite alternate; animation-delay: var(--d);
}
.hang canvas { width: 100%; height: 100%; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }
@media (prefers-reduced-motion: reduce) { .hang { animation: none; } }
@media (max-width: 760px) {
  .hide-sm { display: none; }
  .hang { width: 56px; margin-left: -28px; height: calc(var(--len) * 0.45 + 90px); }
}

.sprig { position: absolute; bottom: 0; width: clamp(180px, 24vw, 340px); height: clamp(150px, 20vw, 280px); z-index: 1; pointer-events: none; }
.sprig-left { left: 0; }
.sprig-right { right: 0; }
@media (max-width: 760px) { .sprig { width: 150px; height: 120px; opacity: 0.85; } }

.xmas-hero-copy {
  position: relative; z-index: 3; display: grid; justify-items: center; gap: 18px;
  padding-block: clamp(140px, 16vw, 200px) clamp(150px, 16vw, 210px);
}
.xmas-hero h1 { font: 400 clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem)/0.98 var(--f-display); max-width: 13ch; }
.xmas-hero h1 em { color: var(--warm); }
.xmas-lede { max-width: 46ch; font-size: var(--t-lg); color: var(--forest-soft); }

.countdown { position: relative; display: flex; gap: clamp(10px, 2vw, 18px); margin-top: 14px; }
/* Arborele Vieții, foarte discret, în spatele numărătorii: doar un desen de fundal.
   Logo-ul e verde; „brightness(0) invert(1)” îl face crem, iar opacitatea mică îl lasă abia vizibil. */
.countdown::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 50%; width: clamp(240px, 30vw, 360px); aspect-ratio: 164 / 168;
  translate: -50% -50%;
  background: url("images/logo-mark.png") center / contain no-repeat;
  filter: brightness(0) invert(1); opacity: 0.07;
}
.countdown[hidden] { display: none; }
.cd-box {
  min-width: clamp(78px, 9vw, 104px); padding: 14px 10px 12px;
  display: grid; gap: 4px; justify-items: center;
  border: 1px solid rgba(253, 254, 236, 0.22); border-radius: 4px;
  background: rgba(253, 254, 236, 0.05);
}
.cd-n { font: 500 clamp(1.9rem, 1.6rem + 1vw, 2.4rem)/1 var(--f-display); font-variant-numeric: lining-nums tabular-nums; color: var(--cream); }
.cd-l { font: 400 0.6875rem/1.2 var(--f-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--forest-soft); }
.cd-caption { font-size: var(--t-sm); color: var(--forest-soft); letter-spacing: 0.04em; }
.xmas-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }

/* Cadouri: carduri ca niște etichete de cadou */
.xmas-gifts { background: var(--paper-deep); }
.gift-tags { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gift-tag {
  position: relative; display: grid; gap: 12px; align-content: start;
  padding: 52px 30px 30px; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  outline: 1px dashed rgba(163, 36, 47, 0.35); outline-offset: -10px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gift-tag:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: 0 28px 50px -34px rgba(19, 52, 25, 0.5); }
.gift-tag:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .gift-tag, .gift-tag:hover { transition: none; transform: none; } }
.tag-hole {
  position: absolute; top: 18px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
}
.tag-hole::before { /* fundița de sfoară */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: 18px; margin-left: -0.75px; background: var(--berry);
}
.tag-budget { justify-self: center; font: 400 0.75rem/1.4 var(--f-body); letter-spacing: 0.28em; text-transform: uppercase; color: var(--berry); }
.gift-tag h3 { text-align: center; font: 500 1.875rem/1.1 var(--f-display); color: var(--forest); }
.gift-tag p { text-align: center; color: var(--muted); }
.tag-link {
  justify-self: center; margin-top: 6px; padding-bottom: 2px; color: var(--forest); font-size: var(--t-sm); letter-spacing: 0.04em;
  background: linear-gradient(var(--berry), var(--berry)) 0 100% / 100% 1px no-repeat;
}
.tag-link::after { content: " →"; }

/* Masa de sărbători */
.table-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 900px) { .table-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(56px, 7vw, 120px); } }
.table-media { aspect-ratio: 1 / 1; width: 100%; max-width: 460px; justify-self: center; border-radius: 2px; background: #1C4524; }
.table-copy { display: grid; gap: 22px; justify-items: start; max-width: 520px; }
.table-copy h2 { font: 400 var(--t-h2)/1.05 var(--f-display); color: var(--forest); }
.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.tips li { position: relative; padding-left: 28px; color: var(--muted); }
.tips li::before {
  content: ""; position: absolute; left: 4px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%;
  background: var(--berry); box-shadow: 0 0 0 4px rgba(163, 36, 47, 0.12);
}
.tips strong { color: var(--forest); font-weight: 500; }

/* Comandă din timp */
/* Filtrele de pe pagina de Crăciun: câte un buton pentru fiecare tip de decorațiune */
.xmas-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 clamp(32px, 4vw, 48px); }
.xf-chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--forest);
  font: 400 .875rem/1 var(--f-body); letter-spacing: .03em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.xf-chip span { margin-left: 6px; font-size: .75rem; color: var(--berry, var(--clay)); }
.xf-chip:hover { border-color: var(--forest); }
.xf-chip.on { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.xf-chip.on span { color: var(--warm); }
.product-card[hidden] { display: none; }

.xmas-note { background: var(--forest); color: var(--cream); padding-block: clamp(56px, 7vw, 88px); }
.xmas-note-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; justify-items: start; }
@media (min-width: 900px) { .xmas-note-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; } }
.note-sprig { width: 120px; height: 90px; }
.xmas-note h2 { font: 400 clamp(1.6rem, 1.35rem + 1vw, 2.15rem)/1.05 var(--f-display); }
.xmas-note p { margin-top: 10px; color: var(--forest-soft); max-width: 60ch; }

.page-xmas .site-footer .eyebrow { color: var(--berry); }
.page-xmas .footer-cta h2 em { color: var(--berry); }

/* ==========================================================
   Ritm editorial, inspirat de șabloanele pentru magazine de decor:
   text mare de prezentare, rânduri imagine–text alternate, bandă de citate,
   formular de comandă și numele mare în subsol. Doar culorile de mai sus.
   ========================================================== */

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font: 400 0.875rem/1 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest); text-decoration: none; border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* Declarația de după videoclip */
.statement { padding-block: var(--space-section) calc(var(--space-section) * 0.6); }
.statement-grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.statement h2 {
  font: 400 clamp(2.1rem, 1.2rem + 3.4vw, 4.6rem)/0.98 var(--f-display);
  letter-spacing: -0.015em; color: var(--forest); max-width: 18ch;
}
.statement h2 em { color: var(--clay); }
.statement-foot {
  display: grid; gap: 24px; justify-items: start;
  padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
.statement-foot p { color: var(--muted); font-size: var(--t-lg); max-width: 52ch; }
@media (min-width: 900px) {
  .statement-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; justify-items: stretch; }
  .statement-foot .link-arrow { justify-self: end; }
}

/* Trei rânduri imagine–text */
/* Rânduri compacte: poze orizontale, într-o zonă mai îngustă la mijloc, titluri mai mici */
.editorial { padding-bottom: var(--space-section); }
.editorial > .container { max-width: 1100px; }
.ed-row {
  display: grid; gap: clamp(20px, 3.5vw, 56px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
.ed-row + .ed-row { margin-top: clamp(40px, 6vw, 88px); }
.ed-media { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 2px; overflow: hidden; background: var(--blush); }
.ed-media img { width: 100%; height: 100%; object-fit: cover; }
.ed-copy { display: grid; gap: 12px; justify-items: start; max-width: 420px; }
.ed-num { font: 400 0.8125rem/1 var(--f-body); letter-spacing: 0.3em; color: var(--clay); }
.ed-copy h3 { font: 400 clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem)/1 var(--f-display); color: var(--forest); }
.ed-copy p { color: var(--muted); font-size: var(--t-base); }
.ed-copy .link-arrow { margin-top: 6px; }
@media (min-width: 900px) {
  .ed-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ed-row-flip .ed-media { order: 2; }
  .ed-row-flip .ed-copy { justify-self: end; }
}

/* Titlul de secțiune cu link în dreapta */
.section-head-row {
  max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px;
}

/* Povestea de Crăciun (desenul animat) pe craciun.html: pe toată lățimea, 16:9; pe telefon mai înaltă,
   iar camera din desen urmărește singură iepurii */
.xmas-story { padding-top: var(--space-section); background: var(--paper); }
.xmas-story-stage {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 74vh;
  overflow: hidden; background: var(--night);
}
@media (max-width: 700px) { .xmas-story-stage { aspect-ratio: 4 / 5; } }

/* Numele „Eli Geo Art” din particule (pagina „Povestea”) */
.name-field { position: relative; width: min(100%, 980px); aspect-ratio: 3.4 / 1; touch-action: pan-y; }
.name-field canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Numele mare din subsol */
.footer-word {
  margin-top: clamp(64px, 8vw, 112px); text-align: center; white-space: nowrap;
  font: 400 clamp(3rem, 11vw, 10rem)/0.85 var(--f-display); letter-spacing: -0.02em;
  color: var(--forest); user-select: none;
}
.footer-word + .footer-bottom { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Notificare ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 120;
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--forest); color: var(--cream); padding: 12px 20px; border-radius: 999px;
  max-width: calc(100% - 40px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- Pagina unui produs (produs.html + produs.js) ---------- */
.pd-crumbs { display: flex; gap: 10px; align-items: center; padding-block: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 24px); font-size: .8125rem; letter-spacing: .04em; color: var(--muted); }
.pd-crumbs a { color: var(--muted); text-decoration: none; }
.pd-crumbs a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.pd { display: grid; gap: clamp(28px, 4vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 110px); }
@media (min-width: 900px) { .pd { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); } }
.pd[hidden], .pd-missing[hidden], .pd-related[hidden], .pd-crumbs[hidden] { display: none; }

.pd-gallery { display: grid; gap: 12px; min-width: 0; }
@media (min-width: 900px) { .pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); } }
.pd-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 2px; background: var(--paper-deep); outline-offset: 4px;
}
.pd-track::-webkit-scrollbar { display: none; }
.pd-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; margin: 0; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.pd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s var(--ease); user-select: none; }
.pd-slide.zoom img { transform: scale(2); }
.pd-slide.is-sold img { filter: saturate(.7); }
@media (hover: none) { .pd-slide { cursor: default; } }
.pd-dots { display: flex; justify-content: center; gap: 6px; }
.pd-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.pd-dots i.on { background: var(--forest); transform: scale(1.25); }
@media (min-width: 700px) { .pd-dots { display: none; } }
.pd-thumbs { display: none; }
@media (min-width: 700px) {
  .pd-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .pd-thumb { padding: 0; border: 1px solid transparent; background: var(--paper-deep); aspect-ratio: 1; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
  .pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pd-thumb:hover, .pd-thumb.on { opacity: 1; }
  .pd-thumb.on { border-color: var(--forest); }
}

.pd-info { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 900px) { .pd-info { padding-top: clamp(8px, 2vw, 32px); } }
.pd-info h1 { font: 400 clamp(2rem, 1.4rem + 2.2vw, 3.2rem)/1.04 var(--f-display); color: var(--forest); }
.pd-price { font: 500 1.375rem/1.2 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.pd-desc { display: grid; gap: 12px; color: var(--muted); line-height: 1.7; max-width: 52ch; padding-top: 6px; border-top: 1px solid var(--line); }
.pd-desc p:first-child { padding-top: 14px; }
.pd-specs { display: grid; margin: 0; border-top: 1px solid var(--line); }
.pd-specs:empty { display: none; }
.pd-specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.pd-specs dt { color: var(--muted); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.pd-specs dd { margin: 0; color: var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.pd-actions .btn { min-height: 52px; }
.pd-order { flex: 1 1 220px; }
.pd-sold { flex-basis: 100%; color: var(--clay); letter-spacing: .04em; }
.pd-promise { list-style: none; margin: 6px 0 0; padding: 18px 20px; display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.pd-promise li { display: flex; gap: 12px; align-items: center; }
.pd-promise svg { flex: none; color: var(--clay); }
.pd-missing { display: grid; justify-items: center; gap: 16px; text-align: center; padding-block: clamp(60px, 10vw, 140px); }
.pd-missing h1 { font: 400 clamp(2rem, 1.4rem + 2.2vw, 3.2rem)/1.05 var(--f-display); color: var(--forest); }
.pd-related { background: var(--paper-deep); }

/* Cardurile duc la pagina produsului: titlul e un link care acoperă tot cardul; butonul „Comandă” rămâne deasupra */
.product-card { position: relative; }
.product-link { color: inherit; text-decoration: none; }
.product-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product-link:focus-visible { outline: none; }
.product-card:has(.product-link:focus-visible) { outline: 2px solid var(--forest); outline-offset: 6px; }
.product-card .btn-order { position: relative; z-index: 2; }

/* ---------- Politica de confidențialitate ---------- */
.legal { max-width: 760px; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px); color: var(--muted); line-height: 1.75; }
.legal h1 { margin-top: 16px; font: 400 clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem)/1.04 var(--f-display); color: var(--forest); }
.legal h2 { margin-top: 40px; margin-bottom: 10px; font: 500 1.5rem/1.2 var(--f-display); color: var(--forest); }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal a { color: var(--forest); text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal-date { margin-top: 12px; font-size: var(--t-sm); }
/* de completat înainte de lansare */
.todo { background: #FFE98A; color: var(--ink); padding: 0 4px; }
.footer-legal { color: var(--muted); font-size: var(--t-sm); text-decoration: none; }
.footer-legal:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.mf-legal { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.mf-legal a { color: var(--forest); }
