/* =========================================================
   Supreme & Pro — stil sajta
   Svetla tema: belo i svetlo siva, bordo crvena iz logoa.
   Font: Manrope (naslovi, tekst i oznake).
   ========================================================= */

:root {
  /* boje */
  --bg: #ffffff;
  --soft: #f4f5f7;          /* svetlo siva pozadina sekcija */
  --soft-2: #eceef1;
  --line: #e3e6ea;          /* tanke linije i ivice kartica */
  --line-2: #cfd4da;        /* ivice polja i dugmića */
  --ink: #14161a;           /* glavni tekst */
  --ink-2: #3d424a;
  --muted: #646a73;         /* sporedni tekst */
  --red: #a51d24;           /* bordo iz logoa */
  --red-dark: #861519;
  --red-50: #fbf0f0;
  --red-100: #f3d9da;
  --stage: radial-gradient(115% 90% at 50% 26%, #ffffff 0%, #f6f7f8 48%, #e8eaed 100%);

  /* fontovi */
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-label: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* mere */
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --pill: 999px;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, 0.05), 0 4px 12px -6px rgba(20, 22, 26, 0.1);
  --shadow: 0 2px 4px rgba(20, 22, 26, 0.04), 0 28px 56px -28px rgba(20, 22, 26, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- osnova ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* <picture> sa tri verzije fotografije: ne utiče na raspored, slika se ponaša kao da je direktno u okviru */
picture.pic {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.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-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- tipografija ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.86);
}

.display,
.title-xl,
.title-lg,
.title-md {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}

.display em,
.nowrap {
  white-space: nowrap;
}

.display {
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.06;
}

.title-xl {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.06;
}

.title-lg {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.title-md {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.display em,
.title-xl em,
.title-lg em,
.title-md em {
  font-style: normal;
  color: var(--red);
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 58ch;
}

.text {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-label);
  font-weight: 700;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stack--lg {
  gap: 28px;
}

/* ---------- dugmad i linkovi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg.i-arrow {
  transform: translateX(3px);
}

.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(165, 29, 36, 0.7);
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: #2b2f36;
}

.btn--line {
  background: #fff;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn--line:hover {
  border-color: var(--ink);
}

.btn--white {
  background: #fff;
  color: var(--red);
}

.btn--white:hover {
  background: var(--red-50);
}

.btn--outline-white {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--sm {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
}

.link-arrow .circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.link-arrow:hover .circle {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---------- gornja traka ---------- */
.topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 40px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__item svg {
  color: var(--red);
}

.topbar__right {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.topbar a:hover {
  color: var(--ink);
}

/* ---------- zaglavlje ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

/* zamagljena pozadina je na pseudo-elementu da ne bi smetala mobilnom meniju */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 22, 26, 0.4);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
}

.brand img {
  width: 196px;
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.menu__link {
  position: relative;
  padding: 10px 16px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s;
}

.menu__link:hover {
  background: var(--soft);
  color: var(--ink);
}

.menu__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.menu__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--red);
}

.menu__extra {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s, background-color 0.2s;
}

.icon-btn:hover {
  border-color: var(--ink);
}

/* kolica u zaglavlju: broj artikala u porudžbini */
.order-btn {
  position: relative;
}

.order-btn__count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--pill);
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #fff;
}

.order-btn__count[hidden] {
  display: none;
}

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.burger span:nth-child(1) {
  top: 18px;
}

.burger span:nth-child(2) {
  top: 26px;
}

.header.is-open .burger span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.header.is-open .burger span:nth-child(2) {
  top: 22px;
  transform: rotate(-45deg);
}

/* ---------- sekcije ---------- */
.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.section--soft {
  background: var(--soft);
}

.section--top0 {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
}

.band {
  background: var(--soft);
  border-radius: var(--r-xl);
  padding: clamp(28px, 5vw, 72px);
}

/* ---------- naslovni deo unutrašnjih strana ---------- */
.page-head {
  padding-block: clamp(36px, 5vw, 64px) clamp(36px, 5vw, 64px);
}

