/* YourDomi booking · matched to yourdomi.be (Mist & Petrol) */
:root {
  --bg: #f2f3f1;
  --surface: #e6e9e7;
  --card: #f7f8f6;
  --ink: #131719;
  --ink-2: #545c60;
  --muted: #6f777a;
  --line: #d3d8d8;
  --accent: #1e4148;
  --accent-hover: #163238;
  --on-accent: #f2f3f1;
  --soft: #dfe6e5;
  --err: #b42318;
  --err-bg: #fbeae8;
  --warn-bg: #fff3c4;
  --warn-ink: #5c4700;
  --head: 'Urbanist', system-ui, sans-serif;
  --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1315; --surface: #171c1f; --card: #13181a; --ink: #e9eceb; --ink-2: #a3abae; --muted: #8b9497;
    --line: #2a3134; --accent: #9cc3c8; --accent-hover: #b6d4d8; --on-accent: #0f1315; --soft: #1c2629;
    --err: #f97066; --err-bg: #2a1716; --warn-bg: #3a3112; --warn-ink: #f3dc8a;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); -webkit-font-smoothing: antialiased; }
body { background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .display { font-family: var(--head); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: 28px; }
h3 { font-size: 21px; }
.italic, h1 i, h1 em { font-style: italic; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--surface); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-size: 12px; font-weight: 600; margin: 0 0 18px; }
[hidden] { display: none !important; }

/* logo */
.logo { display: block; height: 56px; width: auto; color: var(--ink); }
.logo-sm { height: 46px; }

/* header */
.demo-banner { background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; text-align: center; padding: 8px 16px; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 88px; }
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font-size: 14px; }
.lang button { border: 0; background: none; padding: 4px 6px; text-transform: uppercase; color: var(--ink-2); cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button.on { color: var(--ink); font-weight: 600; }
.header-link { font-size: 15px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.header-link:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 0; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 15px; line-height: 1; padding: 15px 24px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .15s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.linkbtn { border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font-weight: 500; cursor: pointer; padding: 0 0 2px; }
.linkbtn:hover { color: var(--accent); }

.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 32px; height: 32px; border-radius: 0; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 17px; line-height: 1; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper span { min-width: 18px; text-align: center; font-weight: 600; }

/* hero + search */
.search { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr auto; background: var(--card); border: 1px solid var(--line); }
.search .field { padding: 14px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; min-width: 0; position: relative; cursor: pointer; }
.search .field:hover { background: var(--surface); }
.search .field:nth-last-child(2) { border-right: 0; }
.search label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); cursor: pointer; }
.search select, .search .val { border: 0; background: transparent; padding: 3px 0 0; font-size: 16px; font-weight: 500; outline: none; width: 100%; cursor: pointer; appearance: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search select option { background: var(--bg); color: var(--ink); }
.search .val.placeholder { color: var(--muted); font-weight: 400; }
.search .btn { margin: 8px; }

/* popover datepicker */
.popover { position: absolute; z-index: 45; top: calc(100% + 1px); left: -1px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 20px 60px -24px rgba(19,23,25,.45); padding: 22px; cursor: default; }
.dp { display: grid; grid-template-columns: repeat(2, 294px); gap: 32px; }
.dp-month h4 { font-family: var(--head); font-weight: 500; text-align: center; margin: 0 0 12px; font-size: 18px; letter-spacing: -.01em; text-transform: capitalize; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 42px); }
.dp-dow { font-size: 11px; color: var(--ink-2); text-align: center; padding-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.dp-day { height: 42px; border: 0; background: none; border-radius: 0; font-size: 14px; cursor: pointer; }
.dp-day:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.dp-day:disabled { color: var(--line); text-decoration: line-through; cursor: default; }
.dp-day.past:disabled { text-decoration: none; }
.dp-day.in-range { background: var(--soft); }
.dp-day.start, .dp-day.end { background: var(--accent); color: var(--on-accent); }
.dp-day.checkout-only { color: var(--ink-2); text-decoration: none; }
.dp-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: -32px; position: relative; z-index: 1; }
.dp-nav button { border: 1px solid var(--line); background: var(--bg); width: 32px; height: 32px; border-radius: 0; cursor: pointer; }
.dp-nav button:hover { border-color: var(--ink); }
.dp-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; color: var(--ink-2); gap: 12px; }
.dp-inline, .popover.dp-inline { position: static; box-shadow: none; border: 0; padding: 0; background: transparent; max-height: none; overflow: visible; }
.dp-inline .dp { grid-template-columns: 1fr; }
.dp-inline .dp-grid { grid-template-columns: repeat(7, 1fr); }

