/* ===============================================================
   Tvoj Dušek — stil sajta
   Pisano ručno, bez alata za kompajliranje: fajl se prosto prebaci
   na hosting i radi.

   Svet: CENOVNIK — emajlirana radnjska tabla i štampana cenovna
   kartica. Kategorija prodaje popust; ovaj sajt prodaje objavljenu
   cenu. Zato: pravi uglovi umesto pilula, tanke otisnute linije
   umesto senki, kobalt koji drži cela polja umesto sitnog akcenta,
   i cena kao najkrupnija stvar na ekranu.
   =============================================================== */

/* Archivo se od 21.09.2026. služi sa našeg servera (assets/fonts/), ne sa
   Google Fonts-a. Razlog: dve dodatne konekcije (fonts.googleapis.com i
   fonts.gstatic.com) i CSS koji blokira crtanje stranice na mobilnoj mreži.
   Ime porodice je isto, pa ostatak fajla ne zna za razliku.
   Latin pokriva osnovna slova, latin-ext naša slova (č ć š ž đ). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations"),
       url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations"),
       url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  /* --- površine --- */
  --paper: #FBFBF9;        /* emajl belo, osnovna pozadina */
  --paper-2: #F1F0EB;      /* naizmenična traka, topliji ton */
  --card: #FFFFFF;

  /* --- mastilo --- */
  --ink: #14161A;
  --ink-2: #4B5058;        /* sporedni tekst, 7.5:1 na papiru */
  --ink-3: #676D77;        /* sitne oznake, 5.1:1 na papiru */

  /* --- emajl boje --- */
  --cobalt: #123C8C;
  --cobalt-deep: #0C2A63;
  --cobalt-tint: #E9EDF7;
  --oxblood: #A8271F;      /* samo cene i upozorenja */
  --chrome: #F0B429;       /* štedljivo, za isticanje */

  /* --- linije --- */
  --rule: rgba(20, 22, 26, 0.14);
  --rule-strong: rgba(20, 22, 26, 0.34);
  --rule-ink: var(--ink);

  --danger: #A8271F;
  --success: #1F6B45;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1400px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 2px;           /* cenovnik je pravougaon */

  --ease: cubic-bezier(.2, .7, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Stara imena iz tamne teme — neki šabloni ih još koriste u style="".
     Preslikana su na nove vrednosti da ništa ne ostane neobojeno.
     Brišu se kad se šabloni očiste. */
  --bg: var(--paper);
  --bg-elevated: var(--paper-2);
  --surface: var(--card);
  --surface-2: var(--paper-2);
  --border: var(--rule);
  --border-strong: var(--rule-strong);
  --text: var(--ink);
  --text-muted: var(--ink-2);
  --text-faint: var(--ink-3);
  --accent: var(--cobalt);
  --accent-strong: var(--cobalt-deep);
  --accent-soft: var(--cobalt-tint);
  --navy: var(--cobalt-deep);
  --font-heading: var(--font);
  --font-body: var(--font);
  --radius-lg: var(--radius);
}

/* --- osnovno --- */
* { box-sizing: border-box; }

html { height: 100%; -webkit-text-size-adjust: 100%; }

/* min-height, NE height: sa fiksnom visinom telo stranice ostaje veliko
   kao jedan ekran, pa lepljivo zaglavlje nema gde da se drži i nestane
   čim se skroluje niže. Sa min-height telo raste sa sadržajem. */
body {
  min-height: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-stretch: 92%;
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; display: block; }

/* Atribut hidden mora uvek da sakrije element. Bez ovoga ga pobedi svako pravilo
   koje postavlja display — tako je filter u katalogu sakrivao kartice samo
   „na papiru": pisalo je „Prikazano 5 modela", a videlo se svih 9, jer je
   .grid > [data-model] postavljao display:flex. */
[hidden] { display: none !important; }

/* Tekst za čitače ekrana — ne vidi se, ali se izgovara. */
.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;
}

a { color: var(--cobalt); text-decoration: none; transition: color .14s ease; }
a:hover { color: var(--oxblood); }

main { flex: 1; }

/* Površine koje pregledač crta, a nisu deo markupa. */
::selection { background: var(--chrome); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
html { scrollbar-color: var(--rule-strong) var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap-narrow { max-width: 780px; }
.wrap-quiz { max-width: 640px; }
.full-bleed { width: 100%; }

/* Samo gornji i donji razmak. Skraćeni `padding` bi obrisao bočni razmak
   iz .wrap kad su obe klase na istom elementu, pa bi sadržaj na telefonu
   dodirivao ivice ekrana. */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-sm { padding-block: clamp(28px, 4vw, 44px); }

/* --- pomoćne klase --- */
/* Nadnaslovi su uklonjeni iz dizajna: naslov nosi svoju težinu sam.
   Klasa ostaje da stari markup ne pukne dok se ne očisti. */
.eyebrow { display: none; }

.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 14px; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 44px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.row-baseline { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }

.grid { display: grid; gap: 1px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Katalog svaku karticu umotava u <div data-model> zbog filtriranja. Taj omotač
   je blok element, pa se rasteže on, a kartica unutra ostaje niža — zbog toga
   cene u redu nisu bile u ravni. Omotač postaje flex i prosleđuje visinu dalje. */
.grid > [data-model] { display: flex; }
.grid > [data-model] > .product-card { flex: 1 1 auto; }
@media (min-width: 1500px) { .grid-3 { grid-template-columns: repeat(4, 1fr); } }

/* --- pojavljivanje pri skrolovanju --- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .reveal.shown { opacity: 1; transform: none; }
.js .reveal-group > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.js .reveal-group.shown > * { opacity: 1; transform: none; }
.js .reveal-group.shown > *:nth-child(1) { transition-delay: 0s; }
.js .reveal-group.shown > *:nth-child(2) { transition-delay: .05s; }
.js .reveal-group.shown > *:nth-child(3) { transition-delay: .10s; }
.js .reveal-group.shown > *:nth-child(4) { transition-delay: .15s; }
.js .reveal-group.shown > *:nth-child(5) { transition-delay: .20s; }
.js .reveal-group.shown > *:nth-child(6) { transition-delay: .25s; }

/* --- dugmad: pravougaona, kao pečat na kartici --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  font-stretch: 96%;
  letter-spacing: .02em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 15px 26px;
  min-height: 48px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .08s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(20,22,26,.04); }
.btn-white { background: #fff; color: var(--cobalt); }
.btn-white:hover { background: var(--chrome); color: var(--ink); }
.btn-sm { font-size: 12px; padding: 10px 16px; min-height: 40px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* --- kartice: bela polja odvojena linijom, bez senke --- */
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-pad { padding: clamp(20px, 3vw, 30px); }

/* --- zaglavlje: emajl tabla --- */
.site-header {
  background: var(--cobalt);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 3px solid var(--cobalt-deep);
}
.site-header.scrolled { box-shadow: 0 6px 18px rgba(12, 42, 99, .22); }
.header-inner { display: flex; align-items: center; gap: 26px; padding-top: 14px; padding-bottom: 14px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: #fff; }
.brand:hover { color: #fff; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 800; font-size: 19px; font-stretch: 88%; letter-spacing: -.01em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav > a, .nav-trigger {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.nav > a:hover, .nav-trigger:hover { color: #fff; }
.nav > a.active, .nav-trigger.active { color: #fff; box-shadow: inset 0 -2px 0 var(--chrome); }

.has-drop { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; font-family: var(--font);
  cursor: pointer; padding: 0; transition: color .14s ease;
}
.nav-trigger svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.has-drop.open .nav-trigger svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, 6px);
  width: min(740px, calc(100vw - 40px));
  background: var(--card);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20, 22, 26, .16);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
  z-index: 70;
}
.has-drop.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear 0s;
}
.has-drop.open::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }

.drop-col h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-3); margin-bottom: 10px; font-weight: 700; font-stretch: 100%;
}
.drop-col a { display: block; padding: 7px 8px; margin-left: -8px; font-size: 14px; color: var(--ink-2); transition: background .14s ease; }
.drop-col a:hover { background: var(--cobalt-tint); }
.drop-col a b { color: var(--ink); font-weight: 700; display: block; }
.drop-col a span { font-size: 12px; color: var(--ink-3); }

.drop-feature { background: var(--paper-2); border: 1px solid var(--rule); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.drop-feature p { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--chrome); color: var(--ink);
  font-weight: 800; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  border-radius: var(--radius); padding: 11px 18px; min-height: 44px;
}
.cart-btn:hover { background: #fff; color: var(--ink); }
.cart-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--ink); color: var(--chrome); font-size: 12px; font-weight: 700;
}
.cart-count:empty { display: none; }

.menu-toggle {
  display: none; background: transparent; border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius); padding: 10px; color: #fff; cursor: pointer;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
}
.nav-mobile { display: none; flex-direction: column; background: var(--cobalt-deep); padding: 8px var(--pad) 16px; }
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 4px; color: rgba(255,255,255,.85); font-size: 15px; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-mobile a:hover { color: var(--chrome); }

/* ---------------------------------------------------------------
   Naslovna: cena je najkrupnija stvar na ekranu
   --------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-stretch: 86%;
  font-weight: 800;
  max-width: 16ch;
}
.hero p { font-size: 17px; max-width: 46ch; margin-top: 20px; color: var(--ink-2); }
.hero-art { display: flex; justify-content: flex-end; }
.hero-art img { width: min(320px, 80%); }

/* Desna kolona: cena pa spisak dimenzija. Bez spiska je kolona bila mnogo
   niža od naslova sa leve strane, pa je iznad cene zjapila praznina. */
.hero-price { display: flex; flex-direction: column; gap: 22px; }

