/* ==========================================================================
   KUMRIĆ ENTERIJER - Design system v1.0
   Pravac: „Tehnički list“ - arhitektonska preciznost, toplina drveta.
   Archivo (variable, wdth 62–125) + IBM Plex Mono za šifre, mere i oznake.
   ========================================================================== */

/* ---------- 1. Tokeni ---------- */
:root {
  --paper: #f6f5f2;
  --paper-2: #eeece7;
  --paper-3: #e3e0d9;
  --card: #fbfaf8;
  --ink: #171a1c;
  --ink-2: #34383a;
  --ink-3: #5e6366;
  --ink-4: #8c9092;
  --line: rgba(23, 26, 28, 0.11);
  --line-2: rgba(23, 26, 28, 0.2);
  --line-3: rgba(23, 26, 28, 0.34);
  --line-inv: rgba(246, 245, 242, 0.14);
  --wood: #a57b55;
  --wood-600: #8e6743;
  --wood-700: #6f5033;
  --wood-200: #d9c5ae;
  --wood-100: #ede3d7;
  --wood-50: #f4eee6;

  --ok: #3d6a4c;
  --ok-bg: #e3ebe4;
  --warn: #9c6b17;
  --warn-bg: #f2e8d3;
  --err: #a0412d;
  --err-bg: #f3e0da;
  --info: #3d5968;
  --info-bg: #e1e7ea;

  --f-sans:
    "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1560px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --section: clamp(72px, 9vw, 144px);
  --header-h: 76px;
  --r: 2px;
  --r-2: 4px;

  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.22s;
  --t: 0.45s;
  --t-slow: 0.9s;

  --sh-1:
    0 1px 0 rgba(23, 26, 28, 0.04), 0 14px 34px -22px rgba(52, 38, 24, 0.32);
  --sh-2:
    0 40px 90px -40px rgba(40, 28, 16, 0.42), 0 2px 6px rgba(23, 26, 28, 0.04);
  --sh-3: 0 24px 60px -18px rgba(23, 26, 28, 0.28);
  color-scheme: light;
}

/* ---------- 2. Reset / baza ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
body {
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings:
    "ss01",
    "tnum" 0;
  overflow-x: clip;
}
body::after {
  /* fina zrnasta tekstura papira - fiksna, bez repaint-a pri skrolu */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
table {
  border-collapse: collapse;
  width: 100%;
}
fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}
::selection {
  background: var(--wood-200);
  color: var(--ink);
}
main {
  display: block;
  outline: none;
}

.sr-only {
  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 {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  transition: top var(--t-fast) var(--ease);
}
.skip:focus {
  top: 12px;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
}
.mono {
  font-family: var(--f-mono);
  font-feature-settings: "zero" 1;
  letter-spacing: 0;
}
.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- 3. Tipografija ---------- */
.display,
.h1,
.h2,
.h3,
.h4,
.h5,
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
  font-stretch: 112%;
  letter-spacing: -0.028em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(42px, 5.9vw, 96px);
  font-weight: 450;
  letter-spacing: -0.042em;
  line-height: 0.96;
}
.h1,
h1 {
  font-size: clamp(36px, 4.4vw, 68px);
  letter-spacing: -0.036em;
}
.h2,
h2 {
  font-size: clamp(30px, 3.3vw, 52px);
  letter-spacing: -0.032em;
  line-height: 1.04;
}
.h3,
h3 {
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.022em;
}
.h4,
h4 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.016em;
  font-stretch: 108%;
}
.h5,
h5 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-stretch: 106%;
}
.h6,
h6 {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.display em,
.h1 em,
.h2 em,
h1 em,
h2 em {
  font-style: normal;
  color: var(--wood-600);
}
.lead {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
p {
  text-wrap: pretty;
}
.body-l {
  font-size: 18px;
  line-height: 1.65;
}
.small {
  font-size: 14px;
}
.fine {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.fine a,
.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-3);
}
.fine a:hover,
.prose a:hover {
  text-decoration-color: var(--wood);
}
.label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.muted {
  color: var(--ink-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--wood);
  flex: none;
}
.eyebrow__no {
  color: var(--ink);
}
.eyebrow__no + span::before {
  content: "- ";
  color: var(--ink-4);
}
.on-dark .eyebrow,
.eyebrow--inv {
  color: rgba(246, 245, 242, 0.62);
}
.on-dark .eyebrow__no {
  color: var(--paper);
}

.prose {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 68ch;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  margin-top: 1.8em;
}
.prose h3 {
  font-size: 22px;
  margin-top: 1.6em;
}
.prose ul {
  list-style: none;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li + li {
  margin-top: 0.45em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 1px;
  background: var(--wood);
}
.prose ol {
  counter-reset: n;
}
.prose ol li {
  counter-increment: n;
  position: relative;
  padding-left: 38px;
}
.prose ol li + li {
  margin-top: 0.5em;
}
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--wood-600);
  top: 0.25em;
}
.prose blockquote {
  border-left: 2px solid var(--wood);
  padding: 4px 0 4px 24px;
  font-size: 22px;
  line-height: 1.45;
  font-stretch: 106%;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: 1040px;
}
.container--text {
  max-width: 820px;
}
.section {
  padding-block: var(--section);
}
.section--tight {
  padding-block: clamp(48px, 6vw, 88px);
}
.section--paper2 {
  background: var(--paper-2);
}
.section--card {
  background: var(--card);
}
.section + .section--flush-top {
  padding-top: 0;
}
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
}
.stack > * + * {
  margin-top: var(--stack, 16px);
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.row--between {
  justify-content: space-between;
}
.hr {
  height: 1px;
  background: var(--line);
  border: 0;
}
.on-dark {
  background: var(--ink);
  color: var(--paper);
}
.on-dark .h1,
.on-dark .h2,
.on-dark .h3,
.on-dark .h4,
.on-dark h1,
.on-dark h2,
.on-dark h3,
.on-dark h4,
.on-dark .display {
  color: var(--paper);
}
.on-dark .lead {
  color: rgba(246, 245, 242, 0.72);
}
.span-2 {
  grid-column: 1 / -1;
}

/* Sekcijsko zaglavlje - asimetrično */
.shead {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 32px clamp(24px, 6vw, 120px);
  align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 64px);
}
.shead__side {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-bottom: 6px;
}
.shead .h2 {
  max-width: 17ch;
}
@media (max-width: 900px) {
  .shead {
    grid-template-columns: 1fr;
  }
}

