/* ==========================================================================
   Lets Go · Fibula prodajni sajt – zajednički stilovi
   ========================================================================== */
:root {
    color-scheme: light;
    --ink: #0b2545;
    --ink-2: #2b4262;
    --muted: #66788f;
    --line: #e2e8f0;
    --line-strong: #cdd7e3;
    --bg: #f4f7fb;
    --surface: #fff;
    --brand: #1565d8;
    --brand-dark: #0f4fb0;
    --brand-soft: #eaf2fe;
    --cta: #ff6a1f;
    --cta-dark: #e4540c;
    --cta-soft: #fff1e8;
    --green: #0b8f52;
    --green-soft: #e7f6ee;
    --red: #c62f2f;
    --red-soft: #fdeeee;
    --gold: #f5a524;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06), 0 2px 8px rgba(11, 37, 69, .05);
    --shadow: 0 10px 30px rgba(11, 37, 69, .10);
    --shadow-lg: 0 24px 60px rgba(11, 37, 69, .18);
    --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --embed-view-top: 0px;
    --embed-view-height: 100vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(21, 101, 216, .45); outline-offset: 2px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; margin-bottom: 4px; color: var(--cta-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.text-green { color: var(--green); }
.fine-print { margin-top: 10px; color: var(--muted); font-size: 13px; }

.lucide { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Dugmad ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; font-size: 16px; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .15s, box-shadow .15s, transform .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.btn .lucide { width: 19px; height: 19px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-cta { color: #fff; background: linear-gradient(180deg, #ff7a33, var(--cta)); box-shadow: 0 8px 20px rgba(255, 106, 31, .32); }
.btn-cta:hover { background: linear-gradient(180deg, #ff6d22, var(--cta-dark)); box-shadow: 0 10px 24px rgba(228, 84, 12, .38); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 8px 18px rgba(21, 101, 216, .25); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { color: var(--ink); background: var(--surface); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-2); }
.link-btn { padding: 4px 0; border: 0; background: none; color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--brand-dark); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 22px; line-height: 1; transition: background-color .15s, border-color .15s; }
.icon-btn:hover { border-color: var(--line-strong); background: var(--bg); }

/* ---------- Oznake ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.pill-green { color: var(--green); background: var(--green-soft); }
.pill-orange { color: var(--cta-dark); background: var(--cta-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 650; }
.chip .lucide { width: 15px; height: 15px; color: var(--green); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.stars { display: inline-flex; align-items: center; gap: 2px; color: var(--gold); line-height: 1; vertical-align: middle; }
.stars .star-icon { width: 16px; height: 16px; fill: currentColor; stroke: #e39410; stroke-width: 1.2; }

/* ---------- Obavještenja ---------- */
.alert { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.alert .lucide { width: 20px; height: 20px; margin-top: 1px; }
.alert-success { color: #075e36; background: var(--green-soft); border: 1px solid #bfe6d0; }
.alert-error { color: #8f1f1f; background: var(--red-soft); border: 1px solid #f3c7c7; }
.alert-info { color: var(--ink-2); background: var(--brand-soft); border: 1px solid #cfe0fb; }

/* ---------- Kartice, polja ---------- */
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card + .card, .card + .split-grid, .split-grid + .card { margin-top: 18px; }
.card-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 21px; }
.card-title .lucide { width: 22px; height: 22px; color: var(--brand); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; }
.section-head > p { max-width: 380px; font-size: 14px; }

.field { display: grid; gap: 6px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field select, .input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 16px; font-weight: 500; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 101, 216, .14); outline: none; }
.field input[readonly] { background: var(--bg); color: var(--ink-2); }
.form-grid { display: grid; gap: 14px; margin-top: 16px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid:empty { display: none; }

.check-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s; }
.check-option:hover { border-color: var(--line-strong); }
.check-option input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid var(--line-strong); border-radius: 6px; color: transparent; transition: .15s; }
.check-box .lucide { width: 14px; height: 14px; stroke-width: 3; }
.check-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check-option input:checked + .check-box { border-color: var(--brand); background: var(--brand); color: #fff; }
.check-option input:focus-visible + .check-box { outline: 3px solid rgba(21, 101, 216, .45); outline-offset: 2px; }
.check-option strong { display: block; font-size: 15px; }
.check-option strong em { margin-left: 4px; color: var(--muted); font-style: normal; font-weight: 600; font-size: 13px; }
.check-option small { display: block; color: var(--muted); font-size: 13px; }

/* ---------- Spinner i učitavanje ---------- */
.spinner { display: inline-block; width: 46px; height: 46px; border: 4px solid rgba(21, 101, 216, .15); border-top-color: var(--cta); border-radius: 50%; animation: spin .8s linear infinite; }
.spinner-sm { width: 16px; height: 16px; border-width: 2px; vertical-align: -3px; }
.btn .spinner-sm { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loading { position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 20px; background: rgba(244, 247, 251, .86); backdrop-filter: blur(6px); }
.page-loading.open { display: grid; }
.page-loading-box { display: grid; justify-items: center; gap: 10px; max-width: 360px; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; }
.page-loading-box strong { font-size: 19px; }
.page-loading-box small { color: var(--muted); font-size: 14px; }

/* ---------- Modali ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 22, 42, .55); backdrop-filter: blur(3px); }
.modal.open { display: flex; animation: fade .18s ease; }
.modal-panel { position: relative; width: min(520px, 100%); max-height: min(92vh, 900px); overflow: auto; overscroll-behavior: contain; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); animation: rise .22s ease; }
.modal-wide { width: min(820px, 100%); }
.modal-panel > h2 { margin: 0 44px 6px 0; font-size: 24px; }
.modal-panel > .muted { margin-bottom: 18px; font-size: 15px; }
.modal-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 24px; line-height: 1; }
.modal-close:hover { background: var(--line); }
.modal-actions { display: flex; gap: 12px; margin-top: 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Kalendar ---------- */
.calendar-head { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; }
.calendar-head strong { flex: 1; text-align: center; font-size: 15px; }
.calendar-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.calendar-month h3 { margin-bottom: 10px; text-align: center; font-size: 15px; text-transform: capitalize; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekday { padding-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-day { position: relative; aspect-ratio: 1; min-height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: #b5c0cd; font-size: 14px; font-weight: 600; }
.calendar-day:disabled { cursor: default; }
.calendar-day.available { background: var(--green-soft); color: var(--green); font-weight: 800; }
.calendar-day.available:hover { background: #d3efe0; }
.calendar-day.selected, .calendar-day.selected:hover { background: var(--cta); color: #fff; box-shadow: 0 6px 14px rgba(255, 106, 31, .35); }
.calendar-loading { padding: 18px 4px; color: var(--muted); font-weight: 600; text-align: center; }
.calendar-legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.legend-dot { width: 14px; height: 14px; border-radius: 4px; background: var(--green-soft); border: 1px solid #bfe6d0; }

/* ==========================================================================
   Početna i rezultati
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand small { display: block; margin-top: -2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand-logo { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--cta), #ff9a3d); box-shadow: 0 6px 14px rgba(255, 106, 31, .3); }
.brand-mark .lucide { width: 20px; height: 20px; }
.header-trust { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 13px; font-weight: 650; }
.header-trust li { display: flex; align-items: center; gap: 7px; }
.header-trust .lucide { width: 17px; height: 17px; color: var(--green); }

.hero { position: relative; z-index: 30; padding: 64px 0 34px; isolation: isolate; }
/* Kalendar i modali iz pretrage moraju biti iznad kartica rezultata i zaglavlja. */
body.modal-open .site-header { z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #cfe7f7 var(--hero-image) 0% 40% / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244, 247, 251, 0) 18%, rgba(244, 247, 251, .72) 40%, rgba(244, 247, 251, .95) 54%), linear-gradient(180deg, rgba(244, 247, 251, 0) 55%, var(--bg) 100%); }
.hero-inner { position: relative; display: flex; justify-content: flex-end; min-height: 330px; }
.hero-copy { width: min(560px, 100%); padding-top: 8px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 { margin-top: 18px; font-size: clamp(42px, 5.6vw, 76px); font-weight: 850; line-height: .98; letter-spacing: -.045em; }
.hero h1 span { display: block; margin-top: 10px; color: var(--brand); font-size: .52em; letter-spacing: -.03em; line-height: 1.1; }
.hero-lead { max-width: 500px; margin-top: 18px; color: var(--ink-2); font-size: 18px; }
.hero-sticker { position: absolute; top: -20px; right: max(0px, calc(560px - 100% + 40px)); display: none; }
@media (min-width: 1100px) {
    .hero-sticker { display: grid; place-items: center; align-content: center; top: 12px; right: 0; width: 132px; aspect-ratio: 1; border: 5px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ff8a3d, var(--cta-dark)); box-shadow: 0 16px 34px rgba(228, 84, 12, .35); text-align: center; text-transform: uppercase; transform: rotate(8deg); }
    .hero-sticker small { font-size: 12px; font-weight: 800; letter-spacing: .12em; }
    .hero-sticker strong { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
    .hero-sticker span { font-size: 10px; font-weight: 800; letter-spacing: .08em; }
    .hero-copy { margin-right: 150px; }
}

.search-card { position: relative; z-index: 20; margin-top: 30px; padding: 14px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.search-grid { display: grid; grid-template-columns: 1.25fr 1.15fr 1fr .95fr 1.05fr auto; align-items: stretch; gap: 8px; }
.search-field { position: relative; min-width: 0; padding: 9px 14px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.search-field:hover { border-color: var(--line-strong); }
.search-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 101, 216, .12); }
.search-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.search-label .lucide { width: 14px; height: 14px; color: var(--cta); }
.search-control { display: block; width: 100%; min-height: 30px; margin-top: 2px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 16px; font-weight: 750; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; appearance: none; -webkit-appearance: none; }
.search-control:focus { outline: none; }
select.search-control { padding-right: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2366788f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center no-repeat; }
.search-control strong { display: block; overflow: hidden; text-overflow: ellipsis; font-weight: 750; }
.search-control small { display: block; overflow: hidden; margin-top: -2px; color: var(--muted); font-size: 12px; font-weight: 500; text-overflow: ellipsis; }
.search-submit { min-height: 100%; padding-inline: 26px; border-radius: 14px; font-size: 17px; }

.charter-calendar { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 50; width: min(620px, calc(100vw - 32px)); padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(-50%); animation: rise .18s ease; }
.charter-calendar .calendar-head { margin-top: 0; }

.benefit-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.benefit-strip li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(226, 232, 240, .9); backdrop-filter: blur(6px); }
.benefit-strip .lucide { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--brand); background: var(--brand-soft); }
.benefit-strip strong { display: block; font-size: 14px; }
.benefit-strip small { display: block; color: var(--muted); font-size: 12px; }

.dates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dates .muted { flex-basis: 100%; }
.chip.date.selected { border-color: var(--cta); color: var(--cta-dark); background: var(--cta-soft); }

.how-it-works { padding: 46px 0 64px; }
.section-intro { margin-bottom: 22px; text-align: center; }
.section-intro h2 { font-size: clamp(26px, 3vw, 34px); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps-grid li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.steps-grid strong { display: block; margin: 14px 0 6px; font-size: 18px; }
.steps-grid p { color: var(--muted); font-size: 15px; }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: var(--ink); font-weight: 850; }

/* Kompaktni hero na stranici rezultata */
.hero-compact { padding: 28px 0 8px; }
.hero-compact .hero-bg::after { background: linear-gradient(90deg, rgba(11, 37, 69, .78), rgba(11, 37, 69, .55) 60%, rgba(11, 37, 69, .35)); }
.hero-compact .hero-bg { background-position: 30% 55%; }
.hero-compact .hero-inner { min-height: 0; justify-content: flex-start; }
.hero-compact .hero-copy { width: auto; margin: 0; padding: 0; }
.hero-compact .hero-badge { display: none; }
.hero-compact h1 { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 32px); }
.hero-compact .search-card { margin-top: 18px; }

.results { padding: 28px 0 70px; scroll-margin-top: 80px; }
.results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 20px; }
.results-head h2 { font-size: clamp(24px, 2.6vw, 30px); }
.results-query { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.results-query span { display: inline-flex; align-items: center; gap: 6px; }
.results-query .lucide { width: 15px; height: 15px; color: var(--cta); }
.results-tools { display: flex; align-items: center; gap: 10px; }
.sort-field { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 700; }
.sort-field select { min-height: 44px; padding: 8px 36px 8px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; color: var(--ink); font-weight: 700; appearance: none; }
.filters-toggle { display: none; }

.results-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 24px; }
.filters { position: sticky; top: 84px; display: grid; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
body.embedded-view .filters, body:not(:has(.site-header)) .filters { top: 16px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h3 { font-size: 18px; }
.filters-close, .filters-apply { display: none; }
.segmented { display: grid; grid-template-columns: repeat(4, 1fr); padding: 4px; border-radius: 12px; background: var(--bg); }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 8px 4px; border-radius: 9px; color: var(--muted); font-size: 13px; font-weight: 750; text-align: center; cursor: pointer; transition: .15s; }
.segmented input:checked + span { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 3px solid rgba(21, 101, 216, .45); }
.qualifier-filter { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; background: var(--bg); }
.qualifier-filter strong { display: block; font-size: 14px; }
.qualifier-filter small { display: block; color: var(--muted); font-size: 12px; }
.qualifier-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 14px; }
.filter-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 650; }

.hotel-grid { display: grid; gap: 16px; }
.hotel-card { display: grid; grid-template-columns: 290px minmax(0, 1fr) 230px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s; }
.hotel-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.hotel-card-media { position: relative; min-height: 220px; overflow: hidden; background: var(--brand-soft); }
.hotel-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hotel-card:hover .hotel-card-media img { transform: scale(1.04); }
.media-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #9db6d6; }
.media-placeholder .lucide { width: 48px; height: 48px; }
.media-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 9px; color: #fff; background: var(--cta); font-size: 13px; font-weight: 850; box-shadow: 0 6px 14px rgba(255, 106, 31, .35); }
.hotel-card-body { min-width: 0; padding: 20px 22px; }
.hotel-card-body h3 { margin-top: 6px; font-size: 20px; }
.hotel-card-body h3 a { color: inherit; text-decoration: none; }
.hotel-card-body h3 a:hover { color: var(--brand); }
.hotel-meta { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hotel-meta .lucide { width: 15px; height: 15px; }
.card-tags { display: grid; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.card-tags li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.card-tags .lucide { width: 16px; height: 16px; color: var(--muted); }
.card-tags .tag-board { color: var(--green); font-weight: 750; }
.card-tags .tag-board .lucide { color: var(--green); }
.card-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.card-amenities li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 12px; font-weight: 650; }
.card-amenities .lucide { width: 13px; height: 13px; color: var(--green); }
.hotel-card-price { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 2px; padding: 20px; border-left: 1px dashed var(--line-strong); background: linear-gradient(180deg, #fff, #fafcff); text-align: right; }
.price-caption { margin-bottom: auto; color: var(--muted); font-size: 12px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.hotel-old-price, .current-old-price, .term-card del, .mobile-bar del { color: #8a97a8; font-size: 14px; font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.hotel-price { color: var(--ink); font-size: 27px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; }
.hotel-card-price small { margin-bottom: 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.hotel-card-price .link-btn { align-self: center; margin-top: 6px; font-size: 14px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination form { margin: 0; }
.pagination button { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 750; }
.pagination button:hover:not(:disabled) { border-color: var(--ink-2); }
.pagination button:disabled { cursor: default; opacity: .45; }
.pagination .active, .pagination .active:disabled { border-color: var(--ink); background: var(--ink); color: #fff; opacity: 1; }
.pagination .lucide { width: 16px; height: 16px; }

.empty-state { display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: 30px auto; padding: 40px 28px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.empty-state > .lucide { width: 46px; height: 46px; padding: 10px; border-radius: 14px; color: var(--cta); background: var(--cta-soft); }
.empty-state h1, .empty-state h3 { font-size: 22px; }
.empty-state p { color: var(--muted); }
.empty-state .btn { margin-top: 8px; }
.page-message main { padding: 60px 0; }

.counter-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.counter-row strong { display: block; }
.counter-row small { color: var(--muted); font-size: 13px; }
.counter { display: flex; align-items: center; gap: 10px; }
.counter input, .counter select { width: 46px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 800; text-align: center; text-align-last: center; appearance: none; -moz-appearance: textfield; }
.counter input::-webkit-inner-spin-button, .counter input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.airport-country { margin-top: 18px; }
.airport-country h3 { margin-bottom: 8px; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.airport-country .check-option + .check-option { margin-top: 8px; }

.site-footer { padding: 26px 0; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-trust { display: inline-flex; align-items: center; gap: 6px; }
.footer-trust .lucide { width: 15px; height: 15px; color: var(--green); }

/* ---------- Rezervacija (zajedničko) ---------- */
.booking-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-bottom: 18px; padding: 18px; border-radius: var(--radius); background: var(--bg); }
.booking-summary > span { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.booking-summary > span > .lucide { width: 18px; height: 18px; margin-top: 3px; color: var(--muted); }
.booking-summary small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.booking-summary strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.booking-summary-total { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid var(--line-strong); }
.booking-summary-total strong { color: var(--ink); font-size: 22px; font-weight: 850; }
.booking-progress { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; }
.booking-progress li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 14px; font-weight: 750; }
.booking-progress li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: 13px; }
.booking-progress li.active { color: var(--ink); background: var(--cta-soft); }
.booking-progress li.active span { color: #fff; background: var(--cta); }
.booking-progress li.done span { color: #fff; background: var(--green); }
.booking-step { display: none; }
.booking-step.active { display: block; animation: fade .2s ease; }
.passenger-fields { display: grid; gap: 12px; }
.passenger-card { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.passenger-card legend { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 800; }
.passenger-card legend em { color: var(--cta-dark); font-size: 13px; font-style: normal; }
.passenger-no { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: var(--ink); font-size: 12px; }
.passenger-no .lucide { width: 13px; height: 13px; }
.contact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.step-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.final-review { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius); background: var(--green-soft); color: #075e36; }
.final-review > .lucide { width: 28px; height: 28px; flex: 0 0 28px; }
.final-review strong { display: block; font-size: 17px; }
.final-review p { margin-top: 4px; font-size: 14px; }
.promo-field { margin-top: 16px; }

/* ==========================================================================
   Stranica hotela
   ========================================================================== */
.topbar { position: sticky; top: 0; z-index: 900; color: var(--ink); background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; min-height: 64px; }
.topbar-inner .offer-timer { justify-self: end; }
.topbar-logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.back-link { justify-self: start; display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; opacity: .9; }
.back-link:hover { opacity: 1; text-decoration: underline; }
.offer-timer { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 650; }
.offer-timer .lucide { color: #ffb37a; }
.offer-timer strong { display: inline-block; min-width: 46px; padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .12); color: #ffd1ae; font-variant-numeric: tabular-nums; text-align: center; }
.offer-timer.urgent strong { background: var(--cta); color: #fff; }
.offer-timer a { color: #ffd1ae; }

.hotel-page { padding: 26px 0 120px; }
.hotel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 20px; }
.hotel-head h1 { margin-top: 8px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 850; letter-spacing: -.035em; }
.hotel-location { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--muted); font-weight: 600; }
.hotel-location .lucide { color: var(--cta); }
.head-price { display: grid; justify-items: end; color: inherit; text-decoration: none; text-align: right; }
.head-price small { color: var(--muted); font-size: 13px; font-weight: 700; }
.head-price strong { font-size: 30px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; }
.head-price span { color: var(--muted); font-size: 13px; }

.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 10px; overflow: hidden; border-radius: var(--radius-lg); }
.gallery-tile { position: relative; overflow: hidden; padding: 0; border: 0; background: var(--brand-soft); }
.gallery-tile:first-child { grid-row: 1 / 3; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s; }
.gallery-tile:hover img { transform: scale(1.04); filter: brightness(.94); }
.gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: 420px; }
.gallery-count-2 { grid-template-columns: 2fr 1fr; }
.gallery-count-2 .gallery-tile:nth-child(2) { grid-row: 1 / 3; }
.gallery-count-3 { grid-template-columns: 2fr 1fr; }
.gallery-count-4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery-count-4 .gallery-tile:nth-child(4) { grid-column: 2 / 4; }
.gallery-more { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); color: var(--ink); font-size: 13px; font-weight: 800; box-shadow: var(--shadow-sm); }
.gallery-more .lucide { width: 15px; height: 15px; color: var(--cta); }

.hotel-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 24px; margin-top: 24px; }
.hotel-main { min-width: 0; }
.hotel-aside { position: sticky; top: 84px; }
body.embedded-view .hotel-aside { top: 16px; }

.trip-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trip-fact { position: relative; display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
button.trip-fact { cursor: pointer; transition: border-color .15s, box-shadow .15s, background-color .15s; }
button.trip-fact:hover { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 6px 18px rgba(21, 101, 216, .12); }
.trip-fact-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.trip-fact-body { min-width: 0; }
.trip-fact-body small { display: block; color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.trip-fact-body strong { display: block; overflow-wrap: anywhere; font-size: 16px; }
.trip-fact-body em { display: block; color: var(--muted); font-size: 13px; font-style: normal; }
.trip-fact-action { position: absolute; top: 14px; right: 14px; color: var(--brand); font-size: 13px; font-weight: 800; }

.carousel-nav { display: flex; gap: 8px; }
.term-strip { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
.term-strip::-webkit-scrollbar { display: none; }
.term-card { position: relative; display: grid; justify-items: center; gap: 1px; flex: 0 0 150px; padding: 16px 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-align: center; scroll-snap-align: start; transition: border-color .15s, box-shadow .15s, transform .15s; }
.term-card:hover { border-color: var(--brand); box-shadow: 0 8px 20px rgba(21, 101, 216, .12); transform: translateY(-2px); }
.term-card.selected { border: 2px solid var(--cta); background: var(--cta-soft); cursor: default; transform: none; }
.term-badge { position: absolute; top: -9px; padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--green); font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.term-day { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.term-date { font-size: 20px; font-weight: 850; letter-spacing: -.02em; }
.term-nights { margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.term-card del { font-size: 12px; }
.term-card strong { color: var(--green); font-size: 16px; font-weight: 850; white-space: nowrap; }
.month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.month-card { flex: none; justify-items: start; padding: 14px 16px; text-align: left; }
.month-name { font-weight: 850; }
.month-card .muted { font-size: 12px; }
.month-card strong { margin-top: 6px; }

.room-list { display: grid; gap: 10px; }
.room-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.room-option:hover { border-color: var(--line-strong); }
.room-option input { position: absolute; opacity: 0; pointer-events: none; }
.room-radio { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid var(--line-strong); border-radius: 50%; transition: .15s; }
.room-option:has(input:checked) { border-color: var(--green); background: #f6fcf8; box-shadow: 0 0 0 3px rgba(11, 143, 82, .12); }
.room-option input:checked + .room-radio { border: 7px solid var(--green); }
.room-option input:focus-visible + .room-radio { outline: 3px solid rgba(21, 101, 216, .45); outline-offset: 2px; }
.room-info { flex: 1; min-width: 0; }
.room-info strong { display: block; font-size: 16px; }
.room-info small { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; color: var(--green); font-size: 13px; font-weight: 700; }
.room-info small .lucide { width: 14px; height: 14px; }
.room-price { display: grid; justify-items: end; text-align: right; }
.room-price strong { font-size: 18px; font-weight: 850; }
.room-price small { color: var(--muted); font-size: 12px; }
.room-diff { color: var(--ink-2); font-size: 13px; font-weight: 700; }

.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.split-grid .card + .card { margin-top: 0; }
.line-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.line-item + .line-item { margin-top: 8px; }
.line-item small { display: block; color: var(--muted); font-size: 13px; }

.flight-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flight-leg { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, #fff, #f9fbfe); }
.flight-label { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.flight-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin: 10px 0 8px; }
.flight-route > span:last-child { text-align: right; }
.flight-route strong { display: block; font-size: 24px; font-weight: 850; }
.flight-route small { display: block; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.flight-line { position: relative; display: grid; place-items: center; width: 70px; color: var(--cta); }
.flight-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line-strong); }
.flight-line .lucide { position: relative; padding: 0 4px; background: #fbfcfe; width: 26px; height: 26px; }
.flight-meta { color: var(--ink-2); font-size: 13px; font-weight: 650; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.info-block { padding: 18px; border-radius: 14px; background: var(--bg); }
.info-block h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 16px; }
.info-block h3 .lucide { color: var(--brand); }
.info-block p { color: var(--ink-2); font-size: 15px; }
.info-block.warning { background: #fff8e6; }
.info-block.warning h3 .lucide { color: #b7791f; }

.summary-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.summary-price { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-price .pill { justify-self: start; margin-bottom: 8px; }
.summary-price strong { font-size: 34px; font-weight: 850; letter-spacing: -.035em; line-height: 1.05; }
.summary-price small { color: var(--muted); font-size: 13px; }
.summary-list { display: grid; gap: 10px; margin: 16px 0 18px; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.summary-list li { display: flex; align-items: flex-start; gap: 10px; }
.summary-list .lucide { width: 17px; height: 17px; margin-top: 2px; color: var(--muted); }
.summary-card .btn-cta { min-height: 56px; font-size: 17px; }
.trust-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--ink-2); font-size: 13px; font-weight: 650; }
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list .lucide { width: 16px; height: 16px; color: var(--green); }

.mobile-bar { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 2500; display: none; align-items: center; justify-content: center; padding: 20px 70px; background: rgba(5, 14, 28, .94); }
.lightbox.open { display: flex; animation: fade .18s ease; }
.lightbox figure { display: grid; justify-items: center; gap: 10px; margin: 0; }
.lightbox img { max-width: min(1200px, 100%); max-height: 84vh; border-radius: 12px; object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 700; }
.lightbox-close, .lightbox-nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 14px; }
.lightbox-nav.next { right: 14px; }
.lightbox-nav .lucide { width: 26px; height: 26px; }

/* ==========================================================================
   Responzivno
   ========================================================================== */
@media (max-width: 1100px) {
    .search-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .search-submit { grid-column: span 1; min-height: 60px; }
    .hotel-card { grid-template-columns: 240px minmax(0, 1fr) 210px; }
    .benefit-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .header-trust li:nth-child(3) { display: none; }
}

@media (max-width: 980px) {
    .results-layout { grid-template-columns: 1fr; }
    .filters-toggle { display: inline-flex; }
    .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 1800; max-height: 86vh; overflow: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: 0 -20px 50px rgba(11, 37, 69, .25); transform: translateY(105%); transition: transform .25s ease; }
    body.filters-open .filters { transform: none; }
    body.filters-open::after { content: ""; position: fixed; inset: 0; z-index: 1700; background: rgba(8, 22, 42, .45); }
    .filters-close, .filters-apply { display: grid; }
    .filters-apply { display: flex; }
    .hotel-layout { grid-template-columns: 1fr; }
    .hotel-aside { display: none; }
    .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 -10px 30px rgba(11, 37, 69, .12); backdrop-filter: blur(8px); }
    .mobile-bar-price { display: grid; min-width: 0; line-height: 1.2; }
    .mobile-bar-price del { font-size: 12px; }
    .mobile-bar-price strong { font-size: 21px; font-weight: 850; letter-spacing: -.02em; }
    .mobile-bar-price small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
    .mobile-bar .btn { flex: 0 0 auto; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 24px, 1200px); }
    .header-trust { display: none; }
    .hero { padding: 0 0 20px; }
    .hero-bg { bottom: auto; height: 260px; background-position: 15% 40%; }
    .hero-bg::after { background: linear-gradient(180deg, rgba(244, 247, 251, 0) 40%, var(--bg) 100%); }
    .hero-inner { display: block; min-height: 0; padding-top: 200px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: 40px; }
    .hero-lead { font-size: 16px; }
    .hero-compact .hero-bg { height: 100%; }
    .hero-compact .hero-inner { padding-top: 16px; }
    .search-card { margin-top: 18px; padding: 10px; border-radius: 20px; }
    .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-field:first-child, .search-field:nth-child(2), .search-field:nth-child(5) { grid-column: span 2; }
    .search-submit { grid-column: span 2; min-height: 56px; }
    .charter-calendar { position: fixed; top: auto; bottom: 0; left: 0; width: 100%; max-height: 88vh; overflow: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: none; }
    body.embedded-view .charter-calendar { position: absolute; top: calc(100% + 8px); bottom: auto; border-radius: var(--radius-lg); }
    .calendar-months { grid-template-columns: 1fr; }
    .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefit-strip li:last-child { grid-column: span 2; }
    .steps-grid { grid-template-columns: 1fr; }
    .results-head { align-items: stretch; flex-direction: column; }
    .results-tools { justify-content: space-between; }
    .sort-field span { display: none; }
    .hotel-card { grid-template-columns: 1fr; }
    .hotel-card-media { min-height: 200px; aspect-ratio: 16 / 9; }
    .hotel-card-body { padding: 16px 16px 4px; }
    .modal { align-items: flex-end; padding: 0; }
    .modal-panel { width: 100%; max-height: 92vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .booking-summary { gap: 10px 12px; padding: 14px; }
    .booking-summary strong { font-size: 14px; }
    .form-grid.two, .passenger-card, .contact-card, .trip-facts, .split-grid, .flight-grid, .info-grid { grid-template-columns: 1fr; }
    .step-actions { flex-direction: column-reverse; }
    .step-actions .btn { width: 100%; }
    .card { padding: 18px; }
    .hotel-page { padding-top: 16px; }
    .head-price { display: none; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 230px 110px; margin-inline: -12px; border-radius: 0; }
    .gallery-tile:first-child { grid-column: 1 / 3; grid-row: auto; }
    .gallery-tile:nth-child(n+4) { display: none; }
    .gallery-tile:nth-child(3) .gallery-more, .gallery-count-2 .gallery-tile:nth-child(2) .gallery-more { display: inline-flex; }
    .gallery-count-1 { grid-template-rows: 260px; }
    .gallery-count-2 .gallery-tile:nth-child(2) { grid-column: 1 / 3; grid-row: auto; }
    .room-option { align-items: flex-start; }
    .lightbox { padding: 60px 8px; }
    .lightbox-nav { top: auto; bottom: 18px; }
    .lightbox-nav.prev { left: calc(50% - 60px); }
    .lightbox-nav.next { right: calc(50% - 60px); }
    .offer-timer > span { font-size: 13px; }
    .back-link span { display: none; }
    .back-link::after { content: "Rezultati"; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Ugrađeni prikaz (iframe na letsgo.ba)
   ========================================================================== */
body.embedded-view .topbar { position: absolute; top: var(--embed-view-top); left: 0; right: 0; }
body.embedded-view .hotel-page { padding-top: 78px; }
body.embedded-view .mobile-bar { position: absolute; top: calc(var(--embed-view-top) + var(--embed-view-height)); bottom: auto; transform: translateY(-100%); }
body.embedded-view .modal,
body.embedded-view .lightbox,
body.embedded-view .page-loading { position: absolute; top: var(--embed-view-top); right: 0; bottom: auto; left: 0; height: var(--embed-view-height); max-height: var(--embed-view-height); }
body.embedded-view .modal-panel { max-height: calc(var(--embed-view-height) - 40px); }
body.embedded-view .filters { top: 16px; }
@media (max-width: 980px) {
    body.embedded-view .filters { position: absolute; top: calc(var(--embed-view-top) + var(--embed-view-height)); bottom: auto; transform: translateY(5%); visibility: hidden; }
    body.embedded-view.filters-open .filters { transform: translateY(-100%); visibility: visible; }
}
body.embedded-view .hero { padding-top: 34px; }

/* ---------- Dopune: filter zvjezdica, cijena po osobi, brza rezervacija ---------- */
.star-filter { display: grid; gap: 6px; }
.star-choice { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .15s, background-color .15s; }
.star-choice:hover { border-color: var(--line-strong); }
.star-choice input { position: absolute; opacity: 0; pointer-events: none; }
.star-choice-dot { width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid var(--line-strong); border-radius: 50%; transition: .15s; }
.star-choice:has(input:checked) { border-color: var(--gold); background: #fff8eb; color: var(--ink); }
.star-choice input:checked + .star-choice-dot { border: 6px solid var(--gold); }
.star-choice input:focus-visible + .star-choice-dot { outline: 3px solid rgba(21, 101, 216, .45); outline-offset: 2px; }
.star-choice .stars .star-icon { width: 17px; height: 17px; }

.pp-bubble { position: relative; align-self: flex-end; display: inline-flex; align-items: baseline; gap: 5px; margin: 4px 0 14px; padding: 7px 12px; border-radius: 12px; background: var(--green-soft); color: #0a6b3f; font-size: 13px; font-weight: 650; white-space: nowrap; }
.pp-bubble::before { content: ""; position: absolute; top: -6px; right: 22px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--green-soft); }
.pp-bubble strong { color: var(--green); font-size: 16px; font-weight: 850; }
.hotel-card-price small { margin-bottom: 0; }
.summary-price .pp-bubble { align-self: auto; justify-self: start; margin: 10px 0 0; }
.summary-price .pp-bubble::before { left: 22px; right: auto; }
.head-price b { color: var(--green); }

.btn-quick { min-height: 42px; margin-top: 8px; color: var(--cta-dark); background: var(--cta-soft); border-color: #ffd5bd; font-size: 14px; box-shadow: none; }
.btn-quick:hover { color: #fff; background: var(--cta-dark); border-color: var(--cta-dark); }
.btn-quick .lucide { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.5; }
#airport-trigger:disabled { cursor: default; opacity: 1; }
.search-field:has(#airport-trigger:disabled):hover { border-color: var(--line); }

@media (max-width: 760px) {
    .topbar-inner { grid-template-columns: auto 1fr auto; min-height: 56px; }
    .topbar-logo { justify-self: center; }
    .topbar-logo img { height: 30px; max-width: 120px; }
    .offer-timer { padding: 5px 6px 5px 10px; }
    .offer-timer > .lucide { display: none; }
    .offer-timer { white-space: nowrap; }
    .timer-label { display: none; }
}
body.embedded-view .hotel-page { padding-top: 90px; }

/* Desktop: red cijene se ponaša kao da ne postoji (isti raspored kao prije). */
.price-row, .price-total { display: contents; }
.price-total small { display: block; }

/* ---------- Mobilna kartica hotela: cijena i dugmad preko cijele širine ---------- */
@media (max-width: 760px) {
    .hotel-card-price { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border-left: 0; border-top: 1px dashed var(--line-strong); background: #fafcff; text-align: left; }
    .price-caption { margin: 0 0 6px; }
    .hotel-card-price .price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
    .hotel-price { font-size: 26px; white-space: nowrap; }
    .hotel-card-price small { margin: 2px 0 0; }
    .hotel-card-price .pp-bubble { align-self: auto; margin: 0; }
    .hotel-card-price .pp-bubble::before { display: none; }
    .hotel-card-price .detail-button { width: 100%; min-height: 52px; margin-top: 14px; font-size: 17px; }
    .hotel-card-price .btn-quick { width: 100%; min-height: 46px; margin-top: 8px; }
    .price-total { display: grid; }
}

/* ---------- Mapa hotela ---------- */
#hotel-map .section-head { align-items: center; margin-bottom: 14px; }
#hotel-map .card-title { margin: 0; }
.map-frame { overflow: hidden; height: 340px; border: 1px solid var(--line); border-radius: 14px; background: var(--brand-soft); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
#hotel-map .fine-print { display: flex; align-items: center; gap: 6px; }
#hotel-map .fine-print .lucide { width: 14px; height: 14px; color: var(--cta); }
.hotel-location a { font-weight: 700; }
@media (max-width: 760px) { .map-frame { height: 260px; } #hotel-map .section-head .btn { width: 100%; } }

/* ---------- Način plaćanja ---------- */
.payment-options { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.payment-options legend { margin-bottom: 8px; padding: 0; font-size: 16px; font-weight: 800; }
.payment-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.payment-option:hover { border-color: var(--line-strong); }
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-radio { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid var(--line-strong); border-radius: 50%; transition: .15s; }
.payment-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px rgba(21, 101, 216, .12); }
.payment-option input:checked + .payment-radio { border: 7px solid var(--brand); }
.payment-option input:focus-visible + .payment-radio { outline: 3px solid rgba(21, 101, 216, .45); outline-offset: 2px; }
.payment-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: var(--brand); background: var(--brand-soft); }
.payment-option:has(input:checked) .payment-icon { color: #fff; background: var(--brand); }
.payment-option strong { display: block; font-size: 15px; }
.payment-option small { display: block; color: var(--muted); font-size: 13px; }

/* ---------- Kompaktan prozor rezervacije (bez skrolanja u uobičajenim slučajevima) ---------- */
.modal-panel:has(.booking-steps-form) { width: min(860px, 100%); padding: 22px 24px; }
.modal-panel:has(.booking-steps-form) > h2 { font-size: 21px; margin-bottom: 12px; }
.modal-panel:has(.booking-steps-form) > .muted { display: none; }
.modal-panel:has(.booking-steps-form) .booking-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-bottom: 12px; padding: 12px 16px; }
.modal-panel:has(.booking-steps-form) .booking-summary > span { align-items: center; gap: 6px; }
.modal-panel:has(.booking-steps-form) .booking-summary > span > .lucide { width: 15px; height: 15px; margin: 0; }
.modal-panel:has(.booking-steps-form) .booking-summary small { display: none; }
.modal-panel:has(.booking-steps-form) .booking-summary strong { font-size: 13px; font-weight: 700; }
.modal-panel:has(.booking-steps-form) .booking-summary > span:first-child strong { font-size: 15px; font-weight: 850; }
.modal-panel:has(.booking-steps-form) .booking-summary-total { flex: 1 0 100%; justify-content: space-between; margin-top: 4px; padding-top: 8px; }
.modal-panel:has(.booking-steps-form) .booking-summary-total small { display: block; }
.modal-panel:has(.booking-steps-form) .booking-summary-total > span { display: flex; align-items: baseline; gap: 10px; }
.modal-panel:has(.booking-steps-form) .booking-summary-total strong { font-size: 20px; font-weight: 850; }
.booking-steps-form .booking-progress { margin-bottom: 12px; }
.booking-steps-form .booking-progress li { padding: 7px 10px; font-size: 13px; }
.booking-steps-form .passenger-fields { gap: 8px; }
.booking-steps-form .passenger-card { gap: 10px; padding: 10px 14px 12px; }
.booking-steps-form .passenger-card legend { font-size: 14px; }
.booking-steps-form .field { gap: 4px; font-size: 13px; }
.booking-steps-form .field input { min-height: 42px; padding: 8px 12px; font-size: 15px; }
.booking-steps-form .contact-card { margin-top: 8px; }
.booking-steps-form .step-actions { margin-top: 14px; }
.booking-steps-form .payment-options { gap: 6px; margin-bottom: 12px; }
.booking-steps-form .payment-option { padding: 10px 14px; }
.booking-steps-form .payment-icon { width: 34px; height: 34px; flex-basis: 34px; border-radius: 10px; }
.booking-steps-form .promo-field { margin-top: 0; }

@media (max-width: 760px) {
    .modal-panel:has(.booking-steps-form) { max-height: 96vh; max-height: 96dvh; padding: 16px 14px calc(14px + env(safe-area-inset-bottom)); }
    .modal-panel:has(.booking-steps-form) > h2 { font-size: 19px; margin-bottom: 10px; }
    .modal-panel:has(.booking-steps-form) .modal-close { top: 10px; right: 10px; width: 34px; height: 34px; }
    .modal-panel:has(.booking-steps-form) .booking-summary { gap: 4px 12px; padding: 10px 12px; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span:nth-child(2) { display: none; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span:first-child { flex: 1 0 100%; }
    .booking-steps-form .passenger-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 10px 10px; }
    .booking-steps-form .passenger-card:not(.contact-card) .field:nth-of-type(3) { grid-column: 1 / -1; }
    .booking-steps-form .contact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .booking-steps-form .field input { min-height: 40px; font-size: 16px; }
    .booking-steps-form .step-actions { flex-direction: row; }
    .booking-steps-form .step-actions .btn-ghost { flex: 0 0 auto; width: auto; }
    .booking-steps-form .step-actions .btn-cta { flex: 1; }
    .booking-steps-form .payment-option small { font-size: 12px; }
}

/* ---------- Putnici u jednom redu ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.passenger-note { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.booking-steps-form .passenger-card { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.booking-steps-form .contact-card { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 2.1fr); margin-top: 0; background: var(--bg); border-color: transparent; }
.passenger-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; font-weight: 800; line-height: 1.2; }
.passenger-title em { color: var(--cta-dark); font-size: 12px; font-style: normal; }
.passenger-title small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.booking-steps-form .field-date { display: flex; align-items: center; gap: 8px; }
.booking-steps-form .field-date > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.1; max-width: 62px; }
.booking-steps-form .field-date input { flex: 1; min-width: 0; }
.booking-steps-form .passenger-card:has(input[type="hidden"][name$="[birth_date]"]) .field:last-of-type { grid-column: span 2; }

@media (max-width: 760px) {
    .booking-steps-form .passenger-card, .booking-steps-form .contact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 8px; padding: 8px; }
    .booking-steps-form .passenger-title { grid-column: 1 / -1; font-size: 13px; }
    .booking-steps-form .passenger-title small { display: inline; margin-left: 6px; }
    .booking-steps-form .passenger-card .field-date { grid-column: 1 / -1; }
    .booking-steps-form .passenger-card:has(input[type="hidden"][name$="[birth_date]"]) .field:last-of-type { grid-column: auto; }
    .booking-steps-form .contact-card .field-wide { grid-column: auto; }
    .passenger-note { font-size: 12px; margin-bottom: 6px; }
}

/* Mobilno: prozor rezervacije bez skrolanja – sažetak u dva reda, bez suvišnih naslova */
@media (max-width: 760px) {
    .modal-panel:has(.booking-steps-form) > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
    .modal-panel:has(.booking-steps-form) .booking-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; margin: 0 40px 10px 0; padding: 8px 12px; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span { display: none; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span:nth-child(1),
    .modal-panel:has(.booking-steps-form) .booking-summary > span:nth-child(3) { display: flex; grid-column: 1; min-width: 0; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span:nth-child(1) strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span:nth-child(3) strong { font-size: 12px; font-weight: 600; }
    .modal-panel:has(.booking-steps-form) .booking-summary > span.booking-summary-total { display: flex; grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; padding: 0; border: 0; }
    .modal-panel:has(.booking-steps-form) .booking-summary-total > .lucide, .modal-panel:has(.booking-steps-form) .booking-summary-total small { display: none; }
    .modal-panel:has(.booking-steps-form) .booking-summary-total strong { font-size: 17px; }
    .booking-steps-form .booking-progress { gap: 6px; margin-bottom: 8px; }
    .booking-steps-form .booking-progress li { padding: 5px 8px; font-size: 12px; }
    .booking-steps-form .booking-progress li span { width: 20px; height: 20px; font-size: 11px; }
    .passenger-note { display: none; }
    .booking-steps-form .passenger-fields { gap: 6px; }
    .booking-steps-form .passenger-card { padding: 6px 0 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
    .booking-steps-form .contact-card { padding: 8px; border-radius: 12px; }
    .booking-steps-form .field input { min-height: 40px; padding: 7px 10px; }
    .booking-steps-form .step-actions { margin-top: 10px; }
}

/* ---------- Potvrda mjesta i plaćanje na rate ---------- */
.deposit-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 600; text-align: center; }
.deposit-note .lucide { width: 16px; height: 16px; color: var(--green); }
.deposit-note strong { color: var(--green); font-weight: 850; }
.installments-box { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border: 1px solid #cfe0fb; border-radius: 14px; background: var(--brand-soft); }
.installments-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; color: #fff; background: var(--brand); }
.installments-box strong { display: block; font-size: 15px; }
.installments-box small { display: block; color: var(--ink-2); font-size: 13px; }

/* ---------- Pogodnosti u prozoru rezervacije ---------- */
.booking-perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.perk { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border-radius: 12px; font-size: 14px; font-weight: 650; text-align: center; }
.perk .lucide { width: 18px; height: 18px; }
.perk-deposit { color: #0a6b3f; background: var(--green-soft); border: 1px solid #bfe6d0; }
.perk-deposit strong { color: var(--green); font-weight: 850; }
.perk-installments { color: var(--brand-dark); background: var(--brand-soft); border: 1px solid #cfe0fb; }
@media (max-width: 760px) {
    .booking-perks { gap: 6px; margin-bottom: 8px; }
    .perk { min-height: 36px; padding: 6px 8px; gap: 5px; font-size: 12px; line-height: 1.2; }
    .perk .lucide { width: 15px; height: 15px; }
}
@media (min-width: 761px) {
    .booking-steps-form .payment-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .booking-steps-form .payment-options legend { grid-column: 1 / -1; }
    .booking-steps-form .payment-option { align-items: flex-start; }
}
@media (max-width: 760px) {
    .booking-perks { margin-bottom: 6px; }
    .perk { min-height: 32px; padding: 4px 8px; }
    .modal-panel:has(.booking-steps-form) .booking-summary { margin-bottom: 8px; }
    .booking-steps-form .passenger-card { padding: 4px 0 6px; }
}

/* ==========================================================================
   Sažetak rezervacije v2: detalji lijevo, cijena desno (kao na stranici hotela)
   ========================================================================== */
.modal-panel .booking-summary.bs { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 12px 24px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.bs-details { min-width: 0; }
.bs-hotel { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 16px; font-weight: 850; }
.bs-hotel .lucide { width: 18px; height: 18px; color: var(--brand); }
.bs-hotel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 16px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.bs-facts li { display: flex; align-items: center; gap: 7px; min-width: 0; }
.bs-facts li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-facts .lucide { width: 15px; height: 15px; color: var(--muted); }
.bs-price { display: grid; justify-items: end; align-content: start; gap: 2px; min-width: 200px; padding-left: 20px; border-left: 1px dashed var(--line-strong); text-align: right; }
.modal-panel .booking-summary.bs .bs-price small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.modal-panel .booking-summary.bs .bs-price > strong { display: block; color: var(--ink); font-size: 24px; font-weight: 850; letter-spacing: -.02em; line-height: 1.15; }
.bs-perks { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 650; }
.bs-perks li { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.bs-perks .lucide { width: 15px; height: 15px; }
.bs-perks .perk-deposit { color: var(--ink-2); }
.bs-perks .perk-deposit .lucide { color: var(--green); }
.bs-perks .perk-deposit strong { color: var(--green); font-weight: 850; }
.bs-perks .perk-installments { color: var(--brand-dark); }
.bs-perks .perk-installments .lucide { color: var(--brand); }

/* Putnici: jasne granice između osoba */
.booking-steps-form .passenger-card { border: 1px solid var(--line-strong); background: var(--surface); }
.booking-steps-form .contact-card { border: 1px solid var(--line-strong); background: var(--bg); }

@media (max-width: 760px) {
    .modal-panel .booking-summary.bs { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; margin: 0 40px 10px 0; padding: 10px 12px; }
    .modal-panel .booking-summary.bs .bs-hotel { margin-bottom: 2px; font-size: 14px; }
    .modal-panel .booking-summary.bs .bs-facts { grid-template-columns: 1fr; }
    .modal-panel .booking-summary.bs .bs-facts li:not(:nth-child(2)) { display: none; }
    .modal-panel .booking-summary.bs .bs-price { min-width: 0; padding-left: 0; border-left: 0; }
    .modal-panel .booking-summary.bs .bs-price small { display: none; }
    .modal-panel .booking-summary.bs .bs-price > strong { font-size: 18px; white-space: nowrap; }
    .modal-panel .booking-summary.bs .bs-perks { grid-column: 1 / -1; grid-template-columns: repeat(2, auto); justify-content: start; gap: 4px 14px; margin: 0; padding-top: 8px; border-top: 1px dashed var(--line-strong); font-size: 12px; }
    .modal-panel .booking-summary.bs .bs-perks li { justify-content: flex-start; }
    /* bs-perks je unutar bs-price; na mobitelu ga prikaži preko cijele širine */
    .modal-panel .booking-summary.bs .bs-price { display: contents; }
    .modal-panel .booking-summary.bs .bs-price > strong { grid-column: 2; grid-row: 1; align-self: center; }

    .booking-steps-form .passenger-fields { gap: 8px; }
    .booking-steps-form .passenger-card, .booking-steps-form .contact-card { padding: 0 8px 8px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
    .booking-steps-form .passenger-title { margin: 0 -8px 2px; padding: 6px 10px; border-bottom: 1px solid var(--line); background: var(--bg); }
    .booking-steps-form .contact-card .passenger-title { background: var(--brand-soft); }
    .booking-steps-form .passenger-no { width: 20px; height: 20px; font-size: 11px; }
}
/* Ispravke sažetka v2 (poništava stare stilove oznaka) */
.modal-panel .booking-summary.bs .bs-hotel { display: flex; }
.bs-perks li.perk-deposit, .bs-perks li.perk-installments { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: right; }
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-facts li span { white-space: normal; }
    .bs-perks li.perk-deposit, .bs-perks li.perk-installments { text-align: left; }
    .booking-steps-form .booking-progress { margin-bottom: 6px; }
    .booking-steps-form .passenger-fields { gap: 6px; }
    .booking-steps-form .passenger-title { padding: 4px 10px; }
    .booking-steps-form .passenger-card, .booking-steps-form .contact-card { gap: 6px; padding-bottom: 6px; }
    .booking-steps-form .field input { min-height: 38px; padding: 6px 10px; }
    .booking-steps-form .field-date > span { font-size: 11px; }
}
.modal-panel .booking-summary.bs .bs-perks strong { display: inline; font-size: inherit; }
.modal-panel .booking-summary.bs .bs-perks span { white-space: nowrap; }
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-perks { grid-template-columns: auto auto; justify-content: space-between; }
}
@media (max-width: 760px) {
    .modal-panel:has(.booking-steps-form) { max-height: 100vh; max-height: 100dvh; }
}
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-perks { display: flex; flex-wrap: wrap; justify-content: space-between; min-width: 0; }
}
@media (max-width: 760px) { .hide-mobile { display: none; } .modal-panel .booking-summary.bs .bs-perks { gap: 4px 10px; } }
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs { margin-right: 0; padding-top: 10px; }
    .modal-panel .booking-summary.bs .bs-details { display: contents; }
    .modal-panel .booking-summary.bs .bs-hotel { grid-column: 1 / -1; grid-row: 1; margin: 0; padding-right: 34px; }
    .modal-panel .booking-summary.bs .bs-facts { grid-column: 1; grid-row: 2; }
    .modal-panel .booking-summary.bs .bs-price > strong { grid-column: 2; grid-row: 2; }
    .modal-panel .booking-summary.bs .bs-perks { grid-row: 3; }
    .modal-panel:has(.booking-steps-form) .modal-close { top: 20px; right: 20px; width: 30px; height: 30px; font-size: 20px; background: #fff; }
}

/* ---------- Uključeno u aranžman ---------- */
.bs-included { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.bs-included-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bs-included ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bs-included li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.bs-included .lucide { width: 14px; height: 14px; color: var(--green); }
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-facts li:nth-child(4) { display: flex; }
    .modal-panel .booking-summary.bs .bs-included { grid-row: 4; gap: 4px; padding-top: 6px; }
    .bs-included-label { display: none; }
    .bs-included ul { gap: 4px; }
    .bs-included li { padding: 2px 7px; font-size: 11px; }
    .bs-included .lucide { width: 12px; height: 12px; }
}
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-facts { display: contents; }
    .modal-panel .booking-summary.bs .bs-facts li:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
    .modal-panel .booking-summary.bs .bs-facts li:nth-child(2) span { white-space: nowrap; }
    .modal-panel .booking-summary.bs .bs-facts li:nth-child(4) { grid-column: 1; grid-row: 3; font-size: 13px; }
    .modal-panel .booking-summary.bs .bs-price > strong { grid-column: 2; grid-row: 3; }
    .modal-panel .booking-summary.bs .bs-perks { grid-row: 4; }
    .modal-panel .booking-summary.bs .bs-included { grid-row: 5; border-top: 0; padding-top: 0; }
    .modal-panel .booking-summary.bs { gap: 4px 10px; }
}
@media (max-width: 760px) {
    .booking-steps-form .booking-progress { display: none; }
    .modal-panel .booking-summary.bs .bs-included ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .modal-panel .booking-summary.bs .bs-included ul::-webkit-scrollbar { display: none; }
    .modal-panel .booking-summary.bs .bs-included li { flex: 0 0 auto; }
    .modal-panel .booking-summary.bs .bs-included { flex-wrap: nowrap; min-width: 0; overflow: hidden; }
    .booking-steps-form .contact-card .passenger-title { display: none; }
    .booking-steps-form .contact-card { padding-top: 8px; }
    .booking-steps-form .passenger-fields { gap: 5px; }
    .booking-steps-form .passenger-title { padding: 3px 10px; }
}
@media (max-width: 760px) {
    .modal-panel .booking-summary.bs .bs-included ul { flex-wrap: wrap; overflow: visible; gap: 2px 10px; }
    .modal-panel .booking-summary.bs .bs-included li { padding: 0; border: 0; background: none; font-size: 11px; line-height: 1.35; }
}