/* grid */
.results-head { display: flex; justify-content: space-between; align-items: baseline; margin: 48px 0 22px; padding-top: 32px; border-top: 1px solid var(--line); }
.results-head h2 { font-size: 32px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 44px 28px; padding-bottom: 96px; }
.card { text-decoration: none; color: inherit; display: block; }
.card .img { aspect-ratio: 4/3; overflow: hidden; background: var(--surface); position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .img img { transform: scale(1.03); }
.card:hover h3 { color: var(--accent); }
.card .meta { color: var(--ink-2); font-size: 15px; }
.card .price { margin-top: 6px; font-size: 15px; }
.card .price b { font-weight: 600; }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-family: var(--head); font-weight: 300; font-size: 40px; letter-spacing: -.03em; }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--bg) 50%, var(--surface) 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { padding: 48px; text-align: center; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); }

/* detail */
.back { display: inline-flex; gap: 8px; margin: 28px 0 18px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: 1fr 400px; gap: 72px; padding: 40px 0 96px; align-items: start; }
.detail h1 { font-size: clamp(34px, 4.4vw, 52px); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink-2); padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.prose { white-space: pre-line; color: var(--ink-2); }
.prose.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; list-style: none; padding: 0; margin: 0 0 16px; }
.amen li::before { content: '✓'; color: var(--accent); font-weight: 700; margin-right: 12px; }
.times { display: flex; gap: 32px; margin-top: 16px; font-size: 15px; }
.map { width: 100%; height: 320px; border: 0; background: var(--surface); filter: grayscale(.35); }

/* booking box */
.book { position: sticky; top: 112px; background: var(--card); border: 1px solid var(--line); padding: 28px; }
.book .from { font-size: 15px; margin-bottom: 18px; color: var(--ink-2); }
.book .from b { font-family: var(--head); font-size: 34px; font-weight: 400; letter-spacing: -.03em; color: var(--ink); }
.datebox { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--bg); }
.datebox > div, .guestbox { padding: 11px 14px; cursor: pointer; }
.datebox > div:hover { background: var(--surface); }
.datebox > div + div { border-left: 1px solid var(--line); }
.datebox label, .guestbox label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); cursor: inherit; }
.guestbox { border: 1px solid var(--line); border-top: 0; display: flex; justify-content: space-between; align-items: center; cursor: default; background: var(--bg); }
.cal-wrap { margin: 18px 0 4px; }
.quote { margin-top: 18px; }
.plans { display: grid; gap: 8px; margin-bottom: 16px; }
.plan { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); padding: 12px 14px; cursor: pointer; background: var(--bg); }
.plan.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan input { margin-top: 5px; accent-color: var(--accent); }
.plan .pn { font-weight: 600; } .plan .pp { margin-left: auto; font-weight: 600; white-space: nowrap; }
.lines { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: var(--ink-2); }
.lines li.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; color: var(--ink); font-weight: 600; font-size: 17px; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { flex: 1; }
.coupon .btn { padding: 12px 16px; }
.note { font-size: 13px; color: var(--ink-2); text-align: center; margin-top: 12px; }
.alert { background: var(--err-bg); color: var(--err); padding: 11px 14px; font-size: 14px; margin: 12px 0; border-left: 2px solid var(--err); }
.alert.info { background: var(--soft); color: var(--accent); border-left-color: var(--accent); }