/* ---------- 5. Tehnički detalji: kote i crop marke ---------- */
.dim {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  width: 100%;
}
.dim i {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  position: relative;
}
.dim i:first-child::before,
.dim i:last-child::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 1px;
  height: 11px;
  background: currentColor;
}
.dim i:first-child::before {
  left: 0;
}
.dim i:last-child::after {
  right: 0;
}
.dim em {
  font-style: normal;
  white-space: nowrap;
}
.dim--inv {
  color: rgba(246, 245, 242, 0.8);
}
.dim--v {
  flex-direction: column;
  width: auto;
  height: 100%;
}
.dim--v i {
  width: 1px;
  height: auto;
  flex: 1;
}
.dim--v i:first-child::before,
.dim--v i:last-child::after {
  top: auto;
  left: -5px;
  width: 11px;
  height: 1px;
}
.dim--v i:first-child::before {
  top: 0;
}
.dim--v i:last-child::after {
  bottom: 0;
  right: auto;
}
.dim--v em {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.crop {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
}
.crop::before,
.crop::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.crop::before {
  width: 14px;
  height: 1px;
}
.crop::after {
  width: 1px;
  height: 14px;
}
.crop--tl {
  top: -7px;
  left: -7px;
}
.crop--tl::before {
  top: 7px;
}
.crop--tl::after {
  left: 7px;
}
.crop--tr {
  top: -7px;
  right: -7px;
}
.crop--tr::before {
  top: 7px;
}
.crop--tr::after {
  right: 7px;
}
.crop--bl {
  bottom: -7px;
  left: -7px;
}
.crop--bl::before {
  bottom: 7px;
}
.crop--bl::after {
  left: 7px;
}
.crop--br {
  bottom: -7px;
  right: -7px;
}
.crop--br::before {
  bottom: 7px;
}
.crop--br::after {
  right: 7px;
}

/* ---------- 6. Dugmad i linkovi ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 500;
  font-stretch: 106%;
  letter-spacing: -0.004em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition:
    background-color var(--t) var(--ease),
    color var(--t) var(--ease),
    border-color var(--t) var(--ease),
    transform var(--t-fast) var(--ease);
}
.btn .ic {
  width: 18px;
  height: 18px;
}
.btn:active {
  transform: translateY(1px) scale(0.99);
}
.btn[disabled],
.btn.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}
.btn--sm {
  --h: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--lg {
  --h: 56px;
  padding: 0 26px;
  font-size: 16px;
}
.btn--xl {
  --h: 64px;
  padding: 0 30px;
  font-size: 17px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--ink-2);
}
.btn--wood {
  background: var(--wood);
  color: #fff;
}
.btn--wood:hover {
  background: var(--wood-600);
}
.btn--outline {
  border-color: var(--line-3);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.btn--soft {
  background: var(--paper-2);
  color: var(--ink);
}
.btn--soft:hover {
  background: var(--paper-3);
}
.btn--ghost-inv {
  border-color: rgba(246, 245, 242, 0.28);
  color: var(--paper);
}
.btn--ghost-inv:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn--paper {
  background: var(--paper);
  color: var(--ink);
}
.btn--paper:hover {
  background: #fff;
}
.btn--text {
  height: auto;
  padding: 4px 0;
  border-radius: 0;
  color: var(--ink);
  gap: 8px;
}
.btn--text span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px
    no-repeat;
  padding-bottom: 3px;
  transition: background-size var(--t) var(--ease);
}
.btn--text:hover span {
  background-size: 0 1px;
  background-position: 100% 100%;
}
.btn--danger {
  color: var(--err);
  border-color: color-mix(in srgb, var(--err) 40%, transparent);
}
.btn--danger:hover {
  background: var(--err);
  color: #fff;
}
/* „dugme u dugmetu“ - strelica u sopstvenoj ćeliji */
.btn--arrow {
  padding-right: 5px;
  gap: 18px;
}
.btn--arrow.btn--sm {
  padding-right: 4px;
  gap: 14px;
}
.btn__cell {
  display: grid;
  place-items: center;
  width: calc(var(--h) - 10px);
  height: calc(var(--h) - 10px);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  transition: background-color var(--t) var(--ease);
}
.btn--outline .btn__cell,
.btn--soft .btn__cell,
.btn--paper .btn__cell {
  background: rgba(23, 26, 28, 0.06);
}
.btn--sm .btn__cell {
  width: 32px;
  height: 32px;
}
.btn__cell .ic {
  transition: transform var(--t) var(--ease-out);
}
.btn:hover .btn__cell .ic {
  transform: translateX(3px);
}
.btn:hover .btn__cell .ic[class*="up-right"] {
  transform: translate(2px, -2px);
}

.ibtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  color: var(--ink);
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast);
}
.ibtn:hover {
  background: var(--paper-2);
}
.ibtn--line {
  border: 1px solid var(--line-2);
}
.ibtn--line:hover {
  border-color: var(--ink);
  background: transparent;
}
.ibtn--sm {
  width: 36px;
  height: 36px;
}
.ibtn--sm .ic {
  width: 18px;
  height: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-stretch: 106%;
  font-size: 15px;
  color: var(--ink);
  padding-block: 4px;
}
.link-arrow span {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px
    no-repeat;
  padding-bottom: 2px;
}
.link-arrow .ic {
  width: 18px;
  height: 18px;
  transition: transform var(--t) var(--ease-out);
}
.link-arrow:hover .ic {
  transform: translateX(4px);
}
.link-arrow:hover {
  color: var(--wood-700);
}
.on-dark .link-arrow {
  color: var(--paper);
}
.on-dark .link-arrow:hover {
  color: var(--wood-200);
}

