﻿/* ═══════════════════════════════════════════════════════
   CampSuite Public Booking - Design Tokens & Components
   Matches the v3 React mockup aesthetic
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Tokens ──────────────────────────────────── */
:root {
    /* Interactive / structural blues - the CampSuite v2 brand palette
       (Deep Blue #0F213F, Sky #4C8DCB, primary #22568C). The warm parchment
       neutrals below (Cloud + Sand) are kept as the portal's premium look,
       and Sunset Orange (--c-accent) is the deliberate conversion CTA. */
    --c-forest-dark: #1b4472;
    --c-forest: #22568c;
    --c-sage: #2f6faf;
    --c-mint: #4c8dcb;
    --c-mint-light: #eef4fa;
    --c-mint-border: #d7e6f4;
    --c-accent: #f06436;
    --c-accent-dark: #e0561f;
    --c-parchment: #faf8f5;
    --c-off-white: #fcfbf9;
    --c-warm-border: #ede8df;
    --c-warm-border-light: #f0ebe4;
    --c-warm-bg: #f5f1eb;
    --c-text-dark: #0f213f;
    --c-text: #5a5346;
    --c-text-light: #6b6356;
    --c-text-muted: #8a7e6b;
    --c-text-faint: #a09882;
    --c-error: #e55757;
    --c-amber-bg: #fef9ee;
    --c-amber-text: #8b6914;
    --ff-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
    --ff-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 11px;
    --radius-lg: 14px;
    --radius-xl: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 14px rgba(15, 33, 63, 0.3);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.18);
}

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

body {
    font-family: var(--ff-body);
    background: #f0ebe4;
    color: var(--c-text-dark);
    -webkit-font-smoothing: antialiased;
}

/* ─── App Shell ───────────────────────────────────────── */
.booking-shell {
    max-width: 440px;
    margin: 0 auto;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--c-parchment);
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.07);
}

/* ─── Header ──────────────────────────────────────────── */
.booking-header {
    background: linear-gradient(135deg, var(--c-forest-dark) 0%, var(--c-forest) 50%, var(--c-sage) 100%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
}

    .booking-header::before {
        content: '';
        position: absolute;
        inset: 0;
        opacity: 0.06;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23fff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
    }

.header-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.header-title {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.header-logo {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.header-subtitle {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
}

.header-park-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: white;
    font-family: var(--ff-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-picker {
    position: relative;
    z-index: 1;
}

/* ─── Step Bar ────────────────────────────────────────── */
.step-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid var(--c-warm-border-light);
}

.step-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    background: #e8e0d4;
    color: var(--c-text-muted);
    transition: all 0.3s ease;
}

.step-item.active .step-circle {
    background: var(--c-forest-dark);
    color: white;
}

.step-item.done .step-circle {
    background: var(--c-forest);
    color: white;
}

.step-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-faint);
}

.step-item.active .step-label {
    font-weight: 700;
    color: var(--c-forest-dark);
}

.step-item.done .step-label {
    color: var(--c-forest);
}

.step-connector {
    width: 16px;
    height: 2px;
    margin: 0 4px;
    background: #e8e0d4;
    border-radius: 1px;
}

    .step-connector.done {
        background: var(--c-forest);
    }

/* ─── Content ─────────────────────────────────────────── */
.booking-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.booking-step {
    display: none;
}

    .booking-step.active {
        display: block;
        animation: fadeUp 0.4s ease;
    }

.step-body {
    padding: 14px;
}

/* ─── Cards ───────────────────────────────────────────── */
.card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 14px;
    border: 1px solid var(--c-warm-border);
    margin-bottom: 10px;
    box-shadow: var(--shadow-sm);
}

/* ─── Hero ────────────────────────────────────────────── */
.hero {
    height: 155px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-mint) 100%);
}

.hero-mountains {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
}

    .hero-mountains svg {
        width: 100%;
        height: 100%;
        display: block;
    }

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero-icon {
    font-size: 30px;
    margin-bottom: 2px;
}

.hero-title {
    font-size: 23px;
    font-weight: 800;
    font-family: var(--ff-display);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.25);
    margin-bottom: 2px;
}

.hero-tagline {
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

/* ─── Park Info ───────────────────────────────────────── */
.park-description {
    font-size: 13px;
    line-height: 1.6;
    color: var(--c-text);
    margin-bottom: 10px;
}

.park-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--c-text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ─── "Need a hand? Call us" help strip ──────────────────
   Always present at the bottom of the booking shell when the
   park has a phone number, so a guest can ring from any step
   if anything's confusing. */
.booking-help-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    margin: 0 auto;
    max-width: 640px;
    background: #f0faf4;
    border-top: 1px solid #dbeaf6;
    color: #0f213f;
    font-size: 14px;
    line-height: 1.4;
}

.booking-help-strip__label {
    font-weight: 600;
}

.booking-help-strip__phone {
    color: #0f213f;
    text-decoration: none;
    font-weight: 500;
}

.booking-help-strip__phone:hover,
.booking-help-strip__phone:focus {
    text-decoration: underline;
}

.booking-help-strip__phone strong {
    font-weight: 700;
}

/* ─── Bookable kind picker (Touring vs Accommodation) ──── */
/* Shown only when a park offers both. Two big tappable tiles
   so grandma can clearly choose what kind of stay she wants. */
.bookable-kind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.bookable-kind-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 14px 12px;
    border: 2px solid #d6d2c5;
    border-radius: 16px;
    background: #fff;
    color: #3a3429;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.bookable-kind-option:hover {
    border-color: #8a8478;
    background: #faf8f3;
}

.bookable-kind-option.active {
    border-color: var(--c-forest, #0f213f);
    background: rgba(15, 33, 63, 0.06);
}

.bookable-kind-icon {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 2px;
}

.bookable-kind-label {
    font-size: 16px;
    font-weight: 600;
    color: #1f1b14;
}

.bookable-kind-sub {
    font-size: 12px;
    color: #8a8478;
    line-height: 1.3;
}

/* ─── Unit Type Picker ────────────────────────────────── */
.unit-type-grid {
    display: grid;
    /* auto-fit lets the picker render beautifully whether the park supports
       2 options or all 9 - buttons stretch on narrow rows and wrap cleanly
       when the list is long. */
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 8px;
}

.unit-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--c-warm-border);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .unit-type-btn.selected {
        border: 2px solid var(--c-forest);
        background: var(--c-mint-light);
        box-shadow: 0 0 0 3px rgba(15, 33, 63, 0.08);
    }

    .unit-type-btn .icon {
        font-size: 22px;
    }

    .unit-type-btn .label {
        font-size: 10px;
        font-weight: 500;
        color: var(--c-text-light);
        text-align: center;
        line-height: 1.2;
    }

    .unit-type-btn.selected .label {
        font-weight: 700;
        color: var(--c-forest-dark);
    }

/* ─── Vehicle Length ──────────────────────────────────── */
.vehicle-length-group {
    animation: fadeUp 0.2s ease;
}

.vehicle-length-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vehicle-length-unit {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-light);
}

/* ─── Form Fields ─────────────────────────────────────── */
.field-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}

.field-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid #ded8cc;
    background: var(--c-parchment);
    font-size: 15px;
    color: var(--c-text-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: var(--ff-body);
}

    .field-input:focus {
        border-color: var(--c-forest) !important;
        box-shadow: 0 0 0 3px rgba(15, 33, 63, 0.1) !important;
    }

    .field-input.error {
        border-color: var(--c-error);
        box-shadow: 0 0 0 3px rgba(229, 87, 87, 0.1);
    }

