:root {
    --step-done: #4caf7d;
    /* alias booking vars to main stylesheet vars */
    --font-d: var(--font-display);
    --red:   #ac3636;
    --font-b: var(--font-body);
}

/* Booking Hero  */
.booking-hero {
    margin-top: var(--nav-h);
    position: relative;
    height: 300px;
    background: url('https://images.unsplash.com/photo-1503220317375-aaad61436b1b?w=1800&q=80') center 40%/cover no-repeat;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.booking-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(26,21,18,.82) 0%, rgba(58,107,53,.3) 100%);
    /* background: var(--red); */
}
.booking-hero-content {
    position: relative; z-index: 1;
    text-align: center;
}
.booking-hero-content .bh-badge {
    display: inline-block;
    background: rgba(212,168,83,.18); border: 1px solid rgba(212,168,83,.45);
    color: var(--gold); font-size: .7rem; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase;
    padding: .32rem .9rem; border-radius: 50px; margin-bottom: 1rem;
}
.booking-hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300; color: var(--white); line-height: 1.1;
}
.booking-hero-content h1 em { font-style: italic; color: var(--gold); }
.booking-hero-content p {
    color: rgba(255,255,255,.7); font-size: .92rem; margin-top: .5rem;
}

/* ── Step progress bar ── */
.steps-wrapper {
    position: sticky; top: var(--nav-h); z-index: 100;
    background: var(--white);
    border-bottom: 1px solid rgba(61,47,38,.13);
    padding: 0;
}
.steps-bar {
    display: flex; align-items: stretch;
    max-width: 900px; margin: 0 auto;
}
.step-item {
    flex: 1; display: flex; align-items: center; justify-content: center;
    gap: .6rem; padding: 1.1rem .5rem;
    cursor: pointer; position: relative;
    transition: background .2s;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 60%;
    background: rgba(61,47,38,.13);
}
.step-item.active { background: rgba(58,107,53,.06); }
.step-item.done   { cursor: pointer; }
.step-num {
    width: 28px; height: 28px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    background: var(--sand); color: var(--muted);
    transition: background .3s, color .3s;
    flex-shrink: 0;
}
.step-item.active .step-num { background: var(--green); color: var(--white); }
.step-item.done   .step-num { background: var(--step-done); color: var(--white); }
.step-item.done   .step-num::after { content: '✓'; font-size: .8rem; }
.step-item.done   .step-num-text { display: none; }
.step-label { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.step-item.active .step-label { color: var(--green); }
.step-item.done   .step-label { color: var(--step-done); }
@media (max-width: 500px) { .step-label { display: none; } }

.progress-line-wrap { background: var(--sand); height: 3px; overflow: hidden; }
.progress-line {
    height: 100%;
    background: var(--green);
    transition: width .5s cubic-bezier(.4,0,.2,1);
}

/* ── Main layout ── */
.booking-main {
    max-width: 1060px; margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
}

/* ── Step panels ── */
.step-panel { display: none; animation: fadeSlide .4s ease forwards; }
.step-panel.active { display: block; }
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.panel-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 400; color: var(--deep); margin-bottom: .4rem;
}
.panel-title em { font-style: italic; color: var(--green); }
.panel-sub { font-size: .88rem; color: var(--muted); margin-bottom: 2.5rem; }

