﻿/* =============================================================
   StayNest - original stylesheet
   Modern, card-based marketplace look (public site + admin console)
   ============================================================= */

:root {
    --ink:        #222222;
    --ink-soft:   #717171;
    --ink-faint:  #B0B0B0;
    --line:       #DDDDDD;
    --line-soft:  #EBEBEB;
    --surface:    #FFFFFF;
    --surface-2:  #F7F7F7;
    --brand:      #FF385C;
    --brand-dk:   #E31C5F;
    --brand-grad: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    --ok:         #008A05;
    --ok-bg:      #E8F5E9;
    --warn:       #8A6100;
    --warn-bg:    #FFF4D6;
    --danger:     #C13515;
    --danger-bg:  #FDECEA;
    --radius:     12px;
    --radius-lg:  16px;
    --shadow-sm:  0 1px 2px rgba(0, 0, 0, .08);
    --shadow-md:  0 6px 16px rgba(0, 0, 0, .12);
    --shadow-lg:  0 8px 28px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5rem; font-weight: 600; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .75rem; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 1.5rem 0; }

.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: .84rem; }
.dot { margin: 0 .4rem; color: var(--ink-faint); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .68rem 1.15rem; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-weight: 600; line-height: 1.15; cursor: pointer; text-decoration: none;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .12s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.btn-primary { background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dk); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.btn-soft { background: var(--surface-2); border-color: var(--line); color: var(--ink); }
.btn-soft:hover { background: #EFEFEF; border-color: var(--line); }
.btn-block { width: 100%; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1.02rem; }
.btn-small { padding: .42rem .78rem; font-size: .82rem; border-radius: 8px; }
.btn-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- Header (Airbnb-style single row) ---------- */
.site-header {
    background: var(--surface); border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0; z-index: 60;
}
.header-inner {
    width: min(1760px, 100% - 3rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 660px) minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding: .65rem 0;
    min-height: 80px;
}
.brand { grid-column: 1; display: flex; align-items: center; gap: .55rem; justify-self: start; min-width: 0; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 34px; height: 34px; border-radius: 50%; background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: .8rem; letter-spacing: .3px;
    flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { color: var(--brand); font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text small { color: var(--ink-soft); font-size: .68rem; }

.header-actions {
    grid-column: 3; justify-self: end;
    display: flex; align-items: center; gap: .35rem; min-width: 0;
}

/* ---------- Flash ---------- */
.flash-stack { margin-top: 1rem; display: grid; gap: .5rem; }
.flash {
    padding: .8rem 1.05rem; border-radius: var(--radius); border: 1px solid transparent;
    font-size: .92rem; font-weight: 500;
}
.flash-success { background: var(--ok-bg); border-color: #C8E6C9; color: var(--ok); }
.flash-error   { background: var(--danger-bg); border-color: #F5C6C1; color: var(--danger); }
.flash-info    { background: #E8F0FE; border-color: #D2E3FC; color: #1A73E8; }

/* ---------- Steps / progress ---------- */
.steps { display: flex; justify-content: center; gap: 1.75rem; padding: 1.5rem 0 .5rem; }
.step { display: flex; align-items: center; gap: .5rem; color: var(--ink-faint); font-size: .88rem; font-weight: 500; }
.step-num {
    width: 24px; height: 24px; border-radius: 50%; background: var(--line-soft); color: var(--ink-soft);
    display: grid; place-items: center; font-size: .78rem; font-weight: 700;
}
.step.is-active { color: var(--ink); }
.step.is-active .step-num { background: var(--ink); color: #fff; }
.step.is-done { color: var(--ok); }
.step.is-done .step-num { background: var(--ok); color: #fff; }

/* ---------- Listing ---------- */
.site-main { padding-bottom: 4rem; }
.page-listing .site-main { padding-top: .75rem; }
.breadcrumb { display: flex; gap: .4rem; font-size: .84rem; color: var(--ink-soft); margin: .75rem 0 .5rem; }
.breadcrumb a { color: var(--ink-soft); }
.stay-switcher { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chip {
    padding: .45rem .9rem; border-radius: 22px; border: 1px solid var(--line);
    background: var(--surface); font-size: .85rem; color: var(--ink); font-weight: 500;
}
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.listing-title { margin: .25rem 0 .35rem; font-size: 1.65rem; letter-spacing: -.02em; }
.listing-meta { display: flex; align-items: center; flex-wrap: wrap; font-size: .9rem; margin-bottom: 1.25rem; }
.rating-badge { color: var(--brand); font-weight: 700; font-size: .95rem; }
.superhost-tag { color: var(--brand); font-weight: 700; }

/* Photo mosaic */
.photo-mosaic {
    display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr;
    gap: .5rem; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem;
    background: var(--surface-2); position: relative;
}
.photo-mosaic .photo { padding: 0; margin: 0; border: 0; background: var(--surface-2); cursor: pointer; overflow: hidden; position: relative; }
.photo-mosaic .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.photo-mosaic .photo:hover img { transform: scale(1.04); }
.photo-mosaic .photo-main { grid-row: 1 / span 2; }
.photo-mosaic .photo-main img { min-height: 380px; }
.photo-mosaic .photo:not(.photo-main) img { min-height: 186px; }
.photo-count {
    position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2;
    background: var(--surface); border: 1px solid var(--ink); border-radius: 8px;
    padding: .5rem .85rem; font: inherit; font-weight: 600; font-size: .85rem; cursor: pointer;
}
.photo-count:hover { background: var(--surface-2); }
.photo-all { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; margin-bottom: 1.75rem; }
.photo-all-item { border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.photo-all-item img { width: 100%; height: 180px; object-fit: cover; transition: transform .3s ease; }
.photo-all-item:hover img { transform: scale(1.03); }

/* Gallery (simple thumbnails row, used underneath the mosaic) */
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; }
.gallery-thumb {
    padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden;
    cursor: pointer; background: var(--surface-2); flex: 0 0 auto; width: 96px;
}
.gallery-thumb img { height: 68px; width: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--ink); }

.listing-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.listing-body > section { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.5rem; }
.listing-body > section:last-child { border-bottom: 0; }

.host-row { display: flex; align-items: center; gap: 1rem; }
.host-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-weight: 700; flex: 0 0 auto;
}
.host-row h3 { margin: 0; }
.host-row p { margin: 0; font-size: .88rem; }

.highlights { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.highlights li { display: flex; gap: .85rem; align-items: flex-start; }
.highlights strong { display: block; font-weight: 600; }
.highlights span { color: var(--ink-soft); font-size: .88rem; }
.icon-badge { font-size: 1.15rem; line-height: 1.4; flex: 0 0 auto; }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; padding: 1rem 0 0; margin: 0; }
.facts li { font-size: .9rem; color: var(--ink-soft); }
.facts strong { color: var(--ink); font-weight: 600; }

.amenity-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.amenity-grid li { display: flex; align-items: center; gap: .6rem; font-size: .92rem; }
.amenity-grid .tick { color: var(--ink); font-weight: 700; }

/* Reviews */
.review-list { display: grid; gap: 1.15rem; }
.review { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.1rem; }
.review header { display: flex; align-items: center; gap: .75rem; margin-bottom: .35rem; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); color: var(--ink);
    display: grid; place-items: center; font-weight: 600; flex: 0 0 auto;
}
.review-avatar-img {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
    background: var(--surface-2); display: block;
}
.review-head-meta { display: flex; flex-direction: column; line-height: 1.25; }
.review-head-meta strong { font-size: .95rem; }
.review-head-meta .small { color: var(--ink-soft); font-size: .82rem; margin-top: .1rem; }
.review-stars { margin-inline-start: auto; color: var(--brand); letter-spacing: .08em; font-size: .9rem; }
.review h3 { margin: .25rem 0 .35rem; font-size: .98rem; }
.review p { margin: 0; font-size: .92rem; }

/* ---------- Booking sidebar ---------- */
.booking-aside { position: sticky; top: 92px; }
.booking-card {
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem;
    box-shadow: var(--shadow-md); background: var(--surface);
}
.booking-card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.booking-card .price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.booking-card .price small { font-size: .9rem; font-weight: 400; color: var(--ink-soft); }

.field-stack { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 1rem; }
.field-stack .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.field-stack label {
    margin: 0; padding: .6rem .8rem; font-size: .68rem; letter-spacing: .04em; text-transform: uppercase;
    font-weight: 700; color: var(--ink);
}
.field-stack label + label { border-left: 1px solid var(--line); }
.field-stack input, .field-stack select {
    margin: .15rem 0 0; padding: 0; border: 0; background: transparent; font-size: .92rem;
    text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink);
}
.field-stack input:focus, .field-stack select:focus { outline: none; }
.field-stack .full { border-top: 1px solid var(--line); }

label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: .75rem; }
input, select, textarea {
    width: 100%; margin-top: .3rem; padding: .7rem .8rem; font: inherit; color: var(--ink);
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; border-color: var(--ink); }
label .hint { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-soft); margin-top: .25rem; }

.quote-lines { margin: 1rem 0; font-size: .92rem; display: grid; gap: .55rem; }
.quote-lines > div { display: flex; justify-content: space-between; gap: 1rem; color: var(--ink-soft); }
.quote-lines > div > span:last-child { color: var(--ink); }
.quote-lines .is-free > span:last-child { color: var(--ok); }
.quote-total {
    border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .35rem;
    font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.quote-total > span:last-child { color: var(--ink); }
.quote-note { color: var(--danger); font-size: .85rem; font-weight: 500; }
.term-select {
    display: flex; gap: .4rem; padding: .25rem; margin-bottom: .9rem;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
}
.term-option {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: .5rem .4rem; border-radius: 9px; cursor: pointer; font-size: .88rem;
    font-weight: 600; color: var(--ink-soft); transition: background .15s, color .15s;
}
.term-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.term-option:hover { color: var(--ink); }
.term-option:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.empty { padding: 4rem 0; text-align: center; color: var(--ink-soft); }

/* Calendar */
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.calendar-head strong { font-size: .95rem; }
.cal-nav {
    border: 1px solid var(--line); background: var(--surface); border-radius: 50%;
    width: 32px; height: 32px; font-size: 1.05rem; cursor: pointer; line-height: 1; color: var(--ink);
}
.cal-nav:hover { background: var(--surface-2); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: .7rem; color: var(--ink-soft); padding: .3rem 0; font-weight: 600; }
.cal-day {
    aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: .82rem;
    background: transparent; border: 1px solid transparent; cursor: pointer; color: var(--ink); font-family: inherit;
}
.cal-day:hover:not(.is-blocked) { border-color: var(--ink); }
.cal-day.is-empty { visibility: hidden; }
.cal-day.is-blocked { color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; }
.cal-day.is-selected { background: var(--ink); color: #fff; }
.cal-day.is-in-range { background: var(--surface-2); border-radius: 0; }

.pay-methods { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.pay-method {
    background: var(--ink); color: #fff; border-radius: 6px; padding: .2rem .55rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .02em;
}

/* Location placeholder */
.map-placeholder {
    height: 240px; border-radius: var(--radius-lg); border: 1px solid var(--line);
    background:
        repeating-linear-gradient(45deg, #F4F4F4 0 14px, #EFEFEF 14px 28px);
    display: grid; place-items: center; color: var(--ink-soft); font-size: .88rem; text-align: center; padding: 1rem;
}

/* ---------- Checkout / review ---------- */
.checkout-wrap { padding-top: 1rem; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.summary-card {
    position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 1.5rem; box-shadow: var(--shadow-md); background: var(--surface);
}
.summary-property { display: flex; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1rem; }
.summary-property img { width: 104px; height: 78px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.summary-property h3 { margin: 0 0 .15rem; font-size: 1rem; }
.summary-dates { margin: 0 0 1.1rem; display: grid; gap: .55rem; font-size: .92rem; }
.summary-dates > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary-dates dt { color: var(--ink-soft); margin: 0; }
.summary-dates dd { margin: 0; font-weight: 600; text-align: right; }
.link-back { display: block; text-align: center; margin-top: .85rem; font-size: .88rem; text-decoration: underline; }

/* Identity document uploads + terms on checkout */
.id-doc-row { gap: 1rem; }
.file-drop {
    display: flex; flex-direction: column; gap: .35rem; padding: 1rem;
    border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--surface-2);
    cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover { border-color: var(--brand); background: var(--brand-bg); }
.file-drop > span { font-weight: 600; font-size: .9rem; }
.file-drop input[type=file] { font-size: .85rem; }
.file-drop small { font-size: .75rem; }

.terms-check {
    display: flex; align-items: flex-start; gap: .6rem; margin: 1.1rem 0;
    font-size: .88rem; color: var(--ink-soft); line-height: 1.4;
}
.terms-check input { margin-top: .15rem; flex: 0 0 auto; }
.terms-check a { color: var(--brand); text-decoration: underline; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; place-items: center; padding: 3rem 0; }
.auth-card { width: min(480px, 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-md); background: var(--surface); }
.auth-card h1 { margin-bottom: .35rem; font-size: 1.4rem; }

/* ---------- Confirmation / invoice ---------- */
.confirmation-wrap, .invoice-wrap { padding-top: 1.5rem; }
.confirmation-card, .invoice-card {
    max-width: 820px; margin-inline: auto; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 2rem; background: var(--surface);
}
.confirmation-card { box-shadow: var(--shadow-md); }
.success-mark {
    width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); color: var(--ok);
    display: grid; place-items: center; font-size: 1.7rem; margin-bottom: .85rem;
}
.pay-bar {
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface-2);
    padding: 1.25rem 1.5rem; margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 1rem;
    align-items: center; justify-content: space-between;
}
.pay-bar h3 { margin: 0 0 .2rem; }
.pay-bar p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.invoice-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line-soft); padding-bottom: 1.25rem; margin-bottom: 1.5rem; }
.invoice-head h1 { font-size: 1.5rem; margin-bottom: .2rem; }
.invoice-meta { font-size: .88rem; color: var(--ink-soft); }
.invoice-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; margin-bottom: 1.75rem; }
.invoice-block h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .45rem; }
.invoice-block p { margin: 0 0 .2rem; font-size: .92rem; }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.invoice-table th, .invoice-table td { padding: .75rem .5rem; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: .92rem; }
.invoice-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.invoice-table .num { text-align: right; white-space: nowrap; }
.invoice-total-row td { font-weight: 700; font-size: 1.05rem; border-bottom: 0; padding-top: 1rem; }
.invoice-sub-row td { padding: .35rem .5rem; font-size: .88rem; border-bottom: 0; color: var(--ink-soft); }
.invoice-sub-row .num { color: var(--ink); }
.bank-card {
    border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
    background: var(--surface-2);
}
.bank-card h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; }
.bank-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem 1.5rem; margin: 0; }
.bank-list > div { display: flex; flex-direction: column; }
.bank-list dt { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.bank-list dd { margin: 0; font-weight: 600; font-size: .95rem; word-break: break-word; }
.bank-list .highlight dd { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 1.02rem; }
.copy-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; font-size: .72rem; padding: .1rem .4rem; cursor: pointer; margin-inline-start: .35rem; }

.invoice-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.invoice-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--brand); font-size: 1.1rem; margin-bottom: .6rem; }
.invoice-head-right { text-align: right; }
.declare-form { margin: 1rem 0 .75rem; display: grid; gap: .75rem; max-width: 520px; }
.declare-form label { margin: 0; }