.field-error {
    font-size: 11px;
    color: var(--c-error);
    margin-top: 3px;
    display: block;
}

/* One-shot "look here" pulse applied to the first invalid field when a guest
   tries to pay/continue with something missing (see focusInvalidField in
   booking.js). A gentle shake reads as "this needs your attention". */
@keyframes cs-field-attention {
    0%   { transform: translateX(0); }
    15%  { transform: translateX(-6px); }
    30%  { transform: translateX(5px); }
    45%  { transform: translateX(-4px); }
    60%  { transform: translateX(3px); }
    75%  { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.field-attention {
    animation: cs-field-attention 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
    .field-attention { animation: none; }
}

/* ─── Guest Counters ──────────────────────────────────── */
.guest-grid {
    display: grid;
    /* Phones: a tidy 2×2 (adults/children over infants/dogs) - cleaner than the
       old 3-wide grid that dropped the last counter onto a lonely second row.
       On wider screens (≥420px) the media query below puts them all on one row. */
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Let each counter column actually shrink to its share of the row (grid items
   default to min-width:auto, which would otherwise force the last one to wrap). */
.guest-counter {
    min-width: 0;
}

/* From large phones up, every counter shares a single clean row, however many
   the park shows (adults · children · infants · dogs). */
@media (min-width: 420px) {
    .guest-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }
}

.counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--c-parchment);
    border-radius: 10px;
    padding: 5px;
    border: 1px solid var(--c-warm-border);
    min-width: 0;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: white;
    color: var(--c-forest-dark);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.15s ease;
}

    .counter-btn:disabled {
        background: transparent;
        color: #ccc;
        box-shadow: none;
        cursor: default;
    }

.counter-value {
    font-weight: 700;
    font-size: 15px;
    color: var(--c-forest-dark);
    min-width: 14px;
    text-align: center;
}

/* ─── Buttons ─────────────────────────────────────────── */
.btn-primary {
    width: 100%;
    padding: 13px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    /* Sunset Orange with deep-blue ink - the one deliberate accent, the
       same pairing as the CampSuite mark, and the guest's clear next step. */
    background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
    color: #0f213f;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--ff-body);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

    .btn-primary:disabled {
        opacity: 0.4;
        cursor: default;
    }

    .btn-primary:active:not(:disabled) {
        transform: scale(0.98);
    }

/* ─── Footer ──────────────────────────────────────────── */
.booking-footer {
    padding: 9px 14px;
    text-align: center;
    border-top: 1px solid var(--c-warm-border);
    background: white;
    font-size: 11px;
    color: var(--c-text-faint);
}

.footer-link {
    color: var(--c-forest-dark);
    font-weight: 700;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   Calendar (Step 0)
   ═══════════════════════════════════════════════════════ */

.calendar-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--c-warm-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

/* Hint banner */
.cal-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--ff-body);
    letter-spacing: 0.01em;
}

.cal-hint-arrival {
    background: var(--c-mint-light);
    color: var(--c-forest-dark);
    border-bottom: 1px solid var(--c-mint-border);
}

.cal-hint-departure {
    background: var(--c-amber-bg);
    color: var(--c-amber-text);
    border-bottom: 1px solid #f0e4c8;
}

/* Month navigation */
.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 8px;
}

.cal-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-warm-border);
    background: white;
    color: var(--c-text-dark);
    cursor: pointer;
    transition: all 0.15s ease;
}

    .cal-nav-btn:hover:not(:disabled) {
        background: var(--c-parchment);
        border-color: #d5cdbe;
    }

    .cal-nav-btn:disabled {
        opacity: 0.3;
        cursor: default;
    }

.cal-month-label {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--c-text-dark);
}

/* Today bar */
.cal-today-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px 6px;
}

.cal-today-btn {
    font-family: var(--ff-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-forest);
    background: var(--c-mint-light);
    border: 1px solid var(--c-mint-border);
    border-radius: 8px;
    padding: 4px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cal-today-btn:hover {
    background: var(--c-mint-border);
}

.cal-today-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--c-mint);
    flex-shrink: 0;
}

.cal-today-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-muted);
}

/* Day-of-week header row */
.cal-day-headers {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0 10px;
    margin-bottom: 2px;
}

.cal-dh {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 6px 0;
}

/* Day grid */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0 10px 10px;
    gap: 3px;
}

/* Day buttons */
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

    .cal-day:hover:not(.past):not(.closed):not(.arrival):not(.departure) {
        background: var(--c-warm-bg);
    }

    .cal-day.past {
        color: #d5cdbe;
        cursor: default;
        pointer-events: none;
    }

    .cal-day.today {
        color: var(--c-forest);
        font-weight: 700;
    }

    .cal-day.today::after {
        content: '';
        position: absolute;
        bottom: 3px;
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--c-mint);
    }

    .cal-day.arrival {
        background: var(--c-forest-dark);
        color: white;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(15, 33, 63, 0.35);
        animation: scaleIn 0.2s ease;
    }

    .cal-day.departure {
        background: var(--c-forest);
        color: white;
        font-weight: 700;
        box-shadow: 0 2px 8px rgba(15, 33, 63, 0.3);
        animation: scaleIn 0.2s ease;
    }

    .cal-day.in-range {
        background: var(--c-mint-light);
        color: var(--c-forest-dark);
        border-radius: 8px;
    }

    /* Closed / out-of-season dates */
    .cal-day.closed {
        background: #f5f0ea;
        color: #c4b8a8;
        cursor: not-allowed;
        pointer-events: none;
        border-radius: 6px;
        flex-direction: column;
        gap: 0;
        aspect-ratio: auto;
        padding: 2px 0;
    }

    .cal-day.closed .cal-day-num {
        font-size: 12px;
        font-weight: 600;
        line-height: 1;
        color: #c4b8a8;
    }

    .cal-day.closed .cal-day-closed {
        font-size: 7px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #d4a574;
        line-height: 1;
    }

/* ─── Per-day price on the calendar ─────────────────────── */
/* Bookable days show a small "from" price under the number, tinted by season so
   guests can see at a glance why the price moves through the year (the season key
   below explains which colour is which). Days with no configured season price
   stay a plain number, so non-seasonal parks look exactly as they did before. */
.cal-day .cal-day-num {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.cal-day.has-price {
    flex-direction: column;
    gap: 1px;
}

    .cal-day.has-price .cal-day-num {
        font-size: 13px;
    }

.cal-day-price {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
    color: var(--cd-season, var(--c-sage));
}

/* On the selected endpoints the dark fill carries the meaning, so the price
   flips to white to stay readable. In-range days keep their season colour (the
   light mint fill reads fine behind it), so the seasonal story stays visible
   right across the chosen stay. */
.cal-day.arrival .cal-day-price,
.cal-day.departure .cal-day-price {
    color: rgba(255, 255, 255, 0.92);
}

/* Avoid the "today" dot colliding with the price line. */
.cal-day.has-price.today::after {
    display: none;
}

@media (max-width: 360px) {
    .cal-day.has-price .cal-day-num { font-size: 12px; }
    .cal-day-price { font-size: 9px; }
}

/* ─── Season key / legend ───────────────────────────────── */
/* Warm, grandma-proof replacement for the old period list: one clear row per
   season with a colour dot (matching the calendar), the name (always "… season"),
   its dates and the "from" price. Sits flush at the bottom of the calendar card
   on mobile; the --sidebar variant blends into the desktop sidebar column. */
.cs-season-key {
    padding: 16px;
    background: var(--c-off-white);
    border-top: 1px solid var(--c-warm-border);
}

.cs-season-key--sidebar {
    background: transparent;
    border-top: none;
    border-bottom: 1px solid var(--c-warm-border-light);
}

.cs-season-key-head {
    margin-bottom: 12px;
}

.cs-season-key-title {
    display: block;
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-dark);
}

