/* ==========================================================================
   Auto salon Kramar – moderni sloj (redizajn 2026-11)
   Učitava se POSLJEDNJI (inc/moderno.php), preko starih inline stilova strana.
   Brend: crvena #d2232a, crna, bijela, Montserrat.
   ========================================================================== */

:root {
  --ak-crvena: #d2232a;
  --ak-crvena-tamna: #a9161c;
  --ak-crvena-svijetla: #fdeced;
  --ak-crna: #0d0d0f;
  --ak-tamna: #17181c;
  --ak-tamna-2: #22242a;
  --ak-pozadina: #f2f3f5;
  --ak-bijela: #fff;
  --ak-tekst: #1b1d22;
  --ak-sivo: #6b7079;
  --ak-linija: #e3e5e9;
  --ak-r: 14px;
  --ak-r-sm: 10px;
  --ak-sjena: 0 1px 2px rgba(16, 18, 24, .06), 0 4px 16px rgba(16, 18, 24, .06);
  --ak-sjena-hover: 0 2px 4px rgba(16, 18, 24, .08), 0 14px 34px rgba(16, 18, 24, .14);
  --ak-sirina: 1760px;
  --ak-gutter: clamp(16px, 2.4vw, 40px);
  --ak-sidebar: 340px;
  --ak-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ak-font-naslov: "Montserrat", "Inter", Arial, sans-serif;
}

/* ---------- osnova ---------- */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html body {
  background: var(--ak-pozadina) !important;
  color: var(--ak-tekst);
  font-family: var(--ak-font) !important;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html body *, html body *::before, html body *::after { box-sizing: border-box; }
html body img { max-width: 100%; }
html body a { transition: color .15s, background-color .15s, border-color .15s, box-shadow .2s, transform .2s; }

/* široki kontejner */
html body .sadrzaj,
.ak-wrap {
  width: 100% !important;
  max-width: var(--ak-sirina) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--ak-gutter);
  padding-right: var(--ak-gutter);
}
html body .sadrzaj .sadrzaj { padding-left: 0; padding-right: 0; max-width: none !important; }
html body #main { padding-top: clamp(20px, 2.5vw, 36px); padding-bottom: 48px; }
html body .okvir_razmak { height: clamp(14px, 1.6vw, 24px); }

/* stari elementi headera koje više ne koristimo */
#cookiePoruka { display: none !important; }

/* ---------- dugmad ---------- */
.ak-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 700 14px/1 var(--ak-font-naslov); letter-spacing: .02em;
  text-decoration: none !important; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.ak-btn svg { width: 16px; height: 16px; flex: none; }