.page-title {
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.page-head__text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* =========================================================
   POČETNA
   ========================================================= */
.hero {
  padding-top: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(32px, 4vw, 52px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 600px;
  padding: 6px 6px 6px 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(165, 29, 36, 0.1);
}

.hero-search svg {
  flex: none;
  color: var(--muted);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
}

.hero-search input::placeholder {
  color: #8a9098;
}

.hero__visual {
  position: relative;
  padding: 0 0 28px 28px;
}

.hero__photo {
  position: relative;
  aspect-ratio: 1344 / 768;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #1a0d0e;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 14px 14px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
}

.float-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.float-card small {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.float-card--sample {
  left: 0;
  bottom: 0;
  transition: transform 0.25s var(--ease);
}

.float-card--sample:hover {
  transform: translateY(-3px);
}

.float-card--count {
  top: 28px;
  right: -12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 16px 20px;
}

.float-card--count strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
}

.swatch-dots {
  display: flex;
}

.swatch-dots span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.swatch-dots span + span {
  margin-left: -10px;
}

/* brojke */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px 0 0;
}

.fact + .fact {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.fact strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fact > span {
  font-size: 14px;
  color: var(--muted);
}

/* proizvođači — tanka traka kao kod partnera */
.brands {
  border-block: 1px solid var(--line);
  background: #fff;
}

.brands__in {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 18px;
}

.brands__label {
  flex: none;
  max-width: 150px;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.brands__marquee {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.brands__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  animation: brands-slide 45s linear infinite;
}

.brands__marquee:hover .brands__track,
.brands__marquee:focus-within .brands__track {
  animation-play-state: paused;
}

@keyframes brands-slide {
  to {
    transform: translateX(-100%);
  }
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}

a.brand-name:hover {
  color: var(--red);
}

/* kategorije — spisak u redovima */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cat-grid > li {
  display: flex;
}

.cat-tile {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 150px;
  padding: 20px 16px 20px 22px;
  border-radius: var(--r-lg);
  background: var(--soft);
  transition: background-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.cat-tile:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.cat-tile__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cat-tile__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.2s;
}

.cat-tile__count {
  font-size: 13.5px;
  color: var(--muted);
}

.cat-tile__go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
}

.cat-tile__go svg {
  transition: transform 0.25s var(--ease);
}

.cat-tile__img {
  position: relative;
  flex: none;
  width: 104px;
  height: 104px;
}

/* slika uvek cela u okviru, bez obzira da li je visoka ili široka */
.cat-tile__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(20, 22, 26, 0.16));
  transition: transform 0.4s var(--ease);
}

.cat-tile:hover .cat-tile__name {
  color: var(--red);
}

.cat-tile:hover .cat-tile__go svg {
  transform: translateX(3px);
}

.cat-tile:hover .cat-tile__img img {
  transform: scale(1.08) rotate(-3deg);
}

/* boja po uzorku — trake sa bojama */
.sample {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.chips {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(6px, 1vw, 12px);
  align-items: start;
  padding-bottom: 36px;
}

.chip {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.06), 0 18px 30px -20px rgba(20, 22, 26, 0.45);
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}

.chip:nth-child(2) { transform: translateY(26px); }
.chip:nth-child(3) { transform: translateY(8px); }
.chip:nth-child(4) { transform: translateY(34px); }
.chip:nth-child(5) { transform: translateY(14px); }
.chip:nth-child(6) { transform: translateY(30px); }
.chip:nth-child(7) { transform: translateY(4px); }

.chip__paint {
  aspect-ratio: 1 / 3.4;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0.42) 46%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.22) 100%),
    var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.chip__name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 10px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.sample__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.steps {
  display: flex;
  flex-direction: column;
}

.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 22px;
}

.steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 4px;
  width: 1px;
  background: var(--line-2);
}

.steps__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--red-100);
  background: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
}

.steps strong {
  display: block;
  margin-top: 9px;
  font-size: 17px;
  font-weight: 600;
}

.steps li div > span {
  display: block;
  font-size: 15px;
  color: var(--muted);
}

/* o nama + prednosti */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}

.about--photo {
  align-items: center;
}

.about__photo {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--soft);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: clamp(48px, 6vw, 80px);
}

.point {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.point__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: var(--red);
}

.point h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.point p {
  font-size: 15px;
  color: var(--muted);
}

/* veleprodaja — crveni panel */
.promo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border-radius: var(--r-xl);
  background: var(--red);
  color: #fff;
  overflow: hidden;
}

.promo__media {
  position: relative;
  min-height: 420px;
}

.promo__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: clamp(32px, 5vw, 72px);
}

.promo__body .title-lg {
  color: #fff;
}

.promo__body .title-lg em {
  color: #fff;
}

.promo__body p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
}

.checks svg {
  flex: none;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
}

.promo .checks svg {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* =========================================================
   KARTICA PROIZVODA
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.25s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  margin: 6px 6px 0;
  border-radius: calc(var(--r-lg) - 6px);
  background: var(--stage);
  overflow: hidden;
}

.card__media img,
.mini-tile__media img,
.pd__stage img {
  position: absolute;
  inset: 0;
  margin: auto;
}

.card__media img {
  width: 66%;
  height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 14px 14px rgba(20, 22, 26, 0.15));
  transition: transform 0.45s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--pill);
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.card__media .tag {
  position: absolute;
  top: 10px;
  left: 10px;
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 12px 16px 16px;
}

.card__brand {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.card__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card__name a:hover {
  color: var(--red);
}

.card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* sva pakovanja u jednom redu, sva iste širine (kao najšire) i iste visine */
.card__sizes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;
  align-self: flex-start;
  justify-self: start;
  gap: 5px;
  margin-top: 4px;
}

