/* =========================================================
   Square Skull — stiluri
   Culorile și fonturile sunt definite o singură dată, mai jos.
   Site-ul e pe alb. Pentru negru: în js/products.js pune SETARI.tema = "inchisa".
   ========================================================= */

/* Fonturile stau pe serverul nostru (fără Google), doar cu literele necesare, inclusiv ă, â, î, ș, ț.
   Licențele lor (OFL) sunt în folderul fonts/. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-400.woff") format("woff"); }
/* Litera îngustă de pe punga tipărită (Roboto, varianta condensată), folosită doar în cardul cu povestea. */
@font-face { font-family: "SS Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/condensed-400.woff") format("woff"); }
@font-face { font-family: "SS Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/condensed-700.woff") format("woff"); }

:root {
  --bg: #FFFFFF;
  --fg: #0E0E0E;
  --muted: #5E5A54;
  --line: #E3DFD8;
  --panel: #F3F0EA;
  --inv-bg: #0E0E0E;
  --inv-fg: #EDE8DF;

  --ink: #0E0E0E;
  --bone: #EDE8DF;
  --bone-2: #CFC9BE;
  --bone-muted: #A39E95;
  --accent: #FF5CA8;
  --error: #B3261E;

  --gutter: clamp(16px, 3vw, 64px);
  --maxw: 1760px;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-gothic: "Grenze Gotisch", Georgia, serif;
  --f-print: "SS Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
}

