:root {
    --bg: #f3ede4;
    --bg-soft: #f8f5ef;
    --surface: rgba(255,255,255,0.84);
    --surface-strong: #fffdf9;
    --surface-dark: #231b17;
    --text: #241a14;
    --muted: #75665c;
    --muted-2: #9b8b80;
    --border: rgba(66, 42, 22, 0.12);
    --border-strong: rgba(66, 42, 22, 0.18);
    --primary: #2b211c;
    --accent: #9b6c43;
    --accent-soft: #efe1d1;
    --success: #2d6a4f;
    --warning: #b56a1e;
    --danger: #a04532;
    --shadow: 0 24px 60px rgba(35, 27, 23, 0.10);
    --shadow-soft: 0 12px 30px rgba(35, 27, 23, 0.08);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --shell: min(1240px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(205, 174, 138, 0.20), transparent 22%),
        radial-gradient(circle at top right, rgba(140, 107, 70, 0.12), transparent 20%),
        linear-gradient(180deg, #f7f2ea 0%, #f3ede4 40%, #f7f2ea 100%);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }

.shell {
    width: var(--shell);
    margin: 0 auto;
}

main { min-height: calc(100vh - 220px); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(247, 242, 234, 0.86);
    border-bottom: 1px solid rgba(66, 42, 22, 0.08);
    backdrop-filter: blur(18px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 86px;
}

.brand,
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-mark,
.footer-mark {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.04em;
}

.brand-copy,
.footer-copy-top {
    font-size: .72rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    color: var(--muted);
    font-weight: 600;
    font-size: .96rem;
    padding: 10px 14px;
    border-radius: 999px;
    transition: .25s ease;
}

.site-nav a:hover,
.site-nav a.active-link {
    color: var(--text);
    background: rgba(255,255,255,.72);
}

.hero {
    padding: 28px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.search-card,
.content-card,
.property-card,
.booking-card,
.auth-card,
.detail-card,
.admin-stat,
.portal-kpi,
.table-wrap,
.empty-state,
.summary-card,
.detail-sidebar-card,
.gallery-wrap,
.filter-bar,
.narrative-panel,
.fact-grid,
.breadcrumb-bar,
.callout-banner {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    background: var(--surface);
    backdrop-filter: blur(14px);
}

.hero-copy {
    position: relative;
    overflow: hidden;
    padding: 60px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(32, 22, 18, 0.10), rgba(32, 22, 18, 0.76)),
        linear-gradient(135deg, rgba(155,108,67,0.24), rgba(0,0,0,0.12)),
        url('https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,.20), transparent 30%);
    pointer-events: none;
}

.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 {
    margin: 14px 0 18px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: .96;
    letter-spacing: -0.05em;
    max-width: 9ch;
}
.hero-copy p {
    max-width: 54ch;
    font-size: 1.08rem;
    color: rgba(255,255,255,.85);
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}
.hero-facts {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.hero-fact {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.15);
}
.hero-fact strong {
    display: block;
    font-size: 1.15rem;
}
.hero-fact span {
    color: rgba(255,255,255,.76);
    font-size: .88rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0 14px;
    font-size: .76rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 800;
}
.hero-copy .eyebrow {
    width: fit-content;
    color: #f6e6d5;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
}

.search-card,
.content-card,
.booking-card,
.auth-card,
.detail-card,
.summary-card,
.detail-sidebar-card,
.admin-stat,
.portal-kpi,
.narrative-panel,
.callout-banner { padding: 30px; }
.center-card { text-align: center; }
.search-card h2,
.content-card h1,
.content-card h2,
.summary-card h2,
.detail-card h3,
.auth-card h1,
.confirmation-card h1,
.property-header h1,
.section-head h1,
.section-head h2,
.narrative-panel h2,
.callout-banner h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 10px 0 0;
}
.search-card h2 { font-size: 2.4rem; }
.section-head h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
.section-head h2,
.content-card h1,
.content-card h2,
.property-header h1,
.confirmation-card h1,
.callout-banner h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.detail-card h3,
.auth-card h1,
.summary-card h2,
.narrative-panel h2 { font-size: 2rem; }

.search-form,
.checkout-form,
.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group.grow { flex: 1 1 auto; }
.field-group.small { width: 150px; }
.field-span-2 { grid-column: span 2; }
label {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}
input,
select {
    width: 100%;
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(66,42,22,.10);
    background: rgba(255,255,255,.94);
    padding: 0 16px;
    color: var(--text);
    outline: none;
    transition: .2s ease;
}
input:focus,
select:focus {
    border-color: rgba(155,108,67,.45);
    box-shadow: 0 0 0 4px rgba(155,108,67,.10);
}

.filter-bar {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0 22px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: .01em;
    transition: .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, #2b211c, #4b3426);
    color: #fff;
    box-shadow: 0 18px 30px rgba(43,33,28,.16);
}
.btn-primary:hover { box-shadow: 0 20px 32px rgba(43,33,28,.22); }
.btn-secondary {
    background: rgba(255,255,255,.78);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-secondary:hover { background: #fff; }
.btn-light {
    background: rgba(255,255,255,.12);
    color: #fff;
    border-color: rgba(255,255,255,.18);
}
.btn-light:hover { background: rgba(255,255,255,.18); }
.full-width { width: 100%; }

.chip-row,
.toolbar-chips,
.status-row,
.footer-links,
.card-actions,
.meta-row,
.booking-summary-grid,
.inline-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.chip-row,
.toolbar-chips { margin-top: 18px; }
.chip,
.status-pill,
.info-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.72);
    color: var(--muted);
    font-weight: 700;
    font-size: .9rem;
}
.chip:hover,
.chip.active,
.info-chip {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
}
.status-pill { color: var(--text); }

.section { padding: 30px 0 64px; }
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 24px;
}
.section-head.small-gap { margin-bottom: 16px; }
.stacked-mobile { align-items: start; }
.muted,
.footer-copy,
.property-topline,
.property-meta,
.quote-row,
.calendar-legend,
.table-subtle,
.fact-grid p,
.narrative-panel p { color: var(--muted); }
.text-link {
    font-weight: 800;
    color: var(--accent);
}
.text-link:hover { text-decoration: underline; }
.lead {
    font-size: 1.06rem;
    max-width: 64ch;
    color: var(--muted);
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.property-card {
    overflow: hidden;
    transition: .28s ease;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(35,27,23,.14);
}
.property-image-link,
.property-image {
    display: block;
    width: 100%;
    height: 100%;
}
.property-image-link {
    aspect-ratio: 16 / 11;
    background: linear-gradient(135deg, #ddd0c1, #f3ede4);
}
.property-image { object-fit: cover; }
.property-content { padding: 24px; }
.property-topline,
.quote-row,
.footer-inner,
.property-header,
.booking-summary-row,
.kpi-line,
.invoice-item,
.timeline-row,
.table-card-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}
.property-topline {
    font-size: .85rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.property-content h3 {
    margin: 0 0 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2rem;
    line-height: 1;
}
.property-meta.large { margin-top: 10px; }
.amenity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.amenity-list span {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(155,108,67,.08);
    color: var(--text);
    font-size: .92rem;
}
.amenity-list.compact span { padding: 8px 10px; font-size: .84rem; }
.property-actions,
.card-actions { margin-top: 20px; }

.home-intro-grid,
.fact-grid,
.portal-kpi-grid,
.admin-grid,
.summary-stats,
.quote-benefits,
.auth-steps,
.checkout-layout,
.details-grid,
.property-layout {
    display: grid;
    gap: 24px;
}
.home-intro-grid { grid-template-columns: 1.1fr .9fr; }
.fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portal-kpi-grid,
.admin-grid,
.summary-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.checkout-layout,
.details-grid,
.property-layout { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); align-items: start; }
.quote-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auth-steps { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 18px; }

.fact-grid div,
.portal-kpi,
.admin-stat,
.auth-step {
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    border: 1px solid var(--border);
    padding: 22px;
}
.fact-grid strong,
.portal-kpi strong,
.admin-stat strong,
.auth-step strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.portal-kpi span,
.admin-stat span,
.auth-step span {
    color: var(--muted);
    font-size: .92rem;
}

.property-shell { padding-top: 12px; }
.property-header {
    align-items: start;
    margin-bottom: 26px;
}
.price-pill,
.booking-price {
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,242,234,.92));
    border: 1px solid var(--border-strong);
    padding: 16px 20px;
    border-radius: 22px;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}
.booking-price {
    font-size: 2rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
}
.booking-price span { font-size: 1rem; font-family: 'Inter', sans-serif; color: var(--muted); }

.gallery-grid { margin: 20px 0 28px; }
.property-gallery-section.shell {
    width: 100%;
    margin: 0;
}
.gallery-wrap {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.gallery-stage { overflow: hidden; border-radius: var(--radius-xl); }
.gallery-track {
    display: flex;
    transition: transform .3s ease;
}
.gallery-slide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    background: #ddd0c1;
}
.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.gallery-nav,
.lightbox-nav,
.lightbox-close {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(35,27,23,.55);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 2;
}
.gallery-nav.prev,
.lightbox-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.gallery-nav.next,
.lightbox-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.gallery-meta {
    margin: 12px 0 0;
    display: flex;
    justify-content: flex-end;
    color: var(--muted);
    font-weight: 700;
}
.gallery-thumbs {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.thumb-btn {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    min-width: 92px;
    cursor: pointer;
}
.thumb-btn.active { border-color: var(--accent); }
.gallery-thumb-image {
    width: 92px;
    height: 72px;
    object-fit: cover;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 80;
}
.lightbox-modal.open { display: block; }
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17,10,7,.76);
    backdrop-filter: blur(8px);
}
.lightbox-dialog {
    position: relative;
    width: min(1100px, calc(100% - 32px));
    margin: 48px auto;
    height: calc(100vh - 96px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 28px;
    object-fit: contain;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-weight: 700;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--border);
    font-weight: 700;
}
.muted-day { opacity: .35; }
.selected-day {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: transparent;
}
.calendar-legend {
    margin-top: 16px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: .92rem;
}
.legend-box {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--border);
    margin-right: 8px;
}
.legend-selected { background: var(--accent-soft); border-color: transparent; }