.cs-season-key-sub {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--c-text-light);
}

.cs-season-key-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cs-season-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    background: white;
    border: 1px solid var(--c-warm-border-light);
    border-radius: var(--radius-md);
}

.cs-season-dot {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(15, 33, 63, 0.05);
}

.cs-season-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cs-season-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text-dark);
}

.cs-season-dates {
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-muted);
}

.cs-season-price {
    flex-shrink: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--c-forest);
    white-space: nowrap;
}

.cs-season-from {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--c-text-muted);
}

.cs-season-per {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-muted);
    margin-left: 1px;
}

.cs-season-key-foot {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.35;
    color: var(--c-text-muted);
}

    .cs-season-key-foot svg {
        flex-shrink: 0;
        margin-top: 1px;
        color: var(--c-text-faint);
    }

/* Season(s) covered by the currently selected dates (under the range summary). */
.cal-range-season {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.cal-range-season-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    background: white;
    border: 1px solid var(--c-warm-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-text-dark);
}

/* Sidebar opening season section (desktop) */
.sidebar-season {
    padding: 14px 16px;
    border-bottom: 1px solid var(--c-warm-border-light);
}

.sidebar-season-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--c-text-muted);
    margin-bottom: 10px;
}

.sidebar-season-label svg {
    color: var(--c-text-faint);
    flex-shrink: 0;
}

.sidebar-season-period {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    background: var(--c-mint-light);
    border: 1px solid var(--c-mint-border);
    border-radius: var(--radius-sm);
}

.sidebar-season-period-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-forest-dark);
}

.sidebar-season-period-range {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--c-forest);
    white-space: nowrap;
}

.sidebar-season-period-range svg {
    flex-shrink: 0;
    color: var(--c-sage);
}

/* Sidebar closed state */
.sidebar-closed .sidebar-season-label {
    color: var(--c-error);
}

.sidebar-closed .sidebar-season-label svg {
    color: var(--c-error);
}

.sidebar-season-period--closed {
    background: #fff5f5;
    border-color: #fecaca;
}

.sidebar-season-period--closed .sidebar-season-period-name {
    color: #991b1b;
}

.sidebar-season-period--closed .sidebar-season-period-range {
    color: #b91c1c;
}

/* Site closed banner (main content area) */
.site-closed-banner {
    text-align: center;
    padding: 40px 24px;
    background: var(--c-off-white);
    border: 1px solid var(--c-warm-border);
    border-radius: var(--radius-lg);
}

.site-closed-icon {
    margin: 0 auto 16px;
    width: 64px;
    height: 64px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-error);
}

.site-closed-title {
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin-bottom: 8px;
}

.site-closed-text {
    font-size: 14px;
    color: var(--c-text);
    line-height: 1.5;
    margin-bottom: 4px;
}

.site-closed-contact {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--c-warm-border-light);
}

.site-closed-contact p {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-light);
    margin-bottom: 8px;
}

.site-closed-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text);
    margin: 4px 8px;
}

.site-closed-contact-item svg {
    flex-shrink: 0;
    color: var(--c-sage);
}

/* Date range summary */
.cal-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--c-warm-border-light);
    background: var(--c-parchment);
}

.cal-range-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cal-range-date {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

    .cal-range-date.arr {
        background: var(--c-forest-dark);
        color: white;
    }

    .cal-range-date.dep {
        background: var(--c-forest);
        color: white;
    }

.cal-range-arrow {
    font-size: 14px;
    color: var(--c-text-muted);
}

.cal-range-nights {
    font-size: 15px;
    font-weight: 800;
    color: var(--c-forest-dark);
    background: var(--c-mint-light);
    border: 2px solid var(--c-mint);
    padding: 5px 14px;
    border-radius: 10px;
    letter-spacing: 0.01em;
}

.cal-range-placeholder {
    font-size: 14px;
    color: var(--c-text-faint);
    font-weight: 600;
}

.cal-range-times {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-muted);
    margin-top: 4px;
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════
   Step 1 - Pitch Selection
   ═══════════════════════════════════════════════════════ */

.booking-summary-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
    background: var(--c-mint-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-mint-border);
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--c-forest-dark);
}

.step-heading {
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin-bottom: 4px;
}

.step-subtext {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 14px;
}

/* Pitch type accordion card */
.pitch-type-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-warm-border);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: fadeUp 0.3s ease both;
    transition: border-color 0.2s ease;
}

    .pitch-type-card.expanded {
        border-color: var(--c-forest);
        box-shadow: 0 0 0 3px rgba(15, 33, 63, 0.08);
    }

.pitch-type-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: var(--ff-body);
    transition: background 0.15s ease;
}

    .pitch-type-header:hover {
        background: var(--c-parchment);
    }

.pitch-type-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.pitch-type-info {
    flex: 1;
    min-width: 0;
}

.pitch-type-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin: 0;
}

.pitch-type-desc {
    font-size: 12px;
    color: var(--c-text-light);
    margin: 3px 0 0;
    line-height: 1.4;
}

.pitch-type-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 8px;
    gap: 8px;
}

.pitch-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.pitch-feature {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-sage);
    background: var(--c-mint-light);
    padding: 2px 7px;
    border-radius: 5px;
}

.pitch-type-price {
    text-align: right;
    flex-shrink: 0;
}

.price-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--c-forest-dark);
    font-family: var(--ff-display);
}

.price-label {
    font-size: 10px;
    color: var(--c-text-muted);
    font-weight: 500;
}

/* Individual pitch list */
.pitch-list {
    border-top: 1px solid var(--c-warm-border-light);
}

.pitch-list-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 14px 6px;
}

.pitch-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--ff-body);
    text-align: left;
    transition: background 0.15s ease;
}

    .pitch-card:hover {
        background: var(--c-parchment);
    }

    .pitch-card.selected {
        background: var(--c-mint-light);
        box-shadow: inset 3px 0 0 var(--c-forest);
    }

    .pitch-card .pitch-card-body {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 14px;
    }

.pitch-code {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-forest-dark);
    background: var(--c-warm-bg);
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    flex-shrink: 0;
    min-width: 32px;
    text-align: center;
}

.pitch-info {
    flex: 1;
    min-width: 0;
}

.pitch-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--c-text-dark);
}

.pitch-desc {
    font-size: 12px;
    color: var(--c-text-light);
    margin-top: 1px;
    line-height: 1.3;
}

.pitch-price {
    text-align: right;
    flex-shrink: 0;
}

/* Sticky continue bar */
.sticky-bar {
    position: sticky;
    bottom: 0;
    padding: 12px 0 4px;
    background: linear-gradient(to bottom, transparent 0%, var(--c-parchment) 30%);
}

/* ═══════════════════════════════════════════════════════
   Step 2 - Guest Details
   ═══════════════════════════════════════════════════════ */

.details-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-warm-border-light);
    margin-bottom: 10px;
}

.summary-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.summary-pitch {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-dark);
    font-family: var(--ff-display);
}

.summary-type {
    font-size: 12px;
    color: var(--c-text-light);
    margin-top: 1px;
}

.summary-price-block {
    text-align: right;
    flex-shrink: 0;
}

