:root {
  --navy: #0b2540;
  --navy-2: #133a5e;
  --sea: #1f7a8c;
  --foam: #eef5f7;
  --coral: #ff6a3d;
  --coral-dark: #e8552a;
  --ink: #122033;
  --muted: #5d6b7a;
  --line: #dde5ec;
  --bg: #f7f9fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 37, 64, .06), 0 6px 20px rgba(11, 37, 64, .08);
  --nav-h: 68px;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background .25s, border-color .25s, color .25s;
}
.nav-inner { height: 100%; width: min(1240px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; text-decoration: none; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; fill: var(--coral); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--foam); border-color: var(--sea); }

/* Liquid glass: frosted, see-through, with a bright edge highlight */
.glass-btn {
  position: relative; height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--navy); white-space: nowrap;
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 55%),
    linear-gradient(135deg, rgba(190, 228, 236, .55), rgba(255, 255, 255, .35) 45%, rgba(31, 122, 140, .18));
  border: 1px solid rgba(255, 255, 255, .85);
  backdrop-filter: blur(16px) saturate(1.8); -webkit-backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), inset 0 -2px 6px rgba(31, 122, 140, .18), 0 8px 22px rgba(11, 37, 64, .16), 0 0 0 1px rgba(31, 122, 140, .16);
  transition: transform .15s, box-shadow .2s;
}
.glass-btn::before { content: ''; position: absolute; inset: 1px 1px 50% 1px; border-radius: 999px 999px 12px 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); pointer-events: none; }
.glass-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(11, 37, 64, .18), 0 0 0 1px rgba(11, 37, 64, .08); }

