/* ==========================================================================
   SIMPAR - pravac "Plakat".
   Bela podloga, crne linije od 3px, žuta kao boja firme, nijanse pakovanja
   po kategorijama, ogromne cene u Anton fontu. Animacije: traka sa cenama,
   naslov koji izlazi iz linije, cene koje se odbrojavaju, proizvodi koji
   uleću i poskoče na prelaz mišem.
   ========================================================================== */

:root {
	--paper: #ffffff;
	--ink: #17181a;
	--ink-2: #3b3d41;
	--muted: #63666b;
	--line: #17181a;
	--soft: #f3f1ec;
	--photo: #ececea;
	--yel: #00875a;
	--on-yel: #ffffff;
	--yel-hi: #3ecf8e;
	--yel-2: #006b47;
	--yel-l: #e3f2ea;
	--ok: #1f7a46;
	--err: #c8102e;

	--f-d: "Anton", "Impact", "Arial Narrow", sans-serif;
	--f-c: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-b: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;

	--b: 3px solid var(--line);
	--gut: clamp(16px, 3vw, 40px);
	--max: 1400px;

	--t-xs: .8125rem;
	--t-s: .9375rem;
	--t-b: 1.0625rem;
	--t-m: 1.25rem;
	--t-l: clamp(1.6rem, 2.6vw, 2.2rem);
	--t-xl: clamp(2.8rem, 6vw, 5.4rem);
	--t-hero: clamp(3.6rem, 11vw, 10.5rem);

	--ease-out: cubic-bezier(.2, .9, .2, 1);
	--ease-pop: cubic-bezier(.3, 1.6, .5, 1);
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-b)/1.55 var(--f-b); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
h1, h2, h3, h4 { margin: 0; line-height: 1; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--yel); }
/* Polja za kucanje nemaju prsten; fokus pokazuje okvir oko polja. */
:where(input:not([type=checkbox], [type=radio]), textarea, select):focus { outline: none; box-shadow: none; }
.pl-search:focus-within { box-shadow: inset 0 -4px 0 var(--ink); }
.qty:focus-within { box-shadow: 4px 4px 0 var(--ink); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--yel); color: var(--on-yel); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
[hidden] { display: none !important; }

