*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #33363d;
  --navy-light: #424651;
  --accent: #f08b31;
  --accent-dark: #d97824;
  --teal: #27c3ca;
  --bg: #3c3f45;
  --card-bg: #464a52;
  --text: #f2f6f9;
  --text-muted: #b5bec9;
  --radius: 14px;
  --cards-gap: 20px;
}

body {
  font-family: 'Ubuntu', 'Segoe UI', sans-serif;
  background:
    radial-gradient(1200px 560px at 8% -16%, rgba(240, 139, 49, 0.22), transparent 58%),
    radial-gradient(900px 480px at 92% -10%, rgba(39, 195, 202, 0.2), transparent 54%),
    radial-gradient(980px 620px at 50% 120%, rgba(187, 217, 74, 0.12), transparent 62%),
    linear-gradient(180deg, #3f4248 0%, #32343b 100%);
  color: var(--text);
  text-transform: uppercase;
}

body.modal-open {
  overflow: hidden;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .search-bar input {
  text-align: right;
}

html[dir="rtl"] .btn-tel,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .lang-switcher {
  direction: ltr;
}

html {
  scroll-behavior: smooth;
}

header {
  background: rgba(43, 45, 51, 0.94);
  color: #fff;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 82px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
header .logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
header .logo .logo-image,
.footer-brand .logo-image {
  width: clamp(112px, 13vw, 176px);
  height: auto;
  border-radius: 10px;
  display: block;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 8px 22px rgba(0,0,0,0.34);
}
.brand-copy-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
header .logo .logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 30% 25%, #ff727a 0%, var(--accent) 46%, var(--accent-dark) 100%);
  box-shadow: 0 0 0 0 rgba(230,57,70,0.55);
  animation: glowPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
header .logo .logo-mark::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  margin-left: 3px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.65));
  position: relative;
  z-index: 1;
}
header .logo .logo-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    var(--accent) 0deg,
    rgba(230,57,70,0.15) 120deg,
    #fff 180deg,
    rgba(230,57,70,0.15) 240deg,
    var(--accent) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spinRing 2.8s linear infinite;
  pointer-events: none;
}
header .logo .logo-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1;
}
header .logo .logo-name .logo-accent {
  font-style: normal;
  color: var(--accent);
}
header .logo .logo-name .logo-secondary {
  color: #fff;
}
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,255,255,0.16), 0 0 18px rgba(230,57,70,0.5); }
  50% { box-shadow: 0 0 0 3px rgba(255,255,255,0.22), 0 0 30px rgba(230,57,70,0.85); }
}
header nav a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin-left: 24px;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
header nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
header nav a:hover { color: #fff; }
header nav a:hover::after { width: 100%; }
header .btn-post {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: .875rem;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 10px rgba(230,57,70,.35);
  white-space: nowrap;
  text-decoration: none;
}
header .btn-post:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(230,57,70,.45);
}
.btn-tel {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  gap: 7px;
}
.btn-tel .tel-short {
  display: none;
  align-items: center;
  justify-content: center;
}
.btn-tel .tel-full {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.btn-tel:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}
.icon-line {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 80px;
  text-align: center;
  color: #fff;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero.full-map {
  min-height: calc(100vh - 82px);
  padding: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 24, 44, 0.82) 0%,
    rgba(22, 48, 82, 0.68) 55%,
    rgba(10, 24, 44, 0.78) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 1px;
  line-height: 1.25;
  text-shadow: 0 0 28px rgba(230,57,70,.45), 0 2px 18px rgba(0,0,0,.55);
  text-transform: uppercase;
}
.hero-highlight {
  color: var(--accent);
}
.hero-cursor {
  display: inline-block;
  width: 3px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: middle;
  border-radius: 2px;
  height: 0.85em;
  animation: cursorBlink 0.75s step-end infinite;
  box-shadow: 0 0 8px var(--accent);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero p { font-size: 1.05rem; opacity: .8; margin-bottom: 20px; }
.zamjena-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
  letter-spacing: 0.3px;
  animation: pillFloat 3s ease-in-out infinite;
}
.zamjena-pill em {
  font-style: normal;
  color: #fbbf24;
  font-size: 1.05em;
}
@keyframes pillFloat {
  0%,100% { transform: translateY(0); box-shadow: 0 4px 20px rgba(251,191,36,0.15); }
  50% { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(251,191,36,0.30); }
}
.usp-strip {
  background: #2e3137;
  color: #fff;
  padding: 0;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}
