:root {
    --green: #3f5e4f;
    --green-dark: #2f4a3d;
    --gold: #c4a574;
    --gold-dark: #b08a52;
    --navy: #1b2740;
    --sand: #e7d7bc;
    --sand-strong: #d9c4a3;
    --ink: #1d2430;
    --muted: #6b7280;
    --line: #eadfce;
    --bg: #f7f5f1;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
.booking-body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: "Source Sans 3", sans-serif;
}

.booking-shell { max-width: 1180px; margin: 0 auto; padding: 18px 20px 140px; }
.booking-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.booking-back:hover { color: var(--green); }

.stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 18px 0 28px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    position: relative;
    color: #9aa3ad;
    font-size: 13px;
}
.step::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 120px;
    height: 2px;
    background: #d7dde4;
    z-index: 0;
}
.step:last-child::after { display: none; }
.step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e6e9ee;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}
.step.active, .step.done { color: var(--green-dark); }
.step.active span, .step.done span {
    background: var(--green);
    color: #fff;
}

.booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: start;
}
.panel {
    background: #fff;
    border: 1px solid #efe7d8;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(29,36,48,.04);
}
.panel h1, .panel h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    margin: 0 0 8px;
    color: #24324a;
}
.lede { color: var(--muted); margin: 0 0 22px; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field { width: 100%; border: 1px solid #e5e1d8; border-radius: 10px; padding: 12px 14px; font: inherit; background: #fff; }
.field:focus { outline: 2px solid rgba(63,94,79,.25); border-color: var(--green); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 18px; }

.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 12px;
}
.calendar-head h3 { margin: 0; font-size: 18px; }
.nav-btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ece7de; background: #fff; cursor: pointer;
}
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}
.cal-dow { font-size: 11px; letter-spacing: .08em; color: #8b93a1; padding: 6px 0; }
.day {
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: #f4efe6;
    color: var(--ink);
    cursor: pointer;
    font-weight: 600;
}
.day.muted { visibility: hidden; }
.day.closed { background: #f3d6d2; color: #9a5b54; cursor: not-allowed; }
.day.past,
.day:disabled:not(.in):not(.out):not(.range) {
    opacity: 0.42;
    color: #9aa3ad;
    cursor: not-allowed;
    background: #eef1f4;
}
.day.in { background: var(--navy); color: #fff; }
.day.out { background: var(--navy); color: #fff; }
.day.range { background: var(--sand-strong); }
.legend { display: flex; gap: 16px; font-size: 13px; color: var(--muted); margin: 12px 0 18px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend .open { background: #f4efe6; }
.legend .shut { background: #f3d6d2; }
.legend .stay { background: var(--navy); }

.date-boxes, .guest-grid, .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.date-box { border: 1px solid #eee6d8; border-radius: 12px; padding: 12px 14px; }
.date-box small { color: #9aa3ad; letter-spacing: .08em; font-size: 11px; }
.nights-pill {
    display: inline-block;
    background: #edf3ee;
    color: var(--green);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    margin: 12px 0;
}
.room-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0ebe1;
    margin-top: 16px;
}
.room-row button, .ghost, .danger {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}
.danger { color: #c24141; font-weight: 600; }
.actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.add-btn {
    border: 1.5px dashed #d8c7a8;
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    font-weight: 600;
    color: var(--gold-dark);
}
.summary {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6eee8;
    box-shadow: 0 10px 30px rgba(29,36,48,.04);
}
.summary h3 {
    margin: 0;
    background: var(--green);
    color: #fff;
    padding: 16px 20px;
    font-size: 18px;
}
.summary-body { padding: 18px 20px 20px; }
.summary-meta { color: var(--muted); border-bottom: 1px solid #eee; padding-bottom: 12px; margin-bottom: 12px; }
.summary-item { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.summary-total { display: flex; justify-content: space-between; padding-top: 16px; font-size: 18px; font-weight: 700; }
.footer-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 18px;
    width: min(1180px, calc(100% - 24px));
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(20,24,32,.12);
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    align-items: center;
    padding: 12px;
    z-index: 20;
}
.back-btn, .continue-btn {
    border: 1px solid #e6e1d8;
    background: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}
.continue-btn {
    background: var(--gold);
    border: 0;
    color: #fff;
    letter-spacing: .04em;
}
.continue-btn:disabled { background: #e6dccb; color: #fff; cursor: not-allowed; }
.footer-total { text-align: center; }
.footer-total strong { display: block; font-size: 22px; }
.footer-total small { color: var(--muted); }

.pay-grid, .channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 18px; }
.choice {
    border: 1px solid #ece6da;
    background: #fff;
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
}
.choice.selected { border-color: var(--green); background: #eef4f0; color: var(--green-dark); }
.review-row { display: flex; justify-content: space-between; border-bottom: 1px solid #f1eee8; padding: 12px 0; }
.confirm-btn {
    width: 100%;
    margin-top: 16px;
    background: var(--gold);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    cursor: pointer;
}
.confirm-btn:disabled {
    background: #d7dde4;
    color: #8b939c;
    cursor: not-allowed;
}
.alert { background: #fdecec; color: #9b2c2c; padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.hidden { display: none !important; }
.modal-mask {
    position: fixed; inset: 0; background: rgba(16,22,30,.45); display: grid; place-items: center; z-index: 30;
}
.modal {
    width: min(520px, calc(100% - 24px));
    background: #fff;
    border-radius: 16px;
    padding: 22px;
}
.experience-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1eee8; }
@media (max-width: 900px) {
    .booking-grid, .date-boxes, .guest-grid, .form-grid, .actions-row, .pay-grid, .channel-grid { grid-template-columns: 1fr; }
    .footer-bar { grid-template-columns: 1fr; gap: 8px; }
    .panel h1, .panel h2 { font-size: 32px; }
}