/* ---------- Dugmad ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 50px; padding: .6em 1.3em; border: var(--b); border-radius: 0;
	font: 700 1.15rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none; cursor: pointer; background: var(--paper); color: var(--ink); white-space: nowrap;
	transition: transform .15s var(--ease-pop), box-shadow .15s, background-color .15s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: none; box-shadow: none; }
.btn-lg { min-height: 60px; font-size: 1.3rem; padding-inline: 1.6em; }
.btn-block { width: 100%; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { box-shadow: 3px 3px 0 var(--yel); }
.btn-yel, .btn-tape { background: var(--yel); color: var(--on-yel); }
.btn-line { background: var(--paper); }
.icon-btn { display: grid; place-items: center; width: 46px; height: 46px; border: var(--b); background: var(--paper); cursor: pointer; }

/* ---------- Trake (marquee) ---------- */
.marquee { overflow: hidden; white-space: nowrap; background: var(--ink); color: var(--paper); }
.marquee-in { display: inline-flex; align-items: center; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-in { animation-play-state: paused; }
.marquee span, .marquee a { padding: 0 18px; }
.marquee a { color: inherit; text-decoration: none; display: inline-block; transition: color .15s, transform .2s var(--ease-pop); }
.marquee a:hover, .marquee a:focus-visible { color: var(--yel-hi); transform: translateY(-1px); }
.marquee a:hover b { text-decoration: underline; }
.marquee i { width: 8px; height: 8px; background: var(--yel-hi); transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-prices { font: 600 1rem/1 var(--f-c); letter-spacing: .03em; text-transform: uppercase; }
.marquee-prices .marquee-in { padding: 9px 0; }
.marquee-prices b { color: var(--yel-hi); font-weight: 800; font-size: 1.1rem; }
.marquee-prices small { color: #b9bcc0; }
.marquee-brands { background: var(--ink); color: var(--yel-hi); font: 400 clamp(1.6rem, 3vw, 2.4rem)/1 var(--f-d); text-transform: uppercase; border-block: var(--b); }
.marquee-brands .marquee-in { padding: 12px 0; animation-duration: 40s; animation-direction: reverse; }
.marquee-brands i { width: 12px; height: 12px; }

/* ---------- Zaglavlje ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--yel); color: var(--on-yel); border-bottom: var(--b); }
.head-in { max-width: var(--max); margin: 0 auto; padding: 8px var(--gut); display: flex; align-items: center; gap: 22px; min-height: 72px; }
.brand { margin-right: auto; text-decoration: none; display: flex; align-items: center; }
.brand-logo { max-height: 48px; width: auto; }
.logo { display: block; height: 74px; width: auto; color: currentColor; overflow: visible; }
.logo-p1, .logo-p2 { transition: transform .3s var(--ease-pop); }
.brand:hover .logo-p1 { transform: translate(-4px, -4px); }
.brand:hover .logo-p2 { transform: translate(-8px, -8px); }
.logo path, .logo g { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
	.js .site-head .logo-p1 { animation: krov .6s var(--ease-pop) both .2s; } .js .site-head .logo-p2 { animation: krov .6s var(--ease-pop) both .32s; }
	@keyframes krov { from { transform: translate(-30px, -30px); opacity: 0; } }
	.js .site-head .logo-s { animation: tagin .6s var(--ease-out) both .4s; }
	@keyframes tagin { from { transform: translateY(8px); opacity: 0; } }
}
.foot-logo { margin: 0 0 18px; }
.foot-logo .logo { color: #fff; height: 84px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a { position: relative; display: block; padding: 10px 12px; text-decoration: none; font: 700 1.15rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; }
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { transform: none; }
.head-act { display: flex; align-items: center; gap: 10px; }
.head-spisak { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; border: var(--b); background: var(--paper); color: var(--ink); text-decoration: none; font: 700 1.15rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; }
.head-spisak .count { min-width: 26px; height: 26px; padding: 0 6px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 400 1rem/1 var(--f-d); }
.head-spisak.has-items .count { background: var(--err); }
.head-spisak.bump { animation: bump .45s var(--ease-pop); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } }
.nav-toggle { display: none; width: 50px; height: 50px; border: var(--b); background: var(--paper); color: var(--ink); cursor: pointer; place-items: center; }

/* ---------- Hero ---------- */
.hero { border-bottom: var(--b); }
.hero-in { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gut) clamp(24px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: end; }
.hero-h { font: 400 var(--t-hero)/.84 var(--f-d); text-transform: uppercase; letter-spacing: -.005em; }
.ln { display: block; overflow: hidden; padding: .14em 0 .02em; margin-top: -.14em; }
.ln > span { display: inline-block; }
.hero-h .ln + .ln { margin-top: 0; }
.hero-side { display: grid; gap: 18px; padding-bottom: .4em; }
.hero-lead { margin: 0; font-size: var(--t-b); max-width: 40ch; }
.hero-lead b { display: block; font: 400 1.9rem/1.1 var(--f-d); text-transform: uppercase; margin-bottom: 6px; }
.hero-search { display: flex; align-items: center; gap: 10px; border: var(--b); padding-left: 14px; background: var(--paper); }
.hero-search:focus-within { box-shadow: 6px 6px 0 var(--ink); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 14px 0; font-weight: 600; background: transparent; }
.hero-search .btn { border-width: 0 0 0 3px; min-height: 56px; }
.hero-search .btn:hover { transform: none; box-shadow: none; background: var(--ink-2); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 260px); border-bottom: var(--b); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; background: var(--tint, var(--soft)); text-decoration: none; color: var(--ink); border-right: var(--b); border-bottom: var(--b); }
.tile-0 { grid-column: span 6; grid-row: span 2; }
.tile-1, .tile-2, .tile-3, .tile-4 { grid-column: span 3; }
.tile-2, .tile-4 { border-right: 0; }
.tile-3, .tile-4 { border-bottom: 0; }
.tile-0 { border-bottom: 0; }
.tile-4 { background: var(--ink); color: var(--paper); }
.tile-n { position: relative; z-index: 2; font: 700 1.2rem/1.15 var(--f-c); text-transform: uppercase; letter-spacing: .04em; max-width: 14ch; }
.tile-p { position: relative; z-index: 2; display: flex; align-items: baseline; gap: 6px; font: 400 clamp(3rem, 6.6vw, 6.4rem)/.82 var(--f-d); transform-origin: left bottom; transition: transform .3s var(--ease-pop); font-variant-numeric: tabular-nums; }
.tile-0 .tile-p { font-size: clamp(4.6rem, 11vw, 11rem); align-self: flex-start; background: var(--yel); color: var(--on-yel); padding: .06em .12em .02em; border: var(--b); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-2deg); }
.tile-0:hover .tile-p { transform: rotate(-5deg) scale(1.04); }
.tile-p small { font: 700 1.05rem/1 var(--f-c); text-transform: uppercase; }
.tile-img { position: absolute; z-index: 1; right: -4%; bottom: -3%; width: 60%; transition: transform .4s var(--ease-pop); mix-blend-mode: multiply; }
.tile-0 .tile-img { width: 72%; right: -3%; bottom: 4%; }
.tile-img img { width: 100%; }
.tile-4 .tile-img { width: 42%; right: 8%; bottom: 12%; background: var(--paper); padding: 6px; mix-blend-mode: normal; }
.tile-go { position: absolute; z-index: 2; right: 16px; top: 16px; display: inline-flex; gap: 6px; align-items: center; font: 700 .95rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; background: var(--ink); color: var(--paper); padding: 7px 10px; transform: translateY(-150%); transition: transform .25s var(--ease-out); }
.tile-4 .tile-go { background: var(--yel); color: var(--on-yel); }
.tile:hover .tile-p, .tile:focus-visible .tile-p { transform: rotate(-3deg) scale(1.05); }
.tile:hover .tile-img, .tile:focus-visible .tile-img { transform: translateY(-10px) rotate(-4deg); }
.tile:hover .tile-go, .tile:focus-visible .tile-go { transform: none; }

/* ---------- Sekcije ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gut); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 32px; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-h { font: 400 var(--t-xl)/1.12 var(--f-d); text-transform: uppercase; }
.sec-sub { margin: 0; max-width: 46ch; color: var(--ink-2); font-weight: 500; }
.sec-more { display: inline-flex; gap: 8px; align-items: center; font: 700 1.15rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; border-bottom: 3px solid var(--ink); padding-bottom: 3px; }
.sub-h { font: 400 var(--t-l)/1 var(--f-d); text-transform: uppercase; margin-bottom: 18px; }

/* ---------- Rafovi (kategorije) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; border-top: var(--b); border-left: var(--b); }
.cat { background: var(--tint, var(--soft)); border-right: var(--b); border-bottom: var(--b); }
.cat-a { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 16px 18px; text-decoration: none; overflow: hidden; }
.cat-c { position: relative; z-index: 2; align-self: flex-start; font: 400 1.4rem/1 var(--f-d); background: var(--ink); color: var(--paper); padding: 6px 9px 5px; }
.cat-n { position: relative; z-index: 2; font: 400 clamp(1.7rem, 2.4vw, 2.3rem)/1.1 var(--f-d); text-transform: uppercase; max-width: 9ch; }
.cat-img { position: absolute; z-index: 1; right: -8%; bottom: -6%; width: 58%; transition: transform .4s var(--ease-pop); mix-blend-mode: multiply; }
.cat-img img { width: 100%; }
.cat-wide { grid-column: span 2; }
.cat-wide .cat-img { width: 42%; right: 2%; }
.cat-a:hover .cat-img, .cat-a:focus-visible .cat-img { transform: translate(-8px, -14px) rotate(-6deg) scale(1.06); }
.cat-a::after { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--ink); transform: translateY(101%); transition: transform .3s var(--ease-out); }
.cat-a:hover::after { transform: translateY(calc(100% - 8px)); }

/* ---------- Cenovnik ---------- */
.pricelist { border: var(--b); background: var(--paper); }
.pl-search { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: var(--b); background: var(--yel-l); }
.pl-search .ico { width: 26px; height: 26px; }
.pl-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 18px 0; font: 400 clamp(1.4rem, 2.4vw, 2rem)/1 var(--f-d); text-transform: uppercase; outline: none; }
.pl-search input::placeholder { color: rgba(23, 24, 26, .45); }
.pl-n { font: 700 1rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.price-page .pl thead th { position: sticky; top: 108px; }
.pl th, .pl td { text-align: left; padding: 12px 18px; border-bottom: 1px solid #d8d6d0; vertical-align: middle; }
.pl thead th { background: var(--ink); color: var(--paper); font: 700 .95rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .06em; z-index: 1; border-bottom: 0; }
.pl td:first-child a { font-weight: 700; text-decoration: none; }
.pl td:first-child a:hover { text-decoration: underline; text-decoration-color: var(--yel-2); text-decoration-thickness: 4px; }
.pl-b { display: inline-block; margin-left: 8px; font: 600 .9rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pl-d { color: var(--muted); font-size: var(--t-s); }
.pl-c { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pl-c b { font: 400 1.7rem/1 var(--f-d); }
.pl-c small { font: 600 .9rem/1 var(--f-c); text-transform: uppercase; margin-left: 4px; color: var(--ink-2); }
.pl-add { width: 1%; text-align: right !important; }
.pl tbody tr { transition: background-color .15s; }
.pl tbody tr:hover { background: var(--yel-l); }
.pl tr[data-over] { display: none; }
.pricelist.is-open tr[data-over], .pricelist.is-filtering tr[data-over] { display: table-row; }
.pl tr.is-hidden { display: none !important; }
.pl-empty, .filter-empty { padding: 24px 18px; margin: 0; font-weight: 600; }
.pl-all { margin: 16px 18px 18px; }
.pricelist.is-open .pl-all, .pricelist.is-filtering .pl-all { display: none; }

.btn-spisak { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; background: transparent; font: 700 1.05rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; transition: transform .15s var(--ease-pop), background-color .15s; }
.btn-spisak .ico { width: 18px; height: 18px; transition: transform .25s var(--ease-pop); }
.btn-spisak:hover .ico { transform: rotate(90deg); }
.btn-spisak.mini { min-height: 40px; padding: 0 12px; border: 2px solid var(--ink); white-space: nowrap; }
.btn-spisak.mini:hover { background: var(--yel); color: var(--on-yel); }
.btn-spisak.is-added { background: var(--ink); color: var(--paper); }
.btn-spisak.is-added .ico { transform: rotate(45deg); }
.btn-spisak.flash { animation: flash .5s var(--ease-pop); }
@keyframes flash { 40% { transform: scale(1.12); background: var(--yel); color: var(--on-yel); } }

/* ---------- Koraci ---------- */
.steps { border-top: var(--b); max-width: none; }
.steps > * { max-width: calc(var(--max) - 2 * var(--gut)); margin-inline: auto; }
.step-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--b); counter-reset: s; }
.step-list li { counter-increment: s; padding: 22px 22px 26px; border-right: var(--b); position: relative; overflow: hidden; }
.step-list li:last-child { border-right: 0; }
.step-list li::before { content: counter(s); display: block; font: 400 clamp(5rem, 9vw, 8rem)/.8 var(--f-d); color: var(--yel); -webkit-text-stroke: 3px var(--ink); margin-bottom: 14px; transition: transform .3s var(--ease-pop); transform-origin: left bottom; }
.step-list li:hover::before { transform: rotate(-6deg) scale(1.06); }
.step-list h3 { font: 400 1.9rem/1.08 var(--f-d); text-transform: uppercase; margin-bottom: 10px; }
.step-list p { margin: 0; color: var(--ink-2); max-width: 38ch; }

/* ---------- Citat ---------- */
.quote-sec { background: var(--yel); color: var(--on-yel); border-block: var(--b); }
.quote-sec a { color: inherit; }
.quote { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gut); }
.oc-list { display: grid; }
.oc { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), visibility 0s .45s; }
.oc.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.oc blockquote { margin: 0; }
.oc p { font: 400 clamp(2rem, 4.4vw, 4rem)/1.12 var(--f-d); text-transform: uppercase; margin: 0; max-width: 26ch; text-wrap: balance; }
.oc p::before { content: "\201E"; }
.oc p::after { content: "\201C"; }
.oc figcaption { margin-top: 18px; font: 700 1.1rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; }
.oc figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.oc-more { display: inline-block; padding: 6px 10px 5px; border: 2px solid currentColor; text-decoration: none; transition: background-color .15s, color .15s; }
.oc-more:hover { background: #fff; color: var(--yel); }
.oc-stars { font-size: 1.6rem; letter-spacing: .12em; margin-bottom: 14px; color: #ffd84d; }
.oc-stars span { color: rgba(255,255,255,.35); }
.oc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 30px; padding-top: 18px; border-top: 2px solid rgba(255,255,255,.35); }
.oc-nav { display: flex; align-items: stretch; background: var(--paper); color: var(--ink); border: var(--b); box-shadow: 6px 6px 0 var(--ink); }
.oc-nav button { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .15s, color .15s; }
.oc-nav button:hover { background: var(--ink); color: var(--paper); }
.oc-nav span { display: grid; place-items: center; padding: 0 14px; border-inline: var(--b); font: 400 1.4rem/1 var(--f-d); letter-spacing: .04em; min-width: 92px; }
.oc-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.oc-links a { font: 700 1.05rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Galerija radnje (naslovna): široke slike, smenjuju se ---------- */
.hs { position: relative; height: clamp(260px, 44vw, 640px); background: var(--ink); border-bottom: var(--b); overflow: hidden; }
.hs-slides { position: absolute; inset: 0; }
.hs-s { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.hs-s.is-on { opacity: 1; z-index: 1; }
.hs-s img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 7s linear; }
.hs-s.is-on img { transform: scale(1); }
.hs-ui { position: absolute; right: var(--gut); bottom: clamp(18px, 3vw, 34px); z-index: 3; display: flex; align-items: stretch; background: var(--paper); border: var(--b); box-shadow: 6px 6px 0 var(--yel); }
.hs-ui button { display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background-color .15s, color .15s; }
.hs-ui button:hover { background: var(--yel); color: var(--on-yel); }
.hs-n { display: grid; place-items: center; padding: 0 14px; border-inline: var(--b); font: 400 1.4rem/1 var(--f-d); letter-spacing: .04em; min-width: 92px; }
.hs-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 3; background: rgba(0,0,0,.35); }
.hs-bar i { display: block; height: 100%; width: 0; background: var(--yel-hi); }
@media (prefers-reduced-motion: reduce) { .hs-s, .hs-s img { transition: none; transform: none; } }
@media (max-width: 640px) {
	.hs-ui button { width: 46px; height: 46px; }
	.hs-n { min-width: 74px; font-size: 1.15rem; }
	.hs-ui { box-shadow: 4px 4px 0 var(--yel); }
}

/* ---------- Kontakt ---------- */
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: var(--b); }
.contact-copy { padding: clamp(22px, 3vw, 40px); border-right: var(--b); min-width: 0; }
.contact-copy .sec-h { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.contact-list { display: grid; gap: 18px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico { width: 28px; height: 28px; margin-top: 2px; }
.contact-list b { font: 400 clamp(1.3rem, 2.4vw, 1.7rem)/1 var(--f-d); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover b { text-decoration: underline; text-decoration-color: var(--yel-2); text-decoration-thickness: 4px; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; min-height: 420px; background: var(--soft); }
.map { overflow: hidden; isolation: isolate; }
.map iframe, .map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.map iframe { filter: grayscale(1) contrast(1.08); }
.map-canvas { background: #e6e6e3; font: inherit; }
.map-canvas .leaflet-tile-pane { filter: grayscale(1) contrast(1.08); }
.map-canvas .leaflet-control-zoom a { border-radius: 0 !important; color: var(--ink); font-weight: 700; }
.map-canvas .leaflet-bar { border: 2px solid var(--ink) !important; border-radius: 0 !important; box-shadow: none !important; }
.map-canvas .leaflet-control-attribution { font-size: 10px; }
.map-marker { width: 0 !important; height: 0 !important; border: 0; background: none; }
.map-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% + 7px)); display: grid; justify-items: center; pointer-events: none; }
.map-pin b { background: var(--ink); color: var(--yel-hi); font: 400 1.25rem/1 var(--f-d); padding: 8px 10px 7px; white-space: nowrap; box-shadow: 4px 4px 0 rgba(23,24,26,.25); }
.map-pin i { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 14px solid var(--ink); }
.map-pin span { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px var(--yel), 0 0 0 6px var(--ink); margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) { .map-pin { animation: pinbob 2.4s ease-in-out infinite; } @keyframes pinbob { 50% { transform: translate(-50%, calc(-100% + 1px)); } } }
.map-links { position: absolute; left: 14px; top: 14px; z-index: 500; display: flex; flex-wrap: wrap; gap: 8px; }
.map-link { background: var(--paper); padding: 8px 12px; border: var(--b); font: 700 1rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }

/* ---------- Zaglavlje stranice / katalog ---------- */
.page-head { background: var(--tint, var(--yel-l)); border-bottom: var(--b); }
.page-head-in { max-width: var(--max); margin: 0 auto; padding: clamp(22px, 4vw, 52px) var(--gut) clamp(20px, 3vw, 36px); display: grid; gap: 10px; }
.page-h { font: 400 clamp(3.2rem, 9vw, 8.6rem)/1.06 var(--f-d); text-transform: uppercase; }
.page-lead { margin: 6px 0 0; max-width: 60ch; font-weight: 500; }
.page-meta { margin: 0; justify-self: start; background: var(--ink); color: var(--paper); font: 400 1.2rem/1 var(--f-d); padding: 7px 10px 6px; }
.page-head .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; font: 700 .95rem/1.4 var(--f-c); text-transform: uppercase; letter-spacing: .05em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs a + a::before { content: "/"; margin-right: 8px; opacity: .5; }

.cat-bar { position: relative; z-index: 30; background: var(--paper); border-bottom: var(--b); }
.cat-bar-in { max-width: var(--max); margin: 0 auto; padding: 12px var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 12px 8px; border: 2px solid var(--ink); text-decoration: none; font: 700 1rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; transition: background-color .15s, transform .15s var(--ease-pop); }
.chip:hover { background: var(--yel); color: var(--on-yel); transform: translateY(-2px); }
.chip.is-on { background: var(--ink); color: var(--paper); }
.chips-sub { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut) 12px; }
.chips-sub .chip { font-size: .9rem; padding: 7px 10px 6px; }
.chips-sub .chip.is-on { background: var(--yel); color: var(--on-yel); }
.filter { display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); padding: 0 10px; min-width: 220px; }
.filter input { border: 0; background: transparent; outline: none; padding: 9px 0; width: 100%; font-weight: 600; }
.filter:focus-within { box-shadow: 4px 4px 0 var(--ink); }

