/* Smeštaj Booking – components. Colors come from CSS variables (set by the theme/customizer). */
:root {
	--sb-primary: #0E5E6F;
	--sb-primary-dark: #0a4654;
	--sb-primary-soft: #e3f0f2;
	--sb-accent: #F2734B;
	--sb-accent-dark: #d95c35;
	--sb-ink: #14232b;
	--sb-text: #34444d;
	--sb-muted: #6b7a83;
	--sb-line: #e3e8ea;
	--sb-bg: #f5f7f6;
	--sb-white: #fff;
	--sb-ok: #1f9d6b;
	--sb-warn: #d99a14;
	--sb-err: #d64545;
	--sb-radius: 14px;
	--sb-radius-sm: 9px;
	--sb-shadow: 0 1px 2px rgba(20, 35, 43, .06), 0 6px 20px rgba(20, 35, 43, .06);
	--sb-shadow-lg: 0 12px 40px rgba(20, 35, 43, .14);
}

.sb-container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sb-main { padding: 20px 0 60px; }
.sb-muted { color: var(--sb-muted); }
.sb-small { font-size: 13px; }
.sb-center { text-align: center; }
.sb-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.sb-noscroll { overflow: hidden; }

/* ---------- Buttons ---------- */
.sb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.sb-btn:active { transform: translateY(1px); }
.sb-btn svg { fill: currentColor; }
.sb-btn-primary { background: var(--sb-primary); color: #fff !important; }
.sb-btn-primary:hover { background: var(--sb-primary-dark); }
.sb-btn-accent { background: var(--sb-accent); color: #fff !important; }
.sb-btn-accent:hover { background: var(--sb-accent-dark); }
.sb-btn-ghost { background: transparent; color: var(--sb-ink) !important; border-color: var(--sb-line); }
.sb-btn-ghost:hover, .sb-btn-ghost.is-active { border-color: var(--sb-primary); color: var(--sb-primary) !important; }
.sb-btn-light { background: #fff; color: var(--sb-ink) !important; box-shadow: var(--sb-shadow); }
.sb-btn-danger { background: transparent; color: var(--sb-err) !important; border-color: #f2c9c9; }
.sb-btn-danger:hover { background: #fdf0f0; }
.sb-btn-sm { padding: 6px 12px; font-size: 13px; }
.sb-btn-lg { padding: 14px 24px; font-size: 16px; }
.sb-btn-block { display: flex; width: 100%; }
.sb-btn[disabled] { opacity: .6; cursor: wait; }
.sb-link { background: none; border: 0; padding: 0; color: var(--sb-primary); cursor: pointer; font: inherit; font-weight: 600; }

/* ---------- Forms ---------- */
.sb-form label, .sb-field label, .sb-book-form label { display: block; font-weight: 600; font-size: 14px; color: var(--sb-ink); margin-bottom: 12px; }
.sb-form input[type=text], .sb-form input[type=email], .sb-form input[type=tel], .sb-form input[type=password], .sb-form input[type=number], .sb-form input[type=url], .sb-form input[type=date], .sb-form input[type=time], .sb-form input[type=search], .sb-form select, .sb-form textarea,
.sb-field input, .sb-field select, .sb-field textarea,
.sb-filters input[type=text], .sb-filters input[type=search], .sb-filters select,
.sb-book-form input[type=text], .sb-book-form input[type=email], .sb-book-form input[type=tel], .sb-book-form select, .sb-book-form textarea,
.sb-firm-filter input, .sb-firm-filter select, .sb-review-form textarea, .sb-reply-form textarea, .sb-pricelist input {
	display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--sb-line); border-radius: var(--sb-radius-sm); background: #fff; font: inherit; font-size: 15px; font-weight: 400; color: var(--sb-ink); box-sizing: border-box; transition: border-color .15s, box-shadow .15s;
}
.sb-form input:focus, .sb-form select:focus, .sb-form textarea:focus, .sb-field input:focus, .sb-field select:focus, .sb-filters input:focus, .sb-filters select:focus, .sb-book-form input:focus, .sb-book-form select:focus, .sb-book-form textarea:focus, .sb-review-form textarea:focus {
	outline: none; border-color: var(--sb-primary); box-shadow: 0 0 0 3px var(--sb-primary-soft);
}
.sb-inline, label.sb-inline { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.sb-inline input { width: auto !important; margin: 0 !important; }
.sb-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sb-form-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.sb-form-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.sb-fields-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; }
.sb-field-checkbox label { display: flex; gap: 8px; align-items: center; padding-top: 28px; }
.sb-field-checkbox input { width: auto; margin: 0; }
.sb-field-textarea { grid-column: 1 / -1; }
.sb-help { color: var(--sb-muted); font-size: 13px; margin: 0 0 8px; }
.sb-form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }

.sb-alert { padding: 12px 16px; border-radius: var(--sb-radius-sm); margin: 0 0 16px; background: var(--sb-primary-soft); color: var(--sb-ink); }
.sb-alert ul { margin: 0; padding-left: 18px; }
.sb-alert-error { background: #fdeeee; color: #8a2424; }
.sb-alert-success { background: #e8f7ef; color: #11613f; }

/* ---------- Search forms ---------- */
.sb-search { display: grid; grid-template-columns: 1.1fr 1.1fr 1.5fr .8fr auto; gap: 8px; background: #fff; padding: 8px; border-radius: 18px; box-shadow: var(--sb-shadow-lg); align-items: stretch; }
.sb-sf { position: relative; padding: 8px 14px; border-radius: 12px; transition: background .15s; }
.sb-sf:hover { background: var(--sb-bg); }
.sb-sf + .sb-sf::before { content: ""; position: absolute; left: -4px; top: 18%; height: 64%; width: 1px; background: var(--sb-line); }
.sb-sf label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sb-muted); margin-bottom: 2px; }
.sb-sf select, .sb-sf input { width: 100%; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--sb-ink); padding: 2px 0; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sb-sf-submit { border-radius: 12px; padding: 0 26px; }
.sb-search-bar { box-shadow: var(--sb-shadow); }

/* ---------- Search page ---------- */
.sb-archive-head { margin: 4px 0 18px; }
.sb-archive-head h1 { margin: 6px 0 6px; font-size: clamp(26px, 3.4vw, 38px); }
.sb-archive-intro { color: var(--sb-text); max-width: 820px; }
.sb-breadcrumbs { font-size: 13px; color: var(--sb-muted); }
.sb-breadcrumbs a { color: var(--sb-muted); text-decoration: none; }
.sb-breadcrumbs a:hover { color: var(--sb-primary); }
.sb-breadcrumbs span { margin: 0 4px; }

.sb-search-page { display: grid; grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
.sb-search-side { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; scrollbar-width: thin; }
.sb-filters { background: #fff; border: 1px solid var(--sb-line); border-radius: var(--sb-radius); padding: 18px; }
.sb-filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sb-filters-head strong { font-size: 18px; color: var(--sb-ink); }
.sb-reset { font-size: 13px; color: var(--sb-muted); }
.sb-filters-close { display: none; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; }
.sb-fgroup { border-top: 1px solid var(--sb-line); padding: 14px 0; margin: 0; }
.sb-flabel { display: block; font-weight: 700; color: var(--sb-ink); font-size: 14px; margin-bottom: 8px; cursor: pointer; }
details.sb-acc > summary { list-style: none; display: flex; justify-content: space-between; margin: 0; }
details.sb-acc > summary::after { content: "+"; font-weight: 400; font-size: 18px; line-height: 1; color: var(--sb-muted); }
details.sb-acc[open] > summary::after { content: "–"; }
details.sb-acc[open] > summary { margin-bottom: 10px; }
.sb-checks label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sb-text); padding: 3px 0; cursor: pointer; font-weight: 400; }
.sb-checks input[type=checkbox] { accent-color: var(--sb-primary); width: 16px; height: 16px; }
.sb-checks-scroll { max-height: 180px; overflow: auto; }
.sb-checks-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 12px; }
.sb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-chips label { padding: 0; }
.sb-chips input { position: absolute; opacity: 0; pointer-events: none; }
.sb-chips span { display: inline-block; padding: 6px 12px; border: 1px solid var(--sb-line); border-radius: 999px; font-size: 13px; }
.sb-chips input:checked + span { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }
.sb-chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--sb-primary-soft); }

.sb-range { position: relative; height: 54px; --a: 0%; --b: 100%; }
.sb-range::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--sb-line) var(--a), var(--sb-primary) var(--a), var(--sb-primary) var(--b), var(--sb-line) var(--b)); }
.sb-range input[type=range] { position: absolute; left: 0; width: 100%; top: 0; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; height: 26px; }
.sb-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: all; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--sb-primary); cursor: pointer; box-shadow: var(--sb-shadow); }
.sb-range input[type=range]::-moz-range-thumb { pointer-events: all; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--sb-primary); cursor: pointer; }
.sb-range-out { position: absolute; top: 32px; left: 0; right: 0; font-size: 14px; font-weight: 600; color: var(--sb-ink); }