.card__sizes-label {
  flex-shrink: 0;
  margin-right: 2px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.size-btn,
.size-static {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  height: 32px;
  min-width: 0;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  white-space: nowrap;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.size-btn:hover {
  border-color: var(--ink);
}

/* izbor granulacije na kartici: padajuća lista (kad ima više od 4 izbora) */
.card__sizes--select {
  display: block;
  width: 100%;
}

.size-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 32px 0 10px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.size-select::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -6px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  pointer-events: none;
}

.size-select__label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.size-select select {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
}

.size-select:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.size-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.size-static {
  background: var(--soft);
  border-color: transparent;
}

/* izbor boje na kartici */
.card__colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.swatch {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  transition: border-color 0.2s;
}

.swatch:hover {
  border-color: var(--line-2);
}

.swatch.is-active {
  border-color: var(--ink);
}

.swatch__dot {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.card__color-name {
  flex-basis: 100%; /* naziv boje uvek u svom redu, ispod kružića */
  margin-left: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* izbor boje na strani proizvoda */
.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 8px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: border-color 0.2s, background-color 0.2s;
}

.color-btn .swatch__dot {
  width: 22px;
  height: 22px;
}

.color-btn:hover {
  border-color: var(--ink);
}

.color-btn.is-active {
  border-color: var(--red);
  background: var(--red-50);
  box-shadow: 0 0 0 1px var(--red);
  color: var(--red);
}

.field-title strong {
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.price-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.price.is-ask {
  font-size: 17px;
  color: var(--ink-2);
}

.btn-cart {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 40px;
  border-radius: var(--pill);
  background: var(--red-50);
  color: var(--red);
  transition: background-color 0.2s, color 0.2s;
}

.btn-cart:hover {
  background: var(--red);
  color: #fff;
}

.btn-cart.is-added {
  background: #e6f4ea;
  color: #1e7a3c;
}

.no-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #9aa0a8;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* prikaz u listi (katalog) */
.grid.is-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.grid.is-list .card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}

.grid.is-list .card:hover {
  transform: none;
}

.grid.is-list .card__media {
  aspect-ratio: auto;
  height: calc(100% - 12px);
  min-height: 132px;
  margin: 6px;
}

.grid.is-list .card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 236px;
  grid-template-areas:
    "brand foot"
    "name foot"
    "desc foot"
    "sizes foot";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 32px;
  row-gap: 6px;
  padding: 20px 24px 20px 12px;
}

.grid.is-list .card__brand { grid-area: brand; }
.grid.is-list .card__name { grid-area: name; }
.grid.is-list .card__desc { grid-area: desc; -webkit-line-clamp: 2; }
.grid.is-list .card__sizes { grid-area: sizes; align-self: start; justify-self: start; }

.grid.is-list .card__foot {
  grid-area: foot;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin: 0;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--line);
}

.grid.is-list .btn-cart {
  width: 100%;
}

/* =========================================================
   KATALOG
   ========================================================= */
.catalog {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-top: clamp(20px, 2.5vw, 32px);
  padding-bottom: clamp(80px, 9vw, 128px);
}

.catalog__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
}

.filters {
  padding-right: 6px;
}

.filters__head,
.filters__foot {
  display: none;
}

.filters__group {
  padding: 20px 0 16px;
  border-top: 1px solid var(--line);
}

.filters__group:first-child {
  border-top: 0;
  padding-top: 0;
}

.filters__title {
  float: left;
  width: 100%;
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filters__group > div {
  clear: both;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  margin-inline: -10px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.check:hover {
  background: var(--soft);
}

.check input,
.choice input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid var(--line-2);
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.check input:checked,
.choice input:checked {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.choice input[type="radio"] {
  border-radius: 50%;
}

.choice input[type="radio"]:checked {
  background: #fff;
  box-shadow: inset 0 0 0 4px var(--red);
}

.check__count {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: var(--pill);
  background: var(--soft);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--muted);
}

.check:has(input:checked) {
  font-weight: 600;
}

.check:has(input:checked) .check__count {
  background: var(--red-50);
  color: var(--red);
}

.filters__help {
  margin-top: 8px;
  padding: 20px;
  border-radius: var(--r);
  background: var(--soft);
  font-size: 14px;
  color: var(--muted);
}

.filters__help strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink);
}

.filters__help a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--red);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.search {
  position: relative;
  flex: 1 1 320px;
  min-width: 0;
}

.search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search .input {
  padding-left: 50px;
  border-radius: var(--pill);
  background: var(--soft);
  border-color: transparent;
}

.search .input:focus {
  background: #fff;
}

.filter-toggle {
  display: none;
}

.filter-toggle__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.select-wrap {
  position: relative;
}

.select-wrap svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.select-wrap .select {
  padding-right: 46px;
  border-radius: var(--pill);
  cursor: pointer;
}

.view-toggle {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--pill);
  background: var(--soft);
}

