/* ============================================================
   Airbnb-Website — Phase 5 design system
   Warm, earthy "modern-Montessori" vibe: cream grounds, muted
   natural accents, clean type, generous space, restrained shape.
   ============================================================ */

:root {
    /* --- color --- */
    --cream: #F7F1E6;
    --cream-deep: #EFE6D6;
    --surface: #FFFDF9;
    --ink: #2A2622;
    --ink-soft: #6B6259;
    --line: #E3D7C4;

    --tangerine: #E0653B;
    --tangerine-deep: #C4522C;
    --sage: #7E8C5A;
    --ochre: #D8A64A;
    --slate: #5C7C8A;
    --clay: #E4B49E;

    /* --- type --- */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* --- shape --- */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(42, 38, 34, .05);
    --shadow: 0 2px 6px rgba(42, 38, 34, .05), 0 14px 34px rgba(42, 38, 34, .07);
    --shadow-lg: 0 30px 60px rgba(42, 38, 34, .12);

    --container: 1080px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------- layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    margin: 0;
}

.band {
    padding: 4.5rem 0;
}

.band--deep {
    background: var(--cream-deep);
}

.band--tight {
    padding: 3rem 0;
}

/* ---------- typography ---------- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0 0 .6rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--tangerine-deep);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--tangerine-deep);
    margin: 0 0 1rem;
}

.eyebrow::before {
    content: "";
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--tangerine);
}

.lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 60ch;
}

.section-head {
    max-width: 62ch;
    margin-bottom: 2.5rem;
}

/* ---------- site header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 241, 230, .82);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--ink);
}

.brand:hover {
    text-decoration: none;
}

.brand img {
    width: 30px;
    height: 30px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-weight: 500;
    font-size: .95rem;
}

.site-header nav a {
    color: var(--ink-soft);
}

.site-header nav a:hover {
    color: var(--ink);
    text-decoration: none;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--tangerine);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--tangerine-deep);
    box-shadow: var(--shadow);
}

.btn-primary:disabled {
    background: var(--clay);
    color: #fff;
    cursor: default;
    transform: none;
    box-shadow: none;
    opacity: .8;
}

.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-secondary:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
}

/* ---------- badges / pills / swatches ---------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.pill--sage { color: var(--sage); }
.pill--slate { color: var(--slate); }

.swatch-row {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.swatch {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 1px var(--line);
}

/* ---------- cards ---------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-pad {
    padding: 1.75rem;
}

/* ============================================================
   HERO (landing)
   ============================================================ */
.hero {
    padding: 3.5rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.5rem 0 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    align-items: center;
}

.hero-figure {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    background: var(--cream-deep);
}

/* Auto-crossfade slideshow: stacked images, the .is-active one shows through. */
.slideshow {
    position: relative;
}

.slideshow > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    pointer-events: none; /* only the visible image is clickable */
    transition: opacity 1.1s ease, transform .5s ease;
}

.slideshow > img.is-active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-in;
}

/* in-frame navigation arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.6rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 253, 249, .82);
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    opacity: .55;
    transition: opacity .2s ease, background .15s ease;
}

.slideshow:hover .slide-arrow,
.slideshow:focus-within .slide-arrow {
    opacity: 1;
}

.slide-arrow:hover {
    background: #fff;
}

.slide-prev { left: .75rem; }
.slide-next { right: .75rem; }

@media (prefers-reduced-motion: reduce) {
    .slideshow > img {
        transition: none;
    }
}

.hero-figure .price-tag {
    position: absolute;
    z-index: 2;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 253, 249, .94);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .7rem 1rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(4px);
}

.price-tag .amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}

.price-tag .per {
    color: var(--ink-soft);
    font-size: .85rem;
}

/* ---------- rating ---------- */
.rating {
    display: inline-flex;
    align-items: baseline;
    gap: .45rem;
    font-weight: 600;
}

.rating .stars {
    color: var(--ochre);
    letter-spacing: .05em;
}

.rating .count {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .9rem;
}

/* ============================================================
   PHOTO GALLERY
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery figure {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--cream-deep);
    box-shadow: var(--shadow-sm);
}

.gallery figure:hover > img.is-active {
    transform: scale(1.04);
}

/* ============================================================
   BOOKING SECTION + CALENDAR
   ============================================================ */
.booking-cta {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.booking-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.75rem;
}

.booking-cta form {
    display: block;
    margin: 0;
}

.calendar {
    width: 100%;
}

.cal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem;
}

.cal-navbtn {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1;
    width: 2.2rem;
    height: 2.2rem;
    cursor: pointer;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    transition: background .15s ease;
}

.cal-navbtn:hover:not(:disabled) {
    background: var(--cream-deep);
}

.cal-navbtn:disabled {
    opacity: .35;
    cursor: default;
}