/* Nav buttons: white with black borders */
.nav-actions .icon-btn, .nav-actions .glass-btn { background: #fff; border: 1.5px solid #000; color: #000; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-actions .glass-btn::before { display: none; }
.nav-actions .icon-btn:hover, .nav-actions .icon-btn[aria-expanded="true"], .nav-actions .glass-btn:hover { background: #f2f2f2; border-color: #000; box-shadow: none; }

/* Search bar that drops down under the nav */
.nav-searchbar { position: absolute; left: 0; right: 0; top: 100%; padding: 12px 0; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(11, 37, 64, .1); }
.nav-searchbar[hidden] { display: none; }
.nav-searchbar-inner { width: min(760px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; height: 52px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.nav-searchbar-inner:focus-within { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31, 122, 140, .18); }
.nav-searchbar-inner > svg { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.nav-searchbar input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.nav-searchbar .icon-btn { width: 38px; height: 38px; border: 0; }

/* Transparent nav over the photo behind the location prompt */
.has-photo-hero .nav:not(.is-scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.has-photo-hero .nav:not(.is-scrolled) .brand { color: #fff; }

.has-photo-hero .nav { position: fixed; inset: 0 0 auto 0; }

/* ---------- Shared hero bits ---------- */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sea); }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.02em; color: var(--navy); }
.hero h1 em { font-style: italic; color: var(--sea); }
.lede { margin: 18px 0 28px; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero-search { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: 560px; }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font: inherit; font-size: 16px; outline: none; background: transparent; }
.hero-search button { border: 0; border-radius: 10px; padding: 14px 24px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--coral); cursor: pointer; transition: background .2s; }
.hero-search button:hover { background: var(--coral-dark); }
.quick { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.quick a { font-weight: 600; color: var(--navy); text-underline-offset: 3px; }

/* ---------- Photo hero (only shown behind the first-visit location prompt) ---------- */
.hero-photo[hidden] { display: none; }
.hero-photo {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 0 110px;
  background:
    linear-gradient(180deg, rgba(6, 22, 40, .45) 0%, rgba(6, 22, 40, 0) 22%),
    var(--hero-img, var(--navy)) center 35% / cover no-repeat;
  color: #fff;
}
.hero-photo-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-photo .eyebrow { color: #bfe6ee; }
.hero-photo h1 { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.hero-photo h1 em { color: #bfe6ee; }
.hero-search-lg { margin-top: 32px; width: min(640px, 100%); max-width: none; }
.hero-photo .quick { justify-content: center; color: rgba(255, 255, 255, .85); }
.hero-photo .quick a { color: #fff; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: bob 2.2s ease-in-out infinite; }
.scroll-cue svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Listings (Boat Trader style) ---------- */
.listings { padding: 40px 0 80px; min-height: calc(100svh - var(--nav-h)); }
.listings-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filters h3 { margin: 0 0 12px; font-size: 16px; }
.filters fieldset { border: 0; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; display: flex; justify-content: space-between; width: 100%; }
.filters output { font-weight: 600; color: var(--sea); }
.radio { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.radio input { accent-color: var(--sea); }
#f-price { width: 100%; accent-color: var(--sea); }

.results-bar { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.results-bar h2 { margin: 0; font-family: var(--display); font-size: 30px; color: var(--navy); }
.count { font-size: 14px; color: var(--muted); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { font: inherit; font-weight: 600; color: var(--ink); padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.grid .card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 37, 64, .06), 0 14px 34px rgba(11, 37, 64, .14); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--foam); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-source { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 37, 64, .82); color: #fff; font-size: 12px; font-weight: 600; }
.card-save { position: absolute; z-index: 2; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); cursor: pointer; }
.card-save svg { fill: none; stroke: var(--navy); stroke-width: 2; }
.card-save.is-saved svg { fill: var(--coral); stroke: var(--coral); }
.card-body { padding: 14px 16px 16px; }
.card-price { font-size: 22px; font-weight: 700; color: var(--navy); }
.card-title { margin: 4px 0 6px; font-size: 16px; font-weight: 600; }
.card-meta, .card-loc { font-size: 14px; color: var(--muted); }
.card-loc { margin-top: 2px; }
.show-more { display: block; margin: 28px auto 0; background: var(--navy); }
.show-more:hover { background: var(--navy-2); }
.show-more[hidden] { display: none; }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.footer { padding: 28px 0; border-top: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Location filter */
.loc-current { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.loc-current strong { color: var(--navy); }
.loc-form { display: flex; gap: 6px; }
.loc-form input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.loc-form input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31, 122, 140, .18); background: #fff; }
.loc-form button { border: 0; border-radius: 10px; padding: 0 14px; font: inherit; font-weight: 700; font-size: 14px; color: #fff; background: var(--navy); cursor: pointer; }
.loc-gps, .loc-clear { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--sea); cursor: pointer; }
.loc-gps svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.loc-gps:disabled, .loc-form button:disabled { opacity: .5; cursor: progress; }
.loc-clear { display: block; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.loc-clear[hidden], .loc-error[hidden] { display: none; }
.loc-radius { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--muted); }
.loc-radius select { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.loc-error { margin: 10px 0 0; font-size: 13px; color: #b3261e; }

/* Filters header + slide-out drawer on narrow screens */
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.filters-head h3 { margin: 0 0 12px; }
.filters-close { display: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--foam); font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer; }
.results-tools { display: flex; align-items: center; gap: 12px; }
.filters-toggle { display: none; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--navy); cursor: pointer; }
.filters-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.filters-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(4, 12, 22, .45); }
.filters-backdrop[hidden] { display: none; }

/* Account sign-up / log-in window */
.account-modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; background: rgba(4, 12, 22, .5); backdrop-filter: blur(4px); }
.account-modal[hidden] { display: none; }
.account-card { position: relative; width: min(420px, 100%); padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.account-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; }
.account-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: var(--foam); }
.account-tabs button { padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.account-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(11, 37, 64, .12); }
.account-card h2 { margin: 0 0 6px; font-family: var(--display); font-size: 26px; color: var(--navy); }
.account-sub { margin: 0 0 18px; color: var(--muted); }
.account-form { display: grid; gap: 12px; }
.account-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.account-form label[hidden] { display: none; }
.account-form input { font: inherit; font-size: 15px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.account-form input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31, 122, 140, .18); background: #fff; }
.account-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--foam); font-size: 14px; color: var(--navy); }
.panel-removal { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.panel-removal a { color: var(--muted); }
.footer a { color: inherit; }

/* First-visit location prompt */
.loc-prompt { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 12, 22, .55); backdrop-filter: blur(3px); }
.loc-prompt[hidden] { display: none; }
.loc-prompt-card { width: min(400px, 100%); padding: 28px 24px 20px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center; }
.loc-prompt-icon { fill: none; stroke: var(--coral); stroke-width: 2; margin-bottom: 6px; }
.loc-prompt-card h2 { margin: 0 0 8px; font-family: var(--display); font-size: 26px; color: var(--navy); }
.loc-prompt-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
.lp-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.lp-or::before, .lp-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.loc-prompt-card .loc-form input { padding: 11px 12px; font-size: 15px; }
.loc-prompt-card .loc-error { text-align: left; }
.lp-skip { margin-top: 16px; padding: 6px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Whole card is clickable through the title link */
.card-link { text-decoration: none; color: inherit; }
.card-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--sea); outline-offset: 2px; }
.grid .card { cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: 0; border-radius: 10px; padding: 13px 22px; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: var(--coral); text-decoration: none; text-align: center; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--coral-dark); }
.btn-block { display: block; width: 100%; }

/* ---------- Listing detail ---------- */
.detail { padding: 24px 0 72px; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 600; font-size: 15px; color: var(--sea); text-decoration: none; }
.back:hover { text-decoration: underline; }
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }
.detail-grid > * { min-width: 0; }
.detail-photo { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--foam); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-photo .card-save { top: 16px; right: 16px; width: 44px; height: 44px; }
.gallery-stage { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-count { position: absolute; left: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11, 37, 64, .82); color: #fff; font-size: 13px; font-weight: 600; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumb { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--foam); cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; border-color: var(--coral); }
.card-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: rgba(11, 37, 64, .82); color: #fff; font-size: 12px; font-weight: 600; }
.card-count svg { fill: none; stroke: currentColor; stroke-width: 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 56px 72px; background: rgba(4, 12, 22, .94); }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; cursor: pointer; }
.lb-count { left: 50%; bottom: 18px; translate: -50% 0; }
@media (max-width: 760px) { .lightbox { padding: 56px 8px; } .lightbox .gallery-nav { display: none; } }
.detail-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 24px 0 8px; }
.detail-head h1 { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; color: var(--navy); }
.detail-loc { margin: 8px 0 0; color: var(--muted); }
.detail-price { font-size: 32px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.detail-section { padding: 24px 0; border-top: 1px solid var(--line); margin-top: 16px; }
.detail-section h2 { margin: 0 0 16px; font-size: 20px; color: var(--navy); }
.detail-section p { margin: 0; line-height: 1.6; color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs div { background: #fff; padding: 14px 16px; }
.specs dt { font-size: 13px; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 700; }
.detail-side { position: sticky; top: calc(var(--nav-h) + 20px); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.panel-price { font-size: 28px; font-weight: 700; color: var(--navy); }
.panel-est { margin: 2px 0 18px; font-size: 14px; color: var(--muted); }
.contact { display: grid; gap: 12px; }
.contact label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact input, .contact textarea { font: inherit; font-size: 15px; color: var(--ink); padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); resize: vertical; }
.contact input:focus, .contact textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31, 122, 140, .18); background: #fff; }
.contact-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--foam); font-size: 14px; color: var(--navy); }
.panel-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.description p + p { margin-top: 12px; }
.panel-source { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.more { margin-top: 40px; }
.detail-missing { padding: 80px 0; text-align: center; }
.detail-missing h1 { font-family: var(--display); color: var(--navy); }
.detail-missing p { color: var(--muted); margin-bottom: 24px; }

@media (max-width: 960px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}
@media (max-width: 760px) {
  .detail-head { flex-direction: column; gap: 8px; }
  .detail-price { font-size: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .listings-grid { grid-template-columns: 1fr; }
  .filters {
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 80;
    width: min(320px, 86vw); overflow-y: auto; border-radius: 0 16px 16px 0;
    transform: translateX(-105%); transition: transform .25s ease; box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  }
  .filters.is-open { transform: none; }
  .filters-close, .filters-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 760px) {
  .brand { font-size: 19px; }
  .glass-btn { padding: 0 14px; font-size: 13px; }
  .results-bar { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-cue { animation: none; }
}