.view-toggle button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.view-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.active-filters[hidden] {
  display: none;
}

.tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 14px;
  border-radius: var(--pill);
  background: var(--red-50);
  color: var(--red);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.tag-btn:hover {
  background: var(--red-100);
}

.clear-btn {
  height: 34px;
  padding: 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.clear-btn:hover {
  color: var(--ink);
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 22px 0 18px;
  font-size: 15px;
  color: var(--muted);
}

.results-bar strong {
  color: var(--ink);
}

.results-note {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
}

.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  text-align: center;
}

.load-more[hidden] {
  display: none;
}

.progress {
  width: 220px;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--red);
  transition: width 0.3s var(--ease);
}

.load-more__label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  color: var(--muted);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 24px;
  border-radius: var(--r-xl);
  background: var(--soft);
  text-align: center;
}

.empty-state[hidden] {
  display: none;
}

.empty-state p {
  max-width: 46ch;
  color: var(--muted);
}

.round-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(20, 22, 26, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scrim.is-on {
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   STRANA PROIZVODA
   ========================================================= */
.crumbs-bar {
  padding: 16px 0 0;
}

.crumbs-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

.back-link:hover {
  color: var(--red);
}

.pd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 14px;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.pd__gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.pd__stage {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(300px, calc(100vh - 270px), 620px);
  border-radius: var(--r-xl);
  background: var(--stage);
  border: 1px solid var(--line);
  overflow: hidden;
}

.pd__stage img {
  width: 76%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 30px 30px rgba(20, 22, 26, 0.18));
}

.pd__stage .tag {
  position: absolute;
  top: 20px;
  left: 20px;
}

.pd__size-tag {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.pd__size-tag:empty {
  display: none;
}

.pd__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pd-thumb {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--stage);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pd-thumb img {
  width: 58%;
  height: 58%;
  object-fit: contain;
  margin-bottom: 12px;
}

.pd-thumb span {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink-2);
}

.pd-thumb.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px var(--red);
}

.pd__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pd__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pd__brand {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.pd__meta a.tag:hover {
  border-color: var(--ink);
}

.pd__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.pd__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.buy__price {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
}

.buy__price .price {
  font-size: 32px;
  letter-spacing: -0.03em;
}

.buy__price .price.is-ask {
  font-size: 26px;
}

.buy__total {
  font-size: 14px;
  color: var(--muted);
}

.field-title {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.variants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.variant-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s;
}

.variant-btn strong {
  font-size: 15px;
  font-weight: 700;
}

.variant-btn span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted);
}

.variant-btn:hover {
  border-color: var(--ink);
}

.variant-btn.is-active {
  border-color: var(--red);
  background: var(--red-50);
  box-shadow: 0 0 0 1px var(--red);
}

.variant-btn.is-active strong {
  color: var(--red);
}

.buy__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
}

.buy__call {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--red);
  transition: border-color 0.2s, background-color 0.2s;
}

.buy__call:hover {
  border-color: var(--red);
  background: var(--red-50);
}

.buy__note {
  margin-top: -4px;
  font-size: 14px;
  color: var(--muted);
}

.buy__note a {
  font-weight: 700;
  color: var(--ink);
}

.buy__note a:hover {
  color: var(--red);
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 52px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
}

.qty button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 100%;
  border-radius: var(--pill);
  color: var(--ink-2);
}

.qty button:hover {
  color: var(--red);
}

.qty output {
  min-width: 34px;
  text-align: center;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--soft);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.perk svg {
  flex: none;
  color: var(--red);
}

.perk strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}

.pd-details {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas:
    "opis spec"
    "dok spec";
  gap: 20px;
  padding-bottom: clamp(72px, 8vw, 112px);
}

.panel {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-xl);
  background: var(--soft);
}

.panel--opis { grid-area: opis; }
.panel--spec { grid-area: spec; }
.panel--dok { grid-area: dok; }

.panel h2 {
  margin-bottom: 16px;
}

.panel p {
  color: var(--ink-2);
  font-size: 16.5px;
}

.panel--dok {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.panel--dok .doc {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 460px;
}

.panel--dok .doc svg {
  flex: none;
  color: var(--red);
}

.panel--dok strong {
  display: block;
  font-size: 16px;
}

.panel--dok span {
  font-size: 14.5px;
  color: var(--muted);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 44%;
  padding-right: 16px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-table td {
  font-size: 15px;
  font-weight: 600;
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: #fff;
  font-size: 15px;
  color: var(--ink-2);
}

.callout svg {
  flex: none;
  color: var(--red);
}

.callout a {
  font-weight: 600;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout--red {
  background: var(--red-50);
}

.buybar {
  display: none;
}

.not-found {
  padding: 96px 0 140px;
  text-align: center;
}

.not-found .stack {
  align-items: center;
}

/* =========================================================
   BOJA PO UZORKU
   ========================================================= */
.sample-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 112px);
}

.sample-hero__visual {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) clamp(12px, 2vw, 20px);
  border-radius: var(--r-xl);
  background: var(--soft);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: korak;
}