.usp-track {
  display: flex;
  width: max-content;
  animation: uspScroll 36s linear infinite;
  padding: 14px 0;
  gap: 0;
  will-change: transform;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
}
.usp-track:hover { animation-play-state: paused; }
.usp-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 36px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.usp-item-link {
  cursor: pointer;
  transition: opacity .2s;
}
.usp-item-link:hover {
  opacity: .8;
}
.usp-item .usp-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.usp-item .usp-thumb {
  height: 32px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.8);
}
.usp-item strong { color: #fbbf24; }
@keyframes uspScroll {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}
.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
}
.search-bar button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 16px 22px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-bar button:hover { background: var(--accent-dark); }

.card .card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  pointer-events: none;
}

.seller-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.seller-row--compact {
  margin-bottom: 8px;
}

.seller-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(230, 57, 70, 0.18);
  background: #e5e7eb;
}

.seller-avatar--sm {
  width: 28px;
  height: 28px;
}

.seller-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.seller-avatar-wrap--overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
}

html body .slide-discount-badge {
  display: none!important
}

.seller-avatar-trigger {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  display: inline-flex;
  position: relative;
  cursor: pointer;
}

html body .seller-avatar-overlay {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #fff;
  background: #e5e7eb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.seller-status-lamp {
  position: absolute;
  top: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
  box-sizing: border-box;
}

.seller-status-lamp.is-online {
  background: #0deb5e;
}

.seller-status-lamp.is-offline {
  background: #ff0000;
}

.seller-contact-pop {
  position: absolute;
  right: calc(100% + 8px);
  bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px) scale(.96);
  transform-origin: right center;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
}

.seller-contact-trigger-wrap.is-open .seller-contact-pop,
.seller-contact-trigger-wrap:focus-within .seller-contact-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.seller-contact-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1d3557;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease;
}

.seller-contact-btn .icon-line {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.seller-contact-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.seller-contact-phone {
  background: var(--accent);
}

.seller-contact-whatsapp {
  background: #25d366;
}

.seller-contact-viber {
  background: #7360f2;
}

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

.seller-name {
  font-size: .72rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.seller-meta {
  font-size: .68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1024px) {
  :root { --cards-gap: 16px; }
}

@media (max-width: 720px) {
  :root { --cards-gap: 16px; }
}

.categories-wrap {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 16px;
}
.categories-shell {
  background: linear-gradient(180deg, rgba(74, 78, 88, 0.95) 0%, rgba(66, 70, 79, 0.9) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  overflow: clip;
}
.categories-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #eaf0f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .2s ease, box-shadow .2s ease;
}
.categories-toggle:hover {
  background: rgba(255,255,255,.05);
}
.categories-toggle:focus-visible {
  outline: 3px solid rgba(230,57,70,.22);
  outline-offset: -3px;
}
.categories-toggle-icon,
.categories-toggle-chevron {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.categories-toggle-icon {
  background: rgba(230,57,70,.12);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(230,57,70,.12);
}
.categories-toggle-chevron {
  background: rgba(29,53,87,.07);
  color: var(--navy);
  transition: background .2s ease, color .2s ease, transform .24s ease;
}
.categories-toggle-icon svg,
.categories-toggle-chevron svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.categories-toggle-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.categories-toggle-label {
  font-size: .72rem;
  letter-spacing: .12em;
  color: #c0cad6;
}
.categories-toggle-value {
  font-size: .98rem;
  font-weight: 800;
  color: #f3f7fb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.categories-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height .32s cubic-bezier(.22,.61,.36,1), opacity .22s ease, padding .32s cubic-bezier(.22,.61,.36,1), border-color .2s ease;
  padding: 0 18px;
  border-top: 1px solid transparent;
}
.categories-shell.is-open .categories-panel {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
  padding: 16px 18px 18px;
  border-top-color: rgba(29,53,87,.08);
}
.categories-shell.is-open .categories-toggle-chevron {
  color: #fff;
  background: var(--navy);
  transform: rotate(180deg);
}
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  appearance: none;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color .2s cubic-bezier(.25,.46,.45,.94), background .2s cubic-bezier(.25,.46,.45,.94), box-shadow .2s cubic-bezier(.25,.46,.45,.94);
  white-space: nowrap;
  color: #f1f6fb;
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
}
.chip:hover {
  border-color: rgba(39,195,202,.58);
  background: rgba(39,195,202,.13);
}
.chip:focus-visible {
  outline: 3px solid rgba(230,57,70,.2);
  outline-offset: 2px;
}
.chip.active {
  background: rgba(39,195,202,.2);
  color: #fff;
  border-color: rgba(39,195,202,.7);
  box-shadow: 0 3px 12px rgba(39,195,202,.28);
}

.section-title {
  max-width: 1200px;
  margin: 36px auto 4px;
  padding: 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #c2dc58;
  display: flex;
  align-items: baseline;
  gap: 10px;
  scroll-margin-top: 96px;
}
.section-title small {
  font-size: .8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--cards-gap);
  max-width: 1200px;
  margin: 16px auto 40px;
  padding: 0 16px;
}

/* Three-column listings layout with side adbars */
.index-page-outer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1200px) minmax(0, 1fr);
  column-gap: 20px;
  padding: 0 20px;
}