.pay-status-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.pay-status-panel h3 { margin-bottom: .35rem; }
.arrival-panel {
    border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem; background: var(--brand-bg);
}
.arrival-panel h3 { margin-bottom: .35rem; color: var(--brand); }
.arrival-panel .declare-form { margin-top: .75rem; }
.arrival-note {
    border-left: 3px solid var(--brand); background: var(--brand-bg);
    padding: .85rem 1rem; border-radius: var(--radius); margin: 1rem 0; font-size: .9rem;
}

/* ---------- Pills ---------- */
.pill { display: inline-block; padding: .22rem .65rem; border-radius: 22px; font-size: .76rem; font-weight: 600; }
.pill-pending   { background: var(--warn-bg); color: var(--warn); }
.pill-confirmed { background: var(--ok-bg); color: var(--ok); }
.pill-cancelled { background: var(--danger-bg); color: var(--danger); }
.pay-unpaid { background: var(--danger-bg); color: var(--danger); }
.pay-awaiting_confirmation { background: var(--warn-bg); color: var(--warn); }
.pay-paid { background: var(--ok-bg); color: var(--ok); }

/* ---------- Tables ---------- */
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.data-table th, .data-table td { text-align: left; padding: .8rem .75rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.data-table thead th {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--ink-soft); font-weight: 700; background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.data-table thead th:first-child { border-top-left-radius: 10px; }
.data-table thead th:last-child { border-top-right-radius: 10px; }
.data-table tbody tr { transition: background .12s ease; }
.data-table tbody tr:hover { background: #fafafa; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table-full { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.row-actions { display: flex; gap: .4rem; flex-wrap: wrap; }
.inline-form { display: inline-flex; gap: .35rem; align-items: center; }
.inline-form select { margin: 0; padding: .3rem .45rem; font-size: .82rem; width: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line-soft); padding: 2.5rem 0; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem; }
.site-footer h4 { margin: 0 0 .4rem; font-size: .92rem; }
.site-footer p { font-size: .88rem; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom {
    display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
    border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1.25rem;
    font-size: .84rem; color: var(--ink-soft); align-items: center;
}
.footer-copy a { color: var(--ink-soft); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; color: var(--ink); }
.footer-social { display: flex; gap: .9rem; align-items: center; }
.footer-social a { display: inline-flex; color: var(--ink-soft); }
.footer-social a:hover { color: var(--ink); }
.footer-social .icon { width: 18px; height: 18px; }

/* ---------- Admin (sidebar layout) ---------- */
.admin-body {
    background: #f4f5f7;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 248px;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    color: #c9c9c9;
    display: flex;
    flex-direction: column;
    z-index: 80;
    overflow-y: auto;
}
.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 1.25rem 1.15rem 1.1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.admin-sidebar-brand:hover { text-decoration: none; }
.admin-sidebar-brand .brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--brand-grad);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: -.02em;
    flex-shrink: 0;
}
.admin-sidebar-brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.admin-sidebar-brand-text strong { font-size: .98rem; letter-spacing: -.01em; }
.admin-sidebar-brand-text small { font-size: .72rem; color: #888; font-weight: 500; }

.admin-sidebar-nav {
    padding: .7rem .6rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .6rem .75rem;
    border-radius: 9px;
    color: #a8a8a8;
    font-size: .9rem;
    font-weight: 500;
    transition: background .15s ease, color .15s ease;
    position: relative;
}
.admin-nav-link .icon { flex-shrink: 0; opacity: .85; }
.admin-nav-link:hover { color: #fff; background: rgba(255, 255, 255, .07); text-decoration: none; }
.admin-nav-link:hover .icon { opacity: 1; }
.admin-nav-link.is-active {
    color: #fff;
    background: rgba(255, 56, 92, .14);
    box-shadow: inset 3px 0 0 var(--brand);
}
.admin-nav-link.is-active .icon { opacity: 1; color: var(--brand); }
.admin-nav-link .nav-count {
    margin-left: auto;
    background: var(--brand);
    color: #fff;
}
.admin-ext { margin-left: auto; font-size: .75rem; opacity: .7; }

.admin-sidebar-footer {
    padding: .6rem .6rem .9rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

/* Shell + topbar */
.admin-shell {
    flex: 1;
    margin-left: 248px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line-soft);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .7rem 1.5rem;
    height: 60px;
}
.admin-menu-btn {
    display: none;
    background: none;
    border: 0;
    padding: .35rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--ink);
}
.admin-menu-btn:hover { background: var(--surface-2); }
.admin-topbar-spacer { flex: 1; }
.admin-topbar-right { display: flex; align-items: center; gap: .85rem; }
.admin-user-chip {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .3rem .6rem .3rem .3rem;
    border-radius: 999px;
    transition: background .15s ease;
}
.admin-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand-grad);
    color: #fff; font-weight: 700; font-size: .85rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.admin-user-info { display: flex; flex-direction: column; line-height: 1.2; }
.admin-user-name { font-size: .86rem; font-weight: 600; color: var(--ink); }
.admin-user-role { font-size: .72rem; color: var(--ink-soft); }

.admin-main { flex: 1; padding: 1.75rem 0 3rem; }
.admin-footer { padding: 1.4rem 0; border-top: 1px solid var(--line-soft); background: transparent; }
.admin-footer .wrap { color: var(--ink-faint); }

.admin-main .card, .admin-body .card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    margin-bottom: 1.35rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.35rem; margin-bottom: 1.15rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.75rem; }
.stat {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.stat:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .07); transform: translateY(-2px); border-color: var(--line); }
.stat-label { display: block; font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: .4rem; font-weight: 600; }
.stat strong { font-size: 1.7rem; letter-spacing: -.02em; font-weight: 700; }
.stat strong.is-alert { color: var(--danger); }

.admin-columns { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.35rem; align-items: start; }
.arrival-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.arrival-list li { display: grid; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line-soft); font-size: .9rem; }
.arrival-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1.35rem; }
.filter-bar input, .filter-bar select { margin: 0; width: auto; min-width: 190px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem 1rem; }
.form-grid label { margin: 0; }
.form-actions { grid-column: 1 / -1; display: flex; gap: .6rem; margin-top: .5rem; }