/* forms + checkout */
.input, select.input { width: 100%; border: 1px solid var(--line); border-radius: 0; padding: 13px 14px; background: var(--bg); outline: none; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.fl label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 7px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 12px 0; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.check a { text-decoration: underline; }
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 56px; padding: 6px 0 96px; align-items: start; }
.checkout h2 { font-size: 30px; }
.panel { background: var(--card); border: 1px solid var(--line); padding: 32px; }
.panel + .panel { margin-top: 20px; }
.sum-head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.sum-head .thumb { width: 104px; height: 80px; overflow: hidden; flex: none; }
.sum-head .thumb img, .sum-head .thumb .ph { width: 100%; height: 100%; object-fit: cover; font-size: 20px; }
#pay-container:not(:has(.demo-card)) { min-height: 120px; }
.demo-card { border: 1px dashed var(--line); padding: 20px; color: var(--ink-2); font-size: 14px; text-align: center; }
.secure { font-size: 13px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; margin-top: 12px; }
.done { max-width: 640px; margin: 80px auto 110px; text-align: center; }
.done .tick { width: 64px; height: 64px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 28px; margin: 0 auto 26px; }
.done h1 { font-size: clamp(34px, 4.4vw, 52px); }
.done .code { display: inline-block; margin: 22px 0 30px; background: var(--card); border: 1px solid var(--line); padding: 14px 24px; font-family: var(--head); font-size: 24px; font-weight: 500; letter-spacing: .04em; }
.spinner { width: 16px; height: 16px; border: 2px solid color-mix(in oklab, var(--on-accent) 40%, transparent); border-top-color: var(--on-accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,12,13,.95); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(242,243,241,.1); border: 1px solid rgba(242,243,241,.25); color: #f2f3f1; width: 48px; height: 48px; font-size: 26px; cursor: pointer; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-count { position: absolute; bottom: 18px; color: #f2f3f1; font-size: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding: 64px 40px; }
.footer-top p { max-width: 36ch; margin: 22px 0 0; }
.footer-top h4 { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 16px; letter-spacing: 0; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-top a { text-decoration: none; }
.footer-top a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 12px; }
.footer-bottom a { text-decoration: none; }

/* legal page */
.prose-legal { max-width: 46rem; padding: 56px 0 96px; }
.prose-legal h1 { font-size: clamp(40px, 5vw, 58px); margin-bottom: 18px; }
.prose-legal h2 { font-size: 26px; margin: 44px 0 10px; }
.prose-legal p, .prose-legal li { color: var(--ink-2); }
.prose-legal ul { padding-left: 20px; margin: 10px 0; }
.prose-legal li { margin: 5px 0; }
.prose-legal a { text-decoration: underline; }
.prose-legal .meta { color: var(--ink-2); font-size: 14px; margin-bottom: 28px; }
.prose-legal .box { background: var(--card); border: 1px solid var(--line); padding: 18px 20px; font-size: 15px; color: var(--ink-2); }
.prose-legal .box b { color: var(--ink); }
.prose-legal article { display: none; }
.prose-legal article.on { display: block; }

/* hero (split, like yourdomi.be) */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; border-bottom: 1px solid var(--line); }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 120px max(40px, calc((100vw - 1280px) / 2 + 40px)); }
.hero-text h1 { max-width: 13ch; }
.hero-text p.lead { color: var(--ink-2); font-size: 20px; max-width: 40ch; margin: 22px 0 0; }
.hero-photo { position: relative; background: var(--surface); overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadein .8s var(--ease); }
.hero-caption { position: absolute; right: 16px; bottom: 76px; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(6px); padding: 8px 12px; font-size: 13px; text-decoration: none; color: var(--ink); max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.search-wrap { position: relative; z-index: 5; margin-top: -44px; }
.search { box-shadow: 0 20px 60px -24px rgba(19,23,25,.35); }

/* toolbar: filters + sort + map */
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin: 36px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 9px 14px; font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip.static { cursor: default; padding: 6px 11px; font-size: 13px; }
.chip.static:hover { border-color: var(--line); }
.tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.tool { display: flex; flex-direction: column; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tool select { border: 1px solid var(--line); background: var(--bg); padding: 9px 30px 9px 12px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); border-radius: 0; }
.price-inputs { display: flex; align-items: center; gap: 6px; }
.price-inputs .input { width: 86px; padding: 9px 10px; font-size: 14px; letter-spacing: 0; font-weight: 400; text-transform: none; }
.map-toggle { padding: 11px 16px; }
.results-head { margin-top: 28px; }
.results-head .linkbtn { font-size: 14px; }
.feat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; }