/* Pet dimenzija sa najnižom cenom — cenovnik u malom, kao red na tabli. */
.price-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.price-rows li { border-bottom: 1px solid var(--rule); }
.price-rows a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 0; color: var(--ink);
  transition: color .14s ease, padding-left .14s var(--ease);
}
.price-rows a:hover { color: var(--cobalt); padding-left: 6px; }
.price-rows .dim { font-weight: 700; font-size: 15px; font-stretch: 92%; min-width: 78px; }
/* Tačkasta linija kao na štampanom cenovniku — spaja meru sa cenom. */
.price-rows .sep {
  flex: 1; height: 1px; align-self: center;
  background-image: linear-gradient(90deg, var(--rule-strong) 1px, transparent 1px);
  background-size: 4px 1px; background-repeat: repeat-x;
}
.price-rows .amt { font-weight: 800; font-size: 15px; color: var(--oxblood); font-stretch: 88%; }

/* Ogroman broj + mera pored njega, kao na cenovnoj kartici. */
.price-tag {
  border-top: 3px solid var(--ink);
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.price-tag .from { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.price-tag .amount {
  font-size: clamp(52px, 9vw, 96px);
  font-weight: 900;
  font-stretch: 78%;
  letter-spacing: -0.045em;
  line-height: .88;
  color: var(--oxblood);
}
.price-tag .cur { font-size: clamp(18px, 2.4vw, 26px); font-weight: 800; color: var(--oxblood); font-stretch: 86%; }
.price-tag .note { font-size: 13px; color: var(--ink-2); width: 100%; margin-top: 6px; }

/* --- puna traka sa fotografijom --- */
.photo-band { position: relative; background: var(--ink); overflow: hidden; }
.photo-band img { width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; object-position: center 38%; }
.photo-band .photo-copy {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  pointer-events: none;
}
.photo-band .photo-copy .wrap { width: 100%; }
.photo-band .photo-copy .inner {
  max-width: 34ch; margin-left: auto;
  background: var(--paper); padding: clamp(20px, 3vw, 32px);
  pointer-events: auto; border-top: 3px solid var(--ink);
}
.photo-band h2 { font-size: clamp(22px, 2.6vw, 32px); }
.photo-band p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* --- pokretna traka sa modelima --- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee-move 52s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-item {
  flex: 0 0 auto; width: 252px; background: var(--card);
  border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  transition: border-color .18s var(--ease);
}
.marquee-item:hover { border-color: var(--ink); }
.marquee-item .m-media { position: relative; aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; }
.marquee-item .m-media img { width: 100%; height: 100%; object-fit: cover; }
.marquee-item .m-body { padding: 14px 16px; }
.marquee-item .m-body strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.marquee-item .m-body span { font-size: 12px; color: var(--ink-3); display: block; margin-top: 2px; }
.marquee-item .m-body .m-price { color: var(--oxblood); font-weight: 800; font-size: 16px; margin-top: 8px; display: block; }

/* --- traka sa brojkama: kao red na cenovniku --- */
.stats {
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
}
.stats > div { border-left: 1px solid var(--rule); padding-left: 18px; }
.stats > div:first-child { border-left: none; padding-left: 0; }
.stats strong {
  display: block; font-weight: 900; font-stretch: 80%;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1; color: var(--ink);
  letter-spacing: -.03em;
}
.stats span { display: block; font-size: 12.5px; margin-top: 8px; color: var(--ink-2); line-height: 1.45; }

/* --- kartica proizvoda: cenovna kartica --- */
.grid-3 > .product-card, .grid-4 > .product-card { border-radius: 0; }
.product-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--rule);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.product-card:hover { border-color: var(--ink); }
/* contain, ne cover: fotografije proizvoda su kvadratne i ne smeju se seći —
   kupac mora da vidi ceo dušek, uključujući ivicu i štepanje. */
/* Podloga je papirna, ne bela: fotografije su beli dušeci izrezani na belom,
   pa bi se na beloj kartici izgubili. Na papirnoj se vidi ivica proizvoda. */
.product-media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); display: block; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.product-card:hover .product-media img { transform: scale(1.03); }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.product-body h3 { font-size: 17px; color: var(--ink); letter-spacing: -.015em; }
.product-type { font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--cobalt); font-weight: 700; }
.product-meta { font-size: 13px; color: var(--ink-2); }
.product-desc {
  font-size: 13px; color: var(--ink-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
/* "Dostava 0 RSD" — otisnuta oznaka uz cenu, kao pečat na kartici. */
.ship-free {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--cobalt);
  border: 1.5px solid var(--cobalt);
  padding: 4px 8px;
  line-height: 1.2;
}
.product-body .ship-free { align-self: flex-start; margin-top: 4px; }
.product-price-big + .ship-free { margin-top: 14px; font-size: 12px; padding: 6px 10px; }

.price { font-weight: 900; font-size: 19px; font-stretch: 84%; color: var(--oxblood); letter-spacing: -.02em; }
.price small { font-weight: 600; font-size: 12px; color: var(--ink-3); font-stretch: 100%; letter-spacing: 0; }

/* --- skala tvrdoće: vrednost I položaj, nikad samo reč --- */
.firmness { display: flex; align-items: center; gap: 10px; }
.firmness-bars { display: flex; gap: 3px; }
.firmness-bars i { width: 18px; height: 8px; background: var(--rule); display: block; }
.firmness-bars i.on { background: var(--cobalt); }
.firmness span { font-size: 12px; color: var(--ink-2); font-weight: 600; }

/* --- filteri --- */
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  font-size: 13px; font-weight: 600; border-radius: var(--radius);
  padding: 10px 16px; min-height: 42px;
  border: 1px solid var(--rule-strong); background: transparent; color: var(--ink-2);
  cursor: pointer; font-family: var(--font); transition: all .14s ease;
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.dim-tiles { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--rule); }
.dim-tile {
  border: 1px solid var(--rule); border-left: none;
  background: var(--card); padding: 18px 26px;
  font-weight: 800; font-size: 15px; font-stretch: 88%; color: var(--ink);
  transition: background .14s ease, color .14s ease;
}
.dim-tile:hover { background: var(--ink); color: var(--paper); }

/* --- stranica proizvoda --- */
.product-detail {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 20px;
}
/* Na stranici proizvoda slika je kvadrat, jer su fotografije kvadratne —
   tako nema ni isecanja ni praznih traka sa strane. */
.product-detail .product-media {
  border-radius: 0; border: 1px solid var(--rule);
  aspect-ratio: 1 / 1; cursor: zoom-in;
}
.product-detail .product-media::after {
  content: "Klikni za uvećanje";
  position: absolute; right: 10px; bottom: 10px;
  background: var(--ink); color: var(--paper);
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; opacity: 0; transition: opacity .16s var(--ease);
}
.product-detail .product-media:hover::after { opacity: 1; }

/* --- uvećana slika --- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20, 22, 26, .92);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), visibility 0s linear .2s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .2s var(--ease), visibility 0s linear 0s; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: transparent; border: 1.5px solid rgba(255,255,255,.45);
  color: #fff; cursor: pointer; width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; font-family: var(--font);
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; letter-spacing: .06em;
}
@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav.prev { left: 6px; }
  .lightbox-nav.next { right: 6px; }
}

/* --- razdeljci koji se otvaraju --- */
.info-accordion { margin-top: 32px; border-top: 2px solid var(--ink); }
.info-accordion details { border-bottom: 1px solid var(--rule); }
.info-accordion summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 0; font-weight: 700; font-size: 15.5px; color: var(--ink);
  min-height: 56px;
}
.info-accordion summary::-webkit-details-marker { display: none; }
.info-accordion summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--cobalt);
  line-height: 1; flex-shrink: 0; transition: transform .18s var(--ease);
}
.info-accordion details[open] summary::after { content: "−"; }
.info-accordion summary:hover { color: var(--cobalt); }
.info-accordion .acc-body { padding: 0 0 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 62ch; }
.info-accordion .acc-body p + p { margin-top: 10px; }
.info-accordion .acc-body strong { color: var(--ink); }

/* Male slike ispod glavne — spojene u traku, kao red kartica na cenovniku. */
.gallery-thumbs { display: flex; gap: 0; margin-top: 0; border-left: 1px solid var(--rule); }
.gallery-thumb {
  flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1;
  border: 1px solid var(--rule); border-left: none; border-top: none;
  background: var(--paper-2); padding: 0; cursor: pointer;
  transition: border-color .14s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--ink); }
.gallery-thumb.active { box-shadow: inset 0 3px 0 var(--ink); }
.tag {
  display: inline-flex; font-size: 11px; padding: 6px 12px;
  background: var(--cobalt-tint); color: var(--cobalt);
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
}
.product-title { font-size: clamp(26px, 3.4vw, 40px); margin-top: 14px; font-stretch: 86%; }
.product-title small { display: block; font-size: 17px; font-weight: 600; color: var(--ink-2); margin-top: 6px; font-stretch: 100%; letter-spacing: 0; }
.product-price-big {
  font-weight: 900; font-size: clamp(38px, 5vw, 58px); font-stretch: 80%;
  color: var(--oxblood); margin-top: 18px; letter-spacing: -.035em; line-height: 1;
  border-top: 3px solid var(--ink); padding-top: 14px;
}

.size-options { display: flex; flex-wrap: wrap; gap: 0; border-left: 1px solid var(--rule); }
.size-option {
  border: 1px solid var(--rule); border-left: none;
  padding: 12px 18px; color: var(--ink-2); text-align: center; min-width: 100px;
  transition: background .14s ease, color .14s ease;
}
.size-option:hover { background: var(--paper-2); color: var(--ink); }
.size-option.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-option b { display: block; font-size: 14px; font-weight: 800; }
.size-option i { display: block; font-style: normal; font-size: 12px; opacity: .85; margin-top: 2px; }

/* Specifikacije unutar razdeljka — kompaktnije od tabele koja je stajala ispod dugmadi. */
.spec-inline { margin: 0 0 14px; }
.spec-inline div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--rule);
}
.spec-inline div:first-child { border-top: 1px solid var(--rule); }
.spec-inline dt { color: var(--ink-2); font-size: 14px; }
.spec-inline dd { margin: 0; font-size: 14px; text-align: right; font-weight: 700; color: var(--ink); }

