:root {
    --blue: #496ee8;
    --blue-dark: #234ac9;
    --blue-soft: #edf2ff;
    --pink: #f6cbd7;
    --pink-soft: #fff0f5;
    --card: rgba(255, 255, 255, .86);
    --ink: #1f2b4d;
    --muted: #667092;
    --line: #d9e1fb;
    --danger: #a84338;
    --success: #257c5a;
    --shadow: 0 24px 64px rgba(37, 74, 180, .16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 0%, rgba(73, 110, 232, .26), transparent 25rem),
        radial-gradient(circle at 92% 8%, rgba(246, 203, 215, .72), transparent 23rem),
        linear-gradient(180deg, #f9fbff 0%, #eef3ff 50%, #fff3f7 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    filter: grayscale(.25);
    opacity: .48;
}

input:focus,
button:focus-visible {
    outline: 3px solid rgba(73, 110, 232, .28);
    outline-offset: 2px;
}

.booking-page {
    min-height: 100vh;
    padding: clamp(12px, 3vw, 28px);
}

.booking-app {
    width: min(560px, 100%);
    min-height: calc(100vh - clamp(24px, 6vw, 56px));
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(217, 225, 251, .9);
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.screen-top {
    padding: 22px 22px 24px;
    border-bottom: 1px solid rgba(217, 225, 251, .74);
    background:
        radial-gradient(circle at top right, rgba(246, 203, 215, .72), transparent 13rem),
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(237, 242, 255, .96));
}

.screen-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.manage-link {
    justify-self: end;
    min-height: 32px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.mini-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 900;
}

.mini-mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 8px 18px rgba(73, 110, 232, .16);
}

.mini-mark img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.booking-language {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
}

.booking-language button {
    min-width: 40px;
    min-height: 30px;
    padding: 5px 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.booking-language button.active {
    background: linear-gradient(135deg, var(--blue), #7993f1);
    color: #fff;
}

.booking-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 24px rgba(37, 74, 180, .06);
}

.stepper-item {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    padding: 2px 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    text-align: center;
}

.stepper-item span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 2px solid rgba(73, 110, 232, .35);
    background: rgba(255, 255, 255, .86);
    color: var(--blue-dark);
    font-size: 16px;
    font-weight: 950;
}