.process__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
}

.process__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.process__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
}

.process__item:last-child .process__icon {
  background: var(--red);
  color: #fff;
}

.process__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.1;
  color: var(--line-2);
}

.process__item h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.process__item p {
  font-size: 15px;
  color: var(--muted);
}

.code-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
}

.plate {
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--font-label);
  font-weight: 700;
}

.plate__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line-2);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.plate__dots {
  display: flex;
  gap: 6px;
}

.plate__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
}

.plate__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.plate__row span:first-child {
  color: var(--muted);
}

.plate__row--hl {
  margin-block: 4px;
  background: var(--red-50);
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
  font-weight: 500;
}

.plate__row--hl span:first-child {
  color: var(--red);
}

.figure-caption {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.where {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.where li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--soft);
  font-size: 15.5px;
  font-weight: 500;
}

.where__num {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  color: var(--red);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.mini-tile {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s, transform 0.3s var(--ease);
}

.mini-tile:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.mini-tile__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.9;
  margin: 8px 8px 0;
  border-radius: calc(var(--r-lg) - 8px);
  background: var(--stage);
}

.mini-tile__media img {
  width: 66%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(20, 22, 26, 0.14));
}

.mini-tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 18px;
  font-weight: 600;
}

.mini-tile:hover .mini-tile__foot {
  color: var(--red);
}

/* =========================================================
   FORME
   ========================================================= */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
}

.form-card {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 600;
}

.form-step span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field label,
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--red);
}

.opt {
  font-weight: 400;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: #8a9098;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(165, 29, 36, 0.1);
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.choice:hover {
  border-color: var(--ink);
}

.choice:has(input:checked) {
  border-color: var(--red);
  background: var(--red-50);
  color: var(--red);
}

.field-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.field-hint {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}

.form-note {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--red-50);
  font-size: 15px;
  color: var(--ink);
}

.form-note a {
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.form-note--ok {
  background: #e6f4ea;
  color: #14522a;
}

/* skriveno polje protiv botova (ljudi ga ne vide i ne popunjavaju) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-lines {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.contact-lines a,
.contact-lines div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  font-weight: 500;
}

.contact-lines svg {
  flex: none;
  color: var(--red);
}

.contact-lines a:hover {
  color: var(--red);
}

/* =========================================================
   O NAMA I KONTAKT
   ========================================================= */
.wide-photo {
  position: relative;
  aspect-ratio: 21 / 8;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #1a0d0e;
}

.wide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.photo-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--pill);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
}

.photo-tag svg {
  color: var(--red);
}

.about-hero {
  padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 64px);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.about-hero__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-hero__photo {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--soft);
}

.about-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: clamp(24px, 3vw, 36px) 0;
  border-radius: var(--r-xl);
  background: var(--red);
  color: #fff;
}

.stats-band > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px clamp(20px, 3vw, 36px);
}

.stats-band > div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.stats-band strong {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stats-band > div > span {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 32px clamp(40px, 6vw, 88px);
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: var(--soft);
}

.offer-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.offer-list li + li {
  border-top: 1px solid var(--line-2);
}

.offer-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition: color 0.2s;
}

.offer-list__thumb {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
}

.offer-list__thumb img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.offer-list__name {
  font-size: 16px;
  font-weight: 700;
}

.offer-list__count {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
}

.offer-list a svg {
  flex: none;
  color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.2s;
}

.offer-list a:hover {
  color: var(--red);
}

.offer-list a:hover svg {
  color: var(--red);
  transform: translateX(3px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px clamp(40px, 6vw, 96px);
}

.split--top {
  align-items: start;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

a.feature:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
}

.feature h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 15px;
  color: var(--muted);
}

.feature__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

.info-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.info-list > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list span {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.info-list strong,
.info-list a {
  font-size: 16px;
  font-weight: 600;
}

.info-list a:hover {
  color: var(--red);
}

.cta-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--soft);
  text-align: center;
}

.cta-band .btn-row {
  justify-content: center;
}

.contact-hero {
  padding-block: clamp(28px, 4vw, 48px) clamp(32px, 4vw, 56px);
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px clamp(32px, 5vw, 72px);
}

.contact-hero__adr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
}

.contact-hero__adr svg {
  flex: none;
  color: var(--red);
}

.contact-hero__photo {
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--soft);
}

.contact-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

a.contact-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
}

.contact-card__label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card__sub {
  font-size: 14px;
  color: var(--muted);
}

.contact-card__go {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--muted);
  transition: color 0.2s, transform 0.25s var(--ease);
}

