/* =========================================================
   ZRNOV SHOP — stilovi
   Boje: tamno šumsko-zelena pozadina, bež kao glavna boja,
   zlatna samo kao mali akcenat.
   ========================================================= */
:root {
  /* Pozadina */
  --bg: #07120a;
  --bg-2: #0a180d;
  --surface: #0f1f13;
  --surface-2: #152818;
  --olive: #2f4a2b;

  /* Glavna boja — bež (bijelo-siva) */
  --sand: #d8d2c2;
  --sand-2: #ece8de;
  --sand-3: #b4ad99;
  /* Mali akcenat — zlatna */
  --gold: #c6a15b;
  --gold-2: #dcc08a;

  /* Tekst */
  --cream: #efebe2;
  --cream-2: #cdc8bb;
  --text: var(--cream);
  --text-muted: #9aa294;
  --text-on-sand: #0b150d;
  --text-on-gold: var(--text-on-sand);
  --line: rgba(216, 210, 194, .12);
  --line-strong: rgba(216, 210, 194, .26);
  --danger: #ff8f7a;

  /* Tipografija */
  --f-display: "Fira Sans Condensed", "Arial Narrow", sans-serif;
  --f-serif: "Playfair Display", Georgia, serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "Fira Sans Condensed", "Arial Narrow", sans-serif;

  /* Ritam */
  --gutter: 16px;
  --radius: 10px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --header-h: 72px;
  --strip-h: 34px;

  /* Slojevi */
  --z-header: 40;
  --z-totop: 45;
  --z-drawer: 60;
  --z-modal: 80;
  --z-toast: 90;
  --z-loader: 100;

  --camo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cpath fill='%233c4a26' d='M0 30C30 10 60 40 90 25s50 25 20 45-60 0-80 15S-10 60 0 30Z'/%3E%3Cpath fill='%234b3a26' d='M130 0c30 20 70 0 90 30s-20 50-45 35-55-25-45-65Z'/%3E%3Cpath fill='%236e6440' d='M150 100c30-15 70 10 80 40s-30 50-60 35-50-55-20-75Z'/%3E%3Cpath fill='%23161a10' d='M40 120c30-15 60 10 55 40s-40 40-60 20-20-45 5-60Z'/%3E%3Cpath fill='%233c4a26' d='M60 200c30-10 60 15 80 40H40c-5-15 0-32 20-40Z'/%3E%3Cpath fill='%23161a10' d='M100 70c20-5 40 10 35 25s-30 10-35-5Z'/%3E%3Cpath fill='%234b3a26' d='M180 200c20-10 50 0 60 15v25h-70c-5-15 0-32 10-40Z'/%3E%3Cpath fill='%236e6440' d='M0 170c10 10 20 30 10 50L0 225Z'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading, body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--f-serif); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--sand); color: var(--text-on-sand); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.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; }
.mono { font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--gold); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--sand); color: var(--text-on-sand); padding: 10px 16px; border-radius: 6px; transform: translateY(-150%); transition: transform var(--dur-fast); }
.skip-link:focus { transform: none; }
main, .footer { position: relative; z-index: 1; }

/* ---------- Dugmad ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 4px; border: 1px solid transparent;
  font-family: var(--f-display); font-size: .92rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur), border-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
/* glavno dugme — bež */
.btn--gold { background: var(--sand); color: var(--text-on-sand); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 14px 30px -18px rgba(0,0,0,.9); }
.btn--gold:hover { background: var(--sand-2); }
.btn--ghost { border-color: var(--line-strong); background: rgba(7, 18, 10, .35); color: var(--cream); }
.btn--ghost:hover { border-color: var(--sand); background: rgba(216, 210, 194, .06); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 30px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 18, 10, .45);
  transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.icon-btn:hover { border-color: var(--sand); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn, .size { position: relative; overflow: hidden; isolation: isolate; }

/* Talas pri kliku (dodaje ga js/script.js) */
.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; transform: translate(-50%, -50%) scale(0); background: currentColor; opacity: .2; animation: ripple .65s var(--ease-out) forwards; }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }

/* Klizni prekidač (pismo, filteri) */
.seg {
  --x: 0px; --w: 0px;
  position: relative; display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: rgba(7, 18, 10, .55); box-shadow: inset 0 1px 2px rgba(0,0,0,.4);
}
.seg__ind {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: var(--w); transform: translateX(var(--x));
  border-radius: 4px; background: var(--sand); box-shadow: 0 2px 8px -2px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: transform .5s cubic-bezier(.3, 1.3, .5, 1), width .5s cubic-bezier(.3, 1.3, .5, 1);
}
.seg.no-anim .seg__ind { transition: none; }
.seg button {
  position: relative; z-index: 1; isolation: isolate; overflow: hidden; border: 0; background: none;
  font-family: var(--f-display); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  min-height: 34px; min-width: 46px; padding: 0 12px; border-radius: 4px; color: var(--text-muted); transition: color .35s;
}
.seg button:hover { color: var(--cream); }
.seg button[aria-pressed="true"] { color: var(--text-on-sand); }