.stepper-item b {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stepper-item.active {
    color: var(--blue-dark);
}

.stepper-item.active span {
    background: linear-gradient(135deg, var(--blue), #7993f1);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(73, 110, 232, .22);
}

.stepper-item.done {
    color: var(--success);
}

.stepper-item.done span {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

.step {
    display: none !important;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(73, 110, 232, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 950;
}

.screen-top h1 {
    display: none !important;
    max-width: 420px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 8vw, 44px);
    font-weight: 900;
    line-height: 1;
}

.screen-top h1.done-thanks-title {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.16;
    letter-spacing: 0;
}

.booking-status {
    margin: 14px 18px 0;
    padding: 12px 14px;
    border: 1px solid rgba(168, 67, 56, .26);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    color: var(--danger);
    font-size: 13px;
    line-height: 1.45;
}

.booking-status[data-type="error"] {
    border: 2px solid rgba(220, 38, 38, .72);
    background: linear-gradient(135deg, rgba(254, 226, 226, .98), rgba(255, 247, 237, .96));
    box-shadow: 0 12px 30px rgba(220, 38, 38, .18);
    color: #991b1b;
    font-size: clamp(21px, 4.4vw, 32px);
    font-weight: 950;
    letter-spacing: 0;
}

.booking-status[data-type="error"]::before {
    content: "!";
    display: inline-grid;
    place-items: center;
    width: 1.35em;
    height: 1.35em;
    margin-right: 10px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-weight: 950;
}

.booking-status.status-pulse {
    animation: booking-status-pulse .65s ease-in-out 2;
}

@keyframes booking-status-pulse {
    0%, 100% { transform: translateX(0) scale(1); }
    25% { transform: translateX(-5px) scale(1.01); }
    50% { transform: translateX(5px) scale(1.01); }
    75% { transform: translateX(-3px) scale(1.005); }
}

.booking-status[hidden] {
    display: none;
}

.screen-body {
    padding: 20px 22px 24px;
}

.booking-step-panel {
    display: none;
}

.booking-step-panel.active {
    display: block;
}

.service-card,
.info-box {
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 10px 24px rgba(37, 74, 180, .06);
}

.label {
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.choice-pill,
.service-option,
.slot {
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, .82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.choice-pill {
    min-height: 44px;
    padding: 10px;
    border-radius: 15px;
    font-weight: 900;
}

.choice-pill.active,
.service-option.active,
.slot.active,
.series-chip.active {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #7d93ec);
    box-shadow: 0 10px 20px rgba(73, 110, 232, .2);
}

.choice-pill:not(.active)::after {
    content: "";
}

.selected-line {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    margin-top: 10px;
    border-top: 1px solid var(--line);
}

.empty-selection {
    width: 100%;
}

.selected-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(217, 225, 251, .72);
}

.selected-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.selected-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.selected-line strong,
.selected-line .muted {
    display: block;
}

.selected-line strong {
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.28;
}

.selected-price-line {
    display: block;
}

.booking-price-detail,
.payment-total-stack {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 5px 8px;
}

.booking-price-original {
    color: #dc2626;
    font-weight: 950;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.booking-price-discounted {
    color: #15803d;
    font-weight: 950;
}

.booking-discount-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(22, 163, 74, .12);
    color: #15803d;
    font-size: 11px;
    font-weight: 950;
    line-height: 1.2;
}

.booking-price-formula {
    color: var(--muted);
    font-weight: 800;
}

.muted,
.help,
.dialog-hint,
.done-center p,
.info-box {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.qty,
.tag {
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.remove-item {
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid rgba(168, 67, 56, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    color: var(--danger);
    font-size: 12px;
    font-weight: 950;
}

.outline-btn,
.secondary-btn {
    width: 100%;
    margin-top: 12px;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    color: var(--blue-dark);
    font-weight: 950;
}

.field {
    margin-bottom: 15px;
}

.field label,
.pax-editor label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.required {
    color: var(--danger);
}

.input {
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    outline: none;
    background: rgba(255, 255, 255, .86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74);
    color: var(--ink);
    font-size: 16px;
}

.date-field {
    position: relative;
}

.native-date {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    border: 0;
}

.input::placeholder {
    color: #98a3c2;
}

.phone-row {
    display: grid;
    grid-template-columns: minmax(108px, .4fr) minmax(0, 1fr);
    gap: 10px;
}

.country-select {
    padding-right: 10px;
    font-weight: 950;
}

.fallback-link {
    display: inline-block;
    margin-top: 8px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.member-card {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(73, 110, 232, .18);
    border-radius: 18px;
    background: rgba(237, 242, 255, .62);
}

.member-card[hidden] {
    display: none;
}

.member-card-head,
.member-card-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.member-card-head {
    align-items: center;
    margin-bottom: 8px;
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 950;
}

.member-card-head b {
    padding: 5px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #7d93ec);
    color: #fff;
    font-size: 11px;
}

.member-card-row {
    padding: 6px 0;
    border-top: 1px solid rgba(217, 225, 251, .82);
    color: var(--muted);
    font-size: 13px;
}

.member-card-row strong {
    color: var(--ink);
    text-align: right;
}

.date-preview {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.select-trigger {
    color: var(--ink);
    text-align: left;
}

.policy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, .78);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.4;
}

.policy-check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--blue);
}

.text-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--blue-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.primary-btn {
    width: 100%;
    min-height: 56px;
    margin-top: 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue), #6e86ed);
    box-shadow: 0 16px 28px rgba(73, 110, 232, .24);
    color: #fff;
    font-size: 16px;
    font-weight: 950;
}

.code-boxes {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin: 12px 0 8px;
}

.code {
    height: 52px;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .86);
    color: var(--blue-dark);
    font-size: 22px;
    font-weight: 950;
    text-align: center;
}

.summary-title {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    line-height: 1.1;
}

.review {
    margin: 16px 0 10px;
    padding: 13px 15px;
    border: 1px dashed rgba(73, 110, 232, .34);
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
}

.review-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
}

.review-row span:first-child {
    color: var(--muted);
}

.review-row span:last-child {
    color: var(--ink);
    font-weight: 900;
    text-align: right;
}

.success-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(37, 124, 90, .24);
    border-radius: 18px;
    background: rgba(230, 245, 238, .82);
    color: var(--success);
    font-size: 16px;
    font-weight: 950;
}

.success-alert span {
    width: 18px;
    height: 18px;
    border: 6px solid rgba(37, 124, 90, .16);
    border-radius: 999px;
    background: var(--success);
}

.payment-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    padding: 26px 22px 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 82%, rgba(246, 203, 215, .32) 0 7rem, rgba(246, 203, 215, .16) 7.2rem 10.5rem, transparent 10.7rem),
        linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    box-shadow: 0 18px 34px rgba(73, 110, 232, .26);
}