.cal-months {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cal-month {
    flex: 1 1 240px;
}

.cal-month-name {
    font-family: var(--font-display);
    font-weight: 600;
    text-align: center;
    margin-bottom: .5rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.cal-dow {
    text-align: center;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--ink-soft);
    padding: .3rem 0;
}

.cal-cell {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: .85rem;
    height: 38px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-empty {
    visibility: hidden;
}

.cal-day {
    cursor: pointer;
    border-radius: 50%;
    transition: background .12s ease;
}

.cal-day:hover:not(:disabled):not(.cal-blocked) {
    background: var(--cream-deep);
}

.cal-past {
    color: #c9beac;
    cursor: default;
}

.cal-blocked {
    color: #bcae98;
    text-decoration: line-through;
    background: repeating-linear-gradient(
        -45deg, transparent, transparent 3px, rgba(188, 174, 152, .18) 3px, rgba(188, 174, 152, .18) 6px);
    cursor: not-allowed;
}

.cal-inrange {
    background: #F3E4D2;
    border-radius: 0;
}

.cal-start,
.cal-end {
    background: var(--tangerine);
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
}

.cal-status {
    margin: 1rem 0 0;
    font-size: .92rem;
    color: var(--ink-soft);
}

.cal-legend {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1rem;
    font-size: .78rem;
    color: var(--ink-soft);
}

.cal-swatch {
    display: inline-block;
    width: .85rem;
    height: .85rem;
    vertical-align: middle;
    border-radius: 4px;
    margin: 0 .1rem 0 .7rem;
}

.cal-swatch.cal-blocked {
    text-decoration: none;
}

#book-submit {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
}

.warning {
    color: var(--tangerine-deep);
    font-weight: 600;
    margin: .75rem 0 0;
}

.booking-aside h3 {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .9rem;
}

.feature-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: var(--ink-soft);
}

.feature-list .dot {
    flex: none;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    margin-top: .5rem;
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .85rem 1.75rem;
}

.amenities-grid li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: var(--ink-soft);
}

.amenities-grid .amenity-check {
    flex: none;
    color: var(--sage);
    font-weight: 700;
    margin-top: .05rem;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.review {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.review .review-stars {
    color: var(--ochre);
    margin-bottom: .5rem;
}

.review .review-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 1rem;
}

.review .review-author {
    font-weight: 600;
}

.review-date {
    font-size: .82rem;
    color: var(--ink-soft);
}

/* ============================================================
   HOST CARD
   ============================================================ */
.host-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-sm);
}

.host-avatar {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--sage);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
}

.host-card .host-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.host-card .host-contact {
    color: var(--ink-soft);
}

/* ============================================================
   BOOKING PAGE (/book)
   ============================================================ */
.book-layout {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2.5rem;
    align-items: start;
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    position: sticky;
    top: 90px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: .55rem 0;
    color: var(--ink-soft);
}

.summary-row.total {
    border-top: 1px solid var(--line);
    margin-top: .5rem;
    padding-top: 1rem;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.2rem;
}

.summary-row.total .amount {
    font-family: var(--font-display);
}

.field {
    margin-bottom: 1.1rem;
}

.field label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .4rem;
}

.field input {
    width: 100%;
    font: inherit;
    padding: .8rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--ink);
    transition: border .15s ease, box-shadow .15s ease;
}

