/* ========================
   Page Hero
======================== */
.page-hero {
    position: relative;
    height: 440px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30,12,3,0.50) 0%, rgba(30,12,3,0.74) 100%);
}
.page-hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 700px;
}
.page-hero-body .hero-eyebrow {
    display: inline-block;
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 16px;
}
.page-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 18px;
}
.page-hero-title em {
    font-style: italic;
    font-weight: 400;
}
.page-hero-sub {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
    max-width: 460px;
    margin: 0 auto;
}

/* ========================
   Utility
======================== */


.hidden {
    display: none !important;
}

.full-width {
    width: 100%;
}
.step {
    display: none !important;
}

.step.active {
    display: flex !important;
}
/* ========================
   Section Labels
======================== */
.section-label {
    font-size: 13px;
    font-weight: 700;
    color: #6B3A1F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-label-optional {
    font-weight: 400;
    color: #aaa;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

/* ========================
   Venue Wrapper (Step 2)
======================== */
.venue-wrapper {
    width: 100%;
    margin-top: 30px;
}

.venue-map-hint {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.venue-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}

.venue-search-row .res-input {
    flex: 1;
    margin: 0;
}

.venue-search-btn {
    padding: 10px 18px;
    background: var(--brown-primary, #3D1A0A);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.venue-search-btn:hover {
    background: var(--brown-dark, #1E0C03);
}

.venue-map-container {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    border: 1.5px solid #e0d5cc;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.venue-pinned-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: #faf6f2;
    border: 1px solid #e8ddd6;
    border-radius: 8px;
    font-size: 0.84rem;
    color: #555;
    line-height: 1.5;
    min-height: 42px;
}

.venue-pin-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ========================
   Snack Add-on Banner (Step 3)
======================== */
.addon-banner {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0d0c0;
}

/* ========================
   Offsite Sub-section (Step 3)
======================== */
.offsite-sub-section {
    margin-top: 24px;
}

/* ========================
   Food Tray Builder (Step 4)
======================== */
.tray-section {
    width: 100%;
    margin-bottom: 8px;
}

.tray-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.tray-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: #2A1408;
}

.tray-icon {
    font-size: 20px;
}

.dish-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.pax-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.pax-label {
    font-size: 13px;
    font-weight: 600;
    color: #6B3A1F;
}

.tray-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0 16px;
}

/* ========================
   Tray Cart (Step 4)
======================== */
.tray-cart {
    width: 100%;
    background-color: #FFF8F0;
    border: 1px solid #e0d0c0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.tray-cart h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2A1408;
    margin-bottom: 12px;
}

.tray-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #2A1408;
    padding: 6px 0;
    border-bottom: 1px solid #e0d0c0;
}

.tray-cart-row:last-of-type {
    border-bottom: none;
}

.tray-cart-total {
    font-size: 15px;
    font-weight: 700;
    color: #6B3A1F;
    text-align: right;
    margin-top: 10px;
}