.payment-hero-waived {
    background:
        radial-gradient(circle at 88% 82%, rgba(255, 255, 255, .24) 0 7rem, rgba(255, 255, 255, .12) 7.2rem 10.5rem, transparent 10.7rem),
        linear-gradient(135deg, #2f9d71, #15724f);
    box-shadow: 0 18px 34px rgba(37, 124, 90, .2);
}

.payment-hero span,
.payment-hero strong,
.payment-hero p {
    position: relative;
    display: block;
}

.payment-hero span {
    font-size: 17px;
    font-weight: 950;
}

.payment-hero strong {
    margin: 12px 0;
    font-size: clamp(58px, 16vw, 86px);
    font-weight: 1000;
    line-height: .9;
}

.payment-hero p {
    max-width: 420px;
    margin: 0;
    font-size: 17px;
    line-height: 1.36;
}

.hold-timer,
.payment-card {
    margin-bottom: 16px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 10px 24px rgba(37, 74, 180, .06);
}

.hold-timer[hidden],
.payment-method[hidden],
.deposit-note[hidden] {
    display: none;
}

.hold-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 18px;
    border-color: rgba(185, 112, 30, .32);
    background: rgba(255, 248, 238, .82);
    color: #9a5717;
    font-size: 16px;
    font-weight: 950;
}

.hold-timer strong {
    color: #8a4c13;
    font-size: 24px;
}

.payment-card {
    padding: 16px;
}

.payment-summary > strong {
    display: block;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(217, 225, 251, .82);
    color: var(--muted);
    font-size: 15px;
}

.payment-summary-row:last-child {
    border-bottom: 0;
}

.payment-summary-total {
    border-bottom: 0;
}

.payment-summary-row span:last-child {
    color: var(--ink);
    font-weight: 950;
    text-align: right;
}

.payment-summary-row .booking-price-original {
    color: #dc2626;
}

.payment-summary-row .booking-price-discounted {
    color: #15803d;
}

.payment-total-stack {
    flex-direction: column;
}

.payment-total-stack small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}

.payment-summary-note {
    margin-top: 2px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(73, 110, 232, .08);
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.payment-method {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 82px;
    margin-top: 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .84);
    color: var(--ink);
    text-align: left;
}

.payment-method.active {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(73, 110, 232, .08);
}

.payment-badge {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 1000;
}

.payment-method strong,
.payment-method em {
    display: block;
}

.payment-method strong {
    font-size: 17px;
    line-height: 1.25;
}

.payment-method em {
    margin-top: 5px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.4;
}

.payment-method b {
    width: 22px;
    height: 22px;
    border: 4px solid rgba(73, 110, 232, .22);
    border-radius: 999px;
}

.payment-method.active b {
    border-color: var(--blue);
    box-shadow: inset 0 0 0 4px #fff;
    background: var(--blue);
}

.deposit-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.done-center {
    padding: 22px 0 8px;
    text-align: center;
}

.done-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: #e6f5ee;
    color: var(--success);
    font-size: 36px;
    font-weight: 950;
}

.done-center h2 {
    margin: 0 0 9px;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1;
}

.qr-card {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 22px;
    background: var(--card);
    box-shadow: 0 10px 24px rgba(37, 74, 180, .06);
    text-align: center;
}

.qr-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
}

.qr-card img {
    width: 190px;
    height: 190px;
    max-width: 72vw;
    border: 10px solid #fff;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(37, 74, 180, .12);
}

.qr-logo {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(37, 74, 180, .18);
}

.qr-logo img {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

.qr-card strong {
    color: var(--ink);
    font-size: 18px;
}

.qr-save-btn {
    max-width: 220px;
    margin-top: 2px;
}

.done-actions {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    gap: 10px;
}

.done-actions .primary-btn,
.done-actions .secondary-btn {
    margin-top: 0;
}

.info-box strong {
    display: block;
    margin: 12px 0 8px;
    color: var(--ink);
    line-height: 1.45;
}

#policy-list {
    margin: 14px 0 18px;
    padding-left: 28px;
}