/* ---------- 7. Oznake, čipovi, statusi ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border-radius: 1px;
}
.badge--wood {
  background: var(--wood);
  color: #fff;
}
.badge--paper {
  background: var(--paper);
  color: var(--ink);
}
.badge--line {
  background: transparent;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.badge--ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.badge--warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.badge--err {
  background: var(--err-bg);
  color: var(--err);
}
.badge--info {
  background: var(--info-bg);
  color: var(--info);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--ink-2);
  background: transparent;
  transition:
    border-color var(--t-fast),
    background-color var(--t-fast),
    color var(--t-fast);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip.is-active,
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.chip--sm {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.chip .ic {
  width: 16px;
  height: 16px;
}
.chip--swatch {
  padding-left: 6px;
}
.chip--swatch i {
  width: 22px;
  height: 22px;
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
  background-size: cover;
}
.tag-x {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 6px 0 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  border-radius: var(--r);
}
.tag-x button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: rgba(246, 245, 242, 0.7);
}
.tag-x button:hover {
  color: #fff;
}
.tag-x .ic {
  width: 14px;
  height: 14px;
}
.tag-x small {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(246, 245, 242, 0.55);
  margin-right: 2px;
}

.stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.3;
}
.stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 0%, transparent);
}
.stock--ok i {
  background: var(--ok);
}
.stock--warn i {
  background: var(--warn);
}
.stock--info i {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--info);
}
.stock--muted {
  color: var(--ink-4);
}
.stock--muted i {
  background: var(--ink-4);
}
.stock--ok i {
  animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(61, 106, 76, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(61, 106, 76, 0);
  }
}

.tag-b2b {
  display: none;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  background: var(--wood);
  color: #fff;
  border-radius: 1px;
}

/* Cena: B2C / B2B obrazac */
.price {
  display: grid;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.price strong {
  font-size: 20px;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.price__retail,
.price__b2b {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
}
.price__unit {
  font-size: 12px;
  color: var(--ink-3);
}
.price__b2b {
  display: none;
}
.price__b2b strong {
  color: var(--wood-700);
}
.price__b2b s {
  font-size: 12px;
  color: var(--ink-4);
  width: 100%;
  order: 3;
}
.price__tag {
  order: -1;
  width: 100%;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--wood-700);
}
.price--lg strong {
  font-size: clamp(30px, 2.6vw, 38px);
  letter-spacing: -0.03em;
}
.price--lg .price__unit {
  font-size: 14px;
}
.price--lg .price__b2b s {
  font-size: 14px;
}
.price--lg .price__tag {
  font-size: 12px;
  margin-bottom: 4px;
}
html[data-user="b2b"] .price__retail {
  display: none;
}
html[data-user="b2b"] .price__b2b {
  display: flex;
}
html[data-user="b2b"] .tag-b2b {
  display: inline-block;
}
html:not([data-user="b2b"]) .b2b-only {
  display: none !important;
}
html[data-user="b2b"] .no-b2b {
  display: none !important;
}

/* ---------- 8. Forme ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 20px;
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  gap: 8px;
  align-content: start;
}
.field label,
.fieldset legend {
  font-size: 14px;
  font-weight: 500;
  font-stretch: 104%;
  color: var(--ink);
}
.fieldset legend {
  margin-bottom: 12px;
}
.field__opt {
  font-weight: 400;
  color: var(--ink-4);
  font-size: 13px;
  margin-left: 4px;
}
.field__req {
  color: var(--wood-600);
}
.field input,
.field textarea,
.select select,
.input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--card);
  font-size: 16px;
  color: var(--ink);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast),
    background-color var(--t-fast);
  appearance: none;
}
.field textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder,
.input::placeholder {
  color: var(--ink-4);
}
.field input:hover,
.field textarea:hover,
.select select:hover,
.input:hover {
  border-color: var(--line-3);
}
.field input:focus,
.field textarea:focus,
.select select:focus,
.input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(165, 123, 85, 0.22);
  background: #fff;
}
.field__msg {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
  min-height: 0;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.field__msg:empty {
  display: none;
}
.field__msg .ic {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}
.field.is-error input,
.field.is-error textarea,
.field.is-error select {
  border-color: var(--err);
  background: #fff;
}
.field.is-error .field__msg {
  color: var(--err);
}
.field.is-valid input {
  border-color: color-mix(in srgb, var(--ok) 55%, var(--line-2));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D6A4C' stroke-width='1.8'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.select {
  position: relative;
  display: block;
}
.select select {
  padding-right: 44px;
  cursor: pointer;
}
.select .ic {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
}
.select--sm select {
  height: 40px;
  font-size: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
  padding: 5px 0;
  user-select: none;
}
.check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-3);
  border-radius: 1px;
  background: var(--card);
  color: transparent;
  transition:
    background-color var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}
.check__box .ic {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.check input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--wood);
  outline-offset: 2px;
}
.check:hover .check__box {
  border-color: var(--ink);
}
.check--radio .check__box {
  border-radius: 50%;
}
.check--radio input:checked + .check__box {
  background: var(--card);
  box-shadow: inset 0 0 0 5px var(--ink);
}
.check__label {
  flex: 1;
}
.check__count {
  font-size: 12px;
  color: var(--ink-4);
}
.check input:disabled ~ * {
  opacity: 0.45;
}
.check--chip {
  padding: 0 14px 0 10px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  gap: 10px;
  font-size: 14px;
}
.check--chip:has(input:checked) {
  border-color: var(--ink);
  background: var(--card);
}
.chips--check {
  gap: 8px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch__track {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--paper-3);
  border-radius: 11px;
  transition: background-color var(--t-fast);
  box-shadow: inset 0 0 0 1px var(--line);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--t) var(--ease-out);
}
.switch input:checked + .switch__track {
  background: var(--ink);
}
.switch input:checked + .switch__track::after {
  transform: translateX(18px);
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--wood);
  outline-offset: 2px;
}

.qty {
  display: inline-grid;
  grid-template-columns: 40px minmax(44px, 1fr) auto 40px;
  align-items: center;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--card);
}
.qty__btn {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--ink-2);
  transition:
    background-color var(--t-fast),
    color var(--t-fast);
}
.qty__btn:hover {
  background: var(--paper-2);
  color: var(--ink);
}
.qty__btn .ic {
  width: 16px;
  height: 16px;
}
.qty__input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 16px;
  padding: 0 4px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty__input::-webkit-inner-spin-button,
.qty__input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty__input:focus {
  outline: none;
}
.qty:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(165, 123, 85, 0.22);
}
.qty__unit {
  font-size: 13px;
  color: var(--ink-3);
  padding-right: 8px;
  padding-left: 2px;
}
.qty--sm {
  height: 40px;
  grid-template-columns: 34px minmax(36px, 1fr) auto 34px;
}
.qty--sm .qty__input {
  font-size: 14px;
}

.seg {
  display: inline-flex;
  padding: 3px;
  background: var(--paper-2);
  border-radius: var(--r-2);
  gap: 2px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.seg button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: var(--r);
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    box-shadow var(--t-fast);
}
.seg button .ic {
  width: 18px;
  height: 18px;
}
.seg button:hover {
  color: var(--ink);
}
.seg button[aria-selected="true"],
.seg button[aria-pressed="true"] {
  background: var(--card);
  color: var(--ink);
  box-shadow:
    0 1px 2px rgba(23, 26, 28, 0.08),
    0 0 0 1px var(--line);
}
.seg--sm button {
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.seg--block {
  display: flex;
}
.seg--block button {
  flex: 1;
  justify-content: center;
}

.searchbox {
  position: relative;
  display: flex;
  align-items: center;
}
.searchbox > .ic {
  position: absolute;
  left: 16px;
  color: var(--ink-3);
  pointer-events: none;
}
.searchbox input {
  padding-left: 48px;
}

/* Drag & drop upload */
.dropzone {
  position: relative;
  color: var(--ink-3);
}
.dropzone__target {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 40px 24px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 10px,
      rgba(23, 26, 28, 0.018) 10px 11px
    ),
    var(--card);
  cursor: pointer;
  transition:
    border-color var(--t-fast),
    background-color var(--t-fast);
}
.dropzone__target:hover,
.dropzone.is-over .dropzone__target {
  border-color: var(--wood);
  background: var(--wood-50);
}
.dropzone.is-over .dropzone__ic {
  transform: translateY(-4px);
}
.dropzone__ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  margin-bottom: 8px;
  transition: transform var(--t) var(--ease-out);
}
.dropzone__title {
  font-size: 18px;
  font-weight: 500;
  font-stretch: 108%;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dropzone__or {
  font-size: 14px;
  color: var(--ink-3);
}
.dropzone__or u {
  text-underline-offset: 3px;
  color: var(--ink);
}
.dropzone__note {
  font-size: 12px;
  margin-top: 6px;
}
.dropzone--compact .dropzone__target {
  grid-template-columns: auto 1fr;
  justify-items: start;
  text-align: left;
  padding: 20px;
  gap: 2px 16px;
}
.dropzone--compact .dropzone__ic {
  grid-row: span 3;
  margin: 0;
  width: 44px;
  height: 44px;
}
.dropzone--compact .dropzone__title {
  font-size: 16px;
}
.dropzone--compact .dropzone__note {
  margin: 0;
}
.dropzone__files {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.dropzone__files:empty {
  display: none;
}
.file-row {
  display: grid;
  grid-template-columns: 44px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 10px 10px 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  animation: rise 0.5s var(--ease-out) both;
}
.file-row__type {
  display: grid;
  place-items: center;
  height: 44px;
  background: var(--paper-2);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.file-row__type[data-t="PDF"] {
  background: #f1e0db;
  color: #8e3b2a;
}
.file-row__type[data-t="XLSX"],
.file-row__type[data-t="XLS"],
.file-row__type[data-t="CSV"] {
  background: #e0eae2;
  color: #2f5b3e;
}
.file-row__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-row__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.file-row__bar {
  height: 2px;
  background: var(--paper-3);
  margin-top: 6px;
  overflow: hidden;
}
.file-row__bar i {
  display: block;
  height: 100%;
  background: var(--wood);
  transform-origin: left;
  animation: fill 1.2s var(--ease-io) forwards;
}
.file-row__ok {
  color: var(--ok);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
@keyframes fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 9. Topbar + header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(246, 245, 242, 0.7);
  font-family: var(--f-mono);
  font-size: 12px;
  position: relative;
  z-index: 41;
}
.topbar__in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 36px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar .ic {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.topbar__links a,
.topbar__links button {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.topbar__links a:hover,
.topbar__links button:hover {
  color: #fff;
}
.topbar__links a:first-child {
  color: var(--paper);
}
@media (max-width: 1280px) {
  .topbar__hide-md {
    display: none;
  }
}
@media (max-width: 900px) {
  .topbar {
    display: none;
  }
}

.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    box-shadow var(--t) var(--ease),
    background-color var(--t);
}
.hdr.is-stuck {
  box-shadow: 0 10px 30px -24px rgba(23, 26, 28, 0.45);
}
.hdr.has-mega {
  background: var(--paper);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 48px);
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex: none;
}
.logo__mark {
  width: 42px;
  height: 39px;
  flex: none;
}
.logo__svg {
  width: 100%;
  height: 100%;
  display: block;
}
.logo__type {
  display: grid;
  line-height: 1;
}
.logo__type b {
  font-size: 19px;
  font-weight: 750;
  font-stretch: 118%;
  letter-spacing: 0.015em;
}
.logo__type small {
  font-size: 10px;
  font-weight: 400;
  font-stretch: 108%;
  letter-spacing: 0.42em;
  color: var(--ink-3);
  margin-top: 5px;
}
.logo--inv {
  color: var(--paper);
}
.logo--inv .logo__type small {
  color: rgba(246, 245, 242, 0.62);
}
.nav {
  flex: 1;
  min-width: 0;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: var(--header-h);
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  font-stretch: 104%;
  color: var(--ink-2);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav__link .ic {
  width: 14px;
  height: 14px;
  color: var(--ink-4);
  transition:
    transform var(--t) var(--ease-out),
    color var(--t-fast);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--wood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.nav__link:hover,
.nav__link[aria-expanded="true"] {
  color: var(--ink);
}
.nav__link:hover::after,
.nav__link[aria-expanded="true"]::after {
  transform: scaleX(1);
}
.nav__link[aria-expanded="true"] .ic {
  transform: rotate(180deg);
  color: var(--ink);
}
.nav__link.is-current {
  color: var(--ink);
}
.nav__link.is-current::after {
  transform: scaleX(1);
  background: var(--ink);
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.hdr__search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  width: 208px;
  padding: 0 8px 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--card);
  color: var(--ink-3);
  font-size: 14px;
  transition:
    border-color var(--t-fast),
    color var(--t-fast);
  margin-right: 6px;
}
.hdr__search:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.hdr__search .ic {
  width: 18px;
  height: 18px;
  color: var(--ink);
}
.hdr__search kbd,
.sov kbd,
.sov__hint kbd {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  color: var(--ink-3);
  background: var(--paper);
}
.hdr__act {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color var(--t-fast);
}
.hdr__act:hover {
  background: var(--paper-2);
}
.hdr__act .ic {
  width: 22px;
  height: 22px;
}
.hdr__act-label {
  display: none;
}
.hdr__count {
  position: absolute;
  top: 4px;
  left: 24px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--wood);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  display: grid;
  place-items: center;
  transition: transform var(--t) var(--ease-out);
}
.hdr__count.is-zero {
  background: var(--paper-3);
  color: var(--ink-3);
}
.hdr__count.bump {
  animation: bump 0.6s var(--ease-out);
}
@keyframes bump {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.45);
  }
  100% {
    transform: scale(1);
  }
}
.hdr__cta {
  margin-left: 8px;
}
.hdr__icon-only,
.hdr__burger {
  display: none;
}
.hdr__account .tag-b2b {
  position: absolute;
  top: 3px;
  right: 0;
}
@media (min-width: 1600px) {
  .hdr__act-label {
    display: inline;
  }
  .hdr__count {
    position: static;
    margin-left: -2px;
  }
  .hdr__account .tag-b2b {
    position: static;
  }
}
@media (max-width: 1360px) {
  .hdr__search {
    width: 44px;
    padding: 0;
    justify-content: center;
    margin-right: 0;
    border-color: transparent;
    background: transparent;
  }
  .hdr__search span,
  .hdr__search kbd {
    display: none;
  }
  .hdr__search .ic {
    width: 22px;
    height: 22px;
  }
  .nav__link {
    padding: 0 10px;
  }
}
@media (max-width: 1180px) {
  :root {
    --header-h: 64px;
  }
  .nav,
  .hdr__cta {
    display: none;
  }
  .hdr__icon-only {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
  }
  .hdr__icon-only .ic {
    width: 22px;
    height: 22px;
  }
  .hdr__burger {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    position: relative;
  }
  .hdr__burger span {
    position: absolute;
    left: 11px;
    right: 11px;
    height: 1.5px;
    background: var(--ink);
    transition: transform var(--t) var(--ease-out);
  }
  .hdr__burger span:first-child {
    transform: translateY(-4px);
  }
  .hdr__burger span:last-child {
    transform: translateY(4px);
  }
  .hdr__burger[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }
  .hdr__burger[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg);
  }
  .hdr__actions {
    gap: 0;
  }
}
@media (max-width: 480px) {
  .logo__type b {
    font-size: 17px;
  }
  .logo__mark {
    width: 30px;
    height: 30px;
  }
  .hdr__account {
    display: none;
  }
}