/* results + map */
.results { display: block; }
.map-pane { display: none; }
.results.with-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.results.with-map .grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.results.with-map .map-pane { display: block; position: sticky; top: 108px; height: calc(100vh - 132px); min-height: 420px; border: 1px solid var(--line); margin-bottom: 96px; }
#map { width: 100%; height: 100%; background: var(--surface); }
.map-fab { display: none; }
.pin span { display: inline-block; transform: translate(-50%, -50%); background: var(--bg); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 6px 16px -6px rgba(19,23,25,.4); padding: 5px 9px; font: 600 13px/1 var(--body); white-space: nowrap; transition: background .15s, color .15s, transform .15s; }
.pin:hover span, .pin.hot span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
.leaflet-popup-content-wrapper { border-radius: 0 !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 260px !important; }
.pop { display: grid; gap: 3px; text-decoration: none; color: #131719 !important; font: 14px/1.4 var(--body); padding-bottom: 12px; }
.pop img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 8px; }
.pop b, .pop span { padding: 0 12px; }
.pop span { color: #545c60; font-size: 13px; }
.leaflet-container a.pop { color: #131719; }

/* card photo carousel */
.card .img .slides { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card .img .slides::-webkit-scrollbar { display: none; }
.card .img .slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; transition: transform .5s var(--ease); }
.card:hover .img .slides img { transform: none; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: color-mix(in oklab, var(--bg) 90%, transparent); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; }
.sl-btn.prev { left: 10px; } .sl-btn.next { right: 10px; }
.card:hover .sl-btn { opacity: 1; }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.dots i.on { background: #fff; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--bg); color: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; pointer-events: none; }
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 4px; }
.card-top h3 { font-size: 22px; margin: 0; transition: color .2s; }
.card:hover h3 { color: var(--accent); }
.rev { font-size: 14px; white-space: nowrap; }

/* property gallery */
.gallery { display: grid; gap: 8px; position: relative; height: 488px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery > div { background: var(--surface); overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery > div:hover img { transform: scale(1.025); }
.gallery > div:first-child { grid-row: 1 / 3; }
.gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery.g2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery.g2 > div:first-child { grid-row: auto; }
.gallery.g3 { grid-template-columns: 2fr 1fr; }
.gallery.g4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.g4 > div:last-child { grid-column: 2 / 4; }
.gallery .more { position: absolute; right: 16px; bottom: 16px; background: var(--bg); color: var(--ink); border: 1px solid var(--ink); padding: 10px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.gallery .more:hover { background: var(--ink); color: var(--bg); }
.allphotos { position: fixed; inset: 0; z-index: 90; background: var(--bg); overflow-y: auto; }
.ap-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; background: var(--bg); border-bottom: 1px solid var(--line); z-index: 1; }
.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 24px; padding-bottom: 64px; max-width: 1000px; }
.ap-grid button { border: 0; padding: 0; background: var(--surface); cursor: zoom-in; aspect-ratio: 4/3; overflow: hidden; }
.ap-grid button.wide { grid-column: 1 / -1; aspect-ratio: 16/9; }
.ap-grid img { width: 100%; height: 100%; object-fit: cover; }

/* responsive */
@media (max-width: 1080px) {
  .results.with-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .results.with-map .grid { grid-template-columns: 1fr; }
  .detail, .checkout { grid-template-columns: 1fr; gap: 28px; }
  .book { position: static; }
  .checkout aside { order: -1; }
}
@media (max-width: 820px) {
  .wrap { padding: 0 20px; }
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 40px 20px 28px; }
  .hero-text p.lead { font-size: 18px; }
  .hero-photo { height: 300px; order: 2; }
  .hero-caption { bottom: 60px; }
  .search-wrap { margin-top: -40px; }
  .toolbar { margin-top: 24px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .chip { white-space: nowrap; }
  .tools { width: 100%; }
  .map-toggle { display: none; }
  .results.with-map { display: block; }
  .results.with-map .grid { display: none; }
  .results.with-map .map-pane { position: static; height: 70vh; margin-bottom: 80px; }
  .map-fab { display: inline-flex; position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 30; box-shadow: 0 12px 30px -10px rgba(19,23,25,.5); padding: 13px 22px; transition: opacity .25s, transform .25s; }
  .map-fab.away { opacity: 0; pointer-events: none; transform: translate(-50%, 12px); }
  .sl-btn { display: none; }
  .gallery, .gallery.g2, .gallery.g3, .gallery.g4, .gallery.g5 { grid-template-columns: 1fr; grid-template-rows: 1fr; height: 300px; }
  .gallery > div:not(:first-child) { display: none; }
  .gallery > div:first-child { grid-row: auto; }
  .ap-grid { grid-template-columns: 1fr; }
  .header-inner { height: 76px; }
  .logo { height: 44px; }
  .header-link { display: none; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .field { border-right: 0; border-bottom: 1px solid var(--line); }
  .search .field:first-child { grid-column: 1 / -1; }
  .search .field:nth-child(2) { border-right: 1px solid var(--line); }
  .search .field:nth-child(4) { grid-column: 1 / -1; border-bottom: 0; }
  .search .btn { grid-column: 1 / -1; }
  .dp { grid-template-columns: 1fr; }
  .popover { position: fixed; left: 12px; right: 12px; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
  .dp-grid { grid-template-columns: repeat(7, 1fr); }
  .amen, .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; padding: 48px 20px; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, :before, :after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