a.contact-card:hover .contact-card__go {
  color: var(--red);
  transform: translate(2px, -2px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: start;
  gap: 24px;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* mapa */
.map-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

.map-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.map-card__map {
  position: relative;
  height: 280px;
  background: #eceef1;
  overflow: hidden;
}

.map-card__map svg.map-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  color: var(--red);
  filter: drop-shadow(0 8px 10px rgba(165, 29, 36, 0.35));
}

.map-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: rgba(165, 29, 36, 0.25);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(6); opacity: 0; }
}

.map-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.map-card__bar strong {
  display: block;
  font-size: 16px;
}

.map-card__bar small {
  font-size: 14px;
  color: var(--muted);
}

.map-card__open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
}

/* =========================================================
   PODNOŽJE
   ========================================================= */
.footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
}

.info-card--line {
  border: 1px solid var(--line);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red);
}

.info-card__title {
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card__main {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.info-card__main a:hover {
  color: var(--red);
}

.info-card__mail {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-2);
}

.info-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
}

.info-card__note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.hours th,
.hours td {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.hours tr:last-child th,
.hours tr:last-child td {
  border-bottom: 0;
}

.hours th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-2);
}

.hours td {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.hours .is-closed td {
  font-weight: 500;
  color: var(--muted);
}

.hours .is-today th,
.hours .is-today td {
  color: var(--red);
  font-weight: 700;
}

.today-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: var(--pill);
  background: var(--red-50);
  font-size: 11.5px;
  font-weight: 700;
  vertical-align: 1px;
}

/* jedan red preko cele širine: logo, navigacija, katalog, kontakt, radno vrijeme */
.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 28px 40px;
  padding-block: 44px 36px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__brand img {
  width: 180px;
}

.footer__brand p {
  max-width: 32ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  font-size: 14.5px;
}

.footer__text {
  line-height: 1.5;
  color: var(--ink-2);
}

.footer__col a.footer__strong {
  font-weight: 700;
  color: var(--ink);
}

.footer__col a.footer__mail {
  overflow-wrap: anywhere;
}

.footer__col a.footer__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--red);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 0;
}

.footer-hours div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.footer-hours dt {
  color: var(--ink-2);
}

.footer-hours dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.footer-hours .is-closed dd {
  font-weight: 500;
  color: var(--muted);
}

.footer__title {
  margin-bottom: 4px;
  font-family: var(--font-label);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col a {
  color: var(--ink-2);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--red);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-block: 16px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- pojavljivanje pri skrolovanju ---------- */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   PORUDŽBINA (dugme sa kolicima, obaveštenje, strana porudžbine)
   ========================================================= */
.btn--cart {
  gap: 10px;
}

.btn--cart.is-added {
  background: #1e7a3c;
  box-shadow: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(460px, calc(100% - 24px));
  padding: 12px 12px 12px 14px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
}

.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s, transform 0.25s var(--ease);
}

.toast__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e7a3c;
}

.toast__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.3;
}

.toast__txt span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.toast__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.toast__link:hover {
  background: var(--red-50);
  color: var(--red);
}

.order-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(72px, 9vw, 128px);
}

.order-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(36px, 6vw, 72px) 20px;
  border-radius: var(--r-xl);
  background: var(--soft);
  text-align: center;
}

.order-empty[hidden],
.order-box[hidden],
.order-layout .form-card[hidden] {
  display: none;
}

.order-done .order-empty__icon {
  color: #1e7a3c;
}

.order-done[hidden] {
  display: none;
}

/* 404: stranica nije pronađena */
.nf {
  padding-block: clamp(28px, 5vw, 64px) clamp(72px, 9vw, 128px);
}

.nf__box {
  max-width: 760px;
  margin-inline: auto;
}

.nf__box .hero-search {
  max-width: 480px;
  margin-top: 6px;
}

.nf__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.order-empty__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
}

.order-empty .text {
  max-width: 420px;
}

