/* ——— Page réservation Blocks Studio ——— */

.booking-page {
    min-height: 100vh;
    background: var(--surface);
    color: var(--text-strong);
}

.booking-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem clamp(1rem, 3vw, 2rem);
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.booking-brand {
    display: inline-flex;
    align-items: center;
}

.booking-brand img {
    height: 36px;
    width: auto;
    filter: none;
}

.booking-topbar-note {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-faint);
    letter-spacing: 0.04em;
}

.booking-close {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
}

.booking-close:hover {
    color: var(--text-strong);
    border-color: var(--line-strong);
}

.booking-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 2.5rem) 0 4rem;
}

.booking-legal-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem 1.1rem;
    padding: 1.25rem 1rem 2rem;
    border-top: 1px solid var(--line);
}

.booking-legal-footer a,
.booking-legal-footer button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-faint);
    font: inherit;
    font-size: 0.76rem;
    text-decoration: none;
    cursor: pointer;
}

.booking-legal-footer a:hover,
.booking-legal-footer button:hover {
    color: var(--text-strong);
    text-decoration: underline;
}

.booking-steps {
    list-style: none;
    margin: 0 0 clamp(1.75rem, 3vw, 2.5rem);
    padding: 0;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.booking-steps::-webkit-scrollbar { display: none; }

.booking-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    color: var(--text-faint);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    user-select: none;
}

.booking-steps li span {
    font-variant-numeric: tabular-nums;
    opacity: 0.7;
}

.booking-steps li.is-active {
    color: var(--text-strong);
    border-color: var(--line-strong);
    background: var(--tint);
}

.booking-steps li.is-done {
    color: var(--text-muted);
    border-color: var(--line);
}

.booking-steps li.is-clickable {
    cursor: pointer;
    color: var(--text-strong);
    border-color: color-mix(in srgb, var(--text-strong) 28%, var(--line));
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-steps li.is-clickable:hover {
    background: var(--tint);
    border-color: var(--line-strong);
}

.booking-steps li.is-clickable:focus-visible {
    outline: 2px solid #ff2d8c;
    outline-offset: 2px;
}

.booking-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
    align-items: start;
}

.booking-main {
    min-width: 0;
    border: 1px solid var(--line);
    background: var(--surface-alt);
    padding: clamp(1.35rem, 2.5vw, 2rem);
}

.booking-panel { display: none; }
.booking-panel.is-active { display: block; }

.booking-panel-head {
    margin-bottom: 1.75rem;
    max-width: 40rem;
}