.summary-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--c-forest-dark);
    font-family: var(--ff-display);
}

.summary-nights {
    font-size: 11px;
    color: var(--c-text-muted);
    font-weight: 500;
}

.details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--c-text-light);
}

.card-heading {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin-bottom: 12px;
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

/* Terms checkbox */
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--c-text);
    cursor: pointer;
    line-height: 1.4;
}

    .terms-row input[type="checkbox"] {
        margin-top: 2px;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        accent-color: var(--c-forest);
    }

.terms-link {
    color: var(--c-forest);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(15, 33, 63, 0.3);
    text-underline-offset: 2px;
}

    .terms-link:hover {
        text-decoration-color: var(--c-forest);
    }

.no-payment-note {
    font-size: 11px;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   Step 3 - Confirmation
   ═══════════════════════════════════════════════════════ */

.confirm-hero {
    text-align: center;
    padding: 28px 20px 24px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
}

.confirm-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--c-forest-dark) 0%, var(--c-forest) 50%, var(--c-sage) 100%);
    opacity: 0.06;
    border-radius: var(--radius-lg);
}

.confirm-tick {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-forest-dark), var(--c-forest));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
    animation: scaleIn 0.4s ease;
}

.confirm-title {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--c-forest-dark);
    margin-bottom: 4px;
}

.confirm-subtitle {
    font-size: 13px;
    color: var(--c-text-light);
    margin-bottom: 16px;
}

.confirm-ref-box {
    display: inline-block;
    background: var(--c-mint-light);
    border: 1px solid var(--c-mint-border);
    border-radius: var(--radius-md);
    padding: 8px 18px;
}

.confirm-ref-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.confirm-ref-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--c-forest-dark);
    font-family: var(--ff-display);
    letter-spacing: 0.03em;
}

/* Summary rows */
.summary-rows {
    display: flex;
    flex-direction: column;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: var(--c-text);
}

.summary-val {
    font-weight: 600;
    color: var(--c-text-dark);
    text-align: right;
}

.summary-divider {
    height: 1px;
    background: var(--c-warm-border-light);
    margin: 4px 0;
}

.summary-row.total {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-forest-dark);
    padding-top: 10px;
}

    .summary-row.total .summary-val {
        font-size: 18px;
        font-weight: 800;
        font-family: var(--ff-display);
        color: var(--c-forest-dark);
    }

/* Price breakdown - one plain line per thing, with an optional muted note
   underneath explaining how the price works (e.g. "£5.00 per person, per night").
   Keeps the checkout breakdown readable at a glance. */
.breakdown-line {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding-right: 12px;
}

.breakdown-basis {
    font-size: 11px;
    font-weight: 500;
    color: var(--c-text-muted);
}

/* Arrival info */
.arrival-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text);
    line-height: 1.5;
}

.confirm-footer-text {
    font-size: 12px;
    color: var(--c-text-muted);
    text-align: center;
    line-height: 1.6;
    padding: 8px 0 14px;
}

/* ─── Loading State ──────────────────────────────────── */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    gap: 14px;
    color: var(--c-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--c-warm-border);
    border-top-color: var(--c-forest);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* ─── Animations ──────────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ─── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-thumb {
    background: #d5cdbe;
    border-radius: 3px;
}

