/* WBJR — Why Buy Just Rent */
:root {
  --bg: #f6f1e9;
  --paper: #ffffff;
  --ink: #1b1f2a;
  --ink-2: #4a4f5c;
  --muted: #8a8578;
  --line: #e6dfd3;
  --accent: #ff5a36;
  --accent-ink: #d63f1d;
  --accent-soft: #ffe7df;
  --green: #1f8a70;
  --green-soft: #dcf2ea;
  --amber: #b7791f;
  --amber-soft: #fdf0d5;
  --red: #c9302c;
  --red-soft: #fbe2e1;
  --blue: #2c5cc5;
  --blue-soft: #e2eafb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(27,31,42,.06), 0 8px 24px rgba(27,31,42,.06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page { padding-top: 28px; padding-bottom: 56px; }
.narrow { max-width: 520px; margin: 0 auto; }
.mid { max-width: 820px; margin: 0 auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Top bar ───────────────────────────────────────────────────── */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.topbar-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .04em; color: #fff; text-decoration: none !important; }
.logo span { color: var(--accent); }
.logo img { height: 34px; width: auto; display: block; }
.footer .logo img { height: 30px; }
.top-search { flex: 1; max-width: 460px; position: relative; }
.top-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: #9aa0ad; stroke-width: 2; stroke-linecap: round; }
.topbar .top-search input { width: 100%; height: 42px; border: 0; border-radius: 999px; padding: 0 16px 0 42px; background: #2a2f3d; color: #fff; font: inherit; }
.topbar .top-search input::placeholder { color: #9aa0ad; }
.topbar .top-search input:focus { outline: 2px solid var(--accent); background: #323848; border-color: transparent; box-shadow: none; }
.mainnav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.mainnav > a:not(.btn) { color: #d9d6cf; padding: 8px 12px; border-radius: 999px; font-weight: 500; position: relative; }
.mainnav > a:not(.btn):hover, .mainnav > a.active { color: #fff; background: #2a2f3d; text-decoration: none; }
.dot { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; margin-left: 6px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

.menu { position: relative; }
.avatar-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: #fff; font: inherit; font-weight: 500; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: 999px; }
.avatar-btn:hover { background: #2a2f3d; }
.avatar-btn img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: #3a4050; }
.menu-pop { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--paper); color: var(--ink); border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.18); min-width: 210px; padding: 6px; }
.menu.open .menu-pop { display: block; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; color: var(--ink); background: none; border: 0; font: inherit; cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--bg); text-decoration: none; }

.notice-bar { background: var(--amber-soft); color: #6b4a12; text-align: center; padding: 10px 16px; font-size: 14px; }
.notice-bar a { font-weight: 700; color: #6b4a12; text-decoration: underline; }
.dev-bar { margin-top: 14px; background: #fff8d6; border: 1px dashed #d4b106; border-radius: 10px; padding: 10px 14px; font-size: 13px; word-break: break-all; }

/* ── Buttons & forms ───────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px var(--font); cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .08s, background .15s; }
.btn:hover { background: #2d3344; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: #166b57; }
.btn-red { background: var(--red); border-color: var(--red); }
.btn-red:hover { background: #a42521; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-ink); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field { margin-bottom: 18px; }
.field small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 5px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=date], input[type=search], select, textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 14px; font: inherit; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(27,31,42,.08); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.input-money { position: relative; }
.input-money::before { content: "$"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-money input { padding-left: 28px; }

/* ── Cards / panels ────────────────────────────────────────────── */
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.panel + .panel { margin-top: 20px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-title h2, .panel-title h3 { margin: 0; }
.auth-card { max-width: 440px; margin: 20px auto; }
.auth-card h1 { font-size: 30px; }
.auth-foot { text-align: center; margin-top: 18px; color: var(--ink-2); }

.flash { position: relative; border-radius: 12px; padding: 13px 44px 13px 16px; margin-bottom: 18px; font-weight: 500; }
.flash-success { background: var(--green-soft); color: #0f5a48; }
.flash-error { background: var(--red-soft); color: #8a1f1b; }
.flash-info { background: var(--blue-soft); color: #1d3f8a; }
.flash button { position: absolute; right: 10px; top: 8px; background: none; border: 0; font-size: 20px; cursor: pointer; color: inherit; opacity: .6; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: #eee; color: var(--ink-2); white-space: nowrap; }
.badge-approved, .badge-accepted, .badge-completed, .badge-active, .badge-resolved { background: var(--green-soft); color: #0f5a48; }
.badge-pending, .badge-open { background: var(--amber-soft); color: #7a5212; }
.badge-rejected, .badge-declined, .badge-banned { background: var(--red-soft); color: #8a1f1b; }
.badge-paused, .badge-cancelled { background: #ebe8e2; color: #5f5a50; }
.badge-admin { background: var(--ink); color: #fff; }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 64px 16px 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 18px; color: #cfcbc2; max-width: 520px; }
.hero-search { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; max-width: 560px; margin-top: 26px; }
.hero-search input { border: 0; flex: 1; min-width: 0; padding: 0 18px; font-size: 16px; }
.hero-search input:focus { box-shadow: none; }
.hero-stack { position: relative; height: 340px; }
.hero-tag { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.3); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.hero-tag i { font-style: normal; font-size: 28px; }
.hero-tag small { display: block; color: var(--muted); font-weight: 500; }
.hero-tag b { color: var(--accent-ink); }
.hero-tag:nth-child(1) { top: 10px; left: 10%; transform: rotate(-4deg); }
.hero-tag:nth-child(2) { top: 120px; right: 0; transform: rotate(3deg); }
.hero-tag:nth-child(3) { bottom: 20px; left: 0; transform: rotate(-2deg); }
.hero-ring { position: absolute; width: 520px; height: 520px; border: 70px solid var(--accent); border-radius: 50%; right: -200px; top: -120px; opacity: .12; }

.section { padding: 48px 0 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat-tile { background: var(--paper); border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); border: 1.5px solid transparent; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--ink); text-decoration: none; transform: translateY(-2px); }
.cat-tile i { font-style: normal; font-size: 28px; }
.cat-tile span { font-weight: 600; font-size: 14px; }
.cat-tile small { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 24px; }
.step b { font-family: var(--display); font-size: 40px; color: var(--accent); display: block; line-height: 1; margin-bottom: 10px; }

/* ── Listing cards ─────────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; color: var(--ink); position: relative; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,31,42,.06), 0 16px 36px rgba(27,31,42,.12); text-decoration: none; }
.card-img { aspect-ratio: 4/3; background: #ece6dc; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-title { font-weight: 600; font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: 13px; }
.card-price { margin-top: auto; padding-top: 8px; }
.card-price strong { font-size: 18px; font-family: var(--display); }
.card-price span { color: var(--muted); font-size: 13px; margin-left: 2px; }
.card-cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.empty { text-align: center; padding: 56px 20px; background: var(--paper); border-radius: var(--radius); color: var(--ink-2); }
.empty i { font-style: normal; font-size: 44px; display: block; margin-bottom: 10px; }

/* ── Browse ────────────────────────────────────────────────────── */
.browse { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { background: var(--paper); border-radius: var(--radius); padding: 20px; position: sticky; top: 86px; }
.filters h3 { font-size: 16px; margin: 0; }
.filters summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.filters summary::after { content: '▾'; color: var(--muted); }
.filters[open] summary { margin-bottom: 14px; }
.filters[open] summary::after { content: '▴'; }
.filters .field { margin-bottom: 14px; }
.browse-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.browse-head h1 { font-size: 28px; margin: 0; }
.browse-head select { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; color: var(--ink); }
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 600; padding: 0 10px; }
.pager .current { background: var(--ink); color: #fff; }
.pager .gap { background: none; }

/* ── Listing page ──────────────────────────────────────────────── */
.listing { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.gallery-main { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: #ece6dc; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #1b1f2a; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 82px; height: 62px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.listing-desc { white-space: pre-line; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; }
.spec { background: var(--paper); border-radius: 12px; padding: 12px 14px; }
.spec small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.spec b { font-weight: 600; }
.book { position: sticky; top: 86px; }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.rate { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; text-align: center; }
.rate strong { display: block; font-family: var(--display); font-size: 20px; }
.rate span { font-size: 12px; color: var(--muted); }
.rate.na strong { color: #c5beb1; }
.estimate { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; display: none; }
.estimate.show { display: block; }
.owner { display: flex; gap: 12px; align-items: center; }
.owner img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #ece6dc; }
.heart { background: none; border: 1.5px solid var(--line); border-radius: 999px; height: 44px; padding: 0 16px; cursor: pointer; font: 600 14px var(--font); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.heart.on { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.review-banner { border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-weight: 500; }

/* ── Tables / dashboard ────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 16px; color: var(--ink-2); font-weight: 600; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--ink); border-color: var(--accent); }
.tabs .dot { background: var(--ink); }
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; }
table.list th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
table.list td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list tr:last-child td { border-bottom: 0; }
.thumb-sm { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: #ece6dc; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); color: var(--ink); }
.stat:hover { text-decoration: none; }
.stat b { display: block; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 13px; }
.stat.hot b { color: var(--accent-ink); }

/* ── Photo manager ─────────────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.photo-item { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #ece6dc; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item label { position: absolute; inset: auto 6px 6px auto; margin: 0; background: rgba(27,31,42,.85); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; display: flex; gap: 5px; align-items: center; cursor: pointer; }
.photo-item .cover-tag { position: absolute; top: 6px; left: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.dropzone { border: 2px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; background: #fbf8f3; cursor: pointer; display: block; font-weight: 500; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input { display: none; }
.preview-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.preview-strip img { width: 90px; height: 68px; object-fit: cover; border-radius: 8px; }

/* ── Messages ──────────────────────────────────────────────────── */
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 520px; overflow-y: auto; padding: 4px; margin-bottom: 16px; }
.msg { max-width: 78%; padding: 10px 14px; border-radius: 16px; background: var(--bg); white-space: pre-line; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg small { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }
.msg.sys { align-self: center; background: none; color: var(--muted); font-size: 13px; max-width: 100%; text-align: center; }
.req-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.req-row:last-child { border-bottom: 0; }
.req-row:hover { text-decoration: none; background: #fcfaf6; }
.req-row .grow { flex: 1; min-width: 0; }
.req-row .grow b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unread { width: 9px; height: 9px; background: var(--accent); border-radius: 50%; display: inline-block; }

/* ── Admin ─────────────────────────────────────────────────────── */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-nav a { padding: 8px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; font-size: 14px; }
.admin-nav a.on { background: var(--ink); color: #fff; }
.admin-nav a:hover { text-decoration: none; }
.review-card { display: grid; grid-template-columns: 260px 1fr; gap: 22px; }
.review-card .mini-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.review-card .mini-gal img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; height: 100%; }
.review-card .mini-gal a:first-child { grid-column: 1 / -1; }
.review-card .mini-gal a:first-child img { aspect-ratio: 4/3; }
.reject-box { display: none; margin-top: 12px; }
.reject-box.show { display: block; }
.history { font-size: 13px; color: var(--ink-2); border-left: 2px solid var(--line); padding-left: 12px; margin-top: 12px; }
.history div { margin-bottom: 4px; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: var(--ink); color: #c9c4bb; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 44px 16px 28px; }
.footer h4 { color: #fff; font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer a:not(.logo) { display: block; color: #c9c4bb; padding: 3px 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer p { font-size: 14px; max-width: 320px; margin-top: 10px; }
.footer-base { border-top: 1px solid #2f3442; padding: 18px 16px; font-size: 13px; color: #8a8f9b; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
.prose h2 { margin-top: 1.4em; }
.prose li { margin-bottom: .4em; }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 44px 16px 52px; }
  .hero-stack { display: none; }
  .browse, .listing { grid-template-columns: 1fr; }
  .filters, .book { position: static; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .chip { white-space: nowrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .review-card { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .top-search { order: 3; flex-basis: 100%; max-width: none; }
  .nav-toggle { display: block; }
  .mainnav { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 6px; }
  .mainnav.open { display: flex; }
  .mainnav .btn { margin-top: 6px; }
  .menu-pop { position: static; box-shadow: none; display: block; background: transparent; padding: 0; }
  .menu-pop a, .menu-pop button { color: #d9d6cf; }
  .menu-pop a:hover, .menu-pop button:hover { background: #2a2f3d; }
  .avatar-btn { pointer-events: none; }
  .panel { padding: 20px; }
  .rates { grid-template-columns: repeat(3, 1fr); }
  table.list.stack thead { display: none; }
  table.list.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  table.list.stack td { display: block; border: 0; padding: 4px 0; }
  .msg { max-width: 90%; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 14px; }
  .hero-search { flex-direction: column; border-radius: 18px; }
  .hero-search input { height: 46px; }
}