.catalog { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gut) clamp(48px, 6vw, 88px); }
.group + .group { margin-top: clamp(40px, 5vw, 72px); }
.group-h { display: flex; align-items: baseline; gap: 14px; font: 400 clamp(2.2rem, 4vw, 3.4rem)/1.1 var(--f-d); text-transform: uppercase; margin-bottom: 16px; }
.group-h a { text-decoration: none; }
.group-h span { font: 400 1.3rem/1 var(--f-d); background: var(--ink); color: var(--paper); padding: 5px 8px 4px; }
.card.is-hidden, .group.is-hidden { display: none; }
.empty-state { padding: 40px; border: 3px dashed var(--ink); max-width: 760px; }
.empty-state h2 { font: 400 2.2rem/1 var(--f-d); text-transform: uppercase; margin-bottom: 12px; }

/* ---------- Kartice proizvoda ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--b); border-left: var(--b); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-right: var(--b); border-bottom: var(--b); }
.card-a { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.card-img { display: block; aspect-ratio: 1 / 1; background: var(--photo); border-bottom: var(--b); overflow: hidden; padding: 8%; }
.card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease-pop); }
.card-img .ph { display: block; width: 100%; height: 100%; }
.card-img:has(.photo-full) { padding: 0; }
.card-img img.photo-full { object-fit: cover; mix-blend-mode: normal; }
.ph-none { background: transparent; }
.card-a:hover .card-img img, .card-a:focus-visible .card-img img { transform: translateY(-8px) rotate(-3deg) scale(1.05); }
.card-body { display: grid; gap: 4px; padding: 14px 16px 10px; align-content: start; flex: 1; }
.card-brand { font: 700 .9rem/1.1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.card-t { font-weight: 700; font-size: var(--t-b); line-height: 1.2; }
.card-p { display: flex; align-items: baseline; gap: 5px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.card-p b { font: 400 2.4rem/.9 var(--f-d); transition: transform .3s var(--ease-pop); transform-origin: left bottom; display: inline-block; }
.card-a:hover .card-p b { transform: rotate(-3deg) scale(1.06); }
.card-p small { font: 700 .95rem/1 var(--f-c); text-transform: uppercase; color: var(--ink-2); }
.card-p .od { order: -1; }
.card-p .upit { font: 700 1.1rem/1 var(--f-c); color: var(--ink); background: var(--soft); padding: 6px 8px; }
.card-v { font: 600 .9rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--yel); color: var(--on-yel); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 4px 8px 3px; font: 700 .85rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; transform: rotate(-3deg); pointer-events: none; }
.card-add { margin: 0 16px 16px; min-height: 46px; border: 2px solid var(--ink); }
.card-add:hover { background: var(--yel); color: var(--on-yel); }

/* ---------- Proizvod ---------- */
.prod-in { max-width: var(--max); margin: 0 auto; padding: clamp(18px, 3vw, 32px) var(--gut) clamp(40px, 5vw, 72px); }
.prod .crumbs { margin-bottom: 18px; }
.prod-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); border: var(--b); }
.gallery { position: relative; background: var(--photo); border-right: var(--b); box-shadow: inset 0 8px 0 var(--tint, var(--soft)); }
.gallery-main { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: clamp(20px, 5vw, 64px); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: enter .7s var(--ease-pop) both; }
@keyframes enter { from { transform: translateY(30px) rotate(4deg); opacity: 0; } }
.gallery-main .ph { width: 100%; height: 100%; }
.gallery-main.is-photo { padding: 0; }
.gallery-main.is-photo img { object-fit: cover; mix-blend-mode: normal; }
.gallery-thumbs { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.gallery-thumbs button { width: 74px; height: 74px; padding: 4px; background: var(--paper); border: 2px solid var(--ink); cursor: pointer; opacity: .6; }
.gallery-thumbs button.is-on { opacity: 1; box-shadow: 3px 3px 0 var(--ink); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.img-src { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: var(--t-xs); color: var(--ink-2); }
.prod-info { padding: clamp(20px, 3vw, 40px); display: grid; align-content: start; gap: 4px; }
.prod-brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.prod-brand { display: inline-block; padding: 6px 9px 5px; background: var(--ink); color: var(--paper); text-decoration: none; font: 700 1rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; }
.prod-brand:hover { background: var(--yel); color: var(--on-yel); }
.prod-h { font: 400 clamp(2.6rem, 5vw, 4.6rem)/1.1 var(--f-d); text-transform: uppercase; margin-bottom: 12px; text-wrap: balance; }
.edit-link { justify-self: start; margin: -4px 0 10px; font: 700 .95rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .05em; background: var(--yel); color: var(--on-yel); border: 2px solid var(--ink); padding: 6px 9px; text-decoration: none; }
.prod-lead { font-size: var(--t-m); line-height: 1.4; color: var(--ink-2); max-width: 44ch; }
.vars { margin: 18px 0 20px; border: var(--b); }
.vt th, .vt td { padding: 12px 14px; border-bottom: 1px solid #d8d6d0; text-align: left; vertical-align: middle; }
.vt tr:last-child th, .vt tr:last-child td { border-bottom: 0; }
.vt thead th { background: var(--ink); color: var(--paper); font: 700 .95rem/1 var(--f-c); text-transform: uppercase; letter-spacing: .06em; }
.vt tbody th { font-weight: 400; }
.vt tbody th b { display: block; font-weight: 700; }
.vt tbody th span { font-size: var(--t-s); color: var(--muted); }
.vt-c { white-space: nowrap; font-variant-numeric: tabular-nums; }
.vt-c b { font: 400 2rem/1 var(--f-d); }
.vt-c small { font: 700 .9rem/1 var(--f-c); text-transform: uppercase; margin-left: 4px; color: var(--ink-2); }
.vt-a { width: 1%; text-align: right !important; }
.vt tbody tr:hover { background: var(--yel-l); }
.prod-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.prod-note { display: flex; gap: 10px; align-items: center; margin: 16px 0 0; font: 700 1.05rem/1.2 var(--f-c); text-transform: uppercase; letter-spacing: .04em; }
.prod-note .ico { width: 28px; height: 28px; }
.prod-more { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.spec dl { margin: 0; border-top: var(--b); }
.spec dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid #d8d6d0; }
.spec dt { color: var(--muted); font-size: var(--t-s); }
.spec dd { margin: 0; font-weight: 700; }
.prose { max-width: 68ch; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: square; padding-left: 1.2em; margin-bottom: 1em; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; font-family: var(--f-d); text-transform: uppercase; }
.prose-page { border: var(--b); padding: clamp(20px, 4vw, 48px); }
.related { border-top: var(--b); }

/* ---------- Spisak (stranica + fioka) ---------- */
.order-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.order-form { position: sticky; top: 110px; background: var(--paper); border: var(--b); padding: clamp(20px, 3vw, 32px); box-shadow: 8px 8px 0 var(--yel); }
.order-hint { margin-top: 16px; color: var(--muted); }
.f { margin: 0 0 16px; }
.f label, .f legend { display: block; font: 700 1rem/1.2 var(--f-c); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.f small { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.f input, .f textarea { width: 100%; padding: 13px 14px; border: var(--b); background: var(--paper); font-size: var(--t-b); }
.f input:focus, .f textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--ink); }
.f input[aria-invalid="true"] { border-color: var(--err); }
.seg { border: 0; padding: 0; }
.seg label { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; font: 600 1rem/1.4 var(--f-b); text-transform: none; letter-spacing: 0; cursor: pointer; }
.seg input { width: 20px; height: 20px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 14px 0 0; font-weight: 700; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.form-alt { margin: 10px 0 0; font-size: var(--t-s); color: var(--muted); }
.sp-items { display: grid; border: var(--b); background: var(--paper); }
.sp-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #d8d6d0; }
.sp-item.is-new { animation: enter .35s var(--ease-out) both; }
.sp-item:last-child { border-bottom: 0; }
.sp-item a { font-weight: 700; text-decoration: none; line-height: 1.25; }
.sp-item a:hover { text-decoration: underline; }
.sp-item small { display: block; color: var(--muted); font-size: var(--t-s); }
.sp-p { display: block; font-style: normal; font: 700 .95rem/1.3 var(--f-c); text-transform: uppercase; letter-spacing: .03em; margin-top: 2px; }
.sp-p b { color: var(--ink); }
.sp-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px; border: var(--b); border-top: 0; background: var(--yel-l); }
.sp-total span { font: 700 1.05rem/1.2 var(--f-c); text-transform: uppercase; letter-spacing: .04em; }
.sp-total small { display: block; text-transform: none; letter-spacing: 0; font: 500 .85rem/1.3 var(--f-b); }
.sp-total b { font: 400 2rem/1 var(--f-d); white-space: nowrap; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.order-head .sub-h { margin: 0; }
.drawer-foot { display: grid; gap: 8px; }
.print-sheet { display: none; }
@media print {
	@page { margin: 14mm; }
	body > *:not(main), .site-main > *:not(.print-sheet), .toast, .drawer { display: none !important; }
	.site-main { display: block; }
	.print-sheet { display: block !important; color: #000; font: 11pt/1.4 var(--f-b); }
	.ps-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 2pt solid #000; padding-bottom: 10pt; }
	.ps-head .logo { height: 46pt; width: auto; color: #000; --logo-inv: #fff; }
	.ps-firm { text-align: right; font-size: 9.5pt; }
	.ps-h { font: 400 22pt/1.1 var(--f-d); text-transform: uppercase; margin: 14pt 0 2pt; }
	.ps-date { margin: 0 0 10pt; font-size: 9.5pt; }
	.ps-t { width: 100%; border-collapse: collapse; }
	.ps-t th { text-align: left; border-bottom: 1.5pt solid #000; padding: 5pt 6pt; font: 700 9pt/1.2 var(--f-c); text-transform: uppercase; }
	.ps-t td { border-bottom: .5pt solid #999; padding: 5pt 6pt; vertical-align: top; }
	.ps-t .r { text-align: right; white-space: nowrap; }
	.ps-t tfoot td { border-top: 1.5pt solid #000; border-bottom: 0; font-weight: 700; }
	.ps-t small { color: #444; }
	.ps-note { margin-top: 12pt; font-size: 9pt; color: #333; }
}
.qty { display: flex; align-items: center; border: 2px solid var(--ink); }
.qty button { width: 36px; height: 38px; border: 0; background: var(--paper); cursor: pointer; font: 400 1.3rem/1 var(--f-d); }
.qty button:hover { background: var(--yel); color: var(--on-yel); }
.qty input { width: 54px; height: 38px; border: 0; border-inline: 2px solid var(--ink); text-align: center; font: 400 1.3rem/1 var(--f-d); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sp-rm { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.sp-rm:hover { color: var(--err); }
.sp-empty { padding: 28px 20px; border: 3px dashed var(--ink); }
.sp-empty p { margin: 0 0 14px; font: 400 1.8rem/1 var(--f-d); text-transform: uppercase; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg { position: absolute; inset: 0; background: rgba(23, 24, 26, .6); }
.drawer-in { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--paper); border-left: var(--b); display: flex; flex-direction: column; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--yel); color: var(--on-yel); border-bottom: var(--b); }
.drawer-head h2 { font: 400 2rem/1 var(--f-d); text-transform: uppercase; }
.drawer-body { flex: 1; overflow: auto; padding: 18px; }
.drawer-foot { padding: 14px 18px; border-top: var(--b); }
@media (prefers-reduced-motion: no-preference) {
	.drawer:not([hidden]) .drawer-in { animation: slidein .3s var(--ease-out); }
	@keyframes slidein { from { transform: translateX(100%); } }
}
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--ink); color: var(--paper); padding: 14px 18px; font-weight: 700; box-shadow: 6px 6px 0 var(--yel); display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); animation: toastin .35s var(--ease-pop); }
@keyframes toastin { from { transform: translate(-50%, 30px); opacity: 0; } }
.toast a { color: var(--yel-hi); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #d6d8da; overflow: hidden; }
.foot-in { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 20px; display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 36px; }
.foot-brand p { max-width: 36ch; }
.foot-h { font: 400 1.6rem/1 var(--f-d); text-transform: uppercase; color: var(--yel-hi); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 8px; }
.foot-cats ul { grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { color: var(--yel-hi); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ico { margin-top: 3px; }
.foot-legal { margin-top: 18px; font-size: var(--t-s); color: #9da1a5; }
.foot-word { margin: .12em 0 0; pointer-events: none; font: 400 clamp(6rem, 25vw, 24rem)/.75 var(--f-d); text-transform: uppercase; color: var(--yel); text-align: center; letter-spacing: -.01em; transform: translateY(.12em); user-select: none; }
.foot-base { border-top: 1px solid var(--ink-2); position: relative; background: var(--ink); }
.foot-base p { max-width: var(--max); margin: 0 auto; padding: 16px var(--gut); font-size: var(--t-xs); color: #9da1a5; }

.list { display: grid; border: var(--b); }
.list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid #d8d6d0; }

/* ---------- Ulazne animacije (polaze iz vidljivog stanja; samo uz .js) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .hero-h .ln > span, .js .page-h { animation: lineup .9s var(--ease-out) both; }
	.js .hero-h .ln:nth-child(2) > span { animation-delay: .1s; }
	@keyframes lineup { from { transform: translateY(100%); } }
	.js .tile-img { animation: slidein-r .9s var(--ease-out) both; }
	.js .tile-1 .tile-img { animation-delay: .1s; } .js .tile-2 .tile-img { animation-delay: .18s; }
	.js .tile-3 .tile-img { animation-delay: .26s; } .js .tile-4 .tile-img { animation-delay: .34s; }
	@keyframes slidein-r { from { transform: translateX(45%) rotate(10deg); } }
	.js .reveal { transition: transform .7s var(--ease-out); }
	.js .reveal.pre { transform: translateY(26px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1150px) {
	.head-tel span { display: none; }
	.head-tel { padding: 0 14px; }
	.nav-list a { padding: 10px 8px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cat-wide { grid-column: auto; }
	.cat-wide .cat-img { width: 58%; right: -8%; }
	.hero-in { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.nav-toggle { display: grid; }
	.nav { position: fixed; left: 0; right: 0; top: var(--headb, 108px); background: var(--yel); color: var(--on-yel); border-bottom: var(--b); display: none; }
	.nav.is-open { display: block; }
	.nav-list { flex-direction: column; padding: 8px var(--gut) 16px; }
	.nav-list a { padding: 14px 0; border-bottom: 2px solid var(--ink); font-size: 1.5rem; }
	.nav-list a::after { display: none; }
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; }
	.tile-0 { grid-column: span 2; grid-row: span 2; border-right: 0; border-bottom: var(--b); }
	.tile-1, .tile-2, .tile-3, .tile-4 { grid-column: span 1; }
	.tile-1, .tile-3 { border-right: var(--b); }
	.tile-2, .tile-4 { border-right: 0; }
	.step-list { grid-template-columns: 1fr; }
	.step-list li { border-right: 0; border-bottom: var(--b); }
	.step-list li:last-child { border-bottom: 0; }
	.contact-in, .prod-grid, .prod-more, .order-grid { grid-template-columns: minmax(0, 1fr); }
	.contact-copy, .gallery { border-right: 0; border-bottom: var(--b); }
	.order-form { position: static; }
	.cat-bar { position: sticky; top: var(--headb, 64px); }
	.cat-bar-in { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 10px; }
	.chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.filter { min-width: 0; }
	.foot-in { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.head-in { gap: 8px; min-height: 62px; }
	.site-head .logo { height: 52px; }
	.head-spisak-t { display: none; }
	.head-spisak { padding: 0 10px; min-height: 46px; }
	.head-tel, .nav-toggle { min-height: 46px; height: 46px; }
	.nav-toggle { width: 46px; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cat-wide { grid-column: span 2; }
	.cat-a { min-height: 170px; padding: 12px; }
	.card-body { padding: 10px 12px 8px; }
	.card-t { font-size: var(--t-s); }
	.card-p b { font-size: 1.9rem; }
	.card-add { margin: 0 10px 10px; }
	.bento { grid-auto-rows: 160px; }
	.tile { padding: 12px 14px; }
	.tile-n { font-size: 1rem; }
	.pl th, .pl td { padding: 10px 12px; }
	.pl-d { display: none; }
	.pl-b { display: block; margin: 2px 0 0; }
	.pl-c b { font-size: 1.4rem; }
	.btn-spisak.mini span { display: none; }
	.btn-spisak.mini { width: 40px; padding: 0; }
	.vt th, .vt td { padding: 10px; }
	.vt-c b { font-size: 1.5rem; }
	.foot-in { grid-template-columns: 1fr; }
	.foot-cats ul { grid-template-columns: 1fr 1fr; }
	.sp-item { grid-template-columns: minmax(0, 1fr) auto; }
	.sp-item .sp-rm { grid-column: 2; grid-row: 1; }
	.sp-item .qty { grid-column: 1 / -1; justify-self: start; }
	.price-page .pl thead th { top: 98px; }
	.map { min-height: 300px; }
	.marquee-prices { font-size: .9rem; }
}

/* Kad je admin ulogovan, WP traka je fiksna na vrhu. */
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-head { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-head { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Probna paleta boja (vidi je samo prijavljen administrator/urednik) */
@media print { 