/* ── Form elements ── */
.form-group { margin-bottom: 1.6rem; }
label.fl {
    display: block; font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--mid); margin-bottom: .55rem;
}
.fl-req { color: var(--red); margin-left: 2px; }
.finput {
    width: 100%; padding: .78rem 1.1rem;
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: 10px;
    background: var(--white);
    font-family: var(--font-body); font-size: .92rem; color: var(--deep);
    outline: none; transition: border-color .25s, box-shadow .25s;
    appearance: none;
}
.finput:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(58,107,53,.12);
}
.finput::placeholder { color: rgba(140,123,110,.5); }
select.finput {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238c7b6e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1.1rem center; padding-right: 2.5rem;
}
textarea.finput { resize: vertical; min-height: 110px; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .finput { padding-left: 2.7rem; }
.input-icon {
    position: absolute; left: .95rem; top: 50%; transform: translateY(-50%);
    color: var(--muted); font-size: .9rem; pointer-events: none;
}

/* ── Tile selectors ── */
.tile-grid { display: grid; gap: 1rem; }
.tile-grid-3 { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tile {
    position: relative;
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: var(--radius);
    padding: 1.3rem 1.1rem 1.1rem;
    cursor: pointer; background: var(--white);
    transition: border-color .25s, background .25s, transform .2s, box-shadow .25s;
    text-align: center;
}
.tile:hover { border-color: rgba(58,107,53,.4); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.tile.selected { border-color: var(--green); background: rgba(58,107,53,.04); box-shadow: 0 0 0 3px rgba(58,107,53,.12); }
.tile-icon { font-size: 1.8rem; margin-bottom: .5rem; line-height: 1; }
.tile-name { font-size: .83rem; font-weight: 600; color: var(--deep); }
.tile-sub  { font-size: .7rem; color: var(--muted); margin-top: .2rem; }
.tile-check {
    position: absolute; top: .6rem; right: .6rem;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--green); color: var(--white);
    display: none; align-items: center; justify-content: center;
    font-size: .65rem;
}
.tile.selected .tile-check { display: flex; }

/* ── Stepper counter ── */
.stepper { display: flex; align-items: center; gap: .8rem; }
.stepper-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid rgba(61,47,38,.13);
    background: var(--white); color: var(--mid);
    font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color .2s, background .2s, color .2s;
}
.stepper-btn:hover { border-color: var(--green); color: var(--green); }
.stepper-val {
    font-family: var(--font-display);
    font-size: 1.6rem; font-weight: 700;
    color: var(--deep); min-width: 32px; text-align: center;
}

/* ── Budget slider ── */
.budget-display {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 1.4rem;
}
.budget-amount {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 700;
    color: var(--green); line-height: 1;
}
.budget-amount sup { font-size: 1.2rem; }
.budget-per { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
#budgetSlider { margin: 1.5rem 0 .6rem; }
.noUi-connect { background: linear-gradient(90deg, var(--green), var(--gold)) !important; }
.noUi-horizontal { height: 6px !important; }
.noUi-handle {
    width: 22px !important; height: 22px !important;
    top: -8px !important; right: -11px !important;
    border-radius: 50% !important;
    border: 2.5px solid var(--green) !important;
    box-shadow: 0 2px 10px rgba(58,107,53,.3) !important;
    cursor: pointer;
}
.noUi-handle::before, .noUi-handle::after { display: none !important; }
.noUi-target { background: var(--sand) !important; border: none !important; box-shadow: none !important; }
.budget-ticks { display: flex; justify-content: space-between; font-size: .7rem; color: var(--muted); margin-top: .3rem; }

/* ── Flatpickr ── */
.flatpickr-calendar { font-family: var(--font-body) !important; border-radius: 14px !important; box-shadow: 0 12px 40px rgba(0,0,0,.14) !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--green) !important; border-color: var(--green) !important; }
.flatpickr-day.inRange { background: rgba(58,107,53,.15) !important; border-color: transparent !important; }
.flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--green) !important; border-color: var(--green) !important; }

/* ── Accommodation cards ── */
.accom-card {
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    background: var(--white);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.accom-card:hover { border-color: rgba(58,107,53,.4); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.accom-card.selected { border-color: var(--green); box-shadow: 0 0 0 3px rgba(58,107,53,.12); }
.accom-card img { width: 100%; height: 140px; object-fit: cover; }
.accom-body { padding: 1rem; }
.accom-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--deep); }
.accom-sub  { font-size: .75rem; color: var(--muted); margin-top: .2rem; }
.accom-price { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--green); margin-top: .4rem; }
.accom-check {
    display: none; align-items: center; justify-content: center; gap: .3rem;
    font-size: .72rem; font-weight: 700; color: var(--green);
    margin-top: .5rem; letter-spacing: .06em;
}
.accom-card.selected .accom-check { display: flex; }

