/* ==========================================================================
   Liberama — glavni stilovi
   Boje iz logotipa: plava (osnova) i crvena (pozivi na akciju).
   ========================================================================== */

:root {
	--navy: #0E2A5C;
	--navy-deep: #0A1F45;
	--blue: #1C4FA8;
	--blue-dark: #173F8A;
	--blue-soft: #DDE6F5;
	--red: #D3232A;
	--red-dark: #B01B21;
	--red-soft: #FBE3E4;
	--light: #F3F6FB;
	--line: #E3E9EF;
	--input: #C3CFE3;
	--text: #0E2A5C;
	--body: #3C4A63;
	--muted: #56657D;
	--white: #ffffff;
	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius-s: 8px;
	--radius-m: 12px;
	--radius-l: 16px;
	--container: 1240px;
	--gutter: 24px;
	--section: 80px;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container--narrow { max-width: 900px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--navy); color: var(--white); border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; color: var(--white); }
.hp { position: absolute; left: -9999px; }

/* ---------- Tipografija ---------- */
.h1 { font-weight: 800; font-size: clamp(32px, 4.2vw, 48px); line-height: 1.08; }
.h2 { font-weight: 800; font-size: clamp(26px, 3vw, 38px); }
.h2--light { color: var(--white); }
.h3 { font-weight: 700; font-size: 22px; margin: 8px 0 12px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); max-width: 62ch; }
.lead--light { color: #C9D6EC; }
.eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--blue); }
.link-strong { font-weight: 600; text-decoration: none; color: var(--blue); }
.link-strong:hover { text-decoration: underline; }
.page-title { margin-bottom: 32px; }
.page-lead { margin-bottom: 32px; }