[data-tema="inchisa"] {
  color-scheme: dark;
  --bg: #0E0E0E;
  --fg: #EDE8DF;
  --muted: #A39E95;
  --line: #2A2A2A;
  --panel: #161616;
  --inv-bg: #EDE8DF;
  --inv-fg: #0E0E0E;
  --error: #FF8A80;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; } /* loc pentru bara de sus, care rămâne fixă */
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--f-body); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 12px 16px; background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 16px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap-narrow { max-width: 1400px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow { margin: 0; font-size: clamp(12px, 0.8vw, 15px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.display { margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1; text-transform: uppercase; }
.display-xl { font-size: clamp(44px, 6vw, 128px); }
.display-lg { font-size: clamp(32px, 3.4vw, 64px); }
.display-md { font-size: clamp(22px, 1.8vw, 34px); line-height: 1.1; }
.muted { color: var(--muted); }

/* ---------- Butoane ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: clamp(48px, 3.4vw, 60px); padding: 0 clamp(22px, 1.8vw, 34px); border: 2px solid transparent; background: none; font-size: clamp(14px, 0.95vw, 17px); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.15s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: currentColor; opacity: 0.14; transform: translateX(-101%); transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn-outline:hover { background: var(--fg); color: var(--bg); }
.btn-outline-light:hover { background: var(--bone); color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-fg { background: var(--fg); color: var(--bg); }
.btn-outline { border-color: var(--fg); color: var(--fg); }
.btn-outline-light { border-color: var(--bone); color: var(--bone); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 2px solid var(--fg); background: none; color: var(--fg); font-family: var(--f-body); font-size: clamp(13px, 0.9vw, 16px); font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; cursor: pointer; }
a.tag-btn:hover, button.tag-btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- Bara de sus și meniul ---------- */
.promo { background: var(--inv-bg); color: var(--inv-fg); text-align: center; font-size: clamp(12px, 0.8vw, 15px); font-weight: 600; letter-spacing: 0.04em; padding: 10px 16px; }
/* Bara de sus rămâne lipită de marginea ecranului când dai scroll. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s ease; }
.site-header.is-stuck { box-shadow: 0 6px 18px rgba(14, 14, 14, 0.08); }
[data-tema="inchisa"] .site-header.is-stuck { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5); }
/* Antet: meniu în stânga, sigla la mijloc, coșul în dreapta. */
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { display: flex; flex: none; align-items: center; gap: clamp(10px, 0.8vw, 14px); min-height: 44px; color: var(--fg); text-decoration: none; transition: opacity 0.35s ease; }
.header-row .logo { justify-self: center; }
.logo-emblem { object-fit: contain; }
.logo-icon { display: block; flex: none; height: clamp(40px, 3.2vw, 60px); width: auto; }
.logo-word { display: block; flex: none; height: clamp(16px, 1.28vw, 24px); width: auto; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 8px 0 0; border: 0; background: none; color: var(--fg); font-size: clamp(14px, 0.95vw, 17px); font-weight: 600; cursor: pointer; }
.menu-btn:hover .menu-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.icon-btn, .cart-link { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--fg); cursor: pointer; }
.icon-btn:hover, .cart-link:hover { color: var(--accent); }
.fav-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.drawer-foot .fav-count { position: static; display: inline-block; margin-left: 6px; background: var(--accent); color: var(--ink); }
.cart-link.bump { animation: salt 0.5s cubic-bezier(0.3, 0, 0.3, 1); }
@keyframes salt { 0% { transform: scale(1); } 30% { transform: scale(1.3) rotate(-8deg); } 60% { transform: scale(0.9); } 100% { transform: scale(1); } }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
@media (max-width: 560px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .menu-btn { justify-content: center; padding: 0; }
  .header-row { gap: 8px; }
  .fav-link { display: none; }                      /* pe telefon, Favorite e în meniu */
  .icon-btn, .cart-link { width: 40px; }
}

/* Meniul lateral (se deschide din stânga, peste pagină) */
.drawer-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(14, 14, 14, 0.55); opacity: 0; transition: opacity 0.3s ease; }
.drawer { position: fixed; z-index: 95; top: 0; bottom: 0; left: 0; isolation: isolate; width: min(420px, 88vw); display: flex; flex-direction: column; gap: 28px; padding: 16px clamp(20px, 2vw, 32px) 28px; background: var(--ink); color: var(--bone); border-right: 1px solid #2A2A2A; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; transform: translateX(-100%); transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1); }
body.menu-open { overflow: hidden; }
body.menu-open .drawer { transform: none; }
body.menu-open .drawer-scrim { opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.drawer-head .logo { color: var(--bone); }
.drawer-head .logo-icon { height: 40px; }
.drawer-head .logo-word { height: 16px; }
.drawer-close { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #3A3A3A; background: none; color: var(--bone); cursor: pointer; }
.drawer-close:hover { border-color: var(--bone); }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 0; border: 0; background: none; color: var(--bone); font-family: var(--f-display); font-size: clamp(26px, 2vw, 34px); font-weight: 400; line-height: 1.1; text-align: left; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.drawer-nav > a:hover { color: var(--accent); }
.drawer-nav > a { opacity: 0; transform: translateX(-18px); transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.2s ease; transition-delay: calc(var(--i, 0) * 45ms + 120ms); }
body.menu-open .drawer-nav > a { opacity: 1; transform: none; }
.drawer-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.drawer-nav > a.drawer-hot { color: var(--accent); }
.drawer-nav > a.drawer-hot:hover { color: var(--bone); }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid #2A2A2A; }
.drawer-foot a { padding: 9px 0; font-size: 15px; color: var(--bone-muted); text-decoration: none; }
.drawer-foot a:hover, .drawer-foot a[aria-current="page"] { color: var(--bone); }
.drawer-foot a, .footer-col a { background-image: linear-gradient(currentColor, currentColor); background-position: 0 85%; background-repeat: no-repeat; background-size: 0 1px; transition: background-size 0.3s ease, color 0.2s ease; justify-self: start; align-self: flex-start; }
.drawer-foot a:hover, .footer-col a:hover { background-size: 100% 1px; }
.drawer-mark { position: absolute; z-index: -1; right: 0; bottom: 0; width: 220px; opacity: 0.06; pointer-events: none; }

/* ---------- Prima pagină ---------- */
.hero { display: flex; flex-wrap: wrap; background: var(--ink); }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(40px, 5vw, 96px) clamp(16px, 4vw, 96px); color: var(--bone); }
.hero-text .eyebrow { color: var(--bone-muted); }
.hero h1 { margin: 0; font-family: var(--f-gothic); font-weight: 700; font-size: clamp(48px, 5.6vw, 120px); line-height: 0.95; color: var(--accent); }
.hero-lead { margin: 0; max-width: 34ch; font-size: clamp(17px, 1.25vw, 23px); line-height: 1.55; color: var(--bone-2); }
.hero .btn-row { padding-top: 8px; }
.mosaic { flex: 1.3 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; align-content: center; }
.mosaic a { display: block; overflow: hidden; }
.mosaic img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.mosaic a:hover img { transform: scale(1.06); }

.banner { position: relative; isolation: isolate; overflow: hidden; background: var(--accent); color: var(--ink); }
.banner-mark { position: absolute; z-index: -1; left: 50%; top: 50%; width: clamp(260px, 26vw, 500px); transform: translate(-50%, calc(-50% + var(--py, 0px))); opacity: 0.1; }
.banner-inner { min-height: clamp(260px, 22vw, 420px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding-top: 48px; padding-bottom: 48px; text-align: center; }
.banner-inner p { margin: 0; font-size: clamp(14px, 1vw, 19px); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.banner .btn { margin-top: 8px; }

.section { padding-top: clamp(56px, 5vw, 96px); padding-bottom: clamp(56px, 5vw, 96px); }
.section-tight { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head-text { display: flex; flex-direction: column; gap: 6px; }
.section-head-text p { margin: 0; font-size: clamp(14px, 0.9vw, 17px); color: var(--muted); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid var(--fg); background: transparent; color: var(--fg); display: flex; align-items: center; justify-content: center; cursor: pointer; }

.row { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }

.card { position: relative; flex: 0 0 clamp(240px, 21vw, 400px); color: var(--fg); }
.card-link { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.card-media { position: relative; display: block; overflow: hidden; background: var(--panel); }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover img { transform: scale(1.05); }
.card-meta { display: flex; flex-direction: column; gap: 6px; }
.card-col { font-size: clamp(11px, 0.75vw, 14px); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card-name { font-size: clamp(16px, 1.15vw, 22px); font-weight: 600; line-height: 1.3; }
.card:hover .card-name { text-decoration: underline; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-size: clamp(15px, 1vw, 19px); font-weight: 500; }
.color-label { display: flex; align-items: center; gap: 8px; font-size: clamp(13px, 0.85vw, 16px); color: var(--muted); }
.swatch { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1px solid #8A857D; }

/* Colecțiile: poza cu numărul în colț, insigna rotundă „Vezi galeria” și titlul scris peste poză. */
.tile { flex: 0 0 clamp(260px, 28vw, 532px); display: block; color: var(--fg); text-decoration: none; }
.tile img, .arh-cover img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); filter: saturate(0.9); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease; }
.tile-media { position: relative; display: block; overflow: hidden; background: var(--panel); }
.tile:hover img, .tile:focus-visible img, .arh-card:hover .arh-cover img, .arh-cover:focus-visible img { transform: scale(1.06); filter: saturate(1.08); }
.tile-nr { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 10px 6px; background: var(--bone); color: var(--ink); font-family: var(--f-body); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: 0.16em; }
.tile-over { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: clamp(56px, 6vw, 96px) clamp(16px, 1.6vw, 26px) clamp(16px, 1.6vw, 24px); background: linear-gradient(to top, rgba(14, 14, 14, 0.9) 0%, rgba(14, 14, 14, 0.6) 45%, rgba(14, 14, 14, 0) 100%); color: var(--bone); text-align: left; pointer-events: none; }
.tile-titlu { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 2.3vw, 42px); font-weight: 400; line-height: 1.02; text-transform: uppercase; color: var(--bone); }
.tile-titlu::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 12px; background: var(--accent); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.tile:hover .tile-titlu::after, .tile:focus-visible .tile-titlu::after, .arh-card:hover .tile-titlu::after, .arh-card:focus-within .tile-titlu::after { width: 88px; }
.tile-meta { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(237, 232, 223, 0.78); }
/* Insigna rotundă: textul se învârte încet; la hover devine roz, iar săgeata se întoarce spre dreapta. */
.rozeta { position: absolute; z-index: 2; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: clamp(84px, 6.8vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--bone); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.6); transition: background-color 0.35s ease, color 0.35s ease, transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1); }
.rozeta-text { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: roteste 16s linear infinite; }
.rozeta-text text { font-family: var(--f-body); font-size: 9.6px; font-weight: 700; fill: currentColor; }
.rozeta-mijloc { display: flex; align-items: center; justify-content: center; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), background-color 0.35s ease, color 0.35s ease; }
.rozeta-mijloc svg { width: 58%; height: 58%; stroke-width: 2.4; }
.tile:hover .rozeta, .tile:focus-visible .rozeta, .arh-card:hover .rozeta, .arh-cover:focus-visible .rozeta { background: var(--accent); color: var(--ink); transform: scale(1.08); }
.tile:hover .rozeta-mijloc, .tile:focus-visible .rozeta-mijloc, .arh-card:hover .rozeta-mijloc, .arh-cover:focus-visible .rozeta-mijloc { background: var(--ink); color: var(--accent); transform: rotate(45deg); }
@keyframes roteste { to { transform: rotate(360deg); } }
/* Colecție fără poză (Exclusive): panou negru cu sigla și chenar roz. */
.tile-art { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; background: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.tile-art img { width: 42%; height: auto; aspect-ratio: auto; object-fit: contain; background: none; }

.feature { display: flex; flex-wrap: wrap; gap: 24px; }
/* Povestea de pe prima pagină, ca pe punga tipărită: hârtie albă, chenar gros, sigla discretă în fundal, ștampila în colț.
   Când ajunge pe ecran: chenarul se desenează, rândurile apar pe rând, apoi se „pune” ștampila. */
.manifesto { --tus: #2B2F37; --chenar: clamp(10px, 1.05vw, 16px); --margine: clamp(10px, 1.2vw, 20px); --stampila: clamp(54px, 4.6vw, 78px); position: relative; isolation: isolate; overflow: hidden; flex: 1 1 480px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: calc(var(--margine) + var(--chenar) + clamp(30px, 3.4vw, 64px)) calc(var(--margine) + var(--chenar) + clamp(14px, 2.6vw, 52px)) calc(var(--margine) + var(--chenar) + var(--stampila) + clamp(20px, 2vw, 36px)); background: #FFF; color: var(--tus); border: 1px solid #E4E0D8; box-shadow: 0 1px 2px rgba(14, 14, 14, 0.05), 0 22px 44px -26px rgba(14, 14, 14, 0.4); font-family: var(--f-print); text-align: center; }
.print-frame { position: absolute; inset: var(--margine); z-index: -1; pointer-events: none; }
.print-frame i { position: absolute; display: block; background: var(--tus); }
.print-frame i:nth-child(1) { top: 0; left: 0; right: 0; height: var(--chenar); transform-origin: 0 50%; }
.print-frame i:nth-child(2) { top: 0; right: 0; bottom: 0; width: var(--chenar); transform-origin: 50% 0; }
.print-frame i:nth-child(3) { bottom: 0; left: 0; right: 0; height: var(--chenar); transform-origin: 100% 50%; }
.print-frame i:nth-child(4) { top: 0; bottom: 0; left: 0; width: var(--chenar); transform-origin: 50% 100%; }
.print-mark { position: absolute; z-index: -2; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: min(64%, 400px); aspect-ratio: 1; padding: min(5.8%, 36px); border: clamp(3px, 0.35vw, 5px) solid var(--tus); opacity: 0.07; transform: translate(-50%, calc(-50% + var(--py, 0px))); pointer-events: none; }
.print-mark img, .print-stamp img { display: block; flex: 0 0 100%; width: 100%; height: auto; }
.print-stamp { position: absolute; right: calc(var(--margine) + var(--chenar) + clamp(10px, 1.2vw, 20px)); bottom: calc(var(--margine) + var(--chenar) + clamp(10px, 1.2vw, 20px)); display: flex; align-items: center; justify-content: center; width: var(--stampila); aspect-ratio: 1; padding: calc(var(--stampila) * 0.1); border: 2px solid var(--tus); background: #FFF; }
.print-body { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 1.25vw, 22px); max-width: 30em; }
.print-title { margin: 0 0 clamp(2px, 0.4vw, 8px); font-family: var(--f-display); font-size: clamp(46px, 5.2vw, 100px); font-weight: 400; line-height: 1; letter-spacing: 0.005em; text-transform: uppercase; color: var(--tus); }
.print-body p { margin: 0; font-size: clamp(18px, 1.35vw, 24px); line-height: 1.3; color: #3A3E46; }
.print-body strong, .print-body .punch { font-weight: 700; color: var(--tus); }
.print-body .sign { margin-top: clamp(4px, 0.6vw, 10px); color: var(--tus); }
.print-cta, .print-end { margin: 0; font-size: clamp(19px, 1.45vw, 26px); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; text-transform: uppercase; color: var(--tus); }
.print-cta { margin-top: clamp(4px, 0.8vw, 12px); padding: 2px 6px; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) 50% 100% / 100% 3px no-repeat; transition: background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.print-cta:hover, .print-cta:focus-visible { background-size: 100% 100%; }
.print-end { margin-top: clamp(10px, 1.6vw, 26px); }
/* Tranzițiile doar la intrarea pe ecran; ascunderea de la început e instantanee. */
.js-anim .print-anim.is-in .print-frame i { transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1); }
.js-anim .print-anim.is-in .print-frame i:nth-child(2) { transition-delay: 0.42s; }
.js-anim .print-anim.is-in .print-frame i:nth-child(3) { transition-delay: 0.84s; }
.js-anim .print-anim.is-in .print-frame i:nth-child(4) { transition-delay: 1.26s; }
.js-anim .print-anim:not(.is-in) .print-frame i:nth-child(odd) { transform: scaleX(0); }
.js-anim .print-anim:not(.is-in) .print-frame i:nth-child(even) { transform: scaleY(0); }
.js-anim .print-anim.is-in .print-mark { transition: opacity 1.4s ease 0.3s; }
.js-anim .print-anim:not(.is-in) .print-mark { opacity: 0; }
.js-anim .print-anim.is-in .print-stamp { transition: opacity 0.2s ease 1.8s, transform 0.5s cubic-bezier(0.3, 1.5, 0.5, 1) 1.8s; }
.js-anim .print-anim:not(.is-in) .print-stamp { opacity: 0; transform: scale(1.9) rotate(-12deg); }
.featured { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: clamp(24px, 3vw, 56px); background: var(--panel); color: var(--fg); text-align: center; text-decoration: none; }
.featured img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; }
.featured .tag-btn { align-self: center; }

.newsletter { background: var(--panel); }
.newsletter-inner { max-width: 880px; margin: 0 auto; padding: clamp(56px, 5vw, 96px) var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.newsletter-inner > p { margin: 0; font-size: clamp(16px, 1.05vw, 20px); color: var(--muted); }

/* ---------- Formulare ---------- */
.form-inline { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; text-align: left; }
.field-row { display: flex; flex-wrap: wrap; gap: 8px; }
.input { flex: 1 1 220px; min-width: 0; height: 56px; padding: 0 16px; border: 2px solid var(--fg); border-radius: 0; background: #FFFFFF; color: #0E0E0E; font-size: 16px; }
.label { font-size: clamp(14px, 0.9vw, 16px); font-weight: 600; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: clamp(13px, 0.85vw, 16px); line-height: 1.45; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.is-error { color: var(--error); }
.form-msg:focus { outline: none; }
/* Câmpul-capcană pentru roboți: nu se vede și nu se poate atinge. */
.capcana { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
button[aria-busy="true"] { cursor: progress; opacity: 0.75; }

/* ---------- Subsol ---------- */
.site-footer { background: var(--ink); color: var(--bone); border-top: 1px solid #2A2A2A; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; padding-top: 72px; }
.footer-brand { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo { color: var(--bone); }
.footer-brand .logo-icon { height: clamp(44px, 3.4vw, 64px); }
.footer-brand .logo-word { height: clamp(18px, 1.36vw, 26px); }
.footer-brand p { margin: 0; font-size: clamp(14px, 0.95vw, 17px); line-height: 1.7; color: var(--bone-muted); }
.footer-brand p a { color: var(--bone); }
.footer-col { flex: 0 1 180px; display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .footer-top { gap: 32px 24px; padding-top: 56px; }
  .footer-brand { flex-basis: 100%; }
  .footer-col { flex: 1 1 calc(50% - 12px); }
}
.footer-col h2 { margin: 0 0 8px; font-size: clamp(11px, 0.75vw, 14px); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-muted); }
.footer-col a { padding: 10px 0; font-size: clamp(14px, 0.95vw, 17px); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 48px; padding: 24px 0 32px; border-top: 1px solid #2A2A2A; font-size: clamp(12px, 0.8vw, 15px); color: var(--bone-muted); }
.footer-bottom a { padding: 12px 0; text-decoration: none; }

/* ---------- Lista de tricouri ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(calc(50% - 12px), 340px), 1fr)); gap: 40px 24px; }
.grid .card { flex: none; }
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-group > span, .filter-group > label { min-width: 80px; font-size: clamp(13px, 0.85vw, 16px); color: var(--muted); }
.select { min-height: 44px; padding: 0 42px 0 16px; border: 1px solid var(--muted); border-radius: 999px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235E5A54' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; color: var(--fg); font-size: clamp(13px, 0.85vw, 16px); font-weight: 600; cursor: pointer; appearance: none; -webkit-appearance: none; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--muted); background: transparent; font-size: clamp(13px, 0.85vw, 16px); font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.empty-note { padding: 32px 0; color: var(--muted); }

/* ---------- Pagina de produs ---------- */
.breadcrumb { padding-top: 12px; }
.breadcrumb ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: clamp(13px, 0.85vw, 16px); color: var(--muted); }
.breadcrumb a { display: inline-block; padding: 12px 0; }
.breadcrumb [aria-current] { color: var(--fg); }
.product { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 40px 56px; padding-top: 16px; padding-bottom: clamp(64px, 6vw, 112px); }
.gallery { flex: 1 1 520px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 12px; }
.gallery-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumb[aria-current="true"] { border-color: var(--accent); }
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.buy { position: relative; isolation: isolate; flex: 1 1 420px; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 24px; }
.buy-mark { position: absolute; z-index: -1; top: 0; left: 50%; width: min(520px, 100%); transform: translateX(-50%); opacity: 0.06; }
.on-dark { display: none; }
[data-tema="inchisa"] .on-light { display: none; }
[data-tema="inchisa"] .on-dark { display: block; }
.buy-head { display: flex; flex-direction: column; gap: 10px; }
.buy h1 { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 3.4vw, 64px); line-height: 1.05; text-transform: uppercase; }
.buy .price { font-size: clamp(22px, 1.6vw, 30px); font-weight: 600; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.buy-label { font-size: clamp(14px, 0.95vw, 17px); font-weight: 600; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.size { min-width: 56px; min-height: 48px; padding: 0 14px; border: 1px solid var(--muted); background: transparent; font-size: clamp(14px, 0.95vw, 17px); font-weight: 600; cursor: pointer; }
.size[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.buy-actions { display: flex; flex-direction: column; gap: 12px; }
.msg-error { margin: 0; color: var(--error); font-weight: 600; }
.msg-ok { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.perks { display: flex; flex-direction: column; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perk { display: flex; align-items: center; gap: 12px; font-size: clamp(14px, 0.95vw, 17px); }
.perk svg { flex: none; color: var(--accent); }
.h-small { margin: 0; font-size: clamp(13px, 0.85vw, 16px); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.details ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: clamp(14px, 0.95vw, 17px); color: var(--muted); }
.table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: clamp(13px, 0.9vw, 16px); text-align: center; }
th, td { padding: 12px; }
@media (max-width: 480px) { th, td { padding: 10px 6px; } }
thead tr { background: var(--panel); }
tbody tr { border-top: 1px solid var(--line); }
tbody th { text-align: left; font-weight: 500; }
.note { margin: 12px 0 0; font-size: clamp(13px, 0.85vw, 15px); color: var(--muted); }

/* ---------- Coș și comandă ---------- */
.page { padding-top: clamp(40px, 4vw, 72px); padding-bottom: clamp(64px, 6vw, 112px); }
.page-title { margin-bottom: 32px; }
.cart { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.cart-items { flex: 2 1 520px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 96px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
.cart-item-info { display: flex; flex-direction: column; gap: 4px; }
.cart-item-info a { font-weight: 600; text-decoration: none; }
.cart-item-info a:hover { text-decoration: underline; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--muted); }
.qty button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 600; }
.link-btn { padding: 10px 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.summary { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--panel); }
.summary h2 { margin: 0 0 4px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; }
.summary-total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 20px; font-weight: 700; }
.summary .note { margin: 0; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.empty p { margin: 0; }

.checkout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.checkout-form { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
/* Pe telefon, sumarul comenzii apare primul, ca omul să vadă ce cumpără înainte să completeze. */
@media (max-width: 920px) { .checkout .summary { order: -1; flex-basis: 100%; } }

/* Livrare gratuită: mesaj și bară de progres în coș */
.ship-note { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); font-size: 15px; }
.ship-note p { margin: 0; }
p.ship-note, .ship-note p { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.ship-note svg { flex: none; margin-top: 1px; }
.ship-ok { font-weight: 600; }
.ship-ok svg { color: #1E7B45; }
.ship-bar { height: 6px; background: var(--line); }
.ship-bar span { display: block; height: 100%; background: var(--accent); transition: width 0.4s ease; }

/* Cod de reducere */
.summary-discount { color: #1E7B45; font-weight: 600; }
.code-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.code-form label { font-size: 15px; font-weight: 600; }
.code-row { display: flex; gap: 8px; }
.code-input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 12px; border: 2px solid var(--muted); border-radius: 0; background: #FFFFFF; color: #0E0E0E; font-size: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.code-input:focus { border-color: var(--fg); }
.code-input[aria-invalid="true"] { border-color: var(--error); }
.code-row .btn { min-height: 48px; padding: 0 18px; }
.code-on { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; font-size: 15px; }
.code-on > span { display: inline-flex; align-items: center; gap: 8px; }
.code-on svg { color: #1E7B45; }
.code-msg { margin: 0; min-height: 0; font-size: 14px; color: var(--muted); }
.code-msg:empty { display: none; }
[data-tema="inchisa"] .code-input { background: #161616; color: var(--fg); border-color: #5E5A54; }
[data-tema="inchisa"] .summary-discount, [data-tema="inchisa"] .ship-ok svg, [data-tema="inchisa"] .code-on svg { color: #6FD39B; }

/* Mesaj scurt jos pe ecran */
.toast { position: fixed; left: 50%; bottom: 20px; z-index: 130; width: max-content; max-width: calc(100vw - 32px); padding: 14px 18px; background: var(--ink); color: var(--bone); border-left: 4px solid var(--accent); font-size: 15px; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); transform: translate(-50%, 16px); opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.buy-label .muted { font-weight: 500; }

.fields { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields legend { margin-bottom: 12px; padding: 0; font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 30px); text-transform: uppercase; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { height: 52px; padding: 0 14px; border: 2px solid var(--muted); border-radius: 0; background: #FFFFFF; color: #0E0E0E; font-size: 16px; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
/* Pe tema neagră, câmpurile sunt închise la culoare, nu albe. */
[data-tema="inchisa"] .input,
[data-tema="inchisa"] .field input,
[data-tema="inchisa"] .field select,
[data-tema="inchisa"] .field textarea { background: #161616; color: var(--fg); }
[data-tema="inchisa"] .field input,
[data-tema="inchisa"] .field select,
[data-tema="inchisa"] .field textarea { border-color: #5E5A54; }
[data-tema="inchisa"] .field input:focus,
[data-tema="inchisa"] .field select:focus,
[data-tema="inchisa"] .field textarea:focus { border-color: var(--fg); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; font-size: 14px; color: var(--error); }
.radio { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border: 2px solid var(--line); cursor: pointer; }
.radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.radio.is-disabled { color: var(--muted); cursor: not-allowed; }
.radio small { display: block; color: var(--muted); }
.notice { padding: 16px; border: 2px dashed var(--muted); }
.notice p { margin: 0; }
@media (max-width: 600px) {
  .fields { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-item img { width: 72px; }
  .cart-item-side { grid-column: 2; align-items: flex-start; }
}

/* ---------- Pagini legale ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(40px, 4vw, 72px) var(--gutter) clamp(64px, 6vw, 112px); }
.legal h1 { margin-bottom: 16px; }
.legal h2 { margin: 32px 0 8px; font-size: 20px; }
.legal p { margin: 0 0 12px; }
.placeholder { padding: 12px 16px; border: 1px dashed var(--muted); color: var(--muted); }

/* ---------- Animația de intrare (doar pe prima pagină) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.intro-bg { position: absolute; inset: 0; background: var(--bg); }
.intro.is-leaving .intro-bg { opacity: 0; transition: opacity 0.6s ease; }
.intro.is-leaving .intro-lock { opacity: 0; transition: opacity 0.6s ease; }
.intro-lock { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; white-space: nowrap; color: var(--fg); transform: translate(-50%, -50%) scale(1.9); opacity: 0; transition: opacity 0.45s ease; }
.intro-lock.is-on { opacity: 1; }
.intro-word { display: block; flex: none; overflow: hidden; max-width: 0; margin-left: 0; opacity: 0; transition: max-width 0.6s ease, margin-left 0.6s ease, opacity 0.45s ease; }
.intro-lock.is-text .intro-word { max-width: 220px; margin-left: clamp(10px, 0.8vw, 14px); opacity: 1; }
.intro-word .logo-word { max-width: none; }
body.intro-running { overflow: hidden; }
body.intro-running .site-header .logo { opacity: 0; }

/* Pentru cine a cerut mai puțină mișcare din setările telefonului/PC-ului */
/* ---------- Pagina Femei: emblema mare sus ---------- */
.cat-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: clamp(8px, 2vw, 32px) 0 clamp(20px, 2.4vw, 40px); text-align: center; }
.cat-emblem { width: clamp(150px, 15vw, 260px); height: auto; margin-bottom: 8px; }
.cat-hero p { margin: 0; color: var(--muted); }
.cat-hero ~ .empty-note { text-align: center; }

/* ---------- Galeria de colecții (arhivă) ---------- */
.arhiva { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 2.6vw, 48px) clamp(12px, 1.4vw, 24px); margin: 0; padding: 0 0 clamp(24px, 3vw, 56px); list-style: none; }
.arh-item { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.arh-card { position: relative; overflow: hidden; background: var(--panel); }
.arh-cover { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: var(--panel); }
.arh-cover:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.arh-item:target .arh-card { outline: 3px solid var(--accent); outline-offset: 4px; }
.arh-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 4px 0; border-bottom: 2px solid var(--fg); color: var(--fg); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-decoration: none; text-transform: uppercase; }
.arh-link svg { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.arh-link:hover { border-bottom-color: var(--accent); }
.arh-link:hover svg { transform: translateX(5px); }
.gal-desc { margin: 0; max-width: 60ch; color: var(--muted); }
@media (min-width: 1100px) { .arhiva { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* =========================================================
   Animații
   ========================================================= */
/* Apariție la scroll (clasele le pune scriptul, doar dacă animațiile sunt permise) */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
/* Cortina pe poze: decupăm copilul, nu elementul urmărit (altfel nu e „văzut” la scroll). */
.js-anim .reveal-img > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s cubic-bezier(0.7, 0, 0.2, 1); transition-delay: var(--d, 0ms); }
.js-anim .reveal-img.is-in > * { clip-path: inset(0 0 0 0); }
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.16em 0 0.1em; margin: -0.16em 0 -0.1em; }  /* loc pentru diacritice (Ă, Ș) */
.sw > span { display: inline-block; transform: translateY(110%); transition: transform 0.95s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.reveal-split.is-in .sw > span { transform: none; }

/* Intrarea și ieșirea din pagină */
@keyframes pagina-intra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.js-anim main { animation: pagina-intra 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
main, .site-footer { transition: opacity 0.18s ease; }
body.is-leaving main, body.is-leaving .site-footer { opacity: 0; }

/* Bandă cu text care curge */
.marquee { overflow: hidden; background: var(--ink); color: var(--bone); border-top: 1px solid #2A2A2A; border-bottom: 1px solid #2A2A2A; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: banda 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee span { flex: none; padding: clamp(12px, 1.2vw, 20px) clamp(12px, 1.3vw, 24px); font-family: var(--f-display); font-size: clamp(26px, 3vw, 56px); line-height: 1; text-transform: uppercase; white-space: nowrap; }
.marquee .marquee-x { color: var(--accent); }
.marquee-pink { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.marquee-pink .marquee-x { color: var(--ink); }
@keyframes banda { to { transform: translateX(-50%); } }

/* Panglica cu poze (Toate tricourile) */
.ribbon { overflow: hidden; padding: clamp(16px, 2vw, 32px) 0; }
.ribbon-track { display: flex; width: max-content; animation: banda 70s linear infinite; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon-group { display: flex; flex: none; gap: 12px; padding-right: 12px; }
.ribbon img { width: clamp(130px, 13vw, 220px); aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }

/* Plutire ușoară */
@keyframes plutire { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.float { animation: plutire 7s ease-in-out infinite; }

/* Buton „înapoi sus” */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--ink); color: var(--bone); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, bottom 0.3s ease; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); color: var(--ink); }
body.has-buybar .to-top { bottom: 92px; }
[data-tema="inchisa"] .to-top { background: var(--bone); color: var(--ink); }

/* =========================================================
   Favorite, căutare, coș rapid
   ========================================================= */
.badge { position: absolute; left: 10px; top: 10px; padding: 5px 9px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.badge-lg { left: 14px; top: 14px; padding: 7px 12px; font-size: 13px; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: #0E0E0E; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn svg { transition: fill 0.2s ease, color 0.2s ease; }
.fav-btn[aria-pressed="true"] svg { fill: var(--accent); color: var(--accent); }
.fav-btn.pop { animation: inima 0.45s cubic-bezier(0.3, 0, 0.3, 1); }
@keyframes inima { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 70% { transform: scale(0.9); } 100% { transform: scale(1); } }
.fav-square { position: static; flex: none; width: clamp(48px, 3.4vw, 60px); height: auto; min-height: clamp(48px, 3.4vw, 60px); border: 2px solid var(--fg); border-radius: 0; background: transparent; color: var(--fg); }
.buy-main { display: flex; gap: 10px; }
.buy-main .btn { flex: 1 1 auto; }

body.panou-deschis { overflow: hidden; }

/* Căutare (ecran întreg, din antet) */
.search { position: fixed; inset: 0; z-index: 115; overflow-y: auto; background: var(--bg); color: var(--fg); opacity: 0; transform: translateY(-16px); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.search.is-open { opacity: 1; transform: none; }
.search-inner { padding-top: clamp(16px, 2vw, 32px); padding-bottom: 64px; }
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 3px solid var(--fg); }
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input { flex: 1 1 auto; min-width: 0; height: clamp(64px, 6vw, 96px); padding: 0; border: 0; background: transparent; color: var(--fg); font-family: var(--f-display); font-size: clamp(26px, 3vw, 52px); text-transform: uppercase; outline: none; }
.search-bar input::placeholder { color: var(--muted); opacity: 0.6; }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-close, .mc-close { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: none; color: var(--fg); cursor: pointer; }
.search-close:hover, .mc-close:hover { border-color: var(--fg); }
.search-info { margin: 16px 0 0; color: var(--muted); }
.search-info:empty { display: none; }
.search-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 28px; }
.search-quick > span { margin-right: 8px; color: var(--muted); }
.search-quick .chip { display: inline-flex; align-items: center; text-decoration: none; }
.search-quick .chip:hover { border-color: var(--fg); }
.search-results { margin-top: 28px; }

/* Coșul rapid (din dreapta) */
.mc-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(14, 14, 14, 0.5); opacity: 0; transition: opacity 0.3s ease; }
.mc-scrim.is-open { opacity: 1; }
.minicart { position: fixed; z-index: 105; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--bg); color: var(--fg); border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0, 0, 0, 0.18); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.minicart.is-open { transform: none; }
.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.mc-head h2 { margin: 0; }
.mc-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; padding: 16px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.mc-items { margin: 0; padding: 0; list-style: none; }
.mc-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mc-item img { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--panel); }
.mc-info { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.mc-info a { font-weight: 600; text-decoration: none; }
.mc-info a:hover { text-decoration: underline; }
.mc-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.qty-sm button { width: 38px; height: 38px; }
.mc-sum { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--panel); }
.mc-btns { display: flex; flex-direction: column; gap: 10px; }
.mc-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 8px; }
.mc-empty p { margin: 0; }

/* Poza care zboară spre coș */
.zbor { position: fixed; z-index: 140; margin: 0; object-fit: cover; pointer-events: none; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }

/* Pagina produsului: zoom, distribuire, bara de jos */
.zoom { position: relative; overflow: hidden; background: var(--panel); }
.zoom img { transition: transform 0.35s ease; }
.zoom.can-zoom { cursor: zoom-in; }
.zoom.is-zoom img { transform: scale(1.9); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 0; color: var(--fg); text-decoration: none; font-weight: 600; }
.share-btn span { text-decoration: underline; text-underline-offset: 4px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12); transform: translateY(110%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.buybar.is-on { transform: none; }
.buybar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.buybar-name { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.buybar-price { font-size: 14px; color: var(--muted); }
.buybar .btn { flex: none; min-height: 48px; padding: 0 16px; font-size: 13px; white-space: nowrap; }
@media (min-width: 900px) { .buybar { display: none; } }

/* =========================================================
   Paginile speciale (antetul fiecărei categorii)
   ========================================================= */
.ph { position: relative; isolation: isolate; overflow: hidden; }
.ph-title { margin: 0; padding: 0.12em 0 0.1em; font-family: var(--f-display); font-size: clamp(64px, 11vw, 200px); font-weight: 400; line-height: 1.08; text-transform: uppercase; overflow-wrap: anywhere; }  /* spațiu pentru Ă, Ș, Ț */
.ph-lead { margin: 0; max-width: 48ch; font-size: clamp(16px, 1.15vw, 21px); line-height: 1.55; color: var(--muted); }
.ph-count { margin: 0; font-weight: 600; color: var(--muted); }
.ph-count:empty { display: none; }
.ph-inner { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: clamp(40px, 5vw, 110px); padding-bottom: clamp(36px, 4.4vw, 90px); }
.ph-center { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: clamp(32px, 4vw, 80px); padding-bottom: clamp(32px, 4vw, 80px); text-align: center; }
.ph-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ph-center .ph-facts { justify-content: center; }
.ph-facts li { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 15px; }
.ph-mark { position: absolute; z-index: -1; right: -4%; top: 50%; width: clamp(280px, 38vw, 680px); transform: translateY(calc(-50% + var(--py, 0px))); opacity: 0.07; pointer-events: none; }
.page-tight { padding-top: clamp(24px, 2.6vw, 44px); }

/* Exclusive: pagină pe negru, titlu conturat care se umple cu roz */
.ph-exclusive { background: var(--bg); }
.ph-wipe { position: relative; display: inline-block; align-self: flex-start; color: transparent; -webkit-text-stroke: 2px var(--fg); }
.ph-wipe::after { content: attr(data-text); position: absolute; left: 0; top: 0; padding-top: inherit; color: var(--accent); -webkit-text-stroke: 0; clip-path: inset(0 100% 0 0); animation: umplere 1.4s 0.5s cubic-bezier(0.7, 0, 0.2, 1) forwards; }
@keyframes umplere { to { clip-path: inset(0 0 0 0); } }

/* Accesorii: text în stânga, desenul în dreapta */
.ph-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding-top: clamp(36px, 4.4vw, 96px); padding-bottom: clamp(36px, 4.4vw, 96px); }
.ph-text { display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 760px) { .ph-split { grid-template-columns: minmax(0, 1fr); } }

/* Bărbați: la fel ca Femei, pe un gri rece, cu sigla care plutește și cranii mici care cad */
.ph-barbati { background: #EEF0F3; }
.ph-barbati .ph-facts li { border-color: #D6DBE1; }
.ph-barbati .cat-emblem { width: clamp(120px, 12vw, 210px); }
.petala.craniu { width: var(--s, 14px); height: calc(var(--s, 14px) * 1.13); border-radius: 0; background: url("../img/logo/icon-black.svg") center / contain no-repeat; opacity: 0.14; }

/* Femei: fundal roz pal, emblema cu flori, petale care cad */
.ph-femei { background: #FFF0F6; }
.ph-femei .ph-facts li { border-color: #F5CADC; }
.cat-emblem { width: clamp(150px, 15vw, 260px); height: auto; margin-bottom: 4px; }
.petale { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.petala { position: absolute; top: -40px; width: var(--s, 14px); height: calc(var(--s, 14px) * 0.8); border-radius: 80% 0 80% 0; background: radial-gradient(circle at 30% 30%, #FFD6E6, #F59CC0); opacity: 0.75; animation: cade var(--dur, 10s) linear var(--del, 0s) infinite; }
@keyframes cade { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(calc(var(--rot, 1) * 80px), 900px, 0) rotate(calc(var(--rot, 1) * 540deg)); } }

/* Accesorii: dungi, o șapcă care se leagănă și o căciulă care plutește */
.ph-accesorii { background: repeating-linear-gradient(135deg, var(--panel) 0 26px, #ECE6DC 26px 52px); }
.acc-art { justify-self: center; display: flex; align-items: flex-end; justify-content: center; width: 100%; max-width: 560px; }
.acc-art .cap-art { flex: 0 0 60%; width: 60%; }
.acc-art .beanie-art { flex: 0 0 42%; width: 42%; height: auto; margin-left: -6%; margin-bottom: 6%; animation: plutire 6s ease-in-out infinite; }
.cap-art { width: clamp(220px, 26vw, 420px); height: auto; transform-origin: 50% 80%; animation: leagan 5s ease-in-out infinite; }
@keyframes leagan { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Toate tricourile */
.ph-all .ph-inner { padding-bottom: 8px; }

/* Colecții: bandă neagră cu „ARHIVA” conturat */
.ph-arhiva { background: var(--ink); color: var(--bone); }
.ph-arhiva .ph-lead, .ph-arhiva .eyebrow { color: var(--bone-muted); }
.ph-ghost { position: absolute; z-index: -1; right: -2%; bottom: -6%; font-family: var(--f-display); font-size: clamp(120px, 22vw, 420px); line-height: 0.8; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(237, 232, 223, 0.14); white-space: nowrap; pointer-events: none; transform: translateY(var(--py, 0px)); }

/* Bloc „În curând” pe paginile încă goale */
.soon { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: clamp(40px, 5vw, 88px) 16px; border: 2px dashed var(--line); text-align: center; }
.soon h2 { margin: 0; font-family: var(--f-display); font-size: clamp(40px, 5vw, 88px); font-weight: 400; line-height: 1; text-transform: uppercase; }
.soon > p { margin: 0; max-width: 46ch; color: var(--muted); }
.soon .form-inline { max-width: 560px; }

/* =========================================================
   Despre noi
   ========================================================= */
.story-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--bone); }
.story-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: clamp(48px, 6vw, 120px); padding-bottom: clamp(48px, 6vw, 120px); text-align: center; }
.story-logo { width: clamp(220px, 28vw, 460px); height: auto; }
.js-anim .story-logo { animation: logo-intra 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes logo-intra { from { opacity: 0; transform: scale(0.86); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.story-tag { margin: 0; font-family: var(--f-gothic); font-size: clamp(44px, 5vw, 96px); font-weight: 700; line-height: 1; color: var(--accent); }
.story-hero .ph-lead { color: var(--bone-2); text-align: center; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 80px); align-items: start; }
.story h2 { margin: 0; position: sticky; top: 110px; }
.story-blocks { display: flex; flex-direction: column; gap: 22px; }
.story-block { margin: 0; font-size: clamp(18px, 1.5vw, 28px); line-height: 1.5; }
.story-block strong { background: linear-gradient(transparent 62%, rgba(255, 92, 168, 0.45) 62%); }
.story-punch { font-family: var(--f-display); font-size: clamp(32px, 3.6vw, 64px); line-height: 1.05; text-transform: uppercase; }
@media (max-width: 860px) { .story { grid-template-columns: minmax(0, 1fr); } .story h2 { position: static; } }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.4vw, 40px); background: var(--panel); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.value:hover { transform: translateY(-6px); box-shadow: 10px 10px 0 var(--accent); }
.value-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--accent); }
.value h3 { margin: 0; font-family: var(--f-display); font-size: clamp(24px, 2vw, 36px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
.value p { margin: 0; color: var(--muted); line-height: 1.6; }
.cta-band { background: var(--accent); color: var(--ink); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: clamp(48px, 5vw, 96px); padding-bottom: clamp(48px, 5vw, 96px); text-align: center; }

/* =========================================================
   Contact
   ========================================================= */
.ph-contact { background: var(--bg); border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.info-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); background: var(--bg); transition: border-color 0.25s ease, transform 0.25s ease; }
.info-card:hover { border-color: var(--fg); transform: translateY(-3px); }
.info-card svg { color: var(--accent); }
.info-card h2 { margin: 6px 0 0; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info-card p, .info-card a { margin: 0; font-size: clamp(16px, 1.1vw, 19px); font-weight: 600; overflow-wrap: anywhere; }
.info-card .link-btn { align-self: flex-start; padding: 4px 0; font-weight: 500; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-form .field-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .contact-form .fields { grid-template-columns: minmax(0, 1fr); } }
.contact-ok { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--panel); outline: none; }
.contact-ok h2 { margin: 0; }
.contact-ok p { margin: 0; }
.faq h2 { margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: clamp(16px, 1.1vw, 19px); font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; line-height: 1; transition: transform 0.3s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 0 18px; color: var(--muted); line-height: 1.6; }
.faq-body p { margin: 0; }
.faq details[open] .faq-body { animation: deschide 0.35s ease; }
@keyframes deschide { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.firma-note { margin: 0; font-size: 14px; color: var(--muted); }

/* =========================================================
   Pagina 404
   ========================================================= */
.notfound { min-height: 64vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-top: 48px; padding-bottom: 72px; text-align: center; }
.notfound img { width: clamp(90px, 9vw, 140px); }
.glitch { position: relative; margin: 0; font-family: var(--f-display); font-size: clamp(120px, 22vw, 340px); font-weight: 400; line-height: 0.85; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--accent); transform: translate(4px, 0); clip-path: inset(0 0 55% 0); animation: glitch-a 2.6s steps(2) infinite; mix-blend-mode: multiply; }
.glitch::after { color: #00C2C7; transform: translate(-4px, 0); clip-path: inset(55% 0 0 0); animation: glitch-b 3.1s steps(2) infinite; mix-blend-mode: multiply; }
@keyframes glitch-a { 0%, 86%, 100% { transform: translate(0, 0); } 88% { transform: translate(6px, -2px); } 92% { transform: translate(-5px, 2px); } }
@keyframes glitch-b { 0%, 80%, 100% { transform: translate(0, 0); } 83% { transform: translate(-7px, 1px); } 90% { transform: translate(5px, -1px); } }
.notfound p { margin: 0; max-width: 40ch; font-size: clamp(16px, 1.2vw, 21px); color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none !important; }
  *, *::before, *::after { transition-duration: 0.01ms !important; transition-delay: 0s !important; animation-duration: 0.01ms !important; }
  .marquee-track, .ribbon-track, .float, .cap-art, .beanie-art, .rozeta-text, .gh-ghost-track { animation: none !important; }
  .petale { display: none; }
  .ph-wipe::after { clip-path: none !important; animation: none !important; }
  .glitch::before, .glitch::after { display: none; }
}

/* =========================================================
   Pagina unei colecții (galerie.html?c=...)
   ========================================================= */
.gh { padding-bottom: clamp(40px, 5vw, 100px); background: var(--ink); color: var(--bone); }
.gh .breadcrumb ol { color: var(--bone-muted); }
.gh .breadcrumb a { color: inherit; }
.gh .breadcrumb [aria-current] { color: var(--bone); }
.gh-ghost { position: absolute; z-index: -1; left: 0; right: 0; bottom: -0.04em; overflow: hidden; pointer-events: none; font-size: clamp(110px, 19vw, 340px); }
.gh-ghost-track { display: flex; width: max-content; font-family: var(--f-display); font-size: inherit; line-height: 0.82; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(237, 232, 223, 0.1); animation: banda 80s linear infinite; }
.gh-ghost-track span { padding-right: 0.22em; }
.gh-ghost-track .gh-x { -webkit-text-stroke-color: rgba(255, 92, 168, 0.35); }
.gh-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); align-items: center; gap: clamp(36px, 5vw, 110px); padding-top: clamp(16px, 2.6vw, 48px); }
.gh-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.gh .eyebrow { color: var(--accent); }
.gh-titlu { font-size: clamp(52px, 7vw, 150px); color: var(--bone); }
.gh .ph-lead { color: var(--bone-2); }
.gh-stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 56px); margin: 4px 0 0; padding: 0; list-style: none; }
.gh-stats li { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--accent); }
.gh-stats b { font-family: var(--f-display); font-size: clamp(38px, 3.4vw, 64px); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.gh-stats span { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bone-muted); }
.gh-cover { position: relative; justify-self: center; width: min(100%, 440px); margin: 6% 0 4%; }
.gh-frame { position: relative; margin: 0; transform: rotate(2.5deg); }
.gh-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translate(16px, 16px) rotate(-3.5deg); }
.gh-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: clamp(6px, 0.7vw, 12px) solid var(--bone); background: var(--bone); }
.gh-cover .rozeta { top: -12%; left: -14%; right: auto; width: clamp(104px, 9.6vw, 156px); background: var(--bone); color: var(--ink); }
.gh-cover .rozeta-mijloc { width: 42%; background: var(--accent); }
.gh-cover .rozeta-mijloc img { width: 62%; height: auto; }

.gl { padding-top: clamp(52px, 6vw, 120px); padding-bottom: clamp(40px, 5vw, 100px); }
.gl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: clamp(56px, 6vw, 120px); }
.gl-hint { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.gl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 40px); row-gap: clamp(64px, 8vw, 160px); margin: 0; padding: 0; list-style: none; }
.gl-item { position: relative; min-width: 0; }
.gl-item:nth-child(5n+1) { grid-column: 1 / span 7; }
.gl-item:nth-child(5n+2) { grid-column: 9 / span 4; align-self: end; }
.gl-item:nth-child(5n+3) { grid-column: 2 / span 4; align-self: start; }
.gl-item:nth-child(5n+4) { grid-column: 7 / span 6; margin-top: clamp(40px, 9vw, 180px); }
.gl-item:nth-child(5n) { grid-column: 3 / span 8; }
.gl-media { position: relative; transform: translateY(var(--py, 0px)); }
.gl-foto { display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.gl-foto img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(0.3) contrast(1.03); transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease; }
.gl-item:nth-child(5n) .gl-foto img { aspect-ratio: 16 / 10; object-position: 50% 32%; }
.gl-foto:hover img, .gl-foto:focus-visible img { transform: scale(1.05); filter: none; }
.gl-foto:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.gl-nr { position: absolute; z-index: 2; top: 0; left: 0; margin-top: -0.55em; margin-left: -0.12em; font-family: var(--f-display); font-size: clamp(56px, 6.4vw, 124px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--fg); pointer-events: none; transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease; }
.gl-item:nth-child(even) .gl-nr { left: auto; right: 0; margin-left: 0; margin-right: -0.12em; }
.gl-item:hover .gl-nr { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.gl-cap { display: flex; align-items: center; gap: 14px; margin: 0; padding-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.gl-cap span:first-of-type { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gl-cap::before { content: ""; flex: 0 0 32px; height: 2px; background: var(--accent); }
.gl-cap span:last-child { flex: none; margin-left: auto; font-variant-numeric: tabular-nums; }
.gl-gol { display: flex; justify-content: center; }
.gl-gol .tile-art { width: min(100%, 420px); }
.gl-lipsa { padding-top: clamp(56px, 7vw, 140px); padding-bottom: clamp(56px, 7vw, 140px); }

.gn { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 3vw, 48px); padding-bottom: clamp(56px, 6vw, 120px); }
.gn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2px; width: 100%; }
.gn-link { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; min-height: clamp(180px, 17vw, 300px); padding: clamp(20px, 2.4vw, 40px); background: #161616; color: var(--bone); text-decoration: none; }
.gn-next { align-items: flex-end; text-align: right; }
.gn-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: grayscale(1); transform: scale(1.1); transition: opacity 0.5s ease, transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.5s ease; }
.gn-link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 14, 14, 0.9), rgba(14, 14, 14, 0.15)); }
.gn-link:hover .gn-img, .gn-link:focus-visible .gn-img { opacity: 0.6; filter: none; transform: scale(1); }
.gn-dir { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.gn-dir svg { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.gn-prev:hover .gn-dir svg { transform: translateX(-6px); }
.gn-next:hover .gn-dir svg { transform: translateX(6px); }
.gn-nume { font-family: var(--f-display); font-size: clamp(34px, 4vw, 76px); line-height: 1; text-transform: uppercase; }
.gn-toate { align-self: center; }
[data-tema="inchisa"] .arh-link { border-bottom-color: var(--fg); }

/* Vizualizatorul pe tot ecranul */
body.viz-open { overflow: hidden; }
.viz { position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; background: #0A0A0A; color: var(--bone); }
.viz[hidden] { display: none; }
.viz-fundal { position: absolute; inset: -12%; z-index: 0; background-position: center; background-size: cover; filter: blur(48px) brightness(0.32) saturate(1.3); transition: background-image 0.6s ease; }
.viz > :not(.viz-fundal) { position: relative; z-index: 1; }
.viz-top { display: flex; align-items: center; gap: 16px; padding: 12px clamp(12px, 2vw, 32px); }
.viz-nume, .viz-nr { margin: 0; font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 28px); line-height: 1; text-transform: uppercase; }
.viz-nume { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viz-nr { font-variant-numeric: tabular-nums; }
.viz-nr b { display: inline-block; font-weight: 400; color: var(--accent); }
.viz-btn { display: flex; flex: none; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border: 1px solid rgba(237, 232, 223, 0.28); border-radius: 50%; background: rgba(14, 14, 14, 0.45); color: var(--bone); cursor: pointer; transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.viz-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.viz-btn:active { transform: scale(0.94); }
.viz-prev svg { transform: scaleX(-1); }
.viz-scena { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 1.4vw, 24px); min-height: 0; padding: 0 clamp(10px, 2vw, 32px); }
.viz-fig { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 0; margin: 0; }
.viz-fig img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85); cursor: e-resize; user-select: none; }
.viz-prog { height: 2px; margin: 14px clamp(12px, 2vw, 32px) 0; background: rgba(237, 232, 223, 0.15); }
.viz-prog span { display: block; width: 0; height: 100%; background: var(--accent); transition: width 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.viz-thumbs { display: flex; gap: 8px; margin: 0; padding: 12px clamp(12px, 2vw, 32px) max(16px, env(safe-area-inset-bottom)); overflow-x: auto; list-style: none; scrollbar-width: none; }
.viz-thumbs::-webkit-scrollbar { display: none; }
.viz-thumbs li { flex: none; }
.viz-thumbs button { display: block; width: 54px; height: 68px; padding: 0; border: 0; background: #1E1E1E; opacity: 0.4; cursor: pointer; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.25s ease, outline-color 0.25s ease, transform 0.25s ease; }
.viz-thumbs button:hover { opacity: 0.8; }
.viz-thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--accent); transform: translateY(-3px); }
.viz-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Cursorul „Mărește” de peste poze (doar pe calculator) */
.cursor-zoom { position: fixed; left: 0; top: 0; z-index: 80; width: 0; height: 0; pointer-events: none; }
.cursor-zoom .rozeta { top: 0; left: 0; right: auto; width: 112px; background: var(--accent); color: var(--ink); box-shadow: none; transform: translate(-50%, -50%) scale(0); transition: transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); }
.cursor-zoom.is-on .rozeta { transform: translate(-50%, -50%) scale(1); }
.cursor-zoom .rozeta-mijloc { background: var(--ink); color: var(--accent); }
.are-cursor .gl-foto { cursor: none; }

@media (max-width: 899px) {
  .gh-inner { grid-template-columns: minmax(0, 1fr); }
  .gh-cover { justify-self: start; width: min(74%, 360px); margin: 36px 0 16px 12%; }
  .gl-grid { grid-template-columns: minmax(0, 1fr); row-gap: 64px; }
  .gl-item:nth-child(n) { grid-column: 1; align-self: auto; width: 86%; margin-top: 0; }
  .gl-item:nth-child(even) { justify-self: end; }
  .gl-item:nth-child(5n) { width: 100%; }
  .viz-scena { grid-template-columns: minmax(0, 1fr); padding: 0 8px; }
  .viz-prev, .viz-next { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; transform: translateY(-50%); }
  .viz-prev { left: 10px; }
  .viz-next { right: 10px; }
  .viz-prev:active, .viz-next:active { transform: translateY(-50%) scale(0.94); }
  .viz-thumbs button { width: 44px; height: 56px; }
}