#policy-list li {
    margin-bottom: 16px;
    padding-left: 4px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    white-space: pre-line;
}

.booking-version {
    width: min(560px, 100%);
    margin: 8px auto 0;
    padding-right: 6px;
    color: rgba(31, 43, 77, .42);
    font-size: 10px;
    font-weight: 800;
    text-align: right;
    pointer-events: none;
}

.tag {
    display: inline-block;
}

.booking-empty {
    grid-column: 1 / -1;
    padding: 18px 8px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.slot-guidance {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 28px 16px;
    border: 1px solid rgba(168, 67, 56, .22);
    border-radius: 22px;
    background: rgba(255, 240, 245, .72);
    color: var(--danger);
    text-align: center;
}

.slot-guidance strong {
    color: var(--danger);
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 1000;
    line-height: 1.08;
}

.slot-guidance span {
    color: var(--ink);
    font-size: clamp(17px, 4.5vw, 22px);
    font-weight: 900;
    line-height: 1.35;
}

.mock-tac-box {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px dashed rgba(73, 110, 232, .38);
    border-radius: 16px;
    background: rgba(237, 242, 255, .72);
    color: var(--blue-dark);
    font-size: 18px;
    font-weight: 950;
    text-align: center;
}

.manage-booking-card {
    width: 100%;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(217, 225, 251, .95);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    color: var(--ink);
    text-align: left;
}

.manage-booking-card strong,
.manage-booking-card span {
    display: block;
    margin-bottom: 6px;
}

.manage-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

dialog {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 90% 0%, rgba(246, 203, 215, .72), transparent 17rem),
        linear-gradient(180deg, #f9fbff 0%, #eef3ff 100%);
    color: var(--ink);
}

dialog::backdrop {
    background: rgba(31, 43, 77, .32);
    backdrop-filter: blur(2px);
}

.dialog-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px max(18px, env(safe-area-inset-right)) 14px max(18px, env(safe-area-inset-left));
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
}

.dialog-head h3 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
}

.dialog-close {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #6e86ed);
    color: #fff;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.dialog-body {
    width: min(620px, 100%);
    min-height: calc(100dvh - 79px);
    margin: 0 auto;
    padding: 18px 18px 26px;
}

.date-picker-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 38px rgba(59, 93, 194, .12);
}

.date-picker-nav {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    gap: 10px;
}

.date-picker-nav strong {
    text-align: center;
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
}

.icon-btn {
    min-height: 50px;
    padding: 0;
    font-size: 30px;
    line-height: 1;
}

.date-weekdays,
.date-picker-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.date-weekdays span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.date-cell {
    display: grid;
    place-items: center;
    min-height: 58px;
    padding: 6px 2px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    font-weight: 950;
}

.date-cell strong {
    font-size: 20px;
    line-height: 1;
}

.date-cell span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.date-cell.today {
    border-color: #7ca8ff;
    background: #edf4ff;
}

.date-cell.active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--blue), #6d86ed);
    color: #fff;
    box-shadow: 0 12px 24px rgba(55, 91, 210, .24);
}

.date-cell.active span {
    color: rgba(255, 255, 255, .88);
}

.date-cell:disabled {
    opacity: .35;
    box-shadow: none;
}

.date-cell.blank {
    visibility: hidden;
}

.country-fallback-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.country-fallback-icon {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 999px;
    background: rgba(37, 124, 90, .11);
    color: var(--success);
    font-size: 42px;
    font-weight: 950;
    font-family: Georgia, "Times New Roman", serif;
}

.country-fallback-body h2 {
    max-width: 520px;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 7vw, 42px);
    line-height: 1.06;
}

.country-fallback-body .whatsapp-action {
    width: min(420px, 100%);
    text-decoration: none;
}

.country-fallback-body .whatsapp-action.disabled {
    border-color: rgba(102, 112, 146, .18);
    background: #d8deef;
    color: #7d87a4;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: auto;
}

.country-fallback-reminder {
    width: min(430px, 100%);
    padding: 12px 14px;
    border: 1px solid rgba(168, 67, 56, .24);
    border-radius: 16px;
    background: rgba(255, 240, 245, .86);
    color: var(--danger);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
}

.country-fallback-back {
    width: min(420px, 100%);
    margin-top: -8px;
}

.country-fallback-body p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.pax-editor {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
}

.pax-editor label {
    margin: 0;
}

.series-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    overflow: visible;
}