/* ---------- Dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-s); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; background: transparent; transition: background-color .15s, color .15s, border-color .15s; text-align: center; }
.btn--lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--grow { flex: 1 1 220px; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-soft { border: 1px solid var(--input); color: var(--navy); background: var(--white); }
.btn--ghost { border-color: var(--navy); color: var(--navy); }
.btn--ghost-light { border-color: var(--white); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); }
.btn.is-added { background: var(--blue-soft); border-color: var(--blue); color: var(--navy); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--equal > .btn { flex: 1 1 200px; }

.pill { align-self: flex-start; display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 13px; font-weight: 600; text-decoration: none; }
.pill--red { background: var(--red-soft); color: #A3161C; }

/* ---------- Gornja traka i zaglavlje ---------- */
.topbar { background: var(--navy-deep); color: #D4DEF0; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar__info, .topbar__actions { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.topbar__phone { color: var(--white); font-weight: 600; text-decoration: none; }
.topbar__phone:hover { color: var(--white); text-decoration: underline; }
.lang-switch { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; text-transform: uppercase; }
.lang-switch a { color: #D4DEF0; text-decoration: none; }
.lang-switch .current-lang a { color: var(--white); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 4px solid var(--red); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.site-logo { display: flex; flex: none; }
.site-logo__img { height: 60px; width: auto; }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.main-nav .menu > li { position: relative; }
.main-nav a { display: inline-block; padding: 8px 0; color: var(--text); font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--blue); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-menu-parent > a { border-bottom-color: var(--red); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: -8px; top: 100%; min-width: 230px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); box-shadow: 0 12px 28px rgba(14, 42, 92, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; border: 0; border-radius: var(--radius-s); }
.main-nav .sub-menu a:hover { background: var(--light); }

.btn--upit { flex: none; }
.upit-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--white); color: var(--red); font-size: 13px; font-weight: 700; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--input); border-radius: var(--radius-s); background: var(--white); color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.site-logo__img { height: 48px; }
	.nav-toggle { display: inline-flex; order: 3; }
	.btn--upit { order: 2; margin-left: auto; padding: 0 14px; }
	.btn--upit__label { display: none; }
	.main-nav { order: 4; flex-basis: 100%; display: none; }
	.nav-open .main-nav { display: block; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.main-nav .menu { flex-direction: column; gap: 0; padding: 8px 0 4px; border-top: 1px solid var(--line); }
	.main-nav .menu > li > a { display: block; padding: 12px 0; font-size: 17px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; min-width: 0; }
}

/* ---------- Putanja ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }

/* ---------- Sekcije ---------- */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section--tight-top { padding-top: 32px; }
.section--compact { padding-top: 44px; padding-bottom: 44px; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section__intro { max-width: 440px; margin: 0; color: var(--body); }
.section__title { margin-bottom: 28px; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid--cats { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid--catalog { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.grid--facts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.grid--lines { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--checks { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.grid--docs { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }

/* ---------- Naslovni blok ---------- */
.hero { background: var(--light); }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero__title { font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; letter-spacing: -0.01em; }
.hero__lead { font-size: 18px; color: var(--body); max-width: 540px; margin: 0; }
.hero__media { position: relative; min-height: 420px; border-radius: var(--radius-l); overflow: hidden; background: #C9D6EC; }
.hero__media--soft { background: var(--light); display: flex; align-items: center; justify-content: center; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img--contain { object-fit: contain; padding: 32px; }
.hero__card { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--white); border-radius: var(--radius-m); box-shadow: 0 8px 24px rgba(14, 42, 92, .16); max-width: calc(100% - 48px); }
.hero__card-small { font-size: 13px; color: var(--muted); }
.hero__card-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.page-hero, .partner-hero { padding-top: 32px; padding-bottom: 64px; }
.page-hero .hero__media { min-height: 380px; }

/* ---------- Slajder (naslovna) ---------- */
/* Svi slajdovi su u istoj ćeliji mreže, pa je slajder visok koliko najviši slajd — tekst nikad ne izlazi iz okvira. */
.slider { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.slider__track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.slide--plain { background: radial-gradient(circle at 78% 45%, var(--blue) 0, var(--navy) 45%, var(--navy-deep) 100%); }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 69, .92) 0%, rgba(10, 31, 69, .8) 40%, rgba(10, 31, 69, .2) 72%, rgba(10, 31, 69, 0) 100%); }
.slide__inner { position: relative; min-height: clamp(480px, 62vh, 620px); display: flex; align-items: center; padding-top: 56px; padding-bottom: 120px; }
.slide__content { max-width: 600px; display: flex; flex-direction: column; gap: 18px; }
.slide__title { color: var(--white); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.01em; }
.slide__text { color: #DCE5F3; font-size: 18px; line-height: 1.6; margin: 0; max-width: 54ch; }
.slide__logo { align-self: flex-start; padding: 10px 14px; border-radius: 10px; background: var(--white); line-height: 0; }
.slide__logo-img { height: 36px; width: auto; }
.slide .pill { align-self: flex-start; }
.pill--solid-red { background: var(--red); color: var(--white); }
.slider__controls { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 2; }
.slider__controls-inner { display: flex; align-items: center; gap: 12px; }
.slider__arrow { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(10, 31, 69, .45); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slider__arrow:hover { background: var(--white); color: var(--navy); }
.slider__dots { display: flex; gap: 8px; margin-left: 8px; }
.slider__dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background-color .3s; }
.slider__dot.is-active { width: 32px; background: var(--white); }
.slider__pause { margin-left: auto; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 31, 69, .45); color: var(--white); font-size: 13px; cursor: pointer; }

/* Slajdovi partnera: fotografija u desnom dijelu, da proizvod ne bude ispod teksta */
.slide--brand { background: var(--navy-deep); }
.slide--brand .slide__img { left: 40%; width: 60%; object-position: center; }
.slide--brand .slide__content { max-width: min(600px, 38vw); }
.slide--brand .slide__shade { background: linear-gradient(90deg, var(--navy-deep) 0%, var(--navy-deep) 40%, rgba(10, 31, 69, .55) 47%, rgba(10, 31, 69, 0) 62%); }

/* Tablet */
@media (max-width: 1080px) {
	.slide__shade { background: linear-gradient(90deg, rgba(10, 31, 69, .94) 0%, rgba(10, 31, 69, .85) 55%, rgba(10, 31, 69, .35) 100%); }
	.slide__inner { min-height: 520px; }
}

/* Telefon i manji tablet: fotografija gore, tekst ispod na tamnoj podlozi */
@media (max-width: 860px) {
	.slide { display: flex; flex-direction: column; background: var(--navy-deep); }
	.slide--plain { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); }
	.slide__img, .slide--brand .slide__img { position: static; flex: none; width: 100%; height: clamp(220px, 45vw, 360px); object-position: center 35%; }
	.slide--brand .slide__content { max-width: 600px; }
	.slide__shade { display: none; }
	.slide__inner { min-height: 0; flex: 1; align-items: flex-start; padding-top: 24px; padding-bottom: 92px; }
	.slide__content { gap: 14px; }
	.slide__title { font-size: 30px; }
	.slide__text { font-size: 16px; }
	.slide__logo-img { height: 30px; }
	.slider__controls { bottom: 20px; }
	.slider__controls-inner { gap: 8px; }
	.slider__dots { margin-left: 4px; }
}
@media (max-width: 520px) {
	.slide .btn-row .btn { flex: 1 1 100%; }
}

.quick-search { background: var(--light); border-bottom: 1px solid var(--line); }
.quick-search__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 20px; padding-bottom: 20px; }
.quick-search__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.quick-search .catalog-search { flex: 1 1 420px; max-width: 620px; }
.quick-search__links { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; }

/* ---------- Pretraga ---------- */
.catalog-search { display: flex; gap: 8px; width: 100%; max-width: 540px; }
.catalog-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border: 1px solid var(--input); border-radius: var(--radius-s); background: var(--white); font-size: 15px; }
.catalog-search__btn { flex: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius-s); background: var(--blue); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.catalog-search__btn:hover { background: var(--navy); }

/* ---------- Kartice ---------- */
.partner-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); text-decoration: none; transition: border-color .15s; }
.partner-card:hover { border-color: var(--blue); color: var(--text); }
.partner-card__logo { height: 64px; display: flex; align-items: center; margin-bottom: 6px; }
.partner-card__img { max-height: 52px; max-width: 240px; width: auto; }
.partner-card__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.partner-card__origin { font-size: 14px; color: var(--muted); }
.partner-card__text { font-size: 15px; color: var(--body); line-height: 1.6; }
.partner-card__more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--blue); }