.index-main-content {
  width: 100%;
}

.index-main-content .categories-wrap,
.index-main-content .section-title,
.index-main-content .grid {
  max-width: none;
}

.index-ad-col {
  display: none;
  padding: 0;
}

.index-ad-col.public-hidden {
  display: none;
}

.index-ad-sticky {
  position: sticky;
  top: 96px;
  height: calc(100vh - 116px);
  max-height: 860px;
  min-height: 320px;
}

.index-ad-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    radial-gradient(100% 72% at 50% 0%, rgba(240, 139, 49, 0.14), transparent 62%),
    radial-gradient(88% 60% at 50% 100%, rgba(39, 195, 202, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(70,74,82,0.96) 0%, rgba(54,58,66,0.96) 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
  overflow: auto;
  padding: 1.05rem .95rem .95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
}

.index-ad-admin-controls {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.index-ad-admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-width: 170px;
  border-radius: 999px;
  padding: .28rem .56rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  justify-content: flex-start;
  transform: none;
  transition: background .2s ease, border-color .2s ease, opacity .2s ease, color .2s ease;
}

.index-ad-admin-toggle:hover,
.index-ad-admin-toggle:active,
.index-ad-admin-toggle:focus-visible {
  transform: none;
}

.index-ad-admin-toggle .switch-text {
  line-height: 1;
}

.index-ad-admin-toggle .switch-track {
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.35);
  position: relative;
  flex-shrink: 0;
}

.index-ad-admin-toggle .switch-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 1px;
  box-shadow: 0 1px 4px rgba(0,0,0,.35);
  transition: left .2s ease;
}

.index-ad-admin-toggle.active .switch-track {
  background: rgba(39, 195, 202, 0.36);
  border-color: rgba(39, 195, 202, 0.9);
}

.index-ad-admin-toggle.active .switch-thumb {
  left: 17px;
}

.index-ad-admin-toggle.inactive .switch-track {
  background: rgba(240, 139, 49, 0.16);
  border-color: rgba(240, 139, 49, 0.66);
}

.index-ad-admin-toggle:disabled {
  opacity: .55;
  cursor: wait;
}

.index-ad-col.ad-is-off .index-ad-placeholder {
  border-style: dashed;
  opacity: .76;
}