.booking-kicker {
    margin: 0 0 0.65rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.booking-panel-head h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.booking-panel-head p {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.booking-decor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.booking-participants {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.booking-participants-hint {
    margin: -0.25rem 0 0.85rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.booking-participants-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.booking-participant {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--line);
    background: var(--tint);
    color: var(--text-strong);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-participant em {
    font-style: normal;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
}

.booking-participant span {
    font-size: 0.72rem;
    color: var(--text-faint);
    font-weight: 600;
}

.booking-participant:hover {
    border-color: var(--line-strong);
}

.booking-participant.is-selected {
    border-color: #fff;
    background: var(--tint-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.booking-participant.is-selected span {
    color: var(--text-muted);
}

.booking-participant-price {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.booking-participant-price.is-surcharge {
    color: var(--text-strong);
}

.booking-participant.is-selected .booking-participant-price.is-surcharge {
    color: #fff;
}

.booking-orientation-field {
    margin-top: 1.5rem;
}

.booking-orientation-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-orientation-icon {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 26px;
    margin-bottom: 0.2rem;
}

.booking-orientation-icon i {
    display: block;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    opacity: 0.85;
}

.booking-orientation-icon.is-horizontal i:first-child,
.booking-orientation-icon.is-both i:first-child {
    width: 30px;
    height: 17px;
}

.booking-orientation-icon.is-vertical i:first-child,
.booking-orientation-icon.is-both i:last-child {
    width: 15px;
    height: 26px;
}

.booking-orientation-icon.is-horizontal i:last-child,
.booking-orientation-icon.is-vertical i:last-child {
    display: none;
}

.booking-orientation small {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--text-faint);
}

@media (max-width: 960px) {
    .booking-participants-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-orientation-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .booking-orientation-row {
        grid-template-columns: 1fr;
    }
}

.booking-card--decor {
    position: relative;
}

.booking-card--decor .booking-card-hit {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.booking-photos-btn {
    margin: 0 1rem 1rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-strong);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-photos-btn:hover {
    border-color: var(--line-strong);
    background: var(--tint-strong);
}

.booking-card--decor.is-selected .booking-photos-btn {
    border-color: color-mix(in srgb, var(--text-strong) 35%, var(--line));
}

.booking-page .modal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.booking-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid var(--line);
    background: var(--tint);
    color: inherit;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.booking-card.is-selected {
    border-color: var(--text-strong);
    background: var(--tint-strong);
    box-shadow: inset 0 0 0 1px var(--text-strong);
}

.booking-card--formule.is-selected {
    border-color: #fff;
    background: var(--tint);
    box-shadow: inset 0 0 0 2px #fff;
}

.booking-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    background: linear-gradient(110deg, var(--tint) 25%, var(--tint-strong) 45%, var(--tint) 65%);
    background-size: 200% 100%;
    animation: bookingImgPulse 1.1s linear infinite;
}

.booking-card img.is-loaded {
    animation: none;
    background: var(--media-bg);
}

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

.booking-card-body {
    padding: 1.25rem 1.3rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.booking-card-body strong {
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-strong);
}

.booking-card-body span,
.booking-card-body p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.booking-formule-features {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.booking-formule-features li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--text-muted);
}

.booking-formule-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--text-strong) 55%, transparent);
}

.booking-card--formule.is-selected .booking-formule-features li::before {
    background: #ff2d8c;
}

.booking-card-price {
    margin-top: auto !important;
    padding-top: 1rem;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: var(--text-strong) !important;
}

.booking-badge {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.2rem;
    padding: 0.22rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ff2d8c;
    background: rgba(255, 45, 140, 0.14);
    box-shadow: 0 0 0 1px rgba(255, 45, 140, 0.28);
}

.booking-duration-block {
    margin-bottom: 2.75rem;
    padding-bottom: 0;
    border-bottom: 0;
}

.booking-date-lock {
    position: relative;
    margin-top: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.booking-date-lock.is-locked .booking-date-layout {
    opacity: 0.35;
    filter: grayscale(0.2);
    pointer-events: none;
    user-select: none;
}

.booking-date-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    text-align: center;
    background: color-mix(in srgb, var(--surface-alt) 55%, transparent);
    backdrop-filter: blur(2px);
}

.booking-date-veil[hidden] {
    display: none !important;
}

.booking-date-veil p {
    margin: 0;
    max-width: 22rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.booking-date-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.25rem;
}

.booking-calendar {
    border: 1px solid var(--line);
    padding: 1rem;
    background: var(--tint);
}

.booking-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.booking-cal-head strong {
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.booking-cal-nav {
    display: inline-flex;
    gap: 0.35rem;
}

.booking-cal-nav button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-strong);
    cursor: pointer;
}

.booking-cal-nav button:hover {
    border-color: var(--line-strong);
}

.booking-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
}

.booking-cal-dow {
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-faint);
    padding-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.booking-cal-day {
    aspect-ratio: 1;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-strong);
    font-size: 0.85rem;
    cursor: pointer;
}

.booking-cal-day:disabled {
    color: var(--text-faint);
    cursor: not-allowed;
    opacity: 0.45;
}

.booking-cal-day.is-available:hover {
    border-color: var(--line-strong);
}

.booking-cal-day.is-full {
    position: relative;
    opacity: 0.5;
}

.booking-cal-day.is-full::after {
    content: '';
    position: absolute;
    left: 24%;
    right: 24%;
    top: 50%;
    height: 1px;
    background: currentColor;
}

.booking-cal-day.is-selected {
    background: var(--invert-bg);
    color: var(--invert-text);
    border-color: var(--invert-bg);
}

.booking-slots {
    border: 1px solid var(--line);
    padding: 1rem;
    background: var(--tint);
    min-height: 100%;
}