.field input:focus {
    outline: none;
    border-color: var(--tangerine);
    box-shadow: 0 0 0 3px rgba(224, 101, 59, .15);
    background: var(--surface);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pay-note {
    display: flex;
    gap: .5rem;
    align-items: center;
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: 1rem;
}

/* ============================================================
   CONFIRMATION (/confirmation) — receipt "ticket"
   ============================================================ */
.ticket {
    max-width: 560px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ticket-top {
    background: var(--sage);
    color: #fff;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.ticket-top .check {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.ticket-top h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0;
}

.ticket-body {
    padding: 2rem;
}

.ticket-body .summary-row.total {
    font-size: 1.3rem;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-shell {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.admin-section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.admin-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.admin-section h3 {
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

.admin-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.admin-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--line);
}

.admin-list li:last-child {
    border-bottom: none;
}

.admin-section form label {
    display: inline-block;
    font-size: .9rem;
    font-weight: 500;
    margin: .35rem .75rem .35rem 0;
}

.admin-section input,
.admin-section textarea {
    font: inherit;
    padding: .5rem .6rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--cream);
    color: var(--ink);
}

.admin-section input:focus,
.admin-section textarea:focus {
    outline: none;
    border-color: var(--tangerine);
}

.admin-section .btn,
.admin-section button {
    font-family: var(--font-sans);
    font-weight: 600;
    cursor: pointer;
}

.admin-section li button {
    padding: .35rem .8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: .85rem;
}

.admin-section li button:hover {
    background: var(--cream-deep);
    color: var(--ink);
}

.notif-sent { color: var(--sage); font-weight: 600; }
.notif-failed { color: var(--tangerine-deep); font-weight: 600; }
.notif-none { color: var(--ink-soft); }

/* login */
.login-shell {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.login-card {
    width: 100%;
    max-width: 380px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    text-align: center;
}

.login-card .field input {
    width: 100%;
    text-align: left;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 3rem 0;
    margin-top: 3rem;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.site-footer .brand {
    color: var(--cream);
}

.site-footer small {
    color: rgba(247, 241, 230, .6);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.no-listing {
    text-align: center;
    margin: 6rem auto;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ink-soft);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .hero-grid,
    .booking-cta,
    .book-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-figure {
        aspect-ratio: 3 / 2;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .summary-card {
        position: static;
    }

    .site-header nav {
        gap: 1rem;
        font-size: .9rem;
    }
}

@media (max-width: 520px) {
    .band { padding: 3rem 0; }
    .gallery { grid-template-columns: 1fr; }
    .site-header nav .nav-hide { display: none; }
}

/* ============================================================
   LIGHTBOX (click a photo to enlarge + navigate)
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(26, 22, 18, .93);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 92vw;
    max-height: 84vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: lb-in .25s ease;
}

@keyframes lb-in {
    from { opacity: 0; transform: scale(.97); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 253, 249, .9);
    color: var(--ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background .15s ease, transform .12s ease;
}

.lightbox-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

.lightbox-close { top: 1.25rem; right: 1.25rem; }
.lightbox-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream);
    font-size: .9rem;
    letter-spacing: .05em;
}

body.no-scroll {
    overflow: hidden;
}

@media (max-width: 520px) {
    .lightbox-btn { width: 2.6rem; height: 2.6rem; font-size: 1.35rem; }
    .lightbox-prev { left: .5rem; }
    .lightbox-next { right: .5rem; }
}

/* --- Phase 6C: opt-in checkbox + live all-in quote --- */
.opt-in {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .25rem 0 1.1rem;
    font-size: .9rem;
    color: var(--ink-soft);
    line-height: 1.4;
}
.opt-in input {
    margin-top: .2rem;
    flex: 0 0 auto;
}

.booking-quote {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    margin: .25rem 0 1rem;
    background: var(--cream, #fff);
}
.bq-row {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
    color: var(--ink-soft);
    font-size: .95rem;
}
.bq-row.bq-total {
    border-top: 1px solid var(--line);
    margin-top: .3rem;
    padding-top: .6rem;
    color: var(--ink);
    font-weight: 700;
    font-size: 1.05rem;
}
.bq-note {
    margin-top: .35rem;
    font-size: .8rem;
    color: var(--sage);
}

/* ============================================================
   Support chatbot widget (Phase 7)
   ============================================================ */
.chat-widget {
    position: fixed;
    right: clamp(12px, 4vw, 28px);
    bottom: clamp(12px, 4vw, 28px);
    z-index: 60;
    font-family: var(--font-sans);
}

.chat-launcher {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.1rem;
    border: none;
    border-radius: 999px;
    background: var(--tangerine);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: background .15s ease, transform .15s ease;
}
.chat-launcher:hover { background: var(--tangerine-deep); transform: translateY(-1px); }

.chat-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: min(360px, calc(100vw - 32px));
    max-height: min(70vh, 560px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    background: var(--cream-deep);
    border-bottom: 1px solid var(--line);
}
.chat-close {
    border: none;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink-soft);
}
.chat-close:hover { color: var(--ink); }

.chat-log {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.chat-msg { display: flex; flex-direction: column; max-width: 88%; }
.chat-msg--user { align-self: flex-end; align-items: flex-end; }
.chat-msg--assistant { align-self: flex-start; align-items: flex-start; }

.chat-bubble {
    padding: .55rem .8rem;
    border-radius: var(--radius-sm);
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: .95rem;
}
.chat-msg--user .chat-bubble { background: var(--slate); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg--assistant .chat-bubble { background: var(--cream-deep); color: var(--ink); border-bottom-left-radius: 4px; }

.chat-src { margin-top: .25rem; font-size: .72rem; color: var(--ink-soft); }

.chat-form {
    display: flex;
    gap: .5rem;
    padding: .75rem;
    border-top: 1px solid var(--line);
}
.chat-form input {
    flex: 1 1 auto;
    padding: .55rem .7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    min-width: 0;
}
.chat-form .btn { padding: .55rem .9rem; }

.chat-disclaimer {
    margin: 0;
    padding: 0 .75rem .7rem;
    font-size: .72rem;
    color: var(--ink-soft);
}