.index-ad-logo {
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.index-ad-copy {
  color: #d9e2ec;
  font-size: .9rem;
  line-height: 1.56;
  text-align: center;
  width: 100%;
  max-width: 360px;
  text-transform: none;
}

.index-ad-heading {
  margin: 0 0 .35rem;
  color: #f5f8fd;
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.index-ad-copy p {
  margin: 0 0 .7rem;
}

.index-ad-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: .5rem;
}

.index-ad-list li {
  overflow-wrap: anywhere;
}

.index-ad-reklama-slot {
  width: 100%;
}

.index-ad-reklama-card {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  background: rgba(34, 38, 46, 0.92);
  padding: .55rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.3);
}

.index-ad-reklama-image {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #2b2e34;
}

.index-ad-reklama-title {
  margin: .55rem 0 .1rem;
  text-align: center;
  color: #f2f6f9;
  font-size: .86rem;
  letter-spacing: .02em;
  text-transform: none;
}

.index-ad-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.5rem;
}

.index-ad-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.index-ad-social-link:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.18);
  box-shadow: 0 6px 14px rgba(0,0,0,.24);
}

.index-ad-social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.24);
}

.index-ad-social-link svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.index-ad-social-link[aria-label="Facebook"] svg,
.index-ad-social-link[aria-label="YouTube"] svg {
  fill: currentColor;
  stroke: none;
}

.index-ad-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 44px;
  border-radius: 14px;
  position: relative;
  border: 1px solid rgba(240, 139, 49, 0.86);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  text-decoration: none;
  font-family: 'Ubuntu', sans-serif;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 9px 18px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.14) inset;
  transition: box-shadow .2s ease, filter .2s ease, border-color .2s ease;
  overflow: hidden;
}

.index-ad-cta:hover {
  box-shadow: 0 12px 22px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.2) inset;
  filter: brightness(1.04);
  border-color: rgba(255,255,255,.6);
}

.index-ad-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 139, 49, 0.32), 0 10px 18px rgba(0,0,0,.36);
}

@media (max-width: 1659px) {
  .index-page-outer {
    display: block;
    padding: 0;
  }
}

