/* ==========================================================================
   KL PROTEKTION — WordPress tema
   Dizajn-sustav. Boje se mijenjaju u Izgled → Prilagodi → KL Protektion → Boje
   (vrijednosti --red i --slate-900 nadjačava inline stil iz functions.php).
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Brand */
  --red:        #D71921;
  --red-700:    #B0121A;
  --red-800:    #8E0E15;
  --red-50:     #FEF2F2;
  --red-100:    #FDE3E4;

  --ink:        #171C21;   /* naslovi */
  --slate:      #3E474D;   /* iz logotipa */
  --slate-700:  #2B3237;
  --slate-900:  #1B2126;
  --muted:      #6C7880;
  --muted-2:    #98A2A9;

  --line:       #E5E9EC;
  --line-2:     #EEF1F3;
  --bg:         #FFFFFF;
  --soft:       #F5F7F8;
  --soft-2:     #FAFBFC;

  --ok:         #17864C;
  --warn:       #C77700;

  /* Type */
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-disp: 'Barlow Condensed', 'Inter', sans-serif;

  /* Space & shape */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-xs: 0 1px 2px rgba(23,28,33,.06);
  --shadow-sm: 0 2px 8px rgba(23,28,33,.06);
  --shadow:    0 8px 28px rgba(23,28,33,.09);
  --shadow-lg: 0 24px 60px rgba(23,28,33,.16);

  --wrap: 1320px;
  --gut:  24px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* WordPress na slike stavlja width/height atribute. Bez height:auto
   slika se izduži kad joj širinu ograniči kontejner. */
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid rgba(215,25,33,.45); outline-offset: 2px; border-radius: 4px; }

