/* =========================================================================
   wow.ba – vlastiti dizajn sistem (inspirisan rasporedom TownHub templatea)
   Boje i fontove admin mijenja u Admin → Postavke → Izgled (CSS varijable).
   ========================================================================= */
@font-face { font-family: 'Raleway'; src: url('../vendor/fonts/raleway.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../vendor/fonts/nunito.ttf') format('truetype'); font-weight: 200 1000; font-display: swap; }

:root {
  --primary: #4DB7FE;
  --primary-2: #6FCFFD;
  --header: #2E3F6E;
  --header-2: #3D528B;
  --secondary: #384F95;
  --footer: #325096;
  --footer-2: #253966;
  --text: #7d93b2;
  --text-dark: #566985;
  --title: #3B4D7A;
  --line: #eee;
  --bg-gray: #F5F7FB;
  --white: #fff;
  --green: #5ECFB1;
  --red: #F75C96;
  --yellow: #F9B90F;
  --purple: #9451DA;
  --radius: 10px;
  --shadow: 0 9px 26px rgba(58, 87, 135, 0.08);
  --shadow-lg: 0 12px 40px rgba(58, 87, 135, 0.16);
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Raleway', sans-serif;
  --font-alt: 'Nunito', sans-serif;
  --container: 1224px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--title); margin: 0 0 .5em; line-height: 1.25; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hidden { display: none !important; }