/* Minimalni header (checkout) */
.hdr--minimal {
  position: relative;
  background: var(--paper);
}
.hdr--minimal .hdr__in {
  justify-content: space-between;
}
.hdr__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hdr__secure .ic {
  width: 16px;
  height: 16px;
}
.hdr__help {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-3);
}
.hdr__help b {
  color: var(--ink);
  font-weight: 500;
}
.hdr__help .ic {
  width: 18px;
  height: 18px;
}
@media (max-width: 720px) {
  .hdr__secure {
    display: none;
  }
  .hdr__help span {
    display: none;
  }
}

/* Mega meni */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -40px rgba(23, 26, 28, 0.3);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.32s var(--ease),
    transform 0.45s var(--ease-out);
}
.mega.is-open {
  opacity: 1;
  transform: none;
}
.mega__grid {
  display: grid;
  grid-template-columns: 5fr 2.6fr 3.4fr;
  gap: clamp(24px, 3.4vw, 64px);
  padding-block: 40px 44px;
}
.mega__label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.mega__label--gap {
  margin-top: 32px;
}
.mega__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 24px;
}
.mega__cats a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 0;
  font-size: 16px;
  font-weight: 500;
  font-stretch: 104%;
  border-bottom: 1px solid var(--line);
  transition:
    color var(--t-fast),
    padding var(--t) var(--ease-out);
}
.mega__cats a .mono {
  font-size: 11px;
  color: var(--ink-4);
}
.mega__cats a:hover {
  padding-left: 6px;
  color: var(--wood-700);
}
.mega__thumb {
  width: 40px;
  height: 40px;
  overflow: hidden;
  background: var(--paper-2);
}
.mega__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.mega__cats a:hover .mega__thumb img {
  transform: scale(1.18);
}
.mega__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--t-fast);
}
.mega__list a span {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-4);
}
.mega__list a:hover {
  color: var(--wood-700);
}
.mega__tools {
  display: grid;
  gap: 4px;
}
.mega__tools a,
.mega__tools button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  text-align: left;
  transition: color var(--t-fast);
}
.mega__tools a:hover,
.mega__tools button:hover {
  color: var(--ink);
}
.mega__tools .ic {
  width: 18px;
  height: 18px;
  color: var(--wood-600);
}
.mega__feature {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  min-height: 300px;
  color: #fff;
}
.mega__feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition:
    transform 1.4s var(--ease-out),
    opacity var(--t);
}
.mega__feature:hover img {
  transform: scale(1.05);
  opacity: 0.7;
}
.mega__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(15, 17, 18, 0.78));
}
.mega__feature-body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.mega__feature-title {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 500;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.mega__feature-body .mono {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.78;
}
.mega__feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.mega__feature-link .ic {
  width: 16px;
  height: 16px;
  transition: transform var(--t) var(--ease-out);
}
.mega__feature:hover .mega__feature-link .ic {
  transform: translateX(4px);
}
.mega__foot {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.mega__foot .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.mega__foot .mono {
  font-size: 12px;
  color: var(--ink-4);
}
.mega__grid--okov {
  grid-template-columns: 8fr 3fr;
}
.mega__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.mega__tiles a {
  display: grid;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  grid-template-columns: 1fr auto;
  padding: 12px;
  background: var(--paper);
  transition: background-color var(--t-fast);
}
.mega__tiles a:hover {
  background: var(--card);
}
.mega__tile-img {
  grid-column: 1 / -1;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--paper-2);
}
.mega__tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.mega__tiles a:hover img {
  transform: scale(1.07);
}
.mega__tile-name {
  font-weight: 500;
  font-size: 15px;
}
.mega__tiles .mono {
  font-size: 11px;
  color: var(--ink-4);
  align-self: center;
}
.mega__cta {
  margin-top: 20px;
}
.mega__grid--usluge {
  grid-template-columns: 8fr 3.4fr;
}
.mega__svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.mega__svc a {
  display: grid;
  grid-template-columns: 28px 24px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--t-fast);
}
.mega__svc a:hover {
  color: var(--wood-700);
}
.mega__svc-no {
  font-size: 11px;
  color: var(--ink-4);
}
.mega__svc .ic {
  color: var(--wood-600);
}
.mega__svc-name {
  font-weight: 500;
  font-size: 16px;
  font-stretch: 106%;
}
.mega__svc-meta {
  grid-column: 3;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
}
.mega__promo {
  display: grid;
  align-content: start;
  gap: 16px;
  justify-items: start;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
}
.mega__promo .mega__label {
  margin: 0;
}
.mega__promo-title {
  font-size: 22px;
  font-weight: 500;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mega__grid--ent {
  grid-template-columns: 5fr 6fr;
  align-items: stretch;
}
.mega__big a {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 450;
  font-stretch: 112%;
  letter-spacing: -0.025em;
  transition:
    color var(--t-fast),
    padding var(--t) var(--ease-out);
}
.mega__big a .mono {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0;
}
.mega__big a .ic {
  width: 22px;
  height: 22px;
  transition: transform var(--t) var(--ease-out);
}
.mega__big a:hover {
  padding-left: 8px;
  color: var(--wood-700);
}
.mega__big a:hover .ic {
  transform: translateX(6px);
}
.mega__feature--wide {
  min-height: 280px;
}
.mega-scrim {
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(23, 26, 28, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mega-scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 10. Mobilni meni ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 70;
}
.mmenu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 28, 0.4);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.mmenu.is-open::before {
  opacity: 1;
}
.mmenu__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(480px, 100%);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mmenu.is-open .mmenu__panel {
  transform: none;
}
.mmenu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 12px 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 1;
}
.mmenu__search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px var(--gutter) 8px;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  background: var(--card);
  border-radius: var(--r);
  color: var(--ink-3);
  font-size: 15px;
  text-align: left;
}
.mmenu__search .ic {
  color: var(--ink);
}
.mmenu__nav {
  padding: 8px var(--gutter);
}
.mmenu__link {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 450;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  text-align: left;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.mmenu__nav > * {
  --d: 0ms;
}
.mmenu.is-open .mmenu__link {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 120ms);
}
.mmenu__link .ic {
  width: 20px;
  height: 20px;
  color: var(--ink-3);
  transition: transform var(--t) var(--ease-out);
}
.mmenu__link[aria-expanded="true"] .ic {
  transform: rotate(45deg);
}
.mmenu__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.mmenu__sub > div {
  overflow: hidden;
  min-height: 0;
}
.mmenu__group.is-open .mmenu__sub {
  grid-template-rows: 1fr;
}
.mmenu__sub a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 16px;
  color: var(--ink-2);
}
.mmenu__sub a:first-child {
  margin-top: 8px;
}
.mmenu__sub a:last-child {
  margin-bottom: 14px;
}
.mmenu__sub a .mono {
  margin-left: auto;
  font-size: 11px;
  color: var(--ink-4);
}
.mmenu__sub .mega__thumb {
  width: 32px;
  height: 32px;
}
.mmenu__all {
  font-weight: 500;
  color: var(--ink) !important;
}
.mmenu__all .ic {
  width: 16px;
  height: 16px;
}
.mmenu__account {
  display: grid;
  gap: 4px;
  padding: 16px var(--gutter);
  margin-top: auto;
}
.mmenu__account a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-2);
}
.mmenu__bottom {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* ---------- 11. Pretraga + autocomplete ---------- */
.sov {
  position: fixed;
  inset: 0;
  z-index: 75;
}
.sov__scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 28, 0.38);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.sov.is-open .sov__scrim {
  opacity: 1;
}
.sov__panel {
  position: relative;
  background: var(--paper);
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-2);
  transform: translateY(-20px);
  opacity: 0;
  transition:
    transform 0.5s var(--ease-out),
    opacity 0.3s var(--ease);
  max-height: 100dvh;
  overflow-y: auto;
}
.sov.is-open .sov__panel {
  transform: none;
  opacity: 1;
}
.sov__form {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
  padding: 0 12px 0 20px;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: var(--r);
}
.sov__form > .ic {
  width: 24px;
  height: 24px;
}
.sov__input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: clamp(18px, 2vw, 24px);
  font-stretch: 104%;
  letter-spacing: -0.01em;
}
.sov__input:focus {
  outline: none;
}
.sov__input::placeholder {
  color: var(--ink-4);
}
.sov__input::-webkit-search-cancel-button {
  display: none;
}
.sov__esc {
  margin-left: 0 !important;
}
.sov__hint {
  display: flex;
  gap: 20px;
  font-size: 11.5px;
  color: var(--ink-4);
  margin-top: 14px;
}
.sov__hint span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sov__hint kbd {
  height: 20px;
  min-width: 20px;
  font-size: 10px;
}
@media (max-width: 720px) {
  .sov__panel {
    height: 100dvh;
    padding-top: 12px;
  }
  .sov__form {
    height: 56px;
    padding: 0 4px 0 14px;
  }
  .sov__esc,
  .sov__hint {
    display: none !important;
  }
}