.booking-slots-label {
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.booking-slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.booking-slot {
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-strong);
    padding: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.booking-slot:hover { border-color: var(--line-strong); }
.booking-slot.is-selected {
    background: var(--invert-bg);
    color: var(--invert-text);
    border-color: var(--invert-bg);
}

.booking-empty {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.booking-hint {
    margin: 1rem 0 0;
    font-size: 0.78rem;
    color: var(--text-faint);
    line-height: 1.45;
}

.booking-options {
    display: grid;
    gap: 1.5rem;
}

.booking-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.booking-field legend {
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.booking-brief-field {
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.booking-brief-field legend span {
    margin-left: 0.35rem;
    color: var(--text-faint);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.booking-brief-field textarea {
    min-height: 125px;
    line-height: 1.55;
}

.booking-brief-field p {
    margin: 0.55rem 0 0;
    color: var(--text-faint);
    font-size: 0.75rem;
    line-height: 1.45;
}

.booking-choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.booking-duration-block .booking-choice-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
}

.booking-duration {
    position: relative;
    display: grid;
    grid-template-rows: auto 1.1rem auto;
    align-content: start;
    gap: 0.2rem;
    min-height: 0;
    padding: 0.7rem 0.8rem 0.75rem;
    border: 1px solid var(--line);
    background: var(--tint);
    color: var(--text-strong);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-duration.has-save {
    padding-top: 0.95rem;
}

.booking-duration:hover {
    border-color: var(--line-strong);
}

.booking-duration.is-pack {
    border-color: color-mix(in srgb, #ff2d8c 32%, var(--line));
}

.booking-duration.is-selected {
    border-color: #fff;
    background: var(--tint-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.booking-duration-hours {
    display: inline-flex;
    align-items: baseline;
    gap: 0.08rem;
    line-height: 1;
}

.booking-duration-hours em {
    font-style: normal;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.booking-duration-hours small {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.booking-duration-tag {
    display: block;
    min-height: 1.1rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ff2d8c;
    line-height: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-duration-tag.is-empty {
    visibility: hidden;
}

.booking-duration-price {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.booking-duration-price s {
    font-size: 0.82rem;
    color: var(--text-faint);
    font-weight: 500;
}

.booking-duration-price strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.booking-duration-save {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 0.22rem 0.42rem;
    background: #ff2d8c;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    pointer-events: none;
}

.booking-recap-discount {
    display: inline-block;
    margin-left: 0.4rem;
    color: #ff2d8c;
    font-size: 0.9rem;
    font-weight: 800;
}

@media (max-width: 960px) {
    .booking-duration-block .booking-choice-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.booking-addons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.booking-addon {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.1rem 1.1rem 1rem;
    border: 1px solid var(--line);
    background: var(--tint);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.booking-addon.is-selected {
    border-color: color-mix(in srgb, #fff 55%, var(--line));
    background: var(--tint-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.booking-addon-head {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.booking-addon-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.booking-addon-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.booking-addon-head p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.booking-addon-price {
    flex: 0 0 auto;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: right;
}

.booking-addon-price.is-free,
.booking-addon-price.is-quote {
    color: #ff2d8c;
}

.booking-addon-price.is-paid {
    letter-spacing: -0.03em;
    text-transform: none;
}

.booking-addon-media {
    position: relative;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    background: var(--media-bg, #111);
    aspect-ratio: 16 / 9;
}

.booking-addon--single .booking-addon-media {
    aspect-ratio: 1 / 1;
    max-width: 168px;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    background: transparent;
}

.booking-addon-media img,
.booking-addon-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-addon--single .booking-addon-media img {
    object-fit: contain;
}

.booking-addon-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.booking-addon-btn {
    min-width: 7.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid transparent;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.booking-addon-btn:hover {
    background: color-mix(in srgb, #fff 88%, #ff2d8c);
}

.booking-addon-btn.is-on {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--line-strong);
}

.booking-addon-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.2rem;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.booking-addon-qty-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--line);
    background: var(--tint-strong);
    color: var(--text-strong);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.booking-addon-qty-btn:hover {
    border-color: var(--line-strong);
    background: #fff;
    color: #111;
}

.booking-addon-qty-value {
    min-width: 1.4rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
    .booking-addons {
        grid-template-columns: minmax(0, 1fr);
    }
}

.booking-field textarea,
.booking-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-strong);
    padding: 0.9rem 1rem;
    font: inherit;
    resize: vertical;
}

.booking-field textarea:focus,
.booking-form input:focus {
    outline: 2px solid var(--text-strong);
    outline-offset: 1px;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-form label {
    display: grid;
    gap: 0.4rem;
}

.booking-form label[hidden] {
    display: none !important;
}

.booking-form label span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.booking-terms {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    margin-top: 1.15rem;
    padding: 1rem;
    border: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    cursor: pointer;
}

.booking-terms input {
    width: 18px;
    height: 18px;
    margin: 0.15rem 0 0;
    accent-color: var(--text-strong);
}

.booking-terms a {
    color: var(--text-strong);
    font-weight: 650;
    text-underline-offset: 0.2em;
}

.booking-terms.is-invalid {
    border-color: #ff6b6b;
}

.booking-terms-error {
    min-height: 1.2em;
    margin: 0.45rem 0 0;
    color: #ff6b6b;
    font-size: 0.76rem;
}

.booking-pay-layout {
    display: grid;
    gap: 1.75rem;
}

.booking-billing-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.booking-billing-btn {
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: var(--tint);
    color: var(--text-muted);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.booking-billing-btn:hover {
    border-color: var(--line-strong);
    color: var(--text-strong);
}

.booking-billing-btn.is-selected {
    border-color: #fff;
    background: var(--tint-strong);
    color: var(--text-strong);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.booking-stripe-card {
    border: 1px solid var(--line);
    background: var(--surface-card);
    padding: clamp(1.15rem, 2vw, 1.5rem);
}

.booking-points-redeem {
    margin: 0 0 1.35rem;
    padding: 1rem;
    border: 1px solid color-mix(in srgb, #ff2a8a 34%, var(--line));
    background: color-mix(in srgb, #ff2a8a 5%, var(--surface-card));
}

.booking-points-email {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.booking-points-email span {
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--text-muted);
}

.booking-points-email input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    color: var(--text-strong);
    font: inherit;
    font-size: 0.88rem;
    padding: 0.75rem 0.85rem;
}

.booking-points-redeem-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.booking-points-redeem-head img {
    flex: 0 0 auto;
}

.booking-points-redeem-head > div {
    display: grid;
    gap: 0.1rem;
}

.booking-points-redeem-head strong {
    font-size: 0.9rem;
}

.booking-points-redeem-head span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.booking-points-login,
.booking-points-otp button,
.booking-points-wallet button {
    width: 100%;
    min-height: 40px;
    margin-top: 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: transparent;
    color: var(--text-strong);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

.booking-points-login:hover,
.booking-points-otp button:hover,
.booking-points-wallet button:hover {
    background: var(--text-strong);
    color: var(--surface);
}

.booking-points-otp {
    padding-top: 0.85rem;
}

.booking-points-otp p,
.booking-points-wallet p,
.booking-points-status {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.booking-points-otp > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.booking-points-otp input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--surface);
    color: var(--text-strong);
    font: inherit;
    font-size: 0.85rem;
    padding: 0.7rem 0.8rem;
    letter-spacing: 0.12em;
}

.booking-points-otp button {
    width: auto;
    min-width: 84px;
    margin: 0;
    padding: 0 0.85rem;
}

.booking-points-wallet {
    padding-top: 0.9rem;
}

.booking-points-wallet > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.booking-points-wallet > div span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.booking-points-wallet > div strong {
    color: #ff2a8a;
    font-size: 1.05rem;
}

.booking-points-wallet button {
    border-color: #ff2a8a;
    background: #ff2a8a;
    color: white;
}

.booking-points-wallet .booking-points-remove {
    margin-top: 0.5rem;
    border-color: var(--line-strong);
    background: transparent;
    color: var(--text-strong);
}

.booking-points-wallet .booking-points-remove:hover {
    border-color: var(--text-strong);
    background: var(--text-strong);
    color: var(--surface);
}

.booking-points-wallet button:disabled,
.booking-points-login:disabled,
.booking-points-otp button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.booking-points-wallet p {
    margin-top: 0.65rem;
}

.booking-points-status {
    min-height: 1rem;
    margin-top: 0.65rem;
}

.booking-points-status.is-error {
    color: #ff6b6b;
}

.booking-points-status.is-success {
    color: #3dd68c;
}

.booking-stripe-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.booking-stripe-logo {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-strong);
    text-transform: lowercase;
}

.booking-stripe-secure {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.booking-stripe-card .booking-hint {
    color: var(--text-muted);
}

.booking-link-hint {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.booking-link-hint.is-active {
    color: var(--text-strong);
}

.booking-link-promo {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 1.1rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--line-strong);
    background: var(--invert-bg);
    color: var(--invert-text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.booking-link-promo:hover {
    transform: translateY(-1px);
    opacity: 0.94;
}

.booking-link-promo-mark {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: lowercase;
}

.booking-link-promo-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.booking-link-promo-copy strong {
    font-size: 0.92rem;
    font-weight: 650;
}

.booking-link-promo-copy small {
    font-size: 0.75rem;
    opacity: 0.7;
    line-height: 1.35;
}

.booking-link-promo-cta {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .booking-link-promo {
        grid-template-columns: auto 1fr;
    }

    .booking-link-promo-cta {
        display: none;
    }
}

.booking-link-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border: 1px solid #00d4ff;
    background: #0a2540;
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.booking-link-mark {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #00d4ff;
    text-transform: lowercase;
}

.booking-stripe-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    margin: 1.1rem 0;
    color: var(--text-faint);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.booking-stripe-divider::before,
.booking-stripe-divider::after {
    content: '';
    height: 1px;
    background: var(--line);
}

.booking-stripe-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.booking-payment-shell {
    grid-column: 1 / -1;
    position: relative;
    min-height: 12rem;
}

.booking-payment-element {
    min-height: 0;
}

.booking-payment-placeholder {
    display: grid;
    place-content: center;
    gap: 0.75rem;
    min-height: 12rem;
    padding: 1.5rem 1.25rem;
    border: 1px dashed var(--line);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    text-align: center;
}

.booking-payment-placeholder-mark {
    width: 2.25rem;
    height: 2.25rem;
    margin: 0 auto;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--text-strong) 12%, transparent), transparent);
}

.booking-payment-placeholder p {
    margin: 0;
    max-width: 22rem;
    justify-self: center;
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.booking-payment-shell[data-state="ready"] .booking-payment-placeholder,
.booking-payment-shell[data-state="demo"] .booking-payment-placeholder {
    display: none;
}

.booking-payment-shell[data-state="loading"] .booking-payment-placeholder-mark {
    animation: booking-pulse 1.1s ease-in-out infinite;
}

@keyframes booking-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.96); }
    50% { opacity: 1; transform: scale(1); }
}

.booking-stripe-demo {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--line);
    background: color-mix(in srgb, var(--surface) 80%, #635bff 8%);
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.booking-payment-shell[data-state="ready"] .booking-payment-element {
    padding-top: 0.15rem;
}

.booking-stripe-field {
    display: grid;
    gap: 0.35rem;
}

.booking-stripe-field--full {
    grid-column: 1 / -1;
}

.booking-stripe-field span {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.booking-stripe-field input,
.booking-stripe-input-wrap {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text-strong);
    font: inherit;
}

.booking-stripe-field input {
    padding: 0.85rem 0.95rem;
}

.booking-stripe-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.75rem;
}

.booking-stripe-input-wrap input {
    border: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
}

.booking-card-brands {
    font-size: 0.68rem;
    color: var(--text-faint);
    white-space: nowrap;
}

.booking-stripe-field input:focus,
.booking-stripe-input-wrap:focus-within {
    outline: 2px solid #635bff;
    outline-offset: 1px;
}

.booking-pay-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.booking-pay-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.booking-pay-list li strong {
    color: var(--text-strong);
    font-weight: 500;
    text-align: right;
}

.booking-pay-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 1.25rem 0;
    font-size: 1rem;
}

.booking-pay-total strong {
    font-size: 1.6rem;
    letter-spacing: -0.04em;
}

.booking-pay-btn {
    width: 100%;
    border: 1px solid var(--invert-bg);
    background: var(--invert-bg);
    color: var(--invert-text);
    padding: 1.05rem 1.25rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.booking-pay-btn:hover {
    opacity: 0.9;
}

.booking-pay-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-nav {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.booking-btn {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-strong);
    padding: 0.95rem 1.35rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.booking-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.booking-btn-primary {
    margin-left: auto;
    background: var(--invert-bg);
    color: var(--invert-text);
    border-color: var(--invert-bg);
}

.booking-btn-primary:hover:not(:disabled) {
    opacity: 0.9;
}

.booking-summary {
    position: sticky;
    top: 5.5rem;
    border: 1px solid var(--line);
    background: var(--surface-card);
    padding: 1.25rem;
}

.booking-summary-bar {
    display: none;
}

.booking-summary-kicker {
    margin: 0 0 0.85rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.booking-summary-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--media-bg);
    border: 1px solid var(--line);
}

.booking-summary-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.booking-summary-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--text-faint);
    font-size: 0.85rem;
}

.booking-summary-list {
    margin: 0;
}

.booking-summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
}

.booking-summary-list dt {
    color: var(--text-faint);
    font-size: 0.8rem;
}

.booking-summary-list dd {
    margin: 0;
    text-align: right;
    font-size: 0.88rem;
    font-weight: 500;
}

.booking-summary-points {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid color-mix(in srgb, #ff2d8c 35%, var(--line));
    background: color-mix(in srgb, #ff2d8c 10%, transparent);
}

.booking-summary-points-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-strong);
}

.booking-summary-points-label img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.booking-summary-points strong {
    color: #ff2d8c;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.booking-summary-points-hint {
    margin: 0.45rem 0 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--text-faint);
}

.booking-summary-price {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
}

.booking-summary-price-before,
.booking-summary-price-discount,
.booking-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.booking-summary-price-before,
.booking-summary-price-discount {
    padding: 0.38rem 0;
    font-size: 0.76rem;
}

.booking-summary-price-before {
    color: var(--text-muted);
}

.booking-summary-price-before strong {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.booking-summary-price-discount {
    color: #ff2d8c;
    font-weight: 700;
}

.booking-summary-price-discount strong {
    padding: 0.25rem 0.45rem;
    background: color-mix(in srgb, #ff2d8c 13%, transparent);
    font-size: 0.82rem;
}

.booking-summary-total {
    margin-top: 0.65rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--line);
}

.booking-summary-total strong {
    font-size: 1.45rem;
    letter-spacing: -0.04em;
}

.booking-summary-price.has-discount .booking-summary-total strong {
    color: #ff2d8c;
}

@media (max-width: 960px) {
    .booking-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 5.5rem;
    }

    .booking-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 30;
        order: 0;
        padding: 0;
        border: 0;
        border-top: 1px solid var(--line);
        background: color-mix(in srgb, var(--surface-card) 92%, transparent);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
        max-height: min(78vh, 640px);
        display: flex;
        flex-direction: column;
    }

    .booking-summary-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.85rem;
        width: 100%;
        padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
        border: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        text-align: left;
        cursor: pointer;
    }

    .booking-summary-bar-text {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        min-width: 0;
    }

    .booking-summary-bar-kicker {
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--text-faint);
    }

    .booking-summary-bar-meta {
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: -0.02em;
        color: var(--text-strong);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .booking-summary-bar-right {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        flex: 0 0 auto;
    }

    .booking-summary-bar-right strong {
        font-size: 1.15rem;
        letter-spacing: -0.03em;
    }

    .booking-summary-chevron {
        width: 0.55rem;
        height: 0.55rem;
        border-right: 2px solid var(--text-muted);
        border-bottom: 2px solid var(--text-muted);
        transform: rotate(-135deg);
        transition: transform 0.2s ease;
        margin-top: 0.25rem;
    }

    .booking-summary.is-open .booking-summary-chevron {
        transform: rotate(45deg);
        margin-top: -0.15rem;
    }

    .booking-summary-panel {
        display: none;
        overflow: auto;
        padding: 0 1rem 1rem;
        border-top: 1px solid var(--line);
        -webkit-overflow-scrolling: touch;
    }

    .booking-summary.is-open .booking-summary-panel {
        display: block;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }

    .booking-summary.is-open .booking-summary-bar {
        padding-bottom: 0.85rem;
    }

    .booking-summary-media {
        max-width: 9.5rem;
        margin-top: 0.85rem;
    }

    .booking-summary-kicker {
        display: none;
    }

    .booking-decor-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-date-layout,
    .booking-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-topbar-note { display: none; }
}