.cat-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--radius-m); background: var(--light); color: var(--text); text-decoration: none; }
.cat-card:hover { background: var(--blue-soft); color: var(--text); }
.cat-card__icon { flex: none; width: 60px; height: 60px; border-radius: 10px; background: var(--blue-soft); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; }
.cat-card:hover .cat-card__icon { background: var(--white); }
.cat-card__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-card__name { font-weight: 600; }
.cat-card__sub { font-size: 13px; color: var(--muted); }

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.product-card__media { display: block; aspect-ratio: 4 / 3; background: var(--light); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.product-card__brand { font-size: 13px; font-weight: 600; color: var(--blue); }
.product-card__title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.product-card__title a { color: var(--text); text-decoration: none; }
.product-card__title a:hover { color: var(--blue); }
.product-card__code { font-size: 14px; color: var(--muted); }
.product-card .btn { margin-top: auto; }
.product-card__body > .btn { margin-top: auto; }

.placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #A9B8D2; background: repeating-linear-gradient(135deg, #EEF3F8 0 18px, #E7EEF5 18px 36px); }
.placeholder--big { min-height: 420px; }
.placeholder__logo { max-width: 60%; max-height: 120px; width: auto; opacity: .85; }

.benefit, .feature { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 4px solid var(--red); }
.feature { padding: 28px; border-top: 0; border-radius: 14px; background: var(--light); }
.feature::before { content: ""; width: 44px; height: 6px; border-radius: 3px; background: var(--red); }
.benefit__title, .feature__title { font-size: 20px; font-weight: 700; }
.benefit p, .feature p { color: var(--body); }

/* ---------- Tamna sekcija i mapa ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.split--top { align-items: start; }
.split__text { display: flex; flex-direction: column; gap: 16px; }
.split__text .btn-row { margin-top: 8px; }
.map { min-height: 280px; border-radius: 14px; overflow: hidden; background: #16366E; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; }
.contact .map { background: var(--blue-soft); }
.map__fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 280px; padding: 24px; text-align: center; color: inherit; text-decoration: none; }
.section--navy .map__fallback { color: #C9D6EC; }
.map__fallback span { text-decoration: underline; }
.cta-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }

/* ---------- Katalog ---------- */
.page-head { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: 16px; }
.page-head--split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.page-head--split .catalog-search { flex: 0 1 440px; }
.catalog { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-top: 16px; padding-bottom: 72px; }
.catalog__filters { flex: 1 1 250px; display: flex; flex-direction: column; gap: 28px; padding: 24px; border-radius: 14px; background: var(--light); }
.catalog__results { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.catalog__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--body); }
.filter-group { display: flex; flex-direction: column; gap: 8px; }
.filter-group__title { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.filter-group--links { padding-top: 20px; border-top: 1px solid var(--blue-soft); }
.filter-group--links a { font-size: 14px; }
.filter-btn { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--input); border-radius: var(--radius-s); background: var(--white); color: var(--text); font-size: 14px; text-decoration: none; }
.filter-btn:hover { border-color: var(--navy); color: var(--text); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }
@media (max-width: 860px) {
	.catalog__filters { gap: 18px; }
	.filter-group { flex-direction: row; flex-wrap: wrap; }
	.filter-group__title { flex-basis: 100%; }
}
.empty { padding: 40px; border-radius: 14px; background: var(--light); color: var(--body); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--input); border-radius: var(--radius-s); color: var(--text); text-decoration: none; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Proizvod ---------- */
.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.product__gallery { display: flex; flex-direction: column; gap: 12px; }
.product__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-l); overflow: hidden; background: var(--light); }
.product__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px; }
.product__thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--light); cursor: pointer; aspect-ratio: 1 / 1; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb.is-active { border-color: var(--navy); }
.product__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.product__title { font-size: clamp(30px, 3.4vw, 42px); }
.variants { display: flex; flex-direction: column; gap: 10px; }
.variants__label { font-weight: 600; font-size: 15px; }
.variants__list { display: flex; flex-wrap: wrap; gap: 10px; }
.variant { min-height: 44px; padding: 0 18px; border: 1.5px solid var(--input); border-radius: var(--radius-s); background: var(--white); color: var(--text); font-weight: 500; cursor: pointer; }
.variant:hover { border-color: var(--navy); }
.variant.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); font-weight: 600; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 18px; border-radius: var(--radius-m); background: var(--light); }
.code-box__label { font-size: 14px; color: var(--muted); }
.code-box__code { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.code-box__price { margin-left: auto; font-size: 14px; color: var(--body); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 45%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--blue); }