.series-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 1 auto;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--blue-dark);
    font-size: 13px;
    font-weight: 900;
}

.series-chip b {
    display: grid;
    place-items: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(73, 110, 232, .1);
}

.series-chip.active b {
    background: rgba(255, 255, 255, .22);
}

.dialog-list {
    display: grid;
    gap: 9px;
}

.service-option {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    min-height: 128px;
    padding: 18px;
    border-radius: 20px;
    text-align: left;
}

.service-option strong,
.service-option em {
    display: block;
}

.service-option strong {
    color: inherit;
    font-size: 18px;
    line-height: 1.22;
}

.top-pick-emoji {
    display: inline-block;
    margin-right: 7px;
}

.service-code {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 950;
    line-height: 1.2;
    vertical-align: 2px;
}

.service-option.active .service-code {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.service-option em {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.35;
}

.service-option.active em {
    color: rgba(255, 255, 255, .82);
}

.service-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 10px;
    align-items: center;
}

.service-pick {
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--blue), #7d93ec);
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(73, 110, 232, .2);
}

.service-option.active .service-pick {
    background: #fff;
    color: var(--blue-dark);
    box-shadow: none;
}

.service-info-link {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .86);
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
}

.service-option.active .service-info-link {
    border-color: rgba(255, 255, 255, .36);
    background: rgba(255, 255, 255, .16);
    color: #fff;
}

.product-info-content {
    padding-top: 14px;
}

.product-info-card {
    display: grid;
    gap: 18px;
}

.product-info-image {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .82);
}

.product-info-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-info-main {
    display: grid;
    gap: 14px;
}

.product-info-main h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(30px, 8vw, 48px);
    line-height: .98;
}

.product-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-info-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
}

.product-info-desc {
    display: grid;
    gap: 15px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.62;
}

.product-info-desc p {
    margin: 0;
}

.product-info-section {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .76);
}

.product-info-section h4 {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: 15px;
    font-weight: 950;
    letter-spacing: .05em;
}

.product-info-section ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
}

.product-info-section li {
    padding-left: 2px;
}

.product-info-choose {
    margin-top: 4px;
}

@media (min-width: 760px) {
    .product-info-card {
        grid-template-columns: minmax(260px, .82fr) minmax(0, 1fr);
        align-items: start;
    }

    .product-info-image {
        position: sticky;
        top: 16px;
    }
}

.slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.slot {
    min-height: 58px;
    padding: 10px 5px;
    border-radius: 16px;
    font-weight: 950;
    text-align: center;
}

.slot strong,
.slot span {
    display: block;
}

.slot span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.slot.active span {
    color: rgba(255, 255, 255, .82);
}

.slot:disabled {
    color: #a6acc2;
    background: rgba(231, 235, 250, .72);
    text-decoration: line-through;
}

.dialog-body p,
.dialog-body li {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.dialog-body ul {
    margin: 10px 0 16px;
    padding-left: 20px;
}

@media (max-width: 560px) {
    .booking-page {
        padding: 0;
    }

    .booking-app {
        min-height: 100vh;
        border-width: 0;
        border-radius: 0;
    }

    .screen-top {
        padding-top: max(18px, env(safe-area-inset-top));
    }

    .screen-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-language {
        width: 100%;
    }

    .booking-language button {
        flex: 1 1 0;
    }

    .booking-stepper {
        gap: 4px;
    }

    .stepper-item {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        padding: 6px 3px;
        text-align: center;
    }

    .stepper-item b {
        width: 100%;
        font-size: 9px;
    }

    .choice-grid,
    .slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .pax-editor {
        grid-template-columns: 1fr;
    }

    .phone-row {
        grid-template-columns: 1fr;
    }

    .selected-item {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 760px) {
    .dialog-body {
        width: min(860px, 100%);
    }

    #booking-services.dialog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dialog-slots {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 900px) {
    .booking-app {
        width: min(1040px, 100%);
    }

    .booking-step-panel[data-step-panel="1"].active {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 16px;
    }

    .booking-step-panel[data-step-panel="1"].active .policy-check,
    .booking-step-panel[data-step-panel="1"].active .primary-btn {
        grid-column: 1 / -1;
    }

    .booking-step-panel[data-step-panel="2"].active,
    .booking-step-panel[data-step-panel="3"].active,
    .booking-step-panel[data-step-panel="4"].active {
        max-width: 640px;
        margin: 0 auto;
    }
}