.ac {
  margin-top: 16px;
}
.ac__empty-state {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  padding: 12px 0 8px;
}
@media (max-width: 720px) {
  .ac__empty-state {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
.ac__label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.ac__cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.ac__cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
}
.ac__cats a .ic {
  width: 16px;
  height: 16px;
  color: var(--ink-4);
  transition:
    transform var(--t) var(--ease-out),
    color var(--t-fast);
}
.ac__cats a:hover .ic {
  color: var(--ink);
  transform: translate(2px, -2px);
}
.ac__results {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .ac__results {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.ac__list {
  display: grid;
}
.ac__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 12px 10px 10px;
  border-radius: var(--r);
  transition: background-color var(--t-fast);
}
.ac__item:hover,
.ac__item.is-active {
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.ac__item.is-active {
  box-shadow:
    inset 2px 0 0 var(--wood),
    inset 0 0 0 1px var(--line);
}
.ac__item > span:not(.ac__price) {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ac__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  background: var(--paper-2);
}
.ac__code {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-3);
  display: flex;
  gap: 10px;
}
.ac__code b {
  font-weight: 500;
  color: var(--ink);
}
.ac__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ac__meta {
  font-size: 13px;
  color: var(--ink-3);
}
.ac__price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.ac__price small {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: var(--ink-3);
}
.ac mark {
  background: var(--wood-100);
  color: inherit;
  padding: 0 1px;
  box-shadow: 0 1px 0 var(--wood);
}
.ac__side {
  display: grid;
  align-content: start;
  gap: 24px;
}
.ac__side a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.ac__side a small {
  display: block;
  font-size: 12px;
  color: var(--ink-4);
}
.ac__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.ac__all .ic {
  width: 18px;
  height: 18px;
}
.ac__none {
  padding: 28px 0;
  display: grid;
  gap: 10px;
}
@media (max-width: 560px) {
  .ac__item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .ac__thumb {
    width: 48px;
    height: 48px;
  }
  .ac__price {
    grid-column: 2;
    text-align: left;
  }
}

/* ---------- 12. Drawer / mini korpa ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.drawer__scrim,
.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(23, 26, 28, 0.42);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.drawer.is-open .drawer__scrim,
.modal.is-open .modal__scrim {
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}
.drawer.is-open .drawer__panel {
  transform: none;
}
.drawer--left .drawer__panel {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}
.drawer--left.is-open .drawer__panel {
  transform: none;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 12px 0 24px;
  border-bottom: 1px solid var(--line);
  flex: none;
}
.drawer__head .mono {
  color: var(--ink-4);
  font-size: 13px;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px 24px;
}
.drawer__foot {
  flex: none;
  display: grid;
  gap: 8px;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--card);
}
.drawer__ship {
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.drawer__ship:empty {
  display: none;
}
.ship-bar {
  height: 3px;
  background: var(--paper-3);
  margin-top: 8px;
  overflow: hidden;
}
.ship-bar i {
  display: block;
  height: 100%;
  background: var(--wood);
  transition: width 0.6s var(--ease-out);
}
.mc__items {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  overscroll-behavior: contain;
}
.mc__item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  animation: rise 0.45s var(--ease-out) both;
}
.mc__item img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  background: var(--paper-2);
}
.mc__item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mc__item-sku {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.mc__item-name {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  margin: 2px 0 10px;
}
.mc__item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mc__item-price {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mc__item .qty {
  width: 136px;
  flex: none;
}
.mc__remove {
  color: var(--ink-4);
}
.mc__remove:hover {
  color: var(--err);
}
.mc__remove .ic {
  width: 18px;
  height: 18px;
}
.mc__sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
}
.mc__sum dd {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mc__note {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.mc__empty {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 32px;
}
.mc__empty p:not(.h5) {
  color: var(--ink-3);
  max-width: 32ch;
  font-size: 14px;
  margin-bottom: 8px;
}
.mc__empty-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px dashed var(--line-3);
  color: var(--ink-3);
  margin-bottom: 8px;
}
.mc__empty-art .ic {
  width: 32px;
  height: 32px;
}

/* ---------- 13. Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--r-2);
  box-shadow: var(--sh-2);
  transform: translateY(24px) scale(0.985);
  opacity: 0;
  transition:
    transform 0.55s var(--ease-out),
    opacity 0.35s var(--ease);
  overscroll-behavior: contain;
}
.modal.is-open .modal__panel {
  transform: none;
  opacity: 1;
}
.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 20px 20px 32px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.modal__head .eyebrow {
  margin-bottom: 10px;
}
.modal__body {
  padding: 24px 32px 32px;
  display: grid;
  gap: 24px;
}
.modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 20px;
}
.modal__success {
  padding: 48px 32px 40px;
  display: grid;
  justify-items: start;
  gap: 16px;
}
.modal__success p {
  color: var(--ink-2);
  max-width: 54ch;
}
.link-cart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
}
.link-cart .mono {
  font-size: 12px;
  color: var(--ink-3);
}
@media (max-width: 640px) {
  .modal {
    padding: 0;
    align-items: end;
  }
  .modal__panel {
    max-height: 94dvh;
    border-radius: 6px 6px 0 0;
    transform: translateY(100%);
  }
  .modal__head {
    padding: 20px 12px 16px 20px;
  }
  .modal__body {
    padding: 20px;
  }
  .modal__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .modal__actions .btn {
    width: 100%;
  }
}
.success-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  animation: pop 0.7s var(--ease-out) both;
}
.success-mark .ic {
  width: 30px;
  height: 30px;
  stroke-width: 2;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.6s 0.25s var(--ease-out) forwards;
}
@keyframes pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.next-steps {
  display: grid;
  gap: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  margin: 8px 0 12px;
}
.next-steps li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.next-steps .mono {
  color: var(--wood-600);
  font-size: 12px;
}

/* ---------- 14. Toast ---------- */
.toasts {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: grid;
  gap: 10px;
  width: min(400px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 12px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-2);
  box-shadow: var(--sh-3);
  animation: toastIn 0.55s var(--ease-out) both;
}
.toast.is-out {
  animation: toastOut 0.35s var(--ease) forwards;
}
.toast img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}
.toast__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}
.toast__ic .ic {
  width: 20px;
  height: 20px;
}
.toast--ok .toast__ic {
  background: var(--ok);
}
.toast--err .toast__ic {
  background: var(--err);
}
.toast__t {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}
.toast__s {
  font-size: 12.5px;
  color: rgba(246, 245, 242, 0.62);
  display: block;
  font-weight: 400;
  margin-top: 2px;
}
.toast a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.toast a:hover {
  background: rgba(255, 255, 255, 0.18);
}
.toast .toast__bar {
  grid-column: 1 / -1;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 -12px -12px;
  overflow: hidden;
}
.toast .toast__bar i {
  display: block;
  height: 100%;
  background: var(--wood);
  transform-origin: left;
  animation: fill 4s linear reverse forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(24px);
  }
}
@media (max-width: 640px) {
  .toasts {
    right: 16px;
    left: 16px;
    bottom: 16px;
    width: auto;
  }
}