/* ─── iOS zoom prevention ─────────────────────────────── */
@media (max-width: 440px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

/* ═══════════════════════════════════════════════════════
   Desktop Layout - ≥ 768px
   Two-panel: left sidebar (park info + summary) + right main (booking steps)
   ═══════════════════════════════════════════════════════ */

@media (min-width: 768px) {

    body {
        background: var(--c-parchment);
        height: 100vh;
        height: 100dvh;
        display: flex;
        overflow: hidden;
    }

    #booking-root {
        width: 100%;
    }

    /* Shell: full screen column layout - header, step-bar, content (row), footer */
    .booking-shell {
        max-width: none;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        flex-direction: column;
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        border: none;
    }

    /* Header */
    .booking-header {
        flex-shrink: 0;
        padding: 16px 28px;
        border-radius: 0;
    }

    .header-subtitle {
        font-size: 11px;
        letter-spacing: 0.15em;
    }

    .header-park-name {
        font-size: 20px;
    }

    .header-btn {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    /* Step bar */
    .step-bar {
        flex-shrink: 0;
        padding: 14px 28px;
        gap: 6px;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .step-label {
        font-size: 12px;
    }

    .step-connector {
        width: 32px;
    }

    /* Content area: two-panel row within column shell */
    .booking-content {
        display: flex;
        flex-direction: row;
        flex: 1 1 0;
        min-height: 0;
        overflow: hidden;
    }

    /* Desktop sidebar (park info) */
    .desktop-sidebar {
        display: flex;
        flex-direction: column;
        width: 340px;
        min-width: 340px;
        flex-shrink: 0;
        border-right: 1px solid var(--c-warm-border-light);
        background: white;
        overflow-y: auto;
        scrollbar-width: none;          /* Firefox */
        -ms-overflow-style: none;       /* IE 10+ */
    }

    /* The season key lives in the sidebar on desktop. Belt-and-braces: never let the
       inline (mobile) copy show in the main column, regardless of JS render timing. */
    .cs-season-key:not(.cs-season-key--sidebar) {
        display: none;
    }

    .desktop-sidebar::-webkit-scrollbar {
        display: none;                  /* Chrome/Safari/Edge */
    }

    .desktop-sidebar .sidebar-inner {
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* Sidebar park hero */
    .sidebar-hero {
        text-align: center;
        padding: 28px 20px;
        background: linear-gradient(135deg, var(--c-forest) 0%, var(--c-mint) 100%);
        border-radius: var(--radius-lg);
        position: relative;
        overflow: hidden;
    }

    .sidebar-hero-mountains {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
    }

    .sidebar-hero-mountains svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .sidebar-hero-content {
        position: relative;
        z-index: 1;
        color: white;
    }

    .sidebar-hero-icon {
        font-size: 36px;
        margin-bottom: 6px;
    }

    .sidebar-hero-title {
        font-family: var(--ff-display);
        font-size: 22px;
        font-weight: 800;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        margin-bottom: 4px;
    }

    .sidebar-hero-tagline {
        font-size: 13px;
        opacity: 0.85;
        font-style: italic;
    }

    /* Sidebar park details card */
    .sidebar-park-card {
        background: var(--c-parchment);
        border: 1px solid var(--c-warm-border);
        border-radius: var(--radius-lg);
        padding: 16px;
    }

    .sidebar-park-card .park-description {
        font-size: 13px;
        line-height: 1.65;
        color: var(--c-text);
        margin-bottom: 12px;
    }

    .sidebar-park-card .park-meta {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-park-card .meta-item {
        font-size: 12px;
        color: var(--c-text-light);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Sidebar booking summary (visible after step 0) */
    .sidebar-summary {
        background: var(--c-mint-light);
        border: 1px solid var(--c-mint-border);
        border-radius: var(--radius-lg);
        padding: 16px;
        display: none;
    }

    .sidebar-summary.visible {
        display: block;
        animation: fadeUp 0.3s ease;
    }

    .sidebar-summary-heading {
        font-family: var(--ff-display);
        font-size: 14px;
        font-weight: 700;
        color: var(--c-forest-dark);
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .sidebar-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        font-size: 13px;
        color: var(--c-text);
    }

    .sidebar-summary-row .label {
        font-weight: 500;
        color: var(--c-text-light);
    }

    .sidebar-summary-row .value {
        font-weight: 600;
        color: var(--c-forest-dark);
    }

    .sidebar-summary-divider {
        height: 1px;
        background: var(--c-mint-border);
        margin: 6px 0;
    }

    .sidebar-summary-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 8px;
        font-weight: 700;
        color: var(--c-forest-dark);
    }

    .sidebar-summary-total .total-amount {
        font-family: var(--ff-display);
        font-size: 20px;
        font-weight: 800;
    }

    /* Sidebar help card */
    .sidebar-help {
        background: white;
        border: 1px solid var(--c-warm-border);
        border-radius: var(--radius-lg);
        padding: 16px;
    }

    .sidebar-help-title {
        font-size: 13px;
        font-weight: 700;
        color: var(--c-text-dark);
        margin-bottom: 8px;
    }

    .sidebar-help-item {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: var(--c-text-light);
        padding: 4px 0;
    }

    .sidebar-help-item .help-icon {
        font-size: 16px;
        flex-shrink: 0;
    }

    /* Main content (right panel) */
    .booking-main {
        flex: 1 1 0;
        min-width: 0;
        overflow-y: auto;
        background: var(--c-parchment);
        scrollbar-width: thin;
        scrollbar-color: #d5cdbe transparent;
    }

    /* Hide mobile hero on desktop (shown in sidebar instead) */
    .booking-step .hero {
        display: none;
    }

    /* Desktop step body gets more padding */
    .step-body {
        padding: 28px;
    }

    /* Cards wider with more padding */
    .card {
        padding: 20px;
        margin-bottom: 16px;
        border-radius: var(--radius-xl);
    }

    /* Unit type grid: more spacious */
    .unit-type-grid {
        grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
        gap: 12px;
    }

    .unit-type-btn {
        padding: 14px 8px 12px;
        border-radius: 14px;
        transition: all 0.2s ease, transform 0.15s ease;
    }

    .unit-type-btn:hover:not(.selected) {
        border-color: var(--c-sage);
        background: var(--c-mint-light);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(15, 33, 63, 0.06);
    }

    .unit-type-btn .icon {
        font-size: 28px;
    }

    .unit-type-btn .label {
        font-size: 12px;
    }

    /* Calendar */
    .calendar-card {
        border-radius: var(--radius-xl);
    }

    .cal-grid {
        gap: 4px;
        padding: 0 16px 14px;
    }

    .cal-day {
        font-size: 15px;
        transition: all 0.15s ease, transform 0.1s ease;
    }

    .cal-day:hover:not(.past):not(.closed):not(.arrival):not(.departure) {
        background: var(--c-warm-bg);
        transform: scale(1.1);
    }

    .cal-nav {
        padding: 14px 20px 10px;
    }

    .cal-month-label {
        font-size: 18px;
    }

    .cal-hint {
        padding: 12px 20px;
        font-size: 14px;
    }

    .cal-range {
        padding: 14px 20px;
    }

    /* Guest counters - keep them all on one row (adults · children · infants · dogs). */
    .guest-grid {
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .counter {
        padding: 8px;
        border-radius: 12px;
    }

    .counter-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 17px;
        transition: all 0.15s ease, transform 0.1s ease;
    }

    .counter-btn:hover:not(:disabled) {
        background: var(--c-mint-light);
        transform: scale(1.05);
    }

    .counter-value {
        font-size: 17px;
    }

    .field-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    /* Buttons */
    .btn-primary {
        padding: 15px;
        border-radius: 14px;
        font-size: 16px;
        transition: all 0.2s ease, transform 0.15s ease;
    }

    .btn-primary:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 8px 24px rgba(15, 33, 63, 0.35);
    }

    /* Pitch type cards */
    .pitch-type-card {
        border-radius: var(--radius-xl);
        transition: all 0.2s ease, transform 0.15s ease;
    }

    .pitch-type-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    }

    .pitch-type-header {
        padding: 18px;
    }

    .pitch-type-icon {
        font-size: 34px;
        width: 48px;
    }

    .pitch-type-name {
        font-size: 17px;
    }

    .pitch-type-desc {
        font-size: 13px;
    }

    .price-amount {
        font-size: 18px;
    }

    /* Pitch list */
    .pitch-card {
        transition: all 0.15s ease;
    }

    .pitch-card .pitch-card-body {
        padding: 14px 18px;
    }

    .pitch-card:hover {
        background: var(--c-parchment);
        transform: translateX(2px);
    }

    .pitch-card.selected {
        transform: translateX(2px);
    }

    .pitch-code {
        font-size: 12px;
        padding: 5px 10px;
    }

    .pitch-name {
        font-size: 15px;
    }

    /* Summary bar (step 1) */
    .booking-summary-bar {
        padding: 12px 18px;
        font-size: 14px;
        border-radius: var(--radius-xl);
    }

    .step-heading {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .step-subtext {
        font-size: 14px;
        margin-bottom: 18px;
    }

    /* Guest details form - two-column on desktop */
    .form-stack {
        gap: 16px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .form-stack .form-field.full-width,
    .form-stack .terms-row {
        grid-column: 1 / -1;
    }

    .field-input {
        padding: 12px 16px;
        border-radius: var(--radius-md);
        font-size: 15px;
        transition: all 0.2s ease;
    }

    .field-input:hover:not(:focus) {
        border-color: #cdc6b8;
    }

    /* Details summary */
    .details-summary {
        padding-bottom: 16px;
        margin-bottom: 14px;
    }

    .summary-pitch {
        font-size: 18px;
    }

    .summary-total {
        font-size: 24px;
    }

    .card-heading {
        font-size: 18px;
        margin-bottom: 16px;
    }

    /* Confirmation */
    .confirm-hero {
        padding: 36px 28px 32px;
        border-radius: var(--radius-xl);
    }

    .confirm-tick {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .confirm-title {
        font-size: 26px;
    }

    .confirm-subtitle {
        font-size: 14px;
    }

    .confirm-ref-value {
        font-size: 22px;
    }

    /* Summary rows */
    .summary-row {
        padding: 10px 0;
        font-size: 14px;
    }

    .summary-row.total .summary-val {
        font-size: 22px;
    }

    /* Footer */
    .booking-footer {
        flex-shrink: 0;
        padding: 12px 28px;
        font-size: 12px;
        border-radius: 0;
    }

    /* Scrollbar styling for desktop main panel */
    .booking-main::-webkit-scrollbar {
        width: 5px;
    }

    .booking-main::-webkit-scrollbar-thumb {
        background: #d5cdbe;
        border-radius: 5px;
    }

    .booking-main::-webkit-scrollbar-track {
        background: transparent;
    }
}

/* ═══════════════════════════════════════════════════════
   Extra-wide desktop - ≥ 1200px
   ═══════════════════════════════════════════════════════ */

@media (min-width: 1200px) {

    .booking-header {
        padding: 18px 32px;
    }

    .header-park-name {
        font-size: 22px;
    }

    .desktop-sidebar {
        width: 380px;
        min-width: 380px;
    }

    .desktop-sidebar .sidebar-inner {
        padding: 28px;
    }

    .step-body {
        padding: 32px;
    }
}

/* ═══════════════════════════════════════════════════════
   Payment Section Styles
   ═══════════════════════════════════════════════════════ */

.payment-amount-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--c-forest-dark) 0%, var(--c-forest) 100%);
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 16px;
}

.payment-amount-label {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.payment-amount-value {
    font-family: var(--ff-display);
    font-size: 32px;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.payment-amount-detail {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.payment-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.payment-mode-badge.deposit {
    background: var(--c-amber-bg);
    color: var(--c-amber-text);
    border: 1px solid #f0e4c8;
}

.payment-mode-badge.full {
    background: var(--c-mint-light);
    color: var(--c-forest-dark);
    border: 1px solid var(--c-mint-border);
}

.payment-element-container {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-warm-border);
    padding: 16px;
    margin-bottom: 12px;
    min-height: 200px;
}

.payment-element-container #payment-element {
    min-height: 160px;
}

.express-checkout-container {
    margin-bottom: 16px;
}

.express-checkout-container #express-checkout-element {
    min-height: 48px;
}

.payment-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    font-size: 12px;
    color: var(--c-text-muted);
    font-weight: 600;
}

.payment-divider::before,
.payment-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-warm-border);
}