.details-block {
    margin-top: 14px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.details-block summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--accent);
}
.mt-12 { margin-top: 12px; }
.info-stack {
    display: grid;
    gap: 20px;
}
.info-stack.compact-gap { gap: 14px; }
.rule-list { margin: 0; padding-left: 18px; color: var(--muted); }
.rule-list li + li { margin-top: 8px; }
.quote-panel {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.quote-row.total,
.booking-summary-row.total,
.kpi-line.total {
    padding-top: 12px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
    color: var(--text);
}
.status-badge {
    margin-top: 16px;
    display: inline-flex;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
}
.status-warning { background: rgba(181,106,30,.10); color: var(--warning); }
.status-success { background: rgba(45,106,79,.10); color: var(--success); }

.summary-card {
    position: sticky;
    top: 110px;
}
.booking-summary-grid { margin-top: 18px; flex-direction: column; gap: 14px; }
.booking-summary-row strong { white-space: nowrap; }
.quote-benefits { margin-top: 18px; }
.quote-benefit {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.68);
    border: 1px solid var(--border);
}
.quote-benefit strong { display: block; margin-bottom: 4px; }

.auth-shell {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: stretch;
}
.auth-card .btn { margin-top: 18px; }
.form-error,
.field-validation {
    color: var(--danger);
    font-weight: 700;
    font-size: .92rem;
}
.form-error {
    margin: 12px 0 4px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(160,69,50,.08);
}
.auth-side {
    padding: 42px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(35,27,23,.14), rgba(35,27,23,.62)),
        url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?auto=format&fit=crop&w=1400&q=80') center/cover;
    color: #fff;
    box-shadow: var(--shadow);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.auth-side h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    margin: 12px 0;
}
.auth-side p,
.auth-step span { color: rgba(255,255,255,.82); }
.auth-step {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.14);
}
.auth-step strong { color: #fff; }

.confirmation-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.confirmation-card .info-stack {
    margin-top: 22px;
    text-align: left;
}
.confirmation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}