/* ---------- 15. Kartice ---------- */
/* Proizvod */
.pgrid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pgrid > *,
.hscroll--cells > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hscroll--cells {
  gap: 0 !important;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (max-width: 1280px) {
  .pgrid {
    --cols: 3;
  }
}
@media (max-width: 900px) {
  .pgrid {
    --cols: 2;
  }
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  transition: background-color var(--t) var(--ease);
}
.pcard:hover {
  background: #fff;
}
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  margin: 12px 12px 0;
  overflow: hidden;
  background: var(--paper-2);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.pcard:hover .pcard__media img {
  transform: scale(1.05);
}
.pcard__media .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}
.pcard__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(180deg, var(--wood) 0 60%, var(--wood-600) 60%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.pcard:hover .pcard__edge {
  transform: scaleX(1);
}
.pcard__fav {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(251, 250, 248, 0.9);
  color: var(--ink-2);
  border-radius: var(--r);
  opacity: 0;
  transform: translateY(-4px);
  transition:
    opacity var(--t) var(--ease),
    transform var(--t) var(--ease-out),
    color var(--t-fast);
}
.pcard__fav .ic {
  width: 18px;
  height: 18px;
}
.pcard:hover .pcard__fav,
.pcard__fav:focus-visible,
.pcard__fav[aria-pressed="true"] {
  opacity: 1;
  transform: none;
}
.pcard__fav[aria-pressed="true"] {
  color: var(--wood);
}
.pcard__fav[aria-pressed="true"] .ic path {
  fill: currentColor;
}
@media (hover: none) {
  .pcard__fav {
    opacity: 1;
    transform: none;
  }
}
.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 16px;
}
.pcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pcard__meta .mono {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
  font-size: 12px;
}
.pcard__title {
  font-size: 17px;
  font-weight: 500;
  font-stretch: 104%;
  letter-spacing: -0.012em;
  line-height: 1.28;
  margin: 8px 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pcard__spec {
  font-size: 12px;
  color: var(--ink-3);
}
.pcard__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.pcard__foot > div {
  display: grid;
  gap: 6px;
}
.pcard__add {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 11px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 500;
  transition:
    background-color var(--t-fast),
    transform var(--t-fast);
  flex: none;
}
.pcard__add .ic {
  width: 20px;
  height: 20px;
}
.pcard__add:hover {
  background: var(--wood-600);
}
.pcard__add:active {
  transform: scale(0.97);
}
.pcard__add:disabled {
  background: var(--paper-3);
  color: var(--ink-4);
  cursor: not-allowed;
}
.pcard__add.is-added {
  background: var(--ok);
}
@media (max-width: 1400px) {
  .pcard__add span {
    display: none;
  }
  .pcard__add {
    padding: 0 11px;
  }
}
@media (max-width: 560px) {
  .pcard__media {
    margin: 8px 8px 0;
  }
  .pcard__body {
    padding: 12px 10px 12px;
  }
  .pcard__title {
    font-size: 15px;
  }
  .pcard__meta {
    font-size: 10.5px;
    flex-direction: column;
    gap: 2px;
  }
  .pcard__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 12px;
  }
  .pcard__add {
    justify-content: center;
    height: 40px;
  }
  .pcard__add span {
    display: inline;
  }
  .price strong {
    font-size: 17px;
  }
  .pcard__fav {
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
  }
}
.pcard--row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}
.pcard--row .pcard__media {
  margin: 12px 0 12px 12px;
}