/* ---------- Partner ---------- */
.partner-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
.partner-tab { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--input); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; background: var(--white); }
.partner-tab:hover { border-color: var(--navy); color: var(--text); }
.partner-tab.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.partner-hero__logo { display: block; }
.partner-hero__img { height: 64px; width: auto; max-width: 100%; }
.partner-hero__origin { font-size: 15px; color: var(--muted); margin-top: -10px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: var(--radius-m); background: var(--white); }
.fact__value { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--red); line-height: 1.2; }
.fact__label { font-size: 14px; color: var(--body); }
.line-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); border-top: 4px solid var(--blue); }
.line-card__title { font-size: 19px; font-weight: 700; }
.line-card__title a { color: var(--text); text-decoration: none; }
.line-card p { color: var(--body); font-size: 15px; }
.line-card .link-strong { margin-top: auto; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.swatch__color { width: 88px; height: 88px; border-radius: 14px; border: 1px solid #DDE3EC; }
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-link { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--text); font-weight: 600; text-decoration: none; }
.doc-link:hover { border-color: var(--blue); color: var(--text); }
.doc-link .icon { flex: none; color: var(--red); }
.doc-link small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); }

/* ---------- Za trgovine ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: korak; }
.step { counter-increment: korak; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 14px; background: var(--white); }
.step::before { content: counter(korak); font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; color: var(--red); }
.step__title { font-size: 20px; font-weight: 700; }
.step p { color: var(--body); }
.check-item { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.check-item .icon { flex: none; color: var(--blue); }
.check-item > span { display: flex; flex-direction: column; gap: 4px; }
.check-item > span > span { font-size: 14px; color: var(--body); line-height: 1.5; }

/* ---------- Forme ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid var(--input); border-radius: var(--radius-s); background: var(--white); font-size: 15px; color: var(--text); }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-soft); }
.form-note { margin: 12px 0 24px; color: var(--body); }
.checkbox { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--body); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--navy); }
.notice { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-s); font-weight: 500; }
.notice--ok { background: #E3F4EA; color: #155B33; }
.notice--error { background: var(--red-soft); color: #8A1217; }

/* ---------- O nama / kontakt ---------- */
.logo-row { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding-top: 4px; }
.logo-row__img { height: 42px; width: auto; }
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 40px; align-items: start; padding-bottom: 40px; }
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact__form { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-l); }
.info-box { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.info-box--light { background: var(--light); border-color: transparent; }
.info-box dt { font-weight: 700; margin-top: 10px; }
.info-box dt:first-child { margin-top: 0; }
.info-box dd { margin: 0; color: var(--body); }

/* ---------- Upit za ponudu ---------- */
.upit { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-bottom: 40px; }
.upit__items { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.upit__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.upit__form { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-l); background: var(--light); }
.upit__total { display: flex; justify-content: space-between; font-size: 15px; color: var(--body); }
.upit__total strong { color: var(--text); }
.upit-item { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-m); }
.upit-item__info { flex: 1 1 240px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.upit-item__brand { font-size: 13px; font-weight: 600; color: var(--blue); }
.upit-item__name { font-weight: 700; color: var(--text); text-decoration: none; }
.upit-item__code { font-size: 14px; color: var(--muted); }
.upit-item__remove { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: #A3161C; font-weight: 600; cursor: pointer; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty__btn { width: 44px; height: 44px; border: 1px solid var(--input); border-radius: var(--radius-s); background: var(--white); font-size: 20px; cursor: pointer; }
.qty__input { width: 64px; height: 44px; border: 1px solid var(--input); border-radius: var(--radius-s); text-align: center; font-weight: 700; }
.success { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 24px; padding: 48px; border-radius: var(--radius-l); background: var(--light); }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--navy-deep); color: #C9D6EC; font-size: 14px; }
.site-footer a { color: #C9D6EC; }
.site-footer a:hover { color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 4px; }
.site-footer__col p { margin: 0; }
.site-footer__title { font-family: var(--font-body); font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.site-footer__logo { align-self: flex-start; padding: 8px 12px; margin-bottom: 10px; border-radius: var(--radius-s); background: var(--white); }
.site-footer__logo-img { height: 40px; width: auto; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 16px; padding-bottom: 28px; border-top: 1px solid #1D3766; font-size: 13px; color: #9FB0CF; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }

.mobile-bar { display: none; }
@media (max-width: 720px) {
	:root { --section: 56px; --gutter: 16px; }
	.hero__grid { padding-top: 32px; padding-bottom: 40px; gap: 28px; }
	.hero__media { min-height: 240px; }
	.page-hero .hero__media { min-height: 240px; }
	.placeholder--big { min-height: 260px; }
	.hero__grid, .split, .product, .contact { grid-template-columns: 1fr; }
	.topbar__info span:last-child { display: none; }
	.contact__form, .upit__form, .success { padding: 22px; }
	.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(14, 42, 92, .10); }
	.mobile-bar .btn { min-height: 48px; }
	body { padding-bottom: 76px; }
}

/* ---------- Brend logo bez slike ---------- */
.brand-logo--text { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); }
.post-thumb { margin-bottom: 24px; border-radius: var(--radius-l); overflow: hidden; }

@media print {
	.topbar, .site-header, .site-footer, .mobile-bar, .catalog__filters { display: none; }
}