.reservation-section {
    padding: 64px 20px 80px;
    background: var(--cream-dark, #F2EBE0);
    min-height: 60vh;
}

.reservation-container {
    margin: 0 auto;
    padding: 40px;
    max-width: 720px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 24px rgba(30,12,3,0.08);
    border: 1px solid var(--border, rgba(61,26,10,0.10));
    text-align: left;
}

        /* Progress */
        .progress-container { margin-bottom: 28px; text-align: center; }
        .progress-bar { width: 100%; height: 10px; background-color: #eee; border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
        #progress { height: 10px; width: 0%; background-color: var(--brown-primary, #3D1A0A); transition: width 0.3s ease; border-radius: 10px; }
        #step-text { font-size: 12px; color: var(--brown-light, #B07D5A); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

        /* Steps */
        .res-step { display: none; }
        .res-step.active { display: block; }
        .res-step h2 { font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif); font-weight: 400; color: var(--brown-dark, #1E0C03); font-size: 30px; margin-bottom: 6px; }
        .res-step > p { color: #777; font-size: 14px; margin-bottom: 20px; }
        .smart-step-section {
            margin-top: 24px;
            padding-top: 22px;
            border-top: 1px solid #f0e5db;
        }
        .smart-step-section:first-of-type {
            margin-top: 0;
            padding-top: 0;
            border-top: none;
        }
        .smart-step-heading {
            margin-bottom: 16px;
        }
        .smart-step-kicker {
            display: inline-block;
            margin-bottom: 6px;
            font-size: 10.5px;
            font-weight: 600;
            color: var(--brown-light, #B07D5A);
            text-transform: uppercase;
            letter-spacing: 0.14em;
        }
        .smart-step-heading h3 {
            margin: 0 0 6px;
            font-size: 18px;
            font-weight: 700;
            color: #2A1408;
        }
        .smart-step-heading p {
            margin: 0;
            font-size: 13px;
            color: #7b6a5d;
            line-height: 1.6;
        }

        /* Inputs */
        .res-input {
            width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid #ddd;
            font-size: 14px; color: #2A1408; background-color: #fff; margin-bottom: 14px;
            display: block; box-sizing: border-box; font-family: inherit;
        }
        .res-input:focus { outline: none; border-color: #6B3A1F; }
        textarea.res-input { height: 100px; resize: vertical; }
        .input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

        .availability-panel {
            margin-top: 8px;
            padding: 20px 22px;
            background: #fffaf4;
            border: 1px solid #e7d8c8;
            border-radius: 16px;
        }
        .availability-head {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: flex-start;
            margin-bottom: 16px;
        }
        .availability-head h3 {
            font-size: 16px;
            font-weight: 700;
            color: #2A1408;
            margin-bottom: 4px;
        }
        .availability-head p {
            font-size: 13px;
            color: #7b6a5d;
            margin: 0;
        }
        .availability-nav {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .availability-nav-btn {
            width: 34px;
            height: 34px;
            border-radius: 10px;
            border: 1px solid #e0d0c0;
            background: #fff;
            color: #6B3A1F;
            font: inherit;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            transition: background 0.2s, border-color 0.2s, transform 0.2s;
        }
        .availability-nav-btn:hover {
            background: #fff2e4;
            border-color: #c8aa93;
            transform: translateY(-1px);
        }
        .availability-nav-btn:disabled {
            opacity: 0.45;
            cursor: not-allowed;
            transform: none;
            background: #fff;
            border-color: #e0d0c0;
        }
        .availability-month {
            min-width: 132px;
            text-align: center;
            font-size: 15px;
            font-weight: 700;
            color: #2A1408;
        }
        .availability-weekdays,
        .availability-grid {
            display: grid;
            grid-template-columns: repeat(7, minmax(0, 1fr));
            gap: 8px;
        }
        .availability-weekdays {
            margin-bottom: 10px;
        }
        .availability-weekdays span {
            text-align: center;
            font-size: 12px;
            font-weight: 700;
            color: #8b7766;
            text-transform: uppercase;
        }
        .availability-day {
            min-height: 46px;
            border: 1px solid #eadfd5;
            border-radius: 12px;
            background: #fff;
            color: #5b4636;
            font: inherit;
            font-size: 15px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
        }
        .availability-day:hover {
            transform: translateY(-1px);
            border-color: #cfb7a2;
            box-shadow: 0 8px 18px rgba(104, 67, 37, 0.08);
        }
        .availability-day.outside-month {
            background: transparent;
            color: #b5a89a;
            cursor: default;
            box-shadow: none;
        }
        .availability-day.outside-month:hover {
            transform: none;
            border-color: #eadfd5;
        }
        .availability-day.past,
        .availability-day.booked {
            cursor: not-allowed;
        }
        .availability-day.closed {
            cursor: pointer;
        }
        .availability-day.available {
            background: #e4f3e3;
            border-color: #cae2c8;
            color: #0f7a32;
        }
        .availability-day.booked {
            background: #ffeded;
            border-color: #f4cccc;
            color: #d62828;
        }
        .availability-day.closed {
            background: #f3e5d7;
            border-color: #dcc6b2;
            color: #8b5e3c;
        }
        .availability-day.closed:hover {
            transform: translateY(-1px);
            border-color: #c5a890;
            box-shadow: 0 8px 18px rgba(104, 67, 37, 0.08);
        }
        .availability-day.context-disabled {
            background: #f8f5f1;
            border-color: #e9ded3;
            color: #b19f8f;
            cursor: not-allowed;
            box-shadow: none;
        }
        .availability-day.context-disabled:hover {
            transform: none;
            border-color: #e9ded3;
            box-shadow: none;
        }
        /* Available, but a location/package hasn't been chosen yet — shown so
           anyone (including signed-out visitors) can preview open dates.
           Dashed border signals "informational" rather than "ready to
           select", since clicking still just prompts them to choose a
           booking type first. */
        .availability-day.available.preview {
            border-style: dashed;
            cursor: pointer;
        }
        .availability-day.available.preview:hover {
            transform: none;
            box-shadow: none;
        }
        .availability-day.past {
            background: #f8f5f1;
            color: #c3b5a7;
        }
        .availability-day.selected {
            border-color: #6B3A1F;
            box-shadow: 0 0 0 2px rgba(107, 58, 31, 0.16);
        }
        .availability-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 16px;
        }
        .availability-legend-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            border-radius: 999px;
            background: #fff;
            border: 1px solid #eadfd5;
            font-size: 12px;
            font-weight: 600;
            color: #5f5144;
        }
        .availability-swatch {
            width: 10px;
            height: 10px;
            border-radius: 999px;
            display: inline-block;
        }
        .availability-swatch.available { background: #73b96b; }
        .availability-swatch.booked { background: #ef6b6b; }
        .availability-swatch.closed { background: #b08968; }
        .availability-swatch.past { background: #c3b5a7; }
        .availability-message {
            margin-top: 14px;
            font-size: 12px;
            color: #7b6a5d;
            line-height: 1.5;
        }
        .availability-message.error {
            color: #b42318;
        }
        .availability-closure-note {
            margin-top: 14px;
            padding: 14px 16px;
            border: 1px solid #e3d2c1;
            border-radius: 14px;
            background: linear-gradient(180deg, #fff8ef 0%, #fff4e6 100%);
        }
        .availability-closure-label {
            margin: 0 0 6px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #8b5e3c;
        }
        .availability-closure-copy {
            margin: 0;
            font-size: 13px;
            line-height: 1.6;
            color: #5e4636;
        }

        /* Location Cards */
        .location-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 8px; }
        .location-card {
            border: 1px solid #ddd;
            border-radius: 12px;
            padding: 30px 24px;
            min-height: 150px;
            cursor: pointer;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: all 0.2s;
        }
        .loc-icon {
            width: 48px;
            height: 48px;
            margin: 0 auto 14px;
            border-radius: 14px;
            background: #fff8f0;
            border: 1px solid #ead8ca;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6B3A1F;
            font-size: 20px;
        }
        .location-card:hover  { border-color: #6B3A1F; background: #FFF8F0; }
        .location-card.active { border-color: #6B3A1F; background: #FFEDE0; }
        .location-card h4 { font-size: 16px; font-weight: 700; color: #2A1408; margin-bottom: 8px; }
        .location-card p  { font-size: 13px; color: #777; margin: 0; line-height: 1.6; max-width: 250px; text-align: center; }

        /* Package Cards — base grid; the unified card's own visual design
           (image, chips, price, details link) lives in the dedicated
           "Unified package card + category chips" section appended at the
           end of this file. */
        .cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 6px; }

        /* Section Label */
        .section-label {
            font-size: 12px; font-weight: 700; color: #6B3A1F;
            text-transform: uppercase; letter-spacing: 0.5px; margin: 20px 0 10px;
        }

        /* Add-on Banner */
        .addon-banner { border-top: 1px dashed #e0d0c0; margin-top: 24px; padding-top: 20px; }

        /* Catering Inclusions Banner */
        .catering-inclusions {
            background: #FFF8F0;
            border: 1px solid #e0d0c0;
            border-radius: 12px;
            padding: 18px 20px;
            margin-bottom: 20px;
        }
        .catering-inclusions h4 {
            font-size: 14px; font-weight: 700; color: #2A1408; margin: 0 0 10px;
        }
        .catering-inclusions ul {
            margin: 0; padding-left: 18px; color: #555; font-size: 13px; line-height: 1.9;
        }
        .catering-inclusions .special-offer {
            margin-top: 12px;
            padding: 10px 14px;
            background: #6B3A1F;
            color: #fff;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
        }
        .catering-inclusions .special-offer span {
            display: block;
            font-weight: 400;
            margin-top: 2px;
            opacity: 0.9;
        }

        .progress-tracker {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #FFF8F0;
            border: 1px solid #e8d8cc;
            border-radius: 12px;
            padding: 14px 20px;
            margin: 20px 0 28px;
            flex-wrap: wrap;
            gap: 10px;
        }
        .pt-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            color: #aaa;
        }
        .pt-item.done { color: #0F6E56; }
        .pt-item.pending { color: #2A1408; font-weight: 600; }
        .pt-dot {
            width: 20px; height: 20px;
            border-radius: 50%;
            border: 1.5px solid #ddd;
            display: flex; align-items: center; justify-content: center;
            font-size: 10px;
            flex-shrink: 0;
            background: #fff;
            color: #bbb;
        }
        .pt-item.done .pt-dot {
            background: #E1F5EE;
            border-color: #1D9E75;
            color: #0F6E56;
        }
        .pt-item.pending .pt-dot {
            background: #6B3A1F;
            border-color: #6B3A1F;
            color: #fff;
        }
        .pt-divider {
            flex: 1;
            height: 1px;
            background: #e8d8cc;
            min-width: 16px;
        }

        .builder-label {
            font-size: 12px;
            font-weight: 700;
            color: #6B3A1F;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            margin-bottom: 6px;
        }
        .builder-hint {
            font-size: 13px;
            color: #888;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        /* Pills */
        .pills-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
        .pill { padding: 7px 14px; border: 1px solid #ddd; border-radius: 20px; background: #fafafa; cursor: pointer; font-size: 13px; transition: all 0.2s; }
        .pill:hover  { border-color: #6B3A1F; background: #FFF8F0; }
        .pill.active { border-color: #6B3A1F; background: #FFEDE0; color: #6B3A1F; font-weight: 600; }

        .cat-section { margin-bottom: 4px; }
        .cat-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }
        .cat-icon-wrap {
            width: 32px; height: 32px;
            background: #FFF8F0;
            border: 1px solid #e8d8cc;
            border-radius: 8px;
            display: flex; align-items: center; justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }
        .cat-title {
            font-size: 15px;
            font-weight: 700;
            color: #2A1408;
        }
        .cat-tag {
            font-size: 11px;
            color: #aaa;
            font-weight: 400;
            margin-left: 2px;
        }
        .cat-done-badge {
            margin-left: auto;
            font-size: 11px;
            color: #0F6E56;
            background: #E1F5EE;
            border: 1px solid #9FE1CB;
            border-radius: 20px;
            padding: 2px 10px;
            font-weight: 600;
            display: none;
        }
        .cat-done-badge.visible { display: inline-block; }

        .dish-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 0;
        }
        .dish-card {
            border: 1px solid #e4d5c9;
            border-radius: 10px;
            padding: 11px 14px;
            cursor: pointer;
            background: #fff;
            transition: border-color 0.15s, background 0.15s;
            user-select: none;
            position: relative;
        }
        .dish-card:hover {
            border-color: #6B3A1F;
            background: #FFF8F0;
        }
        .dish-card.selected {
            border: 1.5px solid #1D9E75;
            background: #E1F5EE;
        }
        .dish-card.selected:hover {
            background: #c5eedd;
        }
        .dish-name {
            font-size: 13px;
            color: #2A1408;
            line-height: 1.4;
            font-weight: 500;
        }
        .dish-status {
            font-size: 11px;
            margin-top: 5px;
            font-weight: 600;
            display: none;
        }
        .dish-card.selected .dish-status.checked { display: block; color: #0F6E56; }
        .dish-card.selected:hover .dish-status.checked { display: none; }
        .dish-card.selected:hover .dish-status.remove  { display: block; color: #0F6E56; }

        .pax-wrapper {
            margin-top: 12px;
            padding: 12px 14px;
            background: #FFFCF9;
            border: 1px dashed #d4bfb0;
            border-radius: 10px;
            display: none;
        }
        .pax-wrapper.visible { display: block; }
        .pax-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
        }
        .pax-top-label {
            font-size: 12px;
            font-weight: 700;
            color: #6B3A1F;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .pax-selected-price {
            font-size: 13px;
            font-weight: 700;
            color: #0F6E56;
        }
        .pax-buttons {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        .pax-btn {
            border: 1px solid #e4d5c9;
            border-radius: 8px;
            padding: 7px 16px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            background: #fff;
            color: #2A1408;
            font-family: inherit;
            transition: all 0.15s;
        }
        .pax-btn:hover {
            border-color: #6B3A1F;
            background: #FFF8F0;
        }
        .pax-btn.selected {
            border: 1.5px solid #1D9E75;
            background: #E1F5EE;
            color: #085041;
            font-weight: 700;
        }
        .pax-hint {
            font-size: 11px;
            color: #aaa;
            margin-top: 8px;
        }
        .cat-divider {
            border: none;
            border-top: 1px solid #f0e8e0;
            margin: 16px 0 20px;
        }

        .cart-section { margin-top: 28px; }
        .cart-box {
            border: 1px solid #e4d5c9;
            border-radius: 14px;
            overflow: hidden;
        }
        .cart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: #FFF8F0;
            border-bottom: 1px solid #e8d8cc;
        }
        .cart-header-left {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 700;
            color: #2A1408;
        }
        .cart-count-badge {
            background: #6B3A1F;
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            border-radius: 20px;
            padding: 2px 8px;
            min-width: 22px;
            text-align: center;
        }
        .cart-running-total {
            font-size: 15px;
            font-weight: 700;
            color: #6B3A1F;
        }
        .cart-empty-state {
            padding: 24px 18px;
            text-align: center;
            font-size: 13px;
            color: #bbb;
        }
        .cart-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 18px;
            border-bottom: 1px solid #f0e8e0;
            transition: background 0.15s;
        }
        .cart-item:last-child { border-bottom: none; }
        .cart-item:hover { background: #FFFCF9; }
        .ci-indicator {
            width: 8px; height: 8px;
            border-radius: 50%;
            background: #1D9E75;
            flex-shrink: 0;
        }
        .ci-cat {
            font-size: 11px;
            font-weight: 700;
            color: #6B3A1F;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 2px;
        }
        .ci-dish {
            font-size: 13px;
            color: #2A1408;
        }
        .ci-pax {
            font-size: 11px;
            color: #888;
            margin-top: 1px;
        }
        .ci-right {
            margin-left: auto;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .ci-price {
            font-size: 13px;
            font-weight: 700;
            color: #2A1408;
        }
        .ci-remove-btn {
            background: none;
            border: 1px solid #e4d5c9;
            border-radius: 6px;
            padding: 3px 8px;
            font-size: 11px;
            color: #aaa;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.15s;
        }
        .ci-remove-btn:hover {
            border-color: #c0392b;
            color: #c0392b;
            background: #fdf2f2;
        }
        .cart-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: #FFF8F0;
            border-top: 1px solid #e8d8cc;
        }
        .cart-footer-left {
            font-size: 12px;
            color: #888;
        }
        .cart-footer-right {
            font-size: 16px;
            font-weight: 700;
            color: #6B3A1F;
        }
        .validation-notice {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            background: #FFF3CD;
            border: 1px solid #FFD966;
            border-radius: 10px;
            padding: 12px 16px;
            margin-top: 16px;
            font-size: 13px;
            color: #6B4C00;
        }
        .validation-notice.success {
            background: #E1F5EE;
            border-color: #1D9E75;
            color: #085041;
        }
        .vn-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

        /* Time Grid */
        .time-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
        .time-card { border: 1px solid #ddd; border-radius: 12px; padding: 14px; text-align: center; cursor: pointer; font-size: 14px; font-weight: 600; color: #2A1408; transition: all 0.2s; }
        .time-card:hover  { border-color: #6B3A1F; background: #FFF8F0; }
        .time-card.active { border-color: #6B3A1F; background: #FFEDE0; }
        .time-card.disabled {
            cursor: not-allowed;
            background: #f5f1eb;
            color: #9c8f84;
            border-color: #e3d8cd;
        }
        .time-card.disabled:hover {
            border-color: #e3d8cd;
            background: #f5f1eb;
        }
        .time-status-note {
            margin-top: 14px;
            font-size: 13px;
            color: #6B3A1F;
            line-height: 1.6;
        }
        .time-end-readout {
            margin-top: 10px;
            font-size: 14px;
            font-weight: 600;
            color: #2A1408;
        }
        .time-grid-loading {
            grid-column: 1 / -1;
            font-size: 13px;
            color: #9c8f84;
            text-align: center;
            padding: 12px 0;
        }

        /* Summary */
        .summary-box { background: var(--cream, #FAF8F4); border: 1px solid var(--border, rgba(61,26,10,0.10)); border-radius: 4px; padding: 22px 24px; width: 100%; box-sizing: border-box; }
        .summary-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 14px; color: #2A1408; padding: 6px 0; border-bottom: 1px solid #e8ddd5; }
        .summary-row:last-child { border-bottom: none; }
        .summary-row .s-label { font-weight: 600; color: #6B3A1F; flex-shrink: 0; margin-right: 16px; }
        .summary-row .s-value { text-align: right; }
        .summary-divider { display: none; }
        .summary-total { font-size: 17px; font-weight: 700; color: #6B3A1F; display: flex; justify-content: space-between; padding-top: 14px; margin-top: 14px; }
        .summary-section-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #aaa; margin: 16px 0 6px; padding-top: 14px; }
        .summary-box .summary-section-title:first-child { margin-top: 0; padding-top: 0; }

        /* Guest Warning */
        .guest-warning { display: flex; align-items: flex-start; gap: 12px; background: #FFF3CD; border: 1px solid #FFD966; border-radius: 12px; padding: 14px 18px; margin-top: 16px; font-size: 14px; color: #6B4C00; }
        .guest-warning a { color: #6B3A1F; font-weight: 700; }

        /* Contract */
        .contract-box { width: 100%; }
        .contract-viewer-head { display: flex; align-items: center; gap: 16px; background: #FFF8F0; border: 1px solid #e0d0c0; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; flex-wrap: wrap; }
        .contract-icon { font-size: 22px; color: #6B3A1F; flex-shrink: 0; width: 32px; text-align: center; }
        .contract-info { flex: 1; }
        .contract-info h4 { font-size: 15px; font-weight: 700; color: #2A1408; margin-bottom: 3px; }
        .contract-info p  { font-size: 13px; color: #777; margin: 0; }
        .dl-btn { background: var(--brown-primary, #3D1A0A); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 2px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; transition: background 0.2s; display: inline-block; }
        .dl-btn:hover { background: var(--brown-dark, #1E0C03); }

        /* Capped to roughly 5-6 lines — this is a preview now; the full text
           lives in the full-screen reader opened via "View full agreement". */
        .contract-viewer {
            max-height: 190px;
            overflow-y: auto;
            border: 1px solid #e0d0c0;
            border-radius: 12px;
            padding: 20px 22px;
            background: #fff;
            margin-bottom: 12px;
        }
        .contract-viewer:focus-visible {
            outline: 2px solid #6B3A1F;
            outline-offset: 2px;
        }
        .contract-viewer p { font-size: 13.5px; line-height: 1.7; color: #3a2a1c; margin-bottom: 12px; }
        .contract-viewer-gap { height: 6px; }
        .contract-viewer-loading { font-size: 13px; color: #9c8f84; text-align: center; padding: 24px 0; }
        .contract-viewer-error { color: #b42318; }

        .contract-retry-btn {
            display: inline-flex;
            align-items: center;
            min-height: 32px;
            margin-left: 8px;
            padding: 0 12px;
            border: 1px solid #e0d0c0;
            border-radius: 999px;
            background: #fff;
            color: #6B3A1F;
            font: inherit;
            font-size: 12.5px;
            font-weight: 700;
            cursor: pointer;
        }
        .contract-retry-btn:hover,
        .contract-retry-btn:focus-visible {
            background: #FFF8F0;
            outline: none;
        }

        .contract-viewer-actions {
            display: flex;
            justify-content: flex-start;
            margin-bottom: 20px;
        }
        .contract-view-full-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 40px;
            padding: 9px 18px;
            border: 1px solid #6B3A1F;
            border-radius: 8px;
            background: #fff;
            color: #6B3A1F;
            font: inherit;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.15s ease, color 0.15s ease;
        }
        .contract-view-full-btn:hover,
        .contract-view-full-btn:focus-visible {
            background: #6B3A1F;
            color: #fff;
            outline: none;
        }

        .signature-section { margin-bottom: 20px; }
        .signature-heading { font-size: 15px; font-weight: 700; color: #2A1408; margin-bottom: 10px; }
        .signature-mode-tabs { display: flex; gap: 8px; margin-bottom: 10px; }
        .signature-mode-btn {
            border: 1px solid #e0d0c0;
            background: #fff;
            color: #6B3A1F;
            font-size: 12.5px;
            font-weight: 600;
            padding: 7px 14px;
            border-radius: 999px;
            cursor: pointer;
            transition: background 0.15s, color 0.15s;
        }
        .signature-mode-btn.active { background: #6B3A1F; color: #fff; border-color: #6B3A1F; }
        .signature-mode-btn:not(.active):hover { background: #FFF8F0; }

        .signature-draw-panel.hidden, .signature-type-panel.hidden { display: none; }
        .signature-canvas {
            width: 100%;
            height: 180px;
            border: 2px dashed #e0d0c0;
            border-radius: 12px;
            background: #fff;
            touch-action: none;
            cursor: crosshair;
        }
        .signature-clear-btn {
            margin-top: 8px;
            border: 1px solid #e0d0c0;
            background: #fff;
            color: #6B3A1F;
            font-size: 12px;
            font-weight: 600;
            padding: 6px 14px;
            border-radius: 6px;
            cursor: pointer;
        }
        .signature-clear-btn:hover { background: #FFF8F0; }

        .signature-type-input {
            width: 100%;
            box-sizing: border-box;
            border: 2px dashed #e0d0c0;
            border-radius: 12px;
            padding: 14px 16px;
            font-size: 15px;
            font-family: inherit;
            background: #fff;
        }
        .signature-type-preview {
            margin-top: 10px;
            min-height: 56px;
            font-family: 'Dancing Script', cursive;
            font-size: 40px;
            font-weight: 700;
            color: #2A1408;
            padding: 6px 4px;
            border-bottom: 1px solid #e0d0c0;
        }
        .signature-status {
            min-height: 18px;
            margin-top: 8px;
            font-size: 12px;
            color: #7b6a5d;
        }
        .signature-status.error { color: #b42318; }

        .contract-agreement-box {
            margin-top: 18px;
            padding: 16px 18px;
            border: 1px solid #ead9ca;
            border-radius: 12px;
            background: #fffaf5;
        }
        .contract-agreement-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
        }
        .contract-agreement-checkbox {
            width: 18px;
            height: 18px;
            accent-color: #6B3A1F;
            flex-shrink: 0;
        }
        .contract-agreement-checkbox:disabled {
            cursor: not-allowed;
            opacity: 0.55;
        }
        .contract-agreement-helper {
            margin: 6px 0 0;
            font-size: 12px;
            line-height: 1.5;
            color: #9c8f84;
            font-style: italic;
        }
        .contract-agreement-copy {
            font-size: 14px;
            color: #2A1408;
            line-height: 1.6;
        }
        .contract-policy-link {
            border: none;
            background: none;
            padding: 0;
            font: inherit;
            font-size: 14px;
            font-weight: 700;
            color: #6B3A1F;
            text-decoration: underline;
            cursor: pointer;
        }
        .contract-policy-link:hover {
            color: #2A1408;
        }
        .contract-inline-message {
            min-height: 20px;
            margin-top: 10px;
            font-size: 12px;
            line-height: 1.5;
            color: #7b6a5d;
        }
        .contract-inline-message.error {
            color: #b42318;
        }
        .contract-inline-message.success {
            color: #166534;
        }
        .policy-modal-backdrop {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(42, 20, 8, 0.56);
            z-index: 1200;
        }
        .policy-modal-backdrop.hidden {
            display: none !important;
        }
        .policy-modal-card {
            width: min(760px, 100%);
            max-height: min(88vh, 820px);
            overflow: auto;
            position: relative;
            border-radius: 6px;
            padding: 28px 24px 22px;
            background: #fff;
            box-shadow: 0 24px 60px rgba(30,12,3,0.24);
        }
        .policy-modal-close {
            position: absolute;
            top: 14px;
            right: 14px;
            width: 38px;
            height: 38px;
            border: 1px solid #e4d5c9;
            border-radius: 999px;
            background: #fffaf5;
            color: #6B3A1F;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
        }
        .policy-modal-eyebrow {
            margin: 0 0 6px;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #8b735e;
        }
        .policy-modal-title {
            margin: 0 0 18px;
            font-size: 26px;
            font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
            font-weight: 400;
            color: var(--brown-dark, #1E0C03);
        }
        .policy-modal-content {
            display: grid;
            gap: 18px;
        }
        .policy-section h4 {
            margin: 0 0 8px;
            font-size: 15px;
            font-weight: 700;
            color: #6B3A1F;
        }
        .policy-section p,
        .policy-section li {
            margin: 0;
            font-size: 14px;
            line-height: 1.7;
            color: #4a3427;
        }
        .policy-section ul {
            margin: 10px 0 0;
            padding-left: 20px;
            display: grid;
            gap: 6px;
        }
        .policy-modal-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 24px;
            padding-top: 18px;
            border-top: 1px solid #eee2d8;
        }
        .policy-btn {
            border-radius: 10px;
            padding: 11px 18px;
            font: inherit;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
        }
        .policy-btn-secondary {
            border: 1px solid #e4d5c9;
            background: #fff;
            color: #6B3A1F;
        }
        .policy-btn-primary {
            border: none;
            background: #6B3A1F;
            color: #fff;
        }

        /* Warning / validation modal */
        .warning-modal-backdrop {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(42, 20, 8, 0.56);
            z-index: 1400;
        }
        .warning-modal-backdrop.hidden {
            display: none !important;
        }
        .warning-modal-card {
            width: min(400px, 100%);
            text-align: center;
            border-radius: 10px;
            padding: 32px 26px 24px;
            background: #fff;
            box-shadow: 0 24px 60px rgba(30,12,3,0.24);
        }
        .warning-modal-icon {
            width: 52px;
            height: 52px;
            margin: 0 auto 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #FCE9D8;
            color: #B4622A;
            font-size: 22px;
        }
        .warning-modal-title {
            margin: 0 0 8px;
            font-size: 20px;
            font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
            font-weight: 600;
            color: var(--brown-dark, #1E0C03);
        }
        .warning-modal-message {
            margin: 0;
            font-size: 14.5px;
            line-height: 1.6;
            color: #5a4a3d;
        }
        .warning-modal-actions {
            margin-top: 22px;
        }
        .warning-modal-btn {
            width: 100%;
            border: none;
            border-radius: 10px;
            padding: 12px 18px;
            font: inherit;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            background: #6B3A1F;
            color: #fff;
        }
        .warning-modal-btn:hover {
            background: #59300f;
        }

        /* Full-screen agreement reader */
        .agreement-modal-backdrop {
            position: fixed;
            inset: 0;
            z-index: 1300;
            background: #FAF6F0;
        }
        .agreement-modal-backdrop.hidden {
            display: none !important;
        }
        .agreement-modal-surface {
            display: flex;
            flex-direction: column;
            height: 100%;
            width: 100%;
            background: #FFFDFA;
        }
        .agreement-modal-header {
            position: sticky;
            top: 0;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            padding: 18px 24px;
            background: #FFFDFA;
            border-bottom: 1px solid #E5DBCC;
        }
        .agreement-modal-title {
            margin: 0;
            font-size: 18px;
            font-weight: 700;
            color: #3E2418;
        }
        .agreement-modal-close-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border: 1px solid #E5DBCC;
            border-radius: 999px;
            background: #fff;
            color: #3E2418;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.15s ease, border-color 0.15s ease;
        }
        .agreement-modal-close-btn:hover,
        .agreement-modal-close-btn:focus-visible {
            background: #FAF6F0;
            border-color: #A34F2E;
            outline: none;
        }
        .agreement-modal-body {
            flex: 1;
            overflow-y: auto;
            padding: 32px 24px 48px;
        }

        /* Centered reading column — 66ch, split whitespace evenly on both
           sides at the modal's current width. Body text and clause headings
           stay left-aligned inside it; only the document title is centered. */
        .agreement-reading-column {
            max-width: 66ch;
            margin: 0 auto;
            font-family: 'Inter', system-ui, sans-serif;
        }
        .agreement-reading-column h2 {
            text-align: center;
            font-size: 24px;
            font-weight: 600;
            letter-spacing: 0.01em;
            color: #3E2418;
            margin: 0 0 24px;
            line-height: 1.3;
        }
        .agreement-reading-column h3 {
            text-align: left;
            font-size: 15px;
            font-weight: 600;
            color: #2A1208;
            margin: 24px 0 8px;
            line-height: 1.4;
        }
        .agreement-reading-column h3:first-of-type {
            margin-top: 8px;
        }
        .agreement-reading-column p {
            text-align: left;
            font-size: 15px;
            font-weight: 400;
            line-height: 1.65;
            color: #3E2418;
            margin: 0 0 14px;
        }

        /* Reservation details — flat definition-list rows, matching the
           account page's definition-list pattern (muted label left,
           weight-500 value right, hairline row dividers, top/bottom border
           framing the whole block). */
        .agreement-detail-list {
            margin: 20px 0 28px;
            border-top: 1px solid #E5DBCC;
            border-bottom: 1px solid #E5DBCC;
        }
        .agreement-detail-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 16px;
            padding: 10px 0;
            border-bottom: 1px solid #F2EADD;
        }
        .agreement-detail-row:last-child {
            border-bottom: none;
        }
        .agreement-detail-row dt {
            margin: 0;
            font-size: 14px;
            font-weight: 400;
            color: #8A7965;
        }
        .agreement-detail-row dd {
            margin: 0;
            font-size: 14px;
            font-weight: 500;
            color: #3E2418;
            text-align: right;
        }

        .agreement-modal-error {
            max-width: 66ch;
            margin: 0 auto;
            font-size: 15px;
            color: #b42318;
            text-align: center;
            padding: 40px 0;
        }

        @media (max-width: 420px) {
            .agreement-detail-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 2px;
            }
            .agreement-detail-row dd {
                text-align: left;
            }
        }
        .agreement-modal-footer {
            position: sticky;
            bottom: 0;
            z-index: 2;
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            padding: 16px 24px;
            background: #FFFDFA;
            border-top: 1px solid #E5DBCC;
        }
        .agreement-modal-btn-outline,
        .agreement-modal-btn-solid {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 10px 22px;
            border-radius: 8px;
            font: inherit;
            font-size: 13.5px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
        }
        .agreement-modal-btn-outline {
            border: 1px solid #E5DBCC;
            background: #fff;
            color: #3E2418;
        }
        .agreement-modal-btn-outline:hover,
        .agreement-modal-btn-outline:focus-visible {
            background: #FAF6F0;
            border-color: #A34F2E;
            outline: none;
        }
        .agreement-modal-btn-solid {
            border: none;
            background: #4A2C17;
            color: #FAF6F0;
        }
        .agreement-modal-btn-solid:hover,
        .agreement-modal-btn-solid:focus-visible {
            background: #3A2110;
            outline: none;
        }

        @media (max-width: 600px) {
            .agreement-modal-header {
                padding: 14px 16px;
            }
            .agreement-modal-title {
                font-size: 16px;
            }
            .agreement-modal-body {
                padding: 24px 16px 40px;
            }
            .agreement-modal-footer {
                padding: 12px 16px;
            }
            .agreement-modal-btn-outline,
            .agreement-modal-btn-solid {
                flex: 1;
                padding: 10px 12px;
            }
        }

        /* Buttons */
        .reservation-buttons { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border, rgba(61,26,10,0.10)); }
        .btn-back { background: transparent; color: var(--brown-primary, #3D1A0A); border: 1px solid var(--border, rgba(61,26,10,0.20)); padding: 12px 28px; border-radius: 2px; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-family: inherit; transition: all 0.2s; }
        .btn-back:hover { background: var(--cream-dark, #F2EBE0); border-color: var(--brown-mid, #6B3820); }
        .btn-next { background: var(--brown-primary, #3D1A0A); color: #fff; border: none; padding: 12px 32px; border-radius: 2px; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-family: inherit; transition: background 0.2s; }
        .btn-next:hover { background: var(--brown-dark, #1E0C03); }

        .hidden { display: none !important; }

        @media (max-width: 600px) {
            .page-hero { height: 320px; }
            .page-hero-title { font-size: 36px; }
            .reservation-container { padding: 24px 16px; }
            .location-options { grid-template-columns: 1fr; }
            .cards-grid       { grid-template-columns: 1fr; }
            .input-row        { grid-template-columns: 1fr; }
            .time-grid        { grid-template-columns: repeat(2, 1fr); }
            .dish-grid { grid-template-columns: 1fr 1fr; }
            .progress-tracker { gap: 6px; }
            .pt-divider { display: none; }
            .availability-panel { padding: 18px 14px; }
            .availability-head { flex-direction: column; }
            .availability-nav { width: 100%; justify-content: space-between; }
            .availability-month { min-width: 0; flex: 1; }
            .availability-weekdays,
            .availability-grid { gap: 6px; }
            .availability-day { min-height: 40px; font-size: 14px; }
            .policy-modal-backdrop { padding: 16px; }
            .policy-modal-card { padding: 24px 16px 18px; }
            .policy-modal-actions { flex-direction: column-reverse; }
            .policy-btn { width: 100%; }
        }

/* ── Guest notice banner ────────────────────────────────────────────────── */
.res-guest-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FEFAF4;
    border: 1.5px solid #C98A4B;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dark, #2A1408);
}

.res-guest-notice i {
    font-size: 20px;
    color: #C98A4B;
    flex-shrink: 0;
    margin-top: 1px;
}

.res-guest-notice p { margin: 0; }

.res-guest-notice a {
    color: var(--brown-primary, #3D1A0A);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.res-guest-notice a:hover { opacity: .75; }

@keyframes res-notice-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(201, 138, 75, .55); }
    70%  { box-shadow: 0 0 0 8px rgba(201, 138, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(201, 138, 75, 0); }
}

.res-guest-notice--pulse {
    animation: res-notice-pulse .8s ease-out;
}

/* ── Event-type chips ───────────────────────────────────────────────────────── */
.event-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.event-chip {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--brown-light, #B07D5A);
    background: #fff;
    color: var(--brown-primary, #3D1A0A);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s;
    user-select: none;
    line-height: 1.4;
}

.event-chip:hover {
    border-color: var(--brown-primary, #3D1A0A);
    background: var(--cream-dark, #F2EBE0);
}

.event-chip.active {
    background: var(--brown-primary, #3D1A0A);
    border-color: var(--brown-primary, #3D1A0A);
    color: #fff;
}

.event-type-other-wrap {
    margin-top: 22px;
}

.event-type-other-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--brown-mid, #6B3820);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ── Guest count input ──────────────────────────────────────────────────────── */
/* .guest-count-wrap no longer exists in the DOM — removed when switching to two-column grid */

.guest-count-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #999;
    font-style: italic;
    line-height: 1.55;
    padding-top: 2px;
    border-top: 1px solid #f0ece8;
}

/* ── Time-slot info note ────────────────────────────────────────────────────── */
.time-alt-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 14px 18px;
    background: var(--cream, #FAF8F4);
    border: 1.5px solid var(--brown-pale, #DFC3A8);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--brown-mid, #6B3820);
}

.time-alt-note i {
    font-size: 18px;
    color: var(--brown-light, #B07D5A);
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Venue map ──────────────────────────────────────────────────────────────── */
.venue-search-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.venue-search-row .res-input { flex: 1; min-width: 200px; }

.venue-search-btn {
    padding: 10px 20px;
    background: var(--brown-primary, #3D1A0A);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: opacity 0.18s;
}

.venue-search-btn:hover { opacity: 0.82; }

.venue-pinned-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    font-size: 13px;
    color: var(--brown-mid, #6B3820);
    line-height: 1.55;
    word-break: break-word;
}

.venue-pin-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.venue-map-hint {
    font-size: 13px;
    color: #777;
    margin-bottom: 14px;
    line-height: 1.55;
}

.pkg-empty-state {
    grid-column: 1 / -1;
    padding: 20px 16px;
    text-align: center;
    font-size: 13.5px;
    color: #8a7a6c;
    background: #F7F3EC;
    border: 1px dashed #E2D6C6;
    border-radius: 10px;
}

/* ── Summary divider + section title ───────────────────────────────────────── */
.summary-divider {
    border: none;
    border-top: 1px solid var(--brown-pale, #DFC3A8);
    margin: 14px 0;
}

.summary-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brown-light, #B07D5A);
    margin-bottom: 10px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--brown-primary, #3D1A0A);
    margin-top: 4px;
}

/* ── Single-page event-info sub-sections ────────────────────────────────────── */
/* Each sub-section (Location, Package, Guests+Type, Add-ons/Venue, Date, Time)
   is separated by a divider, matching the visual pattern used for Calendar/Time. */
.res-section {
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--brown-pale, #DFC3A8);
}

.res-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.res-section h2 {
    /* Inherit existing h2 styling from the step; just ensure consistent spacing */
    margin-bottom: 8px;
}

/* ── Section status note (lock message) ─────────────────────────────────────── */
/* Same visual pattern as .availability-message and .time-status-note:
   a short explanatory paragraph shown when a section is waiting on a prior answer. */
.section-status-note {
    display: block;
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin: 6px 0 0;
    line-height: 1.6;
}

/* When the section IS answerable, the status note is replaced by normal content
   so we hide it via JS (toggle .hidden). No extra CSS needed there. */

/* ── Locked content overlay ─────────────────────────────────────────────────── */
/* Applied to #guests-type-content and #addon-venue-content while their
   prerequisite section hasn't been answered yet.
   Matches the intent of .context-disabled on calendar days and
   .time-card.disabled on time slots: visible but clearly non-interactive. */
.res-locked-content {
    opacity: 0.38;
    pointer-events: none;
    user-select: none;
}

/* Disabled guest-count input inside locked content (also controlled by .disabled attr) */
.guest-count-input:disabled {
    background: var(--cream, #FAF8F4);
    color: #bbb;
    cursor: not-allowed;
}

/* ── Section status note responsive tweak ───────────────────────────────────── */
@media (max-width: 600px) {
    .res-section {
        margin-top: 32px;
        padding-top: 28px;
    }
}

/* ── Guests & Event Type — two-column grid ──────────────────────────────────── */
.guests-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    align-items: start;
    margin-top: 4px;
}

/* Each column: label → input → optional note — identical structure both sides */
.guests-col,
.event-type-col {
    display: flex;
    flex-direction: column;
}

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Zero the global res-input margin-bottom inside the grid so hint/nothing below
   the input is not pushed further than intended */
.guests-type-grid .res-input {
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    padding: 12px 16px;
    text-align: left;
    height: 46px;
    box-sizing: border-box;
}

.event-type-select {
    cursor: pointer;
    appearance: auto;
}

/* "Other" reveal sits flush below the select with consistent spacing */
.event-type-other-wrap {
    margin-top: 16px;
}

.event-type-other-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

@media (max-width: 600px) {
    .guests-type-grid {
        grid-template-columns: 1fr;
        gap: 24px 0;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Unified package card + category chips
   (Step 1 rework — category-selection step, one shared package card
   component across onsite / offsite / add-on grids, guest-count clamp
   notice.) Scoped design tokens match the palette already used on
   account.css / reservation_details.css elsewhere in this project.
   ══════════════════════════════════════════════════════════════════════════ */
:root {
    --acc-espresso:      #4A2C17;
    --acc-espresso-dark: #3A2110;
    --acc-cream:         #FAF6F0;
    --acc-cream-alt:     #FFFDFA;
    --acc-border-tan:    #E5DBCC;
    --acc-border-hair:   #EEE5D8;
    --acc-text:          #3E2418;
    --acc-text-muted:    #8A7965;
    --acc-terracotta:    #A34F2E;
}

/* ── Category chips (mirrors packages.html's .pkg-cat-card visually) ────── */
.pkg-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.pkg-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 22px 16px 18px;
    background: var(--acc-cream-alt);
    border: 0.5px solid var(--acc-border-tan);
    border-radius: 10px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s, background .15s, color .15s;
    outline: none;
}
.pkg-cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--acc-terracotta);
    box-shadow: 0 6px 20px rgba(74,44,23,.08);
}
.pkg-cat-card:focus-visible {
    outline: 2px solid var(--acc-terracotta);
    outline-offset: 2px;
}
.pkg-cat-card.active {
    background: var(--acc-espresso);
    border-color: var(--acc-espresso);
    box-shadow: 0 6px 24px rgba(74,44,23,.22);
    transform: none;
}
.pkg-cat-check {
    position: absolute;
    top: -9px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--acc-cream-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity .15s, transform .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.pkg-cat-check i { font-size: 11px; color: var(--acc-espresso); font-weight: 700; }
.pkg-cat-card.active .pkg-cat-check { opacity: 1; transform: scale(1); }
.pkg-cat-icon { font-size: 22px; color: var(--acc-espresso); transition: color .15s; }
.pkg-cat-card.active .pkg-cat-icon { color: var(--acc-cream); }
.pkg-cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--acc-text);
    line-height: 1.3;
    transition: color .15s;
}
.pkg-cat-card.active .pkg-cat-name { color: var(--acc-cream); }
.pkg-cat-count { font-size: 11.5px; color: var(--acc-text-muted); transition: color .15s; }
.pkg-cat-card.active .pkg-cat-count { color: rgba(250,246,240,.75); }

/* ── Unified package card ────────────────────────────────────────────────
   Redefines .pkg-card (the shared wrapper the card()/activate() JS helpers
   emit) into the full image + price + chips + details-link layout used by
   every package grid on this page (onsite, offsite, add-ons). */
.pkg-card {
    display: flex;
    flex-direction: column;
    background: var(--acc-cream-alt);
    border: 2px solid var(--acc-border-tan);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .15s;
    padding: 0;
}
.pkg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(74,44,23,.10);
}
.pkg-card:focus-visible {
    outline: 2px solid var(--acc-terracotta);
    outline-offset: 2px;
}
.pkg-card.active {
    border-color: var(--acc-espresso);
    box-shadow: 0 0 0 3px rgba(74,44,23,.10);
    background: var(--acc-cream-alt);
}

.rpkg-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--acc-border-hair);
}
.rpkg-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.rpkg-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--acc-text-muted);
    font-size: 26px;
    background: var(--acc-border-hair);
}
.rpkg-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--acc-espresso);
    color: var(--acc-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity .15s, transform .15s;
    box-shadow: 0 1px 6px rgba(0,0,0,.25);
}
.pkg-card.active .rpkg-check { opacity: 1; transform: scale(1); }

.rpkg-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rpkg-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--acc-text);
    line-height: 1.3;
    margin: 0 0 6px;
}
.rpkg-price {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--acc-espresso);
    letter-spacing: -.01em;
    margin-bottom: 8px;
}
.rpkg-price--contact {
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
    color: var(--acc-text-muted);
}
.rpkg-desc {
    font-size: 12px;
    color: var(--acc-text-muted);
    line-height: 1.55;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rpkg-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.rpkg-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--acc-text-muted);
    background: var(--acc-cream);
    border: 0.5px solid var(--acc-border-tan);
    border-radius: 100px;
    padding: 3px 9px;
}
.rpkg-chip i { font-size: 11px; color: var(--acc-terracotta); }
.rpkg-details-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--acc-terracotta);
    text-decoration: none;
    min-height: 24px;
}
.rpkg-details-link:hover { text-decoration: underline; }
.rpkg-details-link:focus-visible { outline: 2px solid var(--acc-terracotta); outline-offset: 2px; }
.rpkg-details-link i { font-size: 11px; }

/* "No Add-on" — distinct solid-tint default, not a product card */
.rpkg-noaddon {
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    min-height: 132px;
    background: var(--acc-cream-alt);
}
.rpkg-noaddon i { font-size: 20px; color: var(--acc-text-muted); }
.rpkg-noaddon h4 { font-size: 14px; font-weight: 700; color: var(--acc-text); margin: 0; }
.rpkg-noaddon .rpkg-desc {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    margin: 0;
}
.rpkg-noaddon.active {
    background: var(--acc-espresso);
    border-color: var(--acc-espresso);
}
.rpkg-noaddon.active i,
.rpkg-noaddon.active h4,
.rpkg-noaddon.active .rpkg-desc { color: var(--acc-cream); }

/* ── Guest-count "adjusted" notice — distinct from the plain range hint ──── */
.guest-count-hint--notice {
    color: var(--acc-terracotta);
    font-weight: 600;
}

/* ── Focus-visible for location cards (native divs, tabindex-enabled) ───── */
.location-card:focus-visible {
    outline: 2px solid var(--acc-terracotta);
    outline-offset: 2px;
}

/* ── Responsive: 375px and up ────────────────────────────────────────────
   .cards-grid already collapses to 1fr at ≤600px (see rule near the top of
   this file); the category grid needs its own narrow-viewport treatment
   since auto-fit(150px) can overflow a 375px viewport at 2-up. */
@media (max-width: 480px) {
    .pkg-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .pkg-cat-card { padding: 16px 10px 14px; }
    .pkg-cat-name { font-size: 12px; }
    .rpkg-body { padding: 14px; }
    .rpkg-name { font-size: 13.5px; }
    .rpkg-price { font-size: 17px; }
}