/* LEON Medikal — glavni stilovi.
   Vizuelni jezik prati leon.rs (Jost, naslovi velikim slovima sa razmakom, pravougaona dugmad, svetle kartice),
   a Medikal crvena (#E4002B) preuzima ulogu teget boje matičnog brenda. */

/* ---------- Font ---------- */
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/jost-latin-ext-wght.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Jost';
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url(/assets/fonts/jost-latin-wght.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeni ---------- */
:root {
	--red: #e4002b;
	--red-dark: #b5001f;
	--ink: #212121;
	--text: #404040;
	--muted: #6b6b6b;
	--line: #e6e6e6;
	--card: #f5f5f5;
	--mist: #f4f3f1;
	--white: #fff;
	--footer: #1c1c1e;
	/* Apotekarska zelena — samo signal „dostupno u apotekama" (docs/06). */
	--pharma: #2e9e4f;
	--pharma-ink: #1d7a3a;

	--font: 'Jost', 'Helvetica Neue', Arial, sans-serif;
	--gutter: clamp(16px, 3vw, 40px);
	--max: 1440px;
	--section: clamp(64px, 8vw, 120px);
	--topbar-h: 40px;
	--header-h: 68px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (min-width: 1100px) {
	:root { --header-h: 84px; }
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 400; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 16px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Naslovi u duhu leon.rs: velika slova, širok razmak, tanak rez. */
.section-title {
	font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.5rem);
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.2;
	text-wrap: balance;
}
.section-title--small { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
.section-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head--center { text-align: center; }
.section-lead { max-width: 52ch; margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
.section-head--center .section-lead { margin-inline: auto; }
.page-home .section-head--center .section-lead { text-wrap: balance; }

/* ---------- Dugmad i linkovi ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	min-height: 48px; padding: 0 1.6rem;
	border: 1px solid transparent; border-radius: 2px;
	font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--red); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 0.4em; padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font-size: 0.875rem; text-decoration: none; cursor: pointer; transition: color 0.2s; }
.text-link:hover { color: var(--red); }
.text-link--small { font-size: 0.8125rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; transition: border-color 0.2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.tag { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.45em 0.8em; background: var(--white); color: var(--red); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1; vertical-align: middle; }
.tag svg { width: 0.95em; height: 0.95em; }

.placeholder-note { margin-block: 1rem; padding: 0.75rem 1rem; border-left: 3px solid var(--red); background: var(--mist); color: var(--muted); font-size: 0.875rem; }
.placeholder-value { color: var(--muted); }

/* ---------- Traka iznad headera ---------- */
.topbar { position: relative; z-index: 51; background: var(--red); color: var(--white); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.topbar__inner { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--topbar-h); max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.topbar__arrow { display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; color: inherit; opacity: 0.75; cursor: pointer; }
.topbar__arrow:hover { opacity: 1; }
.topbar__arrow .icon { width: 14px; height: 14px; }
.topbar__messages { position: relative; display: grid; flex: 0 1 560px; text-align: center; }
.topbar__msg { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0s 0.5s; }
.topbar__msg.is-active { opacity: 1; visibility: visible; transition: opacity 0.5s; }
.topbar__msg a { text-decoration: none; }
.topbar__msg a:hover { text-decoration: underline; }
.topbar__parent { display: none; position: absolute; right: var(--gutter); text-decoration: none; opacity: 0.9; }
.topbar__parent:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 599px) {
	.topbar { font-size: 0.6875rem; letter-spacing: 0.06em; }
	.topbar__arrow { display: none; }
}
@media (min-width: 1100px) {
	.topbar__parent { display: block; }
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	background: var(--white); color: var(--ink);
	border-bottom: 1px solid var(--line);
	transition: transform 0.35s var(--ease-out);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-header__logo { display: block; flex: none; color: var(--red); }
.logo { width: clamp(100px, 8.5vw, 128px); height: auto; overflow: visible; }
.logo__mark { fill: currentColor; }
.logo__cross { fill: var(--white); }
.site-header.is-hidden { transform: translateY(-100%); }

/* Glavna navigacija: stavke sa ▾ su dugmad koja otvaraju panel (header.njk, main.js → initNav). */
.site-nav { display: none; align-self: stretch; margin-inline: auto; }
.site-nav__list { display: flex; height: 100%; gap: clamp(14px, 1.7vw, 30px); list-style: none; }
.site-nav__item { position: relative; display: flex; align-items: center; }
.site-nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; }
.site-nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 10px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease-out); }
.site-nav__link:hover::after, .site-nav__link[aria-current]::after, .site-nav__trigger[aria-expanded="true"]::after { transform: scaleX(1); }
.site-nav__link[aria-current] { color: var(--red); }
.site-nav__trigger .icon { width: 12px; height: 12px; margin-right: -2px; transition: transform 0.25s var(--ease-out); }
.site-nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-nav__icon { width: 15px; height: 15px; color: var(--red); }
.site-header__cta { margin-left: auto; min-height: 42px; padding-inline: 1.1rem; }
.site-header__cta-long { display: none; }
.site-header__menu { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
.site-header__menu .icon { width: 26px; height: 26px; }

/* Panel ispod stavke: svetao, hairline okvir, jedna meka senka (docs/06). */
.nav-panel { position: absolute; top: 100%; left: -20px; z-index: 2; width: max-content; min-width: 270px; padding: 8px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 28px 48px -28px rgba(0, 0, 0, 0.3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.3s var(--ease-out), visibility 0s linear 0.3s; }
.site-nav__item.is-open .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.3s var(--ease-out); }
/* Poslednje dve stavke (Informacije, O nama) otvaraju panel ka levoj strani — bez prelivanja ekrana na 1100 px. */
.site-nav__item:nth-last-child(-n + 2) .nav-panel { left: auto; right: -20px; }
.nav-panel__overview { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; margin-bottom: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.nav-panel__overview .icon { width: 18px; height: 18px; color: var(--red); transition: transform 0.2s var(--ease-out); }
.nav-panel__overview:hover .icon { transform: translateX(3px); }
.nav-panel__overview[aria-current="page"] { color: var(--red-dark); }
.nav-panel__list { display: grid; list-style: none; }
.nav-panel--wide .nav-panel__list { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.nav-panel__link { position: relative; display: grid; gap: 2px; padding: 11px 12px 12px; color: var(--ink); text-decoration: none; transition: background-color 0.15s; }
.nav-panel__link:hover { background: var(--mist); }
.nav-panel__link[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 2px; background: var(--red); }
.nav-panel__label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.nav-panel__label .icon { width: 13px; height: 13px; color: var(--muted); }
.nav-panel__link[aria-current="page"] .nav-panel__label { color: var(--red-dark); }
.nav-panel__note { color: var(--muted); font-size: 0.875rem; line-height: 1.4; }
/* Bez JS-a: panel se otvara na hover i kad je fokus u stavci. */
@media (scripting: none) {
	.site-nav__item--menu:hover .nav-panel, .site-nav__item--menu:focus-within .nav-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}

@media (min-width: 600px) {
	.site-header__cta-long { display: inline; }
	.site-header__cta-short { display: none; }
}
@media (min-width: 1100px) {
	.site-header__inner { gap: 20px; }
	.site-nav { display: block; }
	.site-header__cta { margin-left: 0; }
	.site-header__menu { display: none; }
}
@media (min-width: 1280px) {
	.site-header__inner { gap: 24px; }
	.site-nav__link { font-size: 0.8125rem; letter-spacing: 0.08em; }
}

/* ---------- Pretraga: dugme u headeru (header.njk, main.js → initSearch) ----------
   Samo dugme; prozor, rezultati i strana /pretraga/ su u pretraga.css (učitava se pri prvom otvaranju).
   Dva dugmeta: --narrow između CTA i menija (do 1100 px), --wide ispred CTA (od 1100 px). Negativne margine
   oduzimaju deo razmaka headera (ikonica ima svoj vazduh), pa se ništa ne prelama ni na 360 px. */
.site-header__search { display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin-inline: -12px -14px; padding: 0; border: 0; border-radius: 2px; background: none; color: var(--ink); cursor: pointer; transition: color 0.2s; }
.site-header__search:hover { color: var(--red); }
.site-header__search .icon { width: 24px; height: 24px; }
.site-header__search--wide { display: none; }
@media (min-width: 1100px) {
	.site-header__search--narrow { display: none; }
	.site-header__search--wide { display: grid; width: 40px; margin-inline: -6px -4px; }
	.site-header__search .icon { width: 22px; height: 22px; }
}
/* 1100–1279 px: mesto za dugme dolazi iz razmaka između stavki menija (meni ostaje u jednom redu). */
@media (min-width: 1100px) and (max-width: 1279.98px) {
	.site-header__inner { gap: 16px; }
	.site-nav__list { gap: 12px; }
}
@media (min-width: 1280px) {
	.site-header__search--wide { margin-inline: -8px -4px; }
}
/* Bez JavaScript-a pretraga ne radi, pa se dugme ne prikazuje. */
@media (scripting: none) {
	.site-header__search { display: none !important; }
}

/* Mobilni meni: ista struktura kao glavna navigacija; grupe su harmonike (main.js → initMenu). */
.mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 24px; padding: 0 var(--gutter) 32px; background: var(--white); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; }
.mobile-menu__close .icon { width: 26px; height: 26px; }
.mobile-menu__list { list-style: none; border-top: 1px solid var(--line); }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); animation: menu-in 0.45s var(--ease-out) both; animation-delay: calc(var(--i) * 35ms); }
.mobile-menu__link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 1.125rem; letter-spacing: 0.12em; line-height: 1.3; text-align: left; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.mobile-menu__link > .icon { width: 20px; height: 20px; color: var(--red); }
.mobile-menu__link[aria-current] { color: var(--red); }
.mobile-menu__toggle { justify-content: space-between; }
.mobile-menu__toggle > .icon { color: var(--ink); transition: transform 0.3s var(--ease-out); }
.mobile-menu__toggle[aria-expanded="true"] > .icon { transform: rotate(180deg); }
.mobile-menu__sub { display: grid; margin: -6px 0 16px 1px; padding-left: 15px; border-left: 1px solid var(--line); list-style: none; animation: sub-in 0.3s var(--ease-out); }
.mobile-menu__sub[hidden] { display: none; }
.mobile-menu__sub a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-size: 1rem; letter-spacing: 0.02em; text-decoration: none; }
.mobile-menu__sub a[aria-current="page"] { color: var(--red-dark); font-weight: 500; }
.mobile-menu__sub a[aria-current="page"]::before { content: ''; position: absolute; left: -17px; top: 10px; bottom: 10px; width: 3px; background: var(--red); }
.mobile-menu__sub .icon { width: 14px; height: 14px; color: var(--muted); }
.mobile-menu__contact { display: grid; gap: 12px; color: var(--muted); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes sub-in { from { opacity: 0; transform: translateY(-4px); } }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; height: clamp(520px, 58vw, calc(100svh - var(--header-h) - var(--topbar-h))); overflow: hidden; background: var(--ink); color: var(--white); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease-in-out), visibility 0s 0.9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.9s var(--ease-in-out); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 7s linear; }
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0) 70%); }
.hero__content { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.hero__title { max-width: 15ch; color: var(--white); font-size: clamp(2rem, 1.25rem + 3vw, 4rem); font-weight: 500; letter-spacing: 0.06em; line-height: 1.1; text-transform: uppercase; }
.hero__text { max-width: 40ch; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.1875rem); color: rgba(255, 255, 255, 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__slide.is-active .hero__title, .hero__slide.is-active .hero__text, .hero__slide.is-active .hero__actions { animation: fade-up 0.9s var(--ease-out) both; }
.hero__slide.is-active .hero__text { animation-delay: 0.12s; }
.hero__slide.is-active .hero__actions { animation-delay: 0.22s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } }
.hero__controls { position: absolute; inset: auto 0 28px; z-index: 2; display: flex; align-items: center; gap: 16px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { position: relative; width: 48px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot span { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255, 255, 255, 0.4); overflow: hidden; }
.hero__dot span::after { content: ''; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active span::after { animation: progress var(--slide-ms, 6000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__pause { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.hero__pause .icon { width: 14px; height: 14px; }
.hero__pause .icon--play, .hero.is-paused .hero__pause .icon--pause { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }
.hero__stamp { position: absolute; right: var(--gutter); bottom: 72px; z-index: 2; width: clamp(112px, 10vw, 156px); }
@media (max-width: 767px) {
	.hero { height: auto; aspect-ratio: 2 / 3; max-height: calc(100svh - var(--header-h)); min-height: 520px; }
	/* Tekst je na 35–80 % visine od dna, preko svetle fotografije: zatamnjenje mora da drži kontrast (AA) i tamo. */
	.hero__media::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.56) 42%, rgba(0, 0, 0, 0.24) 66%, rgba(0, 0, 0, 0) 84%); }
	.hero__content { justify-content: flex-end; padding-bottom: 84px; }
	.hero__stamp { top: 16px; bottom: auto; width: 88px; }
}

/* ---------- Pečat „Dostupno u apotekama" ---------- */
.stamp { display: block; color: var(--white); border-radius: 50%; }
.stamp svg { width: 100%; height: auto; overflow: visible; }
.stamp__ring { transform-origin: 100px 100px; animation: spin 40s linear infinite; }
.stamp__text { font-family: var(--font); font-weight: 600; font-size: 15.5px; letter-spacing: 0.08em; fill: currentColor; }
.stamp__core { fill: var(--red); }
.stamp__cross { fill: var(--white); transition: transform 0.4s var(--ease-out); transform-origin: 100px 100px; }
.stamp:hover .stamp__cross { transform: rotate(90deg); }
.stamp--red { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Brojke ---------- */
.stats { padding-block: clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 16px; list-style: none; text-align: center; }
/* align-content: start — u redu sa dvorednom oznakom vrednost ne sme da „sklizne" naniže (mobilni, 2 kolone). */
.stat { display: grid; justify-items: center; align-content: start; gap: 6px; }
.stat__label { text-wrap: balance; }
.stat__icon { width: 30px; height: 30px; margin-bottom: 6px; color: var(--red); }
.stat__value { color: var(--ink); font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4.25rem); font-weight: 300; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 900px) {
	.stats__list { grid-template-columns: repeat(4, 1fr); }
	.stat + .stat { border-left: 1px solid var(--line); }
}

/* ---------- Kategorije ---------- */
.categories { padding-top: var(--section); }
.categories__list { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 16px; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; }
.categories__list::-webkit-scrollbar { display: none; }
.category-card { scroll-snap-align: start; text-align: center; }
.category-card a { display: block; color: inherit; text-decoration: none; }
.category-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); }
.category-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.category-card a:hover .category-card__media img { transform: scale(1.04); }
.category-card__title { display: block; margin-top: 20px; color: var(--ink); font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.16em; text-transform: uppercase; }
.category-card__meta { display: block; margin-top: 4px; color: var(--muted); font-size: 0.8125rem; }
.category-card__link { display: inline-block; margin-top: 10px; padding-bottom: 2px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 0.8125rem; transition: color 0.2s; }
.category-card a:hover .category-card__link { color: var(--red); }
@media (min-width: 900px) {
	.categories__list { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max); margin-inline: auto; overflow: visible; }
}