.btn-pay {
    width: 100%;
    padding: 15px;
    border-radius: 13px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--c-forest-dark), var(--c-forest));
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--ff-body);
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: default;
}

.btn-pay:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(15, 33, 63, 0.35);
}

.btn-pay .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}

.btn-pay.loading .spinner {
    display: inline-block;
}

.btn-pay.loading .btn-pay-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    font-size: 11px;
    color: var(--c-text-muted);
}

.payment-security svg {
    flex-shrink: 0;
}

.payment-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 13px;
    color: #991b1b;
    margin-bottom: 12px;
    display: none;
}

.payment-error.visible {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    animation: fadeUp 0.2s ease;
}

.no-payment-card {
    text-align: center;
    padding: 24px 20px;
    background: var(--c-mint-light);
    border: 1px solid var(--c-mint-border);
    border-radius: var(--radius-lg);
}

.no-payment-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.no-payment-title {
    font-family: var(--ff-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--c-forest-dark);
    margin-bottom: 4px;
}

.no-payment-text {
    font-size: 13px;
    color: var(--c-text);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .payment-amount-value {
        font-size: 38px;
    }

    .payment-element-container {
        padding: 20px;
    }

    .btn-pay {
        padding: 17px;
        font-size: 17px;
        border-radius: 14px;
    }
}

/* ─── Vehicle Length Banner ──────────────────────────── */
.vehicle-length-banner {
    background: var(--c-mint-light);
    border: 1px solid var(--c-mint-border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    margin-top: 8px;
    font-size: 14px;
    color: var(--c-forest-dark);
    text-align: center;
}

.vehicle-length-highlight {
    background: var(--c-mint-light);
    border-radius: var(--radius-sm);
    padding: 2px 0;
}

.vehicle-length-highlight span:first-child {
    font-weight: 600;
    color: var(--c-forest-dark);
}

/* ─── Policy Modal ──────────────────────────────────── */
.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
}

.policy-modal.is-open {
    visibility: visible;
    pointer-events: auto;
}

.policy-modal-backdrop {
    position: absolute;
    inset: 0;
    /* iOS Safari only fires click/tap on non-interactive elements that look
       clickable, so cursor:pointer is what makes tap-the-backdrop-to-close work. */
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.policy-modal.is-open .policy-modal-backdrop {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.policy-modal-content {
    position: relative;
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-height: 92dvh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.policy-modal.is-open .policy-modal-content {
    transform: translateY(0);
}

/* Drag handle for touch affordance */
.policy-modal-drag-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 4px;
    cursor: grab;
    touch-action: none;
    flex-shrink: 0;
}

.policy-modal-drag-handle::before {
    content: '';
    width: 36px;
    height: 5px;
    border-radius: 3px;
    background: var(--c-warm-border);
    transition: background 0.2s ease;
}

.policy-modal-drag-handle:active::before {
    background: var(--c-text-muted);
}

.policy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 20px 16px;
    flex-shrink: 0;
}

.policy-modal-header h3 {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin: 0;
    flex: 1;
    padding-right: 12px;
}

.policy-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-warm-bg);
    border: none;
    color: var(--c-text-muted);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.policy-modal-close svg {
    width: 16px;
    height: 16px;
}

.policy-modal-close:hover {
    background: var(--c-warm-border);
    color: var(--c-text-dark);
}

.policy-modal-close:active {
    background: var(--c-warm-border);
    color: var(--c-text-dark);
    transform: scale(0.92);
}

.policy-modal-divider {
    height: 1px;
    background: var(--c-warm-border);
    margin: 0 20px;
    flex-shrink: 0;
}

.policy-modal-body {
    padding: 20px 20px 8px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    font-size: 15px;
    line-height: 1.75;
    color: var(--c-text);
}

.policy-modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin: 0 0 12px 0;
}

.policy-modal-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text-dark);
    margin: 24px 0 8px 0;
}

.policy-modal-body p {
    margin: 0 0 14px 0;
}

.policy-modal-body ul {
    padding-left: 20px;
    margin: 0 0 14px 0;
}

.policy-modal-body li {
    margin-bottom: 8px;
}

/* Loading skeleton */
.policy-modal-loading {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

.policy-modal-loading-line {
    height: 14px;
    border-radius: 7px;
    background: linear-gradient(90deg, var(--c-warm-bg) 25%, var(--c-warm-border-light) 50%, var(--c-warm-bg) 75%);
    background-size: 200% 100%;
    animation: policyShimmer 1.5s ease-in-out infinite;
}

.policy-modal-loading-line:nth-child(1) { width: 90%; }
.policy-modal-loading-line:nth-child(2) { width: 100%; }
.policy-modal-loading-line:nth-child(3) { width: 75%; }
.policy-modal-loading-line:nth-child(4) { width: 95%; height: 14px; margin-top: 8px; }
.policy-modal-loading-line:nth-child(5) { width: 85%; }
.policy-modal-loading-line:nth-child(6) { width: 60%; }

@keyframes policyShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Footer with close button */
.policy-modal-footer {
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    flex-shrink: 0;
}

.policy-modal-footer-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--c-forest);
    color: white;
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent;
}

.policy-modal-footer-btn:hover {
    background: var(--c-forest-dark);
}

.policy-modal-footer-btn:active {
    background: var(--c-forest-dark);
    transform: scale(0.98);
}

/* ─── Policy Modal - Desktop (≥768px) ─────────────────── */
@media (min-width: 768px) {
    .policy-modal {
        align-items: center;
        padding: 24px;
    }

    .policy-modal-content {
        max-width: 640px;
        max-height: 80vh;
        border-radius: var(--radius-lg);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        padding-bottom: 0;
    }

    .policy-modal-drag-handle {
        display: none;
    }

    .policy-modal-header {
        padding: 20px 24px 16px;
    }

    .policy-modal-divider {
        margin: 0 24px;
    }

    .policy-modal-body {
        padding: 20px 24px 8px;
    }

    .policy-modal-footer {
        padding: 12px 24px 16px;
    }

    .policy-modal-footer-btn {
        padding: 13px 24px;
    }
}

/* ═══════════════════════════════════════════════════════
   Pitch Type Thumbnails & Extras Chips
   ═══════════════════════════════════════════════════════ */