.order-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.order-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.oline {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.oline:first-child {
  padding-top: 0;
}

.oline__img {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 14px;
  background: var(--stage);
  overflow: hidden;
}

.oline__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.oline__img .no-image {
  gap: 4px;
  font-size: 8.5px;
}

.oline__img .no-image svg {
  width: 26px;
  height: 26px;
}

.oline__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.oline__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.oline__name:hover {
  color: var(--red);
}

.oline__meta,
.oline__unit {
  font-size: 13.5px;
  color: var(--muted);
}

.oline__side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.qty--sm {
  height: 40px;
}

.qty--sm button {
  width: 34px;
}

.qty--sm button:disabled {
  opacity: 0.35;
  cursor: default;
}

.qty--sm output {
  min-width: 26px;
}

.oline__total {
  min-width: 86px;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.oline__total.is-ask {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.oline__del {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  transition: background-color 0.2s, color 0.2s;
}

.oline__del:hover {
  background: var(--red-50);
  color: var(--red);
}

.order-sum {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--soft);
}

.order-sum__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.order-sum__row strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.order-sum__row--big strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.order-sum__note {
  font-size: 13.5px;
  color: var(--muted);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-clear {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.order-clear:hover,
.order-clear[data-ask="1"] {
  color: var(--red);
}

.form-note--order {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.form-note--order .btn {
  color: #fff;
  white-space: normal;
  text-align: center;
  height: auto;
  min-height: 48px;
  padding-block: 10px;
}

.form-note__small {
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 1023px) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 759px) {
  .has-buybar .toast {
    bottom: 84px;
  }

  .oline {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
  }

  .oline__img {
    width: 64px;
    height: 64px;
  }

  .oline__side {
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 10px;
  }

  .oline__total {
    flex: 1;
    min-width: 0;
  }

  .oline__name {
    font-size: 15px;
  }

  .toast__link {
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .brands__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .brands__track {
    flex: 1;
    flex-wrap: wrap;
    gap: 10px 28px;
    padding-right: 0;
  }

  .brands__track[aria-hidden="true"] {
    display: none;
  }
}

/* =========================================================
   PRILAGOĐAVANJE EKRANU
   ========================================================= */
@media (max-width: 1180px) {
  .cat-tile {
    padding: 18px 12px 18px 18px;
  }

  .cat-tile__img {
    width: 80px;
    height: 80px;
  }

  .cat-tile__name {
    font-size: 16.5px;
  }

  .menu__link {
    padding: 10px 12px;
  }

  .header__phone {
    display: none;
  }



  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 36px 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .footer__brand p {
    max-width: 52ch;
    text-align: right;
  }
}

@media (max-width: 1023px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cat-tile__img {
    width: 96px;
    height: 96px;
  }

  :root {
    --header-h: 68px;
  }

  .topbar__in > .topbar__item:nth-child(2) {
    display: none;
  }

  .brand img {
    width: 168px;
  }

  .burger {
    display: block;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__actions .btn {
    display: none;
  }

  .menu {
    position: fixed;
    inset: 0;
    z-index: -2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: calc(var(--header-h) + 64px) var(--gutter) 32px;
    background: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }

  .header.is-open .menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }

  .menu__link {
    padding: 18px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--ink);
  }

  .menu__link:hover {
    background: none;
    color: var(--red);
  }

  .menu__link[aria-current="page"] {
    font-weight: 400;
    color: var(--red);
  }

  .menu__link[aria-current="page"]::after {
    display: none;
  }

  .menu__extra {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
    padding-top: 32px;
    font-size: 15px;
    color: var(--muted);
  }

  .menu__extra .btn {
    margin-top: 8px;
  }

  .hero__grid,
  .sample,
  .about,
  .sample-hero,
  .code-help,
  .form-layout,
  .split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    max-width: 760px;
  }

  .hero__photo {
    aspect-ratio: 1344 / 768;
  }

  .float-card--count {
    right: 12px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact:nth-child(n + 3) {
    margin-top: 8px;
    border-top: 1px solid var(--line);
  }

  .points,
  .feature-grid,
  .process,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .feature-grid,
  .process,
  .contact-cards {
    gap: 16px;
  }

  .promo {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo__media {
    min-height: 280px;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd {
    grid-template-columns: minmax(0, 1fr);
  }

  .pd__gallery {
    position: static;
  }

  .pd__stage {
    height: auto;
    aspect-ratio: 4 / 3.4;
  }

  .about-hero__grid,
  .about-split,
  .contact-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .stats-band > div:nth-child(3) {
    border-left: 0;
  }



  .pd-details {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "opis" "spec" "dok";
  }

  /* katalog: filteri se otvaraju sa strane */
  .catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .filters {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    width: min(420px, 90vw);
    max-height: none;
    padding: 0;
    background: #fff;
    box-shadow: 30px 0 60px -30px rgba(20, 22, 26, 0.4);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }

  .filters.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.35s var(--ease), visibility 0s;
  }

  .filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
  }

  .filters__head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 32px;
  }

  .filters__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 8px 30px;
  }

  .filters__foot {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--line);
  }

  .filters__foot .btn {
    flex: 1;
    padding: 0 16px;
  }

  .filters__foot .btn--line {
    flex: 0 0 auto;
  }

  .filter-toggle {
    display: inline-flex;
  }

}

@media (max-width: 759px) {
  .topbar__right a:last-child {
    display: none;
  }

  .brands__in {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 14px;
  }

  .brands__label {
    max-width: none;
  }

  .brands__marquee {
    width: 100%;
  }

  .brand-name {
    font-size: 15.5px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar__in {
    gap: 16px;
    font-size: 12.5px;
  }

  .hero-search {
    padding-left: 16px;
  }

  .hero-search .btn {
    padding: 0 16px;
  }

  .hero__visual {
    padding: 0;
  }

  .float-card--sample {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -22px 12px 0;
  }

  .float-card--count {
    display: none;
  }

  .float-card--count strong {
    font-size: 34px;
  }



  .hide-sm {
    display: none;
  }

  .cat-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .cat-tile {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 14px;
    min-height: 0;
    padding: 10px 14px 10px 10px;
    border-radius: var(--r);
  }

  .cat-tile:hover {
    transform: none;
  }

  .cat-tile__img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: #fff;
  }

  .cat-tile__img img {
    inset: 11%;
    width: 78%;
    height: 78%;
  }

  .cat-tile__name {
    font-size: 16.5px;
  }

  .cat-tile__go {
    display: none;
  }

  .chip__name {
    height: 96px;
    font-size: 10px;
  }

  .points,
  .feature-grid,
  .process,
  .contact-cards,
  .where,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--4.grid--rail {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 80%;
    gap: 14px;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .grid--rail::-webkit-scrollbar {
    display: none;
  }

  .grid--rail > * {
    scroll-snap-align: start;
  }

  .grid--4:not(.grid--rail) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .grid:not(.grid--4):not(.is-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  /* manje kartice u dve kolone na telefonu */
  .grid:not(.grid--rail) .card__body {
    padding: 12px 14px 14px;
    gap: 6px;
  }

  .grid:not(.grid--rail) .card__name {
    font-size: 15.5px;
  }

  .grid:not(.grid--rail) .card__desc {
    display: none;
  }

  .grid:not(.grid--rail) .card__sizes-label {
    display: none;
  }

  .grid:not(.grid--rail) .card__sizes {
    gap: 4px;
  }

  .grid:not(.grid--rail) .size-btn,
  .grid:not(.grid--rail) .size-static {
    height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .grid:not(.grid--rail) .card__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
  }

  .grid:not(.grid--rail) .price {
    font-size: 19px;
  }

  .grid:not(.grid--rail) .btn-cart {
    width: 100%;
    height: 38px;
  }

  .card__media .tag {
    top: 8px;
    left: 8px;
    height: 22px;
    padding: 0 8px;
    font-size: 10px;
  }

  .grid.is-list .card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .grid.is-list .card__media {
    min-height: 0;
  }

  .grid.is-list .card__body {
    display: flex;
    padding: 14px 14px 14px 4px;
  }

  .grid.is-list .card__foot {
    flex-direction: row;
    align-items: flex-end;
    padding: 10px 0 0;
    border-left: 0;
  }

  .grid.is-list .card__media .tag {
    display: none;
  }

  .toolbar .search {
    flex-basis: 100%;
  }

  .toolbar .select-wrap {
    flex: 1;
    min-width: 0;
  }

  .toolbar .select {
    padding-left: 14px;
    padding-right: 32px;
    font-size: 14px;
  }

  .toolbar .select-wrap svg {
    right: 12px;
  }

  .toolbar .filter-toggle {
    gap: 8px;
    padding: 0 12px;
    font-size: 14px;
  }

  .view-toggle button {
    width: 36px;
    height: 44px;
  }

  .perks {
    grid-template-columns: minmax(0, 1fr);
  }

  .perk {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  /* uže polje za količinu, da dugme "Pošalji upit" ima mesta */
  .qty {
    height: 48px;
  }

  .qty button {
    width: 32px;
  }

  .qty output {
    min-width: 24px;
  }

  .buy__row {
    gap: 8px;
  }

  .buy__row .btn {
    height: 48px;
    gap: 6px;
    padding: 0 10px;
    font-size: 14px;
  }

  .buy__call {
    width: 48px;
    height: 48px;
  }

  .info-card {
    padding: 22px;
  }

  .pd-thumb {
    width: 64px;
    height: 64px;
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mini-tile__foot {
    padding: 12px 14px;
    font-size: 14.5px;
  }

  .wide-photo {
    aspect-ratio: 4 / 3;
  }

  .info-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .map-card__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-foot .btn {
    width: 100%;
  }

  .footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    padding-block: 28px 24px;
  }

  .footer__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 20px;
  }

  .footer__brand p {
    text-align: left;
  }

  .footer__bottom {
    font-size: 12.5px;
  }

  .buybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }

  .buybar .price {
    font-size: 20px;
  }

  .has-buybar .footer {
    padding-bottom: 76px;
  }
}

@media (max-width: 400px) {
  .buy__row .btn svg.i-arrow {
    display: none;
  }

  .brand img {
    width: 150px;
  }

  .grid:not(.grid--4):not(.is-list) {
    gap: 10px;
  }
}

/* najuži telefoni: dugme „U porudžbinu“ bez slike kolica, da tekst stane */
@media (max-width: 360px) {
  .buy__row .btn--cart svg {
    display: none;
  }

  .buybar .btn {
    height: 46px;
    padding: 0 16px;
    gap: 8px;
    font-size: 14px;
  }

  /* zaglavlje: pretraga, kolica i meni staju pored logoa */
  .brand img {
    width: 132px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .icon-btn {
    width: 40px;
    height: 40px;
  }
}