.empty-state {
    padding: 42px;
    text-align: center;
    color: var(--muted);
    font-weight: 700;
}
.spinner {
    width: 62px;
    height: 62px;
    border-radius: 999px;
    border: 5px solid rgba(155,108,67,.18);
    border-top-color: var(--accent);
    margin: 0 auto 18px;
    animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.portal-shell .section-head,
.admin-shell .section-head { align-items: start; }
.portal-kpi-grid,
.admin-grid { margin-bottom: 24px; }
.table-wrap {
    overflow: auto;
    padding: 8px;
}
.portal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}
.portal-table th,
.portal-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(66,42,22,.08);
    vertical-align: top;
}
.portal-table th {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted-2);
}
.invoice-item {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: start;
}
.invoice-item:first-child { border-top: 0; padding-top: 0; }
.details-hero-image {
    width: 100%;
    border-radius: 28px;
    max-height: 380px;
    object-fit: cover;
    margin-bottom: 22px;
    box-shadow: var(--shadow-soft);
}
.details-main,
.details-side { display: grid; gap: 20px; }
.detail-card p { margin: 0 0 10px; }
.detail-sidebar-card { position: sticky; top: 110px; }

.site-footer {
    margin-top: 34px;
    padding: 28px 0;
    background: rgba(35,27,23,.96);
    color: #fff;
}
.footer-inner {
    align-items: center;
}
.footer-copy {
    color: rgba(255,255,255,.70);
    max-width: 48ch;
}
.footer-links a {
    color: rgba(255,255,255,.78);
    font-weight: 700;
}
.footer-links a:hover { color: #fff; }

.callout-banner {
    background:
        linear-gradient(135deg, rgba(255,255,255,.82), rgba(239,225,209,.80));
}
.breadcrumb-bar {
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 700;
}

.admin-stat strong,
.portal-kpi strong { font-size: 2.2rem; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.narrative-panel ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.narrative-panel li + li { margin-top: 8px; }

@media (max-width: 1120px) {
    .hero-grid,
    .home-intro-grid,
    .auth-shell,
    .checkout-layout,
    .details-grid,
    .property-layout {
        grid-template-columns: 1fr;
    }
    .summary-card,
    .detail-sidebar-card { position: static; }
    .property-grid,
    .portal-kpi-grid,
    .admin-grid,
    .summary-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .topbar,
    .section-head,
    .property-header,
    .footer-inner {
        flex-direction: column;
        align-items: start;
    }
    .hero-copy,
    .search-card,
    .content-card,
    .booking-card,
    .auth-card,
    .detail-card,
    .summary-card,
    .detail-sidebar-card,
    .admin-stat,
    .portal-kpi,
    .narrative-panel,
    .callout-banner { padding: 24px; }
    .hero-copy { min-height: 500px; }
    .hero-facts,
    .property-grid,
    .portal-kpi-grid,
    .admin-grid,
    .summary-stats,
    .fact-grid,
    .quote-benefits,
    .auth-steps,
    .search-form,
    .checkout-form,
    .booking-form,
    .field-grid-2 {
        grid-template-columns: 1fr;
    }
    .field-span-2 { grid-column: span 1; }
    .site-nav { width: 100%; justify-content: flex-start; }
    .property-content h3 { font-size: 1.7rem; }
    .section-head h1,
    .section-head h2,
    .content-card h1,
    .content-card h2,
    .property-header h1,
    .confirmation-card h1 { font-size: 2.6rem; }
    .hero-copy h1 { font-size: 3.4rem; }
    .calendar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* =========================
   Checkout refresh
   ========================= */

.checkout-card {
    padding: 34px;
}

.checkout-form-modern {
    display: grid;
    gap: 24px;
}

.checkout-section {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(255,255,255,.56));
    box-shadow: var(--shadow-soft);
}

.checkout-section-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(66,42,22,.08);
}

    .checkout-section-head h2 {
        margin: 6px 0 0;
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-size: 2rem;
        line-height: 1;
        letter-spacing: -0.04em;
    }

    .checkout-section-head p {
        margin: 0;
        max-width: 34ch;
        color: var(--muted);
        font-size: .96rem;
    }

.section-kicker {
    display: inline-block;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.readonly-field {
    min-height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(66,42,22,.10);
    background: rgba(255,255,255,.94);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

    .readonly-field strong {
        font-size: .98rem;
    }

    .readonly-field span {
        color: var(--muted);
        font-size: .9rem;
    }

.payment-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.payment-option {
    position: relative;
    display: block;
    cursor: pointer;
}

    .payment-option input {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
    }

.payment-option-body {
    min-height: 108px;
    border-radius: 22px;
    border: 1px solid rgba(66,42,22,.12);
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow-soft);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: .22s ease;
}

.payment-option:hover .payment-option-body {
    transform: translateY(-2px);
    border-color: rgba(155,108,67,.28);
}

.payment-option-logo {
    width: 72px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(247,242,234,.98), rgba(239,225,209,.72));
    border: 1px solid rgba(66,42,22,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
}

    .payment-option-logo img {
        max-width: 52px;
        max-height: 30px;
        object-fit: contain;
    }

.payment-option-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .payment-option-copy strong {
        font-size: 1rem;
        color: var(--text);
    }

    .payment-option-copy small {
        color: var(--muted);
        font-size: .9rem;
    }

.payment-option input:focus-visible + .payment-option-body {
    border-color: rgba(155,108,67,.45);
    box-shadow: 0 0 0 4px rgba(155,108,67,.10);
}

.payment-option:has(input:checked) .payment-option-body {
    border-color: rgba(155,108,67,.42);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,225,209,.70));
    box-shadow: 0 18px 40px rgba(35,27,23,.10);
}