.spec-list { margin-top: 28px; border-top: 2px solid var(--ink); }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.spec-list dt { color: var(--ink-2); font-size: 14px; }
.spec-list dd { margin: 0; font-size: 14px; text-align: right; font-weight: 600; }

/* --- količina + korpa --- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.qty button {
  background: transparent; border: none; color: var(--ink-2);
  padding: 12px 16px; min-height: 46px; cursor: pointer; font-size: 17px; line-height: 1;
}
.qty button:hover { color: var(--ink); background: var(--paper-2); }
.qty span { min-width: 34px; text-align: center; font-size: 15px; font-weight: 700; }

.cart-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.cart-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.cart-thumb { width: 92px; height: 72px; overflow: hidden; background: var(--paper-2); flex-shrink: 0; position: relative; border: 1px solid var(--rule); }
.cart-info { flex: 1; min-width: 150px; }
.cart-info a { font-weight: 700; color: var(--ink); }
.cart-info a:hover { color: var(--cobalt); }
.cart-line-total { width: 120px; text-align: right; font-weight: 800; color: var(--oxblood); }
.link-remove { background: none; border: none; color: var(--ink-3); font-size: 13px; cursor: pointer; font-family: var(--font); text-decoration: underline; text-underline-offset: 3px; }
.link-remove:hover { color: var(--danger); }

/* --- forme --- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.field > span { font-weight: 700; color: var(--ink); }
.field .req { color: var(--oxblood); }
.field .hint { font-size: 12px; color: var(--ink-3); font-weight: 400; }

input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], select, textarea {
  font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius); padding: 13px 14px; min-height: 48px;
  width: 100%; outline: none; transition: border-color .14s ease;
}
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); }
input::placeholder, textarea::placeholder { color: var(--ink-3); }
textarea { resize: vertical; min-height: 96px; }
select { cursor: pointer; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Poruke nose liniju IZNAD, isto kao cena — jedna gramatika kroz ceo sajt. */
.alert {
  border-radius: var(--radius); padding: 14px 16px; font-size: 14px;
  border: 1px solid var(--rule); border-top-width: 3px;
}
.alert-error { background: #FBEDEC; border-top-color: var(--oxblood); color: #7A1D17; }
.alert-ok { background: #EAF3EE; border-top-color: var(--success); color: #174E33; }
.alert-info { background: var(--cobalt-tint); border-top-color: var(--cobalt); color: #12305F; }

/* --- tabele --- */
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 12px; border-bottom: 1px solid var(--rule); font-size: 14px; }
table.data th { color: var(--ink-2); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
table.compare { min-width: 900px; }
table.compare thead th { vertical-align: bottom; border-bottom: 2px solid var(--ink); }
table.compare thead a { font-weight: 800; font-size: 15px; color: var(--ink); }
table.compare thead a:hover { color: var(--cobalt); }
/* Cene u tabeli nose istu boju kao svuda na sajtu — oko ih traži po njoj. */
table.compare thead .price,
table.compare tbody tr:last-of-type td { color: var(--oxblood); font-weight: 800; }
table.compare th:first-child, table.compare td:first-child { color: var(--ink-2); font-weight: 600; }

/* --- istaknute trake --- */
.band { background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 72px); align-items: center; padding-block: clamp(40px, 5vw, 64px);
}
.cta-band { background: var(--cobalt); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.6vw, 42px); max-width: 22ch; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 52ch; margin-top: 16px; }
/* Naslov i pasusi imaju max-width, pa ih `text-align: center` sam ne centrira —
   uži blok ostane prilepljen levo. Kada je traka postavljena kao centrirana
   (.center na .wrap), blokovi moraju i sami da se centriraju.
   Bez ovoga su naslov i opis bili centrirani samo zato što su imali `margin:auto`
   upisan u style="", a dugme i telefon ispod nisu — pa su visili levo. */
.cta-band .center h2,
.cta-band .center p { margin-left: auto; margin-right: auto; }
.cta-band .muted, .cta-band .faint { color: rgba(255,255,255,.75); }

/* --- presek slojeva: modeli koji se smenjuju --- */
.presek { position: relative; }
/* Stari slajd nestaje ODMAH, novi se pojavi. Ukrštanje (oba vidljiva u isto
   vreme) radi za slike, ali natpise i opise pretvara u nečitljivo preklapanje
   slova — zato prelaz ide u jednom smeru, ne u oba. */
.presek-slajd {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--rule);
  position: absolute;
  /* Namerno bez `bottom`: sa `inset: 0` slajd se rastezao preko cele sekcije
     i belom karticom prekrivao traku sa crticama ispod. */
  top: 0; left: 0; right: 0;
  opacity: 0;
  visibility: hidden;
}
/* Prvi slajd stoji u toku i drži visinu okvira; ostali lebde preko njega. */
.presek-slajd:first-of-type { position: relative; }
.presek-slajd.aktivan {
  opacity: 1; visibility: visible;
  animation: presek-ulaz .45s var(--ease-out);
}
@keyframes presek-ulaz { from { opacity: 0; } to { opacity: 1; } }
.presek-slajd img { width: 100%; height: auto; display: block; background: var(--paper-2); }
.presek-slajd figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 13px 16px; border-top: 1px solid var(--rule);
}
.presek-slajd figcaption strong { font-weight: 800; font-size: 15px; font-stretch: 90%; }
.presek-slajd figcaption span { font-size: 12.5px; color: var(--ink-2); }

.presek-tacke { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
/* Crtica je 4px visoka, ali dugme mora da bude dovoljno veliko za prst,
   pa se visina dobija providnim razmakom, a crtica se crta kroz ::before. */
.presek-tacke button {
  width: 26px; height: 26px; padding: 0; border: none; cursor: pointer;
  background: none; display: grid; place-items: center;
}
.presek-tacke button::before {
  content: ""; display: block; width: 26px; height: 4px;
  background: var(--rule-strong); transition: background .18s var(--ease);
}
.presek-tacke button:hover::before { background: var(--ink-2); }
.presek-tacke button.aktivan::before { background: var(--cobalt); }

.presek-tekst { position: relative; margin-top: 18px; min-height: 7.5em; }
.presek-tekst p {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 52ch;
}
.presek-tekst p.aktivan {
  opacity: 1; visibility: visible;
  animation: presek-ulaz .45s var(--ease-out);
}

@media (max-width: 900px) {
  .presek-tekst { min-height: 10em; }
}

/* --- koraci --- */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--rule); }
.steps li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps b {
  flex-shrink: 0; width: 34px; height: 34px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.steps p { color: var(--ink-2); }
.steps h3 { font-size: 16px; margin-bottom: 4px; }

/* --- FAQ --- */
.faq { margin-top: 30px; border-top: 2px solid var(--ink); }
.faq > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq dt { font-weight: 800; font-size: 17px; }
.faq dd { margin: 8px 0 0; color: var(--ink-2); }

/* --- blog --- */
.post-list-items { list-style: none; margin: 36px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.post-list-items li { padding: 22px 0; border-bottom: 1px solid var(--rule); }
.post-list-items h3 { font-size: 20px; color: var(--ink); }
.post-list-items a:hover h3 { color: var(--cobalt); }
.post-body { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; color: var(--ink-2); line-height: 1.72; max-width: 70ch; }
.post-body p { font-size: 16.5px; }
.post-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }

/* --- kviz --- */
.quiz-step {
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
}
.quiz-title { font-size: clamp(24px, 3.2vw, 34px); font-stretch: 88%; max-width: 20ch; }
.quiz-progress { display: flex; gap: 4px; margin-bottom: 26px; }
.quiz-progress i { flex: 1; height: 8px; background: var(--rule); display: block; }
.quiz-progress i.on { background: var(--cobalt); }
.quiz-option {
  text-align: left; font-family: var(--font); font-size: 16px; color: var(--ink);
  background: var(--card); border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius); padding: 17px 18px; min-height: 56px;
  cursor: pointer; width: 100%; transition: border-color .14s ease, background .14s ease;
}
.quiz-option:hover { border-color: var(--ink); background: var(--paper-2); }

/* --- podnožje --- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 72px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px; padding-block: clamp(40px, 5vw, 60px); }
.site-footer .brand { color: #fff; }
.site-footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 16px; color: #fff; font-stretch: 100%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--chrome); }
.site-footer .muted { color: rgba(255,255,255,.55); }
.site-footer p { color: rgba(255,255,255,.62); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 18px 0; font-size: 12px; color: rgba(255,255,255,.5); }
.footer-bottom p { color: rgba(255,255,255,.5); margin: 0; }
/* Zvanični podaci o firmi — sitnije od ostatka, ali čitljivo. Zakon traži da
   budu dostupni, ne da budu istaknuti. */
.footer-legal { margin-top: 6px !important; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.42) !important; }

/* --- traka za kolačiće --- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: rgba(255,255,255,.82);
  border-top: 3px solid var(--cobalt);
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
.cookie-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding-block: 16px;
}
.cookie-inner p { margin: 0; flex: 1 1 340px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.cookie-inner a { color: var(--chrome); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-actions .btn-ghost:hover { border-color: var(--chrome); color: var(--chrome); }
@media (max-width: 560px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
}
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8);
}
.socials a:hover { border-color: var(--chrome); color: var(--chrome); }
.socials svg { width: 18px; height: 18px; }

/* --- mrvice --- */
.crumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--cobalt); }

/* --- placeholder slike --- */
.ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--paper-2); }
.ph svg { width: 62%; height: 62%; }

/* ===============================================================
   Manji ekrani
   =============================================================== */
@media (max-width: 1000px) {
  .dropdown { grid-template-columns: 1fr 1fr; width: min(520px, calc(100vw - 40px)); }
  .drop-feature { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero, .product-detail, .band-inner { grid-template-columns: 1fr; }
  .hero { align-items: start; }
  .hero-art { justify-content: flex-start; }
  .hero-art img { width: min(240px, 62%); }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .photo-band .photo-copy { position: static; }
  .photo-band .photo-copy .inner { max-width: none; margin: -40px var(--pad) 0; position: relative; }
  .photo-band img { height: clamp(240px, 52vw, 340px); }
}

@media (max-width: 560px) {
  .cart-list li { gap: 12px; }
  .cart-line-total { width: auto; }
  .btn { width: 100%; }
  .row .btn { width: auto; flex: 1 1 auto; }
  .stats > div { border-left: none; padding-left: 0; }
  .dim-tiles, .size-options { border-left: none; }
  .dim-tile, .size-option { border-left: 1px solid var(--rule); flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}

/* --- bedževi poverenja uz dugme „Dodaj u korpu" --- */
/* Dok nema recenzija, ovo je jedino što kupcu kaže da rizik nije na njemu. */
.trust-badges {
  list-style: none; margin: 20px 0 0; padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 20px;
}
.trust-badges a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--ink-2); text-decoration: none;
}
.trust-badges a:hover { color: var(--cobalt); }
.trust-badges svg { color: var(--cobalt); flex-shrink: 0; }

/* --- utisci kupaca --- */
/* --- slike poruka kupaca (početna) --- */
/* Snimci ekrana telefona su uski i visoki. Zato kolone imaju i GORNJU granicu
   širine: bez nje bi se ćelija razvukla preko cele širine, slika bi ostala
   sitna u sredini, a sa strane bi zjapilo belo. Slika se prikazuje u svom
   odnosu stranica — presecanje bi odseklo baš rečenicu zbog koje je tu. */
.utisci-grid {
  display: grid; gap: 20px; align-items: start; justify-content: start;
  grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
}
.utisak-slika { margin: 0; }
.utisak-dugme {
  display: block; width: 100%; padding: 0; cursor: zoom-in;
  border: 1px solid var(--border); background: #fff;
  transition: border-color .18s var(--ease);
}
.utisak-dugme:hover { border-color: var(--cobalt); }
.utisak-dugme img {
  display: block; width: 100%; height: auto;
  /* Zaštita od neobično visokog snimka: preko ove visine se seče odozdo,
     a ceo se vidi klikom. */
  max-height: 560px; object-fit: cover; object-position: top center;
}
.utisak-slika figcaption { margin-top: 8px; }
/* Na telefonu JEDNA slika po redu. Dve u redu ispadnu ~160 px široke, a u
   njima je tekst poruke — na toj širini se ne može pročitati, pa odeljak
   gubi smisao. Preko cele širine poruka se čita bez uvećavanja. */
@media (max-width: 560px) {
  .utisci-grid { grid-template-columns: 1fr; gap: 18px; justify-content: stretch; }
  .utisak-dugme img { max-height: 620px; }
}

.reviews { display: grid; gap: 16px; margin-top: 16px; }
.review { border: 1px solid var(--border); padding: 20px; background: var(--bg-elevated); }
.review p { margin: 10px 0; line-height: 1.7; }
.review footer { margin-top: 12px; }
.review-model {
  display: inline-block; margin-left: 10px; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2);
}
/* Izvor utiska (Google profil, SMS, Instagram). Namerno diskretno, ali
   uvek vidljivo — kupac ima pravo da zna odakle je recenzija i da je
   proveri. Vidi review_card() u partials.php. */
.review-izvor { white-space: nowrap; }

.stars { letter-spacing: 2px; font-size: 15px; }
.stars i { font-style: normal; color: var(--border-strong, #c9c6bd); }
.stars i.on { color: var(--accent); }

/* --- izbor ocene u formularu za utisak --- */
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 8px; }
.rating-input label { cursor: pointer; }
.rating-input input { position: absolute; opacity: 0; width: 0; height: 0; }
.rating-input span {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--border); padding: 8px 14px; font-size: 14px;
}
.rating-input input:checked + span { border-color: var(--cobalt); background: var(--cobalt); color: #fff; }
.rating-input input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* Podnaslov ispod H1 na početnoj — nosi rečenicu koja je ranije bila naslov. */
.hero-podnaslov { font-size: 17px; font-weight: 600; line-height: 1.55; margin-top: 12px; }

/* Vlasnik na stranici „O nama" — fotografija uz tekst, jedna kolona na telefonu. */
.vlasnik { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.vlasnik img { border: 1px solid var(--rule); object-fit: cover; width: 100%; height: auto; }
@media (max-width: 640px) { .vlasnik { grid-template-columns: 1fr; } .vlasnik img { max-width: 220px; } }

/* Trust linkovi: četiri u jednom redu na desktopu, dva reda na telefonu.
   Četvrti nije link (nema šta da otvori), pa mora da izgleda isto kao ostali. */
.trust-badges { grid-template-columns: repeat(4, 1fr); }
.trust-badges span { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.trust-badges span svg { color: var(--cobalt); flex-shrink: 0; }
@media (max-width: 860px) { .trust-badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust-badges { grid-template-columns: 1fr; } }

/* Fotografija koju je poslao kupac uz utisak. */
.review-photo { margin-top: 12px; max-width: 100%; height: auto; border: 1px solid var(--rule); }

/* <picture> je samo omotač oko <img> koji bira WebP ili JPEG. Podrazumevano je
   `display:inline` i time se ubacuje u layout kao dodatni element — zbog čega
   pravila tipa `.product-media img { height:100% }` prestanu da važe (visina
   se meri u odnosu na omotač koji nema visinu). `display:contents` uklanja
   omotač iz layouta, pa se slika ponaša tačno kao pre uvođenja WebP-a. */
picture { display: contents; }

/* --- kategorijska stranica po dimenziji (/dusek-160x200) --- */
/* Lista modela: slika | podaci | cena+dugme. Ispod 600px sve u jednu kolonu,
   jer na telefonu tri kolone daju cenu od pedesetak piksela širine. */
.dim-lista { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.dim-lista li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.dim-lista-slika { display: block; aspect-ratio: 1 / 1; background: var(--paper-2); overflow: hidden; }
.dim-lista-slika img { width: 100%; height: 100%; object-fit: contain; }
.dim-lista-telo h3 { font-size: 18px; margin-top: 4px; }
.dim-lista-telo .product-meta { margin-top: 4px; }
.dim-lista-telo .ship-free { margin-top: 6px; }
.dim-lista-cena { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.dim-lista-cena .price { font-size: 20px; }

@media (max-width: 600px) {
  .dim-lista li { grid-template-columns: 1fr; gap: 12px; }
  .dim-lista-slika { max-width: 160px; }
  .dim-lista-cena { align-items: flex-start; text-align: left; }
}

/* Tri uslova kupovine — isti podaci kao na stranici proizvoda, samo u redu. */
.dim-uslovi {
  list-style: none; margin: 0; padding: 22px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.dim-uslovi strong { display: block; font-family: var(--font); font-size: 15px; color: var(--ink); }
.dim-uslovi span { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 3px; }

/* ===============================================================
   21.09.2026 — poverenje i dinamika na stranici proizvoda
   =============================================================== */

/* --- traka poverenja ispod cene ---
   Dve kolone sa ikonicom, naslovom i jednim redom objašnjenja. Linija iznad,
   ne sa strane (DESIGN.md). Na uskom ekranu jedna kolona. */
.trust-strip {
  list-style: none; margin: 18px 0 0; padding: 14px 0 0;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px;
}
.trust-strip li > a, .trust-strip .trust-item {
  display: flex; align-items: flex-start; gap: 10px; color: var(--ink); text-decoration: none;
  min-height: 44px;
}
.trust-strip svg { color: var(--cobalt); flex-shrink: 0; margin-top: 1px; }
.trust-strip b { display: block; font-size: 14px; font-weight: 800; font-stretch: 92%; letter-spacing: -.01em; line-height: 1.2; }
.trust-strip small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.trust-strip li > a:hover b { color: var(--cobalt); }
@media (max-width: 420px) { .trust-strip { grid-template-columns: 1fr; } }

/* --- „ili poručite telefonom" ispod dugmadi --- */
.poruci-tel { display: flex; flex-direction: column; gap: 4px; }
.btn-call {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink);
  font-size: 14.5px; text-decoration: none; min-height: 40px;
}
.btn-call svg { color: var(--cobalt); }
.btn-call b { font-weight: 900; font-stretch: 88%; letter-spacing: -.01em; color: var(--cobalt); }
.btn-call:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* --- put porudžbine u četiri koraka ---
   Četiri polja u jednom redu, spojena linijom iznad; ispod 900px u dve
   kolone, ispod 560px u jednu. Pojavljuju se jedno za drugim (reveal-group). */
.order-steps { margin-top: 48px; border-top: 2px solid var(--ink); padding-top: 22px; }
.order-steps-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-left: 1px solid var(--rule);
}
.order-steps-list li {
  position: relative; padding: 22px 22px 22px 22px;
  border: 1px solid var(--rule); border-left: none;
  background: var(--card);
}
.order-steps-list .os-num {
  position: absolute; top: 14px; right: 14px;
  font-weight: 900; font-size: 34px; line-height: 1; font-stretch: 78%;
  color: var(--paper-2); letter-spacing: -.04em;
}
.order-steps-list li:nth-child(3) { background: var(--cobalt-tint); }
.order-steps-list .os-ikona {
  display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1.5px solid var(--cobalt); color: var(--cobalt); border-radius: var(--radius);
}
.order-steps-list h3 { font-size: 16px; margin-top: 14px; font-stretch: 90%; }
.order-steps-list p { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }
@media (max-width: 900px) {
  .order-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
  .order-steps-list li { border-top: none; }
}
@media (max-width: 560px) {
  .order-steps-list { grid-template-columns: 1fr; }
}

/* --- lepljiva traka sa cenom i dugmetom (telefon) ---
   Samo ispod 900px: na širokom ekranu dugme je ionako uvek vidljivo.
   Ulazi odozdo; bez JavaScript-a je nema (atribut hidden). */
.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--card); border-top: 2px solid var(--ink);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%); transition: transform .22s var(--ease, ease);
}
.buy-bar.shown { transform: none; }
.buy-bar[hidden] { display: none; }
.buy-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.buy-bar-info { display: flex; flex-direction: column; min-width: 0; }
.buy-bar-info b { font-size: 13px; font-weight: 700; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar-info .price { font-size: 20px; line-height: 1.1; }
.buy-bar .btn { white-space: nowrap; width: auto; flex: 0 0 auto; }
@media (min-width: 901px) { .buy-bar { display: none !important; } }
/* Kad je traka prikazana, ne sme da prekrije traku za kolačiće ni kraj stranice. */
body.has-buy-bar .cookie-bar { bottom: 74px; }
@media (max-width: 900px) { body.has-buy-bar { padding-bottom: 76px; } }

/* --- početna: zašto kod nas (činjenice, ne poređenje sa imenom) --- */
.zasto {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0;
  border-top: 2px solid var(--ink); border-left: 1px solid var(--rule); margin-top: 22px;
}
.zasto > div { padding: 22px; border: 1px solid var(--rule); border-left: none; border-top: none; }
.zasto svg { color: var(--cobalt); }
.zasto h3 { font-size: 17px; margin-top: 12px; font-stretch: 90%; }
.zasto p { font-size: 14px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

/* --- traka za kolačiće u opt-out režimu: jedan red, ne zaklanja pola telefona --- */
.cookie-bar--kratko .cookie-inner { padding-block: 10px; gap: 12px 18px; }
.cookie-bar--kratko .cookie-inner p { font-size: 12.5px; line-height: 1.45; flex: 1 1 220px; }
.cookie-bar--kratko .cookie-actions .btn { font-size: 11px; padding: 8px 12px; min-height: 36px; }
@media (max-width: 560px) {
  .cookie-bar--kratko .cookie-actions { width: auto; margin-left: auto; }
  .cookie-bar--kratko .cookie-actions .btn { flex: 0 0 auto; width: auto; }
}

/* --- telefon: slika proizvoda niža (4:3), da se naslov i cena vide bez skrolovanja --- */
@media (max-width: 900px) {
  .product-detail .product-media { aspect-ratio: 4 / 3; }
  .product-detail .product-media img { object-fit: contain; }
}

/* ===============================================================
   21.09.2026 — katalog, kartice, stranica proizvoda, pokret, asistent
   Sve u istom jeziku kao ostatak: pravi uglovi, otisnute linije umesto
   senki, kobalt za pažnju, oxblood samo za cenu.
   =============================================================== */

/* --- traka sa činjenicama pri vrhu (klizi) --- */
.najava {
  background: var(--ink); color: #fff; overflow: hidden;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.najava-traka { display: flex; width: max-content; animation: najava-klizi 38s linear infinite; }
.najava:hover .najava-traka, .najava:focus-within .najava-traka { animation-play-state: paused; }
.najava ul { display: flex; margin: 0; padding: 0; list-style: none; }
.najava li { padding: 8px 28px; white-space: nowrap; position: relative; }
.najava li::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px;
  background: var(--chrome); transform: translateY(-50%) rotate(45deg);
}
@keyframes najava-klizi { to { transform: translateX(-50%); } }

/* --- specifikacije sa ikonama (kartica i stranica proizvoda) --- */
.spec-ikone {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.spec-ikone li { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.spec-ikone svg { width: 18px; height: 18px; color: var(--cobalt); flex-shrink: 0; }

.spec-ikone--velike { margin-top: 14px; gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.spec-ikone--velike li {
  flex: 1 1 0; min-width: 120px; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px 14px; border-right: 1px solid var(--rule); font-size: 13.5px; color: var(--ink); font-weight: 600;
}
.spec-ikone--velike li:last-child { border-right: none; }
.spec-ikone--velike svg { width: 24px; height: 24px; }
@media (max-width: 560px) {
  .spec-ikone--velike { display: grid; grid-template-columns: 1fr 1fr; }
  .spec-ikone--velike li { flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; min-width: 0; font-size: 13px; }
  .spec-ikone--velike li:nth-child(2n) { border-right: none; }
  .spec-ikone--velike li:nth-child(-n+2):not(:nth-last-child(-n+2)) { border-bottom: 1px solid var(--rule); }
  .spec-ikone--velike svg { width: 22px; height: 22px; }
}

/* --- kartica modela: bedževi, druga slika, cena po dimenziji --- */
.kartica-bedzevi { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.bedz {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 8px; line-height: 1.1; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink);
}
.bedz-cena { background: var(--chrome); border-color: var(--chrome); }
.bedz-preporuka { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }

.product-media-druga {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  background: var(--paper-2); opacity: 0; transition: opacity .35s var(--ease-out);
}
@media (hover: hover) {
  .product-card:hover .product-media.ima-drugu .product-media-druga { opacity: 1; }
}
.product-card { transition: border-color .18s var(--ease), transform .25s var(--ease-out); }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); }
}
.kartica-dim { font-size: 12px; color: var(--ink-3); font-weight: 600; font-stretch: 100%; letter-spacing: 0; }

/* --- katalog: traka, filteri, rezultati --- */
.katalog-traka {
  display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap;
  padding: 12px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.katalog-status { margin-right: auto; color: var(--ink-2); font-weight: 600; }
.katalog-sort { display: flex; align-items: center; gap: 10px; }
.katalog-sort select { min-width: 210px; }
.katalog-filteri-dugme { display: none; }

.katalog-aktivni { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; }
.filter-cip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--cobalt-tint); border: 1px solid var(--cobalt); padding: 6px 10px;
  transition: background .15s var(--ease);
}
.filter-cip:hover { background: #fff; }
.filter-cip i { font-style: normal; font-size: 11px; color: var(--cobalt); }
.filter-cip-sve { font: inherit; font-size: 13px; background: none; border: none; color: var(--cobalt); text-decoration: underline; cursor: pointer; padding: 6px 4px; }

.katalog-telo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; margin-top: 20px; align-items: start; }
/* Panel ide sa stranicom (kao kod Dormea). Lepljiv panel sa sopstvenim
   klizačem je izgledao kao ugnježdeni prozor i skrivao donje grupe. */
.katalog-filteri { padding-right: 6px; }
.filter-dim { display: flex; flex-direction: column; line-height: 1.25; }
.filter-dim small { font-size: 12px; color: var(--ink-3); }
.katalog-filteri-glava, .katalog-filteri-dno { display: none; }
.filter-grupa { border: 0; margin: 0 0 6px; padding: 0 0 16px; border-bottom: 1px solid var(--rule); }
.filter-grupa + .filter-grupa { padding-top: 14px; }
.filter-grupa legend {
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--cobalt);
  padding: 0; margin-bottom: 8px;
}
.filter-grupa > p { margin: -2px 0 8px; }
.filter-opcija {
  display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer;
  font-size: 14px; color: var(--ink); transition: opacity .15s var(--ease);
}
.filter-opcija input { width: 18px; height: 18px; margin: 0; accent-color: var(--cobalt); flex-shrink: 0; }
.filter-broj { margin-left: auto; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.filter-opcija.prazna { opacity: .4; }
.katalog-prazno { padding: 48px 20px; text-align: center; border: 1px dashed var(--rule-strong); }

/* Kartice koje ulaze posle promene filtera — kratko, jedna za drugom. */
.js [data-model].ulaz { animation: kartica-ulaz .42s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes kartica-ulaz { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .katalog-filteri-dugme { display: inline-flex; }
  .katalog-telo { grid-template-columns: 1fr; }
  .katalog-filteri {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 95; width: min(360px, 88vw);
    max-height: none; background: var(--paper); padding: 0 18px 90px; overflow: auto;
    transform: translateX(-102%); transition: transform .28s var(--ease-out);
    border-right: 2px solid var(--ink);
  }
  .filteri-otvoreni .katalog-filteri { transform: none; }
  .katalog-filteri-glava {
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; background: var(--paper); padding: 16px 0; margin-bottom: 6px;
    border-bottom: 2px solid var(--ink); z-index: 1;
  }
  .katalog-zatvori { background: none; border: 1px solid var(--rule-strong); width: 40px; height: 40px; cursor: pointer; font-size: 15px; }
  .katalog-filteri-dno {
    display: flex; gap: 10px; position: fixed; bottom: 0; left: 0; width: min(360px, 88vw); z-index: 96;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--paper);
    border-top: 1px solid var(--rule); border-right: 2px solid var(--ink);
    transform: translateX(-102%); transition: transform .28s var(--ease-out);
  }
  .filteri-otvoreni .katalog-filteri-dno { transform: none; }
  .katalog-filteri-dno .btn { flex: 1; }
  .katalog-zavesa { position: fixed; inset: 0; z-index: 94; background: rgba(20, 22, 26, .45); }
  .katalog-sort select { min-width: 0; }
}
@media (max-width: 560px) {
  .katalog-sort span { display: none; }
  .katalog-status { order: 3; width: 100%; }
}

/* --- stranica proizvoda: datum isporuke --- */
.isporuka-procena {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px;
  padding: 12px 14px; background: var(--cobalt-tint); border-left: 3px solid var(--cobalt);
}
.isporuka-procena svg { color: var(--cobalt); flex-shrink: 0; margin-top: 1px; }
.isporuka-procena p { margin: 0; font-size: 14px; line-height: 1.45; }
.isporuka-procena b { display: block; color: var(--ink); }
.isporuka-procena span { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }

/* --- stranica proizvoda: mera kreveta uz izbor dimenzije --- */
.mera-podsetnik { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.mera-podsetnik svg { color: var(--cobalt); width: 20px; height: 20px; flex-shrink: 0; }
.mera-podsetnik b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- stranica proizvoda: položaj spavanja --- */
.polozaji-blok { margin-top: 44px; border-top: 1px solid var(--rule); padding-top: 32px; }
.polozaji-blok h2 { font-size: 22px; }
.polozaji { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.polozaj {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ik ime" "ik mer" "ik oc";
  gap: 4px 12px; padding: 16px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); align-items: center;
}
.polozaj:last-child { border-right: none; }
.polozaj svg { grid-area: ik; width: 34px; height: 34px; color: var(--cobalt); }
.polozaj-naziv { grid-area: ime; font-weight: 700; font-size: 14.5px; }
.polozaj-merac { grid-area: mer; display: flex; gap: 4px; }
.polozaj-merac i { width: 26px; height: 6px; background: var(--rule); transform-origin: left; }
.polozaj-ocena { grid-area: oc; font-size: 12.5px; color: var(--ink-2); }
.polozaj-1 .polozaj-merac i:nth-child(-n+1),
.polozaj-2 .polozaj-merac i:nth-child(-n+2),
.polozaj-3 .polozaj-merac i:nth-child(-n+3) { background: var(--cobalt); }
.polozaj-3 .polozaj-ocena { color: var(--cobalt); font-weight: 700; }
.js .reveal .polozaj-merac i { transform: scaleX(0); transition: transform .5s var(--ease-out); }
.js .reveal.shown .polozaj-merac i { transform: none; }
.js .reveal.shown .polozaj-merac i:nth-child(2) { transition-delay: .12s; }
.js .reveal.shown .polozaj-merac i:nth-child(3) { transition-delay: .24s; }
@media (max-width: 640px) {
  .polozaji { grid-template-columns: 1fr; }
  .polozaj { border-right: none; }
}

/* --- stranica proizvoda: sastav, sloj po sloj --- */
.sastav { margin-top: 44px; border-top: 1px solid var(--rule); padding-top: 32px; }
.sastav h2 { font-size: 22px; }
.sastav-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; margin-top: 20px; align-items: start; }
.sastav-slika { margin: 0; background: var(--paper-2); border: 1px solid var(--rule); }
.sastav-slika img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.slojevi { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.slojevi li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sloj-br {
  width: 32px; height: 32px; display: grid; place-items: center; background: var(--ink); color: #fff;
  font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums;
}
.slojevi b { font-size: 15.5px; }
.slojevi p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.sloj-strana {
  display: inline-block; margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cobalt); border: 1px solid var(--cobalt); padding: 2px 6px; vertical-align: 2px;
}
.js .sastav.reveal .slojevi li { opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + .1s); }
.js .sastav.reveal.shown .slojevi li { opacity: 1; transform: none; }
.sastav-izvor { margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.sastav-izvor summary { cursor: pointer; color: var(--cobalt); font-weight: 600; }
.sastav-izvor p { margin-top: 8px; line-height: 1.6; }
@media (max-width: 760px) { .sastav-grid { grid-template-columns: 1fr; } }

/* --- stranica proizvoda: poređenje sa drugim modelima --- */
.poredjenje-tabela-wrap { overflow-x: auto; margin-top: 16px; border-top: 2px solid var(--ink); }
.poredjenje-tabela { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.poredjenje-tabela th, .poredjenje-tabela td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.poredjenje-tabela th { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.poredjenje-tabela td:first-child a { font-weight: 700; color: var(--ink); }
.poredjenje-tabela tr.ovaj { background: var(--cobalt-tint); }
.poredjenje-tabela .ovaj-oznaka {
  display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; background: var(--cobalt); color: #fff; padding: 2px 6px;
}
.poredjenje-tabela .price { font-size: 16px; }
.poredjenje-tabela tbody tr:not(.ovaj):hover { background: var(--paper-2); }

/* --- prozorče „dodato u korpu" --- */
.korpa-obavestenje {
  position: fixed; right: 20px; top: 90px; z-index: 85; width: min(360px, calc(100vw - 32px));
  background: var(--card); border: 2px solid var(--ink); padding: 16px;
  transform: translateX(calc(100% + 40px)); transition: transform .32s var(--ease-out);
}
.korpa-obavestenje.otvoreno { transform: none; }
.korpa-obavestenje-glava { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.korpa-obavestenje-glava b { display: flex; align-items: center; gap: 8px; color: var(--success); font-size: 14px; }
.korpa-obavestenje-glava button { background: none; border: none; font-size: 15px; cursor: pointer; color: var(--ink-2); width: 32px; height: 32px; }
.korpa-obavestenje-proizvod { display: grid; grid-template-columns: 64px 1fr; gap: 12px; margin-top: 12px; align-items: center; }
.korpa-obavestenje-proizvod img { width: 64px; height: 64px; object-fit: contain; background: var(--paper-2); }
.korpa-obavestenje-proizvod span { font-size: 14px; font-weight: 600; line-height: 1.35; }
.korpa-obavestenje-proizvod .price { display: block; font-size: 16px; margin-top: 2px; }
.korpa-obavestenje-dugmad { display: flex; gap: 8px; margin-top: 14px; }
.korpa-obavestenje-dugmad .btn { flex: 1; }
.korpa-obavestenje .ship-free { margin-top: 10px; }
@media (max-width: 600px) {
  .korpa-obavestenje { top: auto; bottom: 12px; right: 16px; transform: translateY(calc(100% + 40px)); }
  .korpa-obavestenje.otvoreno { transform: none; }
  body.has-buy-bar .korpa-obavestenje { bottom: 88px; }
}
.cart-count.skok { animation: korpa-skok .5s var(--ease-out); }
@keyframes korpa-skok { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* --- asistent (chat) --- */
.asistent-dugme {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cobalt); color: #fff; border: 2px solid var(--cobalt);
  font: inherit; font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  padding: 12px 16px; cursor: pointer;
  transition: background .15s var(--ease), transform .2s var(--ease-out), opacity .2s var(--ease), bottom .25s var(--ease-out);
}
.asistent-dugme:hover { background: var(--cobalt-deep); }
.asistent-dugme svg { width: 22px; height: 22px; }
.asistent-tacka {
  position: absolute; top: -5px; right: -5px; width: 12px; height: 12px; background: var(--chrome);
  border: 2px solid var(--paper); animation: asistent-puls 2.4s ease-in-out infinite;
}
@keyframes asistent-puls { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
body.has-buy-bar .asistent-dugme { bottom: 92px; }
body:has(.cookie-bar) .asistent-dugme { bottom: 86px; }
body.asistent-otvoren .asistent-dugme { transform: scale(.85); opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .asistent-dugme .asistent-tekst { display: none; }
  .asistent-dugme { padding: 13px; right: 14px; }
}

.asistent {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 110px));
  display: flex; flex-direction: column; background: var(--paper); border: 2px solid var(--ink);
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: transform .26s var(--ease-out), opacity .2s var(--ease), visibility 0s linear .26s;
}
.asistent.otvoren { transform: none; opacity: 1; visibility: visible; transition: transform .26s var(--ease-out), opacity .2s var(--ease), visibility 0s; }
@media (max-width: 560px) {
  .asistent { right: 0; bottom: 0; width: 100vw; height: 100dvh; border: none; }
}
.asistent-glava { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink); color: #fff; }
.asistent-glava svg { width: 26px; height: 26px; color: var(--chrome); flex-shrink: 0; }
.asistent-glava b { display: block; font-size: 15px; }
.asistent-glava span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .72); }
.asistent-glava button { margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; width: 36px; height: 36px; cursor: pointer; font-size: 15px; flex-shrink: 0; }
.asistent-poruke { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.asistent-poruka { max-width: 88%; padding: 10px 12px; font-size: 14px; line-height: 1.5; animation: poruka-ulaz .25s var(--ease-out) both; }
.asistent-poruka.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--rule); }
.asistent-poruka.kupac { align-self: flex-end; background: var(--cobalt); color: #fff; }
.asistent-poruka a { color: var(--cobalt); font-weight: 600; }
.asistent-poruka p + p { margin-top: 6px; }
@keyframes poruka-ulaz { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.asistent-kuca { align-self: flex-start; display: flex; gap: 4px; padding: 12px; background: var(--card); border: 1px solid var(--rule); }
.asistent-kuca i { width: 6px; height: 6px; background: var(--ink-3); animation: kuca 1s infinite ease-in-out; }
.asistent-kuca i:nth-child(2) { animation-delay: .15s; }
.asistent-kuca i:nth-child(3) { animation-delay: .3s; }
@keyframes kuca { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.asistent-model { display: grid; grid-template-columns: 56px 1fr; gap: 10px; margin-top: 8px; padding: 8px; border: 1px solid var(--rule); background: var(--paper); text-decoration: none; color: var(--ink); }
.asistent-model:hover { border-color: var(--ink); }
.asistent-model img { width: 56px; height: 56px; object-fit: contain; background: var(--paper-2); }
.asistent-model b { display: block; font-size: 14px; }
.asistent-model small { display: block; color: var(--ink-2); font-size: 12px; }
.asistent-model .price { font-size: 15px; }
.asistent-predlozi { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.asistent-predlozi button {
  font: inherit; font-size: 13px; background: var(--card); color: var(--cobalt); border: 1px solid var(--cobalt);
  padding: 7px 10px; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease);
}
.asistent-predlozi button:hover { background: var(--cobalt); color: #fff; }
.asistent-unos { display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); background: var(--card); }
.asistent-unos input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--rule-strong); background: #fff; }
.asistent-unos button { flex: 0 0 auto; }
.asistent-napomena { font-size: 11px; color: var(--ink-3); padding: 0 14px 8px; }

/* Ko je u sistemu tražio manje pokreta, dobija mirnu stranicu. */
@media (prefers-reduced-motion: reduce) {
  .najava-traka { animation: none; flex-wrap: wrap; width: auto; }
  .najava ul[aria-hidden="true"] { display: none; }
  .najava ul { flex-wrap: wrap; justify-content: center; }
  .asistent-tacka, .asistent-kuca i { animation: none; }
  .js [data-model].ulaz { animation: none; }
  .product-card:hover { transform: none; }
  .js .sastav.reveal .slojevi li { opacity: 1; transform: none; transition: none; }
  .js .reveal .polozaj-merac i { transform: none; transition: none; }
}

/* ===============================================================
   22.09.2026 — telefon. 90% poseta dolazi sa telefona.
   =============================================================== */

/* Ispod slike „Dušek se bira jednom…" bila je crna traka: na telefonu tekst
   ide ispod slike, pa se video tamni fon sekcije. Fon je sada papir. */
.photo-band { background: var(--paper); }

/* Naziv u zaglavlju ne sme da se prelomi u dva reda (veći font na telefonu). */
.brand span { white-space: nowrap; }
@media (max-width: 380px) {
  .brand img { height: 26px; }
  .brand span { font-size: 16px; }
}

/* Na ekranu na dodir nema miša. */
@media (hover: none) {
  .marquee-hint { display: none; }
  .product-detail .product-media::after { display: none; }
}

@media (max-width: 900px) {
  /* Stranica proizvoda: dugme „Dodaj u korpu" odmah posle cene i dimenzije.
     Ranije je između stajalo pet stavki poverenja i tvrdoća, pa je dugme bilo
     dva ekrana niže. Stavke poverenja idu odmah ispod dugmeta. */
  .product-buy { display: flex; flex-direction: column; align-items: stretch; }
  .product-buy > .tag { align-self: flex-start; }
  .product-buy > .poruci-tel { order: 1; }
  .product-buy > .trust-strip { order: 2; }
  .product-buy > .poruci-tel ~ * { order: 3; }
  /* Tvrdoća već stoji u ikonama ispod naslova. */
  .product-buy > .tvrdoca-red { display: none; }
  .product-buy .product-price-big { margin-top: 16px; }

  /* Sličice galerije: uska traka umesto kvadrata preko cele širine. */
  .gallery-thumbs { overflow-x: auto; scrollbar-width: none; }
  .gallery-thumb { flex: 0 0 68px; }
}

@media (max-width: 560px) {
  /* Brojke na početnoj: 2×2 umesto četiri reda jedan ispod drugog. */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 20px 0; margin-bottom: 32px; }
  .stats > div:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 14px; }

  /* Koraci porudžbine: ikona levo od teksta, upola niži blokovi. */
  .order-steps { margin-top: 36px; }
  .order-steps-list li { padding: 16px 16px 16px 74px; }
  .order-steps-list .os-ikona { position: absolute; left: 16px; top: 16px; }
  .order-steps-list h3 { margin-top: 0; padding-right: 28px; }
  .order-steps-list .os-num { font-size: 26px; top: 12px; right: 12px; }

  /* Razlozi „Zašto kupci biraju baš ovde": isto — ikona levo. */
  .zasto > div { position: relative; padding-left: 58px; }
  .zasto > div > svg { position: absolute; left: 18px; top: 20px; }
  .zasto > div > h3 { margin-top: 0; }
}

@media (max-width: 560px) {
  /* Kad ikona ima neparan broj, poslednja zauzme ceo red umesto pola. */
  .spec-ikone--velike li:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
}
@media (max-width: 900px) {
  /* Bela kartica sa tekstom sada stoji na svetlom fonu — tanka ivica je odvaja. */
  .photo-band .photo-copy .inner { border: 1px solid var(--rule); border-top: 3px solid var(--ink); }
}

@media (max-width: 560px) {
  /* Katalog: linkovi na dimenzije u jednom redu koji se prevlači, umesto tri reda. */
  .dim-nav .pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .dim-nav .pill { flex: 0 0 auto; white-space: nowrap; }

  /* „Filteri" i sortiranje jedno pored drugog. */
  .katalog-traka { flex-wrap: wrap; gap: 10px; }
  .katalog-traka .katalog-filteri-dugme { width: auto; flex: 1 1 0; }
  .katalog-sort { flex: 1 1 0; }
  .katalog-sort select { width: 100%; }

  /* Kartice modela dve u redu, kao kod velikih prodavnica: 9 modela staje u
     pet redova umesto devet ekrana. Na kartici ostaje slika, naziv, osnovne
     mere i cena — dimenzija se bira na stranici modela ili u filteru. */
  .grid-3:has(> [data-model] .product-card),
  .grid-3:has(> .product-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .grid-3 .product-card .product-body { padding: 10px; gap: 6px; }
  .grid-3 .product-card h3 { font-size: 14.5px; line-height: 1.2; }
  .grid-3 .product-card .product-desc,
  .grid-3 .product-card .pills,
  .grid-3 .product-card .firmness { display: none; }
  .grid-3 .product-card .spec-ikone { gap: 3px 8px; }
  .grid-3 .product-card .spec-ikone li { font-size: 11.5px; gap: 4px; }
  .grid-3 .product-card .spec-ikone svg { width: 14px; height: 14px; }
  .grid-3 .product-card .ship-free { font-size: 9.5px; padding: 3px 5px; letter-spacing: .02em; }
  .grid-3 .product-card .product-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .grid-3 .product-card .product-foot .price { font-size: 17px; }
  .grid-3 .product-card .product-foot .btn { width: 100%; padding-left: 8px; padding-right: 8px; }
  .grid-3 .product-card .kartica-bedzevi .bedz { font-size: 9.5px; padding: 3px 6px; }
}

/* Poručivanje: obrazac i pregled. Ranije je raspored bio upisan u sam HTML
   (dve kolone i na telefonu), pa je obrazac na telefonu bio stisnut u
   uzanu kolonu pored pregleda. */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.checkout-pregled { position: sticky; top: 20px; }
@media (max-width: 760px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Na telefonu pregled ide IZNAD obrasca — kupac prvo vidi šta poručuje i koliko plaća. */
  .checkout-pregled { position: static; order: -1; }
  .checkout-grid .form-grid-2 { grid-template-columns: 1fr; }
  .checkout-grid button[type="submit"] { width: 100%; min-height: 52px; }
}

@media (max-width: 560px) {
  /* Kartice u dva reda moraju biti iste visine i istog rasporeda, bez obzira
     na dužinu naziva jezgra ili broj osobina (22.09.2026, vlasnik: „ni jedna
     nije ista"). */
  .grid-3 .product-card .product-media { aspect-ratio: 1 / 1; }
  /* Bez rezervisane visine za naziv: kad naziv stane u jedan red, ne sme
     ostati prazan red ispod. Kartice u istom redu grid ionako izjednači, a
     cena i dugme su prikovani za dno (product-foot: margin-top auto). */
  .grid-3 .product-card .spec-ikone { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .grid-3 .product-card .spec-ikone li { min-width: 0; white-space: nowrap; }
  .grid-3 .product-card .spec-ikone li:nth-child(n+4) { display: none; }
  .grid-3 .product-card .spec-ikone li > span,
  .grid-3 .product-card .spec-ikone li { overflow: hidden; text-overflow: ellipsis; }
  .grid-3 .product-card .ship-free { white-space: nowrap; align-self: stretch; text-align: center; }
  .grid-3 .product-card .ship-free-dodatak { display: none; }
}
@media (max-width: 560px) {
  .grid-3 .product-card .spec-ikone li { display: flex; max-width: 100%; }
  .grid-3 .product-card .spec-ikone li > span { min-width: 0; }
}

/* ===============================================================
   30.09.2026 — obrazac za poručivanje: vođen unos adrese
   =============================================================== */
.porudzbina .field { gap: 4px; }
.porudzbina .field > label { font-weight: 700; color: var(--ink); font-size: 14px; }
.field-primer { margin: 0 0 4px; font-size: 13px; color: var(--ink-3); }
.field-box { position: relative; }
.field-box input, .field-box textarea { width: 100%; }
.field-box input { padding-right: 42px; }
.field-ok {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: none; color: var(--success); font-weight: 900; font-size: 18px; pointer-events: none;
}
.field.ok .field-ok { display: block; }
.field.ok input { border-color: var(--success); }
.field.err input, .field.err textarea { border-color: var(--oxblood); box-shadow: 0 0 0 3px #FBEDEC; }
.field-poruka { display: none; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: #7A1D17; }
.field.err .field-poruka, .field.upozorenje .field-poruka { display: block; }
.field.upozorenje input { border-color: #B7791F; }
.field.upozorenje .field-poruka { color: #6B4A00; }
.field-predlog {
  display: inline-block; margin: 6px 6px 0 0; padding: 8px 12px; min-height: 40px;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  background: var(--card); color: var(--cobalt); border: 1.5px solid var(--cobalt); border-radius: var(--radius);
}
.field-predlog.tiho { color: var(--ink-2); border-color: var(--rule-strong); font-weight: 600; }
.adresa-uvod {
  margin: 8px 0 -4px; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--ink);
  background: var(--cobalt-tint); border-left: 3px solid var(--cobalt);
}
.adresa-red { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 400px) { .adresa-red { grid-template-columns: 7fr 3fr; } }
.porudzbina [data-poruci] { min-height: 52px; font-size: 16px; }
.porudzbina [data-poruci][disabled] { opacity: .6; cursor: wait; }

/* Ekran provere pre slanja. */
.potvrda {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-end; justify-content: center;
  padding: 16px; background: rgba(20, 22, 26, .55); overflow-y: auto;
}
@media (min-width: 600px) { .potvrda { align-items: center; } }
.potvrda-kutija {
  width: 100%; max-width: 520px; background: var(--paper); border-top: 4px solid var(--cobalt);
  padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 32px); overflow-y: auto;
}
.potvrda-kutija h2 { font-size: 21px; }
.potvrda-podaci { font-size: 18px; line-height: 1.45; border-top: 1px solid var(--rule); padding-top: 12px; }
.potvrda-podaci b { font-size: 20px; }
.potvrda-podaci .faint { font-size: 14px; }
.potvrda-stavke { font-size: 15px; border-top: 1px solid var(--rule); padding-top: 12px; }
.potvrda-stavke p { margin: 0 0 4px; display: flex; justify-content: space-between; gap: 12px; }
.potvrda-dugmad { display: flex; flex-direction: column; gap: 10px; }
.potvrda-dugmad .btn { width: 100%; min-height: 52px; }
.potvrda-dugmad .btn[disabled] { opacity: .6; cursor: wait; }

/* ===============================================================
   30.09.2026 — „Za koga je / nije", poređenja modela, naddušeci
   =============================================================== */
.za-koga { margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 24px; }
.za-koga-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-left: 1px solid var(--rule); }
.za-koga-kutija { padding: 20px 22px; border: 1px solid var(--rule); border-left: none; border-top: none; background: var(--card); }
.za-koga-kutija h2 { font-size: 17px; font-stretch: 90%; }
.za-koga-kutija p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.za-koga-da   { border-top: 3px solid var(--success); }
.za-koga-info { border-top: 3px solid var(--cobalt); }
.za-koga-ne   { border-top: 3px solid var(--oxblood); }
.za-koga-napomena { margin-top: 16px; padding: 12px 16px; background: var(--cobalt-tint); border-left: 3px solid var(--cobalt); font-size: 14px; line-height: 1.55; }
.poredjenja-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.poredjenje-kutija { padding: 18px 20px; border: 1px solid var(--rule); background: var(--paper-2); }
.poredjenje-kutija h3 { font-size: 16px; font-stretch: 90%; }
.poredjenje-kutija p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.poredjenje-kutija a { display: inline-block; margin-top: 10px; font-weight: 700; }
@media (max-width: 560px) {
  .za-koga-grid { grid-template-columns: 1fr; }
  .za-koga-kutija { padding: 16px; }
}
/* Birač debljine: mala oznaka ispod broja (mekša površina / za pretvrd dušek). */
[data-deb-options] .size-option i { display: block; font-size: 11.5px; font-style: normal; opacity: .8; }
/* Bedž „Najpovoljniji za 160x200" u tekstu (stranica modela, lista dimenzije) — ne plutajući. */
.bedz-inline { position: static; display: inline-block; margin: 0 0 8px 8px; vertical-align: middle; }
.dim-lista-telo .bedz-inline { margin: 0 0 4px; display: inline-block; }
/* 30.09.2026 — dužina 190/200 na stranici modela i u katalogu; istaknuta traka (Cooling); tri naddušeka. */
.size-options--duzina .size-option { flex: 0 0 auto; min-width: 110px; }
.filter-duzina { display: flex; gap: 0; margin: 4px 0 10px; border: 1px solid var(--rule-strong); }
.filter-opcija--duzina { flex: 1; justify-content: center; margin: 0; padding: 8px 6px; border-right: 1px solid var(--rule-strong); }
.filter-opcija--duzina:last-child { border-right: none; }
.istaknuto-traka { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--cobalt-tint); border-left: 3px solid var(--cobalt); font-size: 14px; font-weight: 600; color: var(--ink); margin: 12px 0 0; }
.istaknuto-traka svg { color: var(--cobalt); flex-shrink: 0; }
.trojka ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.trojka li { margin-bottom: 6px; }

/* ===============================================================
   01.10.2026 — početna: prvi ekran sa fotografijom, traka poverenja,
   cenovnik po širini, promo naddušeka
   =============================================================== */
.hero2 { position: relative; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.hero2-foto { position: absolute; inset: 0; display: block; }
.hero2-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 85% 40%; }
/* Svetao preliv sleva: tekst stoji na „papiru", fotografija ostaje desno. */
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(251,251,249,.97) 0%, rgba(251,251,249,.93) 44%, rgba(251,251,249,.35) 62%, rgba(251,251,249,.05) 100%);
}
.hero2-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(36px, 5vw, 64px);
}
.hero2-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 12px; }
.hero2 h1 { font-size: clamp(34px, 5vw, 58px); font-stretch: 86%; font-weight: 800; max-width: 16ch; line-height: 1.05; }
.hero2 .hero-podnaslov { max-width: 46ch; color: var(--ink-2); font-weight: 500; }
.hero2-poverenje {
  list-style: none; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule-strong);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; max-width: 560px;
}
.hero2-poverenje li { display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.hero2-poverenje svg { grid-row: 1 / 3; color: var(--cobalt); width: 24px; height: 24px; }
.hero2-poverenje b { font-size: 14px; font-weight: 800; font-stretch: 92%; line-height: 1.2; }
.hero2-poverenje span { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.hero2-kartica {
  background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  padding: 22px 24px 18px; box-shadow: 0 18px 40px -24px rgba(20,22,26,.35);
}
.hero2-kartica .price-tag { border-top: none; padding-top: 0; }
.hero2-kartica .price-tag .amount { font-size: clamp(48px, 6vw, 72px); }
.hero2-kartica .price-rows { margin-top: 14px; }
.hero2-kartica .price-rows a { padding: 9px 0; }
@media (max-width: 900px) {
  .hero2-grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero2::before { background: linear-gradient(180deg, rgba(251,251,249,.97) 0%, rgba(251,251,249,.9) 70%, rgba(251,251,249,.7) 100%); }
  .hero2-foto img { object-position: 60% 30%; }
  .hero2-poverenje { gap: 12px 16px; }
  .hero2-kartica { padding: 18px 16px 14px; }
}
@media (max-width: 420px) { .hero2-poverenje { grid-template-columns: 1fr; } }

.izjava { font-size: 17px; font-weight: 600; max-width: 62ch; margin: 0 0 22px; padding: 14px 18px; border-left: 3px solid var(--ink); background: var(--paper-2); line-height: 1.55; }

.promo-nad { background: var(--ink); color: var(--paper); }
.promo-nad-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.promo-nad-slika { display: block; border: 1px solid rgba(255,255,255,.15); background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; }
.promo-nad-slika img { width: 100%; height: 100%; object-fit: cover; }
.promo-nad .hero2-eyebrow { color: var(--chrome); }
.promo-nad h2 { font-size: clamp(24px, 3vw, 34px); font-stretch: 88%; color: #fff; }
.promo-nad .muted { color: rgba(255,255,255,.8); max-width: 60ch; }
.promo-nad-modeli { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.promo-nad-modeli a { display: flex; flex-direction: column; padding: 10px 14px; border: 1px solid rgba(255,255,255,.3); color: #fff; min-width: 120px; transition: border-color .15s; }
.promo-nad-modeli a:hover { border-color: var(--chrome); }
.promo-nad-modeli b { font-size: 15px; font-stretch: 90%; }
.promo-nad-modeli span { font-size: 12.5px; color: var(--chrome); font-weight: 700; }
.promo-nad .btn-primary { background: var(--chrome); border-color: var(--chrome); color: var(--ink); }
@media (max-width: 760px) { .promo-nad-grid { grid-template-columns: 1fr; } }

/* ===============================================================
   03.10.2026 — dušeci sa zonama: „Šta znače zone" + „Koja zona za vas?"
   =============================================================== */
.zone-blok { margin-top: 44px; border-top: 2px solid var(--ink); padding-top: 24px; }
.zone-blok h2 { font-size: 22px; }
.zone-tabela { min-width: 560px; }
.zone-tabela td:nth-child(2) { font-weight: 800; }

/* ===============================================================
   05.10.2026 — SEO talas: tabela modela na /dusek-*, „Povezano",
   nove prodajne stranice, tabele cena naddušeka
   =============================================================== */
.dim-par { font-size: 14.5px; color: var(--ink-2); }
.dim-par a { font-weight: 700; }

.dim-tabela-wrap { border-top: 2px solid var(--ink); }
.dim-tabela { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.dim-tabela th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.dim-tabela td { padding: 10px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.dim-tabela tbody tr:hover { background: var(--paper-2); }
.dim-t-model a { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.dim-t-model img { width: 56px; height: 56px; object-fit: cover; flex: none; background: var(--paper-2); }
.dim-t-model b { display: block; font-size: 15px; }
.dim-t-model .bedz-inline { margin-top: 4px; display: inline-block; }
.dim-tabela .price { font-size: 17px; white-space: nowrap; }
.dim-t-dugme { text-align: right; white-space: nowrap; }
@media (max-width: 720px) {
  .dim-tabela thead { display: none; }
  .dim-tabela, .dim-tabela tbody { display: block; }
  .dim-tabela tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .dim-tabela td { padding: 0; border: 0; font-size: 13.5px; }
  .dim-tabela td.dim-t-model { grid-column: 1 / -1; margin-bottom: 4px; }
  .dim-tabela td[data-label]::before { content: attr(data-label) ": "; color: var(--ink-3); font-size: 12px; }
  .dim-tabela td[data-label="Cena"] { align-self: center; }
  .dim-tabela td[data-label="Cena"]::before { content: none; }
  .dim-t-dugme { text-align: right; }
}

.povezano { border-top: 1px solid var(--border); padding-top: 28px; }
.povezano h2 { font-size: 19px; }
.povezano-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin-top: 12px; }
.povezano-link { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); transition: border-color .15s; }
.povezano-link:hover { border-color: var(--ink); }
.povezano-link b { font-size: 15px; }
.povezano-link span { font-size: 13px; color: var(--ink-2); }

.cene-tabela-wrap { overflow-x: auto; border-top: 2px solid var(--ink); margin-top: 14px; }
.cene-tabela { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.cene-tabela th, .cene-tabela td { padding: 10px; border-bottom: 1px solid var(--rule); text-align: left; white-space: nowrap; }
.cene-tabela th { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.cene-tabela td:first-child { font-weight: 700; }
.cene-tabela a { color: var(--ink); }

.seo-tekst { max-width: 75ch; }
.seo-tekst h2 { font-size: 22px; margin-top: 32px; }
.seo-sekcija { border-top: 1px solid var(--border); padding-top: 28px; margin-top: 32px; }
.upit-forma { display: grid; gap: 12px; }
.upit-forma label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; }
.upit-forma input, .upit-forma select, .upit-forma textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink); width: 100%; }
.upit-red { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.upit-zamka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.upit-forma .upit-pristanak { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; }
.upit-forma .upit-pristanak input { width: auto; margin-top: 3px; }
.pills .pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