/* ---------- Mobile sticky booking bar ---------- */
.mobile-pay-bar {
    display: none; position: fixed; inset: auto 0 0 0; background: var(--surface);
    border-top: 1px solid var(--line); padding: .8rem 1.25rem; z-index: 70;
    align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
.mobile-pay-bar .price { font-weight: 700; }

/* ---------- Print (invoice) ---------- */
@media print {
    .site-header, .site-footer, .no-print, .flash-stack { display: none !important; }
    body { background: #fff; font-size: 12px; }
    .invoice-card { border: 0; box-shadow: none; padding: 0; max-width: none; }
    .bank-card { background: #fff; }
    .invoice-wrap { padding: 0; }
    .wrap, .wrap-narrow { width: 100%; }
    a[href]:after { content: none !important; }
}

/* =============================================================
   Room page (Airbnb-style listing layout)
   ============================================================= */
.room-wrap { padding-top: .75rem; }
.room-top { margin-bottom: 1.25rem; }
.room-top-head {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.room-top-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.room-top-actions .icon-btn {
    border: 0; background: transparent; border-radius: 0; padding: 0;
    display: inline-flex; align-items: center; gap: .4rem;
    font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink);
    text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.room-top-actions .icon-btn:hover { background: transparent; color: var(--ink); text-decoration: underline; }
.room-top-actions .icon-btn .icon { width: 18px; height: 18px; }
.room-title { font-size: 1.62rem; letter-spacing: -.02em; margin: 0 0 .4rem; }
.room-subline {
    display: flex; align-items: center; flex-wrap: wrap; gap: .15rem;
    font-size: .92rem; color: var(--ink);
}
.room-subline a { color: var(--ink); text-decoration: underline; }
.link-inline { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.rating-inline { font-weight: 700; }
.gf-badge {
    display: inline-flex; align-items: center; padding: .12rem .55rem; border-radius: 22px;
    background: var(--surface-2); border: 1px solid var(--line);
    font-size: .78rem; font-weight: 700; color: var(--ink);
}

/* Photo mosaic overlays */
.photo-actions {
    position: absolute; top: 1rem; right: 1rem; z-index: 3; display: flex; gap: .5rem;
}
.icon-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
    padding: .4rem .7rem; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn.is-saved { border-color: var(--brand); color: var(--brand); }

/* Two column layout */
.room-grid {
    display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 3.5rem; align-items: start; margin-top: 1.5rem;
}
.room-main { min-width: 0; }
.room-aside { position: sticky; top: 92px; }
.room-main > section { margin: 0; }
.room-divider { border-top: 1px solid var(--line-soft); margin: 1.75rem 0; }

.room-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.room-intro h2 { margin: 0 0 .3rem; font-size: 1.28rem; }
.room-facts { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.room-highlights { gap: 1.25rem; }
.room-highlights li { gap: 1.1rem; align-items: flex-start; }
.room-highlights .icon-badge { color: var(--ink); padding-top: .1rem; }
.room-highlights .icon-badge--color { display: inline-flex; filter: drop-shadow(0 1px 1px rgba(0,0,0,.12)); }
.room-highlights .icon-badge--color .color-icon { width: 42px; height: 42px; }
.room-highlights li strong { font-size: 1rem; }
.room-highlights li div > span { display: block; margin-top: .2rem; font-size: .95rem; line-height: 1.45; }
.host-avatar-lg {
    width: 52px; height: 52px; border-radius: 50%; background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; flex: 0 0 auto;
}

/* ---- Title-area facts line ---- */
.room-facts--title { font-size: 1rem; color: var(--ink); margin: .15rem 0 0; font-weight: 500; }

/* ---- Headline block (after gallery) ---- */
.room-headline-block {
    padding: 1.5rem 0 0;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap;
}
.room-headline-left { flex: 1 1 auto; min-width: 0; }
.room-headline { font-size: 1.4rem; font-weight: 600; margin: 0 0 .4rem; letter-spacing: -.01em; }
.room-headline-block .room-facts { font-size: 1rem; color: var(--ink); margin: 0; font-weight: 500; }
.rare-find {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #FFF; border: 1px solid var(--line); border-radius: 999px;
    padding: .55rem 1.1rem; font-size: .92rem; font-weight: 500;
    box-shadow: var(--shadow-sm); flex: 0 0 auto; margin-top: .25rem;
    white-space: nowrap;
}
.rare-find-icon { font-size: 1.1rem; line-height: 1; }

@media (max-width: 620px) {
    .rare-find { width: 100%; justify-content: center; }
}

/* ---- Guest favourite banner ---- */
.room-main .gf-banner {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.5rem;
    margin: 0 0 2rem; flex-wrap: nowrap;
}
.gf-banner-left { display: flex; align-items: center; gap: .35rem; flex: 0 0 auto; }
.gf-laurel { display: inline-flex; line-height: 0; }
.gf-title {
    font-size: 1rem; font-weight: 600; margin: 0 .15rem; line-height: 1.05;
    display: flex; flex-direction: column;
}
.gf-title span { white-space: nowrap; }
.gf-banner-sub {
    flex: 1 1 auto; min-width: 0; margin: 0;
    font-size: .8rem; font-weight: 500; color: var(--ink);
    line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gf-banner-right { display: flex; align-items: center; gap: 1.25rem; flex: 0 0 auto; }
.gf-score { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.gf-score strong { font-size: 1.4rem; font-weight: 700; }
.gf-stars { color: var(--ink); font-size: .78rem; letter-spacing: 1px; margin-top: .15rem; }
.gf-reviews { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; padding-left: 1.25rem; border-left: 1px solid var(--line); }
.gf-reviews strong { font-size: 1.4rem; font-weight: 700; }
.gf-reviews span { font-size: .85rem; color: var(--ink-soft); margin-top: .15rem; }

@media (max-width: 720px) {
    .room-main .gf-banner { flex-wrap: wrap; gap: 1rem; }
    .gf-banner-sub { width: 100%; flex: 0 0 100%; order: 2; }
    .gf-banner-right { width: 100%; justify-content: flex-end; order: 3; }
}

/* ---- Host line ---- */
.room-main .host-line { display: flex; align-items: center; gap: .85rem; margin: 1.75rem 0 1.75rem; padding-top: .25rem; }
.host-avatar-wrap { position: relative; flex: 0 0 auto; width: 40px; height: 40px; }
.host-avatar-sm {
    width: 40px; height: 40px; border-radius: 50%; background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: .95rem;
}
.host-badge {
    position: absolute; bottom: -4px; right: -4px;
    width: 20px; height: 20px; display: grid; place-items: center;
    background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.host-badge svg { display: block; width: 16px; height: 18px; }
.host-line-info { display: flex; flex-direction: column; gap: .15rem; }
.host-line-name { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.2; }
.host-line-meta { margin: 0; color: var(--ink-soft); font-size: .88rem; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; line-height: 1.2; }
.sh-tag { display: inline-flex; align-items: center; gap: .2rem; color: var(--ink); font-weight: 500; }
.sh-star { color: var(--brand); font-size: .8rem; }

/* ---- Summary list (highlights) ---- */
.summary-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: 1.5rem; }
.summary-item { display: flex; gap: 1rem; align-items: flex-start; }
.summary-icon { color: var(--ink); flex: 0 0 auto; padding-top: .1rem; }
.summary-icon .icon { width: 26px; height: 26px; }
.summary-text { display: flex; flex-direction: column; gap: .15rem; }
.summary-text strong { font-size: 1rem; font-weight: 600; }
.summary-text span { font-size: .92rem; line-height: 1.45; }
.summary-learn { display: flex; align-items: center; gap: .4rem; margin: 1rem 0 0; font-size: .88rem; }
.summary-learn .icon { width: 15px; height: 15px; color: var(--ink-soft); }
.summary-learn a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.where-sleep h2 { margin-bottom: 1rem; }
.sleep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.sleep-card { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.sleep-card img { width: 100%; height: 150px; object-fit: cover; }
.sleep-placeholder {
    display: grid; place-items: center; height: 150px; background: var(--surface-2);
    color: var(--ink-faint); font-size: 1.6rem;
}
.sleep-card-body { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .1rem; }
.sleep-card-body .muted { font-size: .88rem; }

/* Wide availability calendar */
.cal-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.cal-head-row h2 { margin: 0 0 .85rem; }
.link-btn {
    background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 600;
    text-decoration: underline; cursor: pointer; color: var(--ink);
}
.calendar-wide { border: 0; padding: 0; }
.calendar-toolbar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: .75rem; }
.calendar-toolbar strong { font-size: 1rem; }
.cal-nav-group { display: flex; gap: .4rem; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.cal-month-name { font-weight: 600; text-align: center; margin-bottom: .5rem; }

/* Reviews */
.room-reviews h2 { margin-bottom: 1.25rem; }
.reviews-layout { display: flex; flex-direction: column; gap: 2.5rem; align-items: stretch; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.review-grid .review { border: 0; padding: 0; }
.review-grid .review h3 { font-size: .96rem; }
.rating-summary { border: 0; border-radius: 0; padding: 0; background: transparent; box-shadow: none; }
.rating-big { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.rating-big-num { font-size: clamp(3.5rem, 8vw, 6rem); font-weight: 700; letter-spacing: -.055em; line-height: .95; }
.rating-big-stars { color: var(--brand); letter-spacing: .06em; }
.rating-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.rating-bars li { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .8rem; font-size: .82rem; }
.rating-bar-label { color: var(--ink-soft); white-space: nowrap; }
.rating-bar-track { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.rating-bar-fill { display: block; height: 100%; background: var(--ink); }
.rating-bar-count { text-align: right; color: var(--ink-soft); }

/* Host card */
.host-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.host-card-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.host-card-top h2 { margin: 0 0 .2rem; font-size: 1.2rem; }
.host-card-top p { margin: 0; font-size: .9rem; }
.host-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
    padding: 1rem 0; margin-bottom: 1rem;
}
.host-stats > div { display: flex; flex-direction: column; }
.host-stats strong { font-size: 1.15rem; }
.host-stats span { font-size: .82rem; color: var(--ink-soft); }
.host-info { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .4rem; font-size: .9rem; }
.host-info li { display: flex; gap: .5rem; }

/* Things to know */
.things-to-know h2 { margin-bottom: 1.25rem; }

/* Location */
.room-location h2 { margin-bottom: 1rem; }
.location-facts { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; font-size: .9rem; color: var(--ink-soft); }
.location-facts strong { color: var(--ink); }

/* Booking card extras */
.free-cancel {
    display: flex; align-items: center; gap: .5rem; justify-content: center;
    margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-soft);
    font-size: .85rem; color: var(--ink);
}
.room-summary-facts { margin-top: 1rem; }

/* Responsive ---------- */
@media (max-width: 1024px) {
    .room-grid { grid-template-columns: 1fr; gap: 2rem; }
    .room-aside { position: static; }
    .reviews-layout { grid-template-columns: 1fr; gap: 1.75rem; }
    .cal-months { gap: 1.5rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .listing-grid, .checkout-grid, .admin-columns { grid-template-columns: 1fr; gap: 1.75rem; }
    .booking-aside, .summary-card { position: static; }
    .header-host { display: none; }
}
@media (max-width: 860px) {
    .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .photo-mosaic .photo-main { grid-column: 1 / -1; grid-row: auto; }
    .photo-mosaic .photo-main img { min-height: 260px; }
    .photo-mosaic .photo:not(.photo-main) img { min-height: 130px; }
    .mobile-pay-bar { display: flex; }
    .site-main { padding-bottom: 6rem; }
    .cal-months { grid-template-columns: 1fr; gap: 1.75rem; }
    .review-grid { grid-template-columns: 1fr; }
    .host-meet-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .host-profile-card { max-width: 520px; }
    .rating-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.5rem; }
    .rating-cats li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
    .footer-meta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
    .wrap, .wrap-narrow { width: min(1200px, 100% - 1.75rem); }
    .footer-top, .footer-bottom { width: min(1200px, 100% - 1.75rem); }
    .header-inner { gap: .75rem; }
    .listing-title { font-size: 1.35rem; }
    .room-title { font-size: 1.3rem; }
    .room-intro { gap: .75rem; }
    .room-divider { margin: 1.35rem 0; }
    .sleep-grid { grid-template-columns: 1fr 1fr; }
    .amenity-grid { grid-template-columns: 1fr; }
    .field-stack .field-row { grid-template-columns: 1fr; }
    .field-stack label + label { border-left: 0; border-top: 1px solid var(--line); }
    .confirmation-card, .invoice-card { padding: 1.25rem; }
    .steps { gap: 1rem; }
    .step span.step-label { display: none; }
    .host-profile-card { grid-template-columns: minmax(0, 1fr) 94px; padding: 1rem; gap: .7rem; border-radius: 22px; }
    .host-avatar-xl { width: 72px; height: 72px; font-size: 1.6rem; }
    .host-avatar-img { width: 72px; height: 72px; }
    .host-profile-name strong { font-size: 1.2rem; }
    .host-stats { padding-left: .7rem; }
    .host-stats strong { font-size: 1.3rem; }
    .rating-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rating-cats li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .rating-cats li:nth-child(4) { border-left: 1px solid var(--line); padding-left: 1rem; }
    .gf-laurel { width: 40px; }
}

/* =============================================================
   Depth & polish - layered elevation, gradients, gentle 3D motion
   ============================================================= */
html { scroll-behavior: smooth; }

body {
    background:
        radial-gradient(1100px 520px at 100% -8%, rgba(255, 56, 92, .07), transparent 60%),
        radial-gradient(900px 420px at -10% 20%, rgba(70, 110, 255, .05), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #FBFBFD 45%, #F4F5F8 100%);
    background-attachment: fixed;
}

/* Frosted-glass sticky header */
.site-header {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 0;
    box-shadow: 0 1px 0 var(--line-soft), 0 10px 26px -20px rgba(0, 0, 0, .45);
}

/* Buttons lift off the page */
.btn { box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: transform .16s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease, background .15s ease; }
.btn-soft:hover, .btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary {
    box-shadow: 0 10px 20px -10px rgba(227, 28, 95, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-grad); box-shadow: 0 16px 30px -12px rgba(227, 28, 95, .75); }

.chip { box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: transform .16s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease, border-color .2s ease; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* Gallery floats */
.photo-mosaic { box-shadow: 0 22px 48px -26px rgba(0, 0, 0, .5); }
.photo-mosaic .photo img { transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.photo-actions .icon-btn, .photo-count {
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5);
    border-color: rgba(0, 0, 0, .06);
}

/* Elevated surfaces */
.card, .booking-card, .host-card, .rating-summary, .sleep-card, .summary-card, .pay-status-panel {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 20px 42px -30px rgba(0, 0, 0, .35);
    transition: box-shadow .25s ease, transform .25s ease;
}
.booking-card { box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 30px 52px -28px rgba(0, 0, 0, .38); }
.host-card { background: linear-gradient(180deg, #FFFFFF 0%, #FCFCFE 100%); }

/* Gentle 3D lift on interactive cards (pointer devices only) */
@media (hover: hover) and (pointer: fine) {
    .photo-mosaic .photo:hover img { transform: scale(1.06); }
    .sleep-card:hover, .photo-all-item:hover, .gallery-thumb:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 38px -20px rgba(0, 0, 0, .38);
    }
}

/* Title block now sits under the gallery */
.room-top { margin-top: 1.5rem; }

/* =============================================================
   Mobile refinements
   ============================================================= */
@media (max-width: 1024px) {
    .room-aside { position: static; }
    .booking-card { max-width: 560px; }
}
@media (max-width: 860px) {
    .room-wrap { padding-top: .5rem; }
    .photo-mosaic { border-radius: 14px; box-shadow: 0 14px 32px -20px rgba(0, 0, 0, .45); }
    .booking-card { max-width: none; padding: 1.15rem; }
    .room-aside { margin-top: .5rem; }
    .mobile-pay-bar {
        background: rgba(255, 255, 255, .9);
        -webkit-backdrop-filter: saturate(180%) blur(14px);
        backdrop-filter: saturate(180%) blur(14px);
        box-shadow: 0 -12px 32px -18px rgba(0, 0, 0, .55);
        padding-bottom: calc(.8rem + env(safe-area-inset-bottom, 0px));
    }
    .mobile-pay-bar .btn { box-shadow: 0 8px 18px -10px rgba(227, 28, 95, .7); }
}
@media (max-width: 620px) {
    .room-subline { font-size: .85rem; row-gap: .05rem; }
    .photo-actions { top: .6rem; right: .6rem; gap: .35rem; }
    .photo-actions .icon-btn { padding: .32rem .5rem; font-size: .74rem; }
    .photo-count { right: .6rem; bottom: .6rem; padding: .4rem .6rem; font-size: .78rem; }
    .photo-mosaic .photo-main img { min-height: 220px; }
    .cal-day { font-size: .78rem; }
    .cal-month-name { font-size: .92rem; }
    .reviews-layout { gap: 1.25rem; }
    .host-stats { gap: .5rem; }
    .host-stats strong { font-size: 1rem; }
    .booking-card { padding: 1rem; }
}

/* =============================================================
   PUBLIC MARKETPLACE  (homepage, search, listing, CMS, account)
   ============================================================= */

/* ---------- Accessibility + icons ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.icon { flex: 0 0 auto; vertical-align: middle; }

/* ---------- Header search pill (Airbnb-style) ---------- */
.header-search {
    grid-column: 2;
    display: flex; align-items: stretch; gap: 0;
    width: 100%; height: 64px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 1px 6px rgba(0, 0, 0, .04);
    transition: box-shadow .2s ease, border-color .2s ease;
    padding: 7px;
}
.header-search:hover { box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 4px 12px rgba(0, 0, 0, .08); }
.header-search:focus-within { border-color: var(--ink); }
.hs-field {
    display: flex; flex-direction: column; justify-content: center; gap: 1px;
    margin: 0; padding: 0 1.15rem; min-width: 0; flex: 1 1 0;
    border-radius: 999px; cursor: text;
    transition: background .16s ease;
}
.hs-field:hover { background: var(--surface-2); }
.hs-field + .hs-field { box-shadow: inset 1px 0 0 var(--line-soft); }
.hs-field + .hs-field:hover { box-shadow: inset 1px 0 0 var(--line-soft); background: var(--surface-2); }
.hs-label { font-size: .75rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.hs-field input {
    margin: 0; padding: 0; border: 0; background: transparent; font-size: .875rem;
    width: 100%; min-width: 0; font-weight: 400; color: var(--ink-soft);
    box-shadow: none; text-overflow: ellipsis; line-height: 1.15;
}
.hs-field input::placeholder { color: var(--ink-faint); }
.hs-field input:focus { outline: none; color: var(--ink); }
.hs-guests input { -moz-appearance: textfield; appearance: textfield; }
.hs-guests input::-webkit-outer-spin-button,
.hs-guests input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hs-where { flex: 1.5 1 0; }
.hs-guests { max-width: 116px; }
.hs-input-row { display: flex; align-items: center; gap: .4rem; }
.hs-icon { display: inline-flex; color: var(--ink-soft); flex: 0 0 auto; }
.hs-icon svg { width: 16px; height: 16px; }
.hs-submit {
    display: inline-grid; place-items: center; flex: 0 0 auto; align-self: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%;
    background: var(--brand-grad); color: #fff; cursor: pointer;
    transition: background .16s ease, box-shadow .16s ease, transform .12s ease;
}
.hs-submit:hover { background: var(--brand-dk); }
.hs-submit:active { transform: scale(.94); }
.hs-submit svg { width: 16px; height: 16px; }

/* ---------- Header right actions ---------- */
.header-actions { gap: .25rem; white-space: nowrap; }
.host-link {
    display: inline-flex; align-items: center; flex: 0 0 auto;
    padding: .7rem .85rem; border-radius: 24px; font-size: .875rem; font-weight: 600;
    color: var(--ink); transition: background .16s ease;
}
.host-link:hover { background: var(--surface-2); text-decoration: none; }
.header-pickers { display: flex; align-items: center; gap: .1rem; }
.picker { position: relative; display: inline-flex; align-items: center; }
.picker::after {
    content: ''; position: absolute; right: .65rem; top: 50%;
    width: 7px; height: 7px;
    border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft);
    transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.picker select {
    margin: 0; width: auto; padding: .55rem .8rem; padding-inline-end: 1.55rem;
    font-size: .8rem; font-weight: 600; color: var(--ink);
    border: 1px solid transparent; border-radius: 24px; background: transparent;
    cursor: pointer; transition: background .16s ease;
    -webkit-appearance: none; appearance: none;
}
.picker select:hover { background: var(--surface-2); }
.picker select:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
/* Language picker renders as a globe icon button; the native select sits invisibly on top */
.picker-globe {
    width: 42px; height: 42px; border-radius: 50%; justify-content: center;
    transition: background .16s ease;
}
.picker-globe:hover { background: var(--surface-2); }
.picker-globe:focus-within { outline: 2px solid var(--ink); outline-offset: 1px; }
.picker-globe::after { display: none; }
.picker-globe .picker-icon { display: inline-flex; color: var(--ink); z-index: 1; pointer-events: none; }
.picker-globe .picker-icon svg { width: 18px; height: 18px; }
.picker-globe select {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; padding: 0; border: 0; border-radius: 50%;
}

/* ---------- Header menu pill + dropdown ---------- */
.header-menu { position: relative; }
.menu-pill {
    display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto;
    height: 42px; padding: .25rem .3rem .25rem .8rem; border: 1px solid var(--line); border-radius: 24px;
    background: var(--surface); color: var(--ink); cursor: pointer; font: inherit;
    transition: box-shadow .16s ease, border-color .16s ease;
}
.menu-pill:hover { box-shadow: var(--shadow-sm); border-color: var(--ink-faint); }
.menu-burger { display: inline-flex; color: var(--ink); }
.menu-burger svg { width: 16px; height: 16px; }
.menu-avatar {
    display: inline-grid; place-items: center; width: 30px; height: 30px;
    border-radius: 50%; background: var(--ink); color: #fff;
    font-size: .8rem; font-weight: 600; line-height: 1;
}
.menu-avatar svg { width: 18px; height: 18px; }
.menu-panel {
    position: absolute; right: 0; top: calc(100% + .6rem); z-index: 80;
    min-width: 232px; padding: .4rem 0;
    background: var(--surface); border: 1px solid var(--line-soft);
    border-radius: 16px; box-shadow: var(--shadow-lg);
}
.menu-panel[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; }
.menu-panel a {
    display: block; padding: .6rem 1.1rem; font-size: .9rem; font-weight: 500; color: var(--ink);
}
.menu-panel a:hover { background: var(--surface-2); text-decoration: none; }
.menu-panel a.is-active { color: var(--brand); font-weight: 700; }
.menu-panel a.menu-strong { font-weight: 700; }
.menu-sep { height: 1px; background: var(--line-soft); margin: .4rem 0; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: 0 0 32px 32px;
}
.hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: -2;
}
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(12, 14, 26, .52) 0%, rgba(12, 14, 26, .34) 44%, rgba(12, 14, 26, .72) 100%);
}
.hero-inner { padding: 5.5rem 0 3.25rem; text-align: center; color: #fff; }
.hero-kicker {
    display: inline-block; margin: 0 0 .9rem; padding: .3rem .85rem;
    border-radius: 22px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.hero-title {
    font-family: 'Fraunces', 'Inter', serif; font-weight: 600;
    font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em;
    margin: 0 auto .85rem; max-width: 18ch; text-shadow: 0 2px 26px rgba(0, 0, 0, .35);
}
.hero-sub { max-width: 60ch; margin: 0 auto 2rem; font-size: 1.02rem; color: rgba(255, 255, 255, .92); }
.hero-trust {
    list-style: none; padding: 0; margin: 1.75rem 0 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
    font-size: .86rem; color: rgba(255, 255, 255, .92);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }

/* ---------- Search bar ---------- */
.search-bar {
    display: flex; align-items: stretch; gap: 0;
    max-width: 900px; margin-inline: auto; padding: .4rem;
    background: var(--surface); border-radius: 26px;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6);
}
.sb-field {
    display: flex; flex-direction: column; justify-content: center;
    margin: 0; padding: .5rem 1.05rem; min-width: 0; flex: 1 1 0; border-radius: 20px;
    color: var(--ink);
}
.sb-field + .sb-field { border-left: 1px solid var(--line-soft); border-radius: 0; }
.sb-field:focus-within { background: var(--surface-2); border-radius: 20px; }
.sb-label { font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.sb-field input { margin: 0; padding: .1rem 0 0; border: 0; background: transparent; font-size: .95rem; font-weight: 500; }
.sb-field input:focus { outline: none; }
.sb-where { flex: 1.5 1 0; }
.sb-guests { max-width: 120px; }
.sb-go {
    display: inline-flex; align-items: center; gap: .45rem; margin: .25rem;
    padding: .85rem 1.4rem; border: 0; border-radius: 20px; cursor: pointer;
    background: var(--brand-grad); color: #fff; font: inherit; font-weight: 700;
    box-shadow: 0 12px 24px -12px rgba(227, 28, 95, .8);
}
.sb-go:hover { background: var(--brand-dk); }

/* ---------- Sections ---------- */
.section { padding: 2.5rem 0 .5rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-head h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.section-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 600; text-decoration: underline; }

/* ---------- Feature strip ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.feature {
    background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    padding: 1.35rem 1.4rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -32px rgba(0, 0, 0, .4);
}
.feature-icon {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(255, 56, 92, .1); color: var(--brand); margin-bottom: .85rem;
}
.feature h3 { margin: 0 0 .3rem; font-size: 1rem; }
.feature p { margin: 0; font-size: .89rem; color: var(--ink-soft); }

/* ---------- Property grid + card ---------- */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem 1.25rem; }
.p-grid-wide { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.p-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.p-card-media {
    display: block; position: relative; overflow: hidden;
    border-radius: 18px; background: var(--surface-2); aspect-ratio: 20 / 19;
}
.p-card-media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}
.p-card:hover .p-card-media img { transform: scale(1.05); }
.p-flag {
    position: absolute; top: .75rem; left: .75rem; padding: .25rem .6rem;
    background: rgba(255, 255, 255, .95); border-radius: 20px;
    font-size: .7rem; font-weight: 700; letter-spacing: .01em; color: var(--ink);
    box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .5);
}
.p-fav {
    position: absolute; top: .6rem; right: .6rem; z-index: 2;
    width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center; color: rgba(0, 0, 0, .55);
    background: transparent; transition: transform .16s ease;
}
.p-fav svg { fill: rgba(0, 0, 0, .28); stroke: #fff; stroke-width: 2; }
.p-fav:hover { transform: scale(1.12); }
.p-fav.is-saved svg { fill: var(--brand); stroke: #fff; }
.p-card-body { padding: .7rem .15rem 0; display: flex; flex-direction: column; gap: .15rem; }
.p-card-line { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.p-card-title {
    margin: 0; font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.p-card-rating { display: inline-flex; align-items: center; gap: .2rem; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.p-card-rating svg { fill: var(--ink); stroke: var(--ink); }
.p-card-rating.is-new { color: var(--ink-soft); font-weight: 500; font-size: .8rem; }
.p-card-sub { margin: 0; font-size: .85rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card-meta { margin: 0; font-size: .82rem; color: var(--ink-faint); }
.p-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .55rem; }
.p-card-price { font-size: .92rem; color: var(--ink-soft); }
.p-card-price strong { color: var(--ink); font-size: 1rem; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.dest-grid-wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 1.5rem; }
.dest-card {
    position: relative; display: block; overflow: hidden; border-radius: 16px;
    aspect-ratio: 4 / 5; background: var(--surface-2);
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.dest-card:hover img { transform: scale(1.06); }
.dest-overlay {
    position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
    color: #fff; display: flex; flex-direction: column;
}
.dest-overlay strong { font-size: 1rem; }
.dest-overlay small { font-size: .78rem; color: rgba(255, 255, 255, .85); }

/* ---------- Mini list ---------- */
.mini-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.mini-item {
    display: flex; align-items: center; gap: .85rem; padding: .6rem;
    border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface);
    transition: transform .16s ease, box-shadow .2s ease;
}
.mini-item:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.mini-item img { width: 74px; height: 60px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.mini-item span { display: flex; flex-direction: column; min-width: 0; }
.mini-item strong { font-size: .9rem; }
.mini-item small { font-size: .8rem; color: var(--ink-soft); }

/* ---------- How it works band ---------- */
.how-band {
    margin-top: 2.5rem; padding: 3rem 0 3.5rem;
    background: linear-gradient(180deg, #FFF6F8 0%, #FFFFFF 100%);
    border-top: 1px solid var(--line-soft);
}
.how-head { max-width: 62ch; margin-bottom: 1.75rem; }
.how-head h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.how-steps { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.how-num {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand-grad); color: #fff; font-weight: 700; margin-bottom: .75rem;
}
.how-steps h3 { font-size: 1rem; margin-bottom: .3rem; }
.how-steps p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Search page ---------- */
.search-wrap { padding-top: 1.5rem; }
.page-head { margin-bottom: 1.5rem; }
.page-head h1 { letter-spacing: -.02em; }
.country-strip { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-count {
    display: inline-block; margin-inline-start: .35rem; padding: 0 .4rem;
    background: var(--surface-2); border-radius: 20px; font-size: .74rem; color: var(--ink-soft);
}
.chip.chip-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.chip-on .chip-count { background: rgba(255, 255, 255, .22); color: #fff; }

.search-layout { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 2rem; align-items: start; padding-bottom: 2rem; }
.filters {
    position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
    padding: 1.25rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 18px 40px -34px rgba(0, 0, 0, .5);
}
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.filters-head strong { font-size: 1.02rem; }
.filters-head [data-filter-close] { display: none; }
.filter-group { border: 0; border-top: 1px solid var(--line-soft); margin: 0; padding: 1rem 0 0; }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group legend {
    padding: 0 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-soft);
}
.field { margin-bottom: .75rem; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.field > span { display: block; font-size: .78rem; font-weight: 600; margin-bottom: .25rem; }
.check-list { display: grid; gap: .5rem; }
.check { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 400; margin: 0; }
.check input { width: auto; margin: 0; accent-color: var(--brand); }

/* Amenity groups in property editor */
.amenity-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem 1.75rem; }
.amenity-group { min-width: 0; }
.amenity-group-title {
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-soft); margin: 0 0 .6rem; padding-bottom: .4rem;
    border-bottom: 1px solid var(--line-soft);
}
.amenity-group .check-list { display: flex; flex-direction: column; gap: .4rem; }
.amenity-group .check { font-size: .86rem; }

/* Rental option chooser in the property editor */
.term-choices { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft); }
.term-choices > h3 { font-size: .95rem; margin-bottom: .15rem; }
.term-choices > p.muted { margin-bottom: .9rem; }
.term-toggle { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .75rem; }
.term-toggle-card {
    position: relative; display: block; padding: 1rem; cursor: pointer;
    border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.term-toggle-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.term-toggle-card:has(input:checked) { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.term-toggle-title { display: block; font-weight: 600; color: var(--ink); }
.term-toggle-desc { display: block; margin-top: .2rem; font-size: .82rem; color: var(--ink-soft); }
.term-panel {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .85rem 1rem;
    margin-top: 1rem; padding: 1rem; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface-2);
}
.term-panel[hidden] { display: none; }
.term-panel label { margin: 0; }
.filters-actions { display: grid; gap: .6rem; margin-top: 1.15rem; padding-top: 1.15rem; border-top: 1px solid var(--line-soft); }
.filters-actions .link-btn { text-align: center; }

.search-results { min-width: 0; }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.15rem; flex-wrap: wrap; }
.results-head h1 { margin: 0; font-size: 1.4rem; letter-spacing: -.02em; }
.results-tools { display: flex; align-items: center; gap: .75rem; }
.filters-toggle { display: none; }
.sort-select { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .85rem; font-weight: 600; }
.sort-select select { margin: 0; width: auto; padding: .5rem .7rem; border-radius: 10px; font-size: .85rem; }
.active-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 300; background: rgba(12, 14, 22, .95);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2.5rem 1rem 1rem;
}
.lightbox[hidden] { display: none; }
body.lightbox-open, body.filters-open { overflow: hidden; }
.lightbox-close {
    position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .12);
    border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, .14); border: 0; color: #fff; width: 48px; height: 48px;
    border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255, 255, 255, .28); }
.lightbox-stage { margin: 0; max-width: min(1100px, 92vw); display: flex; flex-direction: column; align-items: center; }
.lightbox-stage img { max-height: 74vh; width: auto; max-width: 100%; border-radius: 12px; object-fit: contain; }
.lightbox-stage figcaption { color: rgba(255, 255, 255, .82); font-size: .88rem; margin-top: .75rem; }
.lightbox-thumbs { display: flex; gap: .5rem; overflow-x: auto; max-width: 92vw; margin-top: 1rem; padding-bottom: .35rem; }
.lightbox-thumb {
    width: 74px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px;
    overflow: hidden; background: none; cursor: pointer; flex: 0 0 auto; opacity: .6;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-thumb.is-active { border-color: #fff; opacity: 1; }

/* ---------- Property page extras ---------- */
.room-description h3 { margin: 1.25rem 0 .35rem; font-size: 1rem; }
.room-amenities .btn { margin-top: 1.25rem; }
.amenity-grid li.is-extra { display: none; }
.amenity-grid.is-open li.is-extra { display: flex; }
.review.is-extra[hidden] { display: none; }
.review-reply {
    margin-top: .75rem; padding: .75rem .9rem; border-left: 3px solid var(--brand);
    background: var(--surface-2); border-radius: 0 10px 10px 0; font-size: .88rem;
}
.review-reply strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); margin-bottom: .2rem; }
.review-reply p { margin: 0; }
.verified-tag { display: inline-flex; align-items: center; gap: .2rem; color: var(--ok); font-weight: 600; }
.rating-hero { text-align: center; margin: 0 0 1.6rem; }
.rating-hero-num { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; }
.rating-hero-num .rating-big-num { font-size: clamp(3rem, 8vw, 5rem); font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.gf-laurel { display: inline-flex; flex-shrink: 0; width: clamp(32px, 6vw, 52px); }
.gf-laurel svg { display: block; width: 100%; height: auto; }
.gf-laurel-right svg { transform: scaleX(-1); }
.gf-review-body { margin-top: .6rem; }
.gf-review-title { font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.gf-review-sub { color: var(--ink-soft); font-size: .9rem; line-height: 1.4; max-width: 400px; margin: .25rem auto 0; }
.rating-cats {
    list-style: none; padding: 0; margin: 0 auto 1.8rem; display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: .85rem;
    max-width: 980px;
}
.rating-cats li {
    display: flex; flex-direction: column; gap: .3rem;
    min-height: 104px; padding: 0 .8rem; border-left: 1px solid var(--line);
}
.rating-cats li:first-child { border-left: 0; padding-left: 0; }
.rating-cats li:last-child { padding-right: 0; }
.rating-cat-name { font-weight: 600; font-size: .85rem; }
.rating-cats strong { font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.rating-cat-icon { margin-top: auto; display: inline-flex; color: var(--ink); }
.mini-dist { display: flex; flex-direction: column; gap: .22rem; margin-top: .2rem; }
.mini-dist-row { display: flex; align-items: center; gap: .3rem; }
.mini-dist-label { font-size: .62rem; color: var(--ink-soft); width: .7rem; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.mini-dist-track { flex: 1; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.mini-dist-fill { display: block; height: 100%; background: var(--ink); border-radius: 2px; }
.rating-distribution { max-width: 620px; margin: 1.8rem auto 0; }
.rating-distribution-title {
    font-size: 1.1rem; font-weight: 600; margin: 0 0 .9rem; text-align: left;
}
.rating-distribution .rating-bars { margin: 0; }
.review-form { margin-top: 1.75rem; }
.review-form h3 { margin-bottom: .35rem; }
.rating-more { margin: .5rem 0 1rem; }
.rating-more summary { cursor: pointer; font-size: .85rem; font-weight: 600; }
.meet-host-title { margin-bottom: 1.5rem; }
.host-meet-grid { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.host-profile-card {
    display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
    min-height: 260px; padding: 1.75rem; border: 1px solid var(--line-soft); border-radius: 28px;
    background: var(--surface); box-shadow: 0 14px 36px rgba(0, 0, 0, .09);
}
.host-profile-head { display: grid; justify-items: start; gap: .85rem; text-align: left; min-width: 0; }
.host-avatar-xl {
    display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%;
    background: var(--surface-2); color: var(--ink); font-size: 2.4rem; font-weight: 600;
}
.host-avatar-img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; display: block; }
.host-avatar-sm-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block; }
.host-profile-name { display: grid; gap: .3rem; }
.host-profile-name strong { font-size: 1.9rem; line-height: 1.1; overflow-wrap: anywhere; }
.host-profile-name span { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink-soft); font-size: .9rem; }
.host-stats { display: grid; grid-template-columns: 1fr; gap: .85rem; padding: 0 0 0 1.25rem; margin: 0; border: 0; border-left: 1px solid var(--line); min-width: 110px; }
.host-stats > div { display: grid; gap: .1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line-soft); }
.host-stats > div:last-child { border-bottom: 0; padding-bottom: 0; }
.host-stats strong { font-size: 1.7rem; line-height: 1.15; }
.host-stats span { color: var(--ink); font-size: .8rem; }
.host-details h3 { margin: .1rem 0 .7rem; font-size: 1.25rem; }
.host-details h3:not(:first-child) { margin-top: 1.5rem; }
.host-bio { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin-bottom: 1.25rem; }
.host-info { margin: 0 0 1.25rem; gap: .65rem; }
.host-info li { display: flex; align-items: flex-start; gap: .75rem; color: var(--ink); font-size: 1rem; }
.host-info li svg { flex: 0 0 auto; }
.host-message-btn { min-height: 52px; padding-inline: 1.25rem; }
.host-safety-note { display: flex; align-items: flex-start; gap: .7rem; border-top: 1px solid var(--line); margin: 1.7rem 0 0; padding-top: 1rem; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.host-safety-note svg { flex: 0 0 auto; }
.host-safety-note .safety-shield { color: var(--brand, #FF385C); }
.map-frame {
    border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft);
    background: var(--surface-2); line-height: 0;
}
.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; }
.nearby h2 { margin-bottom: 1.25rem; }
.report-link { margin-top: 1rem; text-align: center; font-size: .82rem; }
.report-link a { color: var(--ink-soft); text-decoration: underline; }
.quote-note { font-size: .85rem; color: var(--danger); margin: .25rem 0 .85rem; }

/* ---------- CMS pages / FAQ ---------- */
.cms-wrap { padding: 2rem 0 3rem; }
.cms-card {
    max-width: 820px; margin-inline: auto; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 24px 54px -44px rgba(0, 0, 0, .55);
}
.cms-card h1 { letter-spacing: -.02em; margin-bottom: .75rem; }
.cms-head { margin-bottom: 1.25rem; }
.cms-foot { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); }
.cms-how, .cms-faq { margin-top: 2rem; }
.cms-body { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.cms-body h2 { margin: 1.75rem 0 .6rem; font-size: 1.15rem; color: var(--ink); }
.cms-body h3 { margin: 1.35rem 0 .5rem; font-size: 1rem; color: var(--ink); }
.cms-body p { margin: 0 0 1rem; }
.cms-body a { color: var(--brand); text-decoration: underline; }
.cms-steps { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .85rem; }
.cms-steps li {
    display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.15rem;
    border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface);
}
.cms-steps .dotnum {
    display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto;
    border-radius: 50%; background: var(--brand-grad); color: #fff; font-weight: 700; font-size: .85rem;
}
.cms-steps strong { display: block; color: var(--ink); }
.cms-steps span { font-size: .9rem; }

.faq-list { display: grid; gap: .75rem; }
.faq-group { margin-bottom: 1.75rem; }
.faq-group h2 { font-size: 1.05rem; margin-bottom: .75rem; color: var(--ink); }
.faq-item {
    border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface);
    padding: 1rem 1.15rem;
}
.faq-item summary { cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; line-height: 1; color: var(--ink-soft); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: .75rem 0 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-wrap { padding: 2rem 0 3rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.contact-grid:has(> .contact-card:only-child) { grid-template-columns: minmax(0, 680px); justify-content: center; }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-aside { display: grid; gap: 1rem; }
.contact-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.35rem; }
.contact-card h3 { font-size: .95rem; margin-bottom: .5rem; }
.contact-card p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.contact-context {
    display: flex; gap: .85rem; align-items: center; padding: .75rem; margin-bottom: 1.15rem;
    border: 1px solid var(--line-soft); border-radius: 14px; background: var(--surface-2);
}
.contact-context img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.contact-facts { list-style: none; padding: 0; margin: 1.35rem 0 0; display: grid; gap: .9rem; }
.contact-facts li { display: flex; align-items: flex-start; gap: .7rem; font-size: .92rem; color: var(--ink-soft); }
.contact-facts li > svg { flex: 0 0 auto; margin-top: 2px; color: var(--brand); }
.contact-facts li strong { display: block; color: var(--ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-property { display: flex; gap: .9rem; align-items: center; }
.contact-property img { width: 88px; height: 68px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.contact-property > div { min-width: 0; display: grid; gap: .1rem; }
.contact-property strong { font-size: .95rem; }
.contact-property .link-btn { justify-self: start; margin-top: .35rem; }

/* ---------- Account dashboard ---------- */
.account-wrap { padding: 2rem 0 3rem; }
.account-head { display: flex; align-items: center; gap: 1.15rem; margin-bottom: 1.75rem; }
.account-avatar {
    width: 62px; height: 62px; border-radius: 50%; background: var(--brand-grad); color: #fff;
    display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; flex: 0 0 auto;
}
.account-head h1 { margin: 0 0 .15rem; font-size: 1.55rem; letter-spacing: -.02em; }
.account-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line-soft); padding-bottom: .85rem; }
.account-nav a {
    padding: .5rem .95rem; border-radius: 22px; font-size: .88rem; font-weight: 600;
    border: 1px solid transparent; color: var(--ink-soft);
}
.account-nav a:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.account-nav a.is-active { background: var(--ink); color: #fff; }
.account-section { margin-bottom: 2.25rem; scroll-margin-top: 100px; }
.res-list { display: grid; gap: 1rem; }
.res-card {
    display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 1.25rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
    padding: 1rem; align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 16px 34px -30px rgba(0, 0, 0, .5);
}
.res-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 12px; }
.res-card h3 { margin: 0 0 .15rem; font-size: 1rem; }
.res-meta { font-size: .86rem; color: var(--ink-soft); display: grid; gap: .15rem; }
.res-card .row-actions { justify-content: flex-end; }
.res-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.35rem; align-items: start; }
.msg-thread { border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: .85rem; background: var(--surface); }
.msg-thread h3 { font-size: .95rem; margin-bottom: .25rem; }
.msg-reply { margin: .75rem 0 0 .5rem; padding: .6rem .85rem; border-left: 3px solid var(--line); font-size: .9rem; }
.msg-reply.from-admin { border-left-color: var(--brand); }
.msg-reply.from-customer { border-left-color: var(--ok); }
.account-head-actions { margin-left: auto; display: flex; gap: .5rem; }
.account-h2 { font-size: 1.15rem; margin-bottom: .35rem; }
.res-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.35rem; }
.cancel-form {
    grid-column: 1 / -1; margin-top: .85rem; padding: .9rem 1.05rem;
    border: 1px dashed var(--line); border-radius: 12px; background: var(--surface-2);
}
.cancel-form[hidden] { display: none; }
.cancel-form label { font-size: .82rem; }
.btn-danger { background: #C13515; border-color: #C13515; color: #fff; }
.btn-danger:hover { background: #A82C10; border-color: #A82C10; color: #fff; }

/* ---------- Identity verification (KYC) ---------- */
.verify-intro { border: 1px solid var(--line-soft); }
.verify-intro-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.verify-intro-head h2 { margin-bottom: .35rem; }
.verify-steps {
    list-style: none; counter-reset: vstep; padding: 0; margin: 1.15rem 0 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .85rem;
}
.verify-steps li {
    counter-increment: vstep; position: relative; padding: .85rem .95rem .85rem 2.75rem;
    border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface-2); font-size: .87rem;
}
.verify-steps li::before {
    content: counter(vstep); position: absolute; left: .8rem; top: .8rem;
    width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff;
    display: grid; place-items: center; font-size: .76rem; font-weight: 700;
}
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.doc-item {
    display: flex; align-items: flex-start; justify-content: space-between; gap: .85rem;
    padding: .8rem .9rem; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface);
}
.doc-item-actions { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.doc-item-actions form { margin: 0; }
.doc-note { margin-top: .3rem; color: var(--danger); }
.reject-form input[type="text"] { width: 170px; margin: 0; padding: .42rem .6rem; font-size: .82rem; }

/* ---------- Slim table for invoices ---------- */
.table-scroll { overflow-x: auto; }

/* ---------- Extra payment status pills ---------- */
.pay-partially_paid { background: #FFF4D6; color: #8A6100; }
.pay-overdue        { background: #FDECEA; color: #C13515; }
.pay-refunded       { background: #EDEBFF; color: #4B3FC4; }
.pill-new     { background: #E8F0FE; color: #1A73E8; }
.pill-read    { background: var(--surface-2); color: var(--ink-soft); }
.pill-replied { background: var(--ok-bg); color: var(--ok); }
.pill-archived { background: var(--line-soft); color: var(--ink-soft); }

/* ---------- Footer (new structure) ---------- */
.site-footer { padding: 3.5rem 0 1.25rem; background: #F7F7F7; }
.footer-top { width: min(1800px, 100% - 4rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-brand { display: grid; gap: .45rem; align-content: start; }
.footer-brand .brand-mark { margin-bottom: .35rem; }
.footer-brand strong { font-size: 1.05rem; }
.footer-brand .muted { margin: 0; font-size: .88rem; }
.footer-social { display: flex; gap: 1rem; margin: .35rem 0 0; }
.footer-social a { font-size: .85rem; font-weight: 600; text-decoration: underline; }
.footer-col h4 { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .85rem; }
.footer-h4-gap { margin-top: 1.35rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; font-size: .95rem; }
.footer-col li { color: var(--ink-soft); }
.footer-col li small { display: block; color: var(--ink-muted, #6b7280); font-size: .8rem; margin-top: .15rem; }
.footer-legal { flex: 1 1 320px; }
.footer-links { display: flex; gap: 1rem; }
.footer-bottom { width: min(1800px, 100% - 4rem); }
.footer-meta {
    width: min(1800px, 100% - 4rem); display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; margin-top: 2.5rem; padding: 1rem 0; border-top: 1px solid var(--line);
}
.footer-meta p { margin: 0; color: var(--ink-soft); font-size: .86rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; }
.footer-social a { color: var(--ink); font-size: .88rem; font-weight: 600; }

/* ---------- Responsive: marketplace ---------- */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}
@media (max-width: 1024px) {
    .header-search { display: none; }
    .search-layout { grid-template-columns: 1fr; }
    .filters {
        position: fixed; inset: 0 0 0 auto; z-index: 250; width: min(360px, 88vw);
        max-height: none; border-radius: 0; transform: translateX(102%);
        transition: transform .28s cubic-bezier(.2, .7, .2, 1); padding: 1.35rem;
    }
    .filters.is-open { transform: none; }
    .filters-head [data-filter-close] { display: inline-flex; }
    .filters-toggle { display: inline-flex; }
    .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .res-card { grid-template-columns: 120px minmax(0, 1fr); }
    .res-card .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 860px) {
    .hero-inner { padding: 4rem 0 2.5rem; }
    .search-bar { flex-direction: column; gap: .35rem; border-radius: 20px; padding: .6rem; }
    .sb-field { border-left: 0 !important; padding: .5rem .85rem; background: var(--surface-2); border-radius: 14px; }
    .sb-guests { max-width: none; }
    .sb-go { margin: .15rem; justify-content: center; padding: .85rem 1rem; }
    .account-nav { overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 720px) {
    .p-grid, .p-grid-wide, .p-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; }
    .dest-grid, .dest-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .res-card { grid-template-columns: 1fr; }
    .res-card img { height: 170px; }
    .section { padding: 1.75rem 0 .25rem; }
    .hero { border-radius: 0 0 22px 22px; }
    .cms-card { padding: 1.35rem; }
    .lightbox-thumbs { display: none; }
}
@media (max-width: 560px) {
    .feature-strip, .mini-list, .how-steps { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .results-tools { width: 100%; justify-content: space-between; }
    .res-card img { height: 150px; }
}
@media (max-width: 460px) {
    .p-grid, .p-grid-wide, .p-grid-3 { grid-template-columns: 1fr; }
    .dest-grid, .dest-grid-wide { grid-template-columns: 1fr 1fr; }
}

/* ---------- Header: compact on small screens ---------- */
@media (max-width: 1280px) {
    .header-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 420px) minmax(0, 1fr); }
}
@media (max-width: 1024px) {
    /* Search collapses out of the bar; brand and menu remain */
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
    .header-actions { grid-column: 2; }
}
@media (max-width: 740px) {
    .brand-text small { display: none; }
}
@media (max-width: 620px) {
    .header-inner { gap: .5rem .75rem; padding: .6rem 0; min-height: 64px; }
}
@media (max-width: 560px) {
    .header-pickers { display: none; }
    .brand-text strong { font-size: 1.05rem; }
    .host-link { display: none; }
}

/* ---------- Print additions ---------- */
@media print {
    .account-nav, .site-header, .site-footer { display: none !important; }
}

/* =========================================================
   ADMIN CONSOLE
   ========================================================= */
.nav-count {
    display: inline-block; min-width: 18px; padding: 0 5px; margin-inline-start: .35rem;
    background: var(--brand); color: #fff; border-radius: 11px;
    font-size: .7rem; font-weight: 700; text-align: center; line-height: 18px;
}
.admin-main h1 { font-size: 1.7rem; font-weight: 700; margin-bottom: .3rem; letter-spacing: -.02em; }
.admin-main .muted { color: var(--ink-soft); }
.admin-h2 {
    font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink-soft); font-weight: 700;
    margin: 2rem 0 .8rem;
}
.admin-h2:first-of-type { margin-top: 1.4rem; }
.admin-head { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-head p.muted { margin-bottom: 0; }
.admin-head-actions { margin-inline-start: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-stack { display: grid; gap: 1.15rem; align-content: start; }
.card-head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head-row h2 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.link-small { font-size: .84rem; font-weight: 600; color: var(--brand); }
.link-small:hover { color: var(--brand-dk); }
.stat strong.is-alert { color: var(--danger); }
.pill-paid { background: var(--ok-bg); color: var(--ok); }

/* Sub-navigation inside admin screens */
.admin-tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1.35rem; border-bottom: 1px solid var(--line); }
.admin-tabs a {
    padding: .6rem .95rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft);
    border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 8px 8px 0 0;
}
.admin-tabs a:hover { color: var(--ink); text-decoration: none; background: var(--surface-2); }
.admin-tabs a.is-active { color: var(--ink); border-bottom-color: var(--brand); background: transparent; }
.admin-tabs .count { color: var(--ink-soft); font-weight: 500; }

/* Forms */
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-full { grid-column: 1 / -1; }
.form-section { margin-bottom: 1.15rem; }
.form-section > h3 { font-size: .95rem; margin-bottom: .15rem; }
.form-section > p.muted { margin-bottom: .9rem; font-size: .86rem; }
textarea { font-family: inherit; font-size: .95rem; width: 100%; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); resize: vertical; }
.admin-body .field-row { display: flex; gap: .5rem; align-items: center; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; margin-top: 1rem; align-items: start; }
.admin-details > summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--brand); }
.hint { display: block; font-size: .78rem; color: var(--ink-soft); margin-top: .2rem; }

/* Ticket / list rows used by enquiries and customers */
.list-cards { display: grid; gap: .85rem; }
.list-row {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem;
    align-items: start; padding: 1rem 1.15rem; border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg); background: var(--surface);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.list-row:hover { box-shadow: 0 4px 14px rgba(0,0,0,.06); border-color: var(--line); }
.list-row h3 { font-size: 1rem; margin-bottom: .2rem; }
.list-row.is-unread { border-color: var(--brand); box-shadow: inset 3px 0 0 var(--brand), 0 1px 3px rgba(0,0,0,.04); }
.list-meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .82rem; color: var(--ink-soft); }
.list-actions { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }

/* Image management */
.image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .85rem; }
.image-tile { border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: var(--surface-2); position: relative; }
.image-tile img { width: 100%; height: 108px; object-fit: cover; display: block; }
.image-tile.is-main { outline: 2px solid var(--brand); outline-offset: -2px; }
.image-tile .tile-body { padding: .5rem .6rem; display: grid; gap: .35rem; }
.image-tile .tile-body input { font-size: .78rem; padding: .3rem .45rem; }
.tile-flag {
    position: absolute; top: .45rem; left: .45rem; background: var(--brand); color: #fff;
    font-size: .68rem; font-weight: 700; padding: .1rem .45rem; border-radius: 8px;
}
.tile-actions { display: flex; gap: .3rem; }

/* Admin calendar */
.cal-legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink-soft); margin-bottom: 1rem; }
.cal-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.cal-admin { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-admin .cal-dow { text-align: center; font-size: .7rem; color: var(--ink-soft); padding: .35rem 0; font-weight: 600; }
.cal-admin .day {
    min-height: 74px; border: 1px solid var(--line-soft); border-radius: 8px;
    padding: .3rem .35rem; font-size: .74rem; background: var(--surface); overflow: hidden;
}
.cal-admin .day.is-out { background: var(--surface-2); color: var(--ink-faint); }
.cal-admin .day .dnum { font-weight: 700; font-size: .8rem; }
.cal-admin .day .ev {
    display: block; margin-top: .15rem; padding: .1rem .3rem; border-radius: 5px;
    font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal-admin .day .ev.booked { background: var(--ok-bg); color: var(--ok); }
.cal-admin .day .ev.pending { background: var(--warn-bg); color: var(--warn); }
.cal-admin .day .ev.blocked { background: var(--line-soft); color: var(--ink-soft); }
.cal-admin .day.is-today { box-shadow: inset 0 0 0 2px var(--ink); }

/* Key/value summary */
.kv { display: grid; grid-template-columns: minmax(140px, 40%) minmax(0, 1fr); gap: .45rem 1rem; font-size: .9rem; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; }

/* Row action that expands in place (review replies) */
.inline-details { display: inline-block; }
.inline-details > summary { list-style: none; cursor: pointer; }
.inline-details > summary::-webkit-details-marker { display: none; }
.reply-form { display: grid; gap: .45rem; margin-top: .5rem; min-width: 280px; }
.reply-form textarea { font-size: .85rem; padding: .5rem .6rem; }

/* Review guest avatar (admin table) */
.review-guest-cell { display: flex; align-items: center; gap: .65rem; }
.review-guest-avatar {
    width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
    background: var(--surface-2); flex-shrink: 0;
}
.review-guest-avatar--init {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-grad); color: #fff; font-weight: 700; font-size: .9rem;
}

/* Avatar preview in review form */
.avatar-preview-row {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: .85rem;
    padding: .6rem 0 .2rem;
}
.avatar-preview {
    width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
    background: var(--surface-2); border: 2px solid var(--line-soft);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.avatar-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-preview-fallback {
    font-size: 1.3rem; font-weight: 700; color: #fff;
    background: var(--brand-grad);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
}
.avatar-preview-hint { display: flex; flex-direction: column; line-height: 1.3; }
.avatar-preview-hint strong { font-size: .88rem; }

/* Responsive: collapse sidebar on small screens */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform .25s ease;
        box-shadow: 8px 0 30px rgba(0,0,0,.3);
    }
    .admin-sidebar.is-open { transform: translateX(0); }
    .admin-shell { margin-left: 0; }
    .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .admin-topbar { padding: .6rem 1rem; }
}
@media (max-width: 900px) {
    .admin-columns { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: 1 / -1; }
    .admin-user-info { display: none; }
}
@media (max-width: 620px) {
    .list-row { grid-template-columns: 1fr; }
    .list-actions { justify-content: flex-start; }
    .kv { grid-template-columns: 1fr; gap: .15rem; }
    .kv dd { margin-bottom: .5rem; }
    .admin-main { padding: 1.2rem 0 2.5rem; }
}

/* =============================================================
   LISTING PAGE - section sub-nav, guest selector, review highlights
   ============================================================= */

/* Sticky sub-navigation under the header (Photos / Amenities / Reviews / Location) */
.listing-subnav {
    position: sticky; top: 80px; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin: .5rem 0 1.35rem; padding: .15rem 0;
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
}
.subnav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; overflow-x: auto; scrollbar-width: none; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-link {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
    padding: .6rem 0; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
    border-bottom: 2px solid transparent; text-decoration: none;
}
.subnav-link:hover { color: var(--ink); text-decoration: none; }
.subnav-link.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.subnav-link .icon { color: currentColor; }
.subnav-cta { display: flex; align-items: center; gap: 1rem; flex: 0 0 auto; }
.subnav-rating { display: inline-flex; align-items: center; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--ink); }

/* Guest selector with +/- stepper */
.guest-field {
    position: relative; border: 1px solid var(--line); border-radius: 10px;
    margin-bottom: 1rem; background: var(--surface);
}
.guest-toggle {
    width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    background: transparent; border: 0; padding: .6rem .8rem; cursor: pointer; font: inherit; text-align: left;
}
.guest-toggle:hover { background: var(--surface-2); border-radius: 10px; }
.guest-toggle-label { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; color: var(--ink); }
.guest-toggle-value { font-size: .92rem; color: var(--ink); }
.guest-popover {
    position: absolute; left: .4rem; right: .4rem; top: calc(100% + .35rem); z-index: 30;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 1rem; display: grid; gap: .9rem;
}
.guest-popover[hidden] { display: none; }
.guest-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.guest-row-text strong { display: block; font-size: .98rem; }
.guest-row-text small { font-size: .8rem; }
.guest-stepper { display: flex; align-items: center; gap: .75rem; }
.guest-step {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font-size: 1.05rem; line-height: 1; cursor: pointer;
    display: grid; place-items: center; font-family: inherit;
}
.guest-step:hover:not(:disabled) { border-color: var(--ink); }
.guest-step:disabled { color: var(--ink-faint); cursor: not-allowed; }
.guest-count { min-width: 1.2rem; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* "What guests highlight" chips */
.review-highlights { margin: 0 0 1.75rem; }
.review-highlights-title {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .95rem; font-weight: 600; margin-bottom: .85rem;
}
.hl-chips { display: flex; flex-wrap: wrap; gap: .75rem; }
.hl-chip {
    display: inline-flex; align-items: center; gap: .7rem;
    border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem 1rem; background: var(--surface);
}
.hl-chip-icon { display: inline-flex; color: var(--ink); }
.hl-chip-text { display: grid; line-height: 1.15; }
.hl-chip-text strong { font-size: .95rem; }
.hl-chip-text small { color: var(--ink-soft); font-size: .82rem; }

/* Neighbourhood blurb + operating registration */
.neighbourhood { margin-top: 1.25rem; }
.neighbourhood h3 { font-size: 1rem; margin-bottom: .3rem; }
.registration-note {
    display: flex; align-items: flex-start; gap: .6rem;
    margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-soft);
    color: var(--ink-soft); font-size: .88rem;
}
.registration-note svg { flex: 0 0 auto; }

/* Footer language & currency selectors */
.footer-settings {
    width: min(1800px, 100% - 4rem);
    display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
    margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.footer-btn { position: relative; display: inline-block; }
.footer-btn__trigger {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: 6px 8px; margin: 0; border: 0; border-radius: 12px;
    background: transparent; color: var(--ink); font-size: .88rem; font-weight: 600;
    cursor: pointer; line-height: 1.2;
}
.footer-btn__trigger:hover { background: #f2f2f2; }
.footer-btn__icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; }
.footer-btn__icon .icon { width: 16px; height: 16px; display: block; }
.footer-btn__menu {
    position: absolute; bottom: calc(100% + 8px); left: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    min-width: 180px; max-height: 320px; overflow-y: auto;
    padding: 8px; z-index: 100;
}
.footer-btn__menu[hidden] { display: none; }
.footer-btn__option {
    display: block; padding: 8px 12px; border-radius: 8px;
    color: var(--ink); text-decoration: none; font-size: .9rem;
}
.footer-btn__option:hover { background: #f7f7f7; }
.footer-btn__option.is-active { font-weight: 700; }

@media (max-width: 1024px) {
    .listing-subnav { top: 64px; }
}
@media (max-width: 860px) {
    .listing-subnav { gap: .5rem; }
    .subnav-rating { display: none; }
}
@media (max-width: 620px) {
    .subnav-links { gap: 1.1rem; }
    .subnav-link { font-size: .86rem; }
    .listing-subnav { margin-bottom: 1rem; }
    .footer-settings { width: min(1200px, 100% - 1.75rem); }
}

/* =============================================================
   Listing page - things to know, host, location, reviews tweaks
   ============================================================= */

/* Things to know - Airbnb-style icon cards */
.know-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.75rem 2rem; }
.know-col { display: flex; align-items: flex-start; gap: .85rem; }
.know-icon { display: inline-flex; flex: 0 0 auto; }
.know-icon .icon { width: 32px; height: 32px; }
.know-icon--door { color: #8A6D3B; }
.know-icon--clipboard { color: #5B7BA8; }
.know-icon--shield { color: #E61E4D; }
.know-icon--calendar { color: #8A6D3B; }
.know-text { min-width: 0; }
.know-col h3 { font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0 0 .15rem; line-height: 1.3; }
.know-col .muted { font-size: .9rem; margin: 0; color: var(--ink-soft); line-height: 1.4; }
.know-more { display: inline-block; margin-top: .5rem; }

/* Cancellation policy modal */
.modal-overlay[hidden] { display: none; }
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
}
.modal {
    background: #fff; border-radius: 24px; width: 100%; max-width: 720px;
    max-height: 90vh; overflow-y: auto; padding: 2.5rem 2.5rem 2rem;
    position: relative; box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.modal__close {
    position: absolute; top: 1rem; right: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; padding: 0;
    border: none; background: transparent; border-radius: 50%;
    cursor: pointer; color: var(--ink); z-index: 2;
}
.modal__close:hover { background: #f2f2f2; }
.modal__close .icon { pointer-events: none; display: block; }
.modal__title {
    font-size: 2rem; font-weight: 700; color: var(--ink);
    margin: 0 0 1.75rem; line-height: 1.2;
}
.cancel-rule {
    display: grid; grid-template-columns: 1fr 2fr; gap: 1rem;
    padding: 1.25rem 0; border-bottom: 1px solid #ebebeb;
}
.cancel-rule:last-of-type { border-bottom: none; }
.cancel-rule__left { display: flex; flex-direction: column; gap: .15rem; }
.cancel-rule__right { display: flex; flex-direction: column; gap: .15rem; }
.cancel-rule__when { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.cancel-rule__date { font-size: 1.05rem; color: var(--ink); }
.cancel-rule__time { font-size: 1.05rem; color: var(--ink); }
.cancel-rule__type { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.cancel-rule__desc { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.4; }
.cancel-note { font-size: .95rem; color: var(--ink-soft); margin: 1.5rem 0; }
.cancel-section { margin-top: 1.5rem; }
.cancel-section h3 { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 0 0 .5rem; }
.cancel-section .muted { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.cancel-link { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.cancel-link:hover { color: var(--brand); }
.cancel-link--block { display: inline-block; font-size: 1.15rem; font-weight: 600; }

/* Host section */
.superhost-tag {
    display: inline-flex; align-items: center; gap: .25rem;
    font-size: .82rem; color: var(--ink); font-weight: 500; margin-top: .15rem;
}
.superhost-tag .icon { color: var(--brand); }
.host-role { display: inline-flex; align-items: center; gap: .25rem; font-size: .82rem; color: var(--ink-soft); margin-top: .15rem; }

/* Location map */
.location-sub { font-size: .95rem; color: var(--ink-soft); margin: 0 0 1.25rem; }
.map-frame { position: relative; }
.map-search-pill {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; padding: .7rem 1.1rem; border-radius: 999px;
    box-shadow: 0 2px 16px rgba(0,0,0,.18); font-size: .92rem; font-weight: 500; color: var(--ink);
    pointer-events: none;
}
.map-search-pill .icon { color: var(--ink-soft); }
.location-exact { font-size: .88rem; margin: .75rem 0 0; }

/* Reviews - Airbnb style */
.review-meta-line {
    display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
    margin: .25rem 0 .6rem;
}
.review-meta-line .review-stars { margin-inline-start: 0; }
.review-body { margin: 0; line-height: 1.5; }
.review-body.is-truncated {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.link-btn {
    background: none; border: 0; padding: 0; margin: .4rem 0 0;
    font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink);
    text-decoration: underline; cursor: pointer;
}
.link-btn:hover { color: var(--ink-soft); }
.reviews-footer {
    display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; flex-wrap: wrap;
}

/* Responsive: things-to-know collapses to 2 cols, then 1 */
@media (max-width: 900px) {
    .know-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .know-cols { grid-template-columns: 1fr; }
}



