/*
Theme Name: Smeštaj Theme
Description: Tema za portal za izdavanje i rezervaciju apartmana. Radi zajedno sa pluginom „Smeštaj Booking”. Boje se menjaju u Izgled → Prilagodi → Boje sajta.
Version: 2.1.4
Author: Smeštaj
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: smestaj-theme
License: GPLv2 or later
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: var(--sb-text, #34444d); background: var(--sb-bg, #f5f7f6); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { color: var(--sb-ink); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 2.8vw, 32px); }
a { color: var(--sb-primary); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--sb-primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.sbt-skip:focus { clip: auto; width: auto; height: auto; left: 10px; top: 10px; z-index: 100000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.sbt-narrow { max-width: 860px; }
.sbt-center { text-align: center; }

/* ---------- Top bar ---------- */
.sbt-topbar { background: var(--sb-ink); color: rgba(255, 255, 255, .85); font-size: 13px; }
.sbt-topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.sbt-topbar a, .sbt-dd-btn { color: rgba(255, 255, 255, .88); text-decoration: none; }
.sbt-topbar a:hover, .sbt-dd-btn:hover { color: #fff; }
.sbt-top-phones, .sbt-top-links { display: flex; gap: 18px; align-items: center; }
.sbt-dd { position: relative; }
.sbt-dd-btn { background: none; border: 0; cursor: pointer; font-size: 13px; padding: 8px 0; display: flex; align-items: center; gap: 5px; }
.sbt-dd-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 210px; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(20, 35, 43, .18); padding: 8px; z-index: 1000; }
.sbt-dd-right { left: auto; right: -8px; }
.sbt-dd.is-open .sbt-dd-menu { display: block; }
.sbt-dd-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--sb-ink) !important; font-size: 14px; }
.sbt-dd-menu a:hover { background: var(--sb-bg); }
.sbt-dot { font-style: normal; background: var(--sb-accent); color: #fff; border-radius: 999px; padding: 0 6px; font-size: 11px; }
.sbt-langs { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.sbt-langs img { vertical-align: middle; }

/* ---------- Header ---------- */
.sbt-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.sbt-header.is-scrolled { box-shadow: 0 4px 20px rgba(20, 35, 43, .07); border-color: var(--sb-line, #e3e8ea); }
.admin-bar .sbt-header { top: 32px; }
.sbt-header-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.sbt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sb-ink); font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex: none; }
.sbt-logo img { max-height: 48px; width: auto; }
.sbt-logo-mark { color: var(--sb-primary); display: inline-flex; background: var(--sb-primary-soft); border-radius: 10px; padding: 5px; }
.sbt-logo-light { color: #fff; }
.sbt-logo-light .sbt-logo-mark { background: rgba(255, 255, 255, .1); color: #fff; }
.sbt-nav { flex: 1; }
.sbt-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.sbt-menu > li { position: relative; }
.sbt-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--sb-ink); font-weight: 600; font-size: 15px; }
.sbt-menu a:hover, .sbt-menu .current-menu-item > a, .sbt-menu .current_page_item > a { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sbt-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; list-style: none; margin: 0; padding: 8px; background: #fff; min-width: 220px; border-radius: 12px; box-shadow: 0 12px 40px rgba(20, 35, 43, .15); }
.sbt-menu li:hover > .sub-menu, .sbt-menu li:focus-within > .sub-menu { display: block; }
.sbt-nav-mobile-extra { display: none; }
.sbt-header-actions { display: flex; align-items: center; gap: 12px; }
.sbt-wish { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--sb-ink); }
.sbt-wish:hover { background: var(--sb-bg); }
.sbt-wish svg { fill: none; stroke: currentColor; stroke-width: 2; }
.sbt-wish .sb-wish-count { position: absolute; top: 2px; right: 0; background: var(--sb-accent); color: #fff; font-size: 11px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; display: grid; place-items: center; padding: 0 5px; }
.sbt-burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 9px; }
.sbt-burger span { display: block; height: 2px; background: var(--sb-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sbt-menu-open .sbt-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sbt-menu-open .sbt-burger span:nth-child(2) { opacity: 0; }
.sbt-menu-open .sbt-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- Header search + dropdowns + mega menu ---------- */
.sbt-header-in { position: relative; }
.sbt-hsearch { position: relative; flex: 0 1 300px; min-width: 180px; }
.sbt-hsearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); fill: var(--sb-muted, #6b7a83); }
.sbt-hsearch input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--sb-line, #e3e8ea); border-radius: 999px; background: var(--sb-bg); font-size: 14px; color: var(--sb-ink); }
.sbt-hsearch input:focus { outline: none; border-color: var(--sb-primary); background: #fff; box-shadow: 0 0 0 3px var(--sb-primary-soft); }
.sbt-nav { display: flex; justify-content: flex-end; }
.sbt-dd-toggle { background: none; border: 0; cursor: pointer; padding: 10px 14px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; color: var(--sb-ink); display: flex; align-items: center; gap: 4px; }
.sbt-dd-toggle span { font-size: 11px; transition: transform .2s; }
.sbt-has-dd { position: relative; }
.sbt-has-dd:hover > .sbt-dd-toggle, .sbt-has-dd.is-open > .sbt-dd-toggle { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sbt-has-dd.is-open > .sbt-dd-toggle span { transform: rotate(180deg); }
.sbt-dropdown { display: none; position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(20, 35, 43, .18); padding: 10px; z-index: 950; min-width: 240px; }
.sbt-has-dd.is-open > .sbt-dropdown { display: block; }
@media (min-width: 1001px) { .sbt-has-dd:hover > .sbt-dropdown, .sbt-has-dd:focus-within > .sbt-dropdown { display: block; } .sbt-has-dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } }
.sbt-dd-list, .sbt-dd-list .sub-menu { list-style: none; margin: 0; padding: 0; }
.sbt-dd-list a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--sb-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.sbt-dd-list a:hover { background: var(--sb-bg); color: var(--sb-primary); }
.sbt-dd-list > li > .sub-menu { padding-left: 10px; border-left: 2px solid var(--sb-line, #e3e8ea); margin: 2px 0 4px 12px; display: block !important; position: static; box-shadow: none; }
.sbt-dd-list > li.menu-item-has-children > a[href="#"] { color: var(--sb-muted, #6b7a83); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; pointer-events: none; }
.sbt-menu > li.sbt-has-mega, .sbt-has-mega { position: static; }
.sbt-mega { left: 16px; right: 16px; padding: 20px; }
.sbt-mega-search { position: relative; margin-bottom: 14px; }
.sbt-mega-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); fill: var(--sb-muted, #6b7a83); }
.sbt-mega-search input { width: 100%; padding: 13px 14px 13px 42px; border: 1px solid var(--sb-line, #e3e8ea); border-radius: 12px; font-size: 15px; background: var(--sb-bg); }
.sbt-mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px 10px; max-height: 62vh; overflow: auto; }
.sbt-mega-grid a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--sb-ink); font-size: 14.5px; }
.sbt-mega-grid a:hover { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sbt-mega-grid span { width: 24px; text-align: center; font-size: 17px; }
@media (max-width: 1250px) { .sbt-hsearch { flex-basis: 220px; } .sbt-mega-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
	.sbt-hsearch { display: none; }
	.sbt-nav { display: block; }
	.sbt-dd-toggle { width: 100%; justify-content: space-between; font-size: 17px; padding: 12px 10px; }
	.sbt-dropdown, .sbt-mega { position: static; box-shadow: none; padding: 0 0 10px 6px; min-width: 0; }
	.sbt-mega-grid { grid-template-columns: 1fr; max-height: none; }
	.sbt-mega-search { margin: 4px 0 8px; }
}

/* ---------- Hero ---------- */
.sbt-hero { position: relative; overflow: hidden; color: #fff; padding: 84px 0 96px;
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .14), transparent 60%),
		radial-gradient(700px 400px at -10% 110%, color-mix(in srgb, var(--sb-accent) 45%, transparent), transparent 60%),
		linear-gradient(135deg, var(--sb-primary), var(--sb-primary-dark)); }
.sbt-hero.has-image { background: linear-gradient(180deg, rgba(10, 25, 30, .45), rgba(10, 25, 30, .6)), var(--hero) center/cover no-repeat; }
.sbt-hero::after { content: ""; position: absolute; right: -80px; top: 40px; width: 360px; height: 360px; border-radius: 48% 52% 60% 40%; border: 2px solid rgba(255, 255, 255, .12); pointer-events: none; }
.sbt-hero-in { position: relative; z-index: 2; }
.sbt-hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 58px); max-width: 780px; margin: 0 0 14px; letter-spacing: -.03em; }
.sbt-hero-sub { font-size: clamp(16px, 1.6vw, 20px); max-width: 640px; opacity: .92; margin: 0 0 32px; }
.sbt-hero .sb-search { max-width: 1080px; color: var(--sb-text); }
.sbt-hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 26px 0 0; font-weight: 600; opacity: .95; }

/* ---------- Sections ---------- */
.sbt-section { padding: 56px 0 0; }
.sbt-section:last-child { padding-bottom: 72px; }
.sbt-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sbt-section-head h2 { margin: 2px 0 0; }
.sbt-eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--sb-accent); }
.sbt-steps { padding-top: 0; margin-top: -42px; position: relative; z-index: 3; }
.sbt-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sbt-step { background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 8px 30px rgba(20, 35, 43, .08); }
.sbt-step span { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--sb-primary-soft); font-size: 24px; }
.sbt-step h3 { margin: 14px 0 6px; font-size: 19px; }
.sbt-step p { margin: 0; font-size: 15px; }
.sbt-banner img { width: 100%; border-radius: 18px; display: block; }
.sbt-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sbt-chips a { display: block; padding: 10px 18px; background: #fff; border: 1px solid var(--sb-line, #e3e8ea); border-radius: 999px; text-decoration: none; color: var(--sb-ink); font-weight: 600; font-size: 15px; transition: all .15s; }
.sbt-chips a:hover { border-color: var(--sb-primary); color: var(--sb-primary); transform: translateY(-1px); }

.sbt-districts { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 14px; }
.sbt-district { position: relative; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; text-decoration: none; color: #fff;
	background: linear-gradient(180deg, transparent 35%, rgba(10, 25, 30, .75)), var(--img, linear-gradient(135deg, var(--sb-primary), var(--sb-primary-dark))) center/cover; transition: transform .2s; }
.sbt-district:hover { transform: translateY(-3px); }
.sbt-district.is-big { grid-column: span 2; grid-row: span 2; }
.sbt-district strong { font-size: 20px; }
.sbt-district.is-big strong { font-size: 28px; }
.sbt-district span { font-size: 14px; opacity: .9; }

.sbt-owner-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 22px; color: #fff; background: radial-gradient(500px 300px at 100% 0, color-mix(in srgb, var(--sb-accent) 50%, transparent), transparent 70%), var(--sb-ink); }
.sbt-owner-band h2 { color: #fff; margin: 0 0 6px; }
.sbt-owner-band p { margin: 0; opacity: .85; max-width: 560px; }

.sbt-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.sbt-post-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 35, 43, .06), 0 6px 20px rgba(20, 35, 43, .06); display: flex; flex-direction: column; }
.sbt-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sb-primary-soft); }
.sbt-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sbt-post-card:hover .sbt-post-img img { transform: scale(1.04); }
.sbt-post-body { padding: 18px 20px 22px; }
.sbt-post-body h3 { font-size: 19px; margin: 6px 0 8px; }
.sbt-post-body h3 a { color: var(--sb-ink); text-decoration: none; }
.sbt-post-body p { margin: 0; font-size: 15px; }
.sbt-post-meta { font-size: 13px; color: var(--sb-muted, #6b7a83); }
.sbt-post-meta a { color: var(--sb-primary); text-decoration: none; }

.sbt-seo { color: var(--sb-text); }
.sbt-content { line-height: 1.75; }
.sbt-content h2 { margin-top: 1.6em; }
.sbt-content img { border-radius: 12px; }
.sbt-content > *:first-child { margin-top: 0; }

/* ---------- Pages / blog ---------- */
.sbt-page-head { margin: 4px 0 24px; }
.sbt-page-head h1 { font-size: clamp(28px, 4vw, 44px); margin: 6px 0; }
.sbt-blog-layout { display: grid; grid-template-columns: 1fr; gap: 30px; }
.sbt-blog-layout:has(.sbt-sidebar) { grid-template-columns: 1fr 300px; }
.sbt-widget { background: #fff; padding: 20px; border-radius: 14px; margin-bottom: 18px; }
.sbt-article { background: #fff; border-radius: 20px; padding: clamp(20px, 4vw, 44px); }
.sbt-article-img img { width: 100%; border-radius: 14px; margin-bottom: 24px; }
.sbt-post-nav { display: flex; justify-content: space-between; gap: 16px; margin: 26px 0; font-weight: 600; }
.sbt-post-nav a { text-decoration: none; }
.sbt-pagination .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.sbt-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--sb-line, #e3e8ea); text-decoration: none; color: var(--sb-ink); font-weight: 600; padding: 0 8px; }
.sbt-pagination .current { background: var(--sb-primary); color: #fff; border-color: var(--sb-primary); }
.sbt-comments { background: #fff; padding: 26px; border-radius: 18px; margin-top: 26px; }
.sbt-comments input:not([type=submit]):not([type=checkbox]), .sbt-comments textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--sb-line, #e3e8ea); border-radius: 9px; }
.sbt-searchform { display: flex; gap: 8px; }
.sbt-searchform input { flex: 1; padding: 10px 14px; border: 1px solid var(--sb-line, #e3e8ea); border-radius: 999px; }
.sbt-404 { text-align: center; padding: 50px 0; }
.sbt-404-code { font-size: 120px; font-weight: 800; line-height: 1; color: var(--sb-primary); opacity: .2; }
.sbt-404 .sb-search { margin: 20px 0; text-align: left; }

/* ---------- Footer ---------- */
.sbt-footer { background: var(--sbt-footer, #0f1b21); color: rgba(255, 255, 255, .72); padding: 56px 0 24px; margin-top: 40px; font-size: 14px; }
.sbt-home + .sbt-footer { margin-top: 0; }
.sbt-footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.sbt-footer ul { list-style: none; margin: 0 0 22px; padding: 0; }
.sbt-footer li { margin: 0 0 6px; }
.sbt-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.sbt-footer a:hover { color: #fff; }
.sbt-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1.1fr 1.1fr; gap: 28px; }
.sbt-footer p a { color: #fff; text-decoration: underline; }
.sbt-fcol-about p { margin: 14px 0; }
.sbt-social { display: flex; flex-wrap: wrap; gap: 8px; }
.sbt-social a { padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: 13px; }
.sbt-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 20px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.sbt-header { backdrop-filter: none; background: #fff; }
	.sbt-menu-open .sbt-header { z-index: 1001; }
	.sbt-burger { display: flex; }
	.sbt-cta { display: none; }
	.sbt-nav { position: fixed; inset: 0 0 0 auto; top: 0; width: min(340px, 88vw); background: #fff; z-index: 1001; padding: 80px 20px 24px; transform: translateX(100%); transition: transform .25s, visibility 0s .25s; visibility: hidden; overflow-y: auto; box-shadow: none; }
	.sbt-menu-open .sbt-nav { transform: none; visibility: visible; transition: transform .25s; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
	.sbt-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 20, 25, .4); z-index: 1000; }
	.sbt-header-actions { margin-left: auto; position: relative; z-index: 1002; }
	.sbt-menu { flex-direction: column; }
	.sbt-menu a { font-size: 17px; padding: 12px 10px; }
	.sbt-menu .sub-menu { position: static; display: none; box-shadow: none; padding: 0 0 0 12px; }
	.sbt-menu li.is-open > .sub-menu { display: block; }
	.sbt-nav-mobile-extra { display: grid; gap: 10px; margin-top: 20px; }
	.sbt-footer-grid { grid-template-columns: 1fr 1fr; }
	.sbt-districts { grid-template-columns: repeat(2, 1fr); }
	.sbt-blog-layout:has(.sbt-sidebar) { grid-template-columns: 1fr; }
}
@media (max-width: 782px) { .admin-bar .sbt-header { top: 46px; } }
@media (max-width: 680px) {
	.sbt-topbar-in { justify-content: center; }
	.sbt-top-phones { display: none; }
	.sbt-hero { padding: 48px 0 76px; }
	.sbt-steps-grid { grid-template-columns: 1fr; }
	.sbt-districts { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
	.sbt-footer-grid { grid-template-columns: 1fr; }
	.sbt-owner-band { padding: 28px; }
	.sbt-header-in { gap: 12px; min-height: 60px; }
	.sbt-logo { font-size: 18px; }
}

/* =========================================================
   Mobile UX (v1.8) – app-like bottom bar, compact header,
   folding footer, no iOS zoom, safe areas.
   ========================================================= */
.sbt-bottomnav { display: none; }
.sbt-nav-owner { display: none; }
@media (max-width: 1000px) {
	.sbt-nav-owner { display: grid; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sb-line, #e3e8ea); }
	.sbt-nav-owner strong { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--sb-muted, #6b7a83); padding: 0 10px 4px; }
	.sbt-nav-owner a { padding: 11px 10px; color: var(--sb-ink); text-decoration: none; font-weight: 600; border-radius: 10px; }
	.sbt-nav-owner a:active { background: var(--sb-bg); }
}
@media (max-width: 820px) {
	html { -webkit-text-size-adjust: 100%; }
	body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: rgba(14, 94, 111, .12); }
	/* Inputs ≥16px so iPhone does not zoom in on focus. */
	input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
	.sbt-bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--sb-line, #e3e8ea); box-shadow: 0 -6px 24px rgba(20, 35, 43, .07); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); transition: transform .2s; }
	.sbt-bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; color: var(--sb-muted, #6b7a83); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: 12px; }
	.sbt-bottomnav a.is-active { color: var(--sb-primary); }
	.sbt-bottomnav a.is-active .sbt-bn-ico { background: var(--sb-primary-soft, #e3f1f3); }
	.sbt-bn-ico { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 30px; border-radius: 999px; transition: background .15s; }
	.sbt-bn-ico em { position: absolute; top: -2px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--sb-accent); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
	.sbt-typing .sbt-bottomnav, .sbt-menu-open .sbt-bottomnav { transform: translateY(110%); }
	/* Detail pages have their own bottom action bar (Rezerviši / Pozovi). */
	.single-sb_apartman .sbt-bottomnav, .single-sb_firma .sbt-bottomnav { display: none; }
	.single-sb_apartman, .single-sb_firma { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	/* Header: hide the thin top bar (its links are in the menu and bottom bar). */
	.sbt-topbar { display: none; }
	.sbt-header-in { min-height: 58px; }
	.sbt-wish { display: none; }
	.sbt-burger { width: 44px; height: 44px; }
	.sbt-nav { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
	.sbt-menu a, .sbt-dd-toggle { min-height: 46px; }
}
@media (max-width: 680px) {
	/* Footer columns fold open/closed. */
	.sbt-footer { padding-top: 26px; }
	.sbt-footer-grid { gap: 0; }
	.sbt-fcol:not(.sbt-fcol-about) h4 { margin: 0; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
	.sbt-fcol:not(.sbt-fcol-about) h4::after { content: "+"; font-size: 22px; font-weight: 400; opacity: .7; transition: transform .2s; }
	.sbt-fcol.is-open h4::after { transform: rotate(45deg); }
	.sbt-fcol:not(.sbt-fcol-about) > ul, .sbt-fcol:not(.sbt-fcol-about) > p, .sbt-fcol:not(.sbt-fcol-about) > .sbt-social, .sbt-fcol:not(.sbt-fcol-about) > div.menu-popularno-container, .sbt-fcol:not(.sbt-fcol-about) > .menu { display: none; }
	.sbt-fcol.is-open > ul, .sbt-fcol.is-open > p, .sbt-fcol.is-open > .sbt-social, .sbt-fcol.is-open > .menu { display: block; padding-bottom: 12px; }
	.sbt-fcol.is-open > .sbt-social { display: flex; }
	.sbt-fcol ul li a { display: block; padding: 7px 0; }
	.sbt-fcol-about { padding-bottom: 14px; }
	.sbt-footer-bottom { margin-top: 0; }
	/* Hero search a bit tighter. */
	.sbt-hero { padding: 30px 0 40px; }
	.sbt-hero h1 { font-size: 30px; }
	.sbt-hero-sub { margin-bottom: 20px; }
	.sbt-hero-stats { gap: 6px 16px; font-size: 14px; }
	.sbt-section { padding-top: 40px; }
}

/* ---------- v2.0.4 Steps: numbers + separators between cards ---------- */
.sbt-steps-grid { counter-reset: sbtstep; gap: 34px; }
.sbt-step { position: relative; counter-increment: sbtstep; border-top: 4px solid var(--sb-primary, #0E5E6F); }
.sbt-step:nth-child(2) { border-top-color: var(--sb-accent, #F2734B); }
.sbt-step:nth-child(3) { border-top-color: #1f9d6b; }
.sbt-step::before { content: counter(sbtstep); position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: #fff; background: var(--sb-primary, #0E5E6F); }
.sbt-step:nth-child(2)::before { background: var(--sb-accent, #F2734B); }
.sbt-step:nth-child(3)::before { background: #1f9d6b; }
/* Arrow badge in the gap between two cards. */
.sbt-step:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -30px; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sb-primary, #0E5E6F); font-weight: 800; font-size: 14px; box-shadow: 0 2px 8px rgba(20, 35, 43, .15); z-index: 2; }
@media (max-width: 680px) {
	.sbt-steps-grid { gap: 30px; }
	.sbt-step { padding: 20px 20px 20px; }
	.sbt-step:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -28px; left: 50%; transform: translateX(-50%); }
	.sbt-step h3 { margin-top: 12px; }
}

/* ---------- v2.0.5 Phone: steps no longer overlap the hero – clear gap under the hero ---------- */
@media (max-width: 680px) {
	.sbt-steps { margin-top: 0; padding-top: 22px; }
}

/* ---------- v2.0.6 Bottom bar: solid background, account shows your initial ---------- */
@media (max-width: 820px) {
	.sbt-bottomnav { background: #fff; }
	.sbt-bn-ico em { top: -4px; right: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
	.sbt-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; line-height: 1; }
	.sbt-av.is-guest { background: var(--sb-accent, #F2734B); }
	.sbt-av.is-owner { background: var(--sb-primary, #0E5E6F); }
	.sbt-bottomnav a.is-active .sbt-bn-av { background: transparent; }
	.sbt-bottomnav a.is-active .sbt-av { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--sb-primary, #0E5E6F); }
	.sbt-bn-av em { right: 6px; }
}

/* ---------- v2.0.11 Home on phones (like the original): stacked apartments, "Popularno" carousel, centered heads, blog ---------- */
.sbt-show-m, .sbt-more-mobile, .sbt-pop { display: none; }
.sbt-section-intro { margin: 8px 0 0; max-width: 640px; color: var(--sb-muted, #6b7a83); }
.sbt-post-tag { display: inline-block; margin-top: 12px; padding: 4px 10px; border-radius: 3px; background: var(--sb-accent, #F2734B); color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.sbt-btn-outline { display: block; text-align: center; padding: 14px 16px; border: 1.5px solid var(--sb-line, #cfd6d9); border-radius: 4px; color: var(--sb-text, #34444d); text-decoration: none; font-size: 17px; background: #fff; }
.sbt-btn-outline:hover { border-color: var(--sb-primary); color: var(--sb-primary); }
@media (max-width: 680px) {
	.sbt-hide-m { display: none; }
	.sbt-show-m { display: inline; }
	/* Centered section titles, buttons move under the content. */
	.sbt-section-head { flex-direction: column; align-items: center; text-align: center; }
	.sbt-section-head .sb-btn-ghost { display: none; }
	.sbt-section-head h2, .sbt-popular h2 { font-size: 30px; color: var(--sb-primary); text-align: center; }
	.sbt-eyebrow { display: none; }
	/* Featured apartments: full-width cards one under another. */
	.sbt-featured .sb-grid { display: grid !important; grid-template-columns: 1fr !important; overflow: visible; margin: 0; padding: 0; gap: 22px; }
	.sbt-featured .sb-card { flex: none; }
	.sbt-featured .sb-card-media { aspect-ratio: 3 / 2; height: auto; }
	.sbt-more-mobile { display: block; margin: 24px 6% 0; }
	.sbt-guide .sbt-more-mobile, .sbt-blog-more { display: block; }
	/* Popular: one card at a time with round arrows. */
	.sbt-popular .sbt-chips { display: none; }
	.sbt-pop { display: block; position: relative; margin: 0 4px; }
	.sbt-pop-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 1px solid var(--sb-line, #e3e8ea); background: #fff; box-shadow: 0 2px 10px rgba(20, 35, 43, .06); }
	.sbt-pop-track::-webkit-scrollbar { display: none; }
	.sbt-pop-item { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; min-height: 112px; text-decoration: none; color: var(--sb-ink, #14232b); }
	.sbt-pop-img { flex: 0 0 42%; align-self: stretch; background: var(--sb-primary-soft, #e3f0f2) center / cover no-repeat; }
	.sbt-pop-title { flex: 1; padding: 12px 22px; font-size: 18px; font-weight: 600; line-height: 1.3; }
	.sbt-pop .sbt-pop-btn { opacity: 1; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--sb-ink, #14232b); border: 1px solid var(--sb-line, #e3e8ea); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
	.sbt-pop .sb-sl-prev { left: -12px; } .sbt-pop .sb-sl-next { right: -12px; }
	/* Blog: big image cards. */
	.sbt-posts-home { grid-template-columns: 1fr; gap: 24px; }
	.sbt-posts-home .sbt-post-card { border-radius: 0; }
	.sbt-posts-home .sbt-post-body { padding: 20px 22px 24px; }
	.sbt-posts-home .sbt-post-body h3 { font-size: 22px; line-height: 1.3; }
	.sbt-posts-home .sbt-post-body p { display: none; }
	.sbt-posts-home .sbt-post-cat { display: none; }
}

/* ---------- v2.0.13 Hero: centered on computers, eyebrow, highlighted words ---------- */
.sbt-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.sbt-hero-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--sb-accent, #F2734B); box-shadow: 0 0 0 4px rgba(242, 115, 75, .25); }
.sbt-hero h1 .sbt-hl { font-style: normal; color: #ffb79f; position: relative; white-space: nowrap; }
.sbt-hero h1 .sbt-hl::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .02em; height: .12em; border-radius: 4px; background: var(--sb-accent, #F2734B); opacity: .55; z-index: -1; }
.sbt-hero h1 { position: relative; z-index: 1; }
@media (min-width: 681px) {
	.sbt-hero { padding: 92px 0 118px; }
	.sbt-hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
	.sbt-hero h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.08; max-width: 900px; margin: 0 auto 16px; letter-spacing: -.035em; }
	.sbt-hero-sub { max-width: 720px; margin: 0 auto 36px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; opacity: .9; }
	.sbt-hero .sb-search { width: 100%; max-width: 1180px; margin: 0 auto; text-align: left; }
	.sbt-hero-stats { justify-content: center; margin-top: 28px; }
	.sbt-hero::after { right: -140px; top: auto; bottom: -160px; width: 420px; height: 420px; }
	.sbt-hero::before { content: ""; position: absolute; left: -120px; top: -140px; width: 340px; height: 340px; border-radius: 52% 48% 40% 60%; border: 2px solid rgba(255, 255, 255, .08); pointer-events: none; }
}
@media (max-width: 680px) {
	.sbt-hero-eyebrow { font-size: 12.5px; margin-bottom: 12px; }
}

/* ---------- v2.1 Hero tabs: Smeštaj / Rent a car / Transfer ---------- */
.sbt-htabs { display: inline-flex; gap: 6px; padding: 5px; margin: 0 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .2); }
.sbt-htabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.sbt-htabs button.is-on { background: #fff; color: var(--sb-primary, #0E5E6F); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.sbt-hpane { width: 100%; }
.sbt-hpane .sb-rac-form, .sbt-hpane .sb-tr-form { max-width: 1180px; text-align: left; }
@media (max-width: 680px) {
	.sbt-htabs { display: flex; width: 100%; }
	.sbt-htabs button { flex: 1; justify-content: center; padding: 9px 6px; font-size: 13.5px; gap: 5px; }
}

/* ---------- v2.1 Header: more menu items (Rent a car, Transfer) fit on one line ---------- */
@media (min-width: 1001px) {
	.sbt-menu > li > a, .sbt-menu > li > button { white-space: nowrap; }
	.sbt-menu a { padding: 10px 11px; }
}
@media (min-width: 1001px) and (max-width: 1500px) { .sbt-hsearch { flex-basis: 190px; min-width: 150px; } }
@media (min-width: 1001px) and (max-width: 1380px) { .sbt-hsearch { display: none; } }
@media (min-width: 1001px) and (max-width: 1180px) { .sbt-menu a { padding: 10px 6px; font-size: 14px; } }

.sbt-hero[data-tab="rac"] .sbt-hero-stats, .sbt-hero[data-tab="tr"] .sbt-hero-stats { display: none; }

/* v2.1.4: more menu items (Rent a car, Transfer) – keep the header on one line */
@media (min-width: 1001px) {
	.sbt-header-actions { flex: 0 0 auto; }
	.sbt-hsearch { flex: 0 1 260px; min-width: 140px; }
}
@media (min-width: 1001px) and (max-width: 1600px) { .sbt-hsearch { display: none; } }
@media (min-width: 1001px) and (max-width: 1420px) { .sbt-menu a, .sbt-menu > li > button { padding: 10px 8px; font-size: 14.5px; } .sbt-header-in { gap: 14px; } .sbt-cta { padding-left: 14px; padding-right: 14px; } }
@media (min-width: 1001px) and (max-width: 1240px) { .sbt-menu a, .sbt-menu > li > button { padding: 10px 5px; font-size: 13.5px; } }
@media (min-width: 1001px) and (max-width: 1140px) { .sbt-cta { display: none; } .sbt-menu a, .sbt-menu > li > button { padding: 10px 4px; font-size: 13px; } .sbt-header-in { gap: 10px; } }