/* Dekor */
.decor {
  position: relative;
  display: grid;
  gap: 14px;
  color: var(--ink);
}
.decor__slab {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}
.decor__slab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.decor__slab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.22));
  transform: translateY(100%);
  transition: transform var(--t) var(--ease-out);
}
.decor:hover .decor__slab img {
  transform: scale(1.08) rotate(0.001deg);
}
.decor:hover .decor__slab::after {
  transform: none;
}
.decor__info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
}
.decor__sku {
  font-size: 11.5px;
  color: var(--ink-3);
  grid-column: 1;
}
.decor__name {
  font-size: 16px;
  font-weight: 500;
  font-stretch: 104%;
  letter-spacing: -0.01em;
  line-height: 1.3;
  grid-column: 1;
}
.decor__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition:
    background-color var(--t),
    color var(--t),
    border-color var(--t),
    transform var(--t) var(--ease-out);
}
.decor__go .ic {
  width: 16px;
  height: 16px;
}
.decor:hover .decor__go {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.decor--wide .decor__slab {
  aspect-ratio: 16 / 11;
}

/* Projekat */
.proj {
  position: relative;
  display: grid;
  gap: 16px;
  color: var(--ink);
}
.proj__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: var(--ar, 4 / 3);
}
.proj__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.6s var(--ease-out),
    filter var(--t);
}
.proj:hover .proj__media img {
  transform: scale(1.04);
}
.proj__cap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
}
.proj__type {
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  grid-column: 1 / -1;
}
.proj__name {
  font-size: clamp(19px, 1.6vw, 24px);
  font-weight: 500;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.proj__place {
  font-size: 14px;
  color: var(--ink-3);
}
.proj--tall .proj__media {
  --ar: 4 / 5;
}
.proj--wide .proj__media {
  --ar: 16 / 10;
}

/* Članak */
.acard {
  display: grid;
  gap: 12px;
  align-content: start;
  color: var(--ink);
}
.acard__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--paper-2);
  margin-bottom: 6px;
}
.acard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease-out);
}
.acard:hover .acard__media img {
  transform: scale(1.045);
}
.acard__meta {
  display: flex;
  gap: 14px;
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.acard__meta span:first-child {
  color: var(--wood-700);
}
.acard__title {
  font-size: 21px;
  font-weight: 500;
  font-stretch: 106%;
  letter-spacing: -0.018em;
  line-height: 1.22;
  text-wrap: balance;
  transition: color var(--t-fast);
}
.acard:hover .acard__title {
  color: var(--wood-700);
}
.acard__excerpt {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.55;
}

/* Brend */
.brands {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 1100px) {
  .brands {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .brands {
    grid-template-columns: repeat(2, 1fr);
  }
}
.brand {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 176px;
  padding: 20px;
  background: var(--paper);
  transition: background-color var(--t) var(--ease);
  overflow: hidden;
}
.brand:hover {
  background: var(--card);
}
.brand__word {
  align-self: center;
  justify-self: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-2);
  filter: grayscale(1);
  opacity: 0.82;
  transition:
    opacity var(--t),
    transform var(--t) var(--ease-out),
    color var(--t);
}
.brand:hover .brand__word {
  opacity: 1;
  color: var(--ink);
  transform: translateY(-4px);
}
.brand__word--egger {
  font-stretch: 125%;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 28px;
}
.brand__word--kronospan {
  font-weight: 600;
  letter-spacing: -0.03em;
  font-stretch: 92%;
  font-size: 28px;
}
.brand__word--falco {
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand__word--stilles {
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 22px;
}
.brand__word--sveza {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-stretch: 112%;
}
.brand__word--blum {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}
.brand__word--hettich {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-stretch: 96%;
}
.brand__word--gtv {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.04em;
  font-stretch: 125%;
}
.brand__word--rehau {
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 24px;
}
.brand__word--fundermax {
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 24px;
}
.brand__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-4);
}
.brand__go {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink-3);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity var(--t),
    transform var(--t) var(--ease-out);
}
.brand__go .ic {
  width: 18px;
  height: 18px;
}
.brand:hover .brand__go {
  opacity: 1;
  transform: none;
}

/* ---------- 16. Akordion, tabovi, breadcrumbs, paginacija ---------- */
.acc {
  border-top: 1px solid var(--line-2);
}
.acc__item {
  border-bottom: 1px solid var(--line-2);
}
.acc__head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-size: clamp(17px, 1.3vw, 20px);
  font-weight: 500;
  font-stretch: 106%;
  letter-spacing: -0.012em;
  line-height: 1.35;
}
.acc__ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  flex: none;
  transition:
    transform var(--t) var(--ease-out),
    background-color var(--t),
    color var(--t);
}
.acc__ic .ic {
  width: 16px;
  height: 16px;
}
.acc__head:hover .acc__ic {
  border-color: var(--ink);
}
.acc__item.is-open .acc__ic {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}
.acc__item.is-open .acc__body {
  grid-template-rows: 1fr;
}
.acc__body > div {
  overflow: hidden;
  min-height: 0;
}
.acc__inner {
  padding: 0 64px 24px 0;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 80ch;
}
.acc--sm .acc__head {
  font-size: 15px;
  padding: 16px 0;
}
.acc--sm .acc__ic {
  width: 28px;
  height: 28px;
}

.tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line-2);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs button,
.tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0 16px;
  font-size: 15px;
  font-weight: 500;
  font-stretch: 104%;
  color: var(--ink-3);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.tabs button .mono,
.tabs a .mono {
  font-size: 11px;
  color: var(--ink-4);
}
.tabs button::after,
.tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease-out);
}
.tabs button:hover,
.tabs a:hover {
  color: var(--ink);
}
.tabs [aria-selected="true"] {
  color: var(--ink);
}
.tabs [aria-selected="true"]::after {
  transform: scaleX(1);
}
.tabpanel[hidden] {
  display: none;
}
.tabpanel {
  animation: rise 0.5s var(--ease-out);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  font-size: 13px;
  color: var(--ink-3);
}
.crumbs li {
  display: inline-flex;
  align-items: center;
}
.crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--ink-4);
}
.crumbs a {
  transition: color var(--t-fast);
}
.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs [aria-current] {
  color: var(--ink);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pager__pages {
  display: flex;
  gap: 4px;
}
.pager__pages a,
.pager__pages span {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  font-family: var(--f-mono);
  font-size: 13px;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition:
    border-color var(--t-fast),
    background-color var(--t-fast);
}
.pager__pages a:hover {
  border-color: var(--line-3);
}
.pager__pages [aria-current] {
  background: var(--ink);
  color: var(--paper);
}
.pager__info {
  font-size: 13px;
  color: var(--ink-3);
}
.progress {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--ink);
}