.pitch-type-thumb {
    width: 100px;
    min-width: 100px;
    height: 75px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.extras-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.extra-chip {
    font-size: 10px;
    font-weight: 600;
    color: var(--c-text-light);
    background: var(--c-warm-bg);
    padding: 2px 7px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ═══════════════════════════════════════════════════════
   Pitch Card with Thumbnail
   ═══════════════════════════════════════════════════════ */

.pitch-card-wrapper {
    border-top: 1px solid var(--c-warm-border-light);
    position: relative;
}

.pitch-card-wrapper:first-of-type {
    border-top: none;
}

.pitch-card-thumb {
    width: 72px;
    min-width: 72px;
    align-self: stretch;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    flex-shrink: 0;
}

.pitch-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.pitch-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 3px;
}

.pitch-card-feature {
    font-size: 9px;
    font-weight: 600;
    color: var(--c-sage);
    background: var(--c-mint-light);
    padding: 1px 5px;
    border-radius: 4px;
}

.pitch-detail-btn {
    display: block;
    width: 100%;
    padding: 6px 14px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--c-warm-border-light);
    font-family: var(--ff-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--c-forest);
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.pitch-detail-btn:hover {
    background: var(--c-mint-light);
}

/* ═══════════════════════════════════════════════════════
   Pitch Detail Modal (mobile bottom-sheet style)
   ═══════════════════════════════════════════════════════ */

.pitch-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pitch-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pitch-detail-modal.open .pitch-detail-backdrop {
    opacity: 1;
}

.pitch-detail-sheet {
    position: relative;
    background: white;
    border-radius: 20px 20px 0 0;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.pitch-detail-modal.open .pitch-detail-sheet {
    transform: translateY(0);
}

.pitch-detail-handle {
    width: 36px;
    height: 4px;
    background: #d5cdbe;
    border-radius: 2px;
    margin: 10px auto 0;
}

.pitch-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--c-warm-border-light);
}

.pitch-detail-title {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin: 0;
}

.pitch-detail-code {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-text-muted);
}

.pitch-detail-close {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--c-text-muted);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.pitch-detail-close:hover {
    color: var(--c-text-dark);
}

.pitch-detail-body {
    padding: 16px 18px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.pitch-detail-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--c-text);
    margin-bottom: 16px;
}

/* ── Gallery ────────────────────────────────────── */

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    background: var(--c-warm-bg);
}

.gallery-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.55));
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: var(--c-text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transition: background 0.15s ease;
}

.gallery-btn:hover {
    background: white;
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

.gallery-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
}

.gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d5cdbe;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gallery-dot.active {
    background: var(--c-forest);
    width: 9px;
    height: 9px;
}

/* ── Detail Features & Extras ────────────────── */

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.detail-feature-chip {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-sage);
    background: var(--c-mint-light);
    padding: 4px 10px;
    border-radius: 6px;
}

.detail-extras {
    margin-top: 12px;
}

.detail-extras-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-dark);
    margin-bottom: 10px;
}

.detail-extra-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--c-warm-border-light);
}

.detail-extra-item:first-of-type {
    border-top: none;
}

.detail-extra-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.detail-extra-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-dark);
}

.detail-extra-desc {
    font-size: 12px;
    color: var(--c-text-light);
    margin-top: 2px;
    line-height: 1.4;
}

/* ── Desktop overrides for detail modal ──────── */
@media (min-width: 768px) {

    .pitch-type-thumb {
        width: 130px;
        min-width: 130px;
        height: 90px;
        border-radius: var(--radius-lg);
    }

    .pitch-card-thumb {
        width: 90px;
        min-width: 90px;
    }

    .pitch-detail-modal {
        align-items: center;
    }

    .pitch-detail-sheet {
        border-radius: var(--radius-xl);
        max-width: 560px;
        max-height: 80vh;
        transform: translateY(30px);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .pitch-detail-modal.open .pitch-detail-sheet {
        transform: translateY(0);
        opacity: 1;
    }

    .pitch-detail-handle {
        display: none;
    }

    .gallery-slide img {
        height: 300px;
    }

    .pitch-detail-body {
        padding: 20px 24px 28px;
    }
}

/* ─── Payment Failed Modal Overlay ────────────────────── */

.payment-failed-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

.payment-failed-modal {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ─── Payment Failed Content ─────────────────────────── */

.payment-failed-hero {
    text-align: center;
    padding: 32px 20px 24px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.payment-failed-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: white;
    border: 2px solid #fca5a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    animation: scaleIn 0.4s ease;
}

.payment-failed-title {
    font-family: var(--ff-display);
    font-size: 22px;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 8px;
}

.payment-failed-message {
    font-size: 14px;
    color: #b91c1c;
    margin-bottom: 8px;
    line-height: 1.5;
}

.payment-failed-reassurance {
    font-size: 13px;
    color: var(--c-text-light);
    margin-bottom: 0;
}

.payment-failed-actions {
    text-align: center;
    padding: 16px 0;
}

.payment-failed-actions .btn {
    min-width: 180px;
}

.payment-failed-help {
    text-align: center;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

.payment-failed-help p {
    margin: 4px 0;
}

/* ─── Membership Card (CL/CS sites) ─────────────────── */
.membership-card {
    background: linear-gradient(135deg, var(--c-forest-dark) 0%, var(--c-forest) 60%, var(--c-sage) 100%);
    border-radius: var(--radius-lg);
    padding: 24px 20px 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 33, 63, 0.25);
}

.membership-card::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.membership-card::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.membership-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.membership-card-badge svg {
    flex-shrink: 0;
}

.membership-card-title {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
}

.membership-card-text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

.membership-card-text strong {
    color: #fff;
    font-weight: 600;
}

.membership-field {
    position: relative;
    z-index: 1;
}

.membership-field .field-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.membership-field .field-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--c-text-dark);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.membership-field .field-input::placeholder {
    color: var(--c-text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

.membership-field .field-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.membership-field .field-input.error {
    border-color: #fca5a5;
    background: #fff5f5;
}

.membership-field .field-error {
    color: #fde68a;
    font-weight: 500;
}

.membership-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.membership-join-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    padding: 7px 14px;
    border-radius: 20px;
    transition: background 0.2s ease;
}

.membership-join-link:hover {
    background: rgba(255, 255, 255, 0.25);
}

.membership-join-link svg {
    flex-shrink: 0;
}

/* ─── Booking rule notices (adults only, min age, min notice) ─────────── */
.booking-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 16px;
    padding: 16px 18px;
}

.booking-notice__icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-notice__title {
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}

.booking-notice__body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #4b4a44;
}

.booking-notice--adults-only {
    background: #fff4e6;
    border: 1px solid #f7c486;
}

.booking-notice--adults-only .booking-notice__icon {
    background: #f7c486;
    color: #7a4a00;
}

.booking-notice--adults-only .booking-notice__title {
    color: #7a4a00;
}

.booking-notice--info {
    background: #eef4fa;
    border: 1px solid #b4d0e9;
}

.booking-notice--info .booking-notice__icon {
    background: #b4d0e9;
    color: #0f213f;
}

.booking-notice--info .booking-notice__title {
    color: #0f213f;
}

/* ─── Extras selection (step 2) ───────────────────────── */