/* ── Addon toggles ── */
.addon-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 1.3rem;
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: 12px; background: var(--white);
    margin-bottom: .8rem;
    transition: border-color .25s;
}
.addon-row:hover { border-color: rgba(58,107,53,.3); }
.addon-left { display: flex; align-items: center; gap: 1rem; }
.addon-icon { font-size: 1.4rem; width: 40px; text-align: center; }
.addon-title { font-size: .9rem; font-weight: 600; color: var(--deep); }
.addon-desc  { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.addon-price { font-size: .82rem; font-weight: 600; color: var(--green); }
.toggle-wrap { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-wrap input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: var(--sand); border-radius: 50px; transition: background .3s;
}
.toggle-slider::before {
    content: '';
    position: absolute; width: 20px; height: 20px; border-radius: 50%;
    left: 3px; top: 3px; background: var(--white);
    box-shadow: 0 1px 6px rgba(0,0,0,.15); transition: transform .3s;
}
.toggle-wrap input:checked + .toggle-slider { background: var(--green); }
.toggle-wrap input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── Review summary ── */
.summary-card {
    background: var(--white);
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: var(--radius);
    padding: 1.8rem 2rem; margin-bottom: 1.4rem;
}
.summary-section-title {
    font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 1rem;
    display: flex; align-items: center; gap: .5rem;
}
.summary-section-title i { color: var(--gold); }
.summary-row {
    display: flex; justify-content: space-between;
    font-size: .88rem; padding: .45rem 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.summary-row:last-child { border-bottom: none; }
.summary-row .label { color: var(--muted); }
.summary-row .value { font-weight: 600; color: var(--deep); text-align: right; max-width: 55%; }
.total-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--deep), var(--mid));
    border-radius: var(--radius); margin-bottom: 2rem;
}
.total-row .tlabel { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.total-row .tamount { font-family: var(--font-body); font-size: 2.4rem; font-weight: 700; color: var(--gold); }

/* ── Nav buttons ── */
.step-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 2.8rem; flex-wrap: wrap; gap: 1rem;
}
.btn-prev {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .78rem 1.8rem; border-radius: 50px;
    border: 1.5px solid rgba(61,47,38,.13);
    background: var(--white); color: var(--mid);
    font-size: .88rem; font-weight: 600; cursor: pointer;
    transition: border-color .25s, color .25s;
}
.btn-prev:hover { border-color: var(--mid); color: var(--deep); }
.btn-next {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .82rem 2.2rem; border-radius: 50px;
    background: var(--green); color: var(--white);
    font-size: .9rem; font-weight: 600; cursor: pointer; border: none;
    box-shadow: 0 8px 24px rgba(58,107,53,.35);
    transition: background .3s, transform .2s, box-shadow .3s;
}
.btn-next:hover { background: #2f5829; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(58,107,53,.45); }
.btn-submit {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .95rem 2.8rem; border-radius: 50px;
    background: var(--green);
    color: var(--white); font-size: 1rem; font-weight: 700;
    cursor: pointer; border: none;
    box-shadow: 0 10px 32px rgba(58,107,53,.4);
    transition: opacity .3s, transform .2s, box-shadow .3s;
}
.btn-submit:hover { opacity: .9; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(58,107,53,.5); }

/* ── Success screen ── */
#successScreen {
    display: none; text-align: center; padding: 5rem 2rem;
    animation: fadeSlide .5s ease forwards;
}
.success-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--step-done), #38d07d);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--white); margin: 0 auto 2rem;
    box-shadow: 0 12px 32px rgba(76,175,125,.4);
}
.success-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; color: var(--deep); margin-bottom: .8rem; }
.success-title em { font-style: italic; color: var(--green); }
.success-ref {
    display: inline-block;
    background: var(--sand); border: 1px solid rgba(61,47,38,.13);
    padding: .6rem 1.6rem; border-radius: 8px;
    font-family: monospace; font-size: 1rem; font-weight: 700;
    color: var(--mid); letter-spacing: .08em; margin: 1.2rem 0;
}
.success-sub { font-size: .9rem; color: var(--muted); max-width: 440px; margin: 0 auto 2rem; line-height: 1.7; }

/* ── Sidebar summary ── */
.sidebar-summary {
    position: sticky; top: calc(var(--nav-h) + 90px);
    background: var(--white);
    border: 1.5px solid rgba(61,47,38,.13);
    border-radius: var(--radius); overflow: hidden;
}
.sidebar-header { background: var(--deep); padding: 1.2rem 1.5rem; }
.sidebar-header h6 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--white); margin: 0; }
.sidebar-header p { font-size: .75rem; color: rgba(255,255,255,.45); margin: .2rem 0 0; }
.sidebar-body { padding: 1.4rem 1.5rem; }
.sidebar-item {
    display: flex; justify-content: space-between;
    font-size: .82rem; padding: .4rem 0;
    border-bottom: 1px solid rgba(61,47,38,.1);
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item .si-label { color: var(--muted); }
.sidebar-item .si-val { font-weight: 600; color: var(--deep); text-align: right; }
.sidebar-total {
    background: var(--green);
    padding: 1rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
}
.sidebar-total span:first-child { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.sidebar-total span:last-child { font-family: var(--font-body); font-size: 1.8rem; font-weight: 700; color: var(--white); }

/* ── Misc ── */
.bk-divider-label {
    display: flex; align-items: center; gap: .8rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin: 2rem 0 1.4rem;
}
.bk-divider-label::before, .bk-divider-label::after {
    content: ''; flex: 1; height: 1px; background: rgba(61,47,38,.13);
}
.char-counter { font-size: .72rem; color: var(--muted); text-align: right; margin-top: .3rem; }
.validation-msg { font-size: .75rem; color: #e05252; margin-top: .35rem; display: none; }
.finput.invalid { border-color: #e05252 !important; }
.finput.invalid:focus { box-shadow: 0 0 0 3px rgba(224,82,82,.1) !important; }
.tip-box {
    background: rgba(212,168,83,.1); border: 1px solid rgba(212,168,83,.35);
    border-radius: 10px; padding: .9rem 1.1rem;
    font-size: .82rem; color: var(--mid); line-height: 1.6;
    display: flex; gap: .7rem; align-items: flex-start;
    margin-bottom: 1.8rem;
}
.tip-box i { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }

@media (max-width: 991px) {
    .sidebar-summary { display: none; }
}
@media (max-width: 767px) {
    .booking-main { padding: 2rem 1rem 4rem; }
}