/* ---------- 17. Tabele ---------- */
.spec {
  width: 100%;
  font-size: 15px;
}
.spec tr {
  border-bottom: 1px solid var(--line);
}
.spec tr:first-child {
  border-top: 1px solid var(--line-2);
}
.spec th {
  text-align: left;
  font-weight: 400;
  color: var(--ink-3);
  padding: 14px 24px 14px 0;
  width: 42%;
  vertical-align: top;
}
.spec td {
  padding: 14px 0;
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.spec td .mono {
  font-weight: 400;
  font-size: 14px;
}
.dtable {
  width: 100%;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}
.dtable th {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
  background: var(--paper);
}
.dtable td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.dtable tbody tr {
  transition: background-color var(--t-fast);
}
.dtable tbody tr:hover {
  background: var(--card);
}
.dtable .num {
  text-align: right;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}
.table-wrap .dtable th {
  background: var(--paper-2);
}

/* ---------- 18. Obaveštenja (inline) ---------- */
.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--info-bg);
  color: var(--info);
  font-size: 14.5px;
  line-height: 1.5;
}
.note .ic {
  width: 20px;
  height: 20px;
  margin-top: 1px;
}
.note b {
  color: var(--ink);
  font-weight: 600;
}
.note p {
  color: var(--ink-2);
}
.note--ok {
  background: var(--ok-bg);
  color: var(--ok);
}
.note--warn {
  background: var(--warn-bg);
  color: var(--warn);
}
.note--err {
  background: var(--err-bg);
  color: var(--err);
}
.note--wood {
  background: var(--wood-50);
  color: var(--wood-700);
  box-shadow: inset 2px 0 0 var(--wood);
}

/* ---------- 19. Skeleton ---------- */
.skel {
  background: linear-gradient(
    100deg,
    var(--paper-2) 30%,
    #f3f1ec 50%,
    var(--paper-2) 70%
  );
  background-size: 300% 100%;
  animation: shimmer 1.6s var(--ease-io) infinite;
  border-radius: 1px;
}
@keyframes shimmer {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.pcard--skel .pcard__media {
  background: none;
}
.pcard--skel .skel-img {
  position: absolute;
  inset: 0;
}
.skel-line {
  height: 12px;
  margin-top: 10px;
}
.skel-line--l {
  height: 18px;
  width: 85%;
}
.skel-line--s {
  width: 45%;
}

/* ---------- 20. Footer ---------- */
.ftr {
  position: relative;
  background: var(--ink);
  color: rgba(246, 245, 242, 0.72);
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 120px);
}
.ftr a {
  transition: color var(--t-fast);
}
.ftr a:not(.btn):hover {
  color: #fff;
}
.ftr__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: clamp(48px, 6vw, 88px);
  border-bottom: 1px solid var(--line-inv);
}
.ftr__claim {
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 0.98;
  font-weight: 450;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.ftr__claim em {
  font-style: normal;
  color: var(--wood);
}
.ftr__top-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ftr__cols {
  display: grid;
  grid-template-columns: 2.2fr repeat(4, 1fr) 1.6fr;
  gap: 40px 32px;
  padding-block: 56px;
}
.ftr__brand p {
  margin-top: 20px;
  font-size: 14px;
  max-width: 34ch;
  line-height: 1.6;
}
.ftr__col {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 14.5px;
}
.ftr__h {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 245, 242, 0.45);
  margin-bottom: 6px;
}
.ftr__contact p:not(.ftr__h) {
  font-size: 14px;
  line-height: 1.55;
}
.ftr__contact a {
  color: var(--paper);
}
.ftr__hours {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2px 16px;
  margin-top: 8px;
  font-size: 13px;
}
.ftr__hours .mono {
  font-size: 12px;
  color: rgba(246, 245, 242, 0.55);
}
.ftr__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 24px;
  border-top: 1px solid var(--line-inv);
  font-size: 13px;
  color: rgba(246, 245, 242, 0.5);
  position: relative;
  z-index: 1;
}
.ftr__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.ftr__pay {
  margin-top: 28px;
}
.ftr__pay .ftr__h {
  margin-bottom: 10px;
}
.ftr__pay ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}
.ftr__pay li {
  padding: 4px 7px;
  border: 1px solid var(--line-inv);
  border-radius: 2px;
  color: rgba(246, 245, 242, 0.62);
}
.ftr__made {
  font-size: 13px;
  color: rgba(246, 245, 242, 0.5);
}
.ftr__made a {
  color: rgba(246, 245, 242, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-inv);
}
.ftr__made a:hover {
  color: #fff;
  text-decoration-color: var(--wood);
}
.ftr--minimal {
  padding-top: 0;
}
.ftr--minimal .ftr__legal {
  border: 0;
}
@media (max-width: 1180px) {
  .ftr__cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .ftr__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .ftr__cols {
    grid-template-columns: 1fr 1fr;
  }
  .ftr__contact {
    grid-column: 1 / -1;
  }
}

/* ---------- 21. Prototip dock (nije deo finalnog dizajna) ---------- */
.dock {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 96;
  font-size: 13px;
}
.dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  box-shadow: var(--sh-3);
  font-weight: 500;
  font-size: 12.5px;
  opacity: 0.88;
  transition: opacity var(--t-fast);
}
.dock__btn:hover {
  opacity: 1;
}
.dock__btn .ic {
  width: 16px;
  height: 16px;
}
.dock__panel {
  position: absolute;
  left: 0;
  bottom: 46px;
  width: 300px;
  max-height: min(640px, 76dvh);
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-2);
  padding: 16px 18px;
  border-radius: var(--r-2);
  animation: rise 0.35s var(--ease-out);
}
.dock__mode {
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.dock__mode .mono,
.dock__g {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 8px;
}
.dock__g {
  margin-top: 14px;
}
.dock__panel ul a {
  display: block;
  padding: 4px 0;
  color: var(--ink-2);
}
.dock__panel ul a:hover {
  color: var(--wood-700);
}
.dock__panel ul a.is-here {
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 640px) {
  .dock {
    left: 8px;
    bottom: 8px;
  }
  .dock__btn span {
    display: none;
  }
  .dock__btn {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    opacity: 0.7;
  }
  .dock__panel {
    width: calc(100vw - 16px);
  }
}
@media print {
  .dock,
  .toasts,
  body::after {
    display: none;
  }
}

/* ---------- 22. Reveal animacije ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-reveal="fade"] {
  transform: none;
}
.js [data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease-out);
}
.js [data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}

/* ---------- 23. Zajednički obrasci stranica ---------- */
.page-head {
  padding-block: clamp(28px, 3vw, 44px) clamp(36px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}
.page-head .crumbs {
  margin-bottom: clamp(28px, 3.6vw, 52px);
}
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 24px 64px;
  align-items: end;
}
.page-head__grid .lead {
  font-size: 17px;
}
@media (max-width: 900px) {
  .page-head__grid {
    grid-template-columns: 1fr;
  }
}
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  font-size: 14.5px;
}
.kv dt {
  color: var(--ink-3);
}
.kv dd {
  color: var(--ink);
  font-weight: 500;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 32px);
}
.panel--paper {
  background: var(--paper);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: clamp(48px, 7vw, 96px) 24px;
}
.empty__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.empty__art .ic {
  width: 36px;
  height: 36px;
}
.empty__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed var(--line-3);
}
.empty p {
  color: var(--ink-3);
  max-width: 46ch;
}
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.status-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status--ok {
  color: var(--ok);
}
.status--warn {
  color: var(--warn);
}
.status--info {
  color: var(--info);
}
.status--err {
  color: var(--err);
}
.status--muted {
  color: var(--ink-4);
}
.sticky-col {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .sticky-col {
    position: static;
  }
}
.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hscroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--w, minmax(280px, 23%));
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
  overscroll-behavior-x: contain;
}
.hscroll::-webkit-scrollbar {
  display: none;
}
.hscroll > * {
  scroll-snap-align: start;
}
@media (max-width: 720px) {
  .hscroll {
    --w: 78%;
    gap: 12px;
  }
}

/* Header: B2B oznaka na ikonici naloga */
.hdr__account {
  overflow: visible;
}
.hdr__account .tag-b2b {
  position: absolute;
  top: 2px;
  right: -2px;
  font-size: 9px;
  padding: 1px 4px;
  box-shadow: 0 0 0 2px var(--paper);
}
@media (min-width: 1600px) {
  .hdr__account .tag-b2b {
    position: static;
    box-shadow: none;
    font-size: 10px;
    padding: 2px 5px;
  }
}