.ak-btn--crvena { background: var(--ak-crvena); color: #fff !important; box-shadow: 0 6px 18px rgba(210, 35, 42, .28); }
.ak-btn--crvena:hover { background: var(--ak-crvena-tamna); transform: translateY(-1px); }
.ak-btn--obrub { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.ak-btn--obrub:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.ak-header { position: sticky; top: 0; z-index: 1000; font-family: var(--ak-font); }
.ak-header ul { list-style: none; margin: 0; padding: 0; }
.ak-topbar { background: var(--ak-crna); color: #c9ccd2; font-size: 13px; }
.ak-topbar__in { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.ak-topbar__info { display: flex; gap: 28px; }
.ak-topbar__info li { display: flex; align-items: center; gap: 8px; }
.ak-topbar__info svg { width: 15px; height: 15px; color: var(--ak-crvena); }
.ak-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.ak-topbar a:hover { color: var(--ak-crvena); }
.ak-social { display: flex; gap: 4px; }
.ak-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #c9ccd2 !important; }
.ak-social a:hover { background: var(--ak-crvena); color: #fff !important; }
.ak-social svg { width: 15px; height: 15px; }

.ak-navbar { background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ak-linija); transition: box-shadow .2s; }
.ak-header.skrolovano .ak-navbar { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.ak-navbar__in { display: flex; align-items: center; gap: 32px; height: 84px; }
.ak-logo { display: flex; align-items: center; flex: none; }
.ak-logo img { height: 58px; width: auto; display: block; }

.ak-nav { flex: 1; display: flex; justify-content: center; }
.ak-nav > ul { display: flex; gap: 4px; }
.ak-nav > ul a {
  position: relative; display: block; padding: 10px 16px;
  font: 700 14px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .04em;
  color: var(--ak-tekst) !important; text-decoration: none; border-radius: 8px;
}
.ak-nav > ul a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--ak-crvena); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.ak-nav > ul a:hover::after, .ak-nav > ul a.aktivan::after { transform: scaleX(1); }
.ak-nav > ul a.aktivan { color: var(--ak-crvena) !important; }
.ak-nav__ponuda, .ak-nav__kontakt { display: none; }

.ak-navbar__akcije { display: flex; align-items: center; gap: 10px; flex: none; }
.ak-ikona-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ak-pozadina); color: var(--ak-tekst) !important;
}
.ak-ikona-btn svg { width: 20px; height: 20px; }
.ak-ikona-btn:hover { background: var(--ak-crna); color: #fff !important; }
.ak-ikona-btn--wa { background: #25d366; color: #fff !important; }
.ak-ikona-btn--viber { background: #7b519d; color: #fff !important; }
.ak-show-mob { display: none; }
.ak-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--ak-crna); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.ak-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
html.ak-meni-otvoren .ak-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
html.ak-meni-otvoren .ak-burger span:nth-child(2) { opacity: 0; }
html.ak-meni-otvoren .ak-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1400px) {
  .ak-hide-md { display: none !important; }
  .ak-nav > ul a { padding: 10px 11px; font-size: 13px; }
  .ak-nav > ul a::after { left: 11px; right: 11px; }
  .ak-navbar__in { gap: 18px; }
}

/* mobilni meni */
@media (max-width: 1100px) {
  .ak-topbar { display: none; }
  .ak-navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .ak-navbar__in { height: 64px; gap: 10px; }
  .ak-logo img { height: 42px; }
  .ak-navbar__akcije { margin-left: auto; gap: 8px; }
  .ak-ikona-btn { width: 40px; height: 40px; }
  .ak-ikona-btn svg { width: 18px; height: 18px; }
  .ak-hide-mob { display: none !important; }
  .ak-show-mob { display: grid; }
  .ak-burger { display: flex; }
  .ak-nav {
    position: fixed; left: 0; right: 0; top: 64px; bottom: 0; z-index: 999;
    display: block; overflow-y: auto; background: #fff; padding: 12px 16px 40px;
    transform: translateY(-10px); opacity: 0; transition: transform .22s ease, opacity .22s ease, visibility 0s .22s; visibility: hidden;
  }
  html.ak-meni-otvoren { overflow: hidden; }
  html.ak-meni-otvoren .ak-nav { transform: none; opacity: 1; visibility: visible; transition: transform .22s ease, opacity .22s ease; }
  .ak-nav > ul { flex-direction: column; gap: 0; }
  .ak-nav > ul a { padding: 16px 6px; font-size: 16px; border-bottom: 1px solid var(--ak-linija); border-radius: 0; }
  .ak-nav > ul a::after { display: none; }
  .ak-nav__ponuda { display: block; margin-top: 22px; background: var(--ak-pozadina); border-radius: var(--ak-r); padding: 6px 14px; }
  .ak-nav__naslov { font: 800 12px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .1em; color: var(--ak-sivo); padding: 14px 0 6px; }
  .ak-nav__ponuda a { text-decoration: none; }
  .ak-nav__ponuda .link_ponuda, .ak-nav__ponuda .web { display: none !important; }
  html body .ak-nav__ponuda .link_ponuda2 {
    display: flex !important; justify-content: space-between; align-items: center; float: none !important; width: auto !important;
    padding: 12px 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--ak-linija) !important;
    font: 600 15px/1.2 var(--ak-font) !important; color: var(--ak-tekst) !important; height: auto !important;
  }
  html body .ak-nav__ponuda a:last-child .link_ponuda2 { border-bottom: 0 !important; }
  html body .ak-nav__ponuda .link_ponuda_broj_vozila {
    float: none !important; position: static !important; background: var(--ak-crvena) !important; color: #fff !important;
    min-width: 30px; padding: 4px 8px !important; border-radius: 999px; font: 700 12px/1 var(--ak-font) !important; text-align: center; width: auto !important; height: auto !important;
  }
  .ak-nav__kontakt { display: grid; gap: 12px; margin-top: 22px; padding: 4px 6px; color: var(--ak-sivo); font-size: 14px; }
  .ak-nav__kontakt a, .ak-nav__kontakt span { display: flex; align-items: center; gap: 10px; }
  .ak-nav__kontakt a { color: var(--ak-tekst) !important; font-weight: 700; font-size: 16px; text-decoration: none; }
  .ak-nav__kontakt svg { width: 18px; height: 18px; color: var(--ak-crvena); }
  /* stari razmaci za fiksni mobilni meni više nisu potrebni */
  html body .mob .okvir_razmak:only-child, html body > .mob:has(> .okvir_razmak:first-child) { display: none !important; }
}

/* ---------- kolačići ---------- */
.ak-kolacici { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 2000; }
.ak-kolacici[hidden] { display: none; }
.ak-kolacici__in {
  display: flex; align-items: center; gap: 20px; max-width: 980px !important;
  background: var(--ak-tamna); color: #d9dbe0; border-radius: var(--ak-r); padding: 16px 16px 16px 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3); font-size: 14px; line-height: 1.5;
}
.ak-kolacici__in p { margin: 0; flex: 1; }
.ak-kolacici__in a { color: #fff; text-decoration: underline; }
@media (max-width: 640px) { .ak-kolacici__in { flex-direction: column; align-items: stretch; padding: 18px !important; gap: 12px; } }

/* ==========================================================================
   NASLOVI SEKCIJA
   ========================================================================== */
html body .kapa_naslov,
html body .kapa_naslov_link {
  position: relative !important; overflow: visible !important;
  background: transparent !important; color: var(--ak-tekst) !important; border: 0 !important; box-shadow: none !important;
  font: 800 clamp(20px, 1.7vw, 28px)/1.2 var(--ak-font-naslov) !important; letter-spacing: -.01em;
  padding: 6px 0 14px 22px !important; margin: 0 !important; text-align: left !important; border-radius: 0 !important; height: auto !important;
}
html body .kapa_naslov::before,
html body .kapa_naslov_link::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 22px;
  background: var(--ak-crvena); clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%);
}
html body .kapa_podnaslov {
  font: 500 14px/1.4 var(--ak-font) !important; color: var(--ak-sivo) !important; margin-top: 4px; text-transform: none !important; letter-spacing: 0;
}
html body .crveni-oblik, html body .crveni-oblik2, html body .crveni-oblik3 { display: none !important; }
html body a:has(> .kapa_naslov_link) { display: block; text-decoration: none; }
html body .kapa_naslov_link::after {
  content: "Pogledaj sve"; position: absolute; right: 0; top: 50%; transform: translateY(-60%);
  font: 700 13px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .05em; color: var(--ak-crvena);
  padding: 10px 34px 10px 16px; border-radius: 999px; background: var(--ak-crvena-svijetla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d2232a' d='M8.6 5.4 15.2 12l-6.6 6.6L7.2 17.2 12.4 12 7.2 6.8z'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
html body a:hover > .kapa_naslov_link::after { background-color: var(--ak-crvena); color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8.6 5.4 15.2 12l-6.6 6.6L7.2 17.2 12.4 12 7.2 6.8z'/%3E%3C/svg%3E"); }

/* ==========================================================================
   RASPORED: lista + bočna kolona
   ========================================================================== */
html body .ponuda {
  float: left !important; width: calc(100% - var(--ak-sidebar) - 32px) !important; margin: 0 32px 0 0 !important;
}
html body .opcije {
  float: left !important; width: var(--ak-sidebar) !important; margin: 0 !important;
  position: sticky; top: 100px;
}

/* grid kartica vozila – roditelj kartica (naslovna: .ponuda, lista: .stranica, vozilo: slično u ponudi) */
html body :has(> a > .vozilo) {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; align-content: start;
  float: none !important; height: auto !important;
}
html body :has(> a > .vozilo) > :not(a:has(> .vozilo)) { grid-column: 1 / -1; }
html body :has(> a > .vozilo) > a:has(> .kapa_naslov_link) { margin-top: 18px; }
html body :has(> a > .vozilo) > a:first-child:has(> .kapa_naslov_link) { margin-top: 0; }
html body :has(> a > .vozilo) > .okvir_razmak, html body :has(> a > .vozilo) > a:empty { display: none; }
html body .ponuda.ak-naslovna { grid-template-columns: repeat(4, minmax(0, 1fr)); float: left !important; }
@media (max-width: 1100px) { html body .ponuda.ak-naslovna { float: none !important; } }

/* ==========================================================================
   KARTICA VOZILA
   ========================================================================== */
html body a:has(> .vozilo) { display: block; text-decoration: none !important; color: inherit; min-width: 0; }
html body .vozilo {
  float: none !important; width: auto !important; height: 100% !important; margin: 0 !important; padding: 0 !important;
  display: flex !important; flex-direction: column;
  background: #fff !important; border-radius: var(--ak-r) !important; box-shadow: var(--ak-sjena) !important; border: 0 !important;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
html body a:hover > .vozilo { transform: translateY(-4px); box-shadow: var(--ak-sjena-hover) !important; }
html body .vozilo_foto {
  float: none !important; width: 100% !important; padding-top: 0 !important; margin: 0 !important; aspect-ratio: 4 / 3; height: auto !important;
  background-size: cover !important; background-position: center !important; background-color: #e9eaed !important;
  transition: transform .5s ease; border-radius: 0 !important;
}
html body .vozilo_naziv {
  float: none !important; width: auto !important; height: auto !important; min-height: 0 !important;
  padding: 16px 18px 0 !important; margin: 0 0 auto !important;
  font: 700 15.5px/1.35 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; text-transform: none !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; border: 0 !important;
}
html body .vozilo_detalji {
  float: none !important; width: auto !important; height: auto !important; border: 0 !important;
  padding: 14px 18px 0 !important; margin: 0 !important;
  font: 500 12px/1.2 var(--ak-font) !important; color: var(--ak-sivo) !important; text-transform: uppercase; letter-spacing: .04em;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
}
html body .vozilo_detalji br { display: none; }
html body .vozilo_detalji > span:first-child { flex-basis: 100%; font-size: 11px; }
html body .vozilo_detalji > span:not(:first-child),
html body .vozilo_detalji font {
  font: 800 21px/1.1 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; text-transform: none; letter-spacing: -.01em;
}
html body .vozilo_detalji .vozilo_akcijska_cijena, html body .vozilo_detalji .vozilo_akcijska_cijena font { color: var(--ak-crvena) !important; }
html body .vozilo_detalji .vozilo_stara_cijena, html body .vozilo_detalji .vozilo_stara_cijena * {
  font: 600 14px/1.1 var(--ak-font) !important; color: #9a9ea6 !important; order: 2;
}
html body .vozilo_detalji_godina, html body .vozilo_detalji_kilometri {
  float: left !important; width: auto !important; height: auto !important; border: 0 !important;
  margin: 14px 0 18px 18px !important; padding: 6px 10px !important; border-radius: 8px;
  background: var(--ak-pozadina) !important; color: #444851 !important;
  font: 600 12px/1.2 var(--ak-font) !important; text-transform: none !important; letter-spacing: 0;
}
html body .vozilo_detalji_kilometri { margin-left: 8px !important; }
html body .vozilo > .vozilo_detalji_godina { margin-top: 14px !important; }
html body .vozilo:has(.vozilo_detalji_godina) { display: flex !important; flex-direction: row !important; flex-wrap: wrap; align-content: flex-start; }
html body .vozilo:has(.vozilo_detalji_godina) > .vozilo_foto,
html body .vozilo:has(.vozilo_detalji_godina) > .vozilo_naziv,
html body .vozilo:has(.vozilo_detalji_godina) > .vozilo_detalji { flex: 0 0 100%; }
html body .vozilo:has(.vozilo_detalji_godina) > .vozilo_naziv { margin-bottom: 0 !important; min-height: calc(3 * 1.35em + 16px) !important; }
html body .vozilo:has(.vozilo_detalji_godina) > .vozilo_detalji { margin-top: auto !important; }

/* ==========================================================================
   BOČNA KOLONA (ponuda / pretraživač)
   ========================================================================== */
html body .opcije > .kapa_naslov,
html body .opcije .kapa_naslov {
  background: #fff !important; border-radius: var(--ak-r) var(--ak-r) 0 0 !important;
  padding: 22px 22px 6px 44px !important; font-size: 19px !important;
}
html body .opcije .kapa_naslov::before { left: 22px; top: 25px; width: 10px; height: 18px; }
html body .opcije .kapa_podnaslov { font-size: 13px !important; }
html body .opcije a { text-decoration: none; }
html body .opcije a:has(> .link_ponuda) { display: block; background: #fff; }
html body .opcije a:has(> .link_ponuda):last-of-type { border-radius: 0 0 var(--ak-r) var(--ak-r); padding-bottom: 10px; }
html body .opcije .link_ponuda {
  float: none !important; width: auto !important; height: auto !important; display: flex !important; justify-content: space-between; align-items: center;
  margin: 0 12px !important; padding: 12px 10px !important; border: 0 !important; border-radius: 10px; background: transparent !important;
  font: 600 14.5px/1.2 var(--ak-font) !important; color: var(--ak-tekst) !important;
}
html body .opcije .link_ponuda:hover { background: var(--ak-pozadina) !important; color: var(--ak-crvena) !important; }
html body .opcije .link_ponuda_broj_vozila {
  float: none !important; position: static !important; width: auto !important; height: auto !important;
  min-width: 32px; padding: 5px 9px !important; border-radius: 999px; text-align: center;
  background: var(--ak-pozadina) !important; color: var(--ak-tekst) !important; font: 700 12px/1 var(--ak-font) !important;
}
html body .opcije .link_ponuda:hover .link_ponuda_broj_vozila { background: var(--ak-crvena) !important; color: #fff !important; }
html body .opcije > .kapa_naslov:first-child { box-shadow: var(--ak-sjena) !important; }
html body .okvir_trazilica,
html body .opcije > .okvir {
  background: #fff !important; border: 0 !important; border-radius: 0 0 var(--ak-r) var(--ak-r) !important;
  padding: 10px 22px 22px !important; box-shadow: var(--ak-sjena) !important; margin-bottom: 0 !important; overflow: visible !important;
}
html body .okvir_label {
  float: none !important; clear: both; padding: 12px 0 6px !important; margin: 0 !important;
  font: 700 11px/1 var(--ak-font) !important; text-transform: uppercase; letter-spacing: .08em; color: var(--ak-sivo) !important;
}
html body .okvir_label_od_do { display: none !important; }
html body .okvir_trazilica div[style*="width: 50%"], html body .opcije .okvir div[style*="width: 50%"] { width: calc(50% - 5px) !important; }
html body .okvir_trazilica div[style*="width: 50%"] + div[style*="width: 50%"], html body .opcije .okvir div[style*="width: 50%"] + div[style*="width: 50%"] { margin-left: 10px; }
html body .okvir_trazilica div[style*="calc(100%"], html body .opcije .okvir div[style*="calc(100%"] { width: 100% !important; }
html body .okvir_dropdown, html body .okvir_input, html body .okvir_trazilica input[type="text"], html body .okvir_trazilica input:not([type]) {
  width: 100% !important; height: 44px !important; margin: 0 !important; padding: 0 36px 0 12px !important;
  border: 1px solid var(--ak-linija) !important; border-radius: var(--ak-r-sm) !important; background-color: #fafbfc !important;
  font: 500 14px var(--ak-font) !important; color: var(--ak-tekst) !important; box-shadow: none !important; outline: none;
}
html body select.okvir_dropdown {
  -webkit-appearance: none; appearance: none;
  background: #fafbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7079' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px !important;
}
html body .okvir_dropdown:focus, html body .okvir_input:focus { border-color: var(--ak-crvena) !important; box-shadow: 0 0 0 3px rgba(210, 35, 42, .12) !important; background-color: #fff !important; }
html body .okvir_dropdown:disabled { opacity: .55; }
html body .butona {
  float: none !important; width: 100% !important; height: 48px !important; margin: 18px 0 0 !important; padding: 0 !important;
  display: flex !important; align-items: center; justify-content: center; gap: 8px; border-radius: 999px !important;
  background: var(--ak-crvena) !important; color: #fff !important; border: 0 !important; cursor: pointer;
  font: 800 14px/1 var(--ak-font-naslov) !important; text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 6px 18px rgba(210, 35, 42, .25);
}
html body .butona:hover { background: var(--ak-crvena-tamna) !important; }
html body .trazilica_loga { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; float: none !important; width: auto !important; }
html body .trazilica_loga > * { float: none !important; width: auto !important; margin: 0 !important; }
html body .trazilica_loga a { display: block; }
html body .trazilica_loga_button {
  display: grid !important; place-items: center; aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--ak-linija); background: #fff; overflow: hidden;
  float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; transition: border-color .2s, box-shadow .2s;
}
html body .trazilica_loga_marka { width: 74% !important; height: auto !important; padding: 0 !important; margin: 0 !important; mix-blend-mode: multiply; }
html body a:hover > .trazilica_loga_button { border-color: var(--ak-crvena); box-shadow: 0 4px 14px rgba(210, 35, 42, .15); }

/* statistika posjeta u bočnoj koloni */
html body .statistika { float: none !important; width: auto !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px !important; }
html body .statistika > * { float: none !important; width: auto !important; margin: 0 !important; border-radius: var(--ak-r-sm) !important; }

/* ==========================================================================
   NASLOVNA
   ========================================================================== */
html body .brza_trazilica_okvir {
  position: relative; display: flex; align-items: center; float: none !important; width: 100% !important; margin: 0 !important;
  background: #fff; border-radius: 999px; box-shadow: var(--ak-sjena); border: 1px solid var(--ak-linija); padding: 6px; height: auto !important;
}
html body .brza_trazilica_input {
  flex: 1; float: none !important; width: auto !important; height: 50px !important; border: 0 !important; background: transparent !important;
  padding: 0 20px !important; font: 500 16px var(--ak-font) !important; color: var(--ak-tekst) !important; outline: none; box-shadow: none !important; margin: 0 !important;
}
html body .brza_trazilica_button {
  float: none !important; position: static !important; display: flex !important; align-items: center; justify-content: center; flex: none; width: 50px !important; height: 50px !important;
  border-radius: 50%; background: var(--ak-crvena) !important; color: #fff !important; cursor: pointer; margin: 0 !important; padding: 0 !important; font-size: 0 !important; border: 0 !important;
}
html body .brza_trazilica_button svg { width: 20px; height: 20px; }
html body .brza_trazilica_button:hover { background: var(--ak-crvena-tamna) !important; }

html body .kapa_naslov.mas {
  padding: 0 !important; margin: 0 0 14px !important; font-size: clamp(22px, 2vw, 32px) !important; text-align: left !important; background: none !important;
}
html body .kapa_naslov.mas::before { display: none; }
html body #main a[href="/ponuda"] > .web img, html body #main a[href="/ponuda"] > .mob img,
html body .ak-baner img {
  display: block; width: 100%; height: auto; border-radius: calc(var(--ak-r) + 4px); box-shadow: var(--ak-sjena);
}

/* brojači */
html body #main div[style*="width: 90%"]:has(> .counter) {
  width: 100% !important; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px !important;
}
html body #main div:has(> .counter) > br { display: none; }
html body .counter {
  float: none !important; width: auto !important; padding: 26px 24px !important; margin: 0 !important;
  display: grid !important; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
  background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); text-align: left !important; position: relative; overflow: hidden;
}
html body .counter::after { content: ""; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; background: var(--ak-crvena); opacity: .07; clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); }
html body .counter > a { grid-row: 1 / span 2; }
html body .counter_icon, html body .counter_icon.ljudi {
  width: 64px !important; height: 64px !important; margin: 0 !important; padding: 0 !important; border: 0 !important;
  border-radius: 18px !important; background: var(--ak-crvena-svijetla) !important; display: grid !important; place-items: center; overflow: hidden;
}
html body .counter_icon svg { width: 38px !important; height: 38px !important; margin: 0 !important; }
html body .counter_icon svg path { fill: var(--ak-crvena) !important; }
html body .counter_broj, html body .counter_broj2 {
  font: 900 clamp(26px, 2.2vw, 36px)/1 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; margin: 0 !important; padding: 0 !important; text-align: left !important; align-self: end;
}
html body .counter_naslov {
  font: 600 12.5px/1.35 var(--ak-font) !important; color: var(--ak-sivo) !important; text-transform: uppercase; letter-spacing: .05em; margin: 6px 0 0 !important; padding: 0 !important; text-align: left !important; align-self: start;
}

/* logoi marki na naslovnoj (marke_ikonice.php) */
html body .ponuda + .opcije { position: sticky; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
html body #footer.ak-footer {
  clear: both; background: var(--ak-crna) !important; color: #a9adb6; font: 400 14.5px/1.6 var(--ak-font); margin-top: 56px; padding: 0 !important; height: auto !important; min-height: 0 !important; background-image: none !important;
}
.ak-footer a { color: #e6e7ea; text-decoration: none; }
.ak-footer a:hover { color: #fff; text-decoration: underline; }
.ak-footer ul { list-style: none; margin: 0; padding: 0; }
.ak-footer__cta { background: var(--ak-crvena); color: #fff; position: relative; overflow: hidden; }
.ak-footer__cta::before {
  content: ""; position: absolute; right: -60px; top: -40%; width: 420px; height: 180%; background: rgba(0, 0, 0, .12);
  clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%);
}
.ak-footer__cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 38px; padding-bottom: 38px; }
.ak-footer__cta-naslov { font: 900 clamp(26px, 2.6vw, 40px)/1.1 var(--ak-font-naslov); color: #fff; }
.ak-footer__cta p { margin: 8px 0 0; color: rgba(255, 255, 255, .88); max-width: 640px; }
.ak-footer__cta-dugmad { display: flex; gap: 12px; flex-wrap: wrap; }
.ak-footer__cta .ak-btn--crvena { background: #fff; color: var(--ak-crvena) !important; box-shadow: none; }
.ak-footer__cta .ak-btn--crvena:hover { background: var(--ak-crna); color: #fff !important; }
.ak-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 56px; padding-bottom: 44px; }
.ak-footer__brend img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 8px 14px; box-sizing: content-box; }
html body #footer.ak-footer, html body #footer.ak-footer * { text-align: left; }
.ak-footer__brend p { margin: 16px 0 0; max-width: 340px; }
.ak-footer__naslov { font: 800 13px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 18px; }
.ak-footer__grid li { margin-bottom: 9px; }
.ak-footer__dno { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #7d828c; }
.ak-footer__dno-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
@media (max-width: 900px) {
  .ak-footer__cta-in { flex-direction: column; align-items: flex-start; }
  .ak-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ak-footer__brend { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .ak-footer__grid { grid-template-columns: 1fr; }
  .ak-footer__cta-dugmad, .ak-footer__cta-dugmad .ak-btn { width: 100%; }
}

/* ==========================================================================
   RESPONZIVNO
   ========================================================================== */
@media (max-width: 1400px) { :root { --ak-sidebar: 300px; } }
@media (max-width: 1100px) {
  html body .ponuda { float: none !important; width: 100% !important; margin: 0 !important; }
  html body .opcije { float: none !important; width: 100% !important; position: static; margin-top: 28px !important; }
  html body #main div[style*="width: 90%"]:has(> .counter) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  html body .kapa_naslov_link::after { content: "Sve"; padding: 8px 28px 8px 12px; font-size: 12px; background-position: right 8px center; }
}
@media (max-width: 640px) {
  html body :has(> a > .vozilo) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  html body .vozilo_naziv { font-size: 13.5px !important; padding: 12px 12px 0 !important; }
  html body .vozilo_detalji { padding: 10px 12px 0 !important; }
  html body .vozilo_detalji > span:not(:first-child), html body .vozilo_detalji font { font-size: 17px !important; }
  html body .vozilo_detalji_godina, html body .vozilo_detalji_kilometri { margin: 10px 0 12px 12px !important; font-size: 11px !important; padding: 5px 7px !important; }
  html body .vozilo_detalji_kilometri { margin-left: 6px !important; }
  html body .counter { grid-template-columns: 46px 1fr; padding: 16px !important; column-gap: 12px; }
  html body .counter_icon, html body .counter_icon.ljudi { width: 46px !important; height: 46px !important; border-radius: 13px !important; }
  html body .counter_icon svg { width: 28px !important; height: 28px !important; }
  html body .counter_naslov { font-size: 10.5px !important; }
}
@media (max-width: 380px) {
  html body :has(> a > .vozilo) { grid-template-columns: 1fr; }
}
@media (max-width: 900px) { html body .ponuda.ak-naslovna { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 380px) { html body .ponuda.ak-naslovna { grid-template-columns: 1fr; } }

/* ==========================================================================
   STRANICA VOZILA
   ========================================================================== */
html body .kapa_naslov.gornji, html body #ponuda_slicno {
  text-align: left !important; font-size: clamp(22px, 2vw, 34px) !important; line-height: 1.2 !important; padding-bottom: 18px !important;
}
html body .kapa_naslov.gornji::before, html body #ponuda_slicno::before { top: 12px; }
html body #ponuda_slicno { margin-top: 26px !important; font-size: clamp(20px, 1.6vw, 26px) !important; }
.ak-vozilo-vrh { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
html body .ak-vozilo-vrh > .okvir_vozilo {
  float: none !important; width: auto !important; margin: 0 !important; background: #fff !important;
  border-radius: var(--ak-r); box-shadow: var(--ak-sjena); overflow: hidden;
}
html body .vozilo_detalji_foto {
  float: none !important; width: 100% !important; height: auto !important; padding: 0 !important; aspect-ratio: 4 / 3;
  background-size: cover !important; background-position: center !important; background-color: #e9eaed; cursor: zoom-in;
}
html body .ak-vozilo-vrh > .okvir_vozilo > div[style*="border: 1px solid"] { border: 0 !important; padding: 14px 14px 16px !important; }
html body #gallery { margin: 0 !important; }
html body .okvir_vozilo_podaci { border: 0 !important; padding: 22px 22px 6px !important; min-height: 0 !important; }
html body .vozilo_podatak_label {
  display: flex !important; justify-content: space-between; align-items: center; gap: 12px;
  background: transparent !important; box-shadow: none !important; border-bottom: 1px solid var(--ak-linija); margin: 0 !important;
  padding: 12px 2px !important; line-height: 1.3 !important; cursor: default; height: auto !important;
}
html body .vozilo_podatak_label > div { float: none !important; padding: 0 !important; }
html body .vozilo_podatak_label_opis, html body .vozilo_podatak_label_opis2 {
  font: 600 12px/1.3 var(--ak-font) !important; text-transform: uppercase; letter-spacing: .06em; color: var(--ak-sivo) !important;
}
html body .vozilo_podatak_label_vrijednost, html body .vozilo_podatak_label_vrijednost2 {
  font: 700 15px/1.3 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; text-align: right; text-transform: none !important;
}
html body .okvir_vozilo_podaci > .vozilo_podatak_label:first-child {
  background: var(--ak-crvena-svijetla) !important; border: 0; border-radius: var(--ak-r-sm); padding: 16px 18px !important; margin-bottom: 8px !important;
}
html body .okvir_vozilo_podaci > .vozilo_podatak_label:first-child .vozilo_podatak_label_vrijednost { font-size: 26px !important; }
html body .okvir_vozilo_podaci > .vozilo_podatak_label:first-child .vozilo_podatak_label_vrijednost font { color: var(--ak-crvena) !important; }
html body .okvir_vozilo_podaci > .vozilo_podatak_label:first-child strike { font: 600 15px var(--ak-font); color: #9a9ea6; }
html body .okvir_vozilo_podaci .okvir_razmak { height: 10px; }
.ak-akcije { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 22px 22px; }
.ak-akcije > a, .ak-akcije > .butona2 { display: block; text-decoration: none; min-width: 0; }
.ak-akcije > a:last-child { grid-column: 1 / -1; }
html body .ak-akcije .butona2 {
  float: none !important; position: relative; width: auto !important; margin: 0 !important; height: 50px !important;
  display: flex !important; align-items: center; justify-content: center; gap: 8px; padding: 0 14px !important;
  border-radius: 999px !important; border: 1px solid var(--ak-linija); background: #fff !important; box-shadow: none !important;
  font: 700 14px/1 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; white-space: nowrap;
}
html body .ak-akcije .butona2:hover { border-color: var(--ak-crna); }
html body .ak-akcije .butona2_icon {
  position: static !important; float: none !important; width: 30px !important; height: 30px !important; line-height: 30px !important; font-size: 14px !important;
  border-radius: 50% !important; text-align: center; margin: 0 !important; flex: none;
}
html body .ak-akcije > .butona2:first-of-type { background: var(--ak-crvena) !important; color: #fff !important; border-color: var(--ak-crvena); }
html body .ak-akcije > .butona2:first-of-type .butona2_icon { background: rgba(255,255,255,.2) !important; }
html body .ak-akcije .butona2.facebook { background: #1877f2 !important; color: #fff !important; border-color: #1877f2; }
html body .okvir_opis_vozila {
  background: #fff !important; border: 0 !important; border-radius: var(--ak-r); box-shadow: var(--ak-sjena);
  padding: clamp(22px, 2.4vw, 40px) !important; margin: 0 !important; font: 400 15px/1.75 var(--ak-font); color: #3a3d44;
}
html body .okvir_tekst_podnaslov { font: 800 20px/1.3 var(--ak-font-naslov) !important; color: var(--ak-tekst) !important; }
html body .okvir_opis_vozila br + div, html body .okvir_tekst_podnaslov + br { display: none; }
html body .okvir_tekst_podnaslov { margin-bottom: 12px; }
html body .okvir_opis_vozila > div:has(.vozilo_dodatna_oprema) { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 24px; }
html body .okvir_opis_vozila > div:has(.vozilo_dodatna_oprema) > .okvir_tekst_podnaslov,
html body .okvir_opis_vozila > div:has(.vozilo_dodatna_oprema) > div[style*="text-align: center"] { grid-column: 1 / -1; }
html body .vozilo_dodatna_oprema {
  float: none !important; width: auto !important; padding: 9px 0 9px 28px !important; border-bottom: 1px solid var(--ak-linija) !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d2232a' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat left center / 18px !important;
  font: 500 14px/1.4 var(--ak-font) !important; color: var(--ak-tekst) !important;
}
@media (max-width: 1300px) { .ak-vozilo-vrh { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ak-akcije { grid-template-columns: 1fr; } .ak-akcije > a:last-child { grid-column: auto; } }

/* bočni brojač posjeta i certifikat */
html body .opcije img { display: block; margin: 20px auto 0; }

/* ==========================================================================
   ZASTAVICE (tip prodaje) – izbor korisnika 2026-11-15:
   ponuda (akcija/novo/top/black friday/8. mart) = okrugli pečat gore desno (varijanta D)
   status (prodato/rezervisano/u dolasku)        = traka preko dna slike (varijanta C)
   ========================================================================== */
html body .ribbon {
  background-image: none !important; position: absolute !important; z-index: 2; pointer-events: none;
  inset: auto !important; clip-path: none !important; border: 0 !important;
  font-family: var(--ak-font-naslov); text-transform: uppercase; color: #fff;
}
html body .ribbon::before, html body .ribbon::after { content: ""; }

/* --- D: okrugli pečat --- */
html body .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak) {
  top: 12px !important; left: 12px !important; right: auto !important; width: 76px !important; height: 76px !important; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 0 6px;
  font-weight: 900; font-size: 12.5px; line-height: 1.05; letter-spacing: .04em;
  background-color: var(--ak-crvena); transform: rotate(-12deg);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  outline: 2px dashed rgba(255, 255, 255, .6); outline-offset: -7px;
}
html body .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak)::before { display: none; }
/* Pečati – glass (iOS) efekat: providno staklo u boji tipa, zamućenje pozadine, odsjaj */
html body .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak) {
  background: linear-gradient(140deg, rgb(var(--g1) / .86) 0%, rgb(var(--g2) / .8) 55%, rgb(var(--g3) / .86) 100%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.8); backdrop-filter: blur(12px) saturate(1.8);
  border: 1.5px solid rgba(255, 255, 255, .6) !important; outline: 0 !important; overflow: hidden;
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .85), inset 0 -8px 14px rgb(var(--g3) / .45), inset 0 0 0 4px rgba(255, 255, 255, .08), 0 10px 26px rgb(var(--g3) / .35), 0 2px 6px rgba(0, 0, 0, .2);
  text-shadow: 0 1px 2px rgb(var(--g3) / .6);
}
html body .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak)::before {
  display: block !important; content: ""; position: absolute; left: 14%; right: 14%; top: 5%; height: 40%;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .06) 80%, rgba(255, 255, 255, 0));
  -webkit-mask: none; mask: none; pointer-events: none;
}
html body .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak)::after { position: relative; z-index: 1; }
html body .ribbon.ribbon_akcija { --g1: 255 70 78; --g2: 214 30 38; --g3: 165 12 20; }
html body .ribbon.ribbon_novo { --g1: 60 214 128; --g2: 22 163 84; --g3: 10 110 56; }
html body .ribbon.ribbon_topponuda { --g1: 255 214 90; --g2: 245 170 0; --g3: 176 110 0; color: #2a1b00 !important; text-shadow: 0 1px 1px rgba(255, 240, 200, .6) !important; }
html body .ribbon.ribbon_black_friday { --g1: 150 110 255; --g2: 109 40 217; --g3: 70 20 150; color: #ffd75a !important; }
html body .ribbon.ribbon_8mart { --g1: 255 120 170; --g2: 224 69 123; --g3: 160 30 80; }
html body .ribbon_akcija::after { content: "Akcija"; }
html body .ribbon_novo::after { content: "Novo"; }
html body .ribbon_topponuda::after { content: "Top\A ponuda"; white-space: pre; }
html body .ribbon_black_friday::after { content: "Black\A Friday"; white-space: pre; }
html body .ribbon_8mart::after { content: "8.\A mart"; white-space: pre; }

/* --- C: traka preko dna slike --- */
html body .ribbon_rezervirano, html body .ribbon_prodano, html body .ribbon_dolazak {
  left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; width: auto !important; height: 24px !important;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  font-weight: 900; font-size: 13.5px; letter-spacing: .1em; color: var(--ak-tt, #fff);
  background: linear-gradient(90deg, var(--ak-tb) 0, var(--ak-tb) 60%, transparent 100%) !important;
  box-shadow: inset 0 -2px 0 var(--ak-tb);
}
html body .ribbon_rezervirano::before, html body .ribbon_prodano::before, html body .ribbon_dolazak::before {
  width: 15px; height: 11px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M8 0h4.4L5.6 8l6.8 8H8L1.2 8z'/%3E%3Cpath d='M15.6 0H20l-6.8 8 6.8 8h-4.4L8.8 8z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16'%3E%3Cpath d='M8 0h4.4L5.6 8l6.8 8H8L1.2 8z'/%3E%3Cpath d='M15.6 0H20l-6.8 8 6.8 8h-4.4L8.8 8z'/%3E%3C/svg%3E") no-repeat center / contain;
}
html body .ribbon_rezervirano { --ak-tb: #ff7a00; }
html body .ribbon_rezervirano::after { content: "Rezervisano"; }
html body .ribbon_prodano { --ak-tb: #d2232a; }
html body .ribbon_prodano::after { content: "Prodato"; }
html body .ribbon_dolazak { --ak-tb: #ffc21a; --ak-tt: #1b1300; }
html body .ribbon_dolazak::after { content: "U dolasku"; }
/* dvije statusne trake na istom vozilu – druga iznad prve */
html body .ribbon_dolazak ~ .ribbon_rezervirano, html body .ribbon_dolazak ~ .ribbon_prodano { bottom: 24px !important; box-shadow: none; }

/* veće na stranici vozila */
html body .vozilo_detalji_foto .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak) { width: 104px !important; height: 104px !important; font-size: 16px; top: 18px !important; left: 18px !important; right: auto !important; outline-offset: -9px; }
html body .vozilo_detalji_foto :is(.ribbon_rezervirano, .ribbon_prodano, .ribbon_dolazak) { height: 31px !important; font-size: 17px; padding: 0 20px; }
html body .vozilo_detalji_foto :is(.ribbon_rezervirano, .ribbon_prodano, .ribbon_dolazak)::before { width: 20px; height: 14px; }
html body .vozilo_detalji_foto .ribbon_dolazak ~ :is(.ribbon_rezervirano, .ribbon_prodano) { bottom: 31px !important; }
@media (max-width: 640px) {
  html body .vozilo .ribbon:not(.ribbon_rezervirano):not(.ribbon_prodano):not(.ribbon_dolazak) { width: 54px !important; height: 54px !important; font-size: 9px; top: 7px !important; left: 7px !important; right: auto !important; outline-offset: -5px; outline-width: 1.5px; }
  html body .vozilo :is(.ribbon_rezervirano, .ribbon_prodano, .ribbon_dolazak) { height: 17px !important; font-size: 10px; padding: 0 9px; gap: 6px; letter-spacing: .07em; }
  html body .vozilo :is(.ribbon_rezervirano, .ribbon_prodano, .ribbon_dolazak)::before { width: 11px; height: 8px; }
  html body .vozilo .ribbon_dolazak ~ :is(.ribbon_rezervirano, .ribbon_prodano) { bottom: 17px !important; }
}

/* sitnice: pretraga na listi, statistika posjeta */
html body .brza_trazilica_button i { font-size: 19px !important; color: #fff; }
html body .ponuda > .brza_trazilica_okvir { margin: 6px 0 24px !important; }
.ak-statistika { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.ak-statistika > div { background: var(--ak-crna); color: #fff; border-radius: var(--ak-r); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ak-statistika span { font: 600 10.5px/1.2 var(--ak-font); text-transform: uppercase; letter-spacing: .06em; color: #a9adb6; }
.ak-statistika b { font: 800 20px/1 var(--ak-font-naslov); color: #fff; }
.ak-statistika > div:first-child b { color: #ff5a60; }

/* ==========================================================================
   SADRŽAJNE STRANE (o nama, kontakt, finansiranje, kolačići, hvala)
   ========================================================================== */
html body .ponuda > .okvir2, html body .ponuda > .okvir, html body .opcije > .okvir2, html body .opcije > .okvir {
  background: #fff !important; border: 0 !important; border-radius: var(--ak-r) !important; box-shadow: var(--ak-sjena) !important;
  padding: clamp(22px, 2.6vw, 44px) !important; font: 400 15.5px/1.75 var(--ak-font) !important; color: #3a3d44; overflow: visible !important;
}
html body .opcije > .kapa_naslov + .okvir2, html body .opcije > .kapa_naslov + .okvir { border-radius: 0 0 var(--ak-r) var(--ak-r) !important; padding: 8px 22px 22px !important; font-size: 14.5px !important; }
html body .opcije > .okvir2 + .kapa_naslov, html body .opcije > .okvir + .kapa_naslov { margin-top: 20px !important; }
html body .ponuda .okvir_tekst_podnaslov { font-size: 21px !important; margin: 0 0 10px; }
html body .ponuda .okvir2 br + br { display: none; }
html body .ponuda > .kapa_naslov.gore { margin-bottom: 12px !important; }
/* kontakt forma */
html body .okvir2 .okvir_input, html body .okvir2 textarea {
  width: 100% !important; height: 48px !important; padding: 0 14px !important; border: 1px solid var(--ak-linija) !important; border-radius: var(--ak-r-sm) !important;
  background: #fafbfc !important; font: 500 15px var(--ak-font) !important; box-shadow: none !important; outline: none;
}
html body .okvir2 textarea, html body .okvir2 textarea.okvir_input { height: 140px !important; padding: 12px 14px !important; resize: vertical; }
html body .okvir2 .okvir_input:focus, html body .okvir2 textarea:focus { border-color: var(--ak-crvena) !important; box-shadow: 0 0 0 3px rgba(210, 35, 42, .12) !important; background: #fff !important; }
html body .okvir2 .butona2 {
  float: none !important; width: 100% !important; max-width: 360px; margin: 22px 0 0 !important; height: 52px !important; line-height: 52px !important;
  border-radius: 999px !important; background: var(--ak-crvena) !important; color: #fff !important; box-shadow: 0 6px 18px rgba(210, 35, 42, .25) !important; border: 0 !important;
  font: 800 14px/52px var(--ak-font-naslov) !important; letter-spacing: .06em; text-align: center;
}
html body .okvir2 .butona2:hover { background: var(--ak-crvena-tamna) !important; }
html body .opcije iframe { display: block; width: 100% !important; border: 0 !important; border-radius: 0 0 var(--ak-r) var(--ak-r); }

/* strane bez bočne kolone (pretraga, finansiranje, galerija) – puna širina */
html body .sadrzaj:not(:has(> .opcije)) > .ponuda { width: 100% !important; margin-right: 0 !important; float: none !important; }
html body .sadrzaj:not(:has(> .opcije)) > .ponuda > .okvir2 { max-width: none; }
html body .sadrzaj:not(:has(> .opcije)) > .ponuda > .okvir2 > * { max-width: 1000px; }
/* logoi marki na široj površini (pretraga) */
html body .ponuda .trazilica_loga { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
html body .ponuda .trazilica_loga_button { max-width: 140px; }
@media (max-width: 640px) {
  html body .vozilo_detalji_godina { margin: 10px 12px 0 !important; }
  html body .vozilo_detalji_kilometri { margin: 6px 12px 12px !important; }
  html body .vozilo_naziv { overflow-wrap: anywhere; }
}

/* ==========================================================================
   SLIČNO U PONUDI – jedan red (swipe / skrol / strelice)
   ========================================================================== */
html body #ponuda_slicno { position: relative !important; padding-right: 110px !important; }
.ak-strelice { position: absolute; right: 0; top: 50%; transform: translateY(-60%); display: flex; gap: 8px; }
.ak-strelice[hidden] { display: none; }
.ak-strelica {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ak-linija); background: #fff; color: var(--ak-tekst);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--ak-sjena); transition: background .15s, color .15s, opacity .15s;
}
.ak-strelica svg { width: 22px; height: 22px; }
.ak-strelica:hover:not(:disabled) { background: var(--ak-crvena); border-color: var(--ak-crvena); color: #fff; }
.ak-strelica:disabled { opacity: .35; cursor: default; }
html body .stranica.ak-red {
  display: flex !important; gap: 22px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 18px !important; margin: 0 -4px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: #c9ccd2 transparent; cursor: grab;
}
html body .stranica.ak-red.vuce { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
html body .stranica.ak-red.vuce a { pointer-events: none; }
html body .stranica.ak-red::-webkit-scrollbar { height: 6px; }
html body .stranica.ak-red::-webkit-scrollbar-thumb { background: #c9ccd2; border-radius: 3px; }
html body .stranica.ak-red > a:has(> .vozilo) { flex: 0 0 clamp(240px, calc((100% - 3 * 22px) / 4), 320px); scroll-snap-align: start; }
html body .stranica.ak-red > input { display: none; }
@media (max-width: 640px) {
  html body #ponuda_slicno { padding-right: 0 !important; }
  .ak-strelice { display: none !important; }
  html body .stranica.ak-red { gap: 12px; }
  html body .stranica.ak-red > a:has(> .vozilo) { flex-basis: 70%; }
}

/* ==========================================================================
   BRZA PRETRAGA – padajuća lista
   ========================================================================== */
html body .brza_trazilica_okvir.ak-bp { position: relative; z-index: 50; overflow: visible !important; }
.ak-bp.ucitava .brza_trazilica_button { opacity: .75; }
.ak-bp__lista {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60;
  background: #fff; border-radius: var(--ak-r); box-shadow: 0 18px 50px rgba(16, 18, 24, .2), 0 2px 6px rgba(16, 18, 24, .08);
  border: 1px solid var(--ak-linija); overflow: hidden; max-height: min(70vh, 640px); overflow-y: auto; text-align: left;
}
.ak-bp__lista[hidden] { display: none; }
.ak-bp__naslov { padding: 12px 18px 6px; font: 700 11px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .08em; color: var(--ak-sivo); }
.ak-bp__stavka { display: flex; align-items: center; gap: 14px; padding: 9px 18px; text-decoration: none !important; color: var(--ak-tekst) !important; }
.ak-bp__stavka:hover, .ak-bp__stavka.aktivna { background: var(--ak-pozadina); }
.ak-bp__slika { flex: none; width: 76px; height: 54px; border-radius: 8px; background: #e9eaed center / cover no-repeat; }
.ak-bp__tekst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ak-bp__naziv { font: 700 14px/1.3 var(--ak-font-naslov); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ak-bp__meta { font: 500 12.5px/1.2 var(--ak-font); color: var(--ak-sivo); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ak-bp__oznaka { font: 800 10px/1 var(--ak-font-naslov); font-style: normal; text-transform: uppercase; letter-spacing: .05em; padding: 4px 7px; border-radius: 5px; color: #fff; background: var(--ak-crvena); }
.ak-bp__oznaka--novo { background: #12a150; }
.ak-bp__oznaka--rezervisano { background: #ff7a00; }
.ak-bp__oznaka--u-dolasku { background: #ffc21a; color: #1b1300; }
.ak-bp__oznaka--top-ponuda { background: #f0a400; color: #1b1300; }
.ak-bp__cijena { flex: none; font: 800 15px/1 var(--ak-font-naslov); color: var(--ak-crvena); white-space: nowrap; }
.ak-bp__prazno { padding: 18px; color: var(--ak-sivo); font-size: 14px; }
.ak-bp__svi {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 4px; padding: 14px 18px; background: var(--ak-crvena); color: #fff !important; text-decoration: none !important;
  font: 800 14px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .06em;
}
.ak-bp__svi svg { width: 18px; height: 18px; }
.ak-bp__svi:hover, .ak-bp__svi.aktivna { background: var(--ak-crvena-tamna); }
@media (max-width: 640px) {
  .ak-bp__stavka { padding: 9px 12px; gap: 10px; }
  .ak-bp__slika { width: 60px; height: 44px; }
  .ak-bp__naziv { font-size: 13px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .ak-bp__cijena { font-size: 13px; }
}


/* ==========================================================================
   DUGMAD – glass (iOS) efekat: sloj odsjaja preko boje, svijetla ivica, mekana sjena
   ========================================================================== */
html body :is(.ak-btn--crvena, .butona, .ak-akcije .butona2:first-of-type, .ak-akcije .butona2.facebook, .okvir2 .butona2, .brza_trazilica_button, .ak-bp__svi, .ak-footer__cta .ak-btn) {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .1) 48%, rgba(255, 255, 255, 0) 52%, rgba(0, 0, 0, .06) 100%) !important;
  border: 1px solid rgba(255, 255, 255, .45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 6px rgba(0, 0, 0, .12), 0 8px 22px rgba(210, 35, 42, .28) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
}
html body .ak-akcije .butona2.facebook { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -2px 6px rgba(0, 0, 0, .12), 0 8px 22px rgba(24, 119, 242, .28) !important; }
html body .ak-footer__cta .ak-btn--crvena { text-shadow: none; box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(0, 0, 0, .08), 0 8px 22px rgba(0, 0, 0, .18) !important; }
html body .ak-footer__cta .ak-btn--obrub { background-color: rgba(255, 255, 255, .14) !important; }
/* svijetla dugmad (telefon, strelice, ikonice u headeru) – mliječno staklo */
html body :is(.ak-akcije .butona2:not(:first-of-type):not(.facebook), .ak-strelica, .ak-ikona-btn:not(.ak-ikona-btn--wa):not(.ak-ikona-btn--viber)) {
  background: rgba(255, 255, 255, .62) linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35)) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.8); backdrop-filter: blur(14px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .8) !important;
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(16, 18, 24, .06), 0 6px 18px rgba(16, 18, 24, .1) !important;
}
html body :is(.ak-ikona-btn--wa, .ak-ikona-btn--viber) {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%) !important;
  border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px rgba(0, 0, 0, .15);
}
html body .ak-ikona-btn:not(.ak-ikona-btn--wa):not(.ak-ikona-btn--viber):hover, html body .ak-strelica:hover:not(:disabled) { background: var(--ak-crvena) linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%) !important; color: #fff !important; }

/* ==========================================================================
   STRANICA VOZILA – desni panel prati visinu lijevog; sličice; lightbox
   ========================================================================== */
@media (min-width: 1301px) {
  .ak-vozilo-vrh { align-items: stretch; }
  html body .ak-vozilo-vrh > .okvir_vozilo { display: flex; flex-direction: column; }
  html body .ak-vozilo-vrh > .okvir_vozilo:last-child .okvir_vozilo_podaci { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 0 !important; }
  html body .ak-vozilo-vrh > .okvir_vozilo:last-child .vozilo_podatak_label { padding-top: 0 !important; padding-bottom: 0 !important; flex: 1 1 0; min-height: 34px; max-height: 52px; }
  html body .ak-vozilo-vrh > .okvir_vozilo:last-child .okvir_vozilo_podaci > .vozilo_podatak_label:first-child { flex: 0 0 auto; max-height: none; padding: 14px 18px !important; }
  html body .ak-vozilo-vrh > .okvir_vozilo:last-child .okvir_razmak { flex: 0 0 8px; height: 8px; }
  html body .ak-vozilo-vrh > .okvir_vozilo:first-child > div[style*="border: 1px solid"] { flex: 1; }
}
.ak-galerija { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; height: auto !important; }
.ak-galerija .ak-sl { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #e9eaed; position: relative; }
.ak-galerija .ak-sl img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .3s ease; }
.ak-galerija .ak-sl:hover img { transform: scale(1.07); }
.ak-galerija .ak-sl::after { content: ""; position: absolute; inset: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.ak-galerija .ak-sl:hover::after { box-shadow: inset 0 0 0 2px var(--ak-crvena); }
html body .vozilo_detalji_foto[data-broj]::after {
  content: attr(data-broj) " fotografija"; position: absolute; right: 14px; top: 14px; z-index: 3;
  padding: 7px 12px 7px 32px; border-radius: 999px; color: #fff; font: 700 12.5px/1 var(--ak-font);
  background: rgba(13, 13, 15, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M4 5h3l2-2h6l2 2h3a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm8 3.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9z'/%3E%3C/svg%3E") no-repeat 11px center / 15px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .35);
}

/* PhotoSwipe – Kramar izgled */
.pswp { --pswp-bg: #0b0b0d; --pswp-placeholder-bg: #1a1b1f; --pswp-icon-color: #fff; --pswp-icon-color-secondary: rgba(0,0,0,.4); --pswp-icon-stroke-color: rgba(0,0,0,.35); font-family: var(--ak-font); }
.pswp__top-bar { padding: 8px 10px; }
.pswp__button { border-radius: 50%; }
.pswp__button--close, .pswp__button--zoom { width: 46px; height: 46px; margin: 4px; background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.22) !important; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 1 !important; }
.pswp__button--close .pswp__icn, .pswp__button--zoom .pswp__icn { top: 7px; left: 7px; }
.pswp__button--arrow { width: 64px; height: 100px; }
.pswp__button--arrow .pswp__icn { width: 52px; height: 52px; margin-top: -26px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pswp__button--arrow:hover .pswp__icn { background: var(--ak-crvena); border-color: var(--ak-crvena); }
.pswp__counter { font: 700 14px/46px var(--ak-font); opacity: .9; margin-left: 14px; }
.ak-pswp-trake {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; justify-content: safe center; overflow-x: auto;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(0,0,0,.65), rgba(0,0,0,0));
  scrollbar-width: none; transition: opacity .2s;
}
.ak-pswp-trake::-webkit-scrollbar { display: none; }
.ak-pswp-trake button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #222; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.ak-pswp-trake button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ak-pswp-trake button:hover { opacity: .9; }
.ak-pswp-trake button.aktivna { opacity: 1; border-color: var(--ak-crvena); }
.pswp--ui-visible .ak-pswp-trake { opacity: 1; }
.pswp:not(.pswp--ui-visible) .ak-pswp-trake { opacity: 0; pointer-events: none; }
.pswp--zoomed-in .ak-pswp-trake { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .pswp__button--arrow { display: none !important; }
  .ak-pswp-trake button { width: 58px; height: 42px; }
}
html body .okvir_vozilo_podaci > .vozilo_podatak_label:not(:first-child) { border-radius: 0 !important; }

/* ==========================================================================
   STRANICA VOZILA – naslovna kartica preko cijele širine
   ========================================================================== */
.ak-vozilo-naslov {
  position: relative; overflow: hidden; display: flex; align-items: stretch; gap: 28px; margin-bottom: 24px;
  background: #fff; border-radius: calc(var(--ak-r) + 2px); box-shadow: var(--ak-sjena);
  padding: clamp(20px, 2vw, 30px) clamp(20px, 2.4vw, 36px);
}
.ak-vozilo-naslov::before {
  content: ""; position: absolute; right: 270px; top: -30%; width: 220px; height: 160%; background: var(--ak-crvena); opacity: .05;
  clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); pointer-events: none;
}
.ak-vozilo-naslov::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ak-crvena); }
.ak-vozilo-naslov__lijevo { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; position: relative; }
.ak-vozilo-naslov__marka { font: 800 12px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .14em; color: var(--ak-crvena); }
.ak-vozilo-naslov__ime { margin: 0; font: 800 clamp(24px, 2.1vw, 36px)/1.15 var(--ak-font-naslov); color: var(--ak-tekst); letter-spacing: -.01em; }
.ak-vozilo-naslov__ime span { font-weight: 600; color: #4a4e57; }
.ak-vozilo-naslov__cipovi { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ak-vozilo-naslov__cipovi li {
  display: flex; flex-direction: column; gap: 3px; padding: 8px 14px; border-radius: 10px; background: var(--ak-pozadina);
  font: 700 14px/1.1 var(--ak-font-naslov); color: var(--ak-tekst);
}
.ak-vozilo-naslov__cipovi small { font: 600 10.5px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .07em; color: var(--ak-sivo); }
.ak-vozilo-naslov__desno {
  flex: none; width: 300px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 4px;
  padding-left: 28px; border-left: 1px solid var(--ak-linija); position: relative;
}
.ak-vozilo-naslov__cijena-opis { font: 700 11px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .1em; color: var(--ak-sivo); }
.ak-vozilo-naslov__stara { font: 600 15px/1.2 var(--ak-font); color: #9a9ea6; text-decoration: line-through; }
.ak-vozilo-naslov__cijena { font: 900 clamp(28px, 2.4vw, 38px)/1.1 var(--ak-font-naslov); color: var(--ak-crvena); letter-spacing: -.01em; margin-bottom: 10px; white-space: nowrap; }
.ak-vozilo-naslov__desno .ak-btn { height: 44px; font-size: 13px; padding: 0 18px; }
@media (max-width: 1100px) {
  .ak-vozilo-naslov { flex-direction: column; gap: 16px; }
  .ak-vozilo-naslov::before { display: none; }
  .ak-vozilo-naslov__desno { width: auto; align-items: flex-start; text-align: left; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--ak-linija); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
  .ak-vozilo-naslov__cijena-opis { flex-basis: 100%; }
  .ak-vozilo-naslov__cijena { margin: 0; }
  .ak-vozilo-naslov__desno .ak-btn { margin-left: auto; }
}
@media (max-width: 640px) {
  .ak-vozilo-naslov__cipovi li { padding: 7px 10px; font-size: 13px; }
  .ak-vozilo-naslov__desno .ak-btn { width: 100%; margin: 6px 0 0; }
}

/* čipovi u naslovnoj kartici vozila: FA duotone ikonice, ravnomjerno u redu */
.ak-vozilo-naslov__cipovi { gap: 10px; }
.ak-vozilo-naslov__cipovi li {
  flex: 1 1 0; min-width: 140px; flex-direction: row !important; align-items: center; gap: 12px !important;
  padding: 10px 14px !important; background: linear-gradient(180deg, #f7f8fa, #eff1f4) !important; border: 1px solid #e7e9ed;
}
.ak-vozilo-naslov__cipovi li > span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ak-vozilo-naslov__cipovi li > i {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  background: #fff; box-shadow: inset 0 0 0 1px rgba(210, 35, 42, .12), 0 2px 6px rgba(210, 35, 42, .1);
  --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32;
}
@media (max-width: 1100px) { .ak-vozilo-naslov__cipovi li { flex-basis: calc(33.33% - 10px); } }
@media (max-width: 640px) {
  .ak-vozilo-naslov__cipovi li { flex-basis: calc(50% - 5px); min-width: 0; gap: 9px !important; padding: 8px 10px !important; }
  .ak-vozilo-naslov__cipovi li > i { width: 32px; height: 32px; font-size: 15px; border-radius: 9px; }
}
.ak-vozilo-naslov__cipovi li { flex: 1 1 auto; }
.ak-vozilo-naslov__cipovi li > span { white-space: nowrap; }
@media (max-width: 640px) { .ak-vozilo-naslov__cipovi li > span { white-space: normal; } }
.ak-fb-ik { width: 15px; height: 15px; flex: none; }

/* ==========================================================================
   BOČNA KOLONA – dodatne kartice (Zašto Kramar, finansiranje, kontakt)
   ========================================================================== */
html body .opcije { position: static !important; }
.ak-sb { display: grid; gap: 18px; margin-top: 20px; }
.ak-sb__kartica { display: block; background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: 22px; text-decoration: none !important; color: var(--ak-tekst); position: relative; overflow: hidden; }
.ak-sb__naslov { position: relative; padding-left: 22px; font: 800 18px/1.2 var(--ak-font-naslov); margin-bottom: 16px; }
.ak-sb__naslov::before { content: ""; position: absolute; left: 0; top: 2px; width: 10px; height: 18px; background: var(--ak-crvena); clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); }
.ak-sb ul { list-style: none; margin: 0; padding: 0; }
.ak-sb__zasto li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--ak-linija); }
.ak-sb__zasto li:first-child { border-top: 0; padding-top: 0; }
.ak-sb__zasto li > i, .ak-sb__tel > i {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px;
  background: var(--ak-crvena-svijetla); --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32;
}
.ak-sb__zasto li span { font: 400 13px/1.45 var(--ak-font); color: var(--ak-sivo); }
.ak-sb__zasto li b { display: block; font: 700 14.5px/1.3 var(--ak-font-naslov); color: var(--ak-tekst); margin-bottom: 2px; }
.ak-sb__fin { background: linear-gradient(135deg, #d2232a, #a9161c); color: #fff !important; padding: 24px 22px; }
.ak-sb__fin::after { content: ""; position: absolute; right: -40px; top: -30px; width: 170px; height: 200px; background: rgba(255,255,255,.1); clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); }
.ak-sb__fin > span { position: relative; z-index: 1; display: block; }
.ak-sb__fin-mali { font: 700 11px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.ak-sb__fin-veliki { font: 900 22px/1.15 var(--ak-font-naslov); margin: 8px 0 16px; max-width: 220px; }
.ak-sb__fin-dugme {
  display: inline-flex !important; align-items: center; gap: 4px; padding: 10px 14px 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.18) linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%); border: 1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 800 13px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .05em;
}
.ak-sb__fin-dugme svg { width: 17px; height: 17px; }
.ak-sb__fin:hover .ak-sb__fin-dugme { background-color: rgba(255,255,255,.3); }
.ak-sb__tel { display: flex; align-items: center; gap: 12px; font: 900 20px/1 var(--ak-font-naslov); color: var(--ak-tekst) !important; text-decoration: none !important; margin-bottom: 14px; }
.ak-sb__brzo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.ak-sb__brzo a {
  display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 999px; color: #fff !important; text-decoration: none !important;
  font: 800 13px/1 var(--ak-font-naslov); background-image: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%); border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 14px rgba(0,0,0,.12);
}
.ak-sb__brzo .wa { background-color: #25d366; }
.ak-sb__brzo .vb { background-color: #7b519d; }
.ak-sb__info li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font: 500 13.5px/1.35 var(--ak-font); color: #444851; }
.ak-sb__info i { width: 18px; text-align: center; --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32; }
.ak-sb__info a { color: inherit; }
@media (max-width: 1100px) { .ak-sb { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }

/* ==========================================================================
   ANIMIRANI BANER NASLOVNE (isti dizajn: auto, „Znam šta vozim.“, crvena strelica, logo)
   tipovi: .ak-hero--animacija-1 (klizanje), -2 (brzina), -3 (sjaj)
   ========================================================================== */
.ak-hero {
  position: relative; display: block; overflow: hidden; isolation: isolate; text-decoration: none !important; color: var(--ak-tekst);
  aspect-ratio: 3.3 / 1; min-height: 300px; max-height: 500px; width: 100%;
  border-radius: calc(var(--ak-r) + 4px); box-shadow: var(--ak-sjena);
  background: radial-gradient(120% 140% at 30% 50%, #ffffff 0%, #f6f7f9 55%, #eceef2 100%);
}
.ak-hero > span { position: absolute; display: block; }
.ak-hero__auto {
  left: 0; top: 0; bottom: 0; height: 100%; aspect-ratio: 290 / 367; width: auto;
  background: url("/banner.png") no-repeat 0 50% / auto 100%;
  -webkit-mask: linear-gradient(90deg, #000 64%, transparent 100%); mask: linear-gradient(90deg, #000 64%, transparent 100%);
  transform-origin: 30% 60%;
}
.ak-hero__traka { inset: 0; background: linear-gradient(160deg, #e1262d 0%, #c81e25 55%, #a9161c 100%); clip-path: polygon(77% 0, 92% 0, 73% 50%, 92% 100%, 77% 100%, 58% 50%); z-index: 2; }
.ak-hero__traka--sjena { background: rgba(0, 0, 0, .1); clip-path: polygon(92% 0, 94.5% 0, 75.5% 50%, 94.5% 100%, 92% 100%, 73% 50%); z-index: 1; }
.ak-hero__logo { right: 2.2%; top: 50%; width: 17%; transform: translateY(-50%); z-index: 3; mix-blend-mode: multiply; }
.ak-hero__logo img { width: 100%; height: auto; display: block; }
.ak-hero__tekst { left: 26.5%; top: 50%; transform: translateY(-50%); width: 29%; z-index: 4; display: flex !important; flex-direction: column; gap: clamp(10px, 1.2vw, 18px); }
.ak-hero__slogan { position: static !important; font: 900 clamp(28px, 3vw, 58px)/1 var(--ak-font-naslov); letter-spacing: -.03em; color: #1d1e22; white-space: nowrap; }
.ak-hero__slogan span { display: inline-block; }
.ak-hero__kontakt { position: static !important; display: flex !important; gap: clamp(14px, 2vw, 34px); font: 700 clamp(14px, 1.35vw, 24px)/1 var(--ak-font-naslov); color: #34363c; }
.ak-hero__kontakt span + span::before { content: ""; display: inline-block; width: 7px; height: 11px; margin-right: clamp(14px, 2vw, 34px); background: var(--ak-crvena); clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); vertical-align: 1px; }
.ak-hero__cta {
  position: static !important; align-self: flex-start; display: inline-flex !important; align-items: center; gap: 6px;
  padding: 12px 18px 12px 22px; border-radius: 999px; color: #fff; font: 800 clamp(12px, .9vw, 14px)/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .06em;
  background: var(--ak-crvena) linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.08) 48%, rgba(255,255,255,0) 52%);
  border: 1px solid rgba(255,255,255,.45); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 22px rgba(210, 35, 42, .3);
  transition: transform .2s, background-color .2s;
}
.ak-hero__cta svg { width: 18px; height: 18px; }
.ak-hero:hover .ak-hero__cta { background-color: var(--ak-crvena-tamna); transform: translateX(3px); }
.ak-hero__brzina, .ak-hero__sjaj { inset: 0; pointer-events: none; display: none !important; }

/* --- ulazne animacije (svi tipovi) --- */
@keyframes akUlijevo { from { transform: translateX(-12%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes akUdesno { from { transform: translateX(22%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes akGore { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes akPojava { from { opacity: 0; transform: translateY(-50%) scale(.92); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes akKenBurns { from { transform: scale(1); } to { transform: scale(1.06) translateX(1%); } }
.ak-hero__auto { animation: akUlijevo 1s cubic-bezier(.2,.7,.2,1) both, akKenBurns 14s ease-in-out 1s infinite alternate; }
.ak-hero__traka { animation: akUdesno .9s cubic-bezier(.2,.7,.2,1) .15s both; }
.ak-hero__traka--sjena { animation: akUdesno .9s cubic-bezier(.2,.7,.2,1) .25s both; }
.ak-hero__logo { animation: akPojava .7s ease .7s both; }
.ak-hero__slogan span { animation: akGore .7s cubic-bezier(.2,.7,.2,1) both; }
.ak-hero__slogan span:nth-child(1) { animation-delay: .35s; }
.ak-hero__slogan span:nth-child(2) { animation-delay: .5s; }
.ak-hero__slogan span:nth-child(3) { animation-delay: .65s; color: var(--ak-crvena); }
.ak-hero__kontakt, .ak-hero__cta { animation: akGore .7s ease .9s both; }

/* --- animacija 2: Brzina – Kramar strelice jure kroz baner --- */
.ak-hero--animacija-2 .ak-hero__brzina { display: block !important; z-index: 1; overflow: hidden; }
.ak-hero--animacija-2 .ak-hero__brzina i {
  position: absolute; top: 18%; height: 64%; aspect-ratio: .55; left: 100%;
  background: var(--ak-crvena); opacity: .1; clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%);
  animation: akJuri 3.6s linear infinite;
}
.ak-hero--animacija-2 .ak-hero__brzina i:nth-child(2) { animation-delay: .9s; top: 28%; height: 44%; opacity: .07; }
.ak-hero--animacija-2 .ak-hero__brzina i:nth-child(3) { animation-delay: 1.8s; top: 10%; height: 80%; opacity: .06; }
.ak-hero--animacija-2 .ak-hero__brzina i:nth-child(4) { animation-delay: 2.7s; top: 35%; height: 30%; opacity: .12; }
@keyframes akJuri { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 200%)); } }
.ak-hero--animacija-2 .ak-hero__traka { animation: akUdesno .9s cubic-bezier(.2,.7,.2,1) .15s both, akPuls 2.4s ease-in-out 1.2s infinite; }
@keyframes akPuls { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.12) saturate(1.1); } }
.ak-hero--animacija-2 .ak-hero__auto { animation: akUlijevo 1s cubic-bezier(.2,.7,.2,1) both, akVibra 6s ease-in-out 1s infinite; }
@keyframes akVibra { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.2%); } }

/* --- animacija 3: Sjaj – svjetlosni prelaz, logo lebdi --- */
.ak-hero--animacija-3 .ak-hero__sjaj {
  display: block !important; z-index: 5; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%) no-repeat;
  background-size: 60% 100%; animation: akSjaj 5s ease-in-out 1.4s infinite;
}
@keyframes akSjaj { 0% { background-position: -80% 0; } 45%, 100% { background-position: 220% 0; } }
.ak-hero--animacija-3 .ak-hero__logo { animation: akPojava .7s ease .7s both, akLebdi 4s ease-in-out 1.4s infinite; }
@keyframes akLebdi { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(-56%); } }
.ak-hero--animacija-3 .ak-hero__traka { background: linear-gradient(160deg, #e1262d 0%, #ff4a52 40%, #c81e25 60%, #a9161c 100%) 0 0 / 220% 220%; animation: akUdesno .9s cubic-bezier(.2,.7,.2,1) .15s both, akPrelaz 6s ease-in-out 1.2s infinite alternate; }
@keyframes akPrelaz { from { background-position: 0 0; } to { background-position: 100% 100%; } }

/* --- tablet / mobilni --- */
@media (max-width: 1100px) {
  .ak-hero__tekst { left: 25%; width: 33%; }
  .ak-hero__kontakt { flex-direction: column; gap: 6px; }
  .ak-hero__kontakt span + span::before { display: none; }
}
@media (max-width: 700px) {
  .ak-hero { aspect-ratio: 4 / 4.2; max-height: none; min-height: 0; }
  .ak-hero__auto { top: auto; bottom: 0; height: 50%; -webkit-mask: linear-gradient(90deg, #000 72%, transparent), linear-gradient(0deg, #000 75%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(90deg, #000 72%, transparent) intersect, linear-gradient(0deg, #000 75%, transparent); }
  .ak-hero__traka { clip-path: polygon(74% 64%, 88% 64%, 72% 82%, 88% 100%, 74% 100%, 58% 82%); }
  .ak-hero__traka--sjena { display: none !important; }
  .ak-hero__logo { right: auto; left: 6%; top: 7%; width: 44%; transform: none; animation-name: akGore; }
  .ak-hero--animacija-3 .ak-hero__logo { animation: akGore .7s ease .7s both; }
  .ak-hero__tekst { left: 6%; right: 6%; width: auto; top: 27%; transform: none; gap: 12px; }
  .ak-hero__slogan { font-size: clamp(30px, 10.5vw, 46px); white-space: normal; }
  .ak-hero__kontakt { display: none !important; }
  .ak-hero__cta { padding: 10px 14px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .ak-hero *, .ak-hero > span { animation: none !important; }
}
.ak-sakriveno { display: none !important; }

@media (min-width: 1101px) {
  html:not(.ak-sb-spremno) #main .opcije :is(.ak-sb > .ak-sb__kartica, .ak-statistika, .ak-opc) { visibility: hidden; }
}
#main .opcije :is(.ak-sb > .ak-sb__kartica, .ak-statistika, .ak-opc) { animation: akSbPojava .35s ease both; }
@keyframes akSbPojava { from { opacity: 0; } to { opacity: 1; } }

/* oprema vozila: ikonica po stavci (automatski, inc/oprema.php) */
html body .vozilo_dodatna_oprema {
  display: flex !important; align-items: center; gap: 12px; background: none !important; padding: 9px 0 !important;
}
html body .vozilo_dodatna_oprema > i {
  flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 16px;
  background: var(--ak-crvena-svijetla); --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32;
}

/* ==========================================================================
   SADRŽAJNE STRANE v2 – o nama, finansiranje, kontakt
   ========================================================================== */
.ak-str { display: grid; gap: 22px; }
.ak-str section { margin: 0; }
.ak-str__kartica, .ak-str__uvod { background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: clamp(22px, 2.4vw, 36px); font: 400 15.5px/1.75 var(--ak-font); color: #3a3d44; position: relative; overflow: hidden; }
.ak-str__kartica p { margin: 0; }
.ak-str__kartica a { color: var(--ak-crvena); font-weight: 600; }
.ak-str__uvod { background: linear-gradient(120deg, #fff 55%, #fdf0f0); }
.ak-str__uvod::after { content: ""; position: absolute; right: -50px; top: -20%; width: 260px; height: 140%; background: var(--ak-crvena); opacity: .06; clip-path: polygon(55% 0, 100% 0, 45% 50%, 100% 100%, 55% 100%, 0 50%); }
.ak-str__oznaka { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--ak-font-naslov); text-transform: uppercase; letter-spacing: .12em; color: var(--ak-crvena); margin-bottom: 12px; --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .35; }
.ak-str__lead { margin: 0; font: 500 clamp(17px, 1.35vw, 21px)/1.6 var(--ak-font); color: var(--ak-tekst); max-width: 900px; position: relative; z-index: 1; }
.ak-str__h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 800 clamp(19px, 1.5vw, 24px)/1.25 var(--ak-font-naslov); color: var(--ak-tekst); }
.ak-str__h2 > i, .ak-str__prednost > i, .ak-fin__ikona > i, .ak-kk > i {
  flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px;
  background: var(--ak-crvena-svijetla); --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32;
}
.ak-str__mali { font-size: 14.5px; color: var(--ak-sivo); margin-bottom: 12px !important; }
.ak-str__dvije { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ak-str__prednosti { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ak-str__prednost { background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.ak-str__prednost > i { margin-bottom: 8px; }
.ak-str__prednost b { font: 800 15.5px/1.3 var(--ak-font-naslov); color: var(--ak-tekst); }
.ak-str__prednost span { font: 400 13.5px/1.45 var(--ak-font); color: var(--ak-sivo); }
/* vremenska linija */
.ak-vremeplov { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.ak-vremeplov::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 3px; background: linear-gradient(90deg, var(--ak-crvena), #f2a3a6); border-radius: 3px; }
.ak-vremeplov li { position: relative; padding: 0 14px 0 0; display: flex; flex-direction: column; gap: 10px; }
.ak-vremeplov b { position: relative; z-index: 1; align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: var(--ak-crvena); color: #fff; font: 900 15px/1 var(--ak-font-naslov); box-shadow: 0 0 0 5px #fff, 0 6px 14px rgba(210, 35, 42, .25); }
.ak-vremeplov span { font: 400 13.5px/1.55 var(--ak-font); color: #4a4e57; }
/* finansiranje */
.ak-fin__ikona { position: absolute; right: 22px; top: 22px; }
.ak-fin .ak-str__h2 { padding-right: 60px; }
.ak-fin__brojke { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ak-fin__brojke div { background: var(--ak-pozadina); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.ak-fin__brojke b { font: 900 clamp(18px, 1.5vw, 24px)/1.1 var(--ak-font-naslov); color: var(--ak-crvena); }
.ak-fin__brojke span { font: 600 12px/1.2 var(--ak-font); color: var(--ak-sivo); text-transform: uppercase; letter-spacing: .05em; }
.ak-lista { list-style: none; margin: 0; padding: 0; }
.ak-lista li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--ak-linija); font-size: 14.5px; color: var(--ak-tekst); }
.ak-lista li:first-child { border-top: 0; }
.ak-lista li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--ak-crvena-svijetla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d2232a' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 12px; }
.ak-lista--2 { columns: 2; column-gap: 32px; }
.ak-lista--2 li { break-inside: avoid; }
.ak-ev { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #0f2a1c, #145a36 60%, #1c7a48); color: #e6f4ec; }
.ak-ev .ak-str__h2 { color: #fff; }
.ak-ev .ak-str__oznaka { color: #7ee2a8; --fa-primary-color: #7ee2a8; --fa-secondary-color: #7ee2a8; }
.ak-ev .ak-str__mali { color: #b9dcc7; }
.ak-ev__stope { display: grid; gap: 12px; }
.ak-ev__stope div { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 14px 18px; border-radius: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ak-ev__stope b { font: 900 32px/1 var(--ak-font-naslov); color: #fff; }
.ak-ev__stope small { font-size: 15px; margin-left: 2px; opacity: .8; }
.ak-ev__stope span { font-size: 13.5px; line-height: 1.45; color: #d6eee0; }
.ak-str__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 24px clamp(22px, 2.4vw, 36px); border-radius: var(--ak-r); background: var(--ak-crna); color: #c9ccd2; }
.ak-str__cta > div { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 4px; }
.ak-str__cta b { font: 800 19px/1.3 var(--ak-font-naslov); color: #fff; }
.ak-btn--svijetla { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.3); }
.ak-btn--svijetla:hover { background: rgba(255,255,255,.2); }
/* kontakt */
.ak-kontakt-red { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.ak-kk { display: grid !important; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: 16px 18px; text-decoration: none !important; color: var(--ak-tekst) !important; transition: transform .2s, box-shadow .2s; min-width: 0; }
a.ak-kk:hover { transform: translateY(-2px); box-shadow: var(--ak-sjena-hover); }
.ak-kk > i { grid-row: 1 / span 2; }
.ak-kk small { font: 700 11px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .08em; color: var(--ak-sivo); align-self: end; }
.ak-kk b { font: 800 14.5px/1.3 var(--ak-font-naslov); align-self: start; margin-top: 4px; overflow-wrap: anywhere; }
html body .okvir2 .div_50w_100m { float: left; width: calc(50% - 18px) !important; margin-right: 36px !important; }
html body .okvir2 .div_50w_100m + .div_50w_100m { margin-right: 0 !important; }
html body .okvir2:has(#forma) { overflow: hidden !important; }
html body #forma .okvir_label { padding-top: 14px !important; }
html body #forma br { display: none; }
html body #forma .g-recaptcha { margin-top: 18px; }
.ak-firma { display: grid; grid-template-columns: auto 1fr; margin: 6px 0 0; border-top: 1px solid var(--ak-linija); }
.ak-firma dt, .ak-firma dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--ak-linija); font-size: 14.5px; }
.ak-firma dt { font: 700 12px/1.5 var(--ak-font); text-transform: uppercase; letter-spacing: .06em; color: var(--ak-sivo); padding-right: 20px; padding-top: 13px; }
.ak-firma dd { font-weight: 600; color: var(--ak-tekst); text-align: right; }
.ak-firma a { color: var(--ak-crvena); }
.ak-firma__brzo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ak-firma__brzo a { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 999px; color: #fff !important; text-decoration: none !important; font: 800 14px/1 var(--ak-font-naslov); background-image: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,0) 55%); border: 1px solid rgba(255,255,255,.4); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 14px rgba(0,0,0,.12); }
.ak-firma__brzo .wa { background-color: #25d366; }
.ak-firma__brzo .vb { background-color: #7b519d; }
@media (max-width: 1300px) { .ak-kontakt-red { grid-template-columns: 1fr 1fr; } .ak-vremeplov { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } .ak-vremeplov::before { display: none; } }
@media (max-width: 1100px) { .ak-str__prednosti { grid-template-columns: 1fr 1fr; } .ak-ev { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .ak-str__dvije { grid-template-columns: 1fr; }
  .ak-lista--2 { columns: 1; }
  html body .okvir2 .div_50w_100m { float: none; width: 100% !important; margin: 0 0 28px !important; }
}
@media (max-width: 560px) {
  .ak-str__prednosti, .ak-kontakt-red { grid-template-columns: 1fr; }
  .ak-vremeplov { grid-template-columns: 1fr; }
  .ak-vremeplov li { flex-direction: row; align-items: flex-start; gap: 14px; }
  .ak-fin__brojke { grid-template-columns: 1fr; }
  .ak-ev__stope b { font-size: 26px; }
}
.ak-kontakt-red { grid-template-columns: 1fr 1.35fr 1.1fr 1fr; }
.ak-kk b { overflow-wrap: normal; word-break: normal; }
@media (max-width: 1500px) { .ak-kk b { font-size: 13.5px; } }
.ak-lista--2 li { border-top: 0; border-bottom: 1px solid var(--ak-linija); }

/* ==========================================================================
   FOTO GALERIJA
   ========================================================================== */
.ak-gal { columns: 4 300px; column-gap: 16px; margin-top: 12px; }
.ak-gal__sl { position: relative; display: block; margin: 0 0 16px; break-inside: avoid; border-radius: var(--ak-r); overflow: hidden; box-shadow: var(--ak-sjena); background: #e9eaed; }
.ak-gal__sl img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.ak-gal__sl:hover img { transform: scale(1.04); }
.ak-gal__sl span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; color: #fff; font: 600 13.5px/1.35 var(--ak-font); background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); }
.ak-pswp-opis { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); max-width: min(90vw, 760px); padding: 10px 16px; border-radius: 12px; color: #fff; font: 600 14px/1.4 var(--ak-font); text-align: center; background: rgba(0,0,0,.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ak-gal-prazno { margin-top: 12px; background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: clamp(36px, 5vw, 70px) 24px; text-align: center; color: var(--ak-sivo); }
.ak-gal-prazno > i { font-size: 54px; --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .3; }
.ak-gal-prazno h2 { margin: 16px 0 8px; font: 800 clamp(22px, 2vw, 30px)/1.2 var(--ak-font-naslov); color: var(--ak-tekst); }
.ak-gal-prazno p { margin: 0 auto 22px; max-width: 560px; font-size: 15.5px; line-height: 1.6; }
.ak-gal-prazno > div { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ak-btn--obrub-tamni { border-color: var(--ak-linija); color: var(--ak-tekst) !important; background: #fff; }
.ak-btn--obrub-tamni:hover { border-color: var(--ak-crna); }

/* kontakt: mapa preko cijele širine na dnu */
.ak-mapa { position: relative; margin-top: 28px; border-radius: calc(var(--ak-r) + 4px); overflow: hidden; box-shadow: var(--ak-sjena); background: #e9eaed; min-height: 480px; }
.ak-mapa__iframe { display: block; width: 100%; height: 520px; border: 0; }
.ak-mapa__kartica {
  position: absolute; left: 24px; top: 24px; bottom: 24px; width: 360px; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: var(--ak-r); background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 18px 50px rgba(16,18,24,.18); overflow-y: auto;
}
.ak-mapa__kartica h2 { margin: 0; font: 800 24px/1.2 var(--ak-font-naslov); color: var(--ak-tekst); }
.ak-mapa__kartica p { margin: 0; font: 500 15px/1.5 var(--ak-font); color: #3a3d44; }
.ak-mapa__radno { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ak-linija); border-bottom: 1px solid var(--ak-linija); }
.ak-mapa__radno small { display: block; color: var(--ak-sivo); font-size: 13px; }
.ak-mapa__radno i, .ak-mapa__opcije i { --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .32; }
.ak-mapa__radno i { margin-top: 3px; }
.ak-mapa__glavno { margin-top: auto; height: 50px; font-size: 14.5px; }
.ak-mapa__glavno i { font-size: 16px; }
.ak-mapa__opcije { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ak-mapa__opcije a {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 999px; text-decoration: none !important;
  font: 700 13px/1 var(--ak-font-naslov); color: var(--ak-tekst) !important;
  background: rgba(255,255,255,.7) linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.4)); border: 1px solid #e3e5e9; box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(16,18,24,.06);
}
.ak-mapa__opcije a:hover { border-color: var(--ak-crvena); color: var(--ak-crvena) !important; }
@media (max-width: 760px) {
  .ak-mapa { display: flex; flex-direction: column-reverse; min-height: 0; }
  .ak-mapa__kartica { position: static; width: auto; border-radius: 0; background: #fff; box-shadow: none; }
  .ak-mapa__iframe { height: 340px; }
}
.ak-kk { grid-template-columns: 44px minmax(0, 1fr) !important; }
@media (max-width: 760px) { .ak-kk b { overflow-wrap: anywhere; } }
.ak-mapa__radno { flex-wrap: wrap; }
.ak-mapa__radno small { flex-basis: 100%; padding-left: 26px; margin-top: -4px; }

/* finansiranje: sajtovi partnera i napomena ispod kartica (sadržaj iz admina, inc/finansiranje.php) */
.ak-fin__partneri { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; color: var(--ak-sivo); }
.ak-fin__partneri > span[aria-hidden] { display: none; }
.ak-str__kartica .ak-fin__partneri a { display: inline-flex; align-items: center; padding: 4px 11px; border: 1px solid var(--ak-linija); border-radius: 999px; background: #fff; color: var(--ak-tekst); font: 600 12.5px/1.2 var(--ak-font); text-decoration: none; transition: color .15s, border-color .15s; }
.ak-str__kartica .ak-fin__partneri a:hover { color: var(--ak-crvena); border-color: var(--ak-crvena); }
.ak-fin-napomena { margin: 0 !important; font-size: 13px; line-height: 1.5; color: var(--ak-sivo); }

/* ==========================================================================
   NAPREDNA PRETRAGA
   ========================================================================== */
.ak-np-dugme {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; margin-right: 8px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ak-linija); background: var(--ak-pozadina); color: var(--ak-tekst); font: 700 14px/1 var(--ak-font-naslov); white-space: nowrap;
  --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; --fa-secondary-opacity: .35; transition: background .15s, border-color .15s, color .15s;
}
.ak-np-dugme:hover, .ak-np-dugme.aktivno { background: #fff; border-color: var(--ak-crvena); color: var(--ak-crvena); }
.ak-np-dugme i { font-size: 16px; }
.ak-napredna { margin: 14px 0 6px; animation: akNpOtvori .25s ease; }
.ak-napredna[hidden] { display: none; }
@keyframes akNpOtvori { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ak-np {
  background: #fff; border-radius: calc(var(--ak-r) + 2px); box-shadow: var(--ak-sjena); padding: clamp(18px, 2vw, 28px);
  display: grid; gap: 18px; font-family: var(--ak-font);
}
.ak-np__red { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ak-np__red--glavni { grid-template-columns: 2fr 1fr 1fr; }
.ak-np__polje { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ak-np__polje > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 700 11.5px/1 var(--ak-font); text-transform: uppercase; letter-spacing: .08em; color: var(--ak-sivo); }
.ak-np input[type=text], .ak-np select {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--ak-linija); border-radius: var(--ak-r-sm); background: #fafbfc;
  font: 500 15px var(--ak-font); color: var(--ak-tekst); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; min-width: 0;
}
.ak-np select { -webkit-appearance: none; appearance: none; padding-right: 36px; background: #fafbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7079' d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; }
.ak-np input[type=text]:focus, .ak-np select:focus { border-color: var(--ak-crvena); box-shadow: 0 0 0 3px rgba(210, 35, 42, .12); background-color: #fff; }
.ak-np select:disabled { opacity: .55; }
.ak-np__raspon > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ak-np__jedinica { display: inline-flex; background: var(--ak-pozadina); border-radius: 999px; padding: 2px; text-transform: none; letter-spacing: 0; }
.ak-np__jedinica label, .ak-np__cipovi label { position: relative; cursor: pointer; }
.ak-np__jedinica input, .ak-np__cipovi input { position: absolute; opacity: 0; pointer-events: none; }
.ak-np__jedinica b { display: block; padding: 4px 9px; border-radius: 999px; font: 700 11px/1 var(--ak-font); color: var(--ak-sivo); }
.ak-np__jedinica input:checked + b { background: #fff; color: var(--ak-crvena); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.ak-np__cipovi { display: flex; flex-wrap: wrap; gap: 8px; }
.ak-np__cipovi b {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ak-linija); background: #fafbfc;
  font: 600 14px/1 var(--ak-font); color: var(--ak-tekst); transition: background .15s, border-color .15s, color .15s;
}
.ak-np__cipovi label:hover b { border-color: #c9ccd2; }
.ak-np__cipovi input:checked + b { background: var(--ak-crvena) linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%); border-color: var(--ak-crvena); color: #fff; box-shadow: 0 4px 12px rgba(210, 35, 42, .25); }
.ak-np__cipovi input:focus-visible + b, .ak-np__jedinica input:focus-visible + b { outline: 2px solid var(--ak-crvena); outline-offset: 2px; }
.ak-np__dno { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 6px; border-top: 1px solid var(--ak-linija); }
.ak-np__ponisti { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 0; background: none; cursor: pointer; font: 700 14px/1 var(--ak-font-naslov); color: var(--ak-sivo); --fa-primary-color: #6b7079; --fa-secondary-color: #6b7079; }
.ak-np__ponisti:hover { color: var(--ak-crvena); }
.ak-np__trazi { height: 50px; padding: 0 28px; font-size: 15px; }
.ak-np__trazi i { font-size: 15px; }
.ak-np-strana { margin-top: 6px; }
.ak-np-marke { margin-top: 22px; background: #fff; border-radius: var(--ak-r); box-shadow: var(--ak-sjena); padding: 22px; }
.ak-np-marke__naslov { font: 800 16px/1.2 var(--ak-font-naslov); margin-bottom: 4px; }
/* rezultati: čipovi kriterijuma */
.ak-rez { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 16px; }
.ak-rez__cip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--ak-linija); font: 600 13.5px/1 var(--ak-font); color: var(--ak-tekst); }
.ak-rez__izmijeni { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--ak-crvena-svijetla); color: var(--ak-crvena) !important; font: 700 13px/1 var(--ak-font-naslov); text-decoration: none !important; --fa-primary-color: #d2232a; --fa-secondary-color: #d2232a; }
@media (max-width: 900px) { .ak-np__red--glavni { grid-template-columns: 1fr 1fr; } .ak-np__red--glavni .ak-np__polje--siroko { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .ak-np-dugme span { display: none; }
  .ak-np-dugme { width: 50px; padding: 0; justify-content: center; margin-right: 6px; }
  .ak-np__red, .ak-np__red--glavni { grid-template-columns: 1fr; }
  .ak-np__dno { flex-direction: column-reverse; align-items: stretch; }
  .ak-np__trazi { width: 100%; }
}
html body .ak-np label { background: none !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; width: auto !important; height: auto !important; float: none !important; font-weight: inherit; }
html body .ak-np__jedinica label b { font-size: 11px !important; }
.ak-np__polje > span { min-height: 24px; }
html body .brza_trazilica_input { min-width: 0 !important; }
@media (max-width: 1300px) { .ak-kontakt-red { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ak-kontakt-red { grid-template-columns: minmax(0, 1fr); } }