.extras-card {
    background: linear-gradient(180deg, #fffaf3 0%, #ffffff 70%);
    border: 1px solid #f4e2c5;
    box-shadow: 0 1px 0 #f4e2c5, 0 6px 14px rgba(15, 33, 63, 0.05);
}

.extras-card-header {
    margin-bottom: 18px;
}

.extras-card-sub {
    margin: 6px 0 0;
    font-size: 15px;
    color: #6c6557;
    line-height: 1.5;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── Extra card: tactile, sexy, grandma-proof ─────────
   - Big icon tile, bold name, clear price.
   - Whole card is a button-feeling target (single .extra-card-tap covers the body).
   - Selected state: emerald wash + lift + "Added ✓" pill.
   - +/- counter: large, finger-friendly, with a pop animation on tap.
   ────────────────────────────────────────────────────── */
.extra-card {
    position: relative;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    border: 2px solid #ece7d8;
    box-shadow: 0 1px 2px rgba(15, 33, 63, 0.04);
    transition:
        border-color 200ms ease,
        background 200ms ease,
        box-shadow 200ms ease,
        transform 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.extra-card:hover {
    border-color: #cdbf9a;
    box-shadow: 0 4px 16px rgba(15, 33, 63, 0.08);
    transform: translateY(-1px);
}

.extra-card.selected {
    border-color: var(--c-forest);
    background: linear-gradient(180deg, #f0f6fc 0%, #ffffff 95%);
    box-shadow:
        0 2px 0 #bcdcf1,
        0 8px 24px rgba(15, 33, 63, 0.12);
    transform: translateY(-1px);
}

.extra-card.selected::before {
    content: "Added";
    position: absolute;
    top: -10px;
    right: 14px;
    background: var(--c-forest);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px 4px 24px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(15, 33, 63, 0.25);
    background-image:
        radial-gradient(circle at 10px 50%, #ffffff 3.5px, transparent 4px),
        linear-gradient(180deg, var(--c-forest) 0%, var(--c-forest-dark) 100%);
    animation: extraBadgeIn 320ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes extraBadgeIn {
    0%   { opacity: 0; transform: translateY(6px) scale(0.85); }
    60%  { opacity: 1; transform: translateY(-2px) scale(1.05); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.extra-card.disabled {
    opacity: 0.55;
}

.extra-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff4dc 0%, #ffe6b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 1px 2px rgba(139, 105, 20, 0.08);
    transition: background 220ms ease, transform 220ms ease;
}

.extra-card.selected .extra-card-icon {
    background: linear-gradient(135deg, #e3f0fa 0%, #bcdcf1 100%);
    transform: scale(1.05) rotate(-3deg);
}

.extra-card-body {
    min-width: 0;
}

.extra-card-name {
    font-family: var(--ff-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text-dark);
    line-height: 1.25;
    letter-spacing: -0.005em;
}

.extra-card-desc {
    font-size: 14px;
    color: var(--c-text-light);
    margin-top: 4px;
    line-height: 1.5;
}

.extra-card-price {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-forest);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.extra-card.selected .extra-card-price {
    color: var(--c-forest-dark);
}

.extra-card-total {
    margin-top: 8px;
    font-size: 13px;
    color: var(--c-text-light);
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    animation: extraTotalIn 240ms ease;
}

@keyframes extraTotalIn {
    from { opacity: 0; transform: translateY(-2px); }
    to   { opacity: 1; transform: translateY(0); }
}

.extra-card-total strong {
    color: var(--c-forest-dark);
    font-size: 15px;
    font-weight: 800;
}

.extra-card-blocked {
    margin-top: 8px;
    font-size: 13px;
    color: #92400e;
    font-weight: 600;
    background: #fef3c7;
    padding: 4px 10px;
    border-radius: 999px;
    display: inline-block;
}

/* Plain-language note for extras that have no quantity (per person / per dog / single-only). */
.extra-card-note {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-light);
}

/* Add/remove toggle - shown instead of the +/- counter for per-person, per-dog,
   and single-only extras, where a quantity makes no sense. */
.extra-card-toggle {
    flex-shrink: 0;
    border: 2px solid var(--c-forest);
    background: #ffffff;
    color: var(--c-forest-dark);
    font-weight: 800;
    font-size: 15px;
    padding: 11px 24px;
    border-radius: 999px;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
    transition: background 160ms ease, color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
    -webkit-tap-highlight-color: transparent;
}

.extra-card-toggle:hover {
    background: #f0f6fc;
    box-shadow: 0 4px 12px rgba(15, 33, 63, 0.12);
}

.extra-card-toggle:active {
    transform: scale(0.96);
}

.extra-card-toggle.is-on {
    background: linear-gradient(180deg, var(--c-forest) 0%, var(--c-forest-dark) 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 33, 63, 0.25);
}

.extra-card-toggle[data-blocked="true"] {
    cursor: not-allowed;
    opacity: 0.5;
}

.extra-card-toggle[data-blocked="true"]:hover {
    background: #ffffff;
    box-shadow: none;
}

.extra-card-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(180deg, #f6f1e6 0%, #ece1c8 100%);
    border: 1.5px solid #ece1c8;
    border-radius: 999px;
    padding: 5px;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.extra-card.selected .extra-card-counter {
    background: linear-gradient(180deg, #ffffff 0%, #f0f6fc 100%);
    border-color: var(--c-forest);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(15, 33, 63, 0.1);
}

.extra-counter-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    color: var(--c-text-dark);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 160ms ease, color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    -webkit-tap-highlight-color: transparent;
}

.extra-counter-btn:hover {
    background: var(--c-forest);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 33, 63, 0.25);
}

.extra-counter-btn:active {
    transform: scale(0.88);
}

.extra-card-counter[data-blocked="true"] .extra-counter-btn {
    cursor: not-allowed;
    opacity: 0.5;
}
.extra-card-counter[data-blocked="true"] .extra-counter-btn:hover {
    background: #ffffff;
    color: var(--c-text-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.extra-counter-value {
    min-width: 28px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: var(--c-text-dark);
    padding: 0 4px;
    font-variant-numeric: tabular-nums;
    transition: color 200ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.extra-card.selected .extra-counter-value {
    color: var(--c-forest-dark);
}

.extra-card.just-added .extra-counter-value {
    animation: extraCounterPop 320ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes extraCounterPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

@media (max-width: 480px) {
    .extra-card {
        grid-template-columns: 48px 1fr;
        grid-template-areas:
            "icon body"
            "counter counter";
        gap: 12px;
        padding: 14px;
        border-radius: 16px;
    }

    .extra-card-icon { grid-area: icon; width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
    .extra-card-body { grid-area: body; }
    .extra-card-counter {
        grid-area: counter;
        justify-self: stretch;
        justify-content: space-between;
        margin-top: 8px;
        padding: 6px;
    }
    .extra-counter-btn { width: 44px; height: 44px; font-size: 22px; }
    .extra-card-toggle { grid-area: counter; justify-self: stretch; margin-top: 8px; }
    .extra-card-name { font-size: 17px; }
}

/* ─── Embedded "scroll for more" cue ──────────────────────
   Only shown when the portal is embedded in an iframe, where guests
   often don't realise the inner area scrolls. Auto-hides at the bottom. */
#cs-scroll-cue {
    position: fixed;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%) translateY(8px);
    z-index: 1000;
    display: none;               /* shown only when embedded + scrollable */
    align-items: center;
    gap: 7px;
    padding: 9px 16px 9px 14px;
    border: none;
    border-radius: 999px;
    background: var(--c-forest);
    color: #fff;
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    #cs-scroll-cue svg {
        width: 18px;
        height: 18px;
        animation: cs-scroll-cue-bob 1.4s ease-in-out infinite;
    }

/* Visible only while embedded AND there is more content below */
html.is-embedded #cs-scroll-cue.is-visible {
    display: inline-flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

    #cs-scroll-cue:hover { background: var(--c-forest-dark); }
    #cs-scroll-cue:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 2px; }

@keyframes cs-scroll-cue-bob {
    0%, 100% { transform: translateY(-2px); }
    50%      { transform: translateY(3px); }
}

@media (prefers-reduced-motion: reduce) {
    #cs-scroll-cue svg { animation: none; }
    #cs-scroll-cue { transition: opacity 0.2s ease; }
}