/* ---------- Anatomija udobnosti ---------- */
/* Eksplodirani prikaz đona (index.njk, main.js → initAnatomy). Crtež ima stalnu visinu za potpuno razmaknute slojeve,
   pa nikad ne prelazi preko teksta. --g0…--g2 = koliko je otvoren razmak ispod sloja 1–3 (0 sklopljeno, 1 razmaknuto);
   bez JS-a i uz smanjen pokret ostaje 1 — statičan eksplodiran prikaz sa svim opisima.
   Mobilni: naslov → crtež (slojevi se razmiču dok ulazi u ekran) → kartice sa brojem i bojom sloja → napomena.
   Desktop (≥ 1024 px, JS, bez smanjenog pokreta): crtež je lepljiv, opisi prolaze pored njega; aktivan opis ističe svoj sloj.
   Boje slojeva su materijali (koža, pena, potpora, đon), ne boje brenda; crveni ⊕ je samo na kožnoj tabanici. */
.anatomy { margin-top: var(--section); padding-block: var(--section); background: var(--mist); }
.anatomy__layer--tabanica, .anatomy__step--tabanica { --fill: #c99f76; --side: #a47b54; --edge: #8f6844; --num: var(--ink); }
.anatomy__layer--pena, .anatomy__step--pena { --fill: #f4ecdd; --side: #dccdb0; --edge: #bfae8e; --num: var(--ink); }
.anatomy__layer--potpora, .anatomy__step--potpora { --fill: #d4cdc5; --side: #ada297; --edge: #958a7e; --num: var(--ink); }
.anatomy__layer--djon, .anatomy__step--djon { --fill: #3d3839; --side: #211e1f; --edge: #171415; --num: var(--white); }
.anatomy__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.anatomy__intro .section-title { max-width: 16ch; }
.anatomy__lead { max-width: 34ch; margin-top: 16px; color: var(--muted); font-size: 1.0625rem; }
.anatomy__stage { width: 100%; max-width: 560px; margin-inline: auto; }
.anatomy__art { --g0: 1; --g1: 1; --g2: 1; }
.anatomy__svg { width: 100%; height: auto; overflow: visible; font-family: var(--font); }
/* Sloj n se pomera za pola razmaka iznad/ispod sebe, pa se snop širi simetrično oko sredine crteža (razmak = 56). */
.anatomy__layer--tabanica { transform: translateY(calc((var(--g0) + var(--g1) + var(--g2)) * -28px)); }
.anatomy__layer--pena { transform: translateY(calc((var(--g0) - var(--g1) - var(--g2)) * 28px)); }
.anatomy__layer--potpora { transform: translateY(calc((var(--g0) + var(--g1) - var(--g2)) * 28px)); }
.anatomy__layer--djon { transform: translateY(calc((var(--g0) + var(--g1) + var(--g2)) * 28px)); }
.anatomy__side { fill: var(--side); }
.anatomy__face { fill: var(--fill); stroke: var(--edge); stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy__stitch { fill: none; stroke: #86603e; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; opacity: 0.75; }
.anatomy__cross { fill: var(--red); }
.anatomy__contour { fill: none; stroke: #aa9f93; stroke-width: 1; vector-effect: non-scaling-stroke; }
.anatomy__rim { fill: none; stroke: #5b5455; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* Oznaka sloja (linija + broj) se pojavi tek kad se sloj odvoji od susednih, da se brojevi ne preklapaju. */
.anatomy__layer--tabanica .anatomy__marker { opacity: var(--g0); }
.anatomy__layer--pena .anatomy__marker { opacity: min(var(--g0), var(--g1)); }
.anatomy__layer--potpora .anatomy__marker { opacity: min(var(--g1), var(--g2)); }
.anatomy__layer--djon .anatomy__marker { opacity: var(--g2); }
.anatomy__marker path { fill: none; stroke: #8a847f; stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke 0.2s; }
.anatomy__dot { fill: var(--ink); }
.anatomy__badge { fill: var(--fill); stroke: var(--edge); stroke-width: 1; vector-effect: non-scaling-stroke; transition: stroke 0.2s, stroke-width 0.2s; }
.anatomy__marker text { fill: var(--num); font-size: 12px; font-weight: 500; text-anchor: middle; }
.anatomy__layer.is-active .anatomy__marker path { stroke: var(--ink); }
.anatomy__layer.is-active .anatomy__badge { stroke: var(--ink); stroke-width: 2.5; }

.anatomy__steps { display: grid; gap: 12px; list-style: none; }
.anatomy__step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; align-content: start; padding: 20px 20px 22px; border-radius: 2px; background: var(--white); }
.anatomy__num { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--edge); border-radius: 50%; background: var(--fill); color: var(--num); font-size: 0.875rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; transition: box-shadow 0.25s var(--ease-out); }
.anatomy__step h3 { padding-top: 7px; font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; transition: color 0.25s; }
.anatomy__step p { max-width: 40ch; margin-top: 6px; color: var(--muted); transition: color 0.25s; }
.anatomy__note { padding-top: 20px; border-top: 1px solid #dcd8d2; color: var(--muted); font-size: 0.875rem; text-wrap: pretty; }
.anatomy__counter { display: none; }
@media (min-width: 600px) {
	.anatomy__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
	.anatomy__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto; column-gap: clamp(40px, 5vw, 96px); row-gap: 40px; }
	.anatomy__intro { grid-area: 1 / 1; }
	.anatomy__steps { grid-area: 2 / 1; grid-template-columns: minmax(0, 1fr); gap: 0; }
	.anatomy__note { grid-area: 3 / 1; }
	.anatomy__stage { grid-area: 1 / 2 / 4; align-self: center; max-width: 680px; }
	.anatomy__step { padding: 20px 0; border-top: 1px solid #dcd8d2; border-radius: 0; background: none; }
	.anatomy__step:first-child { border-top: 0; padding-top: 0; }
	.anatomy__step p { max-width: 44ch; }
}
/* Skrol scena: opisi dobijaju visinu (deo ekrana), crtež ostaje na sredini ekrana dok opisi prolaze. Visina sekcije prati sadržaj. */
@media (min-width: 1024px) and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
	.anatomy__stage { align-self: stretch; }
	.anatomy__art { position: sticky; top: 0; display: grid; place-items: center; height: 100vh; height: 100svh; }
	.anatomy__svg { max-height: calc(100svh - 2 * var(--header-h) - 24px); }
	.anatomy__steps { padding-bottom: 12vh; }
	.anatomy__step, .anatomy__step:first-child { min-height: clamp(190px, 27vh, 300px); align-content: center; padding-block: 24px; border-top: 0; }
	.anatomy.is-live:has(.anatomy__step.is-active) .anatomy__step:not(.is-active) h3 { color: var(--muted); }
	.anatomy.is-live .anatomy__step.is-active p { color: var(--text); }
	.anatomy.is-live .anatomy__step.is-active .anatomy__num { box-shadow: 0 0 0 3px var(--mist), 0 0 0 5px var(--ink); }
	.anatomy.is-live .anatomy__counter { position: absolute; left: 50%; bottom: max(20px, 5vh); display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; transform: translateX(-50%); }
	.anatomy__counter span:first-child { color: var(--ink); }
	.anatomy__bar { position: relative; width: 96px; height: 2px; background: #dcd8d2; }
	.anatomy__bar::after { content: ''; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--progress, 0)); }
}

/* ---------- Izdvajamo (karusel) ---------- */
.featured { padding-top: var(--section); }
.carousel { position: relative; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track { display: flex; gap: clamp(12px, 1.4vw, 20px); padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); list-style: none; }
.carousel__item { flex: 0 0 clamp(240px, 70vw, 320px); scroll-snap-align: start; }
.carousel-footer { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 32px; }
.carousel-progress { position: relative; width: 120px; height: 2px; background: var(--line); }
.carousel-progress span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--progress, 0.25)); transition: transform 0.2s; }
.carousel-nav { display: none; gap: 10px; }
@media (min-width: 768px) {
	.carousel__item { flex-basis: clamp(250px, 23vw, 320px); }
	.carousel-nav { display: flex; }
}
.featured__more { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Kartica proizvoda ---------- */
.product-card__link { display: block; color: inherit; text-decoration: none; }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--card); }
.product-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s, transform 0.9s var(--ease-out); }
.product-card__alt { opacity: 0; }
.product-card__link:hover .product-card__alt { opacity: 1; }
.product-card__media .tag { position: absolute; left: 10px; top: 10px; }
.product-card__media--empty { display: grid; place-items: center; }
.product-card__placeholder { color: #cfcfcf; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 300; letter-spacing: 0.06em; line-height: 1; }
.product-card__soon { position: absolute; bottom: 14px; left: 0; right: 0; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.product-card__body { display: grid; gap: 2px; padding-top: 14px; }
.product-card__code { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.product-card__type { color: var(--muted); font-size: 0.875rem; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.product-card__sizes { color: var(--muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.swatches { display: flex; align-items: center; gap: 6px; list-style: none; }
.swatch { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18); }
.swatches__more { color: var(--muted); font-size: 0.75rem; }

/* ---------- Po nameni (dva banera) ---------- */
.purposes { padding-top: var(--section); }
.purposes__grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
/* Kartica po nameni: fotografija gore u svom formatu (3:2, bez sečenja), tekst ispod. */
.purpose-banner { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--mist); color: var(--ink); text-decoration: none; }
.purpose-banner__media { position: relative; order: -1; aspect-ratio: 3 / 2; overflow: hidden; background: var(--card); }
.purpose-banner__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out); }
.purpose-banner:hover .purpose-banner__media img { transform: scale(1.03); }
.purpose-banner__text { display: grid; align-content: start; justify-items: start; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.purpose-banner__title { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }
.purpose-banner__desc { max-width: 46ch; color: var(--muted); font-size: 0.9375rem; }
.purpose-banner .btn { margin-top: 8px; }
.purpose-banner:hover .btn { background: var(--ink); color: var(--white); }
@media (min-width: 900px) {
	.purposes__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- LEON porodica ---------- */
.family { margin-top: var(--section); }
.family__grid { display: grid; }
.family__media { position: relative; min-height: 340px; overflow: hidden; background: var(--card); }
.family__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.family__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(32px, 6vw, 96px) var(--gutter); background: var(--ink); color: rgba(255, 255, 255, 0.85); }
.family__text .section-title { color: var(--white); }
.family__text p { max-width: 50ch; }
/* Tri podatka uvek u jednom redu (na 360–400 px „17+" je ranije padao sam u drugi red); oznake se po potrebi lome. */
.family__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px clamp(20px, 6vw, 40px); margin-block: 8px; list-style: none; }
.family__facts strong { display: block; color: var(--white); font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 300; line-height: 1.1; }
.family__facts span { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 900px) {
	.family__grid { grid-template-columns: 1fr 1fr; }
	.family__media { min-height: 560px; }
}

/* ---------- Prodajna mesta: sekcija na početnoj ---------- */
.stores { padding-block: var(--section); }
.stores__grid { display: grid; gap: 40px; align-items: center; }
.stores__chains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; list-style: none; }
.stores__chains li { padding: 10px 18px; border: 1px solid var(--line); color: var(--ink); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.stores__finder { position: relative; padding: clamp(28px, 3.5vw, 48px); background: var(--mist); }
.field-label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.search-field { display: flex; align-items: center; gap: 12px; min-height: 54px; padding-inline: 16px 4px; border: 1px solid #d4d4d4; background: var(--white); transition: border-color 0.2s, box-shadow 0.2s; }
.search-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.search-field > .icon { color: var(--muted); }
.search-field input { flex: 1; min-width: 0; min-height: 50px; border: 0; background: none; font: inherit; font-size: 1.0625rem; color: var(--ink); outline: none; }
.search-field input::placeholder { color: #767676; opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field__clear { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; transition: color 0.2s; }
.search-field__clear:hover { color: var(--ink); }
.search-field__clear[hidden] { display: none; }
.search-field--lg { min-height: 60px; }
/* Zelena „LED" tačka uz broj apoteka — jedini zeleni signal u sekciji. */
.locator__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pharma); box-shadow: 0 0 0 3px rgba(46, 158, 79, 0.18); }
.store-finder__results { margin-top: 20px; }
.store-finder__count { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.store-finder__count[hidden] { display: none; }
.store-finder__list { display: grid; gap: 8px; margin-top: 12px; list-style: none; }
.store-finder__list:empty { display: none; }
.store-finder__empty { color: var(--text); }
.store-finder__empty a, .locator__empty a { color: var(--red-dark); font-weight: 500; white-space: nowrap; }
.store-finder__all { margin-top: 24px; }
.stores__help { margin-top: 20px; color: var(--muted); font-size: 0.9375rem; }
.stores__help[hidden] { display: none; }
.stores__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 1.25rem; text-decoration: none; }
.stores__phone .icon { color: var(--red); }
.stores__stamp { position: absolute; right: 20px; top: -52px; width: 104px; }
@media (max-width: 1023px) {
	/* Pečat viri iznad polja: razmak mora biti veći od izbočine, da ne prekrije red sa lancima apoteka. */
	.stores__grid { row-gap: 60px; }
	.stores__stamp { right: 16px; top: -46px; width: 92px; }
}
@media (min-width: 1024px) {
	/* Uvod ostaje gore kad se ispod polja otvore rezultati. */
	.stores__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
	.stores__intro { padding-top: clamp(28px, 3.5vw, 48px); }
	.stores__stamp { top: -64px; width: 128px; }
}

/* ---------- Iz apoteka ---------- */
.pharmacy-photos { padding-bottom: var(--section); }
.pharmacy-photos__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.pharmacy-photos__item { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 4 / 3; background: var(--card); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.pharmacy-photos__item svg { width: 28px; height: 28px; color: #c8c8c8; }
@media (min-width: 900px) {
	.pharmacy-photos__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ---------- CTA za apoteke (partials/cta-apoteke.njk) ---------- */
/* Kartica „gazi" preko granice strane i footera: iznad je boja strane, ispod boja footera.
   Strane koje se završavaju svetlom (mist) sekcijom zamenjuju tonove trake i kartice. */
.cta-band { --cta-above: transparent; --cta-card: var(--mist); position: relative; isolation: isolate; padding-top: clamp(8px, 1.6vw, 24px); background: var(--cta-above); }
.cta-band::before { content: ''; position: absolute; z-index: -1; inset: 62% 0 0; background: var(--footer); }
main:has(> .about-contact:last-child) + .cta-band { --cta-above: var(--mist); --cta-card: var(--white); }
.cta-band__card { display: grid; background: var(--cta-card); box-shadow: 0 32px 64px -44px rgba(0, 0, 0, 0.5); }
.cta-band__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #e8e7e5; }
.cta-band__media > picture > img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 66%; }
.cta-band__body { display: grid; align-content: center; justify-items: start; padding: clamp(28px, 4.4vw, 72px) clamp(22px, 4.4vw, 72px) clamp(26px, 3.6vw, 56px); }
.cta-band__body .eyebrow { margin-bottom: clamp(14px, 1.6vw, 20px); }
.cta-band__title { max-width: 18ch; font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.625rem); font-weight: 300; letter-spacing: 0.08em; line-height: 1.15; text-transform: uppercase; text-wrap: balance; }
.cta-band__text { max-width: 44ch; margin-top: 16px; color: var(--text); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(24px, 2.6vw, 32px); }
.cta-band__actions .btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.cta-band__actions .btn:hover .icon { transform: translateX(3px); }
.cta-band__phone { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; color: var(--ink); text-decoration: none; }
.cta-band__phone-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid #cfcbc5; border-radius: 50%; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.cta-band__phone-icon .icon { width: 18px; height: 18px; }
.cta-band__phone-text { display: grid; line-height: 1.3; }
.cta-band__phone-label { color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.cta-band__phone-number { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cta-band__phone:hover .cta-band__phone-icon { border-color: var(--ink); background: var(--ink); color: var(--white); }
.cta-band__phone:hover .cta-band__phone-number { text-decoration: underline; text-underline-offset: 3px; }
.cta-band__facts { display: grid; gap: 10px 32px; width: 100%; margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1px solid #d9d5cf; list-style: none; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.cta-band__facts li { display: flex; align-items: flex-start; gap: 12px; }
.cta-band__facts .locator__dot { margin: 0.45em 4px 0 3px; }
.cta-band__facts .icon { width: 16px; height: 16px; margin-top: 0.15em; }
.cta-band__facts a { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.cta-band__facts a:hover { color: var(--red-dark); }
@media (min-width: 900px) {
	.cta-band { padding-top: clamp(16px, 2vw, 32px); }
	.cta-band::before { top: 50%; }
	.cta-band__card { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); min-height: clamp(460px, 38vw, 560px); }
	.cta-band__media { aspect-ratio: auto; }
}
@media (min-width: 1280px) {
	.cta-band__facts { grid-template-columns: auto minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(56px, 7vw, 96px); background: var(--footer); color: rgba(255, 255, 255, 0.74); font-size: 0.9375rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
.site-footer__brand, .site-footer__grid > :last-child { grid-column: 1 / -1; }
.site-footer__logo { display: inline-block; color: var(--white); }
.site-footer__logo .logo { width: 148px; }
.site-footer .logo__cross { fill: var(--red); }
.site-footer__brand p { max-width: 38ch; margin-top: 22px; line-height: 1.7; }
.site-footer__parent { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: var(--white); font-size: 0.875rem; transition: border-color 0.2s; }
.site-footer__parent .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.site-footer .site-footer__parent:hover { border-color: var(--white); text-decoration: none; }
.site-footer__parent:hover .icon { transform: translateX(3px); }
.site-footer__title { margin-bottom: 18px; color: rgba(255, 255, 255, 0.52); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 10px; list-style: none; }
.site-footer a { text-decoration: none; text-underline-offset: 4px; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { margin-bottom: 14px; line-height: 1.7; }
.site-footer__social { display: flex !important; gap: 10px !important; margin-top: 20px; }
.site-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.26); border-radius: 50%; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.site-footer__social a:hover { border-color: var(--white); background: var(--white); color: var(--footer); }
.site-footer__social .icon { width: 18px; height: 18px; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: clamp(48px, 6vw, 72px); padding-block: 24px 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.55); font-size: 0.8125rem; }
@media (min-width: 768px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px 32px; }
	.site-footer__brand, .site-footer__grid > :last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
	.site-footer__legal p:last-child { margin-left: auto; }
}

/* ---------- Podstranice ---------- */
.page-hero { padding-block: clamp(36px, 5vw, 72px); background: var(--mist); }
.page-hero__title { margin-top: 14px; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem); letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.15; text-wrap: balance; }
.page-hero__lead { max-width: 56ch; margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }
/* Uvod sa brojkama (/prodajna-mesta/, partials/hero-apoteke.njk). */
.hero-stats { display: grid; gap: 16px; margin-top: clamp(22px, 3vw, 36px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid #dcd9d4; }
.hero-stats__list { display: flex; list-style: none; }
.hero-stats__item { display: grid; align-content: end; gap: 10px; min-width: 0; padding-right: clamp(20px, 4vw, 56px); }
.hero-stats__item + .hero-stats__item { padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid #dcd9d4; }
.hero-stats__value { color: var(--ink); font-size: clamp(2.75rem, 2.1rem + 2.8vw, 4.5rem); font-weight: 300; line-height: 0.92; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.hero-stats__label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.35; text-transform: uppercase; }
.hero-stats__text { max-width: 32ch; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
@media (min-width: 900px) {
	/* Brojke i rečenica u jednom redu, odvojeni istim tankim linijama. */
	.hero-stats { grid-template-columns: auto minmax(0, 1fr); gap: 0; }
	.hero-stats__text { display: flex; align-items: flex-end; max-width: none; padding-left: clamp(20px, 4vw, 56px); border-left: 1px solid #dcd9d4; }
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.8125rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); }
.page-body { padding-block: clamp(40px, 6vw, 88px); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); letter-spacing: 0.12em; text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--red-dark); }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Lista modela */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__count { margin-left: auto; color: var(--muted); font-size: 0.875rem; }
.chip { min-height: 38px; padding: 0 16px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.listing { padding-block: clamp(32px, 4vw, 56px) var(--section); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px clamp(12px, 1.6vw, 24px); list-style: none; }
.product-grid > li[hidden] { display: none; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.listing__empty { padding: 48px 0; color: var(--muted); }
.listing__text { max-width: 68ch; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--muted); }
.listing__text p + p { margin-top: 12px; }

/* Stranica modela */
.product { padding-top: 24px; }
.product__layout { display: grid; gap: 32px; margin-top: 20px; }
.product__gallery, .product__info { min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--card); }
.gallery__slide { position: absolute; inset: 0; margin: 0; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { position: relative; display: flex; gap: 8px; margin-top: 10px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.gallery__thumb { display: block; width: 84px; aspect-ratio: 3 / 2; padding: 0; overflow: hidden; border: 1px solid transparent; background: var(--card); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); }
.gallery__empty { display: grid; place-items: center; align-content: center; gap: 12px; aspect-ratio: 3 / 2; background: var(--card); color: var(--muted); text-align: center; }
.gallery__empty span { color: #cfcfcf; font-size: clamp(3.5rem, 9vw, 6rem); font-weight: 300; letter-spacing: 0.06em; line-height: 1; }
.product__type { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }
.product__code { margin-top: 10px; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.05; }
.product__purpose { display: inline-block; margin-top: 16px; padding: 0.4em 0.9em; border: 1px solid var(--line); color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.product__block { margin-top: 28px; }
.product__label { margin-bottom: 12px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.product__label span { color: var(--muted); font-size: 0.875rem; font-weight: 400; letter-spacing: 0.04em; text-transform: none; }
.color-picker { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.color-picker__btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2); cursor: pointer; transition: box-shadow 0.2s; }
.color-picker__btn.is-active, .color-picker__btn:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--white), 0 0 0 4px var(--ink); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; list-style: none; }
.sizes li { display: grid; place-items: center; min-width: 44px; height: 40px; padding-inline: 8px; border: 1px solid var(--line); color: var(--ink); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
/* Opis i osobine modela (osobine.json, opisiModela.json) */
.product__desc { max-width: 58ch; margin-top: 18px; color: var(--text); font-size: 1rem; line-height: 1.65; }
.product__features { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.features { display: grid; gap: 4px 24px; margin-top: 14px; list-style: none; }
.features__item { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.features__item:last-child { border-bottom: 0; }
.features__icon { width: 40px; height: 40px; padding: 7px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); }
.features__item strong { display: block; color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; line-height: 1.4; text-transform: uppercase; }
.features__item div { align-self: center; }
.features__item span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
@media (min-width: 640px) {
	.features { grid-template-columns: 1fr 1fr; }
	.features__item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.specs { margin: 32px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); }
.specs a { color: var(--red-dark); }
.product__extra { display: grid; gap: 8px; margin-top: 24px; list-style: none; }
.product__extra li { display: flex; gap: 10px; }
.product__extra .icon { margin-top: 3px; color: var(--red); }
.similar { padding-block: var(--section); }
.similar .section-title { margin-bottom: 32px; }
@media (min-width: 1024px) {
	.product__layout { grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 4vw, 72px); align-items: start; }
	.product__gallery { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Informacije: navigacija kroz stranu (informacije.njk, main.js → initInfoToc).
   Mobilni: lepljiva traka ispod headera, vodoravno se pomera. Od 1024 px: lepljiva vertikalna lista sa tankom šinom. */
.info { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: var(--section); counter-reset: info; }
.info__toc { position: sticky; top: var(--header-h); z-index: 20; margin: 0 calc(var(--gutter) * -1) clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--line); background: var(--white); transition: transform 0.35s var(--ease-out); }
:root:has(.site-header.is-hidden) .info__toc { transform: translateY(calc(var(--header-h) * -1)); }
.info__toc-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.info__toc-list { position: relative; display: flex; padding-inline: calc(var(--gutter) - 12px); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; list-style: none; counter-reset: toc; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 12px, #000 calc(100% - 36px), transparent); }
.info__toc-list::-webkit-scrollbar { display: none; }
.info__toc-list li { flex: none; counter-increment: toc; }
.info__toc-list a { position: relative; display: flex; align-items: center; min-height: 50px; padding: 0 12px; color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; text-decoration: none; transition: color 0.2s; }
.info__toc-list a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 0.25s var(--ease-out); }
.info__toc-list a:hover, .info__toc-list a[aria-current="true"] { color: var(--ink); }
.info__toc-list a[aria-current="true"]::after { transform: scaleX(1); }
.info__toc-list a:focus-visible { outline-offset: -4px; }
:root:has(.info__toc) { scroll-padding-top: calc(var(--header-h) + 66px); }
@media (prefers-reduced-motion: no-preference) {
	:root:has(.info__toc) { scroll-behavior: smooth; }
}
.info__defs { display: grid; gap: 16px; }
.info__defs dt { color: var(--ink); font-weight: 500; }
.info__defs dd { margin: 4px 0 0; color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; color: var(--ink); font-weight: 500; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 16px; color: var(--muted); }
@media (min-width: 1024px) {
	.info { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(48px, 5vw, 96px); padding-top: clamp(64px, 6.5vw, 104px); }
	.info__toc { position: static; margin: 0; border: 0; background: none; transform: none !important; }
	.info__toc-inner { position: sticky; top: calc(var(--header-h) + 40px); transition: transform 0.35s var(--ease-out); }
	:root:has(.site-header.is-hidden) .info__toc-inner { transform: translateY(calc(var(--header-h) * -1)); }
	.info__toc-title { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin-bottom: 14px; color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
	.info__toc-list { display: grid; padding: 0; overflow: visible; border-left: 1px solid var(--line); -webkit-mask-image: none; mask-image: none; }
	.info__toc-list a { gap: 12px; min-height: 40px; margin-left: -1px; padding: 6px 0 6px 18px; border-left: 2px solid transparent; font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.01em; line-height: 1.35; text-transform: none; white-space: normal; transition: color 0.2s, border-color 0.2s; }
	.info__toc-list a::before { content: counter(toc, decimal-leading-zero); content: counter(toc, decimal-leading-zero) / ""; flex: none; min-width: 1.5em; color: var(--muted); font-size: 0.75rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; transition: color 0.2s; }
	.info__toc-list a::after { display: none; }
	.info__toc-list a[aria-current="true"] { border-left-color: var(--red); }
	.info__toc-list a[aria-current="true"]::before { color: var(--red); }
	.info__toc-list a:focus-visible { outline-offset: 2px; }
	:root:has(.info__toc) { scroll-padding-top: calc(var(--header-h) + 32px); }
}

/* ---------- Zatražite ponudu (zatrazite-ponudu.njk, main.js → initOfferForm) ---------- */
/* Telefon: tamni uvod → forma (kartica „gazi" preko tamne trake) → činjenice, saradnja, kontakt.
   Od 1024 px: uvod i ostalo levo, forma desno kroz oba reda. Tamna traka je senka uvoda (box-shadow + clip-path),
   pa uvek prati visinu uvoda; kartica ostaje u toku dokumenta. Unutrašnjost forme se prilagođava širini forme (container query). */
.offer { --offer-line: #d9d5cf; --field-line: #8c8c8c; overflow-x: hidden; overflow-x: clip; padding-bottom: var(--section); background: var(--mist); }
.offer__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.offer-intro { position: relative; isolation: isolate; min-width: 0; padding: clamp(20px, 3vw, 40px) 0 88px; background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); color: rgba(255, 255, 255, 0.84); }
.offer-intro__cross { position: absolute; z-index: -1; right: -22vw; top: -16vw; width: min(84vw, 760px); height: min(84vw, 760px); color: rgba(255, 255, 255, 0.035); }
.offer-intro .breadcrumbs { color: rgba(255, 255, 255, 0.72); }
.offer-intro .breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.offer-intro .eyebrow { margin: clamp(28px, 3.4vw, 48px) 0 0; color: rgba(255, 255, 255, 0.88); }
.offer-intro__title { margin-top: clamp(12px, 1.4vw, 18px); color: var(--white); font-size: clamp(2.375rem, 1rem + 6vw, 4rem); font-weight: 300; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.offer-intro__title span { display: block; }
.offer-intro__lead { max-width: 44ch; margin-top: clamp(16px, 2vw, 24px); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.55; }
.offer-intro__call { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; margin-top: clamp(24px, 2.6vw, 32px); color: var(--white); text-decoration: none; }
.offer-intro__call-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.36); border-radius: 50%; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.offer-intro__call-icon .icon { width: 18px; height: 18px; }
.offer-intro__call-text { display: grid; line-height: 1.3; }
.offer-intro__call-label { color: rgba(255, 255, 255, 0.72); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.offer-intro__call-number { font-size: 1.0625rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.offer-intro__call:hover .offer-intro__call-icon { border-color: var(--white); background: var(--white); color: var(--ink); }
.offer-intro__call:hover .offer-intro__call-number { text-decoration: underline; text-underline-offset: 3px; }

/* Kartica sa formom */
.offer-card { position: relative; z-index: 1; min-width: 0; margin-top: -48px; padding: 24px 18px 28px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 17, 15, 0.06), 0 40px 80px -48px rgba(20, 17, 15, 0.5); }
.offer-card__head { display: grid; gap: 6px; }
.offer-card__title { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); font-weight: 300; letter-spacing: 0.1em; line-height: 1.2; text-transform: uppercase; }
.offer-card__note { color: var(--muted); font-size: 0.875rem; }
.offer-card__note .field__req { margin: 0; }
.offer-card .placeholder-note { margin: 20px 0 32px; }
@media (min-width: 480px) { .offer-card { padding: clamp(28px, 4.2vw, 56px); } }

/* Forma: grupe sa rednim brojem na tankoj liniji (kao sekcije na /informacije/). */
.offer-form { container: offer-form / inline-size; display: grid; gap: clamp(36px, 4vw, 48px); }
.offer-form__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.offer-form__legend { float: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; width: 100%; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px solid var(--ink); color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
label.offer-form__legend { float: none; }
.offer-form__legend + * { clear: both; }
.offer-form__legend .field__optional { margin-left: auto; letter-spacing: 0.02em; text-transform: none; }
.offer-form__num { color: var(--red-dark); font-size: 0.75rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.field__req { margin-left: 0.2em; color: var(--red-dark); font-weight: 500; }
.field__optional { color: var(--muted); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.01em; }

/* Izbor (radio/čekboks) kao kartice: izabrana = tamni okvir i mirna podloga; crvena samo ikonica izabrane vrste. */
.choices { display: grid; gap: 8px; }
.choice { position: relative; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border: 1px solid var(--offer-line); border-radius: 2px; background: var(--white); color: var(--ink); line-height: 1.3; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.choice input { flex: none; order: 3; width: 20px; height: 20px; margin: 0 0 0 auto; accent-color: var(--ink); cursor: pointer; }
.choice__icon { flex: none; width: 26px; height: 26px; color: var(--muted); transition: color 0.2s; }
.choice__text { display: grid; gap: 2px; font-size: 0.9375rem; font-weight: 500; }
.choice__meta { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.choice:hover { border-color: var(--ink); }
.choice:has(:checked) { border-color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink); }
.choice:has(:checked) .choice__icon { color: var(--red); }
.choice:has(:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.choice:has(:focus-visible) input { outline: none; }
.choice--check input { order: 0; margin: 0; }

/* Polja */
.offer-form__fields { display: grid; gap: 22px 16px; }
.field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; line-height: 1.35; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid var(--field-line); border-radius: 2px; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5; transition: border-color 0.2s, box-shadow 0.2s; }
.field textarea { min-height: 148px; resize: vertical; }
.field ::placeholder { color: var(--muted); opacity: 1; }
.field input:not([type="checkbox"]):hover, .field textarea:hover { border-color: var(--ink); }
.field input:not([type="checkbox"]):focus, .field textarea:focus { outline: 2px solid transparent; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 0 0 4px rgba(33, 33, 33, 0.08); }
.field.is-invalid input:not([type="checkbox"]), .field.is-invalid textarea { border-color: var(--red-dark); box-shadow: inset 0 0 0 1px var(--red-dark); }
.field.is-invalid input:not([type="checkbox"]):focus, .field.is-invalid textarea:focus { box-shadow: inset 0 0 0 1px var(--red-dark), 0 0 0 4px rgba(181, 0, 31, 0.24); }
.field__hint { color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.field__error { display: flex; align-items: flex-start; gap: 8px; color: var(--red-dark); font-size: 0.875rem; font-weight: 500; line-height: 1.4; }
.field__error[hidden] { display: none; }
.field__error .icon { width: 16px; height: 16px; margin-top: 0.05em; }
/* Broj objekata samo za „Lanac apoteka" (bez JS-a takođe; JS ga isključuje iz slanja). */
.offer-form:not(:has([name="tip"][value="lanac"]:checked)) [data-chain-only] { display: none; }

/* Saglasnost, dugme, stanje slanja */
.offer-form__end { display: grid; padding-top: 28px; border-top: 1px solid var(--line); }
.field--consent { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 4px; margin-bottom: 28px; }
.field--consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.field--consent > label { display: block; color: var(--text); font-weight: 400; line-height: 1.5; cursor: pointer; }
.field--consent > :not(input) { grid-column: 2; }
.field--consent.is-invalid input { outline: 2px solid var(--red-dark); outline-offset: 2px; }
.offer-form__privacy { justify-self: start; padding-block: 4px; color: var(--ink); font-size: 0.875rem; text-underline-offset: 3px; }
.offer-form__privacy:hover { color: var(--red-dark); }
.offer-form__actions { display: grid; gap: 14px; }
.offer-form__btn { width: 100%; min-height: 56px; padding-inline: 2rem; }
.offer-form__btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.offer-form__btn:hover .icon { transform: translateX(3px); }
.offer-form__spinner { display: none; flex: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); border-radius: 50%; animation: offer-spin 0.8s linear infinite; }
.offer-form__btn.is-busy { background: var(--red-dark); cursor: progress; }
.offer-form__btn.is-busy .offer-form__spinner { display: block; }
.offer-form__btn.is-busy .icon { display: none; }
@keyframes offer-spin { to { transform: rotate(360deg); } }
.offer-form__alt { color: var(--muted); font-size: 0.875rem; }
.offer-form__alt a { display: inline-block; padding-block: 4px; color: var(--ink); font-weight: 500; white-space: nowrap; text-underline-offset: 3px; }
.offer-form__alt a:hover { color: var(--red-dark); }
.offer-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 24px; padding: 18px 20px; border-left: 3px solid var(--ink); background: var(--mist); color: var(--text); font-size: 0.9375rem; }
.offer-result[hidden] { display: none; }
.offer-result > .icon { width: 22px; height: 22px; color: var(--ink); }
.offer-result__title { color: var(--ink); font-weight: 500; }
.offer-result p + p { margin-top: 4px; }
.offer-result a { color: var(--ink); font-weight: 500; white-space: nowrap; text-underline-offset: 3px; }
.offer-result--error { border-left-color: var(--red-dark); }
.offer-result--error > .icon { color: var(--red-dark); }
/* Pregled grešaka posle slanja: linkovi vode na polja. */
.offer-form__summary { display: grid; gap: 10px; padding: 18px 20px 20px; border: 1px solid var(--red-dark); border-left-width: 4px; background: var(--white); }
.offer-form__summary[hidden] { display: none; }
.offer-form__summary-title { color: var(--ink); font-weight: 500; }
.offer-form__summary-list { display: grid; gap: 4px; padding-left: 1.1em; color: var(--red-dark); }
.offer-form__summary-list a { color: var(--red-dark); font-weight: 500; text-underline-offset: 3px; }
/* Zamka za botove: van ekrana (ne display: none — neki botovi to preskaču). */
.offer-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@container offer-form (min-width: 440px) {
	.choices--type { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.choices--type .choice { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 20px; min-height: 112px; padding: 16px; }
	.choices--type .choice input { position: absolute; top: 14px; right: 14px; margin: 0; }
	.choices--interest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.offer-form__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.offer-form:has([name="tip"][value="lanac"]:checked) .field--name { grid-column: auto; }
	.offer-form__actions { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px; }
	.offer-form__btn { width: auto; }
}
@container offer-form (min-width: 600px) {
	.choices--type { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Uz formu: činjenice (samo potvrđene), koraci saradnje, kontakt. */
.offer-aside { display: grid; gap: clamp(56px, 7vw, 88px); min-width: 0; padding-top: clamp(56px, 7vw, 88px); }
.offer-aside__title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; }
.offer-aside__title::after { content: ''; flex: 1; height: 1px; background: var(--offer-line); }
.offer-why { display: grid; gap: 32px; }
.offer-why__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e8e7e5; }
.offer-why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.offer-facts { display: grid; list-style: none; }
.offer-fact { display: grid; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--offer-line); }
.offer-fact:first-child { padding-top: 0; }
.offer-fact__value { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem); font-weight: 200; line-height: 1; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.offer-fact__value .locator__dot { width: 10px; height: 10px; }
.offer-fact__label { color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.offer-fact__text { max-width: 46ch; color: var(--text); font-size: 0.9375rem; }
.offer-fact__text a, .offer-steps__text a { color: var(--ink); text-underline-offset: 3px; }
.offer-fact__text a:hover, .offer-steps__text a:hover { color: var(--red-dark); }
.offer-steps__list { display: grid; list-style: none; counter-reset: offer-step; }
.offer-steps__list li { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-content: start; column-gap: 8px; padding-block: 16px; border-bottom: 1px solid var(--offer-line); counter-increment: offer-step; }
.offer-steps__list li:first-child { padding-top: 0; }
.offer-steps__list li::before { content: counter(offer-step, decimal-leading-zero); content: counter(offer-step, decimal-leading-zero) / ""; grid-row: 1 / span 2; color: var(--red-dark); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.95; font-variant-numeric: tabular-nums; }
.offer-steps__title { color: var(--ink); font-weight: 500; }
.offer-steps__text { color: var(--muted); font-size: 0.9375rem; }
.offer-contact { min-width: 0; padding-top: clamp(56px, 7vw, 88px); }
.offer-contact .contact-cards { margin-top: 0; }
@media (min-width: 600px) and (max-width: 1023px) {
	.offer-why { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.offer-why__media { aspect-ratio: 4 / 5; }
	.offer-steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
	.offer-steps__list li { display: block; padding: 0; border: 0; }
	.offer-steps__list li::before { display: block; margin-bottom: 12px; padding-top: 12px; border-top: 1px solid var(--ink); line-height: 1; }
}
@media (min-width: 1024px) {
	.offer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(48px, 5.5vw, 104px); }
	.offer-intro { grid-column: 1; grid-row: 1; padding-bottom: clamp(56px, 5vw, 80px); }
	.offer-intro__title { font-size: clamp(3.25rem, 0.5rem + 4.4vw, 4.75rem); }
	.offer-intro__cross { right: auto; left: -170px; top: -40px; width: 640px; height: 640px; }
	.offer-card { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: clamp(56px, 5.4vw, 88px); }
	.offer-aside { grid-column: 1; grid-row: 2; }
	.offer-contact { grid-column: 1 / -1; grid-row: 3; }
	.offer-contact .contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Prodajna mesta: stranica (spisak, pretraga, filteri, mapa) ---------- */
/* Telefon: alati → broj + Lista/Mapa → spisak ili mapa. Od 1024 px: spisak levo, mapa desno (sticky).
   Spisak je pristupačan put; mapa je dopuna i učitava se tek kad je vidljiva (assets/js/prodajna-mesta.js). */
.page-body:has(.locator) { padding-top: clamp(24px, 3vw, 40px); }
.locator-note { margin-block: 0 28px; }
.locator { display: grid; }
.locator__panel { min-width: 0; }
.locator__tools { display: grid; gap: 12px; }
.locator__tools > .field-label { margin-bottom: -4px; }
.locator__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.locator__btn { display: inline-flex; flex: 1 1 140px; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 2px; background: var(--white); color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.locator__btn .icon { color: var(--red); transition: color 0.2s; }
.locator__btn:hover, .locator__btn[aria-pressed="true"], .locator__btn[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.locator__btn:hover .icon, .locator__btn[aria-pressed="true"] .icon, .locator__btn[aria-expanded="true"] .icon { color: currentColor; }
.locator__btn[aria-busy="true"] { cursor: progress; }
.locator__btn[hidden] { display: none; }
.locator__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--red); color: var(--white); font-size: 0.6875rem; letter-spacing: 0; }
.locator__badge[hidden] { display: none; }
.locator__filters { display: none; gap: 18px; padding: 18px 16px 20px; background: var(--mist); }
.locator__filters.is-open { display: grid; }
.locator__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.locator__chips .chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; }
.chip__count { color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; transition: color 0.2s; }
.chip.is-active .chip__count { color: rgba(255, 255, 255, 0.72); }
.select { width: 100%; min-height: 48px; padding: 0 44px 0 14px; border: 1px solid #cfcfcf; border-radius: 2px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23212121' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; font: inherit; color: var(--ink); appearance: none; cursor: pointer; }
.select:hover { border-color: var(--ink); }
.locator__geo { color: var(--red-dark); font-size: 0.875rem; }
.locator__geo:empty { display: none; }

.locator__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; margin-top: 20px; border-bottom: 1px solid var(--ink); }
.locator__count { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.locator__sort { color: var(--muted); }
.locator__count.is-empty .locator__dot { background: #c9c6c0; box-shadow: none; }
.locator__view { display: flex; flex: none; margin-bottom: 8px; border: 1px solid var(--line); }
.locator__view-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; background: var(--white); color: var(--muted); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.locator__view-btn .icon { width: 18px; height: 18px; }
.locator__view-btn:hover { color: var(--ink); }
.locator__view-btn.is-active { background: var(--ink); color: var(--white); }
.locator__map-error { margin-top: 12px; color: var(--muted); font-size: 0.875rem; }
.locator__empty { display: grid; justify-items: start; gap: 14px; margin-top: 24px; padding: 28px 24px; background: var(--mist); }
.locator__empty[hidden] { display: none; }
.locator__empty p { max-width: 52ch; }
.locator__empty-title { color: var(--ink); font-size: 1.125rem; overflow-wrap: anywhere; }

/* Spisak: ravan niz kartica (mesto na svakoj kartici), na sajtu po 10 uz „Prikaži još" (JS).
   Kartica: telo (mesto · naziv · adresa · telefon) + jedan red akcija od najviše tri polja (ne prelama se ni na 360 px).
   Ista kartica služi i pretrazi na početnoj (assets/js/apoteke-pocetna.js) i oblačiću na mapi (samo akcije). */
.pharmacy-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; list-style: none; }
.pharmacy { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 2px; background: var(--white); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04); transition: border-color 0.2s, box-shadow 0.25s var(--ease-out); content-visibility: auto; contain-intrinsic-size: auto 172px; }
.pharmacy[hidden] { display: none; }
/* Izabrana na mapi: crveni obod i šina levo (akcenat, ne ispuna). Šina je unutar ivice zbog `content-visibility` (paint containment). */
.pharmacy::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform 0.25s var(--ease-out); pointer-events: none; }
.pharmacy.is-selected { border-color: var(--red); box-shadow: 0 14px 30px -22px rgba(181, 0, 31, 0.6); }
.pharmacy.is-selected::before { transform: scaleY(1); }
@media (hover: hover) {
	.pharmacy:hover { border-color: #d2d2d2; box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.4); }
	.pharmacy.is-selected:hover { border-color: var(--red); }
}
@media (prefers-reduced-motion: no-preference) {
	.pharmacy.is-entering { animation: pharmacy-in 0.3s var(--ease-out) both; }
}
@keyframes pharmacy-in { from { opacity: 0; transform: translateY(8px); } }
.pharmacy__body { display: grid; flex: 1 0 auto; align-content: start; padding: 14px 16px 14px; }
/* Mesto (opština/grad) je u kodu posle naziva, a na ekranu iznad njega. */
.pharmacy__meta { order: -1; display: flex; align-items: center; gap: 8px; min-height: 24px; margin-bottom: 2px; }
.pharmacy__city { min-width: 0; overflow: hidden; color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.pharmacy__chain { flex: none; padding: 0 6px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); font-size: 0.625rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.6; text-transform: uppercase; }
.pharmacy__distance { flex: none; margin-left: auto; padding: 1px 8px; border-radius: 2px; background: var(--mist); color: var(--ink); font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.6; white-space: nowrap; }
.pharmacy__distance[hidden] { display: none; }
.pharmacy__name { color: var(--ink); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; overflow-wrap: anywhere; }
/* Posle „Prikaži još" fokus je na nazivu prve nove kartice; prsten se crta oko cele kartice. */
.pharmacy__name:focus { outline: none; }
.pharmacy:has(.pharmacy__name:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.pharmacy__address { display: grid; margin-top: 4px; font-size: 0.9375rem; line-height: 1.45; }
.pharmacy__phone { color: var(--muted); font-variant-numeric: tabular-nums; }
/* Približna lokacija: isti znak kao beli pin na mapi (beo krug, crveni obod). */
.pharmacy__approx { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.pharmacy__approx::before { content: ''; flex: none; width: 10px; height: 10px; border: 1.5px solid var(--red); border-radius: 50%; }
.pharmacy__actions { display: flex; border-top: 1px solid var(--line); }
.pharmacy__action { display: inline-flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 46px; padding: 0 8px; border: 0; background: none; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; line-height: 1.1; text-decoration: none; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.pharmacy__action + .pharmacy__action { border-left: 1px solid var(--line); }
.pharmacy__action .icon { width: 17px; height: 17px; color: var(--red); }
.pharmacy__action:hover { background: var(--mist); color: var(--red-dark); }
.pharmacy__action:focus-visible { outline-offset: -2px; }

/* „Prikaži još": koliko je prikazano, tanka traka napretka i dugme. */
.locator__more { display: grid; justify-items: center; gap: 10px; margin-top: 24px; }
.locator__more[hidden] { display: none; }
.locator__shown { color: var(--muted); font-size: 0.75rem; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.12em; text-transform: uppercase; }
.locator__progress { width: min(200px, 60%); height: 2px; overflow: hidden; background: var(--line); }
.locator__progress > span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.locator__more-btn { max-width: 480px; margin-top: 6px; }
.locator__more-btn[hidden] { display: none; }

/* Mapa. Pre učitavanja: mirna tačkasta podloga (LED raster iz docs/06). */
.locator__map { position: relative; display: none; height: min(72svh, 640px); min-height: 380px; margin-top: 16px; overflow: hidden; border: 1px solid var(--line); background-color: var(--mist); background-image: radial-gradient(circle, #d8d5cf 1px, transparent 1.5px); background-size: 14px 14px; }
.locator[data-view="map"] .locator__map { display: block; }
.locator[data-view="map"] .locator__list { display: none; }
/* MapLibre CSS (učitan posle ovog fajla) postavlja `.maplibregl-map { position: relative }` — zato dva selektora. */
.locator__map > .locator__map-canvas { position: absolute; inset: 0; }
.locator__map-loading { position: absolute; left: 50%; top: 50%; padding: 10px 16px; background: var(--white); color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, -50%); }
.locator.is-map-failed[data-view] .locator__map, .locator.is-map-failed .locator__view, .locator.is-map-failed .pharmacy__action--map { display: none; }
.locator__map .maplibregl-canvas:focus-visible { outline: 2px solid var(--red); outline-offset: -3px; }
.locator__map .maplibregl-ctrl-group { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1); }
.locator__map .maplibregl-ctrl-group button { width: 44px; height: 44px; }
.locator__map .maplibregl-ctrl-attrib { font-family: var(--font); font-size: 0.6875rem; line-height: 1.5; background: rgba(255, 255, 255, 0.85); }
.locator__map .maplibregl-ctrl-attrib a { color: var(--text); }
.locator__map .maplibregl-popup-content { padding: 16px 18px 0; overflow: hidden; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 32px -12px rgba(0, 0, 0, 0.4); color: var(--text); font-family: var(--font); font-size: 0.9375rem; line-height: 1.5; }
.locator__map .maplibregl-popup-close-button { top: 2px; right: 2px; width: 44px; height: 44px; border-radius: 2px; color: var(--muted); font-size: 1.5rem; line-height: 1; }
.locator__map .maplibregl-popup-close-button:hover { background: var(--mist); color: var(--ink); }
.map-popup__name { padding-right: 34px; color: var(--ink); font-size: 1rem; font-weight: 500; }
.map-popup__actions { margin: 12px -18px 0; }

/* Pomoć ispod spiska. */
.locator-help { display: grid; gap: 1px; margin-top: clamp(56px, 7vw, 96px); border: 1px solid var(--line); background: var(--line); }
.locator-help__item { display: grid; align-content: start; justify-items: start; gap: 12px; padding: clamp(28px, 4vw, 48px); background: var(--mist); }
.locator-help__title { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); letter-spacing: 0.12em; line-height: 1.3; text-transform: uppercase; text-wrap: balance; }
.locator-help__item p { max-width: 48ch; }
.locator-help__item p a { color: var(--red-dark); }
.locator-help__phone { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 1.25rem; text-decoration: none; }
.locator-help__phone .icon { color: var(--red); }
.locator-help__phone:hover { color: var(--red-dark); }
.locator-help .btn { margin-top: 4px; }

@media (min-width: 640px) and (max-width: 1023.98px) {
	.pharmacy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.locator-help { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
	.locator { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 3vw, 48px); align-items: start; }
	/* Pretraga i „Najbliže meni" u istom redu; filteri ispod. */
	.locator__tools { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
	.locator__tools > .field-label, .locator__filters, .locator__geo { grid-column: 1 / -1; }
	.locator__btn { flex: 0 0 auto; min-height: 60px; padding-inline: 20px; }
	.locator__filters-toggle, .locator__view { display: none; }
	.locator__filters, .locator__filters.is-open { display: grid; gap: 16px; padding: 4px 0 0; background: none; }
	.locator[data-view="map"] .locator__list { display: block; }
	.locator__map, .locator[data-view="map"] .locator__map { display: block; position: sticky; top: calc(var(--header-h) + 24px); height: calc(100vh - var(--header-h) - 48px); height: calc(100svh - var(--header-h) - 48px); min-height: 520px; max-height: 920px; margin-top: 0; }
	.locator.is-map-failed { grid-template-columns: minmax(0, 1fr); }
	.locator.is-map-failed .pharmacy-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
	.pharmacy__body { padding-inline: 20px; }
}
/* Bez JS-a: ceo spisak, bez alata i mape. */
@media (scripting: none) {
	.locator__tools, .locator__view, .locator__map, .pharmacy__action--map { display: none !important; }
	/* Bez mape spisak zauzima celu širinu: kartice u onoliko kolona koliko staje. */
	.locator { grid-template-columns: minmax(0, 1fr); }
	.pharmacy-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
}

/* ---------- Kontrola kvaliteta (Jugoinspekt) ---------- */
/* Sken kao list papira; senke iza su ostali listovi dokumenta (--sheet: 0 = jedan list). */
.cert-paper {
	--sheet: 3px;
	display: block; background: var(--white);
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.08),
		var(--sheet) var(--sheet) 0 0 var(--white), var(--sheet) var(--sheet) 0 1px rgba(0, 0, 0, 0.08),
		calc(var(--sheet) * 2) calc(var(--sheet) * 2) 0 0 var(--white), calc(var(--sheet) * 2) calc(var(--sheet) * 2) 0 1px rgba(0, 0, 0, 0.08),
		4px 10px 24px -10px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s var(--ease-out);
}
.cert-paper img { width: 100%; height: auto; }
.cert-file { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 340px; min-height: 60px; margin-top: 24px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 2px; color: var(--ink); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.cert-file:hover { background: var(--ink); color: var(--white); }
.cert-file__icon { width: 26px; height: 26px; flex: none; color: var(--red); transition: color 0.2s; }
.cert-file:hover .cert-file__icon { color: currentColor; }
.cert-file__text { display: grid; gap: 2px; min-width: 0; }
.cert-file__label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }
.cert-file__meta { color: var(--muted); font-size: 0.8125rem; line-height: 1.3; transition: color 0.2s; }
.cert-file:hover .cert-file__meta { color: rgba(255, 255, 255, 0.78); }
.cert-file__ext { width: 18px; height: 18px; flex: none; margin-left: auto; }
.cert-file--compact { width: auto; max-width: none; min-height: 48px; margin-top: 0; padding: 6px 14px; gap: 12px; background: var(--white); }
.cert-file--compact .cert-file__icon { width: 22px; height: 22px; }

/* Ukratko */
.cert-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; border-block: 1px solid var(--line); }
.cert-summary li { display: grid; align-content: space-between; gap: 10px; padding: 22px 12px 22px 0; }
.cert-summary li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.cert-summary li:nth-child(n + 3) { border-top: 1px solid var(--line); }
.cert-summary strong { display: flex; align-items: flex-end; min-height: clamp(1.5rem, 1.1rem + 1.8vw, 3rem); color: var(--ink); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 3rem); white-space: nowrap; font-weight: 300; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.cert-summary span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.cert-summary .cert-summary__issuer strong { white-space: normal; font-size: clamp(0.9375rem, 0.85rem + 0.45vw, 1.25rem); font-weight: 400; letter-spacing: 0.1em; line-height: 1.25; text-transform: uppercase; }
@media (min-width: 900px) {
	.cert-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cert-summary li { padding: 30px 24px; }
	.cert-summary li:first-child { padding-left: 0; }
	.cert-summary li + li { padding-left: 24px; border-left: 1px solid var(--line); border-top: 0; }
}

/* Šta je kontrolisano */
.cert-scope { padding-top: clamp(56px, 7vw, 104px); }
.cert-scope .section-lead, .cert-archive .section-lead { text-wrap: pretty; }
.cert-checks { display: grid; gap: 1px; padding: 0; list-style: none; counter-reset: check; background: var(--line); border: 1px solid var(--line); }
.cert-checks li { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--white); }
.cert-checks__kind { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.cert-checks__kind::before { counter-increment: check; content: '0' counter(check); color: var(--ink); font-size: 1.5rem; font-weight: 300; letter-spacing: 0.02em; line-height: 1; }
.cert-checks h3 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.cert-checks__ref { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8125rem; line-height: 1.5; }
.cert-checks h3 + p { padding-bottom: 6px; }
@media (min-width: 600px) { .cert-checks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cert-checks { grid-template-columns: repeat(4, 1fr); } }
.cert-finding { max-width: 52rem; margin: clamp(48px, 6vw, 88px) auto 0; text-align: center; }
.cert-finding::before { content: ''; display: block; width: 16px; height: 16px; margin: 0 auto 22px; background: var(--red); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.cert-finding blockquote { margin: 0; }
.cert-finding blockquote p { color: var(--ink); font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); font-weight: 300; line-height: 1.35; text-wrap: balance; }
.cert-finding figcaption { margin-top: 18px; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.cert-finding__note { max-width: 62ch; margin: 14px auto 0; color: var(--muted); font-size: 0.9375rem; text-align: center; text-wrap: pretty; }

/* Arhiva */
.cert-archive { padding-top: clamp(56px, 7vw, 104px); }
.cert-archive__head { display: grid; gap: 20px; margin-bottom: 8px; }
.cert-years ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.cert-years a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); color: var(--ink); font-size: 0.8125rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; text-decoration: none; transition: border-color 0.2s; }
.cert-years a:hover { border-color: var(--ink); }
.cert-years span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.02em; }
@media (min-width: 1100px) {
	.cert-archive__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
	.cert-years ul { justify-content: flex-end; max-width: 720px; }
}
.cert-archive .placeholder-note { margin-block: 20px 28px; }
.cert-list { list-style: none; border-top: 1px solid var(--ink); }
.cert-list > li { border-bottom: 1px solid var(--line); }
.cert-doc { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media head" "body body" "models models"; gap: 22px 16px; padding-block: 28px; }
.cert-doc:target::before { content: ''; position: absolute; left: calc(var(--gutter) * -1); top: -1px; bottom: -1px; width: 3px; background: var(--red); }
.cert-doc--text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "models"; }
.cert-doc__media { grid-area: media; position: relative; align-self: start; padding: 8px 14px 14px 8px; background: var(--mist); }
.cert-doc__media:has(.cert-doc__zoom:hover) .cert-paper { transform: translateY(-3px); }
.cert-doc__zoom { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 6px; border: 0; background: none; cursor: zoom-in; }
.cert-doc__zoom[hidden] { display: none; }
.cert-doc__zoom-badge { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; transition: background-color 0.2s, color 0.2s; }
.cert-doc__zoom-badge .icon { width: 16px; height: 16px; }
.cert-doc__zoom:hover .cert-doc__zoom-badge { background: var(--ink); color: var(--white); }
.cert-doc__zoom-text { display: none; }
.cert-doc__head { grid-area: head; }
.cert-doc__year { color: var(--ink); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 300; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.cert-doc__title { margin-top: 12px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.45; }
.cert-nb { white-space: nowrap; }
.cert-doc__meta { margin-top: 6px; color: var(--muted); font-size: 0.875rem; line-height: 1.45; }
.cert-doc__body { grid-area: body; }
.cert-doc__models { grid-area: models; }
.cert-doc__label { margin: 0 0 10px; color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.cert-doc__label span { letter-spacing: 0.04em; }
.cert-doc__contents { display: grid; gap: 6px; list-style: none; }
.cert-doc__contents li { position: relative; padding-left: 20px; font-size: 0.9375rem; line-height: 1.5; }
.cert-doc__contents li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--red); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.cert-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.cert-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 11px; border: 1px solid var(--line); color: var(--ink); font-size: 0.8125rem; letter-spacing: 0.06em; white-space: nowrap; text-decoration: none; transition: border-color 0.2s; }
a.cert-chip:hover { border-color: var(--ink); }
.cert-chips--muted .cert-chip { border-style: dashed; border-color: #cfcfcf; color: var(--muted); }
details.cert-doc__others { margin-top: 6px; border: 0; }
.cert-doc__others summary { display: inline-flex; justify-content: flex-start; align-items: center; gap: 10px; min-height: 44px; padding-block: 0; color: var(--muted); font-size: 0.875rem; font-weight: 400; transition: color 0.2s; }
.cert-doc__others summary:hover { color: var(--ink); }
.cert-doc__others summary::after { font-size: 1.25rem; }
.cert-doc__others .cert-chips { padding-bottom: 4px; }
.cert-doc__others-note { margin: 12px 0 8px; color: var(--muted); font-size: 0.875rem; }
.cert-archive__issuer { margin-top: 24px; color: var(--muted); font-size: 0.8125rem; }
@media (pointer: coarse) {
	a.cert-chip { min-height: 44px; }
	.cert-years a { min-height: 44px; }
}
@media (min-width: 700px) {
	.cert-doc { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "media head" "media body" "media models"; grid-template-rows: auto auto 1fr; gap: 24px 40px; padding-block: 40px; }
	.cert-doc--text { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body" "models"; }
	.cert-doc__media { padding: 16px 22px 22px 16px; }
	.cert-doc__zoom { padding: 10px; }
	.cert-doc__zoom-text { display: inline; }
	.cert-doc__title { font-size: 0.875rem; }
}
@media (min-width: 1100px) {
	.cert-doc { grid-template-columns: 220px minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "media head models" "media body models"; grid-template-rows: auto 1fr; gap: 22px clamp(40px, 4vw, 72px); }
	.cert-doc--text { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "head models" "body models"; }
	.cert-doc__models { padding-top: 6px; }
}

/* Uvećan pregled strane */
.cert-viewer { width: min(860px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--white); color: var(--text); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.45); overflow: hidden; }
.cert-viewer[open] { display: flex; flex-direction: column; animation: viewer-in 0.28s var(--ease-out); }
.cert-viewer::backdrop { background: rgba(28, 28, 30, 0.78); }
.cert-viewer__bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 8px 12px 20px; border-bottom: 1px solid var(--line); }
.cert-viewer__bar > div { padding-top: 6px; }
.cert-viewer__title { color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
.cert-viewer__meta { margin-top: 2px; color: var(--muted); font-size: 0.8125rem; }
.cert-viewer__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 0; background: none; color: var(--ink); cursor: pointer; }
.cert-viewer__page { flex: 1; min-height: 0; padding: 16px; overflow: auto; overscroll-behavior: contain; background: var(--mist); }
.cert-viewer__page img { width: 100%; max-width: 760px; margin-inline: auto; background: var(--white); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 8px 24px -12px rgba(0, 0, 0, 0.3); }
.cert-viewer__foot { display: flex; padding: 12px 16px; border-top: 1px solid var(--line); }
.cert-viewer__foot .cert-file { margin-top: 0; }
:root:has(.cert-viewer[open]) { overflow: hidden; }
@keyframes viewer-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Na stranici modela */
.product-cert { margin-top: 32px; }
.product-cert__list { display: grid; gap: 12px; list-style: none; }
.product-cert__item { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px 20px; align-items: start; padding: 18px 18px 20px; background: var(--mist); }
.product-cert__item--text { grid-template-columns: minmax(0, 1fr); }
.product-cert__thumb { padding: 0 4px 4px 0; }
.product-cert__thumb .cert-paper { --sheet: 2px; }
.product-cert__meta { color: var(--muted); font-size: 0.8125rem; line-height: 1.4; }
.product-cert__title { margin-top: 4px; color: var(--ink); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }
.product-cert__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 14px; }

/* Informacije, #kvalitet */
#kvalitet .check-list { margin-top: 20px; }

/* Na početnoj */
.cert-teaser { padding-top: var(--section); }
.cert-teaser__inner { display: grid; justify-items: center; gap: 32px; padding: clamp(36px, 5vw, 64px) clamp(20px, 5vw, 72px); background: var(--mist); text-align: center; }
.cert-teaser__stack { position: relative; display: block; width: 260px; height: 200px; }
.cert-teaser__sheet { position: absolute; left: 50%; top: 50%; width: 118px; margin: -84px 0 0 -59px; transition: transform 0.4s var(--ease-out); }
.cert-teaser__sheet .cert-paper { --sheet: 0px; }
.cert-teaser__sheet:nth-child(1) { z-index: 3; transform: rotate(-1.5deg); }
.cert-teaser__sheet:nth-child(2) { z-index: 2; transform: translate(-62px, 8px) rotate(-9deg); }
.cert-teaser__sheet:nth-child(3) { z-index: 1; transform: translate(62px, 8px) rotate(8deg); }
.cert-teaser__inner:hover .cert-teaser__sheet:nth-child(1) { transform: translateY(-6px) rotate(0deg); }
.cert-teaser__inner:hover .cert-teaser__sheet:nth-child(2) { transform: translate(-74px, 6px) rotate(-12deg); }
.cert-teaser__inner:hover .cert-teaser__sheet:nth-child(3) { transform: translate(74px, 6px) rotate(11deg); }
.cert-teaser__text { display: grid; justify-items: center; gap: 14px; max-width: 56ch; }
.cert-teaser__meta { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; text-wrap: balance; }
.cert-teaser__text .text-link { margin-top: 6px; }
@media (min-width: 900px) {
	.cert-teaser__inner { grid-template-columns: 360px minmax(0, 1fr); justify-items: start; align-items: center; gap: clamp(40px, 5vw, 80px); text-align: left; }
	.cert-teaser__inner--text { grid-template-columns: minmax(0, 1fr); }
	.cert-teaser__stack { width: 360px; height: 236px; }
	.cert-teaser__sheet { width: 140px; margin: -99px 0 0 -70px; }
	.cert-teaser__sheet:nth-child(2) { transform: translate(-84px, 10px) rotate(-9deg); }
	.cert-teaser__sheet:nth-child(3) { transform: translate(84px, 10px) rotate(8deg); }
	.cert-teaser__inner:hover .cert-teaser__sheet:nth-child(2) { transform: translate(-98px, 8px) rotate(-12deg); }
	.cert-teaser__inner:hover .cert-teaser__sheet:nth-child(3) { transform: translate(98px, 8px) rotate(11deg); }
	.cert-teaser__text { justify-items: start; }
}

/* ---------- Informacije: uvod i sekcije (informacije.njk) ---------- */
/* Uvod: tamna traka u duhu /o-nama/; fotografija kože i konca je ispod tamnog zastora (kontrast teksta ≥ AA). */
.info-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(20px, 3vw, 40px) clamp(44px, 6vw, 96px); background: #1e1a17; color: rgba(255, 255, 255, 0.84); }
.info-hero > picture > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.info-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(20, 17, 15, 0.94) 0%, rgba(20, 17, 15, 0.82) 55%, rgba(20, 17, 15, 0.62) 100%); }
.info-hero .breadcrumbs { color: rgba(255, 255, 255, 0.72); }
.info-hero .breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.info-hero .eyebrow { margin: clamp(28px, 3.4vw, 48px) 0 0; color: rgba(255, 255, 255, 0.88); }
.info-hero__title { margin-top: clamp(12px, 1.4vw, 18px); color: var(--white); font-size: clamp(2.375rem, 0.9rem + 6.2vw, 6rem); font-weight: 300; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.info-hero__lead { max-width: 46ch; margin-top: clamp(16px, 2vw, 24px); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; }
@media (min-width: 1280px) {
	.info-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 26rem; column-gap: 48px; }
	.info-hero__inner > * { grid-column: 1 / -1; }
	.info-hero__title, .info-hero__lead { grid-row: 3; }
	.info-hero__title { grid-column: 1; }
	.info-hero__lead { grid-column: 2; align-self: end; margin: 0 0 0.25rem; }
}

/* Sekcija: redni broj na tankoj liniji (isti kao u navigaciji kroz stranu; čitači ekrana ga preskaču), naslov tankog reza. */
.info-section { padding-top: clamp(64px, 8vw, 128px); counter-increment: info; }
.info-section:first-child { padding-top: 0; }
.info-section__title { font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.625rem); font-weight: 300; letter-spacing: 0.08em; line-height: 1.12; text-transform: uppercase; text-wrap: balance; }
.info-section__title::before { content: counter(info, decimal-leading-zero); content: counter(info, decimal-leading-zero) / ""; display: block; margin-bottom: clamp(20px, 2.2vw, 32px); padding-top: 14px; border-top: 1px solid var(--ink); color: var(--red-dark); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; line-height: 1; }
.info-section__lead { max-width: 56ch; margin-top: clamp(14px, 1.6vw, 20px); color: var(--text); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; }
.info-subtitle { display: flex; align-items: center; gap: 16px; margin: clamp(44px, 5vw, 64px) 0 20px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; line-height: 1.4; text-transform: uppercase; }
.info-subtitle::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.info-note { max-width: 68ch; margin-top: 18px; color: var(--muted); font-size: 0.875rem; }
.info-section .text-link .icon, .info-card .btn .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.info-section .text-link:hover .icon, .info-card .btn:hover .icon { transform: translateX(3px); }

/* Gde se kupuje: kartica za kupce je tamna (glavni put), ostale su svetle sa linijom. */
.info-cards { display: grid; gap: 16px; margin-top: clamp(28px, 3.5vw, 44px); }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); background: var(--white); }
.info-card > .icon { width: 28px; height: 28px; margin-bottom: 6px; color: var(--red); }
.info-card h3 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.info-card p { color: var(--text); }
.info-card p a { color: var(--red-dark); text-underline-offset: 3px; }
.info-card a[href^="tel:"] { white-space: nowrap; }
.info-card > .text-link, .info-card > .btn { margin-top: auto; }
.info-card > p:has(+ .text-link, + .btn) { margin-bottom: 8px; }
.info-card--main { border-color: var(--ink); background: var(--ink); }
.info-card--main h3 { color: var(--white); }
.info-card--main p { color: rgba(255, 255, 255, 0.8); }
.info-card .info-card__figure { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; color: var(--white); font-size: clamp(2.5rem, 1.9rem + 2vw, 3.5rem); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.info-card__figure .locator__dot { width: 10px; height: 10px; }
.info-card__figure small { align-self: flex-end; padding-bottom: 0.3em; color: rgba(255, 255, 255, 0.72); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 640px) {
	.info-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.info-card--main { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
	.info-cards { grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); }
	.info-card--main { grid-column: auto; }
}

/* Izbor modela: fotografija modela na istoj sivoj podlozi kao snimak (#f7f7f7), pa `contain` ne pravi ivice. */
.type-grid { display: grid; gap: 12px; margin-top: clamp(28px, 3.5vw, 44px); }
.type-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); border: 1px solid var(--line); background: var(--white); color: inherit; text-decoration: none; transition: border-color 0.2s; }
.type-card:hover { border-color: var(--ink); }
.type-card__media { position: relative; overflow: hidden; background: #f7f7f7; }
.type-card__media > picture > img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s var(--ease-out); }
.type-card:hover .type-card__media img { transform: scale(1.05); }
.type-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 16px 18px 18px; }
.type-card h3 { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; }
.type-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
.type-card__count { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--red-dark); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; }
.type-card__count .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.type-card:hover .type-card__count .icon { transform: translateX(3px); }
@media (min-width: 640px) {
	.type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
	.type-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.type-card__media { aspect-ratio: 4 / 3; }
	.type-card__body { gap: 8px; padding: 20px 22px 24px; }
	.type-card h3 { font-size: 1.125rem; }
}
.purpose-list { display: grid; list-style: none; border-top: 1px solid var(--ink); }
.purpose-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 20px; height: 100%; padding: 18px 2px 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.purpose-list strong { color: var(--ink); font-weight: 500; transition: color 0.2s; }
.purpose-list span { grid-column: 1; color: var(--muted); font-size: 0.9375rem; }
.purpose-list .icon { grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; color: var(--ink); transition: transform 0.25s var(--ease-out), color 0.2s; }
.purpose-list a:hover strong { color: var(--red-dark); }
.purpose-list a:hover .icon { transform: translateX(4px); color: var(--red); }
@media (min-width: 900px) {
	.purpose-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
}

/* Tehnologija: piktogrami u mreži tankih linija, slojevi uz fotografiju, prednosti kao spisak pojmova. */
.picto-legend { display: grid; gap: 1px; list-style: none; border: 1px solid var(--line); background: var(--line); }
.picto-legend li { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 16px; padding: 22px clamp(18px, 2vw, 28px) 24px; background: var(--white); }
.picto-legend svg { width: 44px; height: 44px; color: var(--ink); }
.picto-legend strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 500; }
.picto-legend p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 640px) {
	.picto-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1199px) {
	.picto-legend li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
	.picto-legend { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.picto-legend li { grid-column: span 2; }
	.picto-legend li:nth-child(n + 4) { grid-column: span 3; }
}
.layers { display: grid; gap: 32px 56px; margin-top: clamp(44px, 5vw, 64px); }
.layers__media { margin: 0; }
.layers__media > picture > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--card); }
.layers__media figcaption { margin-top: 12px; color: var(--muted); font-size: 0.8125rem; }
.layers__body .info-subtitle { margin-top: 0; }
.material-grid { display: grid; list-style: none; border-top: 1px solid var(--ink); }
.material-grid li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 12px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.material-grid__num { grid-row: span 2; color: var(--red-dark); font-size: 1.75rem; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.material-grid h4 { margin: 2px 0 6px; color: var(--ink); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.material-grid p { color: var(--muted); }
@media (min-width: 1200px) {
	.layers { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
	.layers__media { position: sticky; top: calc(var(--header-h) + 40px); }
	.layers__media > picture > img { aspect-ratio: 1; }
}
.benefits { display: grid; margin: 0; border-top: 1px solid var(--ink); }
.benefits > div { display: grid; gap: 4px 32px; padding: 16px 0 18px; border-bottom: 1px solid var(--line); }
.benefits dt { color: var(--ink); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; }
.benefits dd { margin: 0; color: var(--text); }
@media (min-width: 768px) {
	.benefits > div { grid-template-columns: minmax(170px, 2fr) minmax(0, 5fr); align-items: baseline; }
}
.check-list { display: grid; gap: 12px; list-style: none; }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 12px; height: 12px; background: var(--red); clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.check-list strong { color: var(--ink); font-weight: 500; }

/* Nega i zamena: dve mirne kartice; „≈ 700 km" je vizuelni naglasak rečenice ispod (zato aria-hidden). */
.care { display: grid; gap: 16px; margin-top: clamp(28px, 3.5vw, 44px); }
.care__card { padding: clamp(24px, 3vw, 44px); background: var(--mist); }
.care__card .info-subtitle { margin-top: 0; }
.care__card .info-subtitle::after { background: #d9d5cf; }
.care__card p + .check-list { margin-top: 16px; }
.care__figure { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; color: var(--ink); font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); font-weight: 200; line-height: 1; letter-spacing: 0.01em; }
.care__figure small { color: var(--muted); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
@media (min-width: 900px) and (max-width: 1023px), (min-width: 1200px) {
	.care { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kontrola kvaliteta: listovi izveštaja (isti kao na početnoj) + spisak kontrola. */
.quality { display: grid; justify-items: center; gap: 32px; margin-top: clamp(28px, 3.5vw, 44px); padding: clamp(32px, 4vw, 56px) clamp(22px, 4vw, 56px); background: var(--mist); }
.quality__body { display: grid; justify-items: start; gap: 24px; width: 100%; }
#kvalitet .quality__body .check-list { margin-top: 0; }
@media (min-width: 1200px) {
	.quality { grid-template-columns: 360px minmax(0, 1fr); align-items: center; gap: 48px; }
	.quality--text { grid-template-columns: minmax(0, 1fr); }
}

/* Reklamacije */
.claim { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 18px; max-width: 880px; margin-top: clamp(24px, 3vw, 36px); padding: clamp(22px, 2.6vw, 32px); border: 1px solid var(--line); }
.claim > .icon { width: 28px; height: 28px; color: var(--red); }
.claim p { color: var(--text); font-size: 1.0625rem; }
.claim a { color: var(--red-dark); text-underline-offset: 3px; }
#reklamacije .placeholder-note { max-width: 880px; }

/* Česta pitanja */
.faq-wrap { display: grid; gap: 32px; margin-top: clamp(24px, 3vw, 40px); }
.faq { border-top: 1px solid var(--ink); }
.faq details:first-of-type { border-top: 0; }
.faq summary { align-items: center; min-height: 68px; padding-block: 18px; font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); font-weight: 400; line-height: 1.4; transition: color 0.2s; }
.faq summary::after { content: ''; flex: none; width: 36px; height: 36px; border: 1px solid #d3cfc9; border-radius: 50%; background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform 0.3s var(--ease-out), border-color 0.2s, background-color 0.2s; }
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after { border-color: var(--ink); background: linear-gradient(var(--white), var(--white)) center / 12px 1.5px no-repeat, linear-gradient(var(--white), var(--white)) center / 1.5px 12px no-repeat, var(--ink); }
.faq summary:focus-visible { outline-offset: 4px; }
.faq details p { max-width: 64ch; padding: 0 56px 24px 0; color: var(--text); }
.faq details a { color: var(--red-dark); text-underline-offset: 3px; }
@supports selector(::details-content) {
	.faq details { interpolate-size: allow-keywords; }
	.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
	.faq details[open]::details-content { block-size: auto; }
}
.faq-help { display: grid; align-content: start; justify-items: start; gap: 8px; padding: clamp(22px, 2.4vw, 28px); background: var(--mist); }
.faq-help h3 { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.faq-help p { color: var(--muted); }
.faq-help ul { display: grid; gap: 2px; margin-top: 6px; list-style: none; }
.faq-help a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--ink); font-weight: 500; text-decoration: none; }
.faq-help a:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: 3px; }
.faq-help .icon { width: 18px; height: 18px; color: var(--red); }
@media (min-width: 1200px) {
	.faq-wrap { grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
	.faq-help { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Kontakt (kartice važe i za /o-nama/) */
.contact-cards { display: grid; gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); }
.contact-card { display: grid; align-content: start; justify-items: start; gap: 8px; padding: 26px 24px 28px; background: var(--white); }
.contact-card > .icon { width: 24px; height: 24px; margin-bottom: 6px; color: var(--red); }
.contact-card h3 { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.contact-card p { color: var(--text); }
.contact-card p a { color: var(--ink); text-underline-offset: 3px; }
.contact-card p a:hover { color: var(--red-dark); }
.contact-card .text-link { margin-top: 6px; }
.contact-card .nowrap { white-space: nowrap; }
@media (min-width: 600px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.info-contact { display: grid; margin-top: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line); }
.info-contact__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--card); }
.info-contact__media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.info-contact .contact-cards { margin-top: 0; border: 0; border-top: 1px solid var(--line); }
@media (min-width: 1200px) {
	.info-contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.info-contact__media { aspect-ratio: auto; }
	.info-contact .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; border-left: 1px solid var(--line); }
}

/* Vodič za veličine (partials/size-guide.njk): isti sadržaj na Informacijama i u prozoru. */
.size-guide { display: grid; gap: 32px; margin-top: clamp(28px, 3.5vw, 44px); }
.size-guide__how { display: grid; align-content: start; gap: 28px; }
.size-guide .placeholder-note { margin-bottom: 0; }
@media (min-width: 1200px) {
	.info .size-guide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}
/* Šema merenja: ukrasna (isto kažu koraci), boje iz tokena. */
.measure { margin: 0; padding: clamp(16px, 2.2vw, 28px) clamp(12px, 2vw, 24px) clamp(10px, 1.6vw, 18px); background: var(--mist); }
.measure svg { width: 100%; max-width: 460px; height: auto; margin-inline: auto; font-family: inherit; }
.measure__wall { fill: var(--ink); }
.measure__paper { fill: var(--white); stroke: #d9d5cf; }
.measure__foot { fill: #ebe8e3; stroke: var(--ink); stroke-width: 1.2; stroke-linejoin: round; }
.measure__dim { fill: none; stroke: var(--ink); }
.measure__tip { fill: none; stroke: var(--red-dark); stroke-width: 1.2; stroke-dasharray: 3 3; }
.measure__gap { fill: none; stroke: var(--red-dark); }
.measure__label { fill: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; }
.measure__label--accent { fill: var(--red-dark); letter-spacing: 0.04em; }
/* Koraci: redni brojevi tankog reza na liniji, kao ciklus proizvodnje na /o-nama/. */
.steps { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { position: relative; padding: 16px 0 18px 52px; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: '0' counter(step); content: '0' counter(step) / ''; position: absolute; left: 0; top: 13px; color: var(--red-dark); font-size: 1.625rem; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.steps strong { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.size-table caption { padding-bottom: 14px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-align: left; text-transform: uppercase; }
.size-table th, .size-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table thead th { padding-block: 10px; border-bottom-color: var(--ink); color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.size-table tbody th { color: var(--ink); font-size: 1.0625rem; font-weight: 500; }
.info .size-table tbody tr { transition: background-color 0.15s; }
.info .size-table tbody tr:hover { background: var(--mist); }
.size-guide-link { position: relative; }
.size-guide-link .icon { width: 16px; height: 16px; color: var(--red); }
/* Veća površina za dodir bez pomeranja podvlake. */
.size-guide-link::after { content: ''; position: absolute; inset: -12px -6px; }
/* Brojevi jednog modela: mirna podloga + tanka crvena šina, ostali redovi utišani. */
.size-table--model tbody tr { color: var(--muted); }
.size-table--model tbody th { color: var(--muted); font-weight: 400; }
.size-table tbody tr.is-model { background: var(--mist); color: var(--ink); }
.size-table tbody tr.is-model th { box-shadow: inset 2px 0 0 var(--red); color: var(--ink); font-weight: 500; }

.size-dialog { width: min(940px, 100vw - 32px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--white); color: var(--text); box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.45); overflow: hidden; }
.size-dialog[open] { display: flex; flex-direction: column; animation: viewer-in 0.28s var(--ease-out); }
.size-dialog::backdrop { background: rgba(28, 28, 30, 0.72); }
.size-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.size-dialog__title { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem); letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; }
.size-dialog__model { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; color: var(--muted); font-size: 0.875rem; }
.size-dialog__model strong { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.size-dialog__key { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; }
.size-dialog__key::before { content: ''; width: 14px; height: 14px; background: var(--mist); box-shadow: inset 2px 0 0 var(--red), inset 0 0 0 1px var(--line); }
.size-dialog__close { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: border-color 0.2s; }
.size-dialog__close:hover { border-color: var(--ink); }
.size-dialog__close .icon { width: 18px; height: 18px; }
.size-dialog__body { flex: 1; min-height: 0; padding: 0 24px 28px; overflow: auto; overscroll-behavior: contain; }
.size-dialog .size-guide { margin-top: 24px; }
/* Tabela bez sopstvenog skrola, da zaglavlje ostane zalepljeno uz vrh prozora. */
.size-dialog .table-wrap { overflow: visible; }
.size-dialog .size-table { max-width: none; }
.size-dialog .size-table thead th { position: sticky; top: 0; z-index: 1; background: var(--white); box-shadow: inset 0 -1px 0 var(--ink); }
.size-dialog .steps li { font-size: 0.9375rem; }
:root:has(.size-dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
@media (max-width: 599px) {
	/* Telefon: list odozdo, skoro preko celog ekrana. */
	.size-dialog { width: 100%; max-height: calc(100dvh - 24px); margin: auto 0 0; }
	.size-dialog[open] { animation-name: sheet-in; }
	.size-dialog__bar { padding: 12px 12px 12px 16px; }
	.size-dialog__body { padding: 0 16px 24px; }
	.size-dialog .size-table th, .size-dialog .size-table td { padding: 9px 8px; }
	/* Na telefonu tabela je bliže vrhu lista; šema ostaje na /informacije/. */
	.size-dialog .measure { display: none; }
}
@media (min-width: 800px) {
	.size-dialog .size-guide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
}
@keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } }

/* ---------- Video na klik (partials/video.njk, assets/js/video.js, D30) ---------- */
/* Do klika: naslovna slika sa našeg domena + dugme; posle klika youtube-nocookie iframe u istom okviru. */
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.video--vertical .video__frame { aspect-ratio: 9 / 16; }
.video__trigger { position: absolute; inset: 0; isolation: isolate; display: grid; place-content: center; justify-items: center; gap: 14px; width: 100%; padding: 0; border: 0; background: none; color: var(--white); text-decoration: none; cursor: pointer; }
.video__trigger::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.08)); transition: opacity 0.3s; }
.video__trigger:focus-visible { outline: 3px solid var(--white); outline-offset: -9px; }
.video__poster { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.video__trigger:hover .video__poster { transform: scale(1.03); }
/* Naslovna slika sa crnim trakama (bioskopski format) — uvećana tako da trake ostanu van kadra. */
.video--scope .video__poster { transform: scale(1.31); }
.video--scope .video__trigger:hover .video__poster { transform: scale(1.35); }
.video__play { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6), 0 12px 32px rgba(0, 0, 0, 0.28); transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.video__play .icon { width: 42%; height: 42%; margin-left: 6%; }
.video__trigger:hover .video__play, .video__trigger:focus-visible .video__play { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.16), 0 12px 32px rgba(0, 0, 0, 0.28); }
.video__label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.video__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__caption { display: grid; gap: 4px; margin-top: 14px; }
.video__meta { color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.video__title { color: var(--ink); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.video__text { color: var(--muted); font-size: 0.9375rem; }
.video__note { color: var(--muted); font-size: 0.8125rem; }
.video--vertical .video__play { width: 56px; height: 56px; }

/* ---------- O nama (o-nama.njk, D30) ---------- */
/* Nadnaslov sa crvenim ⊕ ispred. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.18em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--red); clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); }
.about-hero .eyebrow, .films .eyebrow, .craft__banner .eyebrow { color: rgba(255, 255, 255, 0.88); }
.text-link--light { color: var(--white); }
.text-link--light:hover { color: rgba(255, 255, 255, 0.72); }

/* Ulazak elemenata (assets/js/o-nama.js dodaje .has-reveal; bez JS-a i uz smanjen pokret sve je vidljivo). */
.has-reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
/* „Zavesa" u boji sekcije se povlači naniže (samo transform — bez clip-path, da lenje slike i IntersectionObserver rade normalno). */
.has-reveal [data-reveal="mask"] { opacity: 1; transform: none; }
.has-reveal [data-reveal="mask"]::after { content: ''; position: absolute; inset: 0; z-index: 3; background: var(--curtain, var(--mist)); transform-origin: bottom; pointer-events: none; transition: transform 1.1s var(--ease-in-out); transition-delay: calc(var(--d, 0) * 80ms); }
.has-reveal [data-reveal="mask"] > picture > img { transform: scale(1.12); transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.has-reveal [data-reveal="mask"].is-in::after { transform: scaleY(0); }
.has-reveal [data-reveal="mask"].is-in > picture > img { transform: none; }
@media print { .has-reveal [data-reveal] { opacity: 1 !important; transform: none !important; } .has-reveal [data-reveal]::after { display: none; } }

/* Hero: veliki naslov na tamnom, film o brendu „gazi" preko granice tamno/belo. */
.about-hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(20px, 3vw, 40px); background: var(--ink); color: rgba(255, 255, 255, 0.8); }
.about-hero__cross { position: absolute; z-index: -1; right: -22vw; top: -16vw; width: min(84vw, 880px); height: min(84vw, 880px); color: rgba(255, 255, 255, 0.035); transform: rotate(var(--rot, 0deg)); }
.about-hero .breadcrumbs { color: rgba(255, 255, 255, 0.72); }
.about-hero .breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.about-hero .eyebrow { margin: clamp(28px, 3.4vw, 44px) 0 0; }
.about-hero__title { margin-top: clamp(12px, 1.4vw, 20px); color: var(--white); font-size: clamp(2.625rem, 0.9rem + 7.4vw, 7rem); font-weight: 300; letter-spacing: 0.04em; line-height: 0.96; text-transform: uppercase; }
.about-hero__title span { display: block; }
.about-hero__lead { max-width: 44ch; margin-top: clamp(18px, 2.2vw, 28px); color: rgba(255, 255, 255, 0.84); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; }
.about-hero__film { position: relative; margin-top: clamp(28px, 3vw, 40px); }
.about-hero__film::before { content: ''; position: absolute; z-index: -1; left: calc(50% - 50vw); right: calc(50% - 50vw); top: 62%; bottom: 0; background: var(--white); }
.video--hero .video__play { width: clamp(72px, 7vw, 104px); height: clamp(72px, 7vw, 104px); }
.video--hero .video__caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-inline: var(--gutter); }
@media (min-width: 768px) {
	.about-hero__film { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
	.video--hero .video__caption { padding-inline: 0; }
	/* Kadar 2,35 : 1 do klika; plejer je 16 : 9 i staje u visinu ekrana. */
	.video--hero:not(.is-playing) .video__frame { aspect-ratio: 2.35 / 1; }
	.video--hero.is-playing { max-width: min(100%, (100svh - 150px) * 16 / 9); margin-inline: auto; }
}
@media (min-width: 1280px) {
	.about-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 26rem; column-gap: 48px; }
	.about-hero__inner > * { grid-column: 1 / -1; }
	.about-hero__title, .about-hero__lead { grid-row: 3; }
	.about-hero__title { grid-column: 1; }
	.about-hero__title span { white-space: nowrap; }
	.about-hero__lead { grid-column: 2; align-self: end; margin: 0 0 0.35rem; }
}

/* Priča i brojke */
.about-story { padding-block: clamp(48px, 7vw, 112px) var(--section); }
.about-story__grid { display: grid; gap: 8px 48px; }
.about-story__text { display: grid; gap: 16px; max-width: 64ch; }
.about-story__lead { color: var(--ink); font-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.5; }
.about-story__text strong { color: var(--ink); font-weight: 500; }
.about-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: clamp(48px, 6vw, 88px); list-style: none; background: var(--line); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.about-stats li { display: grid; align-content: space-between; gap: 14px; min-width: 0; padding: clamp(20px, 2.4vw, 32px) clamp(12px, 2vw, 28px) clamp(22px, 2.4vw, 32px) 0; background: var(--white); }
.about-stats li:nth-child(even) { padding-left: clamp(12px, 2vw, 28px); }
.about-stats__value { color: var(--ink); font-size: clamp(2.375rem, 1.5rem + 3.6vw, 5.25rem); font-weight: 200; line-height: 0.95; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.about-stats__unit { font-size: 0.45em; font-weight: 300; }
.about-stats__label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.35; text-transform: uppercase; }
.about-story .placeholder-note { margin-top: 24px; }
@media (min-width: 768px) {
	.about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.about-stats li, .about-stats li:nth-child(even) { padding-left: clamp(12px, 2vw, 28px); }
	.about-stats li:nth-child(3n + 1) { padding-left: 0; }
}
@media (min-width: 1024px) {
	.about-story__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
	.about-story__head .section-title { max-width: 12ch; }
}

/* Vremenska linija: linija se „crta" na skrol (o-nama.js → --p), krst na liniji se okreće kad ga linija stigne. */
.history { padding-block: var(--section); background: var(--mist); }
.history__head { max-width: 40rem; margin-bottom: clamp(40px, 5vw, 80px); }
.history__list { --rail: 9px; --year: clamp(3rem, 1.3rem + 4.6vw, 6.25rem); position: relative; display: grid; gap: clamp(64px, 9vw, 136px); padding-left: 40px; list-style: none; }
.history__list::before, .history__list::after { content: ''; position: absolute; left: var(--rail); top: calc(var(--year) * 0.5); bottom: 0; width: 1px; background: #d3cfc9; }
.history__list::after { left: calc(var(--rail) - 0.5px); width: 2px; background: var(--red); transform: scaleY(var(--p, 1)); transform-origin: top; }
.era { position: relative; display: grid; gap: 24px; }
.era__text { position: relative; }
/* Krst je deo teksta epohe, pa na desktopu klizi niz liniju zajedno sa lepljivom godinom. */
.era__text::before { content: ''; position: absolute; z-index: 1; left: calc(var(--rail) - 40px - 9px); top: calc(var(--year) * 0.5 - 9px); width: 18px; height: 18px; background: var(--red); clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); transition: background-color 0.3s, transform 0.5s var(--ease-out); }
.history__list.is-live .era:not(.is-on) .era__text::before { background: #bdb8b1; transform: rotate(45deg) scale(0.7); }
.era__head { display: grid; gap: 10px; }
.era__year { color: var(--ink); font-size: var(--year); font-weight: 200; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; }
.era__title { color: var(--ink); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.era__text p { max-width: 46ch; margin-top: 14px; }
.era__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--card); }
.era__media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.era__media--cutout { display: flex; justify-content: center; aspect-ratio: auto; padding: clamp(36px, 6vw, 80px) clamp(20px, 4vw, 56px); background: var(--white); }
.era__media--cutout > picture > img { width: 100%; height: auto; object-fit: contain; }
.era__media--video { aspect-ratio: auto; overflow: visible; background: none; }
@media (min-width: 1024px) {
	.history__list { --rail: 20px; padding-left: 88px; }
	.era__text::before { left: calc(var(--rail) - 88px - 9px); }
	.era { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
	.era__text { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* Video: tamna sekcija. Kolone su srazmerne formatima (16:9 i 9:16), pa su oba kadra iste visine. */
.films { --curtain: var(--ink); padding-block: var(--section); background: var(--ink); color: rgba(255, 255, 255, 0.78); }
.films .section-title { color: var(--white); }
.films .section-lead { color: rgba(255, 255, 255, 0.74); }
.films__head { margin-bottom: clamp(32px, 4vw, 56px); }
.films__grid { display: grid; gap: 40px; }
.films__grid > * { position: relative; min-width: 0; }
.films .video__meta { color: rgba(255, 255, 255, 0.62); }
.films .video__title { color: var(--white); }
.films .video__text { color: rgba(255, 255, 255, 0.74); }
.films__note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: clamp(32px, 4vw, 56px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.875rem; }
@media (max-width: 899px) {
	.films .video--vertical { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: 18px; align-items: end; }
	.films .video--vertical .video__caption { margin-top: 0; }
}
@media (min-width: 900px) {
	.films__grid { grid-template-columns: minmax(0, 64fr) minmax(0, 20.25fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
}

/* Ciklus proizvodnje: traka preko cele širine, kolaž fotografija i 6 koraka. */
.craft { padding-bottom: var(--section); background: var(--mist); }
.craft__banner { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center; min-height: clamp(320px, 34vw, 520px); padding-block: clamp(56px, 7vw, 96px); background: #2b2420; color: var(--white); text-align: center; }
.craft__banner > picture > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.craft__banner::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(18, 14, 12, 0.5), rgba(18, 14, 12, 0.68)); }
.craft__banner-inner { display: grid; justify-items: center; }
.craft__title { max-width: 26ch; color: var(--white); }
.craft__lead { max-width: 40ch; margin-top: 16px; color: rgba(255, 255, 255, 0.9); font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.craft__banner > picture > img { animation: banner-drift linear both; animation-timeline: view(); }
		@keyframes banner-drift { from { transform: scale(1.2) translateY(-7%); } to { transform: scale(1.2) translateY(7%); } }
	}
}
.craft__body { display: grid; gap: 48px; margin-top: clamp(48px, 6vw, 96px); }
.craft__media { position: relative; padding-bottom: 16%; }
.craft__photo { position: relative; overflow: hidden; width: 86%; aspect-ratio: 4 / 3; background: var(--card); }
.craft__photo > picture > img { width: 100%; height: 100%; object-fit: cover; }
.craft__photo--inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--mist); }
.craft__steps { list-style: none; counter-reset: step; border-top: 1px solid var(--ink); }
.craft__steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; padding-block: 22px 24px; border-bottom: 1px solid #dcd9d4; }
.craft__steps li::before { counter-increment: step; content: '0' counter(step); grid-row: span 2; color: var(--red-dark); font-size: 1.75rem; font-weight: 200; line-height: 1; }
.craft__steps h3 { font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.14em; line-height: 1.4; text-transform: uppercase; }
.craft__steps p { margin-top: 6px; color: var(--muted); }
@media (min-width: 1024px) {
	.craft__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
	.craft__media { position: sticky; top: calc(var(--header-h) + 32px); padding-bottom: 22%; }
	.craft__photo { aspect-ratio: 4 / 5; }
	.craft__photo--inset { width: 52%; aspect-ratio: 4 / 3; }
	.craft__steps li { grid-template-columns: 96px minmax(0, 1fr); padding-block: 30px 32px; }
	.craft__steps li::before { font-size: 2.75rem; }
}

/* Šta je LEON Medikal */
.about-medikal { --curtain: var(--white); padding-block: var(--section); }
.about-medikal__grid { display: grid; gap: 40px; }
.about-medikal__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.about-medikal__media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.about-medikal__stamp { position: absolute; right: 16px; top: 16px; width: clamp(88px, 9vw, 128px); }
.about-medikal__points { display: grid; gap: 1px; margin-top: clamp(28px, 3vw, 40px); background: var(--line); border: 1px solid var(--line); }
.about-medikal__points article { display: grid; align-content: start; gap: 10px; padding: 24px; background: var(--white); }
.about-medikal__points svg { width: 32px; height: 32px; color: var(--red); }
.about-medikal__points h3 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.12em; line-height: 1.4; text-transform: uppercase; }
.about-medikal__points p { color: var(--muted); }
.about-medikal__points .text-link { justify-self: start; }
.about-medikal__actions { margin-top: 32px; }
@media (min-width: 640px) { .about-medikal__points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tablet: uspravna fotografija bi zauzela ceo ekran — širi kadar, fokus na klompama. */
@media (min-width: 600px) and (max-width: 1023px) {
	.about-medikal__media { aspect-ratio: 3 / 2; }
	.about-medikal__media > picture > img { object-position: 50% 72%; }
}
@media (min-width: 1024px) {
	.about-medikal__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
	.about-medikal__media { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* Kvalitet: fotografija i tekst u dve polovine, preko cele širine. */
.about-quality { display: grid; background: var(--mist); }
.about-quality__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--card); }
.about-quality__media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.about-quality__text { display: grid; align-content: center; justify-items: start; gap: 16px; padding: clamp(40px, 6vw, 112px) var(--gutter); }
.about-quality__text .eyebrow { margin-bottom: 0; }
.about-quality__text p:not(.eyebrow) { max-width: 52ch; font-size: 1.0625rem; }
.about-quality__text .text-link { margin-top: 8px; }
@media (min-width: 900px) {
	.about-quality { grid-template-columns: 1fr 1fr; }
	.about-quality__media { aspect-ratio: auto; min-height: 560px; }
	.about-quality__text { padding-inline: clamp(40px, 6vw, 112px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
}

/* Dve linije */
.about-lines { padding-block: var(--section); }
.about-lines__grid { display: grid; gap: 48px 24px; }
.line-card__media { overflow: hidden; aspect-ratio: 9 / 10; background: var(--card); }
.line-card__media > picture > img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.line-card:hover .line-card__media > picture > img { transform: scale(1.03); }
.line-card__body { display: grid; justify-items: start; gap: 10px; padding-top: 24px; }
.line-card__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); letter-spacing: 0.14em; text-transform: uppercase; }
.line-card__body p { max-width: 46ch; color: var(--muted); }
@media (min-width: 900px) { .about-lines__grid { grid-template-columns: 1fr 1fr; } }

/* Moto i kontakt */
.about-contact { padding-block: var(--section); background: var(--mist); }
.about-contact__motto { display: grid; justify-items: center; gap: 24px; max-width: 30ch; margin: 0 auto clamp(56px, 7vw, 112px); color: var(--ink); font-size: clamp(1.75rem, 0.9rem + 3.6vw, 4.5rem); font-weight: 300; letter-spacing: 0.06em; line-height: 1.1; text-align: center; text-transform: uppercase; text-wrap: balance; }
.about-contact__motto svg { width: 28px; height: 28px; color: var(--red); }
.about-contact__grid { display: grid; gap: 32px; }
.about-contact__head { display: grid; align-content: start; justify-items: start; gap: 16px; }
.about-contact__head .eyebrow { margin-bottom: 0; }
.about-contact__head p:not(.eyebrow) { max-width: 40ch; color: var(--muted); }
.about-contact .contact-cards { margin-top: 0; }
@media (min-width: 600px) { .about-contact .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .about-contact__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; } }

/* ---------- Smanjen pokret ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.hero__media img { transform: none !important; }
}