/* Prelaz između stranica */
.pt {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; display: grid; place-items: center;
  background: linear-gradient(170deg, #0c1d10, #050d07);
  transform: translateY(100%); transition: transform .65s var(--ease-in-out);
  border-top: 1px solid rgba(216, 210, 194, .3);
}
.pt.is-in { transform: translateY(0); pointer-events: all; }
.pt.is-cover { transform: none; transition: none; }
.pt.is-out { transform: translateY(-100%); transition-delay: .15s; }
.pt__inner { display: grid; justify-items: center; gap: 18px; opacity: 0; transform: scale(.9); transition: opacity .4s .2s, transform .6s var(--ease-out) .2s; }
.pt.is-in .pt__inner, .pt.is-cover .pt__inner { opacity: 1; transform: none; }
.pt__inner img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(216,210,194,.35), 0 20px 40px -10px rgba(0,0,0,.7); }
.pt__bar { width: 120px; height: 1px; background: rgba(216,210,194,.2); overflow: hidden; }
.pt__bar i { display: block; height: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.pt.is-in .pt__bar i { transition: transform .6s ease .1s; transform: scaleX(1); }

/* =========================================================
   POZADINA — tamno zelena sa teksturom
   ========================================================= */
.bg-deco {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, #133019 0%, transparent 60%),
    radial-gradient(70% 55% at 100% 105%, #0f2614 0%, transparent 60%),
    radial-gradient(60% 50% at -5% 60%, #0c2011 0%, transparent 60%),
    linear-gradient(180deg, #08160b, #051009 60%, #040c06);
}
/* tekstura platna (kepper) */
.bg-deco__weave {
  position: absolute; inset: 0; opacity: .9;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 5px);
}
.bg-deco__camo {
  position: absolute; inset: -10%; background-image: var(--camo); background-size: 760px; opacity: .06; mix-blend-mode: luminosity;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 85%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 85%);
}
.bg-deco__topo {
  position: absolute; inset: 0; opacity: .05; background-size: 1000px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23d8d2c2' stroke-width='1.1'%3E%3Cpath d='M300 110c95-2 178 62 182 158s-52 196-166 202-198-64-194-176 82-182 178-184Z'/%3E%3Cpath d='M300 110c95-2 178 62 182 158s-52 196-166 202-198-64-194-176 82-182 178-184Z' transform='translate(54 54) scale(.82)'/%3E%3Cpath d='M300 110c95-2 178 62 182 158s-52 196-166 202-198-64-194-176 82-182 178-184Z' transform='translate(108 108) scale(.64)'/%3E%3Cpath d='M300 110c95-2 178 62 182 158s-52 196-166 202-198-64-194-176 82-182 178-184Z' transform='translate(162 162) scale(.46)'/%3E%3Cpath d='M300 110c95-2 178 62 182 158s-52 196-166 202-198-64-194-176 82-182 178-184Z' transform='translate(216 216) scale(.28)'/%3E%3Cpath d='M-40 560c80-40 160-20 230 20s150 50 230 10 140-60 220-30'/%3E%3Cpath d='M-40 590c80-40 160-20 230 20s150 50 230 10 140-60 220-30'/%3E%3Cpath d='M-40 30c90 30 170 10 240-30M420 -10c40 40 110 60 200 40'/%3E%3C/g%3E%3C/svg%3E");
}
.bg-deco__grain {
  position: absolute; inset: -50%; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.bg-deco__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 80% at 50% 45%, transparent 55%, rgba(0, 0, 0, .55)); }
/* stari elementi sa stranice Istorija */
.blob, .bg-deco__patch { display: none; }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: var(--z-loader); display: grid; place-items: center; pointer-events: all; }
.skip-loader .loader { display: none; }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: #06100a; transition: transform 900ms var(--ease-in-out); }
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; transition: opacity 400ms, transform 600ms var(--ease-out); }
.loader__emblem { position: relative; width: min(64vw, 280px); aspect-ratio: 1; }
.loader__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; }
.ring--outer { stroke: rgba(216, 210, 194, .22); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 150px 150px; animation: spin 40s linear infinite reverse; }
.ring--draw { stroke: var(--sand); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 704; stroke-dashoffset: 704; transform: rotate(-90deg); transform-origin: 150px 150px; animation: draw 1.5s var(--ease-in-out) .15s forwards; }
.ring-text { transform-origin: 150px 150px; opacity: 0; animation: spin 18s linear infinite, fadeIn .8s ease .5s forwards; }
.ring-text text { font-family: var(--f-display); font-weight: 600; font-size: 12.5px; letter-spacing: .2em; fill: var(--gold); }
.loader__logo { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; border-radius: 50%; opacity: 0; transform: scale(.7) rotate(-12deg); filter: grayscale(1) blur(6px); animation: logoIn 1.1s var(--ease-out) .7s forwards; }
.loader__word { display: flex; gap: .06em; font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 7vw, 3rem); letter-spacing: .14em; color: var(--cream); overflow: hidden; line-height: 1.1; padding: 0 .1em; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .7s var(--ease-out) forwards; }
.loader__word .sp { width: .35em; }
.loader__word span:nth-child(1) { animation-delay: 1.10s; }
.loader__word span:nth-child(2) { animation-delay: 1.15s; }
.loader__word span:nth-child(3) { animation-delay: 1.20s; }
.loader__word span:nth-child(4) { animation-delay: 1.25s; }
.loader__word span:nth-child(5) { animation-delay: 1.30s; }
.loader__word span:nth-child(n+7) { color: var(--gold); }
.loader__word span:nth-child(7) { animation-delay: 1.40s; }
.loader__word span:nth-child(8) { animation-delay: 1.45s; }
.loader__word span:nth-child(9) { animation-delay: 1.50s; }
.loader__word span:nth-child(10) { animation-delay: 1.55s; }
.loader__meta { display: flex; justify-content: space-between; width: min(64vw, 280px); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; color: var(--text-muted); text-transform: uppercase; }
.loader__count { color: var(--sand); font-variant-numeric: tabular-nums; }
.loader__bar { width: min(64vw, 280px); height: 1px; background: var(--line); overflow: hidden; margin-top: -12px; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.loader.is-done .loader__inner { opacity: 0; transform: scale(.94); }
.loader.is-done .loader__panel--top { transform: translateY(-101%); transition-delay: 250ms; }
.loader.is-done .loader__panel--bottom { transform: translateY(101%); transition-delay: 250ms; }
.loader.is-done { pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes logoIn { 60% { filter: grayscale(.4) blur(0); } to { opacity: 1; transform: none; filter: none; box-shadow: 0 0 60px -10px rgba(216, 210, 194, .35); } }

/* =========================================================
   HEADER (traka sa informacijama + glavni red)
   ========================================================= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-header); transition: transform .5s var(--ease-out); }
.header__strip {
  height: var(--strip-h); display: grid; place-items: center; padding: 0 12px;
  background: var(--sand); color: var(--text-on-sand);
  font-family: var(--f-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.header__strip p { display: flex; gap: 14px; white-space: nowrap; overflow: hidden; }
.header__strip i { font-style: normal; opacity: .5; }
.header__bar { border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, backdrop-filter .4s; }
.header.is-scrolled .header__bar, .header.is-solid .header__bar { background: rgba(6, 15, 8, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.header.is-scrolled { transform: translateY(calc(var(--strip-h) * -1)); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.header > .header__inner { background: rgba(6, 15, 8, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); max-width: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand__name { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .24em; }
.brand__name b { color: var(--sand-3); margin-left: .35em; font-weight: 600; }
.nav { display: none; gap: 2px; }
.nav a { position: relative; font-family: var(--f-mono); font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--cream-2); padding: 12px; transition: color var(--dur-fast); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:hover, .nav a.is-active { color: var(--cream); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav--always { display: flex; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.script-switch button { min-width: 46px; }
.cart-btn { position: relative; }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sand); color: var(--text-on-sand); font-size: .7rem; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.cart-btn__count.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (min-width: 1024px) { .nav { display: flex; } .menu-btn { display: none; } }
@media (max-width: 1023px) {
  .nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6, 15, 8, .97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav.is-open a::after { display: none; }
  .header__bar .header__inner { position: relative; }
}
@media (max-width: 600px) { .hide-sm { display: none; } .header__strip { font-size: .64rem; letter-spacing: .1em; } }
@media (max-width: 420px) { .brand__name { display: none; } }

/* =========================================================
   HERO — editorijalno: veliki natpis ZRNOV i duks ispred njega
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--strip-h) + var(--header-h));
}
.hero__spot { position: absolute; left: 50%; top: 46%; width: min(120vw, 1300px); aspect-ratio: 1.6; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(216, 210, 194, .13), rgba(216, 210, 194, .04) 38%, transparent 66%); pointer-events: none; z-index: -1; }
.hero__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.hero__word {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  display: flex; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .8; letter-spacing: -.01em;
  font-size: min(33vw, 60vh); white-space: nowrap; user-select: none; pointer-events: none;
}
.hero__word span {
  display: inline-block; padding: 0 .005em;
  background: linear-gradient(180deg, rgba(236, 232, 222, .95) 0%, rgba(216, 210, 194, .55) 45%, rgba(216, 210, 194, .06) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(18%); filter: blur(8px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
}
.is-ready .hero__word span { opacity: 1; transform: none; filter: none; }
.is-ready .hero__word span:nth-child(2) { transition-delay: .07s; }
.is-ready .hero__word span:nth-child(3) { transition-delay: .14s; }
.is-ready .hero__word span:nth-child(4) { transition-delay: .21s; }
.is-ready .hero__word span:nth-child(5) { transition-delay: .28s; }
.hero__word-inner { will-change: transform; }

.hero__product {
  position: relative; z-index: 2; border: 0; padding: 0; background: none; cursor: pointer;
  height: min(70svh, 700px); aspect-ratio: 760 / 950; margin-top: 4vh;
  opacity: 0; transform: translateY(60px) scale(.94);
  transition: opacity 1.2s var(--ease-out) .35s, transform 1.4s var(--ease-out) .35s;
}
.is-ready .hero__product { opacity: 1; transform: none; }
.hero__product:focus-visible { outline-offset: -20px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s ease, transform .8s var(--ease-out); filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .55)); }
.hero__img.is-on { opacity: 1; }
.hero__product:hover .hero__img.is-on { transform: scale(1.02); }
.hero__floor { position: absolute; left: 14%; right: 14%; bottom: 1%; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .75); filter: blur(18px); z-index: -1; }

.hero__side {
  position: absolute; top: 50%; z-index: 1; writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--text-muted);
  opacity: 0; transition: opacity 1.2s ease .8s;
}
.is-ready .hero__side { opacity: 1; }
.hero__side--l { left: calc(var(--gutter) + 4px); transform: translateY(-50%) rotate(180deg); }
.hero__side--r { right: calc(var(--gutter) + 4px); transform: translateY(-50%); }

.hero__bar { position: relative; z-index: 3; display: grid; gap: 22px; align-items: end; padding-bottom: 36px; }
@media (min-width: 900px) { .hero__bar { grid-template-columns: 1fr auto 1fr; } }
.hero__name { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); display: flex; align-items: baseline; gap: 14px; }
.hero__price { font-size: 1.1rem; color: var(--sand-3); letter-spacing: .04em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__colors { display: flex; align-items: center; gap: 10px; justify-self: end; }
.hero__colors .mono { margin-right: 4px; }
.hero__swatch { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(7, 18, 10, .5); font-family: var(--f-display); font-weight: 600; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); transition: border-color .3s, color .3s; }
.hero__swatch i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.hero__swatch:hover { border-color: var(--line-strong); color: var(--cream); }
.hero__swatch[aria-pressed="true"] { border-color: var(--sand); color: var(--cream); }
.hero-in { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(.6s + var(--d, 0) * .1s); }
.is-ready .hero-in { opacity: 1; transform: none; }

.hero__scroll { position: absolute; left: 50%; bottom: 0; z-index: 3; width: 44px; height: 28px; transform: translateX(-50%); display: grid; place-items: center; }
.hero__scroll span { width: 1px; height: 26px; background: linear-gradient(var(--sand), transparent); animation: scrollLine 2.2s var(--ease-in-out) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 899px) {
  .hero { min-height: auto; }
  .hero__stage { min-height: 62svh; }
  .hero__word { top: 38%; font-size: 34vw; }
  .hero__product { height: min(54svh, 480px); margin-top: 6vh; }
  .hero__side { display: none; }
  .hero__bar { justify-items: center; text-align: center; padding-bottom: 48px; }
  .hero__info { display: grid; justify-items: center; }
  .hero__name { justify-content: center; }
  .hero__colors { justify-self: center; }
  .hero__cta { width: 100%; max-width: 420px; flex-wrap: nowrap; }
  .hero__cta .btn { flex: 1 1 0; padding: 0 14px; letter-spacing: .12em; white-space: nowrap; }
}
@media (max-width: 480px) {
  .hero__word { font-size: 27vw; top: 27%; }
  .hero__cta .btn svg { display: none; }
  .hero__name { font-size: 1.35rem; }
}

/* =========================================================
   POJAVLJIVANJE PRI SKROLU (data-reveal)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* =========================================================
   KOLEKCIJA
   ========================================================= */
.collection { padding-block: 120px 72px; }
.section-head { display: flex; flex-wrap: wrap; gap: 18px 40px; margin-bottom: 44px; align-items: flex-end; }
.section-head .section-title { flex: 1 1 auto; }
.section-head .eyebrow { flex-basis: 100%; }
.section-title { font-size: clamp(2.4rem, 5.6vw, 4.2rem); color: var(--cream); }
.section-title em { font-style: italic; color: var(--sand-3); }

.seg--filters { padding: 4px; }
.seg--filters .seg__ind { top: 4px; bottom: 4px; }
.seg--filters button { min-height: 42px; padding: 0 18px; gap: 8px; display: inline-flex; align-items: center; font-size: .82rem; }
.seg--filters small { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 3px; font-size: .68rem; letter-spacing: 0; background: rgba(239, 230, 210, .08); color: inherit; }
.seg--filters button[aria-pressed="true"] small { background: rgba(11, 21, 13, .12); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
.section-meta { color: var(--text-muted); max-width: 40ch; line-height: 1.6; }
@media (min-width: 900px) { .grid.grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1040px; margin-inline: auto; } }
.card__color { margin-right: auto; margin-left: 14px; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.ig--logo { background: radial-gradient(ellipse at 50% 40%, #16301b, #07120a 85%); display: grid; place-items: center; }
.ig--logo img { inset: 16%; width: 68%; height: 68%; border-radius: 50%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.6)); }
.grid.is-leaving .card { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .18s ease, transform .18s ease; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.card.in { opacity: 1; transform: none; }
.card__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; isolation: isolate; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 35%, #f0ede4, #d4cebe 90%);
  box-shadow: 0 30px 50px -34px rgba(0,0,0,.95);
}
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%); transform: translateX(-120%); transition: transform 1s var(--ease-out); pointer-events: none; }
.card:hover .card__media::after { transform: translateX(120%); }
.card__media svg, .card__media img { position: relative; width: 86%; height: 86%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(30, 28, 15, .28)); transition: transform .8s var(--ease-out); }
.card:hover .card__media svg, .card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--f-display); font-weight: 600; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); background: rgba(7, 18, 10, .9); padding: 5px 9px; border-radius: 3px; }
.card__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 7px; vertical-align: 1px; }
.card__foot { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.card__price { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; letter-spacing: .03em; color: var(--cream); font-variant-numeric: tabular-nums; }
.card__go { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: background-color .35s, border-color .35s; }
.card__go svg { width: 16px; height: 16px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s, transform .35s var(--ease-out); }
.card:hover .card__go { background: var(--sand); border-color: var(--sand); }
.card:hover .card__go svg { stroke: var(--text-on-sand); transform: translateX(2px); }
.card__link { position: absolute; inset: 0; z-index: 2; border: 0; background: none; padding: 0; border-radius: 8px; }
.card__link:focus-visible { outline-offset: 4px; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--text-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* =========================================================
   POGODNOSTI
   ========================================================= */
.perks { display: grid; gap: 1px; margin-bottom: 120px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--line); }
@media (min-width: 768px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { display: flex; gap: 18px; align-items: center; padding: 26px 24px; background: rgba(8, 20, 11, .92); transition: background-color .4s; }
.perk:hover { background: rgba(14, 30, 18, .95); }
.perk__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: border-color .4s, transform .6s var(--ease-out); }
.perk:hover .perk__icon { border-color: var(--sand); transform: rotate(-8deg) scale(1.05); }
.perk svg { width: 24px; height: 24px; fill: none; stroke: var(--sand); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.perk strong { display: block; font-family: var(--f-display); text-transform: uppercase; font-weight: 600; letter-spacing: .08em; font-size: 1rem; }
.perk span { color: var(--text-muted); font-size: .92rem; }
.perk b { color: var(--sand); font-weight: 600; }

/* =========================================================
   O NAMA — sertifikat bez rama
   ========================================================= */
.about { position: relative; padding-block: 110px; overflow: hidden; }
.about::before { content: ""; position: absolute; left: 50%; top: 0; width: min(90vw, 1100px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.about__inner { position: relative; display: grid; gap: 64px; align-items: center; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about__text { display: grid; gap: 22px; }
.lead { font-size: 1.08rem; color: var(--cream-2); max-width: 54ch; line-height: 1.75; }
.values { list-style: none; margin: 10px 0 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 48px 150px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.values .mono { color: var(--gold); }
.values strong { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .08em; text-transform: uppercase; }
.values p { color: var(--cream-2); }
@media (max-width: 600px) { .values li { grid-template-columns: 40px 1fr; } .values p { grid-column: 2; } }

.cert { position: relative; margin: 0 auto; width: min(100%, 460px); perspective: 1400px; }
.cert__tilt { transform-style: preserve-3d; transition: transform .6s var(--ease-out); will-change: transform; }
.cert__stage {
  position: relative; aspect-ratio: 440 / 560;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%); mask-image: linear-gradient(180deg, transparent 0, #000 9%);
  opacity: 0; transform: rotateX(28deg) translateY(50px) scale(.94); transform-origin: 50% 100%;
}
.cert.is-playing .cert__stage { animation: certIn 1.1s var(--ease-out) forwards, certFloat 7s ease-in-out 5.6s infinite; }
@keyframes certIn { to { opacity: 1; transform: none; } }
@keyframes certFloat { 0%, 100% { transform: none; } 50% { transform: translateY(-8px); } }
.cert__svg { position: relative; width: 100%; height: 100%; overflow: hidden; }
.cert__caption { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 0 6%; }
.cert__progress { flex: 1; height: 1px; background: var(--line); overflow: hidden; }
.cert__progress i { display: block; height: 100%; background: var(--sand); transform: scaleX(0); transform-origin: left; }
.cert.is-playing .cert__progress i { animation: certProg 5.4s linear forwards; }
@keyframes certProg { to { transform: scaleX(1); } }
.cert__replay { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 0; background: none; color: var(--text-muted); font-family: var(--f-display); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; transition: color .3s; }
.cert__replay:hover { color: var(--cream); }
.cert__replay svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease-out); }
.cert__replay:hover svg { transform: rotate(-180deg); }

.cert__line { opacity: 0; transform: translateY(6px); }
.cert__sig { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cert__stamp { transform: translateY(-620px); }
.cert__sshadow, .cert__imprint, .cert__splash, .cert__seal { transform-box: fill-box; transform-origin: center; opacity: 0; }
.cert__sheen { transform: translateX(-120px); }
.cert__sealshine { transform: translateX(-30px); }

.cert.is-playing .cert__line    { animation: cLine .7s var(--ease-out) forwards; animation-delay: calc(var(--d) * 1ms + 400ms); }
.cert.is-playing .cert__sig     { animation: cDraw 1.1s cubic-bezier(.45,.05,.55,.95) 1.7s forwards; }
.cert.is-playing .cert__stamp   { animation: cStamp 5.4s linear forwards; }
.cert.is-playing .cert__sshadow { animation: cShadowA 5.4s linear forwards; }
.cert.is-playing .cert__imprint { animation: cImprint 5.4s linear forwards; }
.cert.is-playing .cert__splash  { animation: cSplash 5.4s linear forwards; }
.cert.is-playing .cert__guide   { animation: cGuide 5.4s linear forwards; }
.cert.is-playing .cert__seal    { animation: cSeal 5.4s linear forwards; }
.cert.is-playing .cert__sealshine { animation: cSealShine 5.4s linear forwards; }
.cert.is-playing .cert__sheen   { animation: cSheen 5.4s linear forwards; }
@keyframes cLine { to { opacity: 1; transform: none; } }
@keyframes cDraw { to { stroke-dashoffset: 0; } }
@keyframes cStamp {
  0%, 44% { transform: translateY(-620px); animation-timing-function: cubic-bezier(.55, 0, .85, .4); }
  57% { transform: translateY(0); animation-timing-function: ease-out; }
  59% { transform: translateY(-5px); animation-timing-function: ease-in; }
  61% { transform: translateY(0); }
  67% { transform: translateY(0); animation-timing-function: cubic-bezier(.5, 0, .2, 1); }
  82%, 100% { transform: translateY(-620px); }
}
@keyframes cShadowA { 0%, 44% { opacity: 0; transform: scale(.3); } 57%, 67% { opacity: .4; transform: scale(1); } 76%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes cImprint { 0%, 66% { opacity: 0; transform: scale(1.08); } 68% { opacity: .96; transform: scale(1.02); } 76%, 100% { opacity: .9; transform: scale(1); } }
@keyframes cSplash { 0%, 57% { opacity: 0; transform: scale(.9); } 58% { opacity: .5; } 72%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes cGuide { 0%, 57% { opacity: .6; } 63%, 100% { opacity: 0; } }
@keyframes cSeal { 0%, 76% { opacity: 0; transform: scale(0) rotate(-90deg); } 84% { opacity: 1; transform: scale(1.12) rotate(8deg); } 90%, 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes cSealShine { 0%, 88% { transform: translateX(-30px); } 100% { transform: translateX(90px); } }
@keyframes cSheen { 0%, 84% { transform: translateX(-120px); } 100% { transform: translateX(620px); } }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { position: relative; padding-block: 110px 120px; }
.contact::before { content: ""; position: absolute; left: 50%; top: 0; width: min(90vw, 1100px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.contact__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .contact__inner { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.contact__text { display: grid; gap: 22px; justify-items: start; }
.contact__lead { color: var(--cream-2); max-width: 44ch; line-height: 1.75; }
.contact__handle {
  display: flex; align-items: center; gap: 16px; width: min(100%, 420px); padding: 16px 18px; margin-top: 6px;
  border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; background: rgba(8, 20, 11, .6);
  transition: border-color .4s, background-color .4s, transform .5s var(--ease-out);
}
.contact__handle:hover { border-color: var(--sand); background: rgba(216, 210, 194, .06); transform: translateY(-2px); }
.contact__ig { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--text-on-sand); flex: none; }
.contact__ig svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.contact__handle small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.contact__handle b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.contact__arrow { margin-left: auto; width: 22px; height: 22px; fill: none; stroke: var(--sand); stroke-width: 1.6; transition: transform .4s var(--ease-out); }
.contact__handle:hover .contact__arrow { transform: translate(3px, -3px); }
.contact__list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; color: var(--cream-2); font-size: .95rem; }
.contact__list li { display: flex; align-items: center; gap: 12px; }
.contact__list svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ig { position: relative; display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #efebe1, #cfc8b6 90%); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.ig.in { opacity: 1; transform: none; }
.ig:nth-child(3n+2) { margin-top: 28px; }
.ig svg, .ig img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 12px 12px rgba(30, 28, 15, .25)); transition: transform .8s var(--ease-out); }
.ig::after { content: ""; position: absolute; inset: 0; background: rgba(6, 15, 8, .7); opacity: 0; transition: opacity .4s; }
.ig__icon { position: absolute; left: 50%; top: 50%; z-index: 1; width: 40px; height: 40px; transform: translate(-50%, -40%); opacity: 0; transition: opacity .4s, transform .5s var(--ease-out); fill: none; stroke: var(--cream); stroke-width: 1.6; }
.ig:hover::after { opacity: 1; }
.ig:hover .ig__icon { opacity: 1; transform: translate(-50%, -50%); }
.ig:hover svg:not(.ig__icon), .ig:hover img { transform: scale(1.07); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); background: rgba(4, 11, 6, .7); padding-top: 64px; }
.footer__top { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand p { color: var(--text-muted); font-family: var(--f-serif); font-style: italic; font-size: 1.05rem; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col .mono { margin-bottom: 6px; color: var(--gold); }
.footer__col a, .footer__col span { color: var(--cream-2); text-decoration: none; font-size: .95rem; width: fit-content; }
.footer__col a { background: linear-gradient(var(--sand), var(--sand)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease-out), color .3s; }
.footer__col a:hover { color: var(--cream); background-size: 100% 1px; }
.footer__col b { color: var(--sand); font-weight: 600; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--text-muted); font-size: .85rem; }
.footer__up { display: inline-flex; align-items: center; gap: 8px; color: var(--cream-2); text-decoration: none; font-family: var(--f-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.footer__up svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease-out); }
.footer__up:hover svg { transform: translateY(-3px); }
.footer > .container.footer__inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-bottom: 36px; }

/* Na vrh */
.totop { position: fixed; right: 18px; bottom: 18px; z-index: var(--z-totop); width: 50px; height: 50px; border-radius: 50%; background: rgba(8, 20, 11, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 100%; height: 100%; fill: none; }
.totop__track { stroke: var(--line-strong); stroke-width: 1.5; }
.totop__ring { stroke: var(--sand); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.totop__arrow { stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.totop:hover .totop__arrow { transform: translateY(-2px); }

/* =========================================================
   PROZORI (modal, korpa, narudžba)
   ========================================================= */
.overlay { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 16px; }
.overlay__backdrop { position: absolute; inset: 0; background: rgba(2, 6, 3, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: fadeIn2 .3s ease both; }
@keyframes fadeIn2 { from { opacity: 0; } }
.overlay.is-closing .overlay__backdrop { animation: fadeOut .22s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.overlay--full { padding: 22px; }
.pm__close { position: absolute; top: 16px; right: 16px; z-index: 5; background: rgba(7, 18, 10, .7); }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }
@keyframes popOut { to { opacity: 0; transform: translateY(16px) scale(.985); } }
.overlay.is-closing .pm, .overlay.is-closing .co { animation: popOut .22s ease forwards; }

/* Proizvod — skoro preko cijelog ekrana */
.pm {
  position: relative; width: 100%; height: 100%; max-width: 1400px; max-height: 900px;
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr);
  border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.9);
  animation: popIn .5s var(--ease-out) both;
}
.pm__stage {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, #f2efe6, #d6d0c0 75%, #c3bca8);
}
.pm__stage::before { content: ""; position: absolute; inset: 0; background-image: var(--camo); background-size: 260px; opacity: .035; }
.pm__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 7%; height: 30px; border-radius: 50%; background: rgba(40, 36, 22, .35); filter: blur(18px); }
.pm__img { position: relative; z-index: 1; width: 86%; height: 88%; animation: pmImg .7s var(--ease-out) both; }
.pm__img.swap { animation: pmSwap .5s var(--ease-out) both; }
@keyframes pmImg { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes pmSwap { from { opacity: 0; transform: scale(.97); } }
.pm__img svg, .pm__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(30, 28, 15, .3)); }
.pm__panel { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 64px 44px 36px; overflow-y: auto; }
.pm__head { display: grid; gap: 6px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pm__name { font-family: var(--f-display); font-weight: 600; font-size: 1.8rem; letter-spacing: .1em; text-transform: uppercase; }
.pm__price { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; color: var(--sand-3); font-variant-numeric: tabular-nums; }
.pm__field { display: grid; gap: 14px; }
.pm__legend { display: flex; gap: 10px; align-items: baseline; padding: 0; font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.pm__legend b { color: var(--cream); font-weight: 600; }
.pm__colors { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px 0 8px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--cream-2);
  font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  transition: border-color .3s, color .3s, background-color .3s;
}
.swatch i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); transition: transform .4s var(--ease-out); }
.swatch:hover { border-color: var(--line-strong); color: var(--cream); }
.swatch[aria-checked="true"] { border-color: var(--sand); color: var(--cream); background: rgba(216, 210, 194, .06); }
.swatch[aria-checked="true"] i { transform: scale(1.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 0 0 3px var(--bg-2), 0 0 0 4px var(--sand); }
.pm__sizes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.size {
  min-height: 52px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: .06em; color: var(--cream-2);
  transition: border-color .3s, background-color .3s, color .3s, transform .2s;
}
.size:hover { border-color: var(--line-strong); color: var(--cream); }
.size[aria-checked="true"] { background: var(--sand); border-color: var(--sand); color: var(--text-on-sand); }
.size:active { transform: scale(.95); }
.pm__field.has-error .size { border-color: rgba(255, 143, 122, .5); animation: shake .4s ease; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.pm__qty { display: flex; align-items: center; justify-content: space-between; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; border-radius: 50%; }
.qty button:hover { color: var(--sand); }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.qty--sm button { width: 36px; height: 36px; }
.pm__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pm__trust { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--text-muted); font-size: .88rem; }
.pm__trust li { display: flex; align-items: center; gap: 12px; }
.pm__trust svg { width: 20px; height: 20px; fill: none; stroke: var(--sand-3); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.pm__trust b { color: var(--cream-2); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field-help { color: var(--text-muted); font-size: .8rem; margin-top: 6px; }

@media (max-width: 899px) {
  .overlay--full { padding: 0; }
  .pm { max-width: none; max-height: none; border-radius: 0; border: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .pm__stage { height: 56svh; min-height: 340px; }
  .pm__panel { overflow: visible; padding: 26px 18px 0; gap: 24px; }
  .pm__name { font-size: 1.4rem; }
  .pm__actions { position: sticky; bottom: 0; z-index: 2; margin: 0 -18px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: rgba(10, 24, 13, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); order: 10; }
  .pm__close { position: fixed; top: 14px; right: 14px; }
  .pm__actions .btn { padding: 0 10px; letter-spacing: .1em; white-space: nowrap; font-size: .84rem; }
  .pm__trust { padding-bottom: 8px; }
  .pm__sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Korpa */
.overlay--drawer { place-items: stretch end; padding: 0; z-index: var(--z-drawer); }
.drawer { position: relative; width: min(100vw, 440px); height: 100dvh; background: var(--bg-2); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; animation: slideIn .45s var(--ease-out) both; }
.overlay.is-closing .drawer { animation: slideOut .25s ease forwards; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.8rem; }
.drawer__body { overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__note { text-align: center; color: var(--text-muted); font-size: .82rem; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; animation: lineIn .5s var(--ease-out) both; }
@keyframes lineIn { from { opacity: 0; transform: translateX(16px); } }
.line__img { width: 76px; aspect-ratio: 4/5; border-radius: 6px; background: radial-gradient(ellipse at 50% 35%, #efebe1, #cfc8b6 90%); display: grid; place-items: center; overflow: hidden; }
.line__img svg, .line__img img { width: 90%; height: 90%; object-fit: contain; }
.line__name { font-family: var(--f-display); text-transform: uppercase; font-weight: 600; letter-spacing: .06em; line-height: 1.2; }
.line__meta { font-family: var(--f-mono); font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin: 4px 0 8px; }
.line__right { display: grid; justify-items: end; gap: 8px; }
.line__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.line__remove { background: none; border: 0; color: var(--text-muted); font-size: .8rem; text-decoration: underline; min-height: 32px; padding: 0 2px; }
.line__remove:hover { color: var(--danger); }
.cart-empty { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 60px 10px; color: var(--text-muted); }
.cart-empty svg { width: 54px; height: 54px; fill: none; stroke: var(--sand-3); stroke-width: 1.2; }
.totals { margin: 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; color: var(--cream-2); }
.totals dt, .totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals__sum { padding-top: 10px; border-top: 1px solid var(--line-strong); color: var(--cream) !important; font-family: var(--f-display); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

/* Narudžba — skoro preko cijelog ekrana */
.co {
  position: relative; width: 100%; height: 100%; max-width: 1200px; max-height: 900px; overflow-y: auto;
  border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 60px 120px -30px rgba(0,0,0,.9);
  animation: popIn .5s var(--ease-out) both;
}
.co__grid { display: grid; min-height: 100%; }
@media (min-width: 960px) { .co__grid { grid-template-columns: minmax(0, 1.4fr) minmax(340px, 1fr); } }
.co__main { padding: 56px clamp(18px, 4vw, 56px) 40px; display: grid; gap: 30px; align-content: start; }
.co__title { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: -12px; }
.co__step { display: grid; gap: 14px; }
.co__steph { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.co__steph span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--sand); color: var(--sand); font-size: .78rem; letter-spacing: 0; }
.co__row { display: grid; gap: 14px; }
@media (min-width: 640px) { .co__row { grid-template-columns: 1fr 1fr; } }

/* Polja sa plutajućim natpisom */
.fl { position: relative; }
.fl input, .fl textarea {
  width: 100%; min-height: 58px; padding: 24px 16px 8px; font: inherit; font-size: 16px; color: var(--cream);
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-strong); border-radius: 8px; resize: vertical;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.fl textarea { min-height: 84px; }
.fl label { position: absolute; left: 17px; top: 18px; color: var(--text-muted); font-size: .98rem; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease-out), color .3s; }
.fl input:focus, .fl textarea:focus { outline: none; border-color: var(--sand); background: rgba(216, 210, 194, .05); box-shadow: 0 0 0 4px rgba(216, 210, 194, .08); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label,
.fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--sand-3); }
.fl input[aria-invalid="true"] { border-color: var(--danger); }
.co__pay { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--sand); border-radius: 10px; background: rgba(216, 210, 194, .05); }
.co__radio { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--sand); display: grid; place-items: center; }
.co__radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sand); }
.co__pay strong { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.co__pay span { color: var(--text-muted); font-size: .88rem; }
.co__pay svg { width: 28px; height: 28px; fill: none; stroke: var(--sand-3); stroke-width: 1.4; }
.co__side { display: grid; gap: 18px; align-content: start; padding: 56px clamp(18px, 3vw, 40px) 40px; background: rgba(4, 11, 6, .55); border-left: 1px solid var(--line); }
.co__side > .mono { color: var(--gold); }
.co__items { display: grid; gap: 14px; }
.co__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.co__thumb { position: relative; width: 64px; aspect-ratio: 4/5; border-radius: 6px; background: radial-gradient(ellipse at 50% 35%, #efebe1, #cfc8b6 90%); display: grid; place-items: center; }
.co__thumb svg, .co__thumb img { width: 88%; height: 88%; object-fit: contain; }
.co__thumb em { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--sand); color: var(--text-on-sand); font-style: normal; font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.co__item b { display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .92rem; }
.co__item small { color: var(--text-muted); font-size: .8rem; }
.co__item > span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.co__secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-muted); font-size: .8rem; }
.co__secure svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.co__errors { border: 1px solid var(--danger); color: var(--danger); padding: 12px 16px; font-size: .9rem; border-radius: 8px; }
.co__errors ul { margin: 6px 0 0; padding-left: 18px; }
.co__errors a { color: var(--danger); }
.hp { position: absolute; left: -9999px; }
.form-status { color: var(--danger); font-size: .9rem; }
.spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(11, 21, 13, .3); border-top-color: var(--text-on-sand); border-radius: 50%; animation: spin .7s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending .btn__label { opacity: .6; }
.co__done { display: grid; gap: 16px; justify-items: center; align-content: center; text-align: center; min-height: 100%; padding: 60px 20px; }
.co__done h2 { font-size: 2.4rem; }
.co__done p { color: var(--cream-2); }
.co__check svg { width: 96px; height: 96px; fill: none; stroke: var(--sand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.co__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .6s var(--ease-out) forwards; }
.co__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .4s var(--ease-out) .45s forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
@media (max-width: 959px) {
  .co { max-width: none; max-height: none; border-radius: 0; border: 0; }
  .co__side { border-left: 0; border-top: 1px solid var(--line); }
  .co__main { padding-top: 64px; }
}

/* Obavještenje */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: var(--z-toast);
  display: flex; align-items: center; gap: 12px;
  transform: translate(-50%, 140%); opacity: 0;
  background: var(--sand); color: var(--text-on-sand); padding: 12px 20px 12px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.7); transition: transform .45s var(--ease-out), opacity .3s;
  max-width: calc(100vw - 32px);
}
.toast::before { content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--text-on-sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d8d2c2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   Smanjeno kretanje
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ring--draw { stroke-dashoffset: 0; }
  .loader__logo { opacity: 1; transform: none; filter: none; }
  .loader__word span { transform: none; }
  .ring-text { opacity: 1; }
  [data-reveal], .card, .ig { opacity: 1 !important; transform: none !important; }
  .cert__stage { opacity: 1 !important; transform: none !important; }
  .cert__stamp { transform: translateY(-620px) !important; }
  .cert__line, .cert__imprint, .cert__seal { opacity: 1 !important; transform: none !important; }
  .cert__sig { stroke-dashoffset: 0 !important; }
}