.payment-option:has(input:checked) .payment-option-copy strong {
    color: var(--accent);
}

.payment-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trust-pill {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(155,108,67,.08);
    border: 1px solid rgba(155,108,67,.12);
    color: var(--text);
    font-size: .9rem;
    font-weight: 700;
}

.policy-box {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(239,225,209,.44);
    border: 1px solid rgba(155,108,67,.16);
}

    .policy-box strong {
        display: block;
        margin-bottom: 6px;
    }

    .policy-box p {
        margin: 0;
        color: var(--muted);
    }

.checkout-actions {
    display: grid;
    gap: 12px;
}

.checkout-help-text {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: .92rem;
}

.checkout-summary-card {
    display: grid;
    gap: 18px;
}

.summary-hero {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(239,225,209,.72), rgba(255,255,255,.72));
    border: 1px solid rgba(66,42,22,.08);
}

.summary-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .summary-hero-copy strong {
        font-size: 1rem;
    }

    .summary-hero-copy span {
        color: var(--muted);
        font-size: .92rem;
    }

.checkout-benefits {
    grid-template-columns: 1fr;
}

.checkout-final-note {
    padding-top: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Better error presentation in checkout */
.checkout-form-modern .form-error:empty {
    display: none;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-section-head {
        grid-template-columns: 1fr;
        display: grid;
    }

    .payment-method-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .checkout-card {
        padding: 24px;
    }

    .checkout-section {
        padding: 20px;
        border-radius: 20px;
    }

    .payment-option-body {
        min-height: 96px;
    }
}

.payments-panel {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.payments-panel-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.payments-panel-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.payment-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid #eef2f7;
}

    .payment-accordion .accordion-item:last-child {
        border-bottom: 0;
    }

.payment-accordion .accordion-button {
    padding: 18px 22px;
    background: #ffffff;
    box-shadow: none;
}

    .payment-accordion .accordion-button:not(.collapsed) {
        background: #f8fafc;
        color: #0f172a;
        box-shadow: inset 4px 0 0 #0d6efd;
    }

    .payment-accordion .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

.payment-summary {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding-right: 14px;
}

.payment-provider {
    font-weight: 700;
    color: #111827;
}

.payment-reference {
    margin-top: 3px;
    font-size: 0.8rem;
    color: #64748b;
}

.payment-meta {
    text-align: right;
    white-space: nowrap;
}

.payment-amount {
    margin-top: 5px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.payment-status {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.payment-status-success {
    background: #dcfce7;
    color: #166534;
}

.payment-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.payment-status-failed {
    background: #fee2e2;
    color: #991b1b;
}

.payment-breakdown-body {
    padding: 18px 22px 22px;
    background: #f8fafc;
}

.payment-breakdown-table {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

    .payment-breakdown-table thead th {
        padding: 12px 14px;
        background: #f1f5f9;
        color: #475569;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid #e2e8f0;
    }

    .payment-breakdown-table tbody td {
        padding: 13px 14px;
        vertical-align: middle;
        border-color: #eef2f7;
    }

.charge-name {
    font-weight: 700;
    color: #0f172a;
}

.charge-code {
    margin-top: 2px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.charge-category {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 0.75rem;
    font-weight: 700;
}

.charge-amount {
    font-weight: 800;
    color: #0f172a;
}

.refundable-badge {
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 700;
}

.refundable-yes {
    background: #e0f2fe;
    color: #075985;
}

.refundable-no {
    background: #f1f5f9;
    color: #475569;
}

.payment-breakdown-table tfoot td {
    padding: 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-weight: 800;
}

.no-breakdown {
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    color: #64748b;
    font-size: 0.9rem;
    border: 1px dashed #cbd5e1;
}

@media (max-width: 768px) {
    .payment-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-meta {
        text-align: left;
    }

    .payment-breakdown-body {
        padding: 14px;
    }

    .payment-breakdown-table {
        font-size: 0.85rem;
    }
}