/* --- Layout helpers -------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
/* Širi kontejner — galerija poslovnice se razvlači gotovo do rubova. */
.wrap--wide { max-width: 1680px; }
.sec { padding: 84px 0; }
.sec--tight { padding: 56px 0; }
.sec--soft { background: var(--soft); }
.sec--ink { background: var(--slate-900); color: #CBD3D8; }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.grid { display: grid; gap: 24px; }
.stack > * + * { margin-top: var(--s, 16px); }
.center { text-align: center; }

/* --- Typography ------------------------------------------------------------ */
.display {
  font-family: var(--f-disp);
  font-weight: 700;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: .98;
}
.h1 { font-size: clamp(40px, 6vw, 76px); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); }
.h3 { font-size: clamp(22px, 2.2vw, 28px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--red); display: block;
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head p { margin: 10px 0 0; color: var(--muted); max-width: 56ch; }

/* --- Buttons --------------------------------------------------------------- */
.btn {
  --bg: var(--red); --fg: #fff; --bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  border-radius: var(--r); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { --bg: var(--red-700); --bd: var(--red-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215,25,33,.28); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.5); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.btn--dark { --bg: var(--slate-900); --fg: #fff; --bd: var(--slate-900); }
.btn--dark:hover { --bg: #000; --bd: #000; box-shadow: 0 10px 24px rgba(23,28,33,.28); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn--outline:hover { --bg: var(--soft); --bd: var(--slate); --fg: var(--ink); box-shadow: none; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--red); font-size: 15px;
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Badges ---------------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px; border-radius: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.badge--sale  { background: var(--red); color: #fff; }
.badge--new   { background: var(--slate-900); color: #fff; }
.badge--stock { background: #E7F5ED; color: var(--ok); }
.badge--out   { background: var(--soft); color: var(--muted); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar {
  background: var(--slate-900); color: #A9B4BB;
  font-size: 13px; line-height: 40px; height: 40px; overflow: hidden;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar a { color: #CBD3D8; }
.topbar a:hover { color: #fff; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__item svg { opacity: .8; }
.topbar__usp { color: #fff; font-weight: 500; }
.topbar__usp b { color: var(--red); }
.lang { display: inline-flex; gap: 4px; }
.lang button {
  width: 26px; height: 22px; border-radius: 3px; font-size: 11px; font-weight: 700;
  color: #8D99A1; letter-spacing: .04em;
}
.lang button.is-active { background: rgba(255,255,255,.12); color: #fff; }

.header {
  position: sticky; top: 0; z-index: 200;
  background: #fff; border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: 0 4px 20px rgba(23,28,33,.08); }
.header__main { display: flex; align-items: center; gap: 32px; height: 92px; }
.brand { flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }

/* Search */
.search {
  flex: 1 1 auto; max-width: 620px;
  display: flex; align-items: stretch;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--soft-2); overflow: hidden;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.search:focus-within { border-color: var(--slate); background: #fff; box-shadow: var(--shadow-sm); }
.search select {
  border: 0; background: transparent; padding: 0 14px; font-size: 14px; color: var(--muted);
  border-right: 1px solid var(--line); max-width: 190px; cursor: pointer;
}
.search input { flex: 1; border: 0; background: transparent; padding: 0 16px; height: 50px; font-size: 15px; }
.search input::placeholder { color: var(--muted-2); }
.search button {
  width: 56px; background: var(--red); color: #fff;
  display: grid; place-items: center; transition: background .2s var(--ease);
}
.search button:hover { background: var(--red-700); }

/* Header actions */
.hactions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hact {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  min-width: 62px; padding: 8px 6px; border-radius: var(--r);
  font-size: 11px; font-weight: 600; color: var(--slate);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.hact:hover { background: var(--soft); color: var(--red); }
.hact__count {
  position: absolute; top: 2px; right: 8px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--red); color: #fff; border-radius: 9px;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
  border: 2px solid #fff;
}

/* --- Nav ------------------------------------------------------------------- */
.nav { border-top: 1px solid var(--line-2); background: #fff; }
.nav__list { display: flex; align-items: stretch; gap: 4px; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 7px;
  height: 54px; padding: 0 16px;
  font-size: 14.5px; font-weight: 600; color: var(--slate-700);
  transition: color .18s var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 0;
  height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .24s var(--ease);
}
.nav__item:hover > .nav__link, .nav__link.is-active { color: var(--red); }
.nav__item:hover > .nav__link::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link .chev { transition: transform .2s var(--ease); opacity: .55; }
.nav__item:hover > .nav__link .chev { transform: rotate(180deg); }

.nav__cta {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  height: 54px; padding-left: 18px; font-size: 13.5px; font-weight: 600; color: var(--muted);
}
.nav__cta strong { color: var(--ink); }

/* Dropdown (simple) */
/* Klasičan padajući izbornik (+ izlazni podizbornik) */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease); z-index: 60;
}
.nav__item { position: relative; }
.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown__item { position: relative; }
.dropdown__item > a {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--slate-700); line-height: 1.35;
}
.dropdown__item > a > span { flex: 1; }
.dropdown__item > a .chev, .dropdown__item > a > svg:last-child { flex: 0 0 auto; opacity: .45; }
.dropdown__item > a:hover { background: var(--soft); color: var(--red); }
.dropdown__item:hover > a { background: var(--soft); color: var(--red); }

/* Izlazni podizbornik */
.dropdown--sub {
  top: -9px; left: 100%; margin-left: 2px;
  transform: translateX(6px);
}
.dropdown__item:hover > .dropdown--sub,
.dropdown__item:focus-within > .dropdown--sub { opacity: 1; visibility: visible; transform: translateX(0); }
/* Ako nema mjesta desno, podizbornik ide lijevo. */
.nav__list > .nav__item:last-child .dropdown--sub { left: auto; right: 100%; margin: 0 2px 0 0; }

/* Istaknuta stavka (Akcijska ponuda) */
.dropdown__item.is-akcija > a { color: var(--red); font-weight: 700; }
.dropdown__item.is-akcija > a:hover { background: var(--red-50); }
/* Specifičnost mora nadjačati `.dropdown__item > a > span { flex: 1 }`. */
.dropdown__item > a > .dropdown__flame { display: inline-flex; flex: 0 0 auto; width: auto; color: var(--red); }
.dropdown__flame svg { width: 14px; height: 14px; display: block; }

/* --- Mega menu ------------------------------------------------------------- */
.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-top: 3px solid var(--red);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .24s;
  z-index: 50;
}
.nav__item--mega { position: static; }
.nav__item--mega:hover .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner { display: grid; grid-template-columns: 268px 1fr; min-height: 400px; }

/* left rail */
.mega__rail { background: var(--soft); border-right: 1px solid var(--line); padding: 18px 0; }
.mega__rail button {
  position: relative; display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 12px 18px 12px 24px; text-align: left;
  font-size: 14.5px; font-weight: 600; color: var(--slate-700); line-height: 1.35;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.mega__rail button > span { flex: 1; }
.mega__rail-count {
  font-style: normal; font-size: 11px; font-weight: 700; color: var(--muted-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 8px; min-width: 26px; text-align: center;
  transition: all .16s var(--ease);
}
.mega__rail button:hover .mega__rail-count,
.mega__rail button.is-active .mega__rail-count { border-color: var(--red-100); background: var(--red-50); color: var(--red); }
.mega__rail button::before {
  content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px;
  background: var(--red); border-radius: 0 3px 3px 0; opacity: 0; transition: opacity .16s;
}
.mega__rail button:hover, .mega__rail button.is-active { background: #fff; color: var(--red); }
.mega__rail button.is-active::before { opacity: 1; }
.mega__rail button .chev { opacity: .4; }
/* Istaknuta stavka (Akcijska ponuda) — vitka crvena pločica, ne slab. */
.mega__rail button.is-highlight {
  color: #fff; font-weight: 700; letter-spacing: 0; font-size: 13px; line-height: 1.25;
  background: var(--red); margin: 2px 12px 10px; border-radius: 9px;
  padding: 10px 12px; gap: 9px;
  box-shadow: 0 2px 8px -2px rgba(176,18,26,.45);
}
.mega__rail button.is-highlight::before { display: none; }
.mega__rail button.is-highlight:hover { background: var(--red-700); color: #fff; }
.mega__rail button.is-highlight .chev { opacity: .75; }
/* Na promo pločici brojač je samo šum i guši labelu — sakrij ga. */
.mega__rail button.is-highlight .mega__rail-count { display: none; }
/* Specifičnost mora nadjačati `.mega__rail button > span { flex: 1 }`,
   inače plamen zauzme pola pločice i labela se prelomi. */
.mega__rail button > .mega__flame { display: inline-flex; color: #fff; flex: 0 0 auto; width: auto; }
.mega__flame svg { width: 15px; height: 15px; display: block; }
.mega__rail hr { border: 0; border-top: 1px solid var(--line); margin: 12px 20px; }

/* panels */
.mega__panels { padding: 30px 34px 34px; position: relative; max-height: calc(100vh - 210px); overflow-y: auto; }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; animation: megaIn .26s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.mega__body { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: start; }
.mega__body:has(.mega__promo) { grid-template-columns: 1fr 258px; }
.mega__cols { columns: 4; column-gap: 34px; }
.mega__body:has(.mega__promo) .mega__cols { columns: 3; }

.mega__promo {
  display: block; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--soft-2);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.mega__promo:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
.mega__promo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mega__promo-body { display: block; padding: 16px 18px 18px; }
.mega__promo-body strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.mega__promo-body em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.mega__promo-cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--red);
}
.mega__promo:hover .mega__promo-cta svg { transform: translateX(4px); }
.mega__promo-cta svg { transition: transform .2s var(--ease); }
.mega__group { break-inside: avoid; margin-bottom: 26px; }
.mega__group h4 {
  font-family: var(--f-disp); font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--red);
  display: inline-block;
}
.mega__group h4 a { color: inherit; }
.mega__group h4 a:hover { color: var(--red); }
.mega__group li a {
  display: block; padding: 6px 10px; margin-left: -10px; border-radius: 7px;
  font-size: 14px; color: var(--slate-700);
  transition: color .16s var(--ease), background .16s var(--ease);
}
.mega__group li a:hover { color: var(--red); background: var(--red-50); }
.mega__group .sub { margin: 2px 0 4px 12px; border-left: 1px solid var(--line); padding-left: 10px; }
.mega__group .sub a { font-size: 13px; color: var(--muted); padding: 3px 0; }

.mega__foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--line); background: var(--soft-2); padding: 12px 34px; flex-wrap: wrap;
}
.mega__akcija {
  display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 18px;
  background: var(--red); color: #fff; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 4px 14px rgba(215,25,33,.28); transition: all .2s var(--ease);
}
.mega__akcija:hover { background: var(--red-700); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(215,25,33,.34); color: #fff; }
.mega__akcija svg { animation: klpFlicker 1.6s ease-in-out infinite; }
@keyframes klpFlicker { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .85; } }
.mega__foot .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13px; font-weight: 500; color: var(--slate-700);
  transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip--red { background: var(--red); border-color: var(--red); color: #fff; }
.chip--red:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }

/* burger (mobile) */
.burger { display: none; width: 46px; height: 46px; border-radius: var(--r); border: 1.5px solid var(--line); place-items: center; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--slate-900); }
.hero__bg { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero:not(.hero--slider) .hero__slide { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero__slide.is-active img { animation: heroZoom 7s var(--ease) forwards; }
.hero:not(.hero--slider) .hero__slide img { animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }

.hero__dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px;
  display: flex; gap: 9px; justify-content: center;
}
.hero__dot {
  width: 30px; height: 4px; border-radius: 2px; padding: 0;
  background: rgba(255,255,255,.35); transition: background .25s var(--ease), width .25s var(--ease);
}
.hero__dot:hover { background: rgba(255,255,255,.6); }
.hero__dot.is-active { background: var(--red); width: 44px; }

/* Strelice hero slidera */
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center;
  color: #fff; background: rgba(20,24,28,.32); border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow--prev { left: 22px; }
.hero__arrow--next { right: 22px; }
.hero__arrow:hover.hero__arrow--prev { transform: translateY(-50%) translateX(-2px); }
.hero__arrow:hover.hero__arrow--next { transform: translateY(-50%) translateX(2px); }
@media (max-width: 768px) {
  .hero__arrow { width: 42px; height: 42px; }
  .hero__arrow--prev { left: 10px; }
  .hero__arrow--next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide img, .hero__slide.is-active img { animation: none; transform: none; }
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,25,29,.94) 0%, rgba(20,25,29,.82) 38%, rgba(20,25,29,.25) 72%, rgba(20,25,29,.05) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 96px 0; width: 100%; }
.hero__content { max-width: 660px; color: #fff; }
.hero h1 { color: #fff; margin: 18px 0 0; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__sub { margin: 22px 0 0; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.8); max-width: 52ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 32px; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); flex-wrap: wrap; }
.hero__trust div { color: rgba(255,255,255,.7); font-size: 13.5px; }
.hero__trust strong {
  display: block; font-family: var(--f-disp); font-size: 34px; color: #fff;
  letter-spacing: -.01em; line-height: 1;  margin-bottom: 6px;
}
.hero__trust strong span { color: var(--red); }

/* ==========================================================================
   USP band
   ========================================================================== */
.usp { border-bottom: 1px solid var(--line); background: #fff; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item {
  display: flex; align-items: center; gap: 16px; padding: 28px 26px;
  border-right: 1px solid var(--line);
}
.usp__item:last-child { border-right: 0; }
.usp__ico {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--red-50); color: var(--red); display: grid; place-items: center;
}
.usp__item h4 { font-size: 15px; margin-bottom: 2px; }
.usp__item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ==========================================================================
   Kategorije
   ========================================================================== */
/* Mreža od 6 stupaca: 3 pločice u redu (span 2), a zadnji red se dopuni
   pločicama koje zauzmu pola (span 3) ili cijeli red (span 6) — bez praznina. */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-lg);
  background: var(--slate-900); isolation: isolate;
}
.cat--s2 { grid-column: span 2; aspect-ratio: 4/3; }
.cat--s3 { grid-column: span 3; aspect-ratio: 16/9; }
.cat--s6 { grid-column: span 6; aspect-ratio: 24/7; }
.cat img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.cat::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(18,23,27,.92) 0%, rgba(18,23,27,.5) 40%, rgba(18,23,27,.06) 78%);
  transition: background .4s var(--ease);
}
.cat:hover img { transform: scale(1.07); }
.cat:hover::after { background: linear-gradient(to top, rgba(143,12,18,.92) 0%, rgba(18,23,27,.55) 45%, rgba(18,23,27,.08) 80%); }
.cat__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: #fff; }
.cat__body h3 { color: #fff; font-family: var(--f-disp); font-size: 24px; text-transform: uppercase; letter-spacing: .01em; }
.cat__body span { font-size: 13px; color: rgba(255,255,255,.72); }
.cat__go {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14);
  backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff;
  opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease);
}
.cat:hover .cat__go { opacity: 1; transform: none; background: var(--red); }

/* ==========================================================================
   Product card
   ========================================================================== */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.products--5 { grid-template-columns: repeat(5, 1fr); }
.products--3 { grid-template-columns: repeat(3, 1fr); }

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pcard:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-4px); }
.pcard__media {
  position: relative; aspect-ratio: 1; background: var(--soft-2);
  display: grid; place-items: center; padding: 22px; overflow: hidden;
}
.pcard__media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.pcard:hover .pcard__media img { transform: scale(1.06); }
.pcard__badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pcard__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-xs);
  display: grid; place-items: center; color: var(--muted);
  opacity: 0; transform: translateX(6px); transition: all .25s var(--ease);
}
.pcard:hover .pcard__fav { opacity: 1; transform: none; }
.pcard__fav:hover { color: var(--red); }

.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.pcard__title {
  font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em;
}
.pcard:hover .pcard__title { color: var(--red); }
.pcard__meta { margin-top: auto; }
.price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.price, .price .amount, .price bdi { font-family: var(--f-disp); }
.price .amount { font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price ins { text-decoration: none; }
.price ins .amount { color: var(--red); }
.price del { opacity: 1; text-decoration: none; }
.price del .amount { font-family: var(--f-sans); font-size: 15px; font-weight: 400; color: var(--muted-2); text-decoration: line-through; }
.price__now { font-family: var(--f-disp); font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.price__vat { flex: 0 0 100%; font-family: var(--f-sans); font-size: 11.5px; font-weight: 400; color: var(--muted-2); margin-top: 2px; }
.price--ask .price__now { font-size: 20px; color: var(--muted); }

.pcard__foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pcard__foot .btn { flex: 1; }
.icon-btn {
  width: 46px; height: 46px; flex: 0 0 46px; border: 1.5px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; color: var(--slate); transition: all .2s var(--ease);
}
.icon-btn:hover { border-color: var(--slate); background: var(--soft); }

/* ==========================================================================
   Poslovnica / showroom
   ========================================================================== */
.showroom { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.showroom__gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.showroom__gal a {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--r-lg); aspect-ratio: 4/3; background: var(--soft);
}
/* Prva slika ide preko oba stupca — fotografije poslovnice su pejzažne. */
.showroom__gal a:first-child { grid-column: span 2; aspect-ratio: 16/10; }
/* Varijanta s četiri jednake slike (stranica O nama). */
.showroom__gal--grid a:first-child { grid-column: auto; aspect-ratio: 4/3; }
.showroom__gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.showroom__gal a:hover img { transform: scale(1.06); }
.feat-list { margin-top: 26px; display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; }
.feat-list svg { flex: 0 0 22px; margin-top: 2px; color: var(--red); }

/* ==========================================================================
   Brands
   ========================================================================== */
.brands {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
}
.brands__item {
  background: #fff; aspect-ratio: 5/2.4; display: grid; place-items: center; padding: 18px 20px;
  transition: background .25s var(--ease);
}
.brands__item img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  /* Logotipi su UVIJEK u boji — bez grayscale filtera. */
  filter: none; opacity: 1;
  transition: transform .3s var(--ease);
}
.brands__item:hover { background: var(--soft-2); }
.brands__item:hover img { transform: scale(1.04); }
.brands__name {
  font-family: var(--f-disp); font-size: 21px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-2); text-align: center; transition: color .25s var(--ease);
}
.brands__item:hover .brands__name { color: var(--ink); }
a.brands__item:focus-visible { outline-offset: -3px; }

/* Rotirajuća traka brendova (naslovnica) — logotipi u boji, beskonačna petlja. */
.brands-marquee {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brands-marquee__track {
  display: flex; width: max-content;
  animation: klpBrandScroll 55s linear infinite;
}
.brands-marquee:hover .brands-marquee__track,
.brands-marquee:focus-within .brands-marquee__track { animation-play-state: paused; }
.brands-marquee__item {
  flex: 0 0 auto; width: 180px; height: 96px;
  display: grid; place-items: center; padding: 18px 26px;
}
.brands-marquee__item img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: none; opacity: 1;
  transition: transform .3s var(--ease);
}
.brands-marquee__item:hover img { transform: scale(1.06); }
.brands-marquee__item .brands__name { color: var(--muted-2); }
@keyframes klpBrandScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 600px) { .brands-marquee__item { width: 140px; height: 80px; padding: 14px 20px; } }
@media (prefers-reduced-motion: reduce) {
  .brands-marquee { -webkit-mask-image: none; mask-image: none; }
  .brands-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .brands-marquee__item[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.ctaband { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.ctaband::before {
  content: ''; position: absolute; right: -80px; top: -120px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 62%);
}
.ctaband .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 58px; flex-wrap: wrap; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.86); margin: 10px 0 0; max-width: 54ch; }
.ctaband .btn { --bg: #fff; --fg: var(--red); --bd: #fff; }
.ctaband .btn:hover { --bg: var(--slate-900); --fg: #fff; --bd: var(--slate-900); box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* ==========================================================================
   FOOTER  (widgeti ostaju isti kao sada)
   ========================================================================== */
.footer { background: var(--slate-900); color: #98A5AD; padding-top: 72px; font-size: 14.5px; }
/* Naslovi u podnožju — uvijek bijeli. Pokriva i blokovske widgete
   (koji ignoriraju before_title i ispisuju <h2 class="wp-block-heading">). */
.footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
.footer .widget-title, .footer .widgettitle, .footer .wp-block-heading {
  color: #fff; font-family: var(--f-disp); font-size: 18px; text-transform: uppercase;
  letter-spacing: .07em; margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer h2::after, .footer h3::after, .footer h4::after, .footer h5::after, .footer h6::after,
.footer .widget-title::after, .footer .widgettitle::after, .footer .wp-block-heading::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--red);
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 52px; padding-bottom: 56px; }
.footer a { color: #98A5AD; transition: color .18s var(--ease), padding .18s var(--ease); }
.footer a:hover { color: #fff; }
.footer__links li { margin-bottom: 9px; }
.footer__links a { display: inline-block; }
.footer__links a:hover { padding-left: 4px; }
.footer__logo { height: 38px; width: auto; margin-bottom: 20px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { flex: 0 0 18px; margin-top: 3px; color: var(--red); }
.footer__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.footer__pay span {
  height: 30px; padding: 0 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 5px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #B9C3C9;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 24px 0; font-size: 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.socials { display: flex; gap: 9px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; color: #B9C3C9; transition: all .2s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   BREADCRUMB / page head
   ========================================================================== */
.crumbs { padding: 16px 0; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.crumbs ol { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs .sep { opacity: .4; }

.pagehead { position: relative; overflow: hidden; background: var(--slate-900); color: #fff; }
.pagehead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.pagehead .wrap { position: relative; padding-block: 62px; }
.pagehead h1 { color: #fff; }
.pagehead p { color: rgba(255,255,255,.75); margin-top: 12px; max-width: 60ch; }

/* ==========================================================================
   SHOP (arhiva)
   ========================================================================== */
.shop { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: start; }
/* Sticky bočna traka s vlastitim scrollom — kad ima puno kategorija,
   lista se lista unutar trake, ne treba doskrolati do dna stranice. */
.filters { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; }
/* Uredna, tanka traka za skrolanje */
.filters { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.filters::-webkit-scrollbar { width: 8px; }
.filters::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.filters::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
@media (max-width: 1024px) { .filters { position: static; max-height: none; overflow: visible; } }

/* Lijevi izbornik kategorija */
.catnav {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; margin-bottom: 20px;
}
.catnav__title {
  margin: 0; padding: 14px 18px; font-family: var(--f-disp); font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
  background: var(--soft-2); border-bottom: 1px solid var(--line);
}
.catnav__list { list-style: none; margin: 0; padding: 0; }
.catnav__list .catnav__list { background: var(--soft); }

/* Redak: poveznica + gumb za otvaranje podkategorija */
.catnav__row {
  display: flex; align-items: stretch;
  border-bottom: 1px solid var(--line-2);
}
.catnav__item > .catnav__row > a {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 18px; color: var(--slate); font-weight: 500; font-size: 14.5px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.catnav__list--l2 .catnav__item > .catnav__row > a { padding-left: 32px; font-weight: 400; color: var(--muted); font-size: 14px; }
.catnav__list--l3 .catnav__item > .catnav__row > a { padding-left: 46px; }
.catnav__item > .catnav__row > a:hover { color: var(--red); background: var(--red-50); }
.catnav__item.is-current > .catnav__row > a { color: var(--red); font-weight: 700; }
.catnav__item.is-current > .catnav__row {
  box-shadow: inset 3px 0 0 var(--red);
}

.catnav__count {
  flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--muted-2);
  background: var(--soft-2); border-radius: 999px; padding: 1px 8px; min-width: 22px; text-align: center;
}
.catnav__item.is-current > .catnav__row > a .catnav__count { background: var(--red); color: #fff; }

/* Gumb za otvaranje/zatvaranje */
.catnav__toggle {
  flex: 0 0 40px; width: 40px; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center; color: var(--muted-2);
  border-left: 1px solid var(--line-2);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.catnav__toggle:hover { color: var(--red); background: var(--red-50); }
.catnav__toggle svg { transition: transform .2s var(--ease); }
.catnav__item.is-open > .catnav__row > .catnav__toggle svg { transform: rotate(180deg); }
.catnav__toggle:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

/* Podkategorije — skrivene dok se grana ne otvori */
.catnav__item > .catnav__list { display: none; }
.catnav__item.is-open > .catnav__list { display: block; }

.catnav > .catnav__list > .catnav__item:last-child > .catnav__row { border-bottom: 0; }
.fgroup { border-bottom: 1px solid var(--line); padding: 20px 0; }
.fgroup:first-child { padding-top: 0; }
.fgroup > h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.fgroup ul li { margin-bottom: 3px; }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; cursor: pointer; }
.fcheck input { width: 17px; height: 17px; accent-color: var(--red); flex: 0 0 17px; }
.fcheck span.count { margin-left: auto; font-size: 12px; color: var(--muted-2); }
.fcheck:hover { color: var(--red); }
.ftree > li > a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; font-weight: 600; }
.ftree > li > a:hover { color: var(--red); }
.ftree ul { margin: 2px 0 8px 12px; border-left: 1px solid var(--line); padding-left: 12px; }
.ftree ul a { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13.5px; color: var(--muted); }
.ftree ul a:hover { color: var(--red); }
.range { display: flex; gap: 10px; align-items: center; }
.range input {
  width: 100%; height: 42px; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 0 12px; font-size: 14px; background: var(--soft-2);
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--soft-2); margin-bottom: 26px; flex-wrap: wrap;
}
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count b { color: var(--ink); }
.toolbar__right { display: flex; align-items: center; gap: 12px; }
.select {
  height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
  padding: 0 38px 0 14px; font-size: 14px; cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C7880' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 8px 0 14px;
  background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-100);
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
.pill button { color: currentColor; opacity: .6; display: grid; place-items: center; }
.pill button:hover { opacity: 1; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.pagination a {
  min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; font-size: 14.5px; font-weight: 600; transition: all .18s var(--ease);
}
.pagination a:hover { border-color: var(--slate); }
.pagination a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* ==========================================================================
   PROIZVOD
   ========================================================================== */
.pdp { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.18fr); gap: 52px; align-items: start; }

.gallery { display: grid; grid-template-columns: 92px 1fr; gap: 16px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs button {
  aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--soft-2); padding: 8px; transition: border-color .2s var(--ease);
}
.gallery__thumbs button.is-active { border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__main {
  position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--soft-2); display: grid; place-items: center; padding: 40px; overflow: hidden;
}
.gallery__main img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.gallery__zoom {
  position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--slate);
}
.gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2; }

.pdp__brandrow { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pdp__brand { font-family: var(--f-disp); font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.pdp h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.pdp__sku { font-size: 13.5px; color: var(--muted); margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; }
.pdp__sku b { color: var(--slate-700); font-weight: 600; }
.pdp__excerpt { margin-top: 20px; font-size: 15.5px; color: var(--muted); line-height: 1.7; }

.pricebox {
  margin-top: 26px; padding: 22px 24px; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--r); background: var(--soft-2);
}
.pricebox .price__now { font-size: 40px; }
.pricebox__note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* --- Tablica varijanti (ključni zahtjev) ---------------------------------- */
.variants { margin-top: 30px; }
.variants__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.variants__head h3 { font-family: var(--f-disp); font-size: 21px; text-transform: uppercase; letter-spacing: .04em; }
.variants__hint { font-size: 13px; color: var(--muted); }

.vtable { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.vtable table { font-size: 14.5px; }
.vtable thead th {
  background: var(--soft); text-align: left; padding: 12px 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.vtable tbody tr { border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background .16s var(--ease); }
.vtable tbody tr:last-child { border-bottom: 0; }
.vtable tbody tr:hover { background: var(--soft-2); }
.vtable tbody tr.is-selected { background: var(--red-50); box-shadow: inset 3px 0 0 var(--red); }
.vtable td { padding: 13px 14px; vertical-align: middle; white-space: nowrap; }
.vtable td.v-name { font-weight: 600; color: var(--ink); }
.vtable td.v-name small { display: block; font-weight: 400; font-size: 12px; color: var(--muted-2); margin-top: 2px; white-space: nowrap; }
.vtable td.v-price { font-family: var(--f-disp); font-size: 21px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.vtable tr.is-selected td.v-price { color: var(--red); }
.vtable td.v-num { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.vtable td.v-pick { width: 44px; }
.vradio {
  width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: border-color .18s var(--ease);
}
.vtable tr:hover .vradio { border-color: var(--muted-2); }
.vtable tr.is-selected .vradio { border-color: var(--red); }
.vradio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .18s var(--ease); }
.vtable tr.is-selected .vradio::after { transform: scale(1); }

/* swatch varijanta (alternativa tablici, za boje/veličine) */
.swatches { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 12px; }
.swatch {
  min-width: 58px; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--slate-700);
  display: grid; place-items: center; transition: all .18s var(--ease);
}
.swatch:hover { border-color: var(--slate); }
.swatch.is-active { border-color: var(--red); background: var(--red-50); color: var(--red); }
.swatch:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* --- Cart row -------------------------------------------------------------- */
.cartrow { display: flex; gap: 12px; margin-top: 26px; align-items: stretch; flex-wrap: wrap; }
.qty { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qty button { width: 46px; display: grid; place-items: center; color: var(--slate); background: var(--soft-2); transition: background .16s; }
.qty button:hover { background: var(--line-2); }
.qty input { width: 56px; text-align: center; border: 0; font-weight: 600; font-size: 15px; }
.cartrow .btn { flex: 1; min-width: 220px; height: 58px; }

.pdp__assure { margin-top: 24px; display: grid; gap: 12px; }
.pdp__assure li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.pdp__assure svg { flex: 0 0 20px; margin-top: 2px; color: var(--ok); }
.pdp__assure b { color: var(--slate-700); }

/* --- Tabs ------------------------------------------------------------------ */
.tabs { margin-top: 80px; border-top: 1px solid var(--line); }
.tabs__nav { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tabs__nav button {
  position: relative; padding: 20px 22px; font-size: 15px; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: color .18s var(--ease);
}
.tabs__nav button::after {
  content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform .24s var(--ease);
}
.tabs__nav button:hover { color: var(--ink); }
.tabs__nav button.is-active { color: var(--red); }
.tabs__nav button.is-active::after { transform: scaleX(1); }
.tabs__panel { display: none; padding: 40px 0; max-width: 900px; }
.tabs__panel.is-active { display: block; animation: megaIn .3s var(--ease); }
.tabs__panel h3 { margin: 28px 0 12px; font-size: 19px; }
.tabs__panel h3:first-child { margin-top: 0; }
.tabs__panel ul { list-style: disc; padding-left: 20px; }
.tabs__panel ul li { margin-bottom: 7px; }

.spec { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec tr:nth-child(odd) { background: var(--soft-2); }
.spec th { text-align: left; padding: 13px 18px; font-weight: 600; color: var(--slate-700); width: 42%; font-size: 14.5px; }
.spec td { padding: 13px 18px; font-size: 14.5px; }

.dl-list { display: grid; gap: 10px; }
.dl-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--r); transition: all .2s var(--ease);
}
.dl-item:hover { border-color: var(--red); background: var(--red-50); }
.dl-item__ico { width: 38px; height: 38px; border-radius: 8px; background: var(--red-50); color: var(--red); display: grid; place-items: center; flex: 0 0 38px; }
.dl-item b { display: block; font-size: 14.5px; color: var(--ink); }
.dl-item span { font-size: 12.5px; color: var(--muted); }
.dl-item .btn { margin-left: auto; }

/* ==========================================================================
   O NAMA
   ========================================================================== */
/* Broj stupaca se prilagođava broju brojki (3 brojke = 3 stupca, bez praznine). */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; justify-content: center; }
.stat { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-align: center; }
.stat strong { display: block; font-family: var(--f-disp); font-size: 50px; color: var(--red); line-height: 1; letter-spacing: -.01em; }
.stat span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--muted); }

.masonry { columns: 3; column-gap: 16px; }
/* Galerija poslovnice — uredna mreža 4 u redu (ne stupci), pune širine. */
.masonry--wide {
  columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.masonry--wide a { aspect-ratio: 4/3; overflow: hidden; margin: 0; }
.masonry--wide img { width: 100%; height: 100%; object-fit: cover; }
.masonry a {
  display: block; position: relative; margin-bottom: 16px; break-inside: avoid;
  border-radius: var(--r-lg); overflow: hidden; background: var(--soft);
}
.masonry img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.masonry a:hover img { transform: scale(1.05); }

.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ccard { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: all .25s var(--ease); }
.ccard:hover { box-shadow: var(--shadow); border-color: transparent; }
.ccard h4 { font-size: 16px; margin-bottom: 4px; }
.ccard .role { font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 14px; }
.ccard a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; color: var(--slate-700); }
.ccard a:hover { color: var(--red); }
.ccard svg { color: var(--muted-2); flex: 0 0 17px; }

/* ==========================================================================
   Misc
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.scroller { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.scroller > * { scroll-snap-align: start; flex: 0 0 clamp(220px, 22vw, 280px); }

.notice {
  display: flex; gap: 14px; padding: 16px 20px; border-radius: var(--r);
  background: var(--red-50); border: 1px solid var(--red-100); color: var(--red-800); font-size: 14.5px;
}
.notice svg { flex: 0 0 20px; margin-top: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .cat--s2, .cat--s3 { grid-column: span 3; aspect-ratio: 16/9; }
  .mega__cols { columns: 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .header__main { height: 76px; gap: 18px; }
  .search { display: none; }
  .nav, .topbar { display: none; }
  .burger { display: grid; }
  .pdp, .showroom, .shop { grid-template-columns: 1fr; gap: 36px; }
  .filters { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item:nth-child(2) { border-right: 0; }
  .usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero { min-height: 540px; }
  .masonry { columns: 2; }
  .masonry--wide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gut: 18px; }
  .header__main { height: 66px; gap: 10px; }
  .brand img { height: 26px; }
  .burger { width: 40px; height: 40px; flex: 0 0 40px; }
  .hact { min-width: 40px; padding: 6px 4px; }
  .hact span { display: none; }
  .hact__count { top: -1px; right: 0; }
  /* Sakrij samo „Moj račun” (izravno dijete). Bez `>` selektor je hvatao i
     košaricu, jer je i ona prvo dijete unutar .hact-cart. */
  .hactions > .hact:first-child { display: none; }
  .hero__cta .btn { width: 100%; }
  .sec { padding: 56px 0; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .cat--s2, .cat--s3, .cat--s6 { grid-column: span 6; aspect-ratio: 16/9; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; order: 2; }
  .gallery__thumbs button { flex: 1; }
  .footer__grid, .contacts { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .masonry--wide { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .vtable { overflow-x: auto; }
  .vtable table { min-width: 520px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__trust { gap: 22px; }
  .hero__trust strong { font-size: 26px; }
}
@media (max-width: 520px) {
  .products { grid-template-columns: 1fr; }
  .usp__grid { grid-template-columns: 1fr; }
  .usp__item { border-right: 0 !important; }
}

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer {
  position: fixed; inset: 0 0 0 30%; z-index: 500; background: #fff;
  transform: translateX(105%); transition: transform .32s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
@media (max-width: 560px) { .drawer { inset: 0; } }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 32px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 0 40px; }
.drawer__body a, .drawer__body button.acc {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 20px; font-size: 15.5px; font-weight: 600; color: var(--slate-700); text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.drawer__body .lvl2 a { padding-left: 34px; font-weight: 500; font-size: 14.5px; }
.drawer__body .lvl3 a { padding-left: 48px; font-weight: 400; font-size: 14px; color: var(--muted); }
.drawer__body .sub { display: none; background: var(--soft-2); }
.drawer__body .sub.is-open { display: block; }
.drawer__body button.acc .chev { transition: transform .2s; }
.drawer__body button.acc.is-open .chev { transform: rotate(180deg); }
.overlay {
  position: fixed; inset: 0; z-index: 490; background: rgba(18,23,27,.5);
  opacity: 0; visibility: hidden; transition: all .3s var(--ease); backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   WORDPRESS — općenito
   ========================================================================== */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 16px; top: 16px; z-index: 9999; background: var(--red); color: #fff;
  padding: 12px 20px; border-radius: var(--r); width: auto; height: auto; clip: auto;
}

.wrap--narrow { max-width: 880px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.klp-empty { color: var(--muted); padding: 30px 0; }

.brand--text {
  font-family: var(--f-disp); font-size: 26px; text-transform: uppercase;
  letter-spacing: .04em; color: var(--ink);
}
.brand--text span { border-left: 4px solid var(--red); padding-left: 12px; }
.footer__logo--invert { filter: brightness(0) invert(1); }
.footer__col > .brand { display: block; margin-bottom: 4px; }
.footer__hint, .footer__oib { font-size: 13.5px; margin-top: 14px; }

/* Sadržaj iz uređivača */
.entry-content { font-size: 16.5px; line-height: 1.75; color: var(--slate-700); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-family: var(--f-disp); font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: .5em; }
.entry-content li::marker { color: var(--red); }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content blockquote {
  border-left: 4px solid var(--red); padding: 4px 0 4px 22px; margin-left: 0;
  font-size: 18px; color: var(--ink);
}
.entry-content table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.entry-content th, .entry-content td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; }

/* O nama */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: start; }
.ccard__links a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14.5px; }
.ccard__links a:hover { color: var(--red); }
.ccard__links svg { color: var(--muted-2); flex: 0 0 17px; }
.ccard__text { font-size: 14.5px; color: var(--muted); margin-top: 10px; }
.ccard__text b { color: var(--ink); }
.klp-map { line-height: 0; border-top: 1px solid var(--line); }

/* Objave */
.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.postcard { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.postcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.postcard__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.postcard__media img { width: 100%; height: 100%; object-fit: cover; }
.postcard__body { padding: 22px; }
.postcard__body h3 { font-size: 18px; margin-bottom: 10px; }
.postcard__body p { color: var(--muted); font-size: 14.5px; }
.postcard__body .link-arrow { margin-top: 14px; }

/* Paginacija (WP i WooCommerce) */
.pagination, .woocommerce-pagination { display: flex; justify-content: center; margin-top: 48px; }
.nav-links, .woocommerce-pagination ul { display: flex; gap: 6px; list-style: none; padding: 0; border: 0; }
.woocommerce-pagination li { border: 0; }
.page-numbers {
  min-width: 44px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; font-size: 14.5px; font-weight: 600;
  transition: all .18s var(--ease);
}
.page-numbers:hover { border-color: var(--slate); }
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.page-numbers.dots { border: 0; }

/* Widgeti */
.widget { margin-bottom: 4px; }
.widget ul { display: block; }
.widget li { margin-bottom: 4px; }
.widget li a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14.5px; color: var(--slate-700); }
.widget li a:hover { color: var(--red); }
.widget li.current-cat > a { color: var(--red); font-weight: 600; }
.widget .children { margin: 2px 0 8px 12px; border-left: 1px solid var(--line); padding-left: 12px; }
.widget .children a { font-size: 13.5px; color: var(--muted); }
.widget select { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); padding: 0 12px; background: #fff; }

/* ==========================================================================
   WOOCOMMERCE
   ========================================================================== */

/* Alatna traka arhive */
.woocommerce-result-count { margin: 0; font-size: 14px; color: var(--muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select, .toolbar select {
  height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff;
  padding: 0 38px 0 14px; font-size: 14px; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236C7880' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

.shop--full { grid-template-columns: 1fr; }
.shop__seo { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.shop__seo .entry-content { color: var(--muted); max-width: 80ch; }
.filters__toggle { display: none; margin-bottom: 16px; }

/* Poruke */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 20px; margin: 0 0 24px; border-radius: var(--r); list-style: none;
  background: var(--soft); border: 1px solid var(--line); font-size: 14.5px;
}
.woocommerce-message { background: #E7F5ED; border-color: #BFE3CE; color: #0F5C34; }
.woocommerce-error { background: var(--red-50); border-color: var(--red-100); color: var(--red-800); }
.woocommerce-message .button, .woocommerce-info .button { margin-left: auto; }
/* WooCommerce svoje poruke crta s apsolutno pozicioniranom ikonom (::before),
   koja kod naših flex-kartica pada preko teksta — gasimo je. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none !important; content: none !important; }

/* Galerija proizvoda */
.pdp__gallery { position: relative; }
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft-2); overflow: hidden;
}
.woocommerce-product-gallery__image img { width: 100%; height: auto; mix-blend-mode: multiply; }
.woocommerce-product-gallery .flex-control-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none;
}
/* WooCommerce core postavlja `.woocommerce div.product div.images .flex-control-thumbs li
   { width: 25%; float: left }` (specifičnost 0,4,3) — u našoj grid mreži to stisne
   sličicu na 25% ćelije. Nadjačavamo većom specifičnošću (0,5,3). */
.woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce div.product div.images.woocommerce-product-gallery .flex-control-thumbs li {
  margin: 0; width: 100%; float: none;
}
.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: contain; padding: 8px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--soft-2);
  mix-blend-mode: multiply; transition: border-color .2s var(--ease);
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs img:hover { border-color: var(--red); }
.woocommerce-product-gallery__trigger {
  position: absolute; right: 16px; top: 16px; z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; font-size: 0; color: var(--slate);
}
.woocommerce-product-gallery__trigger::after {
  content: ''; width: 18px; height: 18px; display: block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5M11 8v6M8 11h6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Oznaka akcije na proizvodu */
.pdp__gallery .onsale, .pcard .onsale {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  background: var(--red); color: #fff; border-radius: 5px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* Sažetak proizvoda */
.pdp__summary .product_title { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 16px; }
.pdp__summary > .price { margin: 0 0 18px; }
.pdp__summary > .price .amount { font-size: 40px; }
.pdp__summary .woocommerce-product-details__short-description { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 22px; }
.pdp__summary .product_meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted);
}
.pdp__summary .product_meta > span { display: inline-flex; gap: 6px; }
.pdp__summary .product_meta a { color: var(--slate-700); }
.pdp__summary .product_meta a:hover { color: var(--red); }
.notice--pdp { margin-top: 22px; }
.notice--pdp a { color: inherit; text-decoration: underline; }

/* Obrazac dodavanja u košaricu */
form.cart { margin: 0; }
.quantity { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.quantity .qty {
  width: 66px; text-align: center; border: 0; height: 58px;
  font-weight: 600; font-size: 15px; background: #fff; -moz-appearance: textfield;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; padding: 0 34px; margin-left: 12px;
  background: var(--red); color: #fff; border: 1.5px solid var(--red); border-radius: var(--r);
  font-weight: 600; font-size: 16px;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.single_add_to_cart_button:hover { background: var(--red-700); border-color: var(--red-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215,25,33,.28); }
.single_add_to_cart_button.disabled, .single_add_to_cart_button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.woocommerce div.product form.cart .button.single_add_to_cart_button { background-color: var(--red); border-color: var(--red); color: #fff; }
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover { background-color: var(--red-700); border-color: var(--red-700); }
form.cart .button, form.cart .quantity { vertical-align: middle; }

/* ==========================================================================
   Varijante — tablica i/ili swatch gumbi
   ========================================================================== */

/* Način "table": originalni izbornici skriveni, vidljiva samo tablica. */
.klp-variations--table .variations { display: none; }

/* Načini "both" i "swatches": vidljiv je odabir (swatch gumbi dodatka). */
.klp-variations--both .variations,
.klp-variations--swatches .variations {
  display: block; width: 100%; margin: 0 0 22px; border: 0;
}
.klp-variations--both .variations tbody,
.klp-variations--swatches .variations tbody { display: block; }
.klp-variations--both .variations tr,
.klp-variations--swatches .variations tr {
  display: block; border: 0; background: none; margin-bottom: 16px;
}
.klp-variations--both .variations th.label,
.klp-variations--swatches .variations th.label {
  display: block; width: auto; padding: 0 0 8px; background: none; border: 0; text-align: left;
}
.klp-variations--both .variations th.label label,
.klp-variations--swatches .variations th.label label {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.klp-variations--both .variations td.value,
.klp-variations--swatches .variations td.value {
  display: block; width: auto; padding: 0; background: none; border: 0;
}

.variants__picker-title {
  font-family: var(--f-disp); font-size: 21px; text-transform: uppercase;
  letter-spacing: .04em; margin: 26px 0 14px;
}
.klp-variations--swatches .variants__picker-title { margin-top: 0; }
.klp-variations--both .variants { margin-top: 30px; }

.klp-variations .reset_variations {
  display: inline-block; margin-top: 8px;
  font-size: 13px; color: var(--muted); text-decoration: underline;
}

/* --- Swatch gumbi dodatka "Variation Swatches for WooCommerce" --- */
.klp-variations .variable-items-wrapper {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none;
}
.klp-variations .variable-item {
  margin: 0 !important; box-shadow: none !important;
  border: 1.5px solid var(--line) !important; border-radius: var(--r) !important;
  background: #fff !important; transition: all .18s var(--ease);
}
.klp-variations .button-variable-item {
  min-width: 62px; height: 46px; padding: 0 !important;
}
.klp-variations .button-variable-item .variable-item-span {
  display: grid; place-items: center; height: 100%; padding: 0 16px;
  font-size: 14px; font-weight: 600; color: var(--slate-700); line-height: 1.2;
}
.klp-variations .variable-item:hover { border-color: var(--slate) !important; }
.klp-variations .variable-item.selected,
.klp-variations .variable-item[aria-checked="true"] {
  border-color: var(--red) !important; background: var(--red-50) !important;
  box-shadow: 0 0 0 1px var(--red) !important;
}
.klp-variations .variable-item.selected .variable-item-span,
.klp-variations .variable-item[aria-checked="true"] .variable-item-span { color: var(--red); }
.klp-variations .variable-item.disabled,
.klp-variations .variable-item.out-of-stock {
  opacity: .38; cursor: not-allowed;
}
/* Boje i slike */
.klp-variations .color-variable-item,
.klp-variations .image-variable-item { width: 46px; height: 46px; overflow: hidden; }
.klp-variations .color-variable-item .variable-item-span,
.klp-variations .image-variable-item img { width: 100%; height: 100%; padding: 0; border-radius: 7px; }
.single_variation_wrap { margin-top: 26px; }
.woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce-variation-price .price .amount { font-size: 34px; }
.woocommerce-variation-availability { margin-bottom: 14px; font-size: 14px; }
.woocommerce-variation-description { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.woocommerce-variation-add-to-cart .single_add_to_cart_button { margin-left: 0; flex: 1; min-width: 220px; }
.klp-vrow.is-disabled { opacity: .5; }
.klp-selected-box {
  margin-top: 22px; padding: 20px 24px; border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--r); background: var(--soft-2);
}

/* Kartice (tabovi) */
.woocommerce-tabs { margin-top: 80px; border-top: 1px solid var(--line); }
.woocommerce-tabs ul.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.woocommerce-tabs ul.tabs li { margin: 0; }
.woocommerce-tabs ul.tabs li a {
  position: relative; display: block; padding: 20px 22px;
  font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
}
.woocommerce-tabs ul.tabs li a:hover { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { color: var(--red); }
.woocommerce-tabs ul.tabs li.active a::after {
  content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 3px; background: var(--red);
}
.woocommerce-Tabs-panel { padding: 44px 0 8px; max-width: 900px; font-size: 16px; line-height: 1.75; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-Tabs-panel > * + * { margin-top: 1.1em; }
.woocommerce-Tabs-panel h3 { font-size: 19px; margin-top: 1.7em; }
.woocommerce-Tabs-panel h3:first-child { margin-top: 0; }
.woocommerce-Tabs-panel ul:not(.klp-files) { list-style: disc; padding-left: 22px; }
.woocommerce-Tabs-panel ul:not(.klp-files) li { margin-bottom: .5em; }
.woocommerce-Tabs-panel ul:not(.klp-files) li::marker { color: var(--red); }
.woocommerce-Tabs-panel p { margin: 0 0 1em; }

/* Tablica atributa */
.shop_attributes { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.shop_attributes tr:nth-child(odd) { background: var(--soft-2); }
.shop_attributes th { text-align: left; padding: 13px 18px; font-weight: 600; color: var(--slate-700); width: 42%; font-size: 14.5px; }
.shop_attributes td { padding: 13px 18px; font-size: 14.5px; }
.shop_attributes td p { margin: 0; }

/* Povezani proizvodi.
   WooCommerce na <section> stavlja klasu "products", pa bi je uhvatilo
   pravilo za mrežu. Mreža ostaje samo na unutarnjem <div class="products">. */
.related.products, .upsells.products, .up-sells, section.products { display: block; }
.related.products, .upsells.products, .up-sells { margin-top: 72px; }
.related.products > h2, .upsells.products > h2 {
  font-family: var(--f-disp); font-size: clamp(24px, 2.6vw, 34px); text-transform: uppercase;
  margin-bottom: 28px;
}

/* Zaliha */
.stock.in-stock { color: var(--ok); font-weight: 600; }
.stock.out-of-stock { color: var(--red); font-weight: 600; }

/* Košarica i naplata */
.woocommerce-cart-form table, .shop_table {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff;
}
.shop_table th {
  background: var(--soft); text-align: left; padding: 14px 18px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
.shop_table td { padding: 16px 18px; border-bottom: 1px solid var(--line-2); }
.cart_totals, .woocommerce-checkout-review-order {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: var(--soft-2);
}
/* Gumbi — nadjačavaju WooCommerceovu ljubičastu (#7f54b3).
   Specifičnost mora biti barem .woocommerce button.button.alt = (0,3,1). */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.button.alt.single_add_to_cart_button,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; line-height: 1.2;
  background-color: var(--red); color: #fff;
  border: 1.5px solid var(--red); border-radius: var(--r);
  font-weight: 600; font-size: 15px; text-shadow: none;
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--red-700); border-color: var(--red-700); color: #fff;
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(215,25,33,.28);
}
.woocommerce a.button.alt.disabled,
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled[disabled] {
  background-color: var(--red); opacity: .45; transform: none; box-shadow: none;
}
/* Sporedni gumbi — obrub umjesto pune boje */
.woocommerce a.button.wc-backward,
.woocommerce a.button.wc-forward:not(.checkout),
.woocommerce .woocommerce-message a.button {
  background-color: transparent; color: var(--ink); border-color: var(--line);
}
.woocommerce a.button.wc-backward:hover,
.woocommerce a.button.wc-forward:not(.checkout):hover,
.woocommerce .woocommerce-message a.button:hover {
  background-color: var(--soft); border-color: var(--slate); color: var(--ink); box-shadow: none;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row .select2-container .select2-selection {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 10px 14px; background: #fff; font-size: 15px;
}
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; display: block; }

/* ==========================================================================
   Responsive — dopune
   ========================================================================== */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .postgrid { grid-template-columns: repeat(2, 1fr); }
  .filters__toggle { display: flex; }
  .filters__inner { display: none; }
  .filters__inner.is-open { display: block; }
  .woocommerce-tabs { margin-top: 48px; }
}
@media (max-width: 720px) {
  .postgrid { grid-template-columns: 1fr; }
  .woocommerce-variation-add-to-cart .single_add_to_cart_button { min-width: 0; }
  .single_add_to_cart_button { margin-left: 0; flex: 1; }
  form.cart { display: flex; gap: 12px; flex-wrap: wrap; }
  .pdp__summary > .price .amount { font-size: 32px; }
}

/* Mobilna ladica — dopune */
.drawer__search { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.search--simple { display: flex; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--soft-2); max-width: 100%; }
.search--simple input { flex: 1; border: 0; background: transparent; height: 46px; padding: 0 14px; font-size: 15px; }
.search--simple button { width: 50px; background: var(--red); color: #fff; display: grid; place-items: center; }
.drawer__call {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; background: var(--red); color: #fff; font-weight: 600;
}
.drawer__body .acc-all { font-weight: 700; color: var(--red); }
.drawer__body span.lvl1, .drawer__body span.lvl2, .drawer__body span.lvl3 {
  display: block; padding: 13px 20px; font-weight: 600; color: var(--muted);
  border-bottom: 1px solid var(--line-2);
}
.drawer__body .lvl2 > a, .drawer__body .lvl2 > button { padding-left: 34px; }
.drawer__body .lvl3 > a, .drawer__body .lvl3 > button { padding-left: 48px; font-weight: 400; }
.drawer__body .lvl4 > a, .drawer__body .lvl4 > button { padding-left: 62px; font-size: 14px; color: var(--muted); }

/* Gumbi + / – uz količinu */
.qty-btn {
  width: 46px; display: grid; place-items: center; color: var(--slate);
  background: var(--soft-2); font-size: 18px; line-height: 1; transition: background .16s var(--ease);
}
.qty-btn:hover { background: var(--line-2); }

/* ==========================================================================
   Neutralizacija WooCommerceovog float rasporeda
   (woocommerce-layout.css) — tema koristi CSS grid.
   ========================================================================== */
.woocommerce div.product div.images,
.woocommerce div.product div.summary,
.woocommerce div.product .pdp__gallery,
.woocommerce-page div.product div.images,
.woocommerce-page div.product div.summary {
  float: none; width: auto; margin: 0;
}
.woocommerce div.product div.images.woocommerce-product-gallery { width: 100%; }
/* WooCommerce steže tabove negativnom marginom (li { margin: 0 -5px })
   i gasi razmak (a { padding: .5em 0 }). Vraćamo prozračan raspored. */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0; margin: 0; gap: 2px; border-bottom: 1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 19px 26px; margin: 0;
  font-size: 15px; font-weight: 600; color: var(--muted); white-space: nowrap;
  border-radius: var(--r) var(--r) 0 0; transition: color .18s var(--ease), background .18s var(--ease);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover { color: var(--ink); background: var(--soft-2); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--red); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a::after {
  content: ''; position: absolute; left: 26px; right: 26px; bottom: -1px; height: 3px; background: var(--red);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li { position: relative; }
.woocommerce .products ul, .woocommerce ul.products { margin: 0; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: inherit; }
.woocommerce div.product form.cart { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.woocommerce div.product form.cart.klp-variations { display: block; }
.woocommerce div.product form.cart .button { float: none; }
.woocommerce #respond input#submit.disabled, .woocommerce button.button:disabled { opacity: .45; }
.woocommerce .quantity .qty { width: 66px; }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.gal-zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s var(--ease);
  pointer-events: none;
}
.showroom__gal a:hover .gal-zoom,
.masonry a:hover .gal-zoom,
.showroom__gal a:focus-visible .gal-zoom,
.masonry a:focus-visible .gal-zoom { opacity: 1; transform: none; }

.klp-lb {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.82);
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
  -webkit-backdrop-filter: blur(12px) saturate(1.1); backdrop-filter: blur(12px) saturate(1.1);
}
.klp-lb.is-open { opacity: 1; visibility: visible; }

.klp-lb__stage {
  margin: 0; padding: 0 76px; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.klp-lb__img {
  max-width: 100%; max-height: 82vh; width: auto; height: auto;
  border-radius: var(--r); box-shadow: 0 24px 70px rgba(20,24,28,.28);
  opacity: 1; transition: opacity .2s var(--ease);
}
.klp-lb.is-loading .klp-lb__img { opacity: 0; }

.klp-lb__spinner {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(20,24,28,.18); border-top-color: var(--red);
  opacity: 0; transition: opacity .2s var(--ease);
}
.klp-lb.is-loading .klp-lb__spinner { opacity: 1; animation: klpSpin .7s linear infinite; }
@keyframes klpSpin { to { transform: rotate(360deg); } }

.klp-lb__cap {
  color: var(--muted); font-size: 14.5px; text-align: center;
  max-width: 70ch; line-height: 1.5;
}

.klp-lb__close, .klp-lb__nav {
  position: absolute; z-index: 2;
  display: grid; place-items: center; color: var(--ink);
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(20,24,28,.12);
  border-radius: 50%; transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.klp-lb__close:hover, .klp-lb__nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
.klp-lb__close { top: 20px; right: 20px; width: 48px; height: 48px; }
.klp-lb__nav { top: 50%; margin-top: -28px; width: 56px; height: 56px; }
.klp-lb__nav--prev { left: 20px; }
.klp-lb__nav--next { right: 20px; }
.klp-lb__nav:hover { transform: scale(1.06); }
.klp-lb__nav[hidden], .klp-lb__count[hidden], .klp-lb__cap[hidden] { display: none; }

.klp-lb__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em;
  background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}

@media (max-width: 720px) {
  .klp-lb__stage { padding: 0 12px; }
  .klp-lb__img { max-height: 72vh; }
  .klp-lb__nav { width: 44px; height: 44px; margin-top: -22px; }
  .klp-lb__nav--prev { left: 8px; }
  .klp-lb__nav--next { right: 8px; }
  .klp-lb__close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .gal-zoom { opacity: 1; transform: none; width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .klp-lb, .klp-lb__img, .gal-zoom { transition: none; }
  .klp-lb.is-loading .klp-lb__spinner { animation: none; }
}

/* ==========================================================================
   Proizvodi na upit
   ========================================================================== */
.badge--ask { background: #FFF3E0; color: var(--warn); border: 1px solid #FFE0B2; }

.price__ask {
  font-family: var(--f-disp); font-size: 22px; font-weight: 700;
  color: var(--slate); letter-spacing: -.01em;
}
.price__vat--ask { color: var(--warn); font-weight: 600; }

.btn--ask { --bg: var(--slate-900); --fg: #fff; --bd: var(--slate-900); }
.btn--ask:hover { --bg: #000; --bd: #000; box-shadow: 0 10px 24px rgba(23,28,33,.28); }

/* Samo za pregled (katalozi i sl.) */
.badge--view { background: #E8EEF6; color: #1E4B8F; border: 1px solid #D2DEF0; }
.price__view {
  display: inline-block; font-family: var(--f-disp); font-size: 15px; font-weight: 600;
  letter-spacing: .02em; color: #1E4B8F; background: #E8EEF6;
  border: 1px solid #D2DEF0; border-radius: 999px; padding: 4px 12px;
}
.inquiry--view { background: #F3F6FB; border-color: #D2DEF0; border-left-color: #1E4B8F; }
.inquiry--view .badge--view { background: #fff; }

/* Upitna košarica */
.klp-quote-hint { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.6; text-align: center; }
.klp-quote-items { margin-bottom: 18px; padding: 14px 16px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); }
.klp-quote-items > strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }
.klp-quote-items__list { list-style: none; margin: 0; padding: 0; max-height: 210px; overflow-y: auto; }
.klp-quote-items__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px;
}
.klp-quote-items__list li:last-child { border-bottom: 0; }
.klp-quote-item__name { color: var(--ink); }
.klp-quote-item__name small { color: var(--muted-2); font-weight: 400; }
.klp-quote-item__qty { flex: 0 0 auto; font-weight: 700; color: var(--red); white-space: nowrap; }

/* Natrag na vrh */
.klp-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--red); color: #fff;
  box-shadow: 0 6px 20px -4px rgba(176,18,26,.5);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), visibility .25s, transform .25s var(--ease), background .2s var(--ease);
}
.klp-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.klp-top:hover { background: var(--red-700); }
.klp-top:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
/* Kad je traka kolačića otvorena, digni gumb iznad nje. */
.klp-top.is-raised { bottom: 200px; }
@media (max-width: 720px) {
  .klp-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .klp-top.is-raised { bottom: 240px; }
}

/* Jednostavne varijacije — tablica opcija */
.price--from { display: inline-block; }
.klp-variants { margin: 22px 0 4px; }
.klp-variants__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 10px; }
.klp-variants__table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; background: #fff;
}
.klp-variants__table th, .klp-variants__table td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.klp-variants__table thead th {
  background: var(--soft-2); font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); font-weight: 700;
}
.klp-variants__table tbody tr:last-child td { border-bottom: 0; }
.klp-variants__table tbody tr:hover { background: var(--red-50); }
.klp-variants__price { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.klp-variants__table td:first-child { font-weight: 600; }
/* Odabir opcije za upit */
.klp-variants__table.is-selectable tbody tr { cursor: pointer; }
.klp-variants__pick { width: 40px; text-align: center; }
.klp-variants__pick input { accent-color: var(--red); width: 17px; height: 17px; pointer-events: none; }
.klp-variant-row.is-selected { background: var(--red-50); }
.klp-variant-row.is-selected td { color: var(--red-800); }
.klp-variant-row:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.klp-variants__hint { margin: 10px 2px 0; font-size: 13px; color: var(--muted); }
.klp-inquiry-variant { color: var(--red); font-weight: 600; }

.inquiry {
  margin-top: 26px; padding: 24px;
  border: 1px solid #FFE0B2; border-left: 4px solid var(--warn);
  border-radius: var(--r); background: #FFFBF5;
}
.inquiry__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.inquiry__head strong { color: var(--ink); font-size: 16px; }
.inquiry p { color: var(--muted); font-size: 14.5px; line-height: 1.65; margin: 0 0 18px; }
.inquiry__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.inquiry__actions .btn { flex: 1 1 auto; min-width: 200px; }

/* Kad je proizvod na upit, WooCommerce ne ispisuje obrazac za košaricu. */
.klp-pdp-wrap .inquiry + .pdp__assure { margin-top: 22px; }

/* ==========================================================================
   Dokumentacija — PDF poveznice i dodatak za privitke (wcpoa)
   ========================================================================== */
.woocommerce-Tabs-panel a[href$=".pdf"],
.woocommerce-Tabs-panel a[href$=".PDF"],
.entry-content a[href$=".pdf"],
.entry-content a[href$=".PDF"],
.wcpoa-attachment-list a,
[id*="wcpoa"] table a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 18px 13px 14px; margin: 4px 8px 4px 0;
  border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px;
  text-decoration: none; transition: all .2s var(--ease);
}
.woocommerce-Tabs-panel a[href$=".pdf"]::before,
.woocommerce-Tabs-panel a[href$=".PDF"]::before,
.entry-content a[href$=".pdf"]::before,
.entry-content a[href$=".PDF"]::before,
.wcpoa-attachment-list a::before,
[id*="wcpoa"] table a::before {
  content: ''; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px;
  background: var(--red-50); color: var(--red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23D71921' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v5h5'/%3E%3Cpath d='M12 12v6M9 15l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.woocommerce-Tabs-panel a[href$=".pdf"]:hover,
.entry-content a[href$=".pdf"]:hover,
.wcpoa-attachment-list a:hover,
[id*="wcpoa"] table a:hover {
  border-color: var(--red); background-color: var(--red-50); color: var(--red-800);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

/* Tablica privitaka iz dodatka */
[id*="wcpoa"] table { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
[id*="wcpoa"] table th {
  background: var(--soft); text-align: left; padding: 12px 16px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted);
}
[id*="wcpoa"] table td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.attachment-restriction-msg:empty { display: none; }

/* ==========================================================================
   Mini košarica (hover na ikonu košarice)
   ========================================================================== */
.hact-cart { position: relative; }
.hact-cart > .hact { width: 100%; }

.minicart {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 300;
  width: 360px; max-width: calc(100vw - 32px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985);
  transform-origin: top right;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* Nevidljivi most prema ikoni da izbornik ne nestane dok se miš spušta. */
.minicart::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.hact-cart:hover .minicart,
.hact-cart:focus-within .minicart,
.hact-cart.is-open .minicart { opacity: 1; visibility: visible; transform: none; }

.minicart__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 16px 12px; border-bottom: 1px solid var(--line-2);
}
.minicart__head strong { font-size: 14px; color: var(--ink); }
.minicart__head span { font-size: 12.5px; color: var(--muted); }

.minicart__list { max-height: 320px; overflow-y: auto; padding: 6px; margin: 0; }
.minicart__item {
  position: relative; display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 34px 10px 10px; border-radius: var(--r);
  transition: background .16s var(--ease);
}
.minicart__item:hover { background: var(--soft-2); }
.minicart__thumb { flex: 0 0 54px; width: 54px; }
.minicart__thumb img {
  width: 54px; height: 54px; object-fit: contain; border-radius: 8px;
  background: var(--soft-2); padding: 4px; mix-blend-mode: multiply;
}
.minicart__info { min-width: 0; }
.minicart__name {
  display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--ink);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.minicart__name:hover { color: var(--red); }
.minicart__qty { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.minicart__qty .amount { font-family: var(--f-disp); font-size: 15px; color: var(--ink); font-weight: 700; }
.minicart__item .variation { margin: 3px 0 0; font-size: 12px; color: var(--muted-2); }
.minicart__item .variation dt, .minicart__item .variation dd { display: inline; margin: 0; }

.minicart__item .remove {
  position: absolute; top: 10px; right: 8px; z-index: 2;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 17px; line-height: 1;
  color: var(--muted-2); background: transparent; text-decoration: none;
  transition: all .16s var(--ease);
}
.minicart__item .remove:hover { background: var(--red-50); color: var(--red); }

.minicart__total {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; margin-top: 4px; border-top: 1px solid var(--line-2);
}
.minicart__total span { font-size: 13.5px; color: var(--muted); }
.minicart__total strong, .minicart__total .amount {
  font-family: var(--f-disp); font-size: 24px; color: var(--ink); font-weight: 700;
}
.minicart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }

.minicart__empty { padding: 34px 20px; text-align: center; color: var(--muted); }
.minicart__empty svg { margin: 0 auto 12px; color: var(--muted-2); width: 30px; height: 30px; }
.minicart__empty p { font-size: 14px; margin-bottom: 16px; }

@media (max-width: 1024px) { .minicart { display: none; } }

/* ==========================================================================
   Stranica Brendovi
   ========================================================================== */
.brands-head { margin-bottom: 28px; }
.brands-head__note { margin-top: 12px; color: var(--muted); max-width: 70ch; font-size: 16px; }

/* Stranica Brendovi — čista bijela mreža, bez obruba i razdjelnika. */
.brands--page {
  grid-template-columns: repeat(5, 1fr);
  background: transparent; border: 0; border-radius: 0; overflow: visible;
  gap: 10px;
}
.brands--page .brands__item {
  aspect-ratio: auto; padding: 22px;
  display: flex; align-items: center; justify-content: center;
  min-height: 150px; background: #fff; border-radius: var(--r);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.brands--page .brands__item:hover {
  background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.brands--page .brands__item img { max-height: 78px; }
a.brands--page-item { cursor: pointer; }

@media (max-width: 1200px) { .brands--page { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .brands--page { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  {
  .brands--page { grid-template-columns: repeat(2, 1fr); }
  .brands--page .brands__item { min-height: 140px; padding: 18px 14px 14px; }
  .brands--page .brands__item img { max-height: 54px; }
}

/* ==========================================================================
   Katalog mod — web-shop isključen (samo cijene, bez kupnje)
   ========================================================================== */
/* Sigurnosna mreža: makni sve što bi vodilo u kupnju, ako je gdje ostalo. */
.klp-catalog .single_add_to_cart_button,
.klp-catalog form.cart .quantity,
.klp-catalog .woocommerce-variation-add-to-cart,
.klp-catalog .cartrow,
.klp-catalog .add_to_cart_button,
.klp-catalog .added_to_cart { display: none !important; }

/* Napomena umjesto košarice na proizvodu. */
.catalog-note {
  margin: 22px 0 0; padding: 16px 20px;
  border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: var(--r); background: var(--soft-2);
  font-size: 15px; color: var(--slate-700);
}

/* Telefon u zaglavlju kad je shop isključen. */
.hact--phone { flex-direction: row; gap: 8px; min-width: 0; padding: 8px 12px; }
.hact--phone span { display: inline; font-size: 13.5px; font-weight: 600; }
@media (max-width: 720px) { .hact--phone span { display: none; } }

/* ==========================================================================
   Skočni obrazac za upit
   ========================================================================== */
.klp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.klp-modal {
  position: fixed; inset: 0; z-index: 9998;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), visibility .25s;
}
.klp-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.klp-modal__overlay { position: absolute; inset: 0; background: rgba(12,16,19,.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.klp-modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 540px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 30px 32px 34px; transform: translateY(14px) scale(.98);
  transition: transform .28s var(--ease);
}
.klp-modal.is-open .klp-modal__dialog { transform: none; }
.klp-modal__close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted); background: var(--soft-2);
  transition: all .18s var(--ease);
}
.klp-modal__close:hover { background: var(--red-50); color: var(--red); }

.klp-modal__head { margin-bottom: 20px; padding-right: 40px; }
.klp-modal__head h3 { font-family: var(--f-disp); font-size: 26px; text-transform: uppercase; letter-spacing: .01em; margin: 10px 0 8px; }
.klp-modal__for { font-size: 14px; color: var(--muted); margin: 0; }
.klp-modal__for b { color: var(--ink); }
.klp-inquiry-sku { color: var(--muted-2); }

.klp-inquiry-form { display: grid; gap: 14px; }
.klp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.klp-field { display: grid; gap: 6px; }
.klp-field--qty { max-width: 120px; }
.klp-field label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.klp-field input, .klp-field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 11px 13px; font-size: 15px; background: var(--soft-2); color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.klp-field input:focus, .klp-field textarea:focus { border-color: var(--slate); background: #fff; outline: none; }
.klp-field textarea { resize: vertical; min-height: 92px; }

.klp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.klp-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 1px; accent-color: var(--red); }

.klp-inquiry-msg { font-size: 14px; border-radius: var(--r); }
.klp-inquiry-msg.is-error { padding: 12px 16px; background: var(--red-50); border: 1px solid var(--red-100); color: var(--red-800); }
.klp-inquiry-msg.is-ok {
  padding: 22px 20px; text-align: center; font-size: 16px; font-weight: 600; color: var(--ok);
  background: #E7F5ED; border: 1px solid #BFE3CE; border-radius: var(--r-lg);
}
.klp-inquiry-note { font-size: 12.5px; color: var(--muted-2); text-align: center; margin: 4px 0 0; }
.klp-inquiry-submit[disabled] { opacity: .6; cursor: wait; }

@media (max-width: 520px) {
  .klp-modal__dialog { padding: 24px 20px 26px; }
  .klp-field-row { grid-template-columns: 1fr; }
  .klp-modal__head h3 { font-size: 22px; }
}

/* ==========================================================================
   Kolačići — traka za privolu (dolje desno)
   ========================================================================== */
.klp-cookies {
  position: fixed; z-index: 9997; right: 20px; bottom: 20px;
  width: 380px; max-width: calc(100vw - 32px);
  animation: klpCookieIn .35s var(--ease);
}
@keyframes klpCookieIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.klp-cookies[hidden] { display: none; }
.klp-cookies__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
}
.klp-cookies__title { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }
.klp-cookies__body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
.klp-cookies__body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }

.klp-cookies__options { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.klp-cookies__options[hidden] { display: none; }
.klp-cookies__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.klp-cookies__opt b { color: var(--slate-700); }
.klp-cookies__opt input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 1px; accent-color: var(--red); }
.klp-cookies__opt.is-locked { opacity: .8; cursor: default; }

.klp-cookies__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.klp-cookies__actions .btn { flex: 1 1 auto; }
.klp-cookies__link {
  background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 6px 4px;
}
.klp-cookies__link:hover { color: var(--red); }
.klp-cookies__save[hidden] { display: none; }

@media (max-width: 520px) {
  .klp-cookies { right: 12px; left: 12px; bottom: 12px; width: auto; }
}

/* ==========================================================================
   Podnožje — donja traka: copyright lijevo, pravne poveznice desno
   ========================================================================== */
.footer__bottom { flex-wrap: wrap; }
.footer__copy { flex: 1 1 auto; }
.footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  font-size: 12.5px; margin-left: auto;
}
.footer__legal a, .footer__legal .klp-cookie-settings {
  color: #98A5AD; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12.5px; transition: color .18s var(--ease);
}
.footer__legal a:hover, .footer__legal .klp-cookie-settings:hover { color: #fff; }
.footer__legal .sep { color: rgba(255,255,255,.2); }
@media (max-width: 720px) {
  .footer__legal { margin-left: 0; width: 100%; justify-content: center; }
  /* Copyright centriran, "Designed by Medialab" u novom redu. */
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__copy { flex: 1 1 100%; text-align: center; }
  .footer__copy-main, .footer__by { display: block; }
  .footer__by { margin-top: 4px; }
}

/* ==========================================================================
   Mobilni header — logo lijevo, hamburger desno, glass
   ========================================================================== */
@media (max-width: 1024px) {
  .header {
    background: rgba(255,255,255,.72);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
    backdrop-filter: saturate(170%) blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.5);
    box-shadow: 0 2px 20px rgba(23,28,33,.06);
  }
  :root[data-theme="dark"] .header { background: rgba(21,25,28,.7); border-bottom-color: rgba(255,255,255,.08); }
  .header__main { justify-content: space-between; }
  .header__main .brand { order: 1; margin-right: auto; }
  .header__main .hactions { order: 2; margin-left: 0; }
  .burger { order: 3; background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
  .burger:hover { background: #fff; }
  .nav { display: none; }
}
@media (min-width: 1025px) { .header__main .brand { order: 0; } }

/* ==========================================================================
   Mobilna ladica — logo gore, ispod stavke s ikonama
   ========================================================================== */
.drawer__ico {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center; color: var(--red); background: var(--red-50);
  margin-right: 12px;
}
.drawer__ico svg { width: 17px; height: 17px; }
.drawer__label { flex: 1; }
.drawer__body > a.lvl1,
.drawer__body > span.lvl1,
.drawer__body > button.acc.lvl1 { display: flex; align-items: center; }
.drawer__body > a.lvl1 .drawer__label,
.drawer__body > span.lvl1 .drawer__label,
.drawer__body > button.acc.lvl1 .drawer__label { font-weight: 600; }
/* podrazine bez ikona ostaju uvučene */
.drawer__body .lvl2 .drawer__label,
.drawer__body .lvl3 .drawer__label,
.drawer__body .lvl4 .drawer__label { flex: 1; }

/* ==========================================================================
   Kontakt obrazac
   ========================================================================== */
.klp-contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.klp-contact-intro .entry-content { font-size: 16px; }
.klp-contact {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.klp-contact__title { font-family: var(--f-disp); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.klp-contact-form { display: grid; gap: 14px; }
.klp-contact-form .klp-field label { font-size: 13px; font-weight: 600; color: var(--slate-700); }
.klp-contact-msg { font-size: 14px; border-radius: var(--r); }
.klp-contact-msg.is-error { padding: 12px 16px; background: var(--red-50); border: 1px solid var(--red-100); color: var(--red-800); }
.klp-contact-msg.is-ok {
  padding: 26px 22px; text-align: center; font-size: 16px; font-weight: 600; color: var(--ok);
  background: #E7F5ED; border: 1px solid #BFE3CE; border-radius: var(--r-lg);
}
.klp-contact-submit { justify-self: start; }
@media (max-width: 900px) { .klp-contact-wrap { grid-template-columns: 1fr; gap: 30px; } }

/* Stranica Kontakt — obrazac odmah na vrhu, naslov u lijevom stupcu. */
.klp-contact-sec { padding-top: 48px; }
.klp-contact-intro__title { margin: 14px 0 14px; }
.klp-contact-intro .lead { margin-bottom: 22px; }
.klp-contact-intro .entry-content { font-size: 16px; color: var(--slate-700); }
.klp-contact-intro .entry-content p:last-child { margin-bottom: 0; }
/* Obrazac malo podignut da vizualno "krene" s naslovom. */
.klp-contact-sec .klp-contact { margin-top: 6px; padding: 32px 34px; box-shadow: var(--shadow); }

/* Brzi kontakt uz obrazac */
.klp-quick { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.klp-quick li { display: flex; align-items: center; gap: 13px; font-size: 15px; color: var(--slate-700); }
.klp-quick__ico {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--red); background: var(--red-50);
}
.klp-quick__ico svg { width: 18px; height: 18px; }
.klp-quick a { color: var(--slate-700); font-weight: 600; }
.klp-quick a:hover { color: var(--red); }
@media (max-width: 900px) {
  .klp-contact-sec { padding-top: 34px; }
  .klp-contact-sec .klp-contact { margin-top: 0; padding: 26px 22px; }
}

/* Cloudflare Turnstile widget u obrascima */
.klp-turnstile { margin: 2px 0; min-height: 1px; }
.klp-turnstile:empty { margin: 0; }