@media (min-width: 1660px) {
  .index-page-outer {
    grid-template-columns: minmax(230px, 1fr) minmax(0, 1200px) minmax(230px, 1fr);
  }

  .index-ad-col {
    display: block;
  }

  .index-ad-col.public-hidden {
    display: block;
  }

  .index-ad-col.public-hidden .index-ad-sticky {
    visibility: hidden;
    pointer-events: none;
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 26px rgba(0,0,0,.26);
  transition: box-shadow .28s cubic-bezier(.25,.46,.45,.94);
  cursor: pointer;
  position: relative;
}
.card:hover {
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
}
.card .img-wrap {
  position: relative;
  overflow: hidden;
  height: 170px;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.card:hover img { transform: none; }
.card-body { padding: 13px 15px 16px; }

.card-body .seller-row {
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-body h3 {
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.card-body .price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.card-body .meta {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}
.badge-new, .badge-urgent {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.badge-new { background: var(--teal); color: #fff; }
.badge-urgent { background: var(--accent); color: #fff; }
.fav-btn {
  position: absolute;
  top: 8px;
  right: 10px;
  background: rgba(40,43,50,.86);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  box-shadow: 0 1px 6px rgba(0,0,0,.12);
}
.fav-btn:hover {
  background: rgba(57,61,70,.96);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.fav-btn.active {
  background: var(--accent);
  color: #fff;
}

.fade-delay-0 { transition-delay: 0ms; }
.fade-delay-1 { transition-delay: 40ms; }
.fade-delay-2 { transition-delay: 80ms; }
.fade-delay-3 { transition-delay: 120ms; }
.fade-delay-4 { transition-delay: 160ms; }
.fade-delay-5 { transition-delay: 200ms; }
.fade-delay-6 { transition-delay: 240ms; }
.fade-delay-7 { transition-delay: 280ms; }

.hero-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-toggle-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.55);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.hero-toggle-btn:not(.active):hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  box-shadow: 0 0 16px rgba(255,255,255,.3);
}
.hero-toggle-btn:not(.active) {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(230,57,70,0.7);
  animation: togglePulse 1.8s ease-out infinite;
}
.hero-toggle-btn.active {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.55);
  box-shadow: none;
  animation: none;
  pointer-events: none;
  cursor: default;
  transform: none;
}
@keyframes togglePulse {
  0% { box-shadow: 0 0 0 0 rgba(230,57,70,0.65); }
  70% { box-shadow: 0 0 0 14px rgba(230,57,70,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); }
}
.hero::before { transition: opacity 0.5s ease; }
.hero.video-mode::before { opacity: 0.2; }
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero.video-mode .hero-inner {
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}
.hero-play-icon {
  width: 26px;
  height: 26px;
}
.ai-stamp {
  position: fixed;
  z-index: 1;
}
.ai-stamp-icon {
  font-size: 1.5rem;
  line-height: 1;
  animation: botPulse 1.8s ease-in-out infinite;
}
.ai-stamp-label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.3;
  text-align: center;
}
.ai-stamp-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
@keyframes spinRing {
  to { transform: rotate(360deg); }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.0); }
  50% { box-shadow: 0 0 18px 6px rgba(230,57,70,0.45); }
}
@keyframes botPulse {
  0%, 100% { filter: brightness(1); box-shadow: 0 0 0 0 rgba(230,57,70,0.2); }
  50% { filter: brightness(1.3); box-shadow: 0 0 12px 4px rgba(230,57,70,0.4); }
}

.map-pin {
  background: #e63946;
  color: #fff;
  border-radius: 50% 50% 50% 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.map-pin-label {
  transform: rotate(45deg);
}
.map-popup {
  min-width: 180px;
}
.map-popup img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}
.map-popup strong {
  font-size: .9rem;
}

.map-popup .seller-row {
  margin-bottom: 8px;
}

.map-popup-price {
  color: #e63946;
  font-weight: 700;
}
.map-popup-city {
  float: right;
  font-size: .75rem;
  color: #888;
}

footer {
  background: #2b2d33;
  color: #c1cad4;
  text-align: center;
  padding: 32px 16px;
  font-size: .85rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
footer strong { color: #fff; }
footer a { color: #60a5fa; text-decoration: none; }
footer a:hover { color: #93c5fd; }
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-inner p + p { margin-top: 6px; }
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: inherit;
  line-height: 1;
  vertical-align: middle;
}
.footer-contact .icon-line {
  width: 0.95em;
  height: 0.95em;
  stroke-width: 2;
}
.footer-contact a,
.footer-contact strong {
  font-size: inherit;
  line-height: 1;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #fff;
}
.footer-brand .logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at 30% 25%, #ff727a 0%, var(--accent) 46%, var(--accent-dark) 100%);
  box-shadow: 0 0 0 0 rgba(230,57,70,0.55);
  animation: glowPulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.footer-brand .logo-mark::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
  margin-left: 3px;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.65));
  position: relative;
  z-index: 1;
}
.footer-brand .logo-mark::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(
    var(--accent) 0deg,
    rgba(230,57,70,0.15) 120deg,
    #fff 180deg,
    rgba(230,57,70,0.15) 240deg,
    var(--accent) 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: spinRing 2.8s linear infinite;
  pointer-events: none;
}
.footer-brand .footer-brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
  color: #fff;
}
.footer-brand .footer-brand-name .logo-accent {
  font-style: normal;
  color: var(--accent);
}
.footer-brand .footer-brand-name .logo-secondary {
  color: #fff;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--card-bg);
  border-radius: 18px;
  max-width: 500px;
  width: 92%;
  padding: 0;
  position: relative;
  animation: modalIn .25s cubic-bezier(.25,.46,.45,.94);
  overflow: hidden;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.modal-content { padding: 22px 24px 26px; }
.modal h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.modal .modal-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}
.modal p { font-size: .88rem; color: #555; line-height: 1.6; margin-bottom: 16px; }
.modal .modal-meta {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.modal .btn-contact {
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: .95rem;
  cursor: pointer;
  font-weight: 700;
  transition: background .2s;
  font-family: inherit;
}
.modal .btn-contact:hover {
  background: var(--navy-light);
}
.modal .close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(0,0,0,.45);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.modal .close-btn:hover { background: rgba(0,0,0,.7); }

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  header {
    padding: 0 14px;
    height: 74px;
  }
  .hero.full-map { min-height: calc(100vh - 74px); }
  header nav { display: none; }
  header .logo .logo-mark,
  .footer-brand .logo-mark { width: 40px; height: 40px; }
  header .logo .logo-image,
  .footer-brand .logo-image { width: 130px; }
  header .logo .logo-mark::before,
  .footer-brand .logo-mark::before {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }
  header .logo .logo-name,
  .footer-brand .footer-brand-name { font-size: 1.2rem; }
  header .btn-post { padding: 8px 14px; font-size: .82rem; }
  .btn-tel { padding: 7px 12px; font-size: .8rem; }
  .lang-btn-toggle { padding: 4px 8px; font-size: .65rem; }
}

@media (max-width: 720px) {
  header {
    padding: 0 10px;
    height: 68px;
    gap: 6px;
  }
  .hero.full-map { min-height: calc(100vh - 68px); }
  header nav { display: none; gap: 0; }
  header .logo,
  .footer-brand { gap: 8px; }
  header .logo .logo-mark,
  .footer-brand .logo-mark { width: 34px; height: 34px; }
  header .logo .logo-image,
  .footer-brand .logo-image { width: 104px; border-radius: 8px; }
  header .logo .logo-mark::before,
  .footer-brand .logo-mark::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }
  header .logo .logo-name,
  .footer-brand .footer-brand-name {
    display: inline;
    font-size: .98rem;
    letter-spacing: -0.2px;
  }
  header .btn-post {
    padding: 8px 10px;
    font-size: .78rem;
    border-radius: 10px;
  }
  .btn-tel {
    min-width: 40px;
    padding: 8px 10px;
  }
  .btn-tel .tel-full { display: none; }
  .btn-tel .tel-short { display: inline-flex; }
  .lang-switcher { margin-left: auto; }
}

@media (max-width: 600px) {
  :root { --cards-gap: 12px; }
  .hero h1 { font-size: 1.6rem; }
  .categories-wrap { padding: 0 12px; margin-top: 12px; }
  #sviOglasi { margin-top: 16px; }
  .categories-toggle {
    padding: 14px;
    gap: 10px;
  }
  .categories-toggle-icon,
  .categories-toggle-chevron {
    width: 36px;
    height: 36px;
  }
  .categories-toggle-value {
    font-size: .92rem;
  }
  .categories-panel {
    padding: 0 14px;
  }
  .categories-shell.is-open .categories-panel {
    max-height: 420px;
    padding: 14px 14px 16px;
  }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); padding: 0 12px; }
  .seller-contact-pop {
    right: calc(100% + 6px);
    gap: 5px;
  }
  .seller-contact-btn {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 420px) {
  header .logo .logo-name,
  .footer-brand .footer-brand-name {
    font-size: .86rem;
  }
  .btn-tel { display: none; }
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-btn-toggle {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 50px;
}
.lang-btn-toggle:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.lang-btn-toggle::after {
  content: '▼';
  font-size: .5rem;
  transition: transform 0.2s;
  margin-left: 2px;
}
.lang-btn-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 100%;
  background: #fff;
  border: 1.5px solid rgba(29,53,87,0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: opacity 0.25s cubic-bezier(.25,.46,.45,.94), visibility 0.25s, transform 0.25s cubic-bezier(.25,.46,.45,.94);
}
.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lang-option {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 11px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, color 0.15s;
  text-transform: none;
  letter-spacing: normal;
}
.lang-option:hover {
  background: rgba(29,53,87,0.08);
  color: var(--navy);
}
.lang-option.active {
  background: var(--accent);
  color: #fff;
}

}