.sb-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sb-results-count { font-weight: 700; color: var(--sb-ink); font-size: 17px; }
.sb-results-tools { display: flex; gap: 8px; align-items: center; }
.sb-sort { padding: 9px 12px; border-radius: 999px; border: 1px solid var(--sb-line); font: inherit; font-size: 14px; background: #fff; }
.sb-open-filters { display: none; }
.sb-results-wrap { display: block; }
.sb-search-main.has-map .sb-results-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sb-search-main.has-map .sb-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sb-results-map { position: sticky; top: 90px; height: calc(100vh - 120px); border-radius: var(--sb-radius); overflow: hidden; }
.sb-results-map .sb-map { height: 100%; }

/* ---------- Cards ---------- */
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.sb-card { background: #fff; border-radius: var(--sb-radius); overflow: hidden; box-shadow: var(--sb-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.sb-card:hover, .sb-card.is-hover { transform: translateY(-3px); box-shadow: var(--sb-shadow-lg); }
.sb-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sb-bg); overflow: hidden; }
.sb-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sb-card:hover .sb-card-img img { transform: scale(1.04); }
.sb-card-price { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--sb-ink); font-weight: 800; padding: 6px 11px; border-radius: 999px; font-size: 15px; box-shadow: var(--sb-shadow); }
.sb-card-price small { font-weight: 500; color: var(--sb-muted); font-size: 12px; }
.sb-card-tag { position: absolute; left: 12px; top: 12px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.sb-tag-instant { background: var(--sb-accent); color: #fff; }
.sb-tag-featured { background: var(--sb-primary); color: #fff; }
.sb-tag-instant + .sb-tag-featured { top: 42px; }
.sb-heart { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; box-shadow: var(--sb-shadow); transition: transform .15s; z-index: 2; }
.sb-heart:hover { transform: scale(1.08); }
.sb-heart svg { fill: none; stroke: var(--sb-ink); stroke-width: 2; }
.sb-heart.is-active svg { fill: var(--sb-accent); stroke: var(--sb-accent); }
.sb-single-actions .sb-heart { position: static; }
.sb-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sb-card-title { font-size: 17px; line-height: 1.3; margin: 0; }
.sb-card-title a { color: var(--sb-ink); text-decoration: none; }
.sb-card-title a:hover { color: var(--sb-primary); }
.sb-card-loc { margin: 0; font-size: 13px; color: var(--sb-muted); display: flex; gap: 4px; align-items: flex-start; }
.sb-card-loc svg { fill: var(--sb-muted); flex: none; margin-top: 2px; }
.sb-card-facts { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sb-card-facts li { font-size: 12px; background: var(--sb-bg); padding: 3px 9px; border-radius: 999px; color: var(--sb-text); }
.sb-card-rating { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.sb-score { background: var(--sb-primary); color: #fff; font-weight: 700; border-radius: 6px; padding: 1px 6px; font-size: 13px; }
.sb-count { color: var(--sb-muted); }
.sb-new { color: var(--sb-accent); font-weight: 600; }
.sb-card-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sb-primary); text-transform: uppercase; letter-spacing: .04em; }
.sb-card-excerpt { font-size: 14px; color: var(--sb-text); margin: 0; }
.sb-card-contact { list-style: none; margin: auto 0 0; padding: 6px 0 0; font-size: 13px; display: grid; gap: 2px; }
.sb-card-contact a { color: var(--sb-ink); text-decoration: none; }
.sb-firm-card.sb-pk-premium_plus { outline: 2px solid var(--sb-accent); }

.sb-stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.sb-star { width: 14px; height: 14px; display: inline-block; background: #d7dde0; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.9 7.5.7-5.7 5 1.7 7.4L12 18.3 5.5 22l1.7-7.4-5.7-5 7.5-.7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3 6.9 7.5.7-5.7 5 1.7 7.4L12 18.3 5.5 22l1.7-7.4-5.7-5 7.5-.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.sb-star.full { background: #f5a524; }
.sb-star.half { background: linear-gradient(90deg, #f5a524 50%, #d7dde0 50%); }

.sb-empty { text-align: center; background: #fff; border: 1px dashed var(--sb-line); border-radius: var(--sb-radius); padding: 40px 20px; }
.sb-empty h3 { margin-top: 0; }

.sb-pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0 10px; flex-wrap: wrap; }
.sb-pagination a, .sb-pagination span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--sb-line); text-decoration: none; color: var(--sb-ink); background: #fff; font-weight: 600; padding: 0 8px; }
.sb-pagination .current { background: var(--sb-primary); border-color: var(--sb-primary); color: #fff; }
.sb-pagination .dots { border: 0; background: none; }

.sb-seo-text { margin-top: 40px; background: #fff; border-radius: var(--sb-radius); padding: 26px; color: var(--sb-text); }
.sb-chip-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sb-chip-links a { padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--sb-line); text-decoration: none; color: var(--sb-ink); font-size: 14px; }
.sb-chip-links a.is-active, .sb-chip-links a:hover { border-color: var(--sb-primary); color: var(--sb-primary); }
.sb-chip-links small { color: var(--sb-muted); }

/* Map pins */
.sb-pin { background: none; border: 0; }
.sb-pin span { display: inline-block; transform: translate(-50%, -100%); background: var(--sb-primary); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 8px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); white-space: nowrap; position: relative; }
.sb-pin span::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--sb-primary); border-bottom: 0; }
.sb-pop { display: block; width: 200px; text-decoration: none; color: var(--sb-ink); }
.sb-pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 6px; }
.sb-pop strong { display: block; }
.sb-pop span { color: var(--sb-primary); font-weight: 700; }
.leaflet-container { font: inherit; }

/* ---------- Single apartment ---------- */
.sb-single-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 10px 0 16px; flex-wrap: wrap; }
.sb-single-top h1 { margin: 4px 0; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; }
.sb-single-loc { margin: 0; color: var(--sb-muted); }
.sb-single-loc a { color: var(--sb-ink); font-weight: 600; }
.sb-single-actions { display: flex; gap: 10px; align-items: center; }

.sb-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: var(--sb-radius); overflow: hidden; margin-bottom: 18px; }
.sb-gallery-item, .sb-gallery-main { position: relative; display: block; overflow: hidden; background: var(--sb-bg); }
.sb-gallery-main { grid-row: span 2; }
.sb-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s, filter .2s; }
.sb-gallery-item:hover img { transform: scale(1.03); filter: brightness(.92); }
.sb-gallery-more { position: absolute; inset: 0; background: rgba(20, 35, 43, .55); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.sb-gallery-all { position: absolute; right: 14px; bottom: 14px; }
.sb-gallery-n1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.sb-gallery-n2 { grid-template-columns: 2fr 1fr; }
.sb-gallery-n2 .sb-gallery-item:nth-child(2) { grid-row: span 2; }
.sb-gallery-n3 { grid-template-columns: 2fr 1fr; }
.sb-gallery-n4 .sb-gallery-item:nth-child(4) { grid-column: span 2; }

.sb-section-nav { position: sticky; top: 64px; z-index: 20; display: flex; gap: 4px; overflow-x: auto; background: rgba(245, 247, 246, .95); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sb-line); margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
.sb-section-nav a { padding: 12px 14px; font-weight: 600; font-size: 14px; color: var(--sb-text); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.sb-section-nav a:hover { color: var(--sb-primary); border-bottom-color: var(--sb-primary); }

.sb-single-layout { display: grid; grid-template-columns: 1fr 370px; gap: 36px; align-items: start; }
.sb-sec { background: #fff; border-radius: var(--sb-radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--sb-shadow); scroll-margin-top: 120px; }
.sb-sec h2 { margin-top: 0; font-size: 22px; }
.sb-facts { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-facts li { display: flex; align-items: center; gap: 6px; background: var(--sb-bg); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.sb-facts li.sb-fact-hl { background: #fff1ec; color: var(--sb-accent-dark); }
.sb-description { color: var(--sb-text); line-height: 1.7; }

.sb-calendar { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.sb-cal-title { font-weight: 700; margin-bottom: 8px; color: var(--sb-ink); }
.sb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 13px; }
.sb-cal-dow { font-size: 11px; color: var(--sb-muted); font-weight: 700; padding: 4px 0; }
.sb-cal-day { padding: 7px 0; border-radius: 7px; position: relative; display: flex; flex-direction: column; line-height: 1.1; }
.sb-cal-day small { font-size: 9px; color: var(--sb-muted); }
.sb-cal-day.is-free { background: #e9f6ef; color: #145c3c; }
.sb-cal-day.is-booked { background: #fde8e8; color: #9b2c2c; text-decoration: line-through; }
.sb-cal-day.is-blocked { background: #eceff1; color: #7d8a91; text-decoration: line-through; }
.sb-cal-day.is-past { color: #b8c1c6; }
.sb-cal-day.is-today { box-shadow: inset 0 0 0 2px var(--sb-primary); }
.sb-calendar-edit .sb-cal-day.is-free, .sb-calendar-edit .sb-cal-day.is-blocked { cursor: pointer; }
.sb-calendar-edit .sb-cal-day.is-free:hover { background: #d4eedf; }
.sb-calendar-edit .sb-cal-day.is-loading { opacity: .5; }
.sb-cal-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; color: var(--sb-muted); flex-wrap: wrap; }
.sb-cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.sb-cal-legend i.is-free { background: #c9ebd8; } .sb-cal-legend i.is-booked { background: #f8caca; } .sb-cal-legend i.is-blocked { background: #d5dbde; }

.sb-map { height: 380px; border-radius: var(--sb-radius-sm); z-index: 1; }
.sb-distances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
.sb-distances li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--sb-line); font-size: 14px; }

.sb-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.sb-amenity-group h4 { margin: 0 0 6px; font-size: 15px; color: var(--sb-ink); }
.sb-amenity-group ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--sb-text); }
.sb-amenity-group li { padding: 4px 0; display: flex; align-items: center; gap: 9px; }
.sb-amenity-group li .sb-aico { color: var(--sb-primary); flex: 0 0 auto; }
.sb-aico { display: inline-block; vertical-align: middle; }
.sb-key-am { list-style: none; padding: 0; margin: 14px 0 6px; display: flex; flex-wrap: wrap; gap: 8px; }
.sb-key-am li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--sb-line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--sb-ink); background: #fff; }
.sb-key-am li .sb-aico { color: var(--sb-primary); }
.sb-card-am { display: flex; gap: 6px; margin: 8px 0 2px; }
.sb-card-am span { width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--sb-primary) 9%, #fff); color: var(--sb-primary); display: inline-flex; align-items: center; justify-content: center; }
.sb-checks label .sb-aico { color: var(--sb-primary); margin: 0 2px; }

.sb-single-side { position: sticky; top: 120px; }
.sb-book-box { background: #fff; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow-lg); padding: 22px; border: 1px solid var(--sb-line); }
.sb-book-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 14px; }
.sb-book-price b { font-size: 28px; color: var(--sb-ink); }
.sb-book-price small { margin-left: auto; color: var(--sb-muted); font-size: 12px; }
.sb-quote table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 12px; }
.sb-quote td { padding: 6px 0; border-bottom: 1px solid var(--sb-line); }
.sb-quote td:last-child { text-align: right; }
.sb-q-total td { font-weight: 800; color: var(--sb-ink); font-size: 16px; border-bottom: 0; }
.sb-q-err { color: var(--sb-err); font-size: 14px; margin: 6px 0 12px; }
.sb-quote.is-loading { opacity: .5; }
.sb-book-done { text-align: center; padding: 10px 0; }
.sb-done-icon { width: 56px; height: 56px; border-radius: 50%; background: #e8f7ef; color: var(--sb-ok); display: grid; place-items: center; font-size: 28px; margin: 0 auto 10px; }
.sb-pricelist-view { margin-top: 14px; font-size: 14px; }
.sb-pricelist-view summary { cursor: pointer; color: var(--sb-primary); font-weight: 600; }
.sb-pricelist-view ul { list-style: none; padding: 0; margin: 8px 0 0; }
.sb-pricelist-view li { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--sb-line); }
.sb-book-call { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--sb-line); font-size: 14px; color: var(--sb-muted); display: grid; gap: 8px; }
.sb-day-taken { text-decoration: line-through; color: #c9a3a3 !important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--sb-primary) !important; border-color: var(--sb-primary) !important; }
.flatpickr-day.inRange { background: var(--sb-primary-soft) !important; border-color: var(--sb-primary-soft) !important; box-shadow: -5px 0 0 var(--sb-primary-soft), 5px 0 0 var(--sb-primary-soft) !important; }

.sb-similar { margin-top: 40px; }
.sb-mobile-book { display: none; }

/* Reviews */
.sb-reviews-summary { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; margin-bottom: 20px; }
.sb-reviews-score { text-align: center; background: var(--sb-bg); border-radius: var(--sb-radius); padding: 18px; display: grid; gap: 4px; justify-items: center; }
.sb-reviews-score strong { font-size: 40px; color: var(--sb-ink); line-height: 1; }
.sb-reviews-score span:last-child { color: var(--sb-muted); font-size: 13px; }
.sb-reviews-cats { display: grid; gap: 8px; }
.sb-rcat { display: grid; grid-template-columns: 170px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; }
.sb-bar { height: 8px; background: var(--sb-bg); border-radius: 8px; overflow: hidden; }
.sb-bar i { display: block; height: 100%; background: var(--sb-primary); border-radius: 8px; }
.sb-review-list { list-style: none; margin: 0; padding: 0; }
.sb-review { padding: 16px 0; border-bottom: 1px solid var(--sb-line); }
.sb-review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sb-review-head small { display: block; color: var(--sb-muted); font-size: 12px; }
.sb-review-score { margin-left: auto; background: var(--sb-primary-soft); color: var(--sb-primary); font-weight: 800; padding: 3px 8px; border-radius: 8px; }
.sb-review-text p { margin: 0 0 6px; }
.sb-review-reply { margin: 8px 0 0 46px; padding: 10px 14px; background: var(--sb-bg); border-radius: 10px; font-size: 14px; }
.sb-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--sb-primary-soft); color: var(--sb-primary); display: grid; place-items: center; font-weight: 800; flex: none; }
.sb-avatar-lg { width: 48px; height: 48px; font-size: 20px; }
.sb-review-form { margin-top: 20px; padding: 20px; background: var(--sb-bg); border-radius: var(--sb-radius); }
.sb-review-form h4 { margin-top: 0; }
.sb-rate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-bottom: 12px; }
.sb-rate { display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.sb-rate-stars { display: inline-flex; flex-direction: row-reverse; }
.sb-rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sb-rate-stars label { font-size: 22px; color: #d7dde0; cursor: pointer; padding: 0 1px; margin: 0; }
.sb-rate-stars input:checked ~ label, .sb-rate-stars label:hover, .sb-rate-stars label:hover ~ label { color: #f5a524; }
.sb-rate-stars input:focus-visible + label { outline: 2px solid var(--sb-primary); }
.sb-review-form textarea { margin-bottom: 12px; }
.sb-review-note { background: var(--sb-bg); padding: 12px 16px; border-radius: 10px; font-size: 14px; color: var(--sb-muted); }

/* Lightbox */
.sb-lightbox { position: fixed; inset: 0; background: rgba(10, 18, 22, .94); z-index: 99999; display: flex; align-items: center; justify-content: center; }
.sb-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.sb-lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; cursor: pointer; line-height: 1; }
.sb-lightbox button:hover { background: rgba(255, 255, 255, .25); }
.sb-lb-close { top: 18px; right: 18px; }
.sb-lb-prev { left: 18px; top: 50%; margin-top: -24px; }
.sb-lb-next { right: 18px; top: 50%; margin-top: -24px; }
.sb-lb-count { position: absolute; bottom: 18px; color: #fff; font-size: 14px; opacity: .8; }

/* ---------- Auth ---------- */
.sb-auth { max-width: 440px; margin: 20px auto; background: #fff; padding: 32px; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow-lg); }
.sb-auth-wide { max-width: 560px; }
.sb-auth h2 { margin-top: 0; text-align: center; }
.sb-auth-foot { text-align: center; margin: 18px 0 0; font-size: 14px; }
.sb-or { display: flex; align-items: center; gap: 10px; color: var(--sb-muted); font-size: 13px; margin: 14px 0; }
.sb-or::before, .sb-or::after { content: ""; flex: 1; height: 1px; background: var(--sb-line); }
.sb-type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.sb-type-switch label { margin: 0; cursor: pointer; }
.sb-type-switch input { position: absolute; opacity: 0; }
.sb-type-switch span { display: block; border: 2px solid var(--sb-line); border-radius: 12px; padding: 12px; text-align: center; }
.sb-type-switch small { display: block; color: var(--sb-muted); font-weight: 400; font-size: 12px; }
.sb-type-switch input:checked + span { border-color: var(--sb-primary); background: var(--sb-primary-soft); }
.sb-type-switch input:focus-visible + span { box-shadow: 0 0 0 3px var(--sb-primary-soft); }

/* ---------- Panel ---------- */
.sb-panel { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.sb-panel-nav { background: #fff; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); padding: 14px; position: sticky; top: 90px; }
.sb-panel-user { display: flex; gap: 10px; align-items: center; padding: 6px 6px 14px; border-bottom: 1px solid var(--sb-line); margin-bottom: 8px; }
.sb-panel-user small { display: block; color: var(--sb-muted); }
.sb-panel-nav nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--sb-text); text-decoration: none; font-weight: 500; font-size: 15px; }
.sb-panel-nav nav a span { width: 22px; text-align: center; }
.sb-panel-nav nav a:hover { background: var(--sb-bg); }
.sb-panel-nav nav a.is-active { background: var(--sb-primary-soft); color: var(--sb-primary); font-weight: 700; }
.sb-count-badge { margin-left: auto; background: var(--sb-accent); color: #fff; font-style: normal; font-size: 12px; border-radius: 999px; padding: 1px 8px; }
.sb-panel-body h2 { margin-top: 0; }
.sb-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.sb-panel-head h2 { margin: 0; }
.sb-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 16px 0 26px; }
.sb-stat { background: #fff; border-radius: var(--sb-radius); padding: 18px; box-shadow: var(--sb-shadow); text-decoration: none; color: var(--sb-text); display: grid; gap: 4px; }
.sb-stat b { font-size: 26px; color: var(--sb-ink); }
.sb-stat span { font-size: 13px; }
.sb-stat-hl b { color: var(--sb-accent); }
.sb-card-box { background: #fff; border-radius: var(--sb-radius); padding: 22px; box-shadow: var(--sb-shadow); margin-bottom: 18px; }
.sb-card-box h3 { margin-top: 0; }
.sb-cta-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: linear-gradient(120deg, var(--sb-primary), var(--sb-primary-dark)); color: #fff; padding: 24px; border-radius: var(--sb-radius); margin-top: 20px; }
.sb-cta-box h3 { margin: 0 0 4px; color: #fff; }
.sb-cta-box p { margin: 0; opacity: .9; }
.sb-subnav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.sb-subnav a { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--sb-line); text-decoration: none; color: var(--sb-text); font-size: 14px; }
.sb-subnav a.is-active { background: var(--sb-primary); color: #fff; border-color: var(--sb-primary); }

.sb-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); }
.sb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sb-table th { text-align: left; padding: 12px 14px; background: var(--sb-bg); color: var(--sb-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.sb-table td { padding: 12px 14px; border-top: 1px solid var(--sb-line); vertical-align: top; }
.sb-actions { white-space: nowrap; }
.sb-actions .sb-btn + .sb-btn { margin-left: 4px; }

.sb-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--sb-bg); color: var(--sb-text); }
.sb-badge-na_cekanju, .sb-badge-pending { background: #fff4dc; color: #8a5d00; }
.sb-badge-potvrdjena, .sb-badge-publish { background: #e3f6ec; color: #11613f; }
.sb-badge-odbijena, .sb-badge-otkazana { background: #fde8e8; color: #9b2c2c; }
.sb-badge-zavrsena { background: #e8eef7; color: #2f4d7a; }
.sb-badge-draft { background: #eef0f2; color: #555; }

.sb-owner-list { display: grid; gap: 12px; }
.sb-owner-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--sb-radius); padding: 12px; box-shadow: var(--sb-shadow); }
.sb-owner-item img { width: 90px; height: 68px; object-fit: cover; border-radius: 10px; }
.sb-owner-info { display: grid; gap: 4px; justify-items: start; }
.sb-owner-info small { color: var(--sb-muted); }
.sb-owner-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.sb-inline-form { display: inline; margin: 0; }

.sb-amenity-groups fieldset { border: 1px solid var(--sb-line); border-radius: 12px; padding: 12px 16px; margin: 0 0 12px; }
.sb-amenity-groups legend { font-weight: 700; padding: 0 6px; }
.sb-map-picker { height: 320px; border-radius: 12px; margin-bottom: 10px; z-index: 1; }
.sb-pricelist-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.sb-pricelist-table th { text-align: left; font-size: 13px; color: var(--sb-muted); padding: 4px; }
.sb-pricelist-table td { padding: 4px; }
.sb-pricelist-table input { margin: 0 !important; }
.sb-pricelist .button, .sb-pricelist button { cursor: pointer; border: 1px solid var(--sb-line); background: #fff; border-radius: 8px; padding: 8px 12px; font: inherit; }

.sb-upload .sb-gallery-edit { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sb-gallery-edit li { background: var(--sb-bg); border-radius: 10px; overflow: hidden; font-size: 12px; }
.sb-gallery-edit img { width: 100%; height: 90px; object-fit: cover; display: block; }
.sb-gallery-edit label { display: flex; gap: 4px; align-items: center; padding: 4px 8px; margin: 0; font-weight: 500; font-size: 12px; }
.sb-gallery-edit .sb-del { color: var(--sb-err); }
.sb-dropzone { display: block; border: 2px dashed var(--sb-line); border-radius: 14px; padding: 26px; text-align: center; cursor: pointer; position: relative; transition: border-color .15s, background .15s; }
.sb-dropzone:hover { border-color: var(--sb-primary); background: var(--sb-primary-soft); }
.sb-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.sb-dropzone span { display: block; font-weight: 700; font-size: 16px; color: var(--sb-ink); }
.sb-dropzone small { color: var(--sb-muted); font-weight: 400; }
.sb-previews { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.sb-previews img { width: 70px; height: 54px; object-fit: cover; border-radius: 6px; }

.sb-notif-list { list-style: none; padding: 0; margin: 0; background: #fff; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); }
.sb-notif-list li { padding: 14px 18px; border-bottom: 1px solid var(--sb-line); display: flex; justify-content: space-between; gap: 12px; }
.sb-notif-list li.is-unread { background: #f1f8f9; font-weight: 600; }
.sb-notif-list small { color: var(--sb-muted); white-space: nowrap; }
.sb-reply-form { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; }
.sb-reply-form textarea { margin: 0; }

/* ---------- Contact / FAQ / tiles / plans ---------- */
.sb-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; }
.sb-contact-info { display: grid; gap: 14px; align-content: start; }
.sb-ci { display: flex; gap: 14px; background: #fff; padding: 16px; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); }
.sb-ci > span { width: 42px; height: 42px; border-radius: 12px; background: var(--sb-primary-soft); display: grid; place-items: center; font-size: 18px; flex: none; }
.sb-ci small { display: block; color: var(--sb-muted); }
.sb-ci a { color: var(--sb-ink); font-weight: 700; text-decoration: none; }
.sb-contact-form { background: #fff; padding: 24px; border-radius: var(--sb-radius); box-shadow: var(--sb-shadow); }

.sb-faq { display: grid; gap: 10px; }
.sb-faq-item { background: #fff; border-radius: 12px; border: 1px solid var(--sb-line); }
.sb-faq-item summary { padding: 16px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; color: var(--sb-ink); }
.sb-faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--sb-primary); }
.sb-faq-item[open] summary::after { content: "–"; }
.sb-faq-item > div { padding: 0 18px 14px; color: var(--sb-text); }

.sb-cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.sb-cat-tile { background: #fff; border-radius: var(--sb-radius); padding: 18px 12px; text-align: center; text-decoration: none; color: var(--sb-ink); box-shadow: var(--sb-shadow); display: grid; gap: 6px; justify-items: center; transition: transform .15s, box-shadow .15s; }
.sb-cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sb-shadow-lg); }
.sb-cat-icon { font-size: 28px; }
.sb-cat-tile strong { font-size: 14px; }
.sb-cat-tile small { color: var(--sb-muted); }
.sb-firm-filter { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; margin-bottom: 20px; align-items: center; }
.sb-firm-filter input, .sb-firm-filter select { margin: 0; }
.sb-firm-contact ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 15px; }
.sb-firm-contact a { color: var(--sb-ink); }
.sb-social-links { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.sb-menu-list { columns: 2; padding-left: 18px; }

.sb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 26px 0; }
.sb-plan { position: relative; background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: var(--sb-shadow); border: 2px solid transparent; display: flex; flex-direction: column; }
.sb-plan.is-popular { border-color: var(--sb-accent); transform: translateY(-6px); box-shadow: var(--sb-shadow-lg); }
.sb-plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sb-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }
.sb-plan h3 { margin: 0; }
.sb-plan-price { font-size: 38px; font-weight: 800; color: var(--sb-ink); margin: 8px 0 14px; }
.sb-plan-price small { font-size: 14px; color: var(--sb-muted); font-weight: 500; }
.sb-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; flex: 1; }
.sb-plan li::before { content: "✓"; color: var(--sb-ok); font-weight: 800; margin-right: 8px; }

/* Owner landing sections (page content) */
.sb-owner-hero { text-align: center; background: linear-gradient(135deg, var(--sb-primary), var(--sb-primary-dark)); color: #fff; border-radius: 22px; padding: 46px 24px; margin-bottom: 36px; }
.sb-owner-hero h2 { color: #fff; font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; }
.sb-owner-hero p { max-width: 640px; margin: 0 auto 18px; opacity: .92; }
.sb-steps { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 22px 0 26px; }
.sb-steps div { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 16px; text-align: left; max-width: 330px; }
.sb-steps b { width: 34px; height: 34px; border-radius: 50%; background: var(--sb-accent); display: grid; place-items: center; flex: none; }
.sb-owner-hero .sb-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.sb-benefits h2, .sb-owner-faq h2 { text-align: center; }
.sb-benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 20px 0 40px; }
.sb-benefit-grid > div { background: #fff; border-radius: var(--sb-radius); padding: 22px; box-shadow: var(--sb-shadow); }
.sb-benefit-grid span { font-size: 28px; }
.sb-benefit-grid h3 { margin: 8px 0 6px; font-size: 17px; }
.sb-benefit-grid p { margin: 0; color: var(--sb-text); font-size: 14px; }
.sb-owner-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }


/* ---------- Business directory rows ---------- */
.sb-firm-list { display: grid; gap: 14px; }
.sb-firm-row { display: grid; grid-template-columns: 220px 1fr; background: #fff; border-radius: var(--sb-radius); overflow: hidden; box-shadow: var(--sb-shadow); transition: box-shadow .2s; }
.sb-firm-row:hover { box-shadow: var(--sb-shadow-lg); }
.sb-firm-row.sb-pk-premium_plus, .sb-firm-row.sb-pk-premium { outline: 2px solid var(--sb-accent); }
.sb-firm-row-img { position: relative; display: block; min-height: 170px; background: var(--sb-bg); }
.sb-firm-row-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-firm-row-body { padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.sb-firm-row-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.sb-firm-row-head .sb-heart { position: static; flex: none; width: 34px; height: 34px; }
.sb-firm-row-meta { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.sb-firm-row-meta a { color: var(--sb-ink); text-decoration: none; font-weight: 600; }
.sb-open { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.sb-open.is-open { background: #e3f6ec; color: #11613f; }
.sb-open.is-closed { background: #fde8e8; color: #9b2c2c; }
.sb-hours { width: 100%; max-width: 420px; border-collapse: collapse; font-size: 15px; }
.sb-hours td { padding: 8px 10px; border-bottom: 1px solid var(--sb-line); }
.sb-hours td:last-child { text-align: right; font-weight: 600; }
.sb-hours tr.is-today td { background: var(--sb-primary-soft); color: var(--sb-primary); font-weight: 700; }
.sb-firm-tags { display: grid; gap: 10px; margin-top: 16px; }
.sb-firm-tags h4 { margin: 0 0 6px; font-size: 14px; }
.sb-firm-tags p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sb-tag { display: inline-block; background: var(--sb-bg); border-radius: 999px; padding: 4px 11px; font-size: 13px; }
.sb-firm-inquiry { margin-top: 18px; }
.sb-firm-inquiry h3, .sb-firm-contact h3 { margin-top: 0; }
.sb-grid-3 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ---------- Apartment page extras ---------- */
.sb-min-stay { display: flex; justify-content: space-between; font-size: 14px; color: var(--sb-muted); margin: 2px 0 8px; }
.sb-min-stay b { color: var(--sb-ink); }
.sb-collapsible { max-height: 320px; overflow: hidden; position: relative; }
.sb-collapsible:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, #fff); }
.sb-collapsible.is-open { max-height: none; }
.sb-show-all { margin-top: 10px; }
.sb-review-cats { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--sb-muted); margin-top: 4px; }
.sb-review-cats .sb-star { width: 11px; height: 11px; }
.sb-reviews-more { margin-top: 14px; }

/* ---------- Q&A, partners, info ---------- */
.sb-qa-form h2 { margin-top: 0; }
.sb-qa-list { display: grid; gap: 14px; }
.sb-qa-item { background: #fff; border-radius: var(--sb-radius); padding: 18px 22px; box-shadow: var(--sb-shadow); }
.sb-qa-item h3 { margin: 0 0 2px; font-size: 18px; }
.sb-qa-a { background: var(--sb-primary-soft); border-radius: 10px; padding: 10px 14px; margin-top: 8px; }
.sb-qa-a p { margin: 4px 0; }
.sb-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 16px 0 10px; }
.sb-partner { background: #fff; border-radius: var(--sb-radius); padding: 18px; text-align: center; text-decoration: none; color: var(--sb-ink); box-shadow: var(--sb-shadow); display: grid; gap: 6px; justify-items: center; }
.sb-partner img { max-height: 70px; width: auto; object-fit: contain; }
.sb-partner small { color: var(--sb-muted); }
.sb-info-note { background: #fff8e6; border-left: 4px solid var(--sb-warn); padding: 10px 14px; border-radius: 8px; font-size: 14px; }


/* ---------- Apartment page (hero + left booking box + floating bar) ---------- */
.sb-tpl-single-apartman { padding-top: 0; }
.sb-ap-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(300px, 46vw, 520px); background: var(--sb-bg); overflow: hidden; }
.sb-ap-hero-img, .sb-ap-hero-img img { display: block; width: 100%; height: 100%; }
.sb-ap-hero-img img { object-fit: cover; }
.sb-ap-hero-actions { position: absolute; right: max(16px, calc(50vw - 604px)); top: 18px; display: flex; gap: 10px; }
.sb-ap-hero-actions .sb-heart { position: static; width: 42px; height: 42px; }
.sb-ap-layout { display: grid; grid-template-columns: 430px 1fr; gap: 40px; align-items: start; }
.sb-ap-side { position: sticky; top: 76px; margin-top: -64px; z-index: 5; }
.sb-ap-bar-on .sb-ap-side { top: 76px; }
.sb-ap-book { background: #fff; border: 1px solid var(--sb-line); box-shadow: var(--sb-shadow-lg); border-radius: 4px; }
.sb-ap-book-head, .sb-ap-sticky-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 24px; height: 64px; color: #fff; text-decoration: none; }
.sb-ap-book-head { background: var(--sb-primary); border-radius: 4px 4px 0 0; }
.sb-ap-price b { font-size: 28px; font-weight: 800; }
.sb-ap-price span { font-size: 15px; font-weight: 600; margin-left: 4px; }
.sb-ap-id { display: flex; align-items: center; gap: 6px; }
.sb-ap-id b { font-size: 26px; font-weight: 800; }
.sb-ap-id .sb-ico { width: 24px; height: 24px; fill: #ffc43d; }
.sb-id-info { font-size: 18px; opacity: .85; cursor: help; }
.sb-ap-form { padding: 20px 24px 6px; }
.sb-ap-fields { display: grid; grid-template-columns: 1fr 1fr 90px; border: 1px solid var(--sb-line); border-radius: 2px; margin-bottom: 14px; }
.sb-ap-fields label { margin: 0 !important; position: relative; }
.sb-ap-fields label + label { border-left: 1px solid var(--sb-line); }
.sb-ap-fields label > span { position: absolute; top: -28px; left: 0; right: 0; text-align: center; font-weight: 500; color: var(--sb-muted); font-size: 18px; }
.sb-ap-fields input, .sb-ap-fields select { border: 0 !important; margin: 0 !important; border-radius: 0 !important; height: 52px; font-size: 17px !important; padding: 0 12px !important; background: #fff; cursor: pointer; }
.sb-ap-form .sb-step-1 { padding-top: 28px; }
.sb-ap-park { display: flex !important; justify-content: space-between; align-items: center; font-weight: 500 !important; font-size: 16px !important; margin: 6px 0 10px !important; }
.sb-ap-park span { display: flex; gap: 10px; align-items: center; }
.sb-ap-park input { width: 20px; height: 20px; accent-color: var(--sb-primary); margin: 0; }
.sb-ap-park em { font-style: normal; color: var(--sb-text); }
.sb-ap-park-note { display: flex; gap: 6px; align-items: center; margin: 0 0 14px; font-size: 15px; color: var(--sb-ink); }
.sb-ap-park-note .sb-ico { width: 20px; height: 20px; fill: var(--sb-ink); flex: none; }
.sb-ap-form .sb-btn-lg { border-radius: 2px; font-size: 20px; padding: 16px; margin-bottom: 18px; }
.sb-ap-book-foot { border-top: 1px solid var(--sb-line); padding: 12px 24px 16px; display: grid; gap: 8px; font-size: 14px; }
.sb-ap-book-foot .sb-pricelist-view { margin: 0; }
.sb-ap-call { color: var(--sb-ink); text-decoration: none; font-weight: 600; }
.sb-ap-call small { color: var(--sb-muted); font-weight: 400; }

.sb-ap-main { padding-top: 22px; min-width: 0; }
.sb-ap-sec { padding: 26px 0; border-bottom: 1px solid var(--sb-line); scroll-margin-top: 80px; }
.sb-ap-sec:last-child { border-bottom: 0; }
.sb-ap-sec h2 { font-size: 22px; margin: 0 0 16px; }
.sb-ap-info { padding-top: 0; }
.sb-ap-info .sb-breadcrumbs { margin-bottom: 6px; }
.sb-ap-info h1 { color: var(--sb-primary); font-size: clamp(28px, 3vw, 36px); margin: 4px 0 8px; }
.sb-ap-address { font-weight: 600; color: var(--sb-ink); font-size: 18px; margin: 0 0 22px; }
.sb-ap-rating { margin-left: 8px; font-size: 15px; text-decoration: none; background: var(--sb-primary-soft); padding: 2px 8px; border-radius: 6px; }
.sb-ap-icons { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; text-align: center; }
.sb-ap-icons li { display: grid; justify-items: center; gap: 6px; font-size: 17px; font-weight: 500; color: var(--sb-ink); }
.sb-ap-icons .sb-ico { width: 30px; height: 30px; fill: #9aa6ad; }
.sb-ap-icons .sb-ap-icon-hl .sb-ico { fill: var(--sb-primary); }
.sb-ap-times { font-size: 17px; color: var(--sb-ink); margin: 0 0 16px; line-height: 1.6; }
.sb-ap-instant { display: inline-flex; align-items: center; gap: 6px; background: #fff4ec; color: var(--sb-accent-dark); padding: 6px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; margin: 0 0 14px; }
.sb-ap-instant .sb-ico { width: 18px; height: 18px; fill: var(--sb-accent); }
.sb-ap-info .sb-description { font-size: 16.5px; }

.sb-ap-gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.sb-ap-gallery .sb-gallery-item { position: relative; display: block; overflow: hidden; background: var(--sb-bg); grid-column: span 2; height: 190px; }
.sb-ap-gallery .sb-gallery-item:nth-child(-n+2) { grid-column: span 3; height: 350px; }
.sb-ap-gallery-n1 .sb-gallery-item { grid-column: span 6 !important; height: 420px !important; }
.sb-ap-gallery-n3 .sb-gallery-item:nth-child(3) { grid-column: span 6; }
.sb-ap-gallery-n4 .sb-gallery-item:nth-child(n+3) { grid-column: span 3; }
.sb-ap-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sb-ap-gallery .sb-gallery-item:hover img { transform: scale(1.04); }
.sb-ap-gallery .sb-gallery-more { font-size: 20px; }

.sb-ap-sticky { position: fixed; left: 0; right: 0; top: 0; z-index: 990; background: var(--sb-primary); transform: translateY(-110%); transition: transform .25s; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.admin-bar .sb-ap-sticky { top: 32px; }
.sb-ap-sticky.is-visible { transform: none; }
.sb-ap-sticky-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 430px 1fr; gap: 40px; align-items: stretch; }
.sb-ap-sticky-price { background: var(--sb-accent); }
.sb-ap-tabs { display: flex; align-items: stretch; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
.sb-ap-tabs a { display: flex; align-items: center; padding: 0 12px; color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: 15px; letter-spacing: .01em; border-bottom: 3px solid transparent; white-space: nowrap; opacity: .9; }
.sb-ap-tabs a:hover, .sb-ap-tabs a.is-active { opacity: 1; border-bottom-color: #fff; }
.sb-tpl-single-apartman .sb-similar { margin-top: 30px; }

@media (max-width: 1080px) {
	.sb-ap-layout { grid-template-columns: 360px 1fr; gap: 26px; }
	.sb-ap-sticky-in { grid-template-columns: 360px 1fr; gap: 26px; }
	.sb-ap-icons { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
	.sb-ap-tabs a { font-size: 13px; padding: 0 8px; }
}
@media (max-width: 860px) {
	.sb-ap-layout { grid-template-columns: 1fr; gap: 0; }
	.sb-ap-side { position: static; margin-top: 18px; order: 2; }
	.sb-ap-main { order: 1; }
	.sb-ap-sticky-in { grid-template-columns: 1fr; gap: 0; padding: 0; }
	.sb-ap-sticky-price { display: none; }
	.sb-ap-tabs { justify-content: flex-start; height: 48px; }
	.sb-ap-gallery .sb-gallery-item, .sb-ap-gallery .sb-gallery-item:nth-child(-n+2) { grid-column: span 3; height: 150px; }
	.sb-ap-gallery .sb-gallery-item:first-child { grid-column: span 6; height: 240px; }
}
@media (max-width: 782px) { .admin-bar .sb-ap-sticky { top: 46px; } }
@media (max-width: 640px) {
	.sb-ap-hero { height: 260px; }
	.sb-ap-icons li { font-size: 14px; }
	.sb-ap-fields { grid-template-columns: 1fr 1fr 70px; }
	.sb-ap-fields label > span { font-size: 14px; top: -24px; }
	.sb-ap-price b, .sb-ap-id b { font-size: 22px; }
	.sb-ap-book-head { padding: 0 16px; }
	.sb-ap-form { padding: 16px 16px 4px; }
}


/* ---------- Business page (same layout as apartments) ---------- */
.sb-firm-page .sb-ap-book-head { font-size: 18px; }
.sb-firm-head-cat { font-size: 19px; font-weight: 800; }
.sb-firm-head-tel { font-weight: 700; }
.sb-firm-page .sb-firm-contact { padding: 18px 24px 4px; }
.sb-firm-page .sb-firm-contact ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.sb-firm-page .sb-firm-contact a { color: var(--sb-ink); font-weight: 600; text-decoration: none; }
.sb-firm-page .sb-inquiry-form { border-top: 1px solid var(--sb-line); padding-top: 16px; }
.sb-firm-page .sb-inquiry-form h3 { margin: 0 0 12px; font-size: 18px; }
.sb-firm-tagline { font-size: 17px; color: var(--sb-muted); margin: -12px 0 14px; }
.sb-hours-week { width: 100%; max-width: none; table-layout: fixed; text-align: center; }
.sb-hours-week th { font-size: 13px; color: var(--sb-muted); padding: 8px 4px; border-bottom: 1px solid var(--sb-line); }
.sb-hours-week td { text-align: center !important; font-size: 14px; padding: 10px 4px; }
.sb-hours-week .is-today { background: var(--sb-primary-soft); color: var(--sb-primary); font-weight: 700; }
.sb-pricelist-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.sb-pricelist-tbl td { padding: 9px 4px; border-bottom: 1px dashed var(--sb-line); }
.sb-pricelist-tbl td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.sb-pl-group th { text-align: left; padding: 16px 4px 6px; font-size: 16px; color: var(--sb-primary); }
.sb-fb-embed { margin-top: 14px; }
.sb-social-links { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .sb-hours-week, .sb-hours-week tbody, .sb-hours-week tr { display: block; } .sb-hours-week tr:first-child { display: none; } .sb-hours-week td { display: flex; justify-content: space-between; } .sb-hours-week td::before { content: attr(data-label); font-weight: 400; } }


/* ---------- Business navigation bar, category slider, search band ---------- */
.sb-dirnav { width: 100vw; margin-left: calc(50% - 50vw); background: var(--sb-ink); position: relative; z-index: 40; }
.sb-main > .sb-container > .sb-dirnav:first-child, .sb-tpl-archive-firma { margin-top: 0; }
.sb-tpl-archive-firma, .sb-tpl-single-firma { padding-top: 0; }
.sb-dirnav-in { max-width: 1240px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: center; flex-wrap: wrap; }
.sb-dirnav-item { display: flex; align-items: center; gap: 6px; padding: 14px 16px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; }
.sb-dirnav-item:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sb-dirnav-item i { font-style: normal; font-size: 11px; opacity: .8; }
.sb-dirnav-dd { position: relative; }
.sb-dirnav-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 260px; max-height: 60vh; overflow: auto; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); padding: 8px; z-index: 60; }
.sb-dirnav-dd:hover .sb-dirnav-menu, .sb-dirnav-dd:focus-within .sb-dirnav-menu { display: block; }
.sb-dirnav-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--sb-ink); text-decoration: none; font-size: 14px; }
.sb-dirnav-menu a:hover { background: var(--sb-primary-soft); color: var(--sb-primary); }
.sb-dirnav-menu small { color: var(--sb-muted); }

.sb-cat-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); height: clamp(320px, 42vw, 580px); overflow: hidden; background: linear-gradient(135deg, var(--sb-primary), var(--sb-primary-dark)); display: flex; align-items: flex-end; justify-content: center; }
.sb-cat-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.sb-cat-slide.is-active { opacity: 1; }
.sb-cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .45)); pointer-events: none; }
.sb-cat-hero-text { position: relative; z-index: 2; max-width: 1140px; margin: 0 16px 70px; text-align: left; }
.sb-cat-hero-text h1 { display: inline-block; margin: 0 0 10px; padding: 4px 22px; background: rgba(255, 255, 255, .88); color: var(--sb-primary); font-size: clamp(32px, 5.6vw, 76px); font-weight: 500; letter-spacing: -.01em; line-height: 1.15; }
.sb-cat-hero-text p { margin: 0; padding: 10px 22px; background: rgba(20, 35, 43, .72); color: #fff; font-size: clamp(14px, 1.4vw, 19px); line-height: 1.45; max-width: 1140px; }
.sb-cat-prev, .sb-cat-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: none; border: 0; color: #fff; font-size: 64px; line-height: 1; cursor: pointer; opacity: .75; padding: 0 22px; }
.sb-cat-prev { left: 4vw; } .sb-cat-next { right: 4vw; }
.sb-cat-prev:hover, .sb-cat-next:hover { opacity: 1; }
.sb-cat-dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; gap: 8px; justify-content: center; }
.sb-cat-dots button { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.sb-cat-dots button.is-active { background: #fff; }
.sb-cat-search-wrap { width: 100vw; margin-left: calc(50% - 50vw); background: var(--sb-ink); padding: 34px 16px; margin-bottom: 18px; }
.sb-cat-search { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.8fr; gap: 6px; }
.sb-cat-search input, .sb-cat-search select { height: 56px; border: 0; border-radius: 2px; padding: 0 14px; font: inherit; font-size: 17px; background: #fff; color: var(--sb-ink); }
.sb-cat-search .sb-btn { border-radius: 2px; font-size: 22px; font-weight: 800; text-transform: uppercase; height: 56px; }
.sb-archive-head-sm { margin: 0 0 12px; }
@media (max-width: 900px) {
	.sb-dirnav-in { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.sb-dirnav-menu { display: none !important; }
	.sb-cat-search { grid-template-columns: 1fr 1fr; }
	.sb-cat-search input, .sb-cat-search .sb-btn { grid-column: 1 / -1; }
	.sb-cat-prev, .sb-cat-next { font-size: 44px; padding: 0 8px; }
	.sb-cat-hero-text { margin-bottom: 56px; }
}


/* ---------- Reservation page ---------- */
.sb-rez { max-width: 1140px; margin: 10px auto 0; }
.sb-rez-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sb-rez-head h1 { margin: 4px 0 0; font-size: clamp(24px, 3vw, 34px); }
.sb-rez-head .sb-badge { font-size: 15px; padding: 6px 14px; }
.sb-rez-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: st; }
.sb-rez-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; color: var(--sb-muted); font-weight: 600; }
.sb-rez-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--sb-line); z-index: 0; }
.sb-rez-steps li:first-child::before { display: none; }
.sb-rez-steps li span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--sb-line); display: grid; place-items: center; color: #fff; font-weight: 800; }
.sb-rez-steps li.is-done { color: var(--sb-ink); }
.sb-rez-steps li.is-done span { background: var(--sb-ok); border-color: var(--sb-ok); }
.sb-rez-steps li.is-done::before { background: var(--sb-ok); }
.sb-rez-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.sb-rez-ap { display: grid; grid-template-columns: 180px 1fr; gap: 16px; background: #fff; border-radius: var(--sb-radius); overflow: hidden; box-shadow: var(--sb-shadow); margin-bottom: 18px; text-decoration: none; color: var(--sb-ink); }
.sb-rez-ap img { width: 100%; height: 130px; object-fit: cover; }
.sb-rez-ap div { padding: 14px 14px 14px 0; display: grid; gap: 4px; align-content: center; }
.sb-rez-ap strong { font-size: 19px; color: var(--sb-primary); }
.sb-rez-ap span, .sb-rez-ap small { color: var(--sb-muted); font-size: 14px; }
.sb-rez-details dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 14px; margin: 0; }
.sb-rez-details dt { color: var(--sb-muted); }
.sb-rez-details dd { margin: 0; font-weight: 600; color: var(--sb-ink); }
.sb-rez-details dd small { font-weight: 400; color: var(--sb-muted); }
.sb-rez-price ul { list-style: none; padding: 0; margin: 0; }
.sb-rez-price li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--sb-line); }
.sb-rez-price .sb-rez-dep { color: var(--sb-accent-dark); }
.sb-rez-price .sb-rez-total { border-bottom: 0; font-size: 18px; color: var(--sb-ink); }
.sb-rez-due { background: #fff4ec; border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; font-size: 14px; }
.sb-rez-paid { background: #e8f7ef; color: #11613f; border-radius: 8px; padding: 10px 12px; margin: 12px 0 0; font-weight: 700; }
.sb-rez-actions .sb-btn + .sb-btn { margin-top: 8px; }
.sb-rez-cancel { margin: 0 0 12px; text-align: center; }
.sb-rez-cancel .sb-link { color: var(--sb-err); }
.sb-thread { display: grid; gap: 10px; margin: 14px 0; max-height: 520px; overflow: auto; padding-right: 4px; }
.sb-msg { max-width: 82%; background: var(--sb-bg); border-radius: 14px 14px 14px 4px; padding: 10px 14px; }
.sb-msg.is-mine { margin-left: auto; background: var(--sb-primary-soft); border-radius: 14px 14px 4px 14px; }
.sb-msg-admin { border-left: 3px solid var(--sb-accent); }
.sb-msg-system { max-width: 100%; background: #e8f7ef; text-align: center; font-size: 14px; border-radius: 10px; }
.sb-msg-meta { font-size: 13px; margin-bottom: 4px; }
.sb-msg-role { background: #fff; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 700; color: var(--sb-muted); }
.sb-msg-meta small { color: var(--sb-muted); margin-left: 4px; }
.sb-msg-text { font-size: 15px; color: var(--sb-ink); line-height: 1.5; }
.sb-msg-form { display: grid; gap: 8px; }
.sb-msg-form textarea { margin: 0; }
.sb-msg-form .sb-btn { justify-self: end; }
@media (max-width: 900px) { .sb-rez-grid { grid-template-columns: 1fr; } .sb-rez-steps li { font-size: 11px; } .sb-rez-ap { grid-template-columns: 110px 1fr; } .sb-rez-ap img { height: 100%; } .sb-rez-details dl { grid-template-columns: 120px 1fr; } .sb-msg { max-width: 92%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.sb-search { grid-template-columns: 1fr 1fr; }
	.sb-sf + .sb-sf::before { display: none; }
	.sb-sf-submit { grid-column: 1 / -1; padding: 14px; }
	.sb-single-layout { grid-template-columns: 1fr; }
	.sb-single-side { position: static; }
	.sb-search-main.has-map .sb-results-wrap { grid-template-columns: 1fr; }
	.sb-results-map { position: relative; top: 0; height: 60vh; order: -1; }
}
@media (max-width: 900px) {
	.sb-search-page { grid-template-columns: 1fr; }
	.sb-search-side { position: fixed; inset: 0; z-index: 99999; max-height: none; background: rgba(0, 0, 0, .4); display: none; padding: 0; }
	.sb-filters-open .sb-search-side { display: block; }
	.sb-filters { position: absolute; right: 0; top: 0; bottom: 0; width: min(380px, 92vw); overflow: auto; border-radius: 0; }
	.sb-filters-close { display: block; }
	.sb-open-filters { display: inline-flex; }
	.sb-panel { grid-template-columns: 1fr; }
	.sb-panel-nav { position: static; }
	.sb-panel-nav nav { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
	.sb-panel-nav nav a { white-space: nowrap; }
	.sb-contact { grid-template-columns: 1fr; }
	.sb-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
	.sb-gallery-main { grid-column: span 2; grid-row: auto; }
	.sb-gallery-item:nth-child(n+4) { display: none; }
	.sb-firm-filter { grid-template-columns: 1fr 1fr; }
	.sb-firm-filter input { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.sb-firm-row { grid-template-columns: 1fr; }
	.sb-firm-row-img { min-height: 180px; }
	.sb-search { grid-template-columns: 1fr; border-radius: 14px; }
	.sb-results-bar { flex-direction: column; align-items: stretch; }
	.sb-results-tools { display: grid; grid-template-columns: auto 1fr auto; }
	.sb-sort { min-width: 0; width: 100%; }
	.sb-form-2, .sb-form-3, .sb-rate-grid { grid-template-columns: 1fr; }
	.sb-reviews-summary { grid-template-columns: 1fr; }
	.sb-rcat { grid-template-columns: 1fr 90px 30px; }
	.sb-grid { grid-template-columns: 1fr; }
	.sb-owner-item { grid-template-columns: 70px 1fr; }
	.sb-owner-item img { width: 70px; height: 56px; }
	.sb-owner-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.sb-sec { padding: 18px; }
	.sb-auth { padding: 22px; }
	.sb-table thead { display: none; }
	.sb-table tr { display: block; border-top: 1px solid var(--sb-line); padding: 8px 0; }
	.sb-table td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 6px 14px; text-align: right; }
	.sb-table td[data-label]::before { content: attr(data-label); color: var(--sb-muted); font-weight: 600; text-align: left; }
	.sb-mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, .1); padding: 10px 16px; justify-content: space-between; align-items: center; }
	.sb-tpl-single-apartman { padding-bottom: 80px; }
	.sb-menu-list { columns: 1; }
	.sb-section-nav { top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	.sb-card, .sb-card-img img, .sb-gallery img, .sb-btn { transition: none; }
}
.sb-ap-sticky-price .sb-firm-head-cat { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sb-ap-sticky-price .sb-firm-head-tel { white-space: nowrap; font-size: 15px; }

/* ---------- Landing pages (Luksuzni apartmani, Stan na dan Zemun...) ---------- */
.sb-land-head { margin: -6px 0 22px; max-width: 860px; }
.sb-land-count { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; }
.sb-land-count span { display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px; background: color-mix(in srgb, var(--sb-primary) 9%, #fff); color: var(--sb-primary); font-weight: 700; font-size: 14px; }
.sb-land-count span:first-child { background: var(--sb-primary); color: #fff; }
.sb-land-intro p { font-size: 17px; line-height: 1.6; color: var(--sb-text); margin: 0; }
.sb-land-text { max-width: 860px; margin: 48px 0 10px; padding-top: 34px; border-top: 1px solid var(--sb-line); font-size: 16.5px; line-height: 1.75; }
.sb-land-text h2 { font-size: 26px; margin: 34px 0 12px; color: var(--sb-ink); }
.sb-land-text h2:first-child { margin-top: 0; }
.sb-land-text ul { padding-left: 0; list-style: none; }
.sb-land-text li { position: relative; padding: 6px 0 6px 30px; }
.sb-land-text li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--sb-accent); border-bottom: 2.5px solid var(--sb-accent); transform: rotate(-45deg); }
.sb-land-text strong { color: var(--sb-ink); }
.sb-land-sec { margin: 46px 0 0; }
.sb-land-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sb-land-sec h2 { font-size: 24px; margin: 0 0 6px; color: var(--sb-ink); }
.sb-land-sec-desc { color: var(--sb-muted); margin: 0 0 16px; max-width: 860px; }
.sb-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 980px) { .sb-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .sb-grid-3 { grid-template-columns: 1fr !important; } .sb-land-text h2 { font-size: 22px; } }
.sb-land-cats { margin: 56px 0 10px; padding: 26px 28px; background: #fff; border: 1px solid var(--sb-line); border-radius: 18px; }
.sb-land-cats h2 { font-size: 22px; margin: 0 0 12px; color: var(--sb-ink); }
.sb-land-cats details { border-top: 1px solid var(--sb-line); }
.sb-land-cats summary { cursor: pointer; list-style: none; padding: 14px 2px; font-weight: 700; color: var(--sb-ink); display: flex; align-items: center; gap: 8px; }
.sb-land-cats summary::-webkit-details-marker { display: none; }
.sb-land-cats summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 400; color: var(--sb-primary); transition: transform .2s; }
.sb-land-cats details[open] summary::after { transform: rotate(45deg); }
.sb-land-cats summary small { font-weight: 600; color: var(--sb-muted); background: var(--sb-bg, #f4f6f6); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.sb-land-cats ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 18px; }
.sb-land-cats li a { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: var(--sb-text); text-decoration: none; font-size: 14.5px; }
.sb-land-cats li a:hover { color: var(--sb-primary); }
.sb-land-cats li .sb-aico { color: var(--sb-primary); flex: 0 0 auto; }

/* ---------- Owner guide ---------- */
.sb-guide { padding: 6px 0 30px; }
.sb-guide-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 14px; }
.sb-guide-side { position: sticky; top: 92px; }
.sb-guide-side-in { max-height: calc(100vh - 110px); overflow: auto; background: #fff; border: 1px solid var(--sb-line); border-radius: 16px; padding: 14px 6px 10px 14px; }
.sb-guide-side-hub { display: block; font-weight: 800; color: var(--sb-ink); text-decoration: none; padding: 4px 6px 10px; border-bottom: 1px solid var(--sb-line); margin-bottom: 4px; }
.sb-guide-side details summary { cursor: pointer; list-style: none; padding: 9px 6px; font-weight: 700; font-size: 14px; color: var(--sb-ink); display: flex; }
.sb-guide-side details summary::-webkit-details-marker { display: none; }
.sb-guide-side details summary::after { content: "▾"; margin-left: auto; color: var(--sb-muted); transition: transform .2s; }
.sb-guide-side details:not([open]) summary::after { transform: rotate(-90deg); }
.sb-guide-side ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 6px; }
.sb-guide-side li a { display: block; padding: 6px 10px; font-size: 13.5px; color: var(--sb-text); text-decoration: none; border-left: 2px solid var(--sb-line); line-height: 1.4; }
.sb-guide-side li a:hover { color: var(--sb-primary); border-color: var(--sb-primary); }
.sb-guide-side li.is-current a { color: var(--sb-primary); font-weight: 700; border-color: var(--sb-accent); background: color-mix(in srgb, var(--sb-primary) 6%, #fff); }
.sb-guide-main { max-width: 780px; }
.sb-guide-main h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 10px 0 12px; color: var(--sb-ink); }
.sb-guide-kat { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--sb-primary) 9%, #fff); color: var(--sb-primary); font-weight: 700; font-size: 13px; text-decoration: none; }
.sb-guide-kat .sb-aico { width: 18px; height: 18px; }
.sb-guide-lead { font-size: 18.5px; line-height: 1.6; color: var(--sb-text); margin: 0 0 10px; }
.sb-guide-meta { color: var(--sb-muted); font-size: 13.5px; margin: 0 0 22px; }
.sb-guide-toc { background: #fff; border: 1px solid var(--sb-line); border-left: 4px solid var(--sb-primary); border-radius: 12px; padding: 14px 20px; margin: 0 0 28px; }
.sb-guide-toc ol { margin: 8px 0 0; padding-left: 20px; }
.sb-guide-toc li { padding: 3px 0; }
.sb-guide-toc li.sb-toc-l3 { margin-left: 16px; list-style: circle; font-size: 14px; }
.sb-guide-toc a { color: var(--sb-text); text-decoration: none; }
.sb-guide-toc a:hover { color: var(--sb-primary); text-decoration: underline; }
.sb-guide-body { font-size: 17px; line-height: 1.75; color: var(--sb-text); }
.sb-guide-body h2 { font-size: 26px; margin: 38px 0 12px; color: var(--sb-ink); scroll-margin-top: 100px; }
.sb-guide-body h3 { font-size: 20px; margin: 26px 0 8px; color: var(--sb-ink); scroll-margin-top: 100px; }
.sb-guide-body ul, .sb-guide-body ol { padding-left: 22px; }
.sb-guide-body li { margin: 6px 0; }
.sb-guide-body li::marker { color: var(--sb-accent); font-weight: 700; }
.sb-guide-body .sb-tip, .sb-guide-body blockquote { margin: 22px 0; padding: 14px 18px 14px 50px; border: 0; border-radius: 12px; background: #fff7ec; position: relative; font-style: normal; }
.sb-guide-body .sb-tip::before, .sb-guide-body blockquote::before { content: "💡"; position: absolute; left: 16px; top: 13px; font-size: 20px; }
.sb-guide-body .sb-tip p, .sb-guide-body blockquote p { margin: 0; }
.sb-guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0 26px; padding: 24px 28px; border-radius: 18px; background: linear-gradient(135deg, var(--sb-primary), color-mix(in srgb, var(--sb-primary) 70%, #000)); color: #fff; }
.sb-guide-cta h3 { margin: 0 0 8px; font-size: 22px; color: #fff; }
.sb-guide-cta ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14.5px; opacity: .95; }
.sb-guide-cta li::before { content: "✓ "; color: #ffd2c2; font-weight: 700; }
.sb-guide-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 30px; }
.sb-guide-pn a { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1px solid var(--sb-line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--sb-ink); font-weight: 700; }
.sb-guide-pn a:hover { border-color: var(--sb-primary); }
.sb-guide-pn small { color: var(--sb-muted); font-weight: 600; }
.sb-guide-next { text-align: right; grid-column: 2; }
.sb-guide-similar h2 { font-size: 22px; margin: 0 0 14px; color: var(--sb-ink); }
.sb-guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sb-guide-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--sb-line); text-decoration: none; color: var(--sb-text); transition: transform .15s, box-shadow .15s; }
.sb-guide-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 35, 43, .08); }
.sb-guide-card small { color: var(--sb-primary); font-weight: 700; font-size: 12px; }
.sb-guide-card strong { color: var(--sb-ink); line-height: 1.35; }
.sb-guide-card span { font-size: 13.5px; color: var(--sb-muted); }
.sb-guide-card em { margin-top: auto; font-style: normal; color: var(--sb-accent); font-weight: 700; font-size: 13.5px; }
.sb-guide-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.sb-guide-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--sb-line); text-decoration: none; color: var(--sb-text); }
.sb-guide-row:hover { border-color: var(--sb-primary); }
.sb-guide-row b { flex: 0 0 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sb-primary) 10%, #fff); color: var(--sb-primary); }
.sb-guide-row span { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sb-guide-row strong { color: var(--sb-ink); }
.sb-guide-row small { color: var(--sb-muted); font-size: 14px; }
.sb-guide-row i { font-style: normal; color: var(--sb-accent); font-weight: 700; }
/* Hub */
.sb-guide-hub-intro { max-width: 860px; font-size: 18px; line-height: 1.65; }
.sb-guide-ben { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 40px; }
.sb-guide-ben > div { background: #fff; border: 1px solid var(--sb-line); border-radius: 18px; padding: 22px; }
.sb-guide-ben .sb-aico { color: var(--sb-accent); }
.sb-guide-ben h3 { margin: 10px 0 6px; font-size: 18px; color: var(--sb-ink); }
.sb-guide-ben p { margin: 0; color: var(--sb-muted); font-size: 15px; line-height: 1.55; }
.sb-guide-hub-h { font-size: 28px; margin: 0 0 16px; color: var(--sb-ink); }
.sb-guide-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sb-guide-cat { background: #fff; border: 1px solid var(--sb-line); border-radius: 18px; padding: 20px 22px; }
.sb-guide-cat header { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.sb-guide-cat-ico { flex: 0 0 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--sb-primary) 9%, #fff); color: var(--sb-primary); display: flex; align-items: center; justify-content: center; }
.sb-guide-cat small { color: var(--sb-accent); font-weight: 800; font-size: 12px; letter-spacing: .06em; }
.sb-guide-cat h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.sb-guide-cat h3 a { color: var(--sb-ink); text-decoration: none; }
.sb-guide-cat > p { color: var(--sb-muted); font-size: 14px; margin: 0 0 10px; line-height: 1.5; }
.sb-guide-cat ul { list-style: none; margin: 0; padding: 0; }
.sb-guide-cat li a { display: block; padding: 6px 0 6px 16px; position: relative; color: var(--sb-text); text-decoration: none; font-size: 14.5px; border-top: 1px dashed var(--sb-line); }
.sb-guide-cat li a::before { content: "›"; position: absolute; left: 2px; color: var(--sb-accent); font-weight: 800; }
.sb-guide-cat li a:hover { color: var(--sb-primary); }
.sb-guide-who { margin: 44px 0 0; }
.sb-guide-who h2 { font-size: 26px; color: var(--sb-ink); }
.sb-guide-who ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.sb-guide-who li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.sb-guide-who .sb-aico { color: var(--sb-accent); flex: 0 0 auto; }
@media (max-width: 1000px) { .sb-guide-grid { grid-template-columns: 1fr; } .sb-guide-side { position: static; order: 2; } .sb-guide-side-in { max-height: none; } .sb-guide-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .sb-guide-cats, .sb-guide-ben, .sb-guide-cards, .sb-guide-who ul { grid-template-columns: 1fr; } .sb-guide-pn { grid-template-columns: 1fr; } .sb-guide-next { grid-column: 1; } }
/* Calculators */
.sb-calc { margin: 26px 0; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--sb-line); box-shadow: 0 6px 20px rgba(20, 35, 43, .05); }
.sb-calc-h { margin: 0 0 6px !important; font-size: 20px; font-weight: 800; color: var(--sb-ink); }
.sb-calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 10px 0; }
.sb-calc label { display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--sb-ink); line-height: 1.35; }
.sb-calc input, .sb-calc textarea { padding: 9px 11px; border: 1px solid var(--sb-line); border-radius: 10px; font: inherit; font-weight: 400; margin-top: auto; }
.sb-calc-out table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 8px; }
.sb-calc-out td { padding: 7px 4px; border-bottom: 1px solid var(--sb-line); }
.sb-calc-out td:last-child { text-align: right; }
.sb-calc-total { font-size: 19px; margin: 12px 0 4px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--sb-primary) 9%, #fff); color: var(--sb-ink); }
.sb-calc-total.is-minus { background: #fdeceb; }
/* iCal sync */
.sb-ical h3 { margin-top: 0; }
.sb-ical-step { display: flex; gap: 14px; margin: 16px 0; }
.sb-ical-step > b { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--sb-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.sb-ical-step > div { flex: 1; min-width: 0; }
.sb-ical-step p { margin: 4px 0 8px; color: var(--sb-muted); font-size: 14px; }
.sb-ical-copy { display: flex; gap: 8px; }
.sb-ical-copy input { flex: 1; min-width: 0; font-family: monospace; font-size: 13px; }
.sb-ical textarea { width: 100%; font-family: monospace; font-size: 13px; margin-bottom: 8px; }
.sb-ical-status { list-style: none; padding: 0; margin: 10px 0 4px; font-size: 14px; }
.sb-ical-status .ok { color: #11613f; } .sb-ical-status .no { color: #b3261e; }

/* ---------- Oglasi apartman page ---------- */
.sb-op { margin-top: -10px; }
.sb-op-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 34px 40px; border-radius: 26px; background: linear-gradient(135deg, var(--sb-primary), color-mix(in srgb, var(--sb-primary) 65%, #000)); color: #fff; margin-bottom: 30px; overflow: hidden; }
.sb-op-hero .sb-breadcrumbs, .sb-op-hero .sb-breadcrumbs a, .sb-op-hero .sb-breadcrumbs span { color: rgba(255, 255, 255, .75); }
.sb-op-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 10px 0 14px; }
.sb-op-hero h1 span { color: #ffc6b2; display: block; }
.sb-op-intro p { font-size: 17.5px; line-height: 1.6; opacity: .93; margin: 0 0 18px; max-width: 560px; }
.sb-op-steps { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; max-width: 520px; }
.sb-op-steps li { display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 16px; }
.sb-op-steps b { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--sb-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.sb-op-steps strong { display: block; }
.sb-op-steps span { font-size: 14px; opacity: .85; }
.sb-op-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-op-hero .sb-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .55); background: transparent; }
.sb-op-mock { background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); transform: rotate(2deg); max-width: 380px; margin-left: auto; position: relative; }
.sb-op-mock-top { display: flex; gap: 6px; margin-bottom: 12px; } .sb-op-mock-top i { width: 10px; height: 10px; border-radius: 50%; background: #e1e5e7; }
.sb-op-mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.sb-op-mock-cal span { aspect-ratio: 1; border-radius: 8px; background: #e8f6ef; color: #1f7a54; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sb-op-mock-cal span.b { background: #fde4dc; color: #c4471f; } .sb-op-mock-cal span.x { background: #eef0f1; color: #8a9499; }
.sb-op-mock-note { position: absolute; left: -34px; bottom: -22px; display: flex; gap: 10px; align-items: center; background: #fff; color: var(--sb-ink); padding: 10px 14px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); transform: rotate(-2deg); }
.sb-op-mock-note .sb-aico { color: #fff; background: #1f9d6b; border-radius: 50%; padding: 3px; }
.sb-op-mock-note small { display: block; color: var(--sb-muted); }
.sb-op-ben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 40px; }
.sb-op-ben > div { background: #fff; border: 1px solid var(--sb-line); border-radius: 20px; padding: 22px; }
.sb-op-ben span { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--sb-accent) 13%, #fff); color: var(--sb-accent); }
.sb-op-ben h3 { margin: 14px 0 6px; font-size: 18px; color: var(--sb-ink); }
.sb-op-ben p { margin: 0; color: var(--sb-muted); font-size: 14.5px; line-height: 1.55; }
.sb-op-feat { background: #fff; border: 1px solid var(--sb-line); border-radius: 24px; padding: 28px 32px; margin-bottom: 40px; }
.sb-op-feat h2, .sb-op-sync h2, .sb-op-faq h2, .sb-op-final h2 { font-size: clamp(24px, 3vw, 32px); color: var(--sb-ink); margin: 0 0 14px; }
.sb-op-feat ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; }
.sb-op-feat li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--sb-line); font-size: 15.5px; }
.sb-op-feat .sb-aico { color: var(--sb-primary); flex: 0 0 auto; }
.sb-op-sync { text-align: center; margin: 0 0 44px; }
.sb-op-sync > p { color: var(--sb-muted); max-width: 640px; margin: 0 auto 10px; }
.sb-sync { position: relative; max-width: 1000px; aspect-ratio: 1000 / 460; margin: 0 auto; color: color-mix(in srgb, var(--sb-primary) 35%, #fff); }
.sb-sync-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sb-sync-svg path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-dasharray: 7 7; animation: sbDash 1.6s linear infinite; }
@keyframes sbDash { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .sb-sync-svg path { animation: none; } }
.sb-sync-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; padding: 18px 26px; border-radius: 22px; background: #fff; border: 2px solid var(--sb-primary); box-shadow: 0 16px 40px rgba(14, 94, 111, .18); z-index: 2; }
.sb-sync-center .sb-aico, .sb-sync-center img { color: var(--sb-accent); max-height: 40px; width: auto; }
.sb-sync-center strong { font-size: 22px; color: var(--sb-primary); font-weight: 800; letter-spacing: -.01em; }
.sb-sync-node { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--sb-line); box-shadow: 0 8px 20px rgba(20, 35, 43, .07); font-weight: 800; font-size: 17px; color: var(--sb-ink); z-index: 1; }
.sb-sync-node.c8 { font-weight: 600; font-size: 14px; color: var(--sb-muted); border-style: dashed; box-shadow: none; }
.sb-sync-note { font-size: 12.5px; color: var(--sb-muted); margin: 6px 0 0; }
.sb-op-faq { max-width: 860px; margin: 0 auto 40px; }
.sb-op-final { text-align: center; padding: 36px 24px; border-radius: 24px; background: color-mix(in srgb, var(--sb-accent) 9%, #fff); }
.sb-op-final p { color: var(--sb-text); max-width: 620px; margin: 0 auto 18px; }
.sb-op-final .sb-op-btns { justify-content: center; }
.sb-op-phone { margin-top: 14px !important; font-weight: 600; }
@media (max-width: 1000px) { .sb-op-ben { grid-template-columns: 1fr 1fr; } .sb-op-hero { grid-template-columns: 1fr; } .sb-op-mock { margin: 10px auto 20px; } }
@media (max-width: 700px) {
	.sb-op-hero { padding: 24px 20px; } .sb-op-ben, .sb-op-feat ul { grid-template-columns: 1fr; } .sb-op-feat { padding: 22px 18px; }
	.sb-sync { height: auto; aspect-ratio: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 4px; }
	.sb-sync-svg { display: none; }
	.sb-sync-center { position: static; transform: none; width: 100%; justify-content: center; margin-bottom: 8px; }
	.sb-sync-node { position: static; transform: none; font-size: 15px; }
}

/* =========================================================
   Mobile UX (v1.8)
   ========================================================= */
/* Top photo slider: desktop shows the first photo only. */
.sb-hero-track { height: 100%; display: flex; overflow: hidden; }
.sb-hero-track > .sb-ap-hero-img { flex: 0 0 100%; }
.sb-hero-more { display: none !important; }
.sb-hero-count, .sb-hero-dots { display: none; }
html.sb-lock, html.sb-lock body { overflow: hidden; }

/* Grids must never be wider than the screen. */
.sb-panel > *, .sb-ap-layout > *, .sb-search-page > *, .sb-guide-grid > *, .sb-rez-grid > * { min-width: 0; }

@media (max-width: 860px) {
	/* Photo slider with swipe. */
	.sb-hero-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
	.sb-hero-track::-webkit-scrollbar { display: none; }
	.sb-hero-track > .sb-ap-hero-img { scroll-snap-align: start; }
	.sb-hero-more { display: block !important; }
	.sb-hero-count { display: block; position: absolute; right: 14px; bottom: 14px; background: rgba(15, 25, 30, .66); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
	.sb-hero-dots { display: flex; gap: 6px; position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); pointer-events: none; }
	.sb-hero-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); transition: all .2s; }
	.sb-hero-dots i.is-on { background: #fff; width: 18px; border-radius: 4px; }
	.sb-ap-hero { height: min(62vw, 340px); }
	.sb-ap-hero-actions { right: 12px; top: 12px; }
	.sb-ap-hero-actions .sb-btn { padding: 8px 12px; }

	/* Booking box placed under the main info on phones. */
	.sb-ap-side.is-inline { margin: 6px 0 26px; }
	.sb-ap-side.is-inline .sb-ap-book { box-shadow: 0 10px 30px rgba(20, 35, 43, .1); border-radius: 18px; overflow: hidden; }

	/* Bottom action bar on apartment / business pages. */
	.sb-mobile-book { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--sb-line); box-shadow: 0 -6px 24px rgba(20, 35, 43, .08); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; align-items: center; gap: 12px; }
	.sb-mobile-book .sb-btn { min-height: 48px; padding: 0 26px; font-size: 16px; border-radius: 14px; display: inline-flex; align-items: center; }
	.sb-mb-price b { font-size: 21px; color: var(--sb-ink); }
	.sb-mb-price span { color: var(--sb-muted); font-size: 14px; }
	.sb-mb-price small { display: block; color: var(--sb-muted); font-size: 12.5px; margin-top: 1px; }
	.sb-mobile-book-firm .sb-btn { flex: 1; justify-content: center; }
	.sb-tpl-single-apartman, .sb-firm-page { padding-bottom: 20px; }
	.sb-ap-sticky { top: 0; }
	.sb-ap-tabs { height: 46px; padding: 0 6px; }
	.sb-ap-tabs a { font-size: 12.5px; padding: 0 10px; }

	/* Owner panel: tabs become a swipeable pill bar under the header. */
	.sb-panel { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.sb-panel-nav { position: sticky; top: 58px; z-index: 50; padding: 8px; margin: 0 -16px; border-radius: 0; box-shadow: 0 6px 16px rgba(20, 35, 43, .06); }
	.sb-panel-user { display: none; }
	.sb-panel-nav nav { gap: 6px; padding: 2px; }
	.sb-panel-nav nav::-webkit-scrollbar { display: none; }
	.sb-panel-nav nav a { padding: 9px 14px; border-radius: 999px; background: var(--sb-bg); font-size: 14px; min-height: 40px; }
	.sb-panel-nav nav a.is-active { background: var(--sb-primary); color: #fff; }
	.sb-panel-body h2 { font-size: 24px; }
	.sb-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.sb-panel-head .sb-btn { width: 100%; justify-content: center; }

	/* Search page: sticky tool bar, filters as a bottom sheet. */
	.sb-results-bar { position: sticky; top: 58px; z-index: 40; background: var(--sb-bg, #f4f6f6); margin: 0 -16px 12px; padding: 10px 16px; }
	.sb-search-side { background: rgba(10, 20, 25, .45); }
	.sb-filters { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; max-height: 88vh; border-radius: 22px 22px 0 0; padding-bottom: 0; animation: sbSheet .25s ease-out; }
	.sb-filters-head { position: sticky; top: 0; background: #fff; z-index: 2; padding-top: 18px; }
	.sb-filters-head::before { content: ""; position: absolute; left: 50%; top: 7px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d3d9dc; }
	.sb-filters > button[type=submit] { position: sticky; bottom: 0; margin: 14px -18px 0; width: calc(100% + 36px); border-radius: 0; min-height: 56px; font-size: 17px; padding-bottom: env(safe-area-inset-bottom); }
	.sb-filters label { min-height: 34px; display: flex; align-items: center; gap: 8px; }
	@keyframes sbSheet { from { transform: translateY(100%); } to { transform: none; } }

	/* Category search band (Rent a car, Restorani...). */
	.sb-cat-search-wrap { padding: 16px; }
	.sb-cat-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.sb-cat-search input, .sb-cat-search select, .sb-cat-search .sb-btn { width: 100%; min-width: 0; height: 50px; border-radius: 10px; }
	.sb-cat-search .sb-btn { font-size: 17px; }
	.sb-dirnav { scrollbar-width: none; }

	/* Home: featured apartments as a swipe row. */
	.sbt-featured .sb-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
	.sbt-featured .sb-grid::-webkit-scrollbar { display: none; }
	.sbt-featured .sb-card { flex: 0 0 78%; scroll-snap-align: start; }

	/* Reservation page. */
	.sb-rez-steps { overflow-x: auto; }
	.sb-thread .sb-msg { max-width: 94%; }
	.sb-msg-form textarea { min-height: 90px; }
}

@media (max-width: 640px) {
	/* Bigger tap targets everywhere. */
	.sb-btn { min-height: 44px; }
	.sb-btn-sm { min-height: 38px; }
	.sb-link, .sb-show-all { padding: 8px 0; display: inline-block; }
	.sb-heart { width: 40px; height: 40px; }
	.sb-faq-item summary { padding-top: 16px; padding-bottom: 16px; }
	/* Cards: a bit more compact so more fit on screen. */
	.sb-card-media { aspect-ratio: 16 / 10; }
	.sb-card-body { padding: 12px 14px 14px; }
	.sb-card-title { font-size: 17px; }
	.sb-card-facts { margin: 8px 0; }
	/* Forms. */
	.sb-form input:not([type=checkbox]):not([type=radio]), .sb-form select, .sb-form textarea { min-height: 48px; }
	/* Long tables / calendars. */
	.sb-calendar { gap: 18px; }
	.sb-cal-day { min-height: 38px; }
	.sb-guide-main h1 { font-size: 27px; }
	.sb-guide-body { font-size: 16.5px; }
	.sb-guide-toc { padding: 12px 16px; }
	.sb-land-count span { font-size: 13px; }
}
@media (max-width: 860px) { .sb-guide-side li a { padding: 11px 12px; font-size: 15px; } .sb-guide-side details summary { padding: 13px 6px; font-size: 15.5px; } .sb-guide-toc a { display: inline-block; padding: 4px 0; } }
@media (max-width: 640px) { .sb-ap-icons { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; column-gap: 6px; } .sb-ap-icons li { font-size: 13px; text-align: center; } .sb-ap-icons li span { overflow-wrap: anywhere; } }