.color-bg { background: var(--primary); }
.gradient-bg { background: linear-gradient(to top, var(--primary), var(--primary-2)); }
.gray-bg { background: var(--bg-gray); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; } .mt-30 { margin-top: 30px; } .mb-20 { margin-bottom: 20px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.muted { color: #9aa8bd; font-size: 13px; }

/* ---------- Dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 4px; border: 0; cursor: pointer; font-weight: 600; font-size: 13px; color: #fff; background: var(--primary); line-height: 1.2; position: relative; white-space: nowrap; box-shadow: 0 10px 14px -8px rgba(77, 183, 254, .6); }
.btn:hover { background: var(--secondary); color: #fff; box-shadow: none; }
.btn i { font-size: 12px; }
.btn.secondary { background: var(--secondary); box-shadow: none; }
.btn.secondary:hover { background: var(--primary); }
.btn.outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.btn.outline:hover { background: var(--primary); color: #fff; }
.btn.light { background: #fff; color: var(--title); box-shadow: var(--shadow); }
.btn.light:hover { background: var(--primary); color: #fff; }
.btn.danger { background: #e9776d; box-shadow: none; }
.btn.danger:hover { background: #c94f45; }
.btn.green { background: var(--green); box-shadow: none; }
.btn.small { padding: 8px 14px; font-size: 12px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); cursor: pointer; font-weight: 600; }

/* ---------- Header ---------- */
.main-header { position: fixed; inset: 0 0 auto; height: var(--header-h); background: var(--header); z-index: 1000; padding: 0 40px; display: flex; align-items: center; gap: 22px; box-shadow: 0 5px 20px rgba(0, 0, 0, .12); }
.logo-holder { display: flex; align-items: center; height: 40px; flex-shrink: 0; }
.logo-holder img { height: 34px; width: auto; }
.logo-text { font-family: var(--font-heading); font-weight: 900; font-size: 24px; color: #fff; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.logo-text .mark { width: 34px; height: 34px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; font-size: 15px; }
.header-search_btn { white-space: nowrap; display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 30px; background: var(--header-2); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; border: 0; margin-left: 30px; }
.header-search_btn i { color: var(--primary); }
.header-search_btn:hover { background: var(--secondary); }
.nav-holder { margin-left: auto; }
.nav-holder > ul { display: flex; align-items: center; }
.nav-holder li { position: relative; }
.nav-holder > ul > li > a { white-space: nowrap; display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: #fff; font-size: 13px; font-weight: 600; position: relative; }
.nav-holder > ul > li > a::before { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .3s; }
.nav-holder > ul > li > a:hover::before, .nav-holder > ul > li > a.act-link::before { transform: scaleX(1); }
.nav-holder > ul > li > a i { font-size: 10px; opacity: .7; }
.nav-holder li ul { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border-radius: 6px; padding: 10px 0; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s; z-index: 30; }
.nav-holder li:hover > ul, .nav-holder li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-holder li ul a { display: block; padding: 8px 22px; color: var(--text-dark); font-size: 13px; font-weight: 500; }
.nav-holder li ul a:hover { color: var(--primary); padding-left: 26px; }
.header-user-menu, .header-actions { display: flex; align-items: center; gap: 14px; position: relative; }
.add-list { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 4px; color: #fff; font-weight: 600; font-size: 12px; background: var(--primary); box-shadow: 0 10px 14px -6px rgba(77, 183, 254, .5); }
.add-list:hover { background: #fff; color: var(--title); }
.add-list span:not(.txt) { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.25); font-size: 9px; }
.show-reg-form, .header-icon { color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; cursor: pointer; background: none; border: 0; padding: 6px; position: relative; }
.show-reg-form i { color: var(--primary); }
.header-icon .count { position: absolute; top: -2px; right: -4px; background: var(--red); color: #fff; font-size: 9px; min-width: 16px; height: 16px; border-radius: 10px; display: grid; place-items: center; padding: 0 3px; }
.header-user-name { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; background: none; border: 0; }
.header-user-name img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); object-fit: cover; }
.header-user-menu .dropdown { position: absolute; top: calc(100% + 18px); right: 0; width: 230px; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); padding: 10px 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.header-user-menu.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.header-user-menu .dropdown a, .header-user-menu .dropdown button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 20px; color: var(--text-dark); font-size: 13px; background: none; border: 0; cursor: pointer; text-align: left; }
.header-user-menu .dropdown a:hover, .header-user-menu .dropdown button:hover { background: var(--bg-gray); color: var(--primary); }
.header-user-menu .dropdown i { width: 16px; color: var(--primary); }
.lang-wrap { position: relative; }
.lang-btn { background: none; border: 1px solid rgba(255,255,255,.15); color: #fff; border-radius: 4px; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; text-transform: uppercase; }
.lang-wrap ul { position: absolute; right: 0; top: calc(100% + 10px); background: #fff; border-radius: 6px; box-shadow: var(--shadow-lg); padding: 6px 0; min-width: 140px; display: none; }
.lang-wrap.open ul { display: block; }
.lang-wrap ul a { display: block; padding: 7px 16px; color: var(--text-dark); font-size: 13px; }
.lang-wrap ul a.act { color: var(--primary); font-weight: 700; }
.nav-button { display: none; background: var(--primary); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 4px; cursor: pointer; font-size: 18px; }

/* Header pretraga (overlay) */
.header-search-overlay { position: fixed; inset: var(--header-h) 0 auto; background: var(--header-2); padding: 22px 40px; z-index: 999; transform: translateY(-120%); transition: transform .35s; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.header-search-overlay.open { transform: none; }
.header-search-overlay form { display: grid; grid-template-columns: 2fr 1.5fr 1.5fr auto auto; gap: 10px; max-width: var(--container); margin: auto; }
.header-search-overlay input, .header-search-overlay select { width: 100%; height: 46px; padding: 0 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: #fff; outline: none; }
.header-search-overlay input::placeholder { color: rgba(255,255,255,.6); }
.header-search-overlay select option { color: #333; }
.header-search-overlay input:focus { border-color: var(--primary); }
.header-search-overlay .close { background: rgba(255,255,255,.1); color: #fff; border: 0; width: 46px; border-radius: 4px; cursor: pointer; }

#main { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero-section { position: relative; padding: 150px 0 130px; overflow: hidden; color: #fff; text-align: center; background: var(--header); }
.hero-section .bg { position: absolute; inset: -10% 0 0; height: 120%; object-fit: cover; width: 100%; z-index: 0; will-change: transform; }
.hero-section .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,35,70,.55), rgba(25,35,70,.35)); z-index: 1; }
.hero-section .container { position: relative; z-index: 3; }
.intro-item h1 { font-size: 46px; line-height: 1.35; font-weight: 900; color: #fff; margin-bottom: 14px; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.intro-item h3 { font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85); font-family: var(--font-body); margin-bottom: 40px; }
.bubbles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.bubbles span { position: absolute; bottom: -60px; border-radius: 50%; background: rgba(255,255,255,.12); animation: bubble 14s linear infinite; }
@keyframes bubble { to { transform: translateY(-110vh) scale(1.3); opacity: 0; } }

.main-search-input-tabs { max-width: 960px; margin: 0 auto; }
.tabs-menu { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tabs-menu button { background: rgba(255,255,255,.12); color: #fff; border: 0; padding: 11px 22px; border-radius: 4px 4px 0 0; cursor: pointer; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.tabs-menu button.current { background: #fff; color: var(--title); }
.tabs-menu button i { color: var(--primary); }
.main-search-input { background: #fff; border-radius: 10px; padding: 8px 8px 8px 0; display: flex; align-items: stretch; box-shadow: 0 0 0 7px rgba(255,255,255,.2); position: relative; }
.main-search-input-item { flex: 1; border-right: 1px solid #eee; position: relative; display: flex; align-items: center; min-width: 0; }
.main-search-input-item:last-of-type { border-right: 0; }
.main-search-input-item > i { position: absolute; right: 18px; color: var(--primary); font-size: 14px; pointer-events: none; }
.main-search-input-item input, .main-search-input-item select { width: 100%; height: 50px; border: 0; background: transparent; padding: 0 44px 0 22px; color: var(--text-dark); font-size: 13px; outline: none; appearance: none; text-align: left; }
.main-search-input-item select { cursor: pointer; }
.main-search-button { min-width: 160px; border: 0; border-radius: 6px; color: #fff; font-weight: 700; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--primary); }
.main-search-button:hover { background: var(--secondary); }
.hero-categories { margin-top: 40px; }
.hero-categories h4 { color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 18px; font-family: var(--font-body); }
.hero-categories ul { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero-categories a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; padding: 18px 10px; background: rgba(255,255,255,.12); border-radius: 8px; color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(3px); }
.hero-categories a i { font-size: 22px; color: var(--primary); }
.hero-categories a:hover { background: #fff; color: var(--title); transform: translateY(-4px); }
.header-sec-link { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 4; }
.header-sec-link a { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* Autocomplete */
.autocomplete { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 60; overflow: hidden; text-align: left; display: none; max-height: 320px; overflow-y: auto; }
.autocomplete.open { display: block; }
.autocomplete a { display: flex; gap: 12px; align-items: center; padding: 10px 16px; color: var(--text-dark); font-size: 13px; border-bottom: 1px solid #f3f3f3; cursor: pointer; }
.autocomplete a:hover, .autocomplete a.active { background: var(--bg-gray); color: var(--primary); }
.autocomplete a i { color: var(--primary); width: 16px; text-align: center; }
.autocomplete small { margin-left: auto; color: #aab; font-size: 11px; }

/* ---------- Sekcije ---------- */
section { position: relative; padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 50px; position: relative; z-index: 1; }
.section-title h2 { font-size: 34px; font-weight: 800; color: var(--text-dark); margin-bottom: 0; }
.section-subtitle { position: absolute; left: 0; right: 0; top: -22px; font-size: 64px; font-weight: 900; text-transform: uppercase; letter-spacing: -2px; color: var(--text-dark); opacity: .06; z-index: -1; white-space: nowrap; overflow: hidden; font-family: var(--font-heading); line-height: 1; }
.section-separator { display: block; position: relative; height: 3px; margin: 22px auto; max-width: 400px; }
.section-separator::before { content: ''; position: absolute; left: 50%; width: 50px; height: 3px; margin-left: -25px; background: var(--primary); border-radius: 3px; top: 0; }
.section-separator::after { content: ''; position: absolute; left: 50%; top: -4px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.section-title p { max-width: 640px; margin: 0 auto; color: var(--text); }
.section-title.left { text-align: left; } .section-title.left .section-separator { margin-left: 0; } .section-title.left .section-separator::before, .section-title.left .section-separator::after { left: 25px; }
.section-title.light h2, .section-title.light p { color: #fff; }
.section-title.light .section-separator::after { background: transparent; }

/* ---------- Listing kartica ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.listing-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.listing-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.listing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.listing-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; position: relative; text-align: left; }
.listing-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.geodir-category-img { position: relative; height: 220px; overflow: hidden; background: #dfe6f1; }
.geodir-category-img > a:first-child { display: block; height: 100%; }
.geodir-category-img img.main { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.listing-item:hover .geodir-category-img img.main { transform: scale(1.08); }
.geodir-category-img::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(6,27,65,.75)); pointer-events: none; }
.geodir-js-favorite_btn { position: absolute; top: 20px; left: 20px; z-index: 5; display: flex; align-items: center; height: 36px; border-radius: 36px; background: rgba(255,255,255,.18); backdrop-filter: blur(3px); color: #fff; border: 0; cursor: pointer; padding: 0 12px; gap: 6px; overflow: hidden; max-width: 36px; transition: max-width .3s, background .3s; font-size: 12px; font-weight: 600; }
.geodir-js-favorite_btn i { font-size: 13px; }
.geodir-js-favorite_btn span { white-space: nowrap; opacity: 0; transition: opacity .3s; }
.geodir-js-favorite_btn:hover { max-width: 140px; background: var(--primary); }
.geodir-js-favorite_btn:hover span { opacity: 1; }
.geodir-js-favorite_btn.active { background: var(--red); }
.geodir_status_date { position: absolute; top: 20px; right: 20px; z-index: 5; padding: 5px 11px; border-radius: 20px; color: #fff; font-size: 11px; font-weight: 600; box-shadow: 0 0 0 5px rgba(255,255,255,.2); display: flex; gap: 6px; align-items: center; }
.gsd_open { background: var(--green); } .gsd_close { background: #e9776d; }
.geodir-category-opt { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 5; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.listing-rating { color: var(--yellow); font-size: 11px; }
.geodir-category-opt .rate-class-name { color: #fff; font-size: 12px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.review-score { background: var(--secondary); color: #fff; font-weight: 700; border-radius: 4px 4px 4px 0; padding: 8px 9px; font-size: 13px; line-height: 1; font-family: var(--font-alt); }
.listing-avatar { position: absolute; right: 20px; bottom: -22px; z-index: 6; display: block; }
.geodir-category-img { overflow: visible; }
.geodir-category-img > a:first-child { overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.listing-avatar img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; box-shadow: var(--shadow); }
.listing-badges { position: absolute; left: 20px; top: 66px; z-index: 5; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.l-badge { font-size: 10px; font-weight: 700; color: #fff; padding: 4px 9px; border-radius: 3px; text-transform: uppercase; letter-spacing: .4px; display: inline-flex; gap: 5px; align-items: center; }
.l-badge.featured { background: var(--yellow); } .l-badge.popular { background: var(--red); } .l-badge.new { background: var(--green); } .l-badge.verified { background: var(--primary); }
.geodir-category-content { padding: 22px 22px 0; flex: 1; display: flex; flex-direction: column; }
.geodir-category-content h3 { font-family: var(--font-alt); font-size: 17px; font-weight: 700; margin-bottom: 6px; padding-right: 40px; }
.geodir-category-content h3 a { color: var(--text-dark); }
.geodir-category-content h3 a:hover { color: var(--primary); }
.verified-badge { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 9px; vertical-align: middle; margin-left: 6px; }
.geodir-category-location { font-size: 12px; color: #999; display: flex; gap: 6px; align-items: center; margin-bottom: 12px; }
.geodir-category-location i { color: var(--primary); }
.geodir-category-text { font-size: 13px; color: var(--text); margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.facilities-list { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.facilities-list li { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-gray); color: var(--primary); font-size: 12px; }
.geodir-category-footer { margin-top: auto; padding: 14px 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.listing-item-category { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px; flex-shrink: 0; }
.listing-item-category-wrap { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--text-dark); }
.listing-item-category-wrap span a { color: var(--text-dark); }
.geodir-category_price { font-size: 12px; color: #999; text-align: right; }
.geodir-category_price strong { color: var(--title); font-size: 15px; font-family: var(--font-alt); }
.price-level { color: var(--green); font-weight: 800; letter-spacing: 1px; }
.price-level .off { color: #d5dce6; }
.distance-chip { font-size: 11px; color: var(--primary); font-weight: 700; }

/* Lista (horizontalni prikaz) */
.listing-grid.list-view { grid-template-columns: 1fr; }
.list-view .listing-item { flex-direction: row; }
.list-view .geodir-category-img { width: 40%; min-height: 240px; height: auto; flex-shrink: 0; }
.list-view .geodir-category-content { padding-top: 26px; }
.list-view .listing-item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }

/* Kartice gradova (grid s velikim slikama) */
.listing-item-grid_container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.listing-item-grid { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; padding: 30px; color: #fff; text-align: left; isolation: isolate; }
.listing-item-grid.big { grid-row: span 2; }
.listing-item-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s; }
.listing-item-grid::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,27,65,.85)); z-index: -1; transition: background .4s; }
.listing-item-grid:hover img { transform: scale(1.1); }
.listing-item-grid:hover::before { background: linear-gradient(180deg, rgba(77,183,254,.3), rgba(6,27,65,.9)); }
.listing-item-grid_title h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.listing-item-grid_title p { color: rgba(255,255,255,.75); font-size: 13px; margin: 0; max-width: 360px; }
.listing-counter { position: absolute; top: 24px; left: 24px; background: var(--primary); color: #fff; padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 5px rgba(255,255,255,.2); }

/* Kategorije */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.cat-card { background: #fff; border-radius: var(--radius); padding: 30px 20px 26px; text-align: center; box-shadow: var(--shadow); display: block; position: relative; overflow: hidden; border-bottom: 3px solid transparent; }
.cat-card:hover { transform: translateY(-5px); border-bottom-color: var(--c, var(--primary)); box-shadow: var(--shadow-lg); }
.cat-card .ic { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--c, var(--primary)); box-shadow: 0 0 0 8px color-mix(in srgb, var(--c, var(--primary)) 15%, transparent); }
.cat-card h4 { font-size: 15px; margin-bottom: 4px; color: var(--text-dark); }
.cat-card span { font-size: 12px; color: #999; }
.cat-card-big { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; isolation: isolate; }
.cat-card-big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; }
.cat-card-big::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(6,27,65,.85)); z-index: -1; }
.cat-card-big:hover img { transform: scale(1.08); }
.cat-card-big .ic { position: absolute; top: 20px; left: 20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--primary)); box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.cat-card-big h3 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.cat-card-big .subs { font-size: 12px; color: rgba(255,255,255,.75); }
.cat-card-big .count { position: absolute; top: 24px; right: 20px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 20px; }

/* Parallax */
.parallax-section { position: relative; overflow: hidden; padding: 120px 0; color: #fff; text-align: center; background: var(--header); }
.parallax-section .bg { position: absolute; inset: -15% 0 0; height: 130%; width: 100%; object-fit: cover; will-change: transform; }
.parallax-section .overlay { position: absolute; inset: 0; background: rgba(46,63,110,.75); }
.parallax-section .container { position: relative; z-index: 2; }
.parallax-section h2 { color: #fff; font-size: 34px; font-weight: 800; max-width: 760px; margin: 0 auto 10px; }
.parallax-section p { color: rgba(255,255,255,.8); font-size: 15px; max-width: 600px; margin: 0 auto 30px; }

/* How it works */
.process-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; }
.process-item { background: var(--bg-gray); border: 1px solid #eee; border-radius: 8px; padding: 40px 26px 46px; text-align: center; position: relative; }
.process-item .process-count { position: absolute; top: 20px; left: 20px; font-weight: 900; font-size: 13px; color: var(--primary); background: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); }
.process-item i.big { font-size: 52px; color: var(--primary); margin-bottom: 20px; display: block; }
.process-item h4 { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.process-item p { font-size: 13px; margin: 0; }
.process-wrap .arrow { position: absolute; top: 50%; color: var(--primary); font-size: 22px; z-index: 2; }
.process-end { text-align: center; margin-top: 40px; }
.process-end i { width: 60px; height: 60px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: 22px; box-shadow: 0 0 0 10px rgba(94,207,177,.15); }

/* Statistika */
.stats-section { padding: 70px 0; color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.inline-facts { text-align: center; }
.inline-facts i { font-size: 30px; opacity: .65; margin-bottom: 14px; display: block; }
.inline-facts .num { font-size: 40px; font-weight: 900; font-family: var(--font-heading); display: block; line-height: 1; margin-bottom: 8px; }
.inline-facts h6 { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; margin: 0; font-family: var(--font-body); }

/* Testimonijali */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 20px 4px 30px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--primary); box-shadow: var(--shadow-lg); cursor: pointer; z-index: 5; }
.carousel-btn.prev { left: -20px; } .carousel-btn.next { right: -20px; }
.carousel-btn:hover { background: var(--primary); color: #fff; }
.testi-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 60px 30px 30px; position: relative; margin-top: 40px; text-align: center; }
.testi-avatar { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); }
.testi-avatar img { width: 80px; height: 80px; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow); object-fit: cover; }
.testi-item .stars { color: var(--yellow); margin-bottom: 14px; display: block; }
.testi-item p { font-style: italic; color: var(--text); font-size: 14px; }
.testi-item h4 { font-size: 15px; margin: 18px 0 2px; color: var(--text-dark); }
.testi-item span.role { font-size: 12px; color: var(--primary); font-weight: 600; }
.testi-item .quote { position: absolute; right: 26px; bottom: 22px; font-size: 34px; color: var(--bg-gray); }

/* Blog kartice */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-post { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-align: left; transition: transform .3s; }
.card-post:hover { transform: translateY(-5px); }
.card-post-img { position: relative; height: 210px; overflow: hidden; }
.card-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.card-post:hover .card-post-img img { transform: scale(1.08); }
.card-post-img .cat { position: absolute; left: 20px; bottom: 16px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 3px; }
.card-post-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-post-content h3 { font-size: 17px; font-weight: 700; }
.card-post-content h3 a { color: var(--text-dark); }
.card-post-content h3 a:hover { color: var(--primary); }
.post-meta { display: flex; gap: 16px; font-size: 12px; color: #aab; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.post-meta i { color: var(--primary); margin-right: 4px; }

/* ---------- Footer ---------- */
.main-footer { background: var(--footer); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
.footer-header { border-bottom: 1px solid rgba(255,255,255,.1); padding: 40px 0 34px; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent); }
.footer-header .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.subscribe-header { display: flex; align-items: center; gap: 18px; flex: 1; min-width: 280px; }
.subscribe-header h3 { color: #fff; font-size: 22px; margin: 0; font-weight: 700; }
.subscribe-header p { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); }
.subscribe-header i.big { font-size: 34px; color: var(--primary); }
.subscribe-form { display: flex; flex: 1; min-width: 300px; max-width: 520px; position: relative; }
.subscribe-form input { flex: 1; height: 50px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.08); color: #fff; border-radius: 6px 0 0 6px; padding: 0 20px; outline: none; }
.subscribe-form input::placeholder { color: rgba(255,255,255,.55); }
.subscribe-form button { border: 0; background: var(--primary); color: #fff; padding: 0 26px; border-radius: 0 6px 6px 0; cursor: pointer; font-weight: 700; }
.subscribe-form button:hover { background: #fff; color: var(--title); }
.subscribe-message { width: 100%; font-size: 12px; margin-top: 8px; color: #fff; }
.footer-inner { padding: 60px 0 40px; position: relative; z-index: 2; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 50px; }
.footer-widget h3 { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.footer-widget h3::before { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 3px; background: var(--primary); border-radius: 3px; }
.footer-widget p { font-size: 13px; line-height: 1.9; }
.footer-contacts li { display: flex; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.footer-contacts li i { color: var(--primary); width: 16px; margin-top: 4px; }
.footer-contacts a, .footer-widget a { color: rgba(255,255,255,.8); }
.footer-contacts a:hover, .footer-widget a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 4px; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.widget-posts li { display: flex; gap: 14px; margin-bottom: 18px; }
.widget-posts img { width: 76px; height: 60px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.widget-posts h4 { font-size: 13px; margin: 0 0 4px; font-family: var(--font-body); font-weight: 600; }
.widget-posts h4 a { color: #fff; }
.widget-posts span { font-size: 11px; color: rgba(255,255,255,.5); }
.footer-links li { margin-bottom: 9px; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 8px; color: var(--primary); }
.sub-footer { background: var(--footer-2); padding: 18px 0; font-size: 12px; position: relative; z-index: 2; }
.sub-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.sub-footer a { color: rgba(255,255,255,.7); margin-left: 18px; }
.footer-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.footer-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none; }
.to-top { position: fixed; right: 30px; bottom: 30px; width: 44px; height: 44px; border-radius: 6px; background: var(--primary); color: #fff; border: 0; cursor: pointer; z-index: 50; opacity: 0; visibility: hidden; transition: all .3s; box-shadow: var(--shadow-lg); }
.to-top.show { opacity: 1; visibility: visible; }

/* ---------- Breadcrumbs & page header ---------- */
.page-header { position: relative; padding: 90px 0 70px; text-align: center; color: #fff; overflow: hidden; background: var(--header); }
.page-header .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.page-header p { color: rgba(255,255,255,.75); max-width: 640px; margin: 0 auto; }
.breadcrumbs { background: var(--bg-gray); border-bottom: 1px solid #e9edf3; padding: 14px 0; font-size: 12px; }
.breadcrumbs .container { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.breadcrumbs a { color: var(--text-dark); font-weight: 600; }
.breadcrumbs a::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 8px; color: #b4c0d1; }
.breadcrumbs span { color: var(--primary); font-weight: 600; }

/* ---------- Explore (mapa + filteri) ---------- */
.explore-wrap { display: flex; min-height: calc(100vh - var(--header-h)); background: var(--bg-gray); }
.explore-wrap.layout-grid { display: block; }
.explore-col { flex: 1 1 60%; min-width: 0; padding: 30px; }
.explore-map { flex: 0 0 40%; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); z-index: 1; }
.explore-map #map { position: absolute; inset: 0; }
.explore-map.fullscreen { position: fixed; inset: var(--header-h) 0 0; z-index: 900; flex: none; height: auto; }
.map-controls { position: absolute; top: 14px; right: 14px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.map-controls button { background: #fff; border: 0; border-radius: 4px; padding: 9px 12px; box-shadow: var(--shadow); cursor: pointer; color: var(--title); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.map-controls button:hover, .map-controls button.active { background: var(--primary); color: #fff; }
.search-area-btn { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); z-index: 500; display: none; }
.search-area-btn.show { display: inline-flex; }
.filter-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; }
.filter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.filter-row.more { margin-top: 12px; }
.field { position: relative; }
.field > i.fi { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 13px; pointer-events: none; }
.field input, .field select { width: 100%; height: 46px; border: 1px solid #e5e7f2; background: #f9f9f9; border-radius: 4px; padding: 0 14px 0 40px; color: var(--text-dark); font-size: 13px; outline: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234DB7FE'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; }
.field input:focus, .field select:focus { border-color: var(--primary); background: #fff; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; opacity: 0; }
.check-chip span { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 30px; background: var(--bg-gray); color: var(--text-dark); font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid transparent; user-select: none; }
.check-chip span i { color: var(--primary); }
.check-chip input:checked + span { background: var(--primary); color: #fff; }
.check-chip input:checked + span i { color: #fff; }
.check-chip input:focus-visible + span { border-color: var(--secondary); }
.filter-actions .checks { flex: 1 1 100%; }
.filter-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.more-filters-toggle { background: none; border: 0; color: var(--primary); font-weight: 700; cursor: pointer; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.range-wrap { display: flex; gap: 8px; align-items: center; }
.range-wrap input { padding-left: 14px; }
.list-main-wrap-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.list-main-wrap-title h2 { font-size: 18px; margin: 0; color: var(--text-dark); }
.list-main-wrap-title h2 span { color: var(--primary); }
.list-main-wrap-opt { display: flex; gap: 10px; align-items: center; }
.list-main-wrap-opt select { height: 40px; border: 1px solid #e5e7f2; border-radius: 4px; padding: 0 30px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%234DB7FE'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; color: var(--text-dark); font-size: 12px; }
.grid-opt { display: flex; gap: 4px; }
.grid-opt button { width: 40px; height: 40px; border-radius: 4px; background: #fff; border: 1px solid #e5e7f2; color: #b4c0d1; cursor: pointer; }
.grid-opt button.active, .grid-opt button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters a { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; background: #fff; border-radius: 30px; font-size: 12px; color: var(--text-dark); box-shadow: var(--shadow); font-weight: 600; }
.active-filters a i { color: #e9776d; }
.active-filters a.clear { background: var(--secondary); color: #fff; }
.active-filters a.clear i { color: #fff; }
.results-loading { position: relative; min-height: 200px; }
.results-loading::after { content: ''; position: absolute; inset: 0; background: rgba(245,247,251,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' width='50' height='50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%234DB7FE' stroke-width='4' stroke-dasharray='90 40'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.9s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") no-repeat center 80px; z-index: 5; }
.load-more-wrap { text-align: center; margin-top: 30px; }
.no-results { background: #fff; border-radius: var(--radius); padding: 60px 30px; text-align: center; box-shadow: var(--shadow); }
.no-results i { font-size: 46px; color: #d5dce6; margin-bottom: 16px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination .dots { min-width: 40px; height: 40px; padding: 0 8px; display: grid; place-items: center; border-radius: 4px; background: #fff; color: var(--text-dark); font-weight: 700; box-shadow: var(--shadow); font-size: 13px; }
.pagination a.current-page, .pagination a:hover { background: var(--primary); color: #fff; }
.pagination .dots { box-shadow: none; background: transparent; }

/* Leaflet markeri */
.map-marker { width: 42px; height: 42px; border-radius: 50% 50% 50% 0; background: var(--c, var(--primary)); transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,.55), 0 6px 14px rgba(0,0,0,.25); border: 3px solid #fff; transition: transform .2s; }
.map-marker i { transform: rotate(45deg); color: #fff; font-size: 14px; }
.map-marker.hl { transform: rotate(-45deg) scale(1.25); z-index: 1000 !important; }
.map-cluster { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 0 8px rgba(77,183,254,.3); font-size: 14px; }
.leaflet-popup-content-wrapper { border-radius: 10px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; width: 260px !important; }
.map-popup img { width: 100%; height: 130px; object-fit: cover; }
.map-popup .in { padding: 14px 16px; }
.map-popup h4 { font-size: 14px; margin: 0 0 4px; font-family: var(--font-alt); }
.map-popup h4 a { color: var(--text-dark); }
.map-popup p { margin: 0; font-size: 12px; color: #999; }
.map-popup .row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; }
.leaflet-container { font-family: var(--font-body); }

/* ---------- Single listing ---------- */
.list-single-hero { position: relative; padding: 170px 0 60px; color: #fff; overflow: hidden; background: var(--header); }
.list-single-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.list-single-hero .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,27,65,.2), rgba(6,27,65,.85)); }
.list-single-hero .container { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.list-single-hero h1 { color: #fff; font-size: 40px; font-weight: 800; margin: 10px 0 12px; }
.list-single-hero .hero-meta { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.85); }
.list-single-hero .hero-meta i { color: var(--primary); margin-right: 6px; }
.list-single-hero .hero-meta a { color: #fff; }
.hero-rating { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); backdrop-filter: blur(4px); padding: 14px 20px; border-radius: 10px; }
.hero-rating .review-score { font-size: 22px; padding: 12px 14px; }
.hero-rating .stars { color: var(--yellow); display: block; }
.hero-rating small { color: rgba(255,255,255,.75); }
.list-single-header-cat { display: flex; gap: 10px; flex-wrap: wrap; }
.list-single-header-cat a, .list-single-header-cat span { display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(255,255,255,.18); }
.list-single-header-cat .c { background: var(--c, var(--primary)); }
.list-single-nav { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: var(--header-h); z-index: 40; box-shadow: 0 6px 20px rgba(0,0,0,.04); }
.list-single-nav .container { display: flex; gap: 6px; align-items: center; overflow-x: auto; }
.list-single-nav a { padding: 18px 14px; color: var(--text-dark); font-weight: 600; font-size: 13px; white-space: nowrap; border-bottom: 2px solid transparent; }
.list-single-nav a:hover, .list-single-nav a.act { color: var(--primary); border-bottom-color: var(--primary); }
.list-single-nav .actions { margin-left: auto; display: flex; gap: 8px; padding: 8px 0; }
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 30px; padding: 40px 0 80px; align-items: start; }
.list-single-main-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; overflow: hidden; scroll-margin-top: 160px; }
.list-single-main-item-title { padding: 18px 28px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.list-single-main-item-title h3 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text-dark); }
.list-single-main-item-title h3 i { color: var(--primary); margin-right: 8px; }
.list-single-main-item_content { padding: 26px 28px; color: var(--text); }
.list-single-main-item_content h3, .list-single-main-item_content h4 { color: var(--text-dark); }
.list-single-main-item_content ul:not(.plain) li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.list-single-main-item_content ul:not(.plain) li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--green); position: absolute; left: 0; font-size: 11px; top: 3px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; height: 460px; background: #dfe6f1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 10px; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; height: 70px; cursor: pointer; background: none; }
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.9); border: 0; cursor: pointer; color: var(--title); }
.gallery-nav.prev { left: 16px; } .gallery-nav.next { right: 16px; }
.gallery-nav:hover { background: var(--primary); color: #fff; }
.gallery-count { position: absolute; right: 16px; bottom: 16px; background: rgba(0,0,0,.55); color: #fff; padding: 5px 12px; border-radius: 20px; font-size: 12px; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.amenities-grid li { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-dark); font-weight: 600; padding: 0 !important; }
.amenities-grid li::before { display: none; }
.amenities-grid i { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-gray); color: var(--primary); display: grid; place-items: center; font-size: 13px; }
.services-list li { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0 !important; border-bottom: 1px dashed #e5e9f0; }
.services-list li::before { display: none; }
.services-list li:last-child { border: 0; }
.services-list h4 { margin: 0 0 2px; font-size: 14px; }
.services-list small { color: #9aa8bd; }
.services-list .price { color: var(--primary); font-weight: 800; font-family: var(--font-alt); white-space: nowrap; }
.video-box { position: relative; padding-top: 56.25%; border-radius: 8px; overflow: hidden; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.single-map { height: 320px; border-radius: 8px; overflow: hidden; }

/* Recenzije */
.rating-summary { display: flex; gap: 30px; align-items: center; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.rating-summary .big { text-align: center; }
.rating-summary .big strong { display: block; font-size: 46px; font-weight: 900; color: var(--title); line-height: 1; font-family: var(--font-alt); }
.rating-summary .big .stars { color: var(--yellow); }
.rating-bars { flex: 1; min-width: 220px; }
.rating-bars .row { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 6px; }
.rating-bars .bar { flex: 1; height: 7px; background: var(--bg-gray); border-radius: 7px; overflow: hidden; }
.rating-bars .bar span { display: block; height: 100%; background: var(--yellow); border-radius: 7px; }
.reviews-comments-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid #f0f0f0; }
.reviews-comments-item:last-child { border: 0; }
.review-comments-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.reviews-comments-item-text { flex: 1; }
.reviews-comments-item-text h4 { font-size: 15px; margin: 0 0 4px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.reviews-comments-item-text .stars { color: var(--yellow); font-size: 11px; }
.reviews-comments-item-date { font-size: 12px; color: #aab; display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.verified-booking { font-size: 10px; font-weight: 700; color: var(--green); background: rgba(94,207,177,.12); padding: 3px 8px; border-radius: 3px; }
.owner-reply { background: var(--bg-gray); border-left: 3px solid var(--primary); padding: 12px 16px; border-radius: 0 6px 6px 0; margin-top: 12px; font-size: 13px; }
.owner-reply strong { color: var(--title); display: block; font-size: 12px; margin-bottom: 4px; }
.review-photos { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.review-photos img { width: 74px; height: 74px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 24px; color: #d5dce6; cursor: pointer; margin: 0 !important; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--yellow); }

/* Sidebar widgeti */
.box-widget-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; overflow: hidden; }
.box-widget-item-header { padding: 18px 24px; border-bottom: 1px solid #eee; }
.box-widget-item-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-dark); }
.box-widget-item-header h3 i { color: var(--primary); margin-right: 8px; }
.box-widget-content { padding: 22px 24px; }
.box-widget-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f3f3f3; font-size: 13px; align-items: flex-start; }
.box-widget-list li:last-child { border: 0; }
.box-widget-list i { color: var(--primary); width: 16px; margin-top: 3px; text-align: center; }
.box-widget-list a { color: var(--text-dark); word-break: break-word; }
.opening-hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed #eee; font-size: 13px; }
.opening-hours li.today { color: var(--primary); font-weight: 700; }
.opening-hours .closed { color: #e9776d; }
.widget-social { display: flex; gap: 8px; margin-top: 14px; }
.widget-social a { width: 36px; height: 36px; display: grid; place-items: center; background: var(--bg-gray); border-radius: 4px; color: var(--text-dark); }
.widget-social a:hover { background: var(--primary); color: #fff; }
.box-widget-author { display: flex; gap: 14px; align-items: center; }
.box-widget-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.box-widget-author h4 { margin: 0; font-size: 15px; }
.box-widget-author span { font-size: 12px; color: #aab; }
.booking-widget { position: sticky; top: calc(var(--header-h) + 80px); }
.booking-widget .box-widget-item-header { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.booking-widget .box-widget-item-header h3 { color: #fff; }
.booking-widget .box-widget-item-header h3 i { color: #fff; }
.price-from { font-size: 13px; color: #fff; opacity: .9; }
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.slot-grid button { border: 1px solid #e5e7f2; background: #f9f9f9; border-radius: 4px; padding: 8px 0; font-size: 12px; font-weight: 700; color: var(--text-dark); cursor: pointer; }
.slot-grid button.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.slot-grid button:disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.custom-form .unit-option, .unit-option { display: flex !important; gap: 12px; align-items: center; border: 1px solid #e5e7f2; border-radius: 6px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.unit-option:has(input:checked) { border-color: var(--primary); background: rgba(77,183,254,.06); }
.unit-option.unavailable { opacity: .45; }
.unit-option input { width: 17px; height: 17px; accent-color: var(--primary); flex-shrink: 0; }
.unit-option strong { display: block; font-size: 13px; color: var(--text-dark); }
.unit-option small { color: #9aa8bd; }
.unit-option .p { margin-left: auto; font-weight: 800; color: var(--primary); white-space: nowrap; }
.booking-total { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px dashed #e5e9f0; margin-top: 14px; font-weight: 700; color: var(--title); }
.mini-cal { user-select: none; }
.mini-cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; color: var(--title); font-size: 13px; }
.mini-cal-head button { background: var(--bg-gray); border: 0; width: 30px; height: 30px; border-radius: 4px; cursor: pointer; color: var(--primary); }
.mini-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 12px; }
.mini-cal-grid .dow { font-size: 10px; color: #aab; font-weight: 700; padding: 4px 0; }
.mini-cal-grid button { border: 0; background: #f6f8fb; padding: 8px 0; border-radius: 4px; cursor: pointer; color: var(--text-dark); font-weight: 600; font-size: 12px; }
.mini-cal-grid button:hover:not(:disabled) { background: rgba(77,183,254,.15); }
.mini-cal-grid button.in-range { background: rgba(77,183,254,.18); border-radius: 0; }
.mini-cal-grid button.start, .mini-cal-grid button.end { background: var(--primary); color: #fff; }
.mini-cal-grid button:disabled { color: #ccd; background: transparent; cursor: not-allowed; }
.mini-cal-grid button.busy { background: repeating-linear-gradient(45deg, #fde8e8, #fde8e8 4px, #fff 4px, #fff 8px); color: #d88; text-decoration: line-through; }
.mini-cal-grid .empty { visibility: hidden; }

/* ---------- Forme ---------- */
.custom-form label, .form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-dark); margin-bottom: 7px; }
.custom-form label .req { color: #e9776d; }
.custom-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), .custom-form select, .custom-form textarea { width: 100%; padding: 13px 16px; border: 1px solid #e5e7f2; background: #f9f9f9; border-radius: 4px; color: var(--text-dark); font-size: 13px; outline: none; transition: border .2s, background .2s; }
.custom-form textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.custom-form input:focus, .custom-form select:focus, .custom-form textarea:focus { border-color: var(--primary); background: #fff; }
.custom-form .has-error input, .custom-form .has-error select, .custom-form .has-error textarea { border-color: #e9776d; }
.custom-form .form-group { margin-bottom: 18px; }
.custom-form .hint { font-size: 11px; color: #9aa8bd; margin-top: 5px; display: block; }
.field-error { color: #d9534f; font-size: 12px; margin-top: 5px; display: block; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 13px; }
.custom-form .input-icon input, .custom-form .input-icon select { padding-left: 42px; }
.checkbox { display: flex !important; gap: 10px; align-items: center; cursor: pointer; font-weight: 600 !important; font-size: 13px !important; color: var(--text-dark); }
.checkbox input { width: 17px; height: 17px; accent-color: var(--primary); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text-dark); }
.switch input { position: absolute; opacity: 0; }
.switch .sl { width: 42px; height: 24px; background: #d5dce6; border-radius: 24px; position: relative; transition: background .2s; flex-shrink: 0; }
.switch .sl::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + .sl { background: var(--primary); }
.switch input:checked + .sl::after { transform: translateX(18px); }
.custom-form label.switch, label.switch { display: inline-flex; }
.switch .sl { display: inline-block; }
.file-drop { border: 2px dashed #d5dce6; border-radius: 8px; padding: 26px; text-align: center; color: #9aa8bd; cursor: pointer; position: relative; background: #fafbfd; }
.file-drop:hover, .file-drop.drag { border-color: var(--primary); color: var(--primary); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop i { font-size: 30px; display: block; margin-bottom: 8px; color: var(--primary); }
.thumbs-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs-preview .t { position: relative; border-radius: 6px; overflow: hidden; height: 86px; background: #eee; }
.thumbs-preview img { width: 100%; height: 100%; object-fit: cover; }
.thumbs-preview .t button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; background: rgba(233,119,109,.95); border: 0; color: #fff; cursor: pointer; font-size: 11px; }
.thumbs-preview .t .main-tag { position: absolute; left: 4px; bottom: 4px; background: var(--primary); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 3px; font-weight: 700; }

/* Alerti */
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 13px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.alert i { margin-top: 2px; }
.alert-success { background: #e7f8f2; color: #1d8a6b; }
.alert-error { background: #fdecea; color: #c0392b; }
.alert-warning { background: #fff6e0; color: #a26d00; }
.alert-info { background: #e8f5ff; color: #2276b5; }
.toast-wrap { position: fixed; right: 20px; top: calc(var(--header-h) + 16px); z-index: 3000; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast { background: #fff; border-radius: 8px; box-shadow: var(--shadow-lg); padding: 14px 18px; font-size: 13px; font-weight: 600; color: var(--text-dark); display: flex; gap: 12px; align-items: center; border-left: 4px solid var(--primary); animation: toastIn .3s; }
.toast.error { border-left-color: #e9776d; } .toast.success { border-left-color: var(--green); }
.toast i { color: var(--primary); } .toast.error i { color: #e9776d; } .toast.success i { color: var(--green); }
@keyframes toastIn { from { transform: translateX(30px); opacity: 0; } }

/* Badge */
.badge { display: inline-block; padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge-green { background: rgba(94,207,177,.15); color: #24a383; }
.badge-yellow { background: rgba(249,185,15,.15); color: #c08b00; }
.badge-red { background: rgba(233,119,109,.15); color: #d9534f; }
.badge-blue { background: rgba(77,183,254,.15); color: #1c8fd8; }
.badge-gray { background: #eef1f6; color: #8796ad; }

/* ---------- Auth stranice ---------- */
.auth-wrap { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 60px 16px; background: var(--header); position: relative; overflow: hidden; }
.auth-wrap .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.main-register { position: relative; z-index: 2; width: 100%; max-width: 520px; background: #fff; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.3); overflow: hidden; }
.main-register-header { padding: 22px 30px; background: var(--bg-gray); border-bottom: 1px solid #eee; display: flex; align-items: center; gap: 12px; }
.main-register-header h3 { margin: 0; font-size: 18px; }
.main-register-header i { color: var(--primary); font-size: 20px; }
.auth-tabs { display: flex; border-bottom: 1px solid #eee; }
.auth-tabs a { flex: 1; text-align: center; padding: 16px; font-weight: 700; color: var(--text-dark); font-size: 13px; border-bottom: 2px solid transparent; }
.auth-tabs a.current { color: var(--primary); border-bottom-color: var(--primary); background: #fff; }
.main-register-body { padding: 30px; }
.auth-sep { text-align: center; position: relative; margin: 22px 0; font-size: 12px; color: #aab; }
.auth-sep::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #eee; }
.auth-sep span { background: #fff; padding: 0 14px; position: relative; }
.social-login { display: flex; gap: 10px; }
.social-login a { flex: 1; display: flex; justify-content: center; gap: 10px; align-items: center; border: 1px solid #e5e7f2; border-radius: 4px; padding: 12px; color: var(--text-dark); font-weight: 600; font-size: 13px; }
.social-login a:hover { border-color: var(--primary); color: var(--primary); }
.lost_password { font-size: 12px; font-weight: 600; }

/* ---------- Pricing ---------- */
.billing-toggle { display: flex; justify-content: center; gap: 4px; background: #fff; padding: 5px; border-radius: 30px; box-shadow: var(--shadow); width: max-content; margin: 0 auto 40px; }
.billing-toggle button { border: 0; background: none; padding: 10px 22px; border-radius: 30px; font-weight: 700; color: var(--text-dark); cursor: pointer; font-size: 13px; }
.billing-toggle button.active { background: var(--primary); color: #fff; }
.billing-toggle small { color: var(--green); font-weight: 800; }
.billing-toggle button.active small { color: #fff; }
.pricing-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.price-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .3s; }
.price-item:hover { transform: translateY(-6px); }
.price-item.best-price { box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg); }
.price-head { padding: 34px 24px 26px; text-align: center; background: linear-gradient(180deg, var(--bg-gray), #fff); border-bottom: 1px solid #eee; }
.price-head h3 { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); margin-bottom: 4px; }
.price-head p { font-size: 12px; color: #9aa8bd; margin: 0 0 16px; }
.price-num { font-size: 44px; font-weight: 900; color: var(--title); font-family: var(--font-alt); line-height: 1; }
.price-num small { font-size: 14px; color: #9aa8bd; font-weight: 600; }
.price-content { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.price-content ul { margin-bottom: 26px; flex: 1; }
.price-content li { padding: 9px 0; border-bottom: 1px dashed #eef1f6; font-size: 13px; display: flex; gap: 10px; color: var(--text-dark); }
.price-content li i { color: var(--green); margin-top: 4px; font-size: 11px; }
.recomm-price { position: absolute; top: 18px; right: -34px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; padding: 6px 40px; transform: rotate(45deg); text-transform: uppercase; }

/* ---------- Dashboard ---------- */
.dashboard-wrap { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); background: var(--bg-gray); }
.dashboard-sidebar { background: var(--header); color: rgba(255,255,255,.75); padding: 30px 0 40px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; }
.dashboard-sidebar .user-box { text-align: center; padding: 0 24px 26px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.dashboard-sidebar .user-box img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 4px solid rgba(255,255,255,.12); }
.dashboard-sidebar .user-box h4 { color: #fff; font-size: 15px; margin-bottom: 4px; }
.dashboard-sidebar .user-box span { font-size: 11px; background: rgba(77,183,254,.2); color: var(--primary); padding: 3px 10px; border-radius: 20px; font-weight: 700; }
.dash-menu-title { font-size: 10px; text-transform: uppercase; letter-spacing: 1.4px; padding: 18px 28px 8px; color: rgba(255,255,255,.4); font-weight: 800; }
.dashboard-sidebar a { display: flex; align-items: center; gap: 12px; padding: 11px 28px; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; border-left: 3px solid transparent; }
.dashboard-sidebar a i { width: 18px; text-align: center; color: var(--primary); }
.dashboard-sidebar a:hover, .dashboard-sidebar a.act { background: rgba(255,255,255,.05); color: #fff; border-left-color: var(--primary); }
.dashboard-sidebar a .cnt { margin-left: auto; background: var(--red); color: #fff; font-size: 10px; border-radius: 10px; padding: 1px 7px; }
.dashboard-content { padding: 34px 40px 60px; min-width: 0; }
.dashboard-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.dashboard-title h2 { margin: 0; font-size: 24px; font-weight: 800; color: var(--text-dark); }
.dashboard-title p { margin: 4px 0 0; color: #9aa8bd; font-size: 13px; }
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 26px; }
.inline-facts-wrap { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden; }
.inline-facts-wrap .ic { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--c, var(--primary)); flex-shrink: 0; }
.inline-facts-wrap .num { font-size: 26px; font-weight: 900; color: var(--title); line-height: 1; font-family: var(--font-alt); }
.inline-facts-wrap h6 { margin: 6px 0 0; font-size: 12px; color: #9aa8bd; font-weight: 600; font-family: var(--font-body); }
.dashboard-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 24px; overflow: hidden; }
.dashboard-box-header { padding: 18px 26px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dashboard-box-header h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--text-dark); }
.dashboard-box-header h3 i { color: var(--primary); margin-right: 8px; }
.dashboard-box-body { padding: 24px 26px; }
.dashboard-box-body.p0 { padding: 0; }
.dash-grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; padding: 13px 18px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; color: #9aa8bd; background: #fafbfd; border-bottom: 1px solid #eee; white-space: nowrap; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid #f2f4f8; color: var(--text-dark); vertical-align: middle; }
.data-table tr:hover td { background: #fbfcfe; }
.data-table .thumb { width: 64px; height: 48px; border-radius: 6px; object-fit: cover; }
.data-table .row-title { font-weight: 700; color: var(--text-dark); display: block; }
.data-table .row-sub { font-size: 12px; color: #9aa8bd; }
.data-table .actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.icon-btn { width: 34px; height: 34px; border-radius: 4px; display: inline-grid; place-items: center; background: var(--bg-gray); color: var(--text-dark); border: 0; cursor: pointer; font-size: 12px; }
.icon-btn:hover { background: var(--primary); color: #fff; }
.icon-btn.del:hover { background: #e9776d; }
.icon-btn.ok:hover { background: var(--green); }
.table-wrap { overflow-x: auto; }
.dash-list-item { display: flex; gap: 18px; padding: 20px 26px; border-bottom: 1px solid #f2f4f8; align-items: center; }
.dash-list-item:last-child { border: 0; }
.dash-list-item img.th { width: 110px; height: 80px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dash-list-item .info { flex: 1; min-width: 0; }
.dash-list-item h4 { margin: 0 0 4px; font-size: 15px; }
.dash-list-item h4 a { color: var(--text-dark); }
.dash-list-item .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #9aa8bd; }
.dash-list-item .meta i { color: var(--primary); margin-right: 4px; }
.empty-state { text-align: center; padding: 50px 20px; color: #9aa8bd; }
.empty-state i { font-size: 40px; color: #d5dce6; margin-bottom: 14px; display: block; }
.empty-state h4 { color: var(--text-dark); }
.chart-box { height: 260px; position: relative; }
.chart-box svg { width: 100%; height: 100%; overflow: visible; }
.chart-tip { position: absolute; background: var(--title); color: #fff; padding: 6px 10px; border-radius: 4px; font-size: 11px; pointer-events: none; white-space: nowrap; transform: translate(-50%, -120%); display: none; }
.activity-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid #f2f4f8; font-size: 13px; }
.activity-list li:last-child { border: 0; }
.activity-list .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-gray); color: var(--primary); flex-shrink: 0; font-size: 12px; }
.activity-list .dot.unread { background: var(--primary); color: #fff; }
.activity-list small { color: #9aa8bd; display: block; }
.tabs-line { display: flex; gap: 6px; border-bottom: 1px solid #eee; margin-bottom: 20px; overflow-x: auto; }
.tabs-line a { padding: 12px 16px; font-weight: 700; font-size: 13px; color: #9aa8bd; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-line a.act, .tabs-line a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tabs-line a .badge { margin-left: 6px; }

/* Wizard */
.wizard-steps { display: flex; gap: 0; overflow-x: auto; margin-bottom: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; scrollbar-width: thin; }
.wizard-steps button { flex: 1 0 auto; border: 0; background: none; padding: 10px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #9aa8bd; cursor: pointer; border-radius: 6px; white-space: nowrap; }
.wizard-steps button .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-gray); font-size: 11px; }
.wizard-steps button.active { background: rgba(77,183,254,.1); color: var(--primary); }
.wizard-steps button.active .n, .wizard-steps button.done .n { background: var(--primary); color: #fff; }
.wizard-steps button.err .n { background: #e9776d; color: #fff; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeUp .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.wizard-footer { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; flex-wrap: wrap; position: sticky; bottom: 0; background: rgba(245,247,251,.95); padding: 14px 0; backdrop-filter: blur(4px); z-index: 10; }
.hours-table { width: 100%; }
.hours-table td { padding: 6px 8px 6px 0; vertical-align: middle; }
.hours-table td:first-child { font-weight: 700; color: var(--text-dark); font-size: 13px; width: 120px; }
.repeater-row { display: grid; gap: 10px; align-items: end; margin-bottom: 10px; background: #fafbfd; padding: 12px; border-radius: 6px; border: 1px solid #eef1f6; }
.repeater-row.svc { grid-template-columns: 2fr 2fr 1fr 1fr auto; }
.repeater-row.unit { grid-template-columns: 2fr 2fr 1fr 1fr auto; }
.repeater-row label { margin-bottom: 4px !important; font-size: 11px !important; }
.amenity-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.amenity-pick label { display: flex !important; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #e5e7f2; border-radius: 6px; cursor: pointer; font-size: 12px !important; margin: 0 !important; }
.amenity-pick label:has(input:checked) { border-color: var(--primary); background: rgba(77,183,254,.08); color: var(--primary); }
.amenity-pick input { accent-color: var(--primary); }
.preview-card { max-width: 380px; }
.map-picker { height: 300px; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7f2; }

/* Poruke */
.chat-wrap { display: grid; grid-template-columns: 320px 1fr; height: calc(100vh - var(--header-h) - 150px); min-height: 480px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-list { border-right: 1px solid #eee; overflow-y: auto; }
.chat-list a { display: flex; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #f2f4f8; color: var(--text-dark); position: relative; }
.chat-list a:hover, .chat-list a.act { background: var(--bg-gray); }
.chat-list a.unread::after { content: ''; position: absolute; right: 16px; top: 22px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.chat-list img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.chat-list h5 { margin: 0; font-size: 13px; }
.chat-list p { margin: 2px 0 0; font-size: 12px; color: #9aa8bd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { padding: 16px 22px; border-bottom: 1px solid #eee; display: flex; gap: 12px; align-items: center; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; }
.chat-head h4 { margin: 0; font-size: 14px; }
.chat-head small a { font-size: 12px; }
.chat-body { flex: 1; overflow-y: auto; padding: 22px; background: #fafbfd; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 72%; padding: 12px 16px; border-radius: 12px 12px 12px 2px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.04); font-size: 13px; color: var(--text-dark); white-space: pre-wrap; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-radius: 12px 12px 2px 12px; }
.msg small { display: block; font-size: 10px; opacity: .65; margin-top: 4px; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid #eee; }
.chat-form textarea { flex: 1; min-height: 46px !important; height: 46px; resize: none; }

/* Kalendar zauzetosti (vlasnik) */
.occ-table { border-collapse: collapse; font-size: 11px; width: 100%; }
.occ-table th, .occ-table td { border: 1px solid #eef1f6; padding: 0; text-align: center; height: 34px; min-width: 30px; }
.occ-table th { background: #fafbfd; color: #9aa8bd; font-weight: 700; }
.occ-table th.unit { text-align: left; padding: 0 12px; min-width: 180px; color: var(--text-dark); position: sticky; left: 0; background: #fff; z-index: 2; }
.occ-table td.booked { background: var(--primary); }
.occ-table td.pending { background: repeating-linear-gradient(45deg, var(--yellow), var(--yellow) 4px, #ffe089 4px, #ffe089 8px); }
.occ-table td.blocked { background: #c6ced9; }
.occ-table th.we { color: var(--red); }
.legend { display: flex; gap: 16px; font-size: 12px; margin-top: 12px; flex-wrap: wrap; }
.legend span::before { content: ''; display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -3px; margin-right: 6px; background: var(--c); }

/* Blog single, page content */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; padding: 50px 0 80px; align-items: start; }
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article-body { padding: 34px 40px; font-size: 15px; line-height: 1.85; color: var(--text-dark); }
.article-body h2, .article-body h3 { margin-top: 1.6em; }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--bg-gray); margin: 1.5em 0; padding: 18px 24px; font-style: italic; border-radius: 0 6px 6px 0; }
.article-body ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.article-body ol { padding-left: 22px; }
.article-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: #9aa8bd; padding: 18px 40px; border-bottom: 1px solid #eee; }
.article-meta i { color: var(--primary); margin-right: 5px; }
.tags-list { display: flex; gap: 6px; flex-wrap: wrap; }
.tags-list a { background: var(--bg-gray); color: var(--text-dark); padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.tags-list a:hover { background: var(--primary); color: #fff; }
.accordion-item { background: #fff; border-radius: 8px; box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.accordion-item summary { padding: 18px 24px; cursor: pointer; font-weight: 700; color: var(--text-dark); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); transition: transform .2s; }
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item[open] summary { color: var(--primary); }
.accordion-item .acc-body { padding: 0 24px 20px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.contact-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px; text-align: center; }
.contact-card i { width: 60px; height: 60px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bg-gray); color: var(--primary); font-size: 22px; margin-bottom: 14px; }
.contact-card h4 { font-size: 15px; margin-bottom: 4px; }

/* Error */
.error-page { text-align: center; padding: 120px 20px; background: var(--header); color: #fff; min-height: calc(100vh - var(--header-h)); }
.error-page h1 { font-size: 140px; color: #fff; line-height: 1; margin-bottom: 0; font-weight: 900; opacity: .9; }
.error-page h2 { color: #fff; }

/* Modal / lightbox */
.modal { position: fixed; inset: 0; z-index: 4000; background: rgba(6,20,50,.75); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 10px; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-box .modal-head { padding: 18px 24px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.modal-box .modal-head h3 { margin: 0; font-size: 16px; }
.modal-box .modal-body { padding: 24px; }
.modal-close { background: var(--bg-gray); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--text-dark); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; }

/* Animacija ulaska */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1440px) {
  .header-search_btn span, .header-user-name .txt { display: none; }
  .header-search_btn { margin-left: 6px; padding: 12px 15px; }
  .nav-holder > ul > li > a { padding: 10px 10px; }
}
@media (max-width: 1280px) {
  .main-header { padding: 0 20px; }
  .header-search_btn { margin-left: 10px; }
  .pricing-wrap { grid-template-columns: repeat(2, 1fr); }
  .listing-grid.cols-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .nav-button { display: grid; place-items: center; order: 10; }
  .nav-holder { position: fixed; inset: var(--header-h) 0 0 auto; width: 300px; background: var(--header); margin: 0; transform: translateX(100%); transition: transform .3s; overflow-y: auto; padding: 20px 0; box-shadow: -10px 0 30px rgba(0,0,0,.25); }
  .nav-holder.open { transform: none; }
  .nav-holder > ul { flex-direction: column; align-items: stretch; }
  .nav-holder > ul > li > a { padding: 12px 26px; }
  .nav-holder li ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.12); border-radius: 0; display: none; }
  .nav-holder li.open > ul { display: block; }
  .nav-holder li ul a { color: rgba(255,255,255,.75); padding-left: 40px; }
  .header-search_btn span { display: none; }
  .header-actions { margin-left: auto; }
  .explore-map { display: none; }
  .explore-wrap.show-map .explore-map { display: block; position: fixed; inset: var(--header-h) 0 0; height: auto; z-index: 900; }
  .single-layout, .content-layout { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
  .dashboard-wrap { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: fixed; left: 0; top: var(--header-h); bottom: 0; width: 280px; z-index: 950; transform: translateX(-100%); transition: transform .3s; height: auto; }
  .dashboard-sidebar.open { transform: none; }
  .dash-toggle { display: inline-flex !important; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .listing-grid.cols-3, .listing-grid.cols-4, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-track > * { flex-basis: calc((100% - 24px) / 2); }
  .filter-row { grid-template-columns: repeat(2, 1fr); }
  .chat-wrap { grid-template-columns: 1fr; }
  .chat-wrap.has-active .chat-list { display: none; }
  .chat-wrap:not(.has-active) .chat-main { display: none; }
}
.dash-toggle { display: none !important; }
.mobile-map-btn { display: none; }
@media (max-width: 1100px) { .mobile-map-btn { display: inline-flex; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 950; box-shadow: var(--shadow-lg); } }
@media (max-width: 860px) {
  .listing-item-grid_container { grid-template-columns: 1fr 1fr; }
  .listing-item-grid.big { grid-row: auto; }
  .process-wrap, .stats-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .process-wrap .arrow { display: none; }
  .main-search-input { flex-direction: column; padding: 8px; gap: 0; }
  .main-search-input-item { border-right: 0; border-bottom: 1px solid #eee; }
  .main-search-button { height: 50px; margin-top: 8px; }
  .intro-item h1 { font-size: 32px; }
  .hero-section { padding: 90px 0 110px; }
  .header-search-overlay form { grid-template-columns: 1fr 1fr; }
  .list-view .listing-item { flex-direction: column; }
  .list-view .geodir-category-img { width: 100%; min-height: 220px; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .gallery-main { height: 320px; }
  .list-single-hero h1 { font-size: 28px; }
  .repeater-row.svc, .repeater-row.unit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .main-header { gap: 10px; padding: 0 16px; }
  .header-search_btn { display: none; }
  .add-list .txt, .show-reg-form .txt, .header-user-name .txt { display: none; }
  .logo-text { font-size: 20px; }
  .section-title h2 { font-size: 26px; }
  .section-subtitle { font-size: 40px; }
  section { padding: 60px 0; }
  .listing-grid, .listing-grid.cols-2, .listing-grid.cols-3, .listing-grid.cols-4, .post-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .listing-item-grid_container, .process-wrap, .contact-cards, .footer-cols, .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .carousel-track > * { flex-basis: 88%; }
  .carousel-btn { display: none; }
  .filter-row { grid-template-columns: 1fr; }
  .explore-col, .dashboard-content { padding: 20px 16px; }
  .dash-stats { grid-template-columns: 1fr; }
  .article-body, .article-meta { padding-left: 20px; padding-right: 20px; }
  .hero-categories li { width: calc(33.33% - 7px); }
  .hero-categories a { width: 100%; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-list-item { flex-wrap: wrap; }
  .dash-list-item img.th { width: 100%; height: 160px; }
  .page-header h1 { font-size: 28px; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ===== RTL (arapski) – flexbox i grid se automatski zrcale, ovdje se okreću apsolutne pozicije i margine ===== */
[dir=rtl] body { text-align: right; }
[dir=rtl] .nav-holder { margin-left: 0; margin-right: auto; }
[dir=rtl] .nav-holder li ul { left: auto; right: 0; }
[dir=rtl] .nav-holder li ul a:hover { padding-left: 20px; padding-right: 26px; }
[dir=rtl] .header-icon .count { right: auto; left: -4px; }
[dir=rtl] .header-user-menu .dropdown, [dir=rtl] .lang-wrap ul { right: auto; left: 0; }
[dir=rtl] .main-search-input-item { border-right: 0; border-left: 1px solid #eee; }
[dir=rtl] .main-search-input-item:last-of-type { border-left: 0; }
[dir=rtl] .main-search-input-item input, [dir=rtl] .main-search-input-item select { padding: 0 22px 0 44px; }
[dir=rtl] .main-search-input-item > i { right: auto; left: 18px; }
[dir=rtl] .autocomplete small { margin-left: 0; margin-right: auto; }
[dir=rtl] .section-title.left { text-align: right; } [dir=rtl] .section-title.left .section-separator { margin-left: auto; margin-right: 0; }
[dir=rtl] .geodir-js-favorite_btn { left: auto; right: 20px; }
[dir=rtl] .geodir_status_date { right: auto; left: 20px; }
[dir=rtl] .listing-avatar { right: auto; left: 20px; }
[dir=rtl] .listing-badges { left: auto; right: 20px; align-items: flex-end; }
[dir=rtl] .geodir-category-content h3 { padding-right: 0; padding-left: 40px; }
[dir=rtl] .listing-counter, [dir=rtl] .cat-card-big .ic, [dir=rtl] .process-item .process-count { left: auto; right: 20px; }
[dir=rtl] .cat-card-big .count { right: auto; left: 20px; }
[dir=rtl] .testi-item .quote { right: auto; left: 26px; }
[dir=rtl] .card-post, [dir=rtl] .data-table th, [dir=rtl] .occ-table th.unit { text-align: right; }
[dir=rtl] .card-post-img .cat { left: auto; right: 20px; }
[dir=rtl] .footer-widget h3::before { left: auto; right: 0; }
[dir=rtl] .footer-links a::before { content: '\f104'; margin-right: 0; margin-left: 8px; }
[dir=rtl] .breadcrumbs a::after { content: '\f104'; margin-left: 0; margin-right: 8px; }
[dir=rtl] .sub-footer a { margin-left: 0; margin-right: 18px; }
[dir=rtl] .to-top { right: auto; left: 30px; }
[dir=rtl] .field > i.fi, [dir=rtl] .input-icon i { left: auto; right: 15px; }
[dir=rtl] .custom-form .input-icon input, [dir=rtl] .custom-form .input-icon select { padding-left: 14px; padding-right: 42px; }
[dir=rtl] .field input, [dir=rtl] .field select { padding: 0 40px 0 14px; }
[dir=rtl] .field select { background-position: left 14px center; padding-left: 32px; }
[dir=rtl] .field input[style*=padding-left] { padding-right: 14px; }
[dir=rtl] .list-single-nav .actions, [dir=rtl] .unit-option .p, [dir=rtl] .dashboard-sidebar a .cnt { margin-left: 0; margin-right: auto; }
[dir=rtl] .list-single-main-item_content ul:not(.plain) li { padding-left: 0; padding-right: 22px; }
[dir=rtl] .list-single-main-item_content ul:not(.plain) li::before { left: auto; right: 0; }
[dir=rtl] .post-meta i, [dir=rtl] .list-single-hero .hero-meta i, [dir=rtl] .list-single-main-item-title h3 i, [dir=rtl] .box-widget-item-header h3 i,
[dir=rtl] .dashboard-box-header h3 i, [dir=rtl] .dash-list-item .meta i, [dir=rtl] .article-meta i, [dir=rtl] .legend span::before { margin-right: 0; margin-left: 6px; }
[dir=rtl] .tabs-line a .badge { margin-left: 0; margin-right: 6px; }
[dir=rtl] .owner-reply { border-left: 0; border-right: 3px solid var(--primary); border-radius: 6px 0 0 6px; }
[dir=rtl] .article-body blockquote { border-left: 0; border-right: 4px solid var(--primary); }
[dir=rtl] .article-body ul, [dir=rtl] .article-body ol { padding-left: 0; padding-right: 22px; }
[dir=rtl] .dashboard-sidebar a { border-left: 0; border-right: 3px solid transparent; }
[dir=rtl] .dashboard-sidebar a:hover, [dir=rtl] .dashboard-sidebar a.act { border-right-color: var(--primary); }
[dir=rtl] .chat-list { border-right: 0; border-left: 1px solid #eee; }
[dir=rtl] .chat-list a.unread::after { right: auto; left: 16px; }
[dir=rtl] .thumbs-preview .t button { right: auto; left: 4px; }
[dir=rtl] .thumbs-preview .t .main-tag { left: auto; right: 4px; }
[dir=rtl] .toast-wrap { right: auto; left: 20px; }
[dir=rtl] .toast { border-left: 0; border-right: 4px solid var(--primary); }
[dir=rtl] .toast.error { border-right-color: #e9776d; } [dir=rtl] .toast.success { border-right-color: var(--green); }
[dir=rtl] .gallery-count { right: auto; left: 16px; }
[dir=rtl] .fa-arrow-right, [dir=rtl] .fa-chevron-right, [dir=rtl] .fa-chevron-left, [dir=rtl] .fa-angle-right, [dir=rtl] .fa-angle-left, [dir=rtl] .fa-long-arrow-alt-right { transform: scaleX(-1); }
[dir=rtl] .leaflet-container, [dir=rtl] .occ-table, [dir=rtl] input[type=email], [dir=rtl] input[type=url], [dir=rtl] .ltr { direction: ltr; }
[dir=rtl] .occ-table th.unit { left: 0; }
@media (max-width: 1440px) { [dir=rtl] .header-search_btn { margin-left: 0; margin-right: 6px; } }
@media (max-width: 1100px) {
  [dir=rtl] .nav-holder { inset: var(--header-h) auto 0 0; transform: translateX(-100%); margin: 0; }
  [dir=rtl] .nav-holder.open { transform: none; }
  [dir=rtl] .header-actions { margin-left: 0; margin-right: auto; }
  [dir=rtl] .nav-holder li ul a { padding-left: 20px; padding-right: 40px; }
  [dir=rtl] .main-search-input-item { border-left: 0; }
}
@media (max-width: 1100px) {
  [dir=rtl] .dashboard-sidebar { left: auto; right: 0; transform: translateX(100%); }
  [dir=rtl] .dashboard-sidebar.open { transform: none; }
  [dir=rtl] .to-top { left: 16px; }
}

/* ===================== AI asistent ===================== */
.ai-section { padding-top: 50px; }
.ai-wrap { max-width: 1180px; }
.ai-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 30px; position: relative; overflow: hidden; }
.ai-form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--purple), var(--red)); }
.ai-bot { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.ai-avatar { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; background: linear-gradient(135deg, var(--primary), var(--purple)); box-shadow: 0 8px 18px -6px rgba(148, 81, 218, .55); }
.ai-bubble { background: var(--bg-gray); color: var(--title); border-radius: 4px 16px 16px 16px; padding: 14px 18px; font-size: 15px; line-height: 1.65; font-weight: 500; max-width: 820px; }
.ai-tag { display: block; margin-top: 8px; font-size: 11px; color: var(--purple); font-weight: 700; letter-spacing: .3px; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-step { margin-bottom: 22px; }
.ai-step > label { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--title); font-size: 14px; margin-bottom: 10px; }
.ai-step > label small { font-weight: 500; color: var(--text); }
.ai-step .n { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-chips button { border: 1px solid #e5e7f2; background: #fff; color: var(--text-dark); border-radius: 20px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.ai-chips button:hover, .ai-chips button.act { background: var(--primary); border-color: var(--primary); color: #fff; }
.ai-prio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ai-prio-opt { position: relative; cursor: pointer; }
.ai-prio-opt input { position: absolute; opacity: 0; }
.ai-prio-opt span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid #e5e7f2; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ai-prio-opt span i { font-size: 22px; color: var(--primary); margin-bottom: 4px; }
.ai-prio-opt span b { color: var(--title); font-size: 14px; }
.ai-prio-opt span small { color: var(--text); font-size: 12px; line-height: 1.45; }
.ai-prio-opt:hover span { transform: translateY(-2px); }
.ai-prio-opt input:checked + span { border-color: var(--primary); box-shadow: 0 10px 22px -12px rgba(77, 183, 254, .8); background: linear-gradient(180deg, rgba(77, 183, 254, .07), transparent); }
.ai-prio-opt input:focus-visible + span { outline: 2px solid var(--secondary); outline-offset: 2px; }
.ai-extras { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ai-wish { width: 100%; border: 1px solid #e5e7f2; background: #f9f9f9; border-radius: 4px; padding: 12px 14px; font: inherit; font-size: 13px; color: var(--text-dark); resize: vertical; outline: none; }
.ai-wish:focus { border-color: var(--primary); background: #fff; }
.ai-go { width: 100%; padding: 16px; font-size: 15px; background: linear-gradient(90deg, var(--primary), var(--purple)); }
.ai-go:hover { background: linear-gradient(90deg, var(--secondary), var(--purple)); }
.ai-go[disabled] { opacity: .8; }
.ai-results { margin-top: 40px; }
.ai-results .ai-bubble { background: #fff; box-shadow: var(--shadow); font-size: 16px; }
.ai-notes p { background: #fff8e6; color: #8a6400; border-radius: 6px; padding: 10px 14px; font-size: 13px; margin: 0 0 10px 62px; }
.ai-h { font-size: 20px; color: var(--title); font-weight: 800; margin: 30px 0 18px; display: flex; gap: 10px; align-items: center; }
.ai-h i { color: var(--yellow); }
.ai-dest { margin: 24px 0 6px; }
.ai-dest h3 { font-size: 17px; color: var(--title); font-weight: 800; margin-bottom: 12px; }
.ai-dest h3 i { color: var(--primary); }
.ai-dest-list { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-dest-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; min-width: 200px; border: 2px solid transparent; }
.ai-dest-item b { color: var(--title); font-size: 15px; } .ai-dest-item b i { color: var(--yellow); }
.ai-dest-item span { color: var(--text); font-size: 12px; }
.ai-dest-item.best { border-color: var(--yellow); }
.ai-dest-item:hover { border-color: var(--primary); }
.ai-pick { display: flex; flex-direction: column; }
.ai-pick .listing-item { margin-bottom: 0; }
.ai-pick-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ai-rank { width: 34px; height: 34px; border-radius: 50%; background: var(--title); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ai-picks .ai-pick:first-child .ai-rank { background: linear-gradient(135deg, #F9B90F, #f08c00); }
.ai-match { background: rgba(94, 207, 177, .15); color: #23977a; font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 20px; }
.ai-reasons { list-style: none; margin: 0; padding: 14px 16px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); font-size: 12.5px; color: var(--text-dark); display: grid; gap: 7px; border-top: 1px dashed var(--line); }
.ai-reasons i { color: var(--primary); width: 18px; margin-right: 6px; }
.ai-foot { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.ai-fab { position: fixed; right: 30px; bottom: 86px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 30px; color: #fff; font-weight: 700; font-size: 13px; background: linear-gradient(135deg, var(--primary), var(--purple)); box-shadow: 0 12px 26px -8px rgba(148, 81, 218, .7); transition: transform .2s; }
.ai-fab i { font-size: 18px; }
.ai-fab:hover { color: #fff; transform: translateY(-3px); }
[dir=rtl] .ai-fab { right: auto; left: 30px; }
[dir=rtl] .ai-notes p { margin: 0 62px 10px 0; }
@media (max-width: 991px) { .ai-grid { grid-template-columns: 1fr 1fr; } .ai-grid .ai-step:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .ai-form { padding: 20px 16px; }
  .ai-grid, .ai-prio { grid-template-columns: 1fr; }
  .ai-notes p { margin-left: 0; }
  .ai-fab { right: 16px; bottom: 70px; padding: 13px; }
  .ai-fab span { display: none; }
  [dir=rtl] .ai-fab { left: 16px; }
}
/* Dugme „AI wow“ u headeru (pored „Dodaj oglas“) */
.ai-wow-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 6px; border-radius: 4px; color: #1d2546; font-weight: 800; font-size: 13px; letter-spacing: .3px; background: linear-gradient(135deg, #ffd56b, #f5a623 55%, #d9860b); box-shadow: 0 10px 14px -6px rgba(245, 166, 35, .55); transition: transform .2s, box-shadow .2s; }
.ai-wow-btn img { height: 36px; width: auto; margin: -6px 0 -4px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); transition: transform .3s; }
.ai-wow-btn:hover, .ai-wow-btn.act { color: #1d2546; transform: translateY(-1px); box-shadow: 0 12px 18px -6px rgba(245, 166, 35, .75); }
.ai-wow-btn:hover img { transform: scale(1.08) rotate(-2deg); }
.ai-fab { background: linear-gradient(135deg, #ffd56b, #f5a623 55%, #d9860b); color: #1d2546; padding: 6px 18px 6px 8px; box-shadow: 0 12px 26px -8px rgba(245, 166, 35, .8); }
.ai-fab:hover { color: #1d2546; }
.ai-fab img { height: 34px; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
@media (max-width: 768px) { .ai-wow-btn .txt { display: none; } .ai-wow-btn { padding: 0 8px; } }
@media (max-width: 640px) { .ai-wow-btn { height: 36px; padding: 0 6px; } .ai-wow-btn img { height: 30px; } .ai-fab { padding: 6px; } }

/* ===================== Pro mapa ===================== */
.leaflet-container { background: #e9eef5; }
[data-map-style=dark].leaflet-container { background: #1b1f2a; }
.map-style-picker { display: flex; gap: 4px; padding: 5px; border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(20, 30, 60, .18); }
.map-style-picker button { border: 0; background: transparent; color: var(--title); font: 600 12px/1 var(--font-body); padding: 8px 11px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: background .2s, color .2s; }
.map-style-picker button i { color: var(--primary); font-size: 13px; }
.map-style-picker button:hover { background: var(--bg-gray); }
.map-style-picker button.act { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(77, 183, 254, .9); }
.map-style-picker button.act i { color: #fff; }
.map-tools { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px !important; }
.map-tools button, .leaflet-bar a { width: 38px !important; height: 38px !important; line-height: 38px !important; border: 0 !important; border-radius: 10px !important; background: rgba(255, 255, 255, .95) !important; color: var(--title) !important; box-shadow: 0 6px 18px rgba(20, 30, 60, .16); cursor: pointer; font-size: 15px; display: grid; place-items: center; }
.leaflet-bar { border: 0 !important; box-shadow: none !important; display: flex; flex-direction: column; gap: 6px; }
.leaflet-bar a { font-size: 18px !important; }
.map-tools button:hover, .leaflet-bar a:hover { background: var(--primary) !important; color: #fff !important; }
.map-tools button.busy i { animation: map-spin 1s linear infinite; }
@keyframes map-spin { to { transform: rotate(360deg); } }
.map-fs { position: fixed !important; inset: 0 !important; width: 100vw !important; height: 100vh !important; z-index: 9999 !important; border-radius: 0 !important; }
.map-me { width: 22px; height: 22px; border-radius: 50%; background: #2f80ff; border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(47, 128, 255, .6); animation: map-me 2s infinite; }
@keyframes map-me { 0% { box-shadow: 0 0 0 0 rgba(47, 128, 255, .55); } 70% { box-shadow: 0 0 0 18px rgba(47, 128, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 128, 255, 0); } }
.map-marker { animation: mk-drop .45s cubic-bezier(.34, 1.56, .64, 1) backwards; box-shadow: 0 0 0 5px rgba(255, 255, 255, .6), 0 10px 18px -4px rgba(0, 0, 0, .35); background: linear-gradient(135deg, var(--c, var(--primary)), color-mix(in srgb, var(--c, var(--primary)) 70%, #000)); }
@keyframes mk-drop { from { opacity: 0; transform: rotate(-45deg) translate(14px, -14px) scale(.6); } to { opacity: 1; transform: rotate(-45deg); } }
.leaflet-marker-icon:hover .map-marker { transform: rotate(-45deg) scale(1.15); }
.map-cluster { position: relative; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 8px 18px -4px rgba(56, 79, 149, .6); border: 3px solid #fff; animation: mk-pop .35s ease-out backwards; }
.map-cluster span { position: relative; z-index: 1; }
.map-cluster::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; background: rgba(77, 183, 254, .28); z-index: -1; animation: cl-pulse 2.4s ease-in-out infinite; }
.map-cluster.lg { background: linear-gradient(135deg, #9451DA, #384F95); transform: scale(1.1); }
.map-cluster.lg::after { background: rgba(148, 81, 218, .25); }
.map-cluster.xl { background: linear-gradient(135deg, #F75C96, #9451DA); transform: scale(1.22); }
.map-cluster.xl::after { background: rgba(247, 92, 150, .25); }
@keyframes mk-pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes cl-pulse { 0%, 100% { transform: scale(.85); opacity: .9; } 50% { transform: scale(1.12); opacity: .35; } }
.leaflet-popup-content-wrapper { box-shadow: 0 18px 40px -10px rgba(20, 30, 60, .35); }
.leaflet-popup-tip { box-shadow: none; }
.map-popup img { transition: transform .4s; } .map-popup a:hover img { transform: scale(1.05); }
.leaflet-control-attribution { background: rgba(255, 255, 255, .7) !important; backdrop-filter: blur(6px); border-radius: 8px 0 0 0; font-size: 10px; }
@media (max-width: 640px) { .map-style-picker button span { display: none; } .map-style-picker button { padding: 9px; } }
@media (prefers-reduced-motion: reduce) { .map-marker, .map-cluster, .map-cluster::after, .map-me { animation: none !important; } }

/* ===================== Hero slider ===================== */
.hero-slides { overflow: hidden; }
.hero-slides .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform 1.4s ease; will-change: opacity, transform; }
.hero-slides .hero-slide.active { opacity: 1; z-index: 1; }
.hero-slides .hero-slide.leaving { z-index: 0; }
.fx-kenburns .hero-slide.active { animation: hero-kb var(--hero-dur, 8s) ease-out both; }
.fx-kenburns .hero-slide.leaving { opacity: 0; transform: scale(1.12); }
@keyframes hero-kb { from { transform: scale(1); } to { transform: scale(1.12); } }
.fx-slide .hero-slide { opacity: 1; transform: translateX(100%); transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); }
.fx-slide .hero-slide.active { transform: none; }
.fx-slide .hero-slide.leaving { transform: translateX(-100%); }
.hero-section:not(.has-slider) .hero-slide { opacity: 1; }
.hero-dots { position: absolute; right: 40px; bottom: 28px; z-index: 4; display: flex; justify-content: flex-end; gap: 8px; }
[dir=rtl] .hero-dots { right: auto; left: 40px; }
.hero-dots button { width: 34px; height: 18px; border: 0; background: none; cursor: pointer; padding: 0; display: grid; place-items: center; }
.hero-dots button span { display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .4); transition: background .3s; overflow: hidden; position: relative; }
.hero-dots button.act span { background: rgba(255, 255, 255, .4); }
.hero-dots button.act span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: hero-bar var(--hero-ms, 6s) linear both; }
@keyframes hero-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-arrow { position: absolute; top: 50%; z-index: 4; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .12); backdrop-filter: blur(6px); color: #fff; cursor: pointer; opacity: 0; transition: opacity .3s, background .2s; }
.hero-arrow.prev { left: 24px; } .hero-arrow.next { right: 24px; }
.hero-section:hover .hero-arrow, .hero-arrow:focus-visible { opacity: 1; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
@media (max-width: 768px) { .hero-arrow { display: none; } .hero-dots { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .fx-kenburns .hero-slide.active { animation: none; } }

/* ===================== Gradovi iz cijelog svijeta ===================== */
.world-city { position: relative; }
.world-city > i { position: absolute; left: 14px; top: 15px; color: var(--primary); pointer-events: none; }
.world-city input[type=text] { padding-left: 40px !important; }
.wc-list { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 1200; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 16px 40px -8px rgba(20, 30, 60, .28); max-height: 320px; overflow: auto; }
.wc-list li { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; padding: 9px 10px; border-radius: 8px; cursor: pointer; align-items: center; }
.wc-list li .flag { grid-row: 1 / span 2; font-size: 20px; text-align: center; color: var(--green); }
.wc-list li b { color: var(--title); font-size: 13px; }
.wc-list li small { color: var(--text); font-size: 11.5px; }
.wc-list li:hover { background: var(--bg-gray); }
.wc-list li.wc-load, .wc-list li.wc-none { display: block; cursor: default; color: var(--text); font-size: 12.5px; }
.wc-list li.wc-load:hover, .wc-list li.wc-none:hover { background: none; }
.explore-page .ai-fab { display: none; }

/* ===================== Moja lokacija + U blizini ===================== */
.map-near-ctl { display: flex; gap: 8px; }
.map-near-ctl button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; cursor: pointer; font: 700 13px/1 var(--font-body); color: var(--title); background: rgba(255, 255, 255, .95); box-shadow: 0 8px 22px rgba(20, 30, 60, .18); transition: transform .15s, background .2s, color .2s; }
.map-near-ctl button i { color: var(--primary); font-size: 15px; }
.map-near-ctl button i.sm { font-size: 10px; color: var(--text); }
.map-near-ctl button:hover { transform: translateY(-1px); }
.map-near-ctl button[data-open-nearby] { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.map-near-ctl button[data-open-nearby] i { color: #fff; }
.map-near-ctl button.busy i:first-child, #near-me.busy i, .nearby-sheet [data-go].busy i { animation: map-spin 1s linear infinite; }
.has-near .map-tools [data-t=me] { display: none; }
.nearby-sheet { position: fixed; z-index: 10000; width: 380px; max-width: calc(100vw - 24px); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px -12px rgba(20, 30, 60, .4); padding: 16px 18px 18px; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
.nearby-sheet.open { opacity: 1; transform: none; }
.nearby-sheet .ns-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.nearby-sheet .ns-head b { color: var(--title); font-size: 15px; } .nearby-sheet .ns-head b i { color: var(--primary); margin-right: 4px; }
.nearby-sheet .ns-x { border: 0; background: var(--bg-gray); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: var(--text-dark); }
.nearby-sheet .ns-lbl { font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--text); margin: 12px 0 8px; }
.nearby-sheet .ns-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nearby-sheet .ns-chips button { border: 1px solid #e5e7f2; background: #fff; color: var(--text-dark); border-radius: 20px; padding: 7px 12px; font: 600 12px/1 var(--font-body); cursor: pointer; }
.nearby-sheet .ns-chips button:hover { border-color: var(--primary); color: var(--primary); }
.nearby-sheet .ns-chips button.act { background: var(--primary); border-color: var(--primary); color: #fff; }
.nearby-sheet .ns-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.nearby-sheet .ns-foot .btn[data-go] { flex: 1; }
@media (max-width: 768px) {
  .nearby-sheet { left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateY(20px); }
  .map-near-ctl button span { display: none; } .map-near-ctl button { padding: 0 12px; }
}
.leaflet-bottom.leaflet-left .map-style-picker { margin-bottom: 22px; }
@media (max-width: 1500px) { .explore-map .map-style-picker button span { display: none; } .explore-map .map-style-picker button { padding: 9px 10px; } }
.explore-map .search-area-btn { top: 66px; }
.has-near .map-tools [data-t=fs] { display: none; }
.hero-categories ul { max-width: 720px; margin: 0 auto; }
.hero-section .main-search-input { margin-top: 10px; }
/* Popravke: ikonice u poljima ne prelaze preko teksta; BS/KM dugmad u jednom redu */
.input-icon input, .input-icon select { padding-left: 42px !important; }
.lang-btn { white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; }
.ai-wow-btn { flex-shrink: 0; }
@media (max-width: 1320px) { .ai-wow-btn .txt { display: none; } .ai-wow-btn { padding: 0 8px; } }

/* ===================== Vodič za izlagače ===================== */
.gd-hero { position: relative; overflow: hidden; color: #fff; padding: 70px 0 90px; background: radial-gradient(1200px 500px at 85% 20%, rgba(77, 183, 254, .35), transparent 60%), linear-gradient(135deg, #141c3a, var(--header) 55%, #3D528B); }
.gd-hero-glow { position: absolute; inset: auto -10% -40% auto; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 166, 35, .22), transparent 65%); }
.gd-hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.gd-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 30px; background: rgba(245, 166, 35, .16); color: #ffd56b; font-weight: 800; font-size: 12px; letter-spacing: .6px; text-transform: uppercase; border: 1px solid rgba(245, 166, 35, .35); }
.gd-hero h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.12; font-weight: 900; margin: 18px 0 16px; color: #fff; }
.gd-hero h1 span { background: linear-gradient(135deg, #ffd56b, #f5a623); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-hero p { font-size: 17px; line-height: 1.65; opacity: .85; max-width: 560px; }
.gd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn.gd-gold { background: linear-gradient(135deg, #ffd56b, #f5a623 55%, #d9860b); color: #1d2546; box-shadow: 0 12px 24px -10px rgba(245, 166, 35, .9); font-weight: 800; }
.btn.gd-gold:hover { color: #1d2546; filter: brightness(1.06); }
.gd-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 26px 0 0; padding: 0; font-size: 13px; font-weight: 600; opacity: .9; }
.gd-facts i { color: #ffd56b; margin-right: 6px; }
.gd-hero-img { position: relative; }
.gd-hero-shot { width: 100%; border-radius: 14px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1); transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.gd-mascot { position: absolute; width: 190px; left: -60px; bottom: -40px; z-index: 2; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); animation: gd-bob 4s ease-in-out infinite; }
@keyframes gd-bob { 50% { transform: translateY(-10px); } }
.gd-float { position: absolute; z-index: 3; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--title); border-radius: 12px; padding: 12px 16px; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45); }
.gd-float i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--green); }
.gd-float b { display: block; font-size: 13px; } .gd-float small { color: var(--text); font-size: 11.5px; }
.gd-f1 { top: -18px; right: -10px; } .gd-f2 { bottom: 30px; right: -24px; } .gd-f2 i { background: var(--yellow); }
.gd-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 44px; padding-top: 50px; padding-bottom: 70px; }
.gd-toc-in { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 18px; }
.gd-toc-in > b { display: block; font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--text); margin: 0 0 10px 8px; }
.gd-toc nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.gd-toc nav a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--text-dark); font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.gd-toc nav a i { color: var(--primary); width: 16px; text-align: center; }
.gd-toc nav a:hover, .gd-toc nav a.act { background: rgba(77, 183, 254, .1); color: var(--title); }
.gd-toc nav a.act { box-shadow: inset 3px 0 0 var(--primary); }
.gd-toc .btn { width: 100%; }
.gd-body { min-width: 0; }
.gd-sec { scroll-margin-top: calc(var(--header-h) + 20px); padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid #e8ecf4; }
.gd-sec h2 { display: flex; align-items: center; gap: 14px; font-size: 28px; font-weight: 900; color: var(--title); margin: 0 0 16px; }
.gd-step, .gd-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 900; color: #1d2546; background: linear-gradient(135deg, #ffd56b, #f5a623 55%, #d9860b); box-shadow: 0 10px 20px -8px rgba(245, 166, 35, .8); }
.gd-ic { color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 10px 20px -8px rgba(77, 183, 254, .8); font-size: 18px; }
.gd-sec h3 { font-size: 19px; color: var(--title); font-weight: 800; margin: 26px 0 10px; } .gd-sec h3 i { color: var(--primary); margin-right: 6px; }
.gd-sec p, .gd-steps li { font-size: 15.5px; line-height: 1.75; color: var(--text-dark); }
.gd-lead { font-size: 17px !important; }
.gd-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 20px; }
.gd-steps li { counter-increment: s; position: relative; padding: 4px 0 10px 44px; }
.gd-steps li::before { content: counter(s); position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.gd-sub { display: flex; align-items: center; gap: 12px; margin: 34px 0 8px; }
.gd-sub span { font-weight: 900; color: var(--primary); background: rgba(77, 183, 254, .1); border-radius: 8px; padding: 5px 9px; font-size: 13px; }
.gd-sub h3 { margin: 0; }
.gd-shot { margin: 18px 0 26px; }
.gd-shot a { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -24px rgba(20, 30, 60, .45), 0 0 0 1px rgba(20, 30, 60, .06); transition: transform .3s, box-shadow .3s; }
.gd-shot a:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -24px rgba(20, 30, 60, .55), 0 0 0 1px rgba(20, 30, 60, .08); }
.gd-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #eef1f7; border-bottom: 1px solid #e2e7f0; }
.gd-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .gd-bar span:nth-child(2) { background: #febc2e; } .gd-bar span:nth-child(3) { background: #28c840; }
.gd-bar em { flex: 1; margin-left: 10px; background: #fff; border-radius: 7px; padding: 5px 12px; font: 500 12px/1.2 var(--font-body); color: var(--text); font-style: normal; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gd-bar i { color: var(--text); font-size: 13px; }
.gd-shot img { display: block; width: 100%; height: auto; }
.gd-shot figcaption { text-align: center; color: var(--text); font-size: 13px; margin-top: 12px; font-style: italic; }
.gd-note, .gd-tip, .gd-ai { display: flex; gap: 14px; align-items: flex-start; border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: 14.5px; line-height: 1.65; color: var(--text-dark); }
.gd-note { background: #eef8ff; border: 1px solid #cfe9ff; } .gd-note > i { color: var(--primary); font-size: 22px; margin-top: 2px; }
.gd-tip { background: #fff8e6; border: 1px solid #ffe3a3; } .gd-tip > i { color: #e08a00; font-size: 20px; margin-top: 2px; }
.gd-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.gd-feats div { background: #fff; border-radius: 14px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; transition: transform .2s; }
.gd-feats div:hover { transform: translateY(-3px); }
.gd-feats i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); font-size: 18px; margin-bottom: 6px; }
.gd-feats b { color: var(--title); font-size: 15px; } .gd-feats span { color: var(--text-dark); font-size: 13.5px; line-height: 1.55; }
.gd-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
.gd-mini { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.gd-mini i { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(77, 183, 254, .12); color: var(--primary); font-size: 16px; }
.gd-mini b { color: var(--title); font-size: 14px; } .gd-mini span { color: var(--text-dark); font-size: 13px; line-height: 1.5; }
.gd-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 20px 0; }
.gd-plan { position: relative; background: #fff; border-radius: 14px; padding: 20px 18px; box-shadow: var(--shadow); border: 2px solid transparent; }
.gd-plan.hot { border-color: #f5a623; }
.gd-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: linear-gradient(135deg, #ffd56b, #f5a623); color: #1d2546; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 20px; }
.gd-plan > b { color: var(--title); font-size: 16px; }
.gd-price { font-size: 26px; font-weight: 900; color: var(--secondary); margin: 6px 0 12px; } .gd-price small { font-size: 13px; color: var(--text); font-weight: 600; }
.gd-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 13px; color: var(--text-dark); }
.gd-plan li i { color: var(--green); width: 18px; } .gd-plan li.no { opacity: .55; } .gd-plan li.no i { color: #e9776d; }
.gd-tools { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.gd-tools span { background: #fff; box-shadow: var(--shadow); border-radius: 30px; padding: 9px 16px; font-weight: 700; font-size: 13px; color: var(--title); } .gd-tools i { color: var(--primary); margin-right: 6px; }
.gd-tips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.gd-tips div { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.gd-tips b { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffd56b, #f5a623); color: #1d2546; font-weight: 900; }
.gd-tips span { font-size: 13.5px; line-height: 1.55; color: var(--text-dark); } .gd-tips strong { color: var(--title); }
.gd-ai { background: linear-gradient(135deg, #1d2546, #2e3f6e); color: #e8ecf7; align-items: center; margin-top: 22px; } .gd-ai img { width: 110px; flex-shrink: 0; } .gd-ai b { color: #ffd56b; }
.gd-faq details { background: #fff; border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 10px; padding: 0 18px; }
.gd-faq summary { cursor: pointer; padding: 16px 0; font-weight: 800; color: var(--title); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.gd-faq summary::-webkit-details-marker { display: none; }
.gd-faq summary::after { content: "+"; color: var(--primary); font-size: 20px; line-height: 1; transition: transform .2s; }
.gd-faq details[open] summary::after { transform: rotate(45deg); }
.gd-faq details p { margin: 0 0 16px; font-size: 14.5px; }
.gd-final { text-align: center; color: #fff; border-radius: 20px; padding: 50px 24px; background: radial-gradient(600px 300px at 80% 0, rgba(77, 183, 254, .35), transparent 60%), linear-gradient(135deg, #141c3a, var(--header)); }
.gd-final img { width: 150px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }
.gd-final h2 { color: #fff; font-size: 30px; font-weight: 900; margin: 10px 0 8px; } .gd-final p { opacity: .85; } .gd-final .gd-cta { justify-content: center; }
@media (max-width: 1100px) { .gd-wrap { grid-template-columns: 1fr; } .gd-toc { display: none; } }
@media (max-width: 900px) { .gd-hero-in { grid-template-columns: 1fr; } .gd-hero-shot { transform: none; } .gd-mascot { width: 130px; left: -10px; bottom: -30px; } .gd-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .gd-hero { padding: 46px 0 70px; } .gd-feats, .gd-grid2, .gd-tips { grid-template-columns: 1fr; } .gd-sec h2 { font-size: 22px; } .gd-f1, .gd-f2 { display: none; } .gd-ai { flex-direction: column; text-align: center; } }
@media print {
  .main-header, .main-footer, .gd-toc, .ai-fab, .to-top, .gd-cta, .gd-final .gd-cta, .gd-float, .header-search-overlay, .gd-bar i { display: none !important; }
  .gd-hero { background: #1d2546 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 30px 0; }
  .gd-hero-shot { transform: none; } .gd-mascot { display: none; }
  .gd-wrap { display: block; padding-top: 20px; }
  .gd-shot, .gd-plan, .gd-tips div, .gd-faq details { break-inside: avoid; }
  .gd-shot a { box-shadow: none; border: 1px solid #dde3ee; }
  .gd-faq details { display: block; } .gd-faq details > p { display: block; }
  .gd-sec { break-inside: auto; }
  .gd-sec h2, .gd-sec h3, .gd-sub { break-after: avoid; page-break-after: avoid; }
  .gd-sec p { orphans: 3; widows: 3; }
  .gd-sec + .gd-sec { break-before: page; }
  .gd-feats { grid-template-columns: repeat(3, 1fr); }
  body { background: #fff; }
}
@media (max-width: 480px) {
  .main-header { gap: 6px; padding: 0 10px; }
  .header-actions { gap: 6px; }
  .lang-btn { padding: 6px 7px; } .lang-btn i { display: none; }
  .ai-wow-btn { height: 34px; padding: 0 4px; } .ai-wow-btn img { height: 26px; margin: 0; }
  .add-list { padding: 0 12px; }
  .logo-holder img { max-width: 80px; height: auto !important; max-height: 38px; }
}
@media (max-width: 380px) { .ai-wow-btn { display: none; } }
.gd-sec { padding-bottom: 36px; margin-bottom: 36px; }

/* ===================== Medo i Robi – priča kroz vodič ===================== */
.gd-story { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 22px; }
.gd-say { display: flex; align-items: flex-end; gap: 6px; max-width: 760px; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.gd-say.in { opacity: 1; transform: none; }
.gd-say img { flex: 0 0 auto; width: 96px; height: auto; filter: drop-shadow(0 10px 14px rgba(20, 30, 60, .25)); transition: transform .4s; }
.gd-say:hover img { transform: translateY(-4px) rotate(-2deg); }
.gd-say-robi { flex-direction: row-reverse; margin-left: auto; }
.gd-say-robi:hover img { transform: translateY(-4px) rotate(2deg); }
.gd-bubble { position: relative; padding: 14px 18px; border-radius: 18px; margin-bottom: 26px; font-size: 15px; line-height: 1.6; box-shadow: 0 12px 26px -14px rgba(20, 30, 60, .35); }
.gd-bubble > b { display: block; font-size: 13px; font-weight: 900; letter-spacing: .2px; margin-bottom: 2px; }
.gd-bubble > b small { font-weight: 600; opacity: .7; margin-left: 4px; font-size: 11px; }
.gd-bubble p { margin: 0; font-size: 15px !important; color: inherit !important; line-height: 1.6 !important; }
.gd-say-medo .gd-bubble { background: linear-gradient(135deg, #fff7e8, #ffeccc); color: #5a3a12; border: 1px solid #f7d79b; border-bottom-left-radius: 4px; }
.gd-say-medo .gd-bubble > b { color: #b86a00; } .gd-say-medo .gd-bubble p b { color: #7a4500; }
.gd-say-medo .gd-bubble::before { content: ""; position: absolute; left: -9px; bottom: 10px; border: 9px solid transparent; border-right-color: #f7d79b; border-left: 0; }
.gd-say-medo .gd-bubble::after { content: ""; position: absolute; left: -7px; bottom: 11px; border: 8px solid transparent; border-right-color: #ffeccc; border-left: 0; }
.gd-say-robi .gd-bubble { background: linear-gradient(135deg, #eef8ff, #dff1ff); color: #1d3a5c; border: 1px solid #bfe2ff; border-bottom-right-radius: 4px; }
.gd-say-robi .gd-bubble > b { color: #1f7fd1; } .gd-say-robi .gd-bubble p b { color: #0f4f8a; }
.gd-say-robi .gd-bubble::before { content: ""; position: absolute; right: -9px; bottom: 10px; border: 9px solid transparent; border-left-color: #bfe2ff; border-right: 0; }
.gd-say-robi .gd-bubble::after { content: ""; position: absolute; right: -7px; bottom: 11px; border: 8px solid transparent; border-left-color: #dff1ff; border-right: 0; }
.gd-say-robi.in { transition-delay: .25s; }
.gd-hero .gd-mascot { width: 300px; left: -90px; bottom: -70px; }
.gd-ai img { width: 90px !important; }
.gd-final img { width: 260px !important; }
.gd-final-say { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8px 0 6px; }
.gd-final-say span { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 30px; padding: 8px 16px; font-size: 14px; }
.gd-final-say b { color: #ffd56b; }
@media (max-width: 900px) { .gd-hero .gd-mascot { width: 200px; left: -10px; bottom: -50px; } }
@media (max-width: 640px) { .gd-say img { width: 70px; } .gd-bubble { font-size: 14px; padding: 12px 14px; } .gd-bubble p { font-size: 14px !important; } }
@media (prefers-reduced-motion: reduce) { .gd-say { opacity: 1; transform: none; transition: none; } }
@media print { .gd-say { opacity: 1 !important; transform: none !important; break-inside: avoid; } .gd-story { break-inside: avoid; } .gd-hero .gd-mascot { display: none; } }

/* ===================== Reklamni baneri između oglasa ===================== */
.wp-card { grid-column: 1 / -1; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--header); transition: transform .25s, box-shadow .25s; }
.wp-card a, .wp-card picture, .wp-card img { display: block; width: 100%; }
.wp-card img { height: auto; aspect-ratio: 6 / 1; object-fit: cover; }
.wp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.wp-tag { position: absolute; top: 8px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .45); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 3px 8px; border-radius: 10px; pointer-events: none; backdrop-filter: blur(4px); }
@media (max-width: 640px) { .wp-card img { aspect-ratio: 8 / 3; } }
.listing-grid.list-view .wp-card, .list-layout .wp-card { grid-column: 1 / -1; }
/* Brza pretraga po kategorijama: sva dugmad iste veličine, ravnomjerno (računar 6 u redu, mobitel 4 u redu) */
.hero-categories ul { display: grid; grid-template-columns: repeat(6, 112px); grid-auto-rows: 1fr; justify-content: center; gap: 10px; max-width: none; margin: 0 auto; }
.hero-categories li { width: auto !important; min-width: 0; }
.hero-categories a { width: 100%; height: 100%; min-height: 96px; box-sizing: border-box; justify-content: center; padding: 14px 6px; text-align: center; }
.hero-categories a span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; overflow-wrap: anywhere; }
@media (max-width: 768px) {
  .hero-categories { margin-top: 26px; }
  .hero-categories ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 4px; }
  .hero-categories a { min-height: 82px; padding: 10px 4px; gap: 6px; font-size: 11px; }
  .hero-categories a i { font-size: 19px; }
}
@media (max-width: 360px) { .hero-categories a { font-size: 10px; } }
/* Popularne kategorije na početnoj: 4 u redu (3 ravna reda), sve kartice iste visine; mobitel 3 u redu */
.home-cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }
.home-cat-grid .cat-card { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 30px 16px 26px; }
.home-cat-grid .cat-card h4 { line-height: 1.3; overflow-wrap: anywhere; }
@media (max-width: 900px) { .home-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 600px) {
  .home-cat-grid { gap: 10px; }
  .home-cat-grid .cat-card { padding: 18px 6px 16px; }
  .home-cat-grid .cat-card .ic { width: 50px; height: 50px; font-size: 19px; margin-bottom: 12px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c, var(--primary)) 15%, transparent); }
  .home-cat-grid .cat-card h4 { font-size: 12.5px; margin-bottom: 3px; }
  .home-cat-grid .cat-card span { font-size: 11px; }
}
