/*
 * VR LAND foglalási felület
 *
 * Az akcentusszínt a JavaScript a meglévő .highlight elem
 * tényleges színéből olvassa ki, így a foglaló a jelenlegi
 * STRIDER / VR LAND színvilágot követi.
 */

#vr-booking-form {
    --booking-accent: currentColor;
    --booking-border: rgba(255, 255, 255, 0.16);
    --booking-surface: rgba(255, 255, 255, 0.045);
    --booking-surface-strong: rgba(255, 255, 255, 0.085);
    --booking-muted: rgba(255, 255, 255, 0.68);
    --booking-energy: var(--vr-red-soft-alpha);
}

.booking-success-view {
    --booking-accent: var(--vr-gold);
    --booking-border: rgba(255, 255, 255, 0.16);
    scroll-margin-top: 110px;
}

.booking-success-view:focus {
    outline: none;
}

.booking-success-card {
    position: relative;
    padding: clamp(38px, 7vw, 78px);
    overflow: hidden;
    border: 1px solid var(--booking-border);
    background:
        radial-gradient(
            circle at 50% 0,
            var(--booking-energy),
            transparent 42%
        ),
        rgba(10, 12, 22, 0.92);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    text-align: center;
}

.booking-success-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--booking-accent);
    content: "";
}

.booking-success-icon {
    display: inline-flex;
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--booking-accent);
    border-radius: 50%;
    color: var(--booking-accent);
    background: var(--booking-energy);
    font-size: 34px;
}

.booking-success-eyebrow {
    margin-bottom: 10px;
    color: var(--booking-accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.booking-success-card h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.booking-success-message {
    max-width: 680px;
    margin: 0 auto 34px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.8;
}

.booking-success-next-step {
    display: flex;
    max-width: 680px;
    margin: 0 auto 34px;
    padding: 24px;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid var(--booking-border);
    background: rgba(255, 255, 255, 0.045);
    text-align: left;
}

.booking-success-next-step > i {
    margin-top: 3px;
    color: var(--booking-accent);
    font-size: 28px;
}

.booking-success-next-step h3 {
    margin-bottom: 7px;
}

.booking-success-next-step p {
    margin: 0;
    line-height: 1.7;
}

.booking-success-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.booking-success-actions .button,
.booking-success-actions .features-link {
    margin: 0;
}

@media (max-width: 575px) {
    .booking-success-next-step {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .booking-success-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .booking-success-actions .button,
    .booking-success-actions .features-link {
        width: 100%;
        text-align: center;
    }
}

.booking-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--booking-border);
    background: var(--booking-border);
}

.booking-progress.has-no-game-step {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-progress button {
    min-height: 74px;
    padding: 12px;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
    color: inherit;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.booking-progress button span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.booking-progress button.active,
.booking-progress button.is-complete {
    box-shadow: inset 0 -3px 0 var(--booking-accent);
}

.booking-progress button.active span,
.booking-progress button.is-complete span {
    border-color: var(--booking-accent);
    color: var(--booking-accent);
}

.booking-step {
    scroll-margin-top: 110px;
}

.booking-package-selector {
    scroll-margin-top: 110px;
}

.booking-step > .text-container:first-child {
    padding: clamp(1rem, 2.2vw, 1.5rem);
    border-left: 3px solid var(--booking-accent);
}

.booking-choice-grid,
.booking-package-grid,
.booking-game-grid,
.booking-info-grid {
    row-gap: 24px;
}

.booking-choice-card,
.booking-package-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 210px;
    padding: 28px;
    flex-direction: column;
    gap: 12px;
    border: 1px solid var(--booking-border);
    background: var(--booking-surface);
    color: inherit;
    cursor: pointer;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.booking-choice-card:hover,
.booking-package-card:hover,
.booking-choice-card:focus-within,
.booking-package-card:focus-within {
    transform: translateY(-3px);
    border-color: var(--booking-accent);
    background: var(--booking-surface-strong);
}

.booking-choice-card.is-selected,
.booking-package-card.is-selected {
    border-color: var(--booking-accent);
    box-shadow: inset 0 0 0 1px var(--booking-accent);
    background: var(--booking-surface-strong);
}

.booking-choice-card input,
.booking-package-card input {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 20px;
    height: 20px;
    accent-color: var(--booking-accent);
}

.booking-choice-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--booking-accent);
    color: var(--booking-accent);
    font-size: 24px;
}

.booking-choice-card strong,
.booking-package-card strong {
    padding-right: 28px;
    font-size: 1.25rem;
}

.booking-choice-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.booking-choice-photo {
    display: block;
    width: 88px;
    height: 76px;
    flex: 0 0 88px;
    overflow: hidden;
    border: 1px solid var(--booking-border);
    background: rgba(255, 255, 255, 0.04);
}

.booking-choice-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.04);
    transition: transform 180ms ease;
}

.booking-choice-card:hover .booking-choice-photo img,
.booking-choice-card.is-selected .booking-choice-photo img {
    transform: scale(1.025);
}

.booking-choice-title {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.booking-choice-title strong {
    line-height: 1.2;
}

.booking-choice-device {
    color: var(--booking-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.booking-package-price {
    margin-top: auto;
    color: var(--booking-accent);
    font-size: 1.35rem;
    font-weight: 700;
}

.booking-field {
    height: 100%;
    margin-bottom: 24px;
}

.booking-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid var(--booking-border);
    border-radius: 0;
    outline: none;
    background: rgba(0, 0, 0, 0.36);
    color: inherit;
}

.booking-field textarea {
    min-height: 145px;
    resize: vertical;
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: var(--booking-accent);
    box-shadow: inset 0 0 0 1px var(--booking-accent);
}

.booking-field select option {
    background: #111;
    color: #fff;
}


.booking-actions {
    display: flex;
    margin-top: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.booking-actions .button,
.booking-actions .features-link {
    cursor: pointer;
}

.booking-game-item[hidden],
.booking-package-item[hidden] {
    display: none !important;
}

.booking-game-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    border: 1px solid var(--booking-border);
    background: var(--booking-surface);
    overflow: hidden;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.booking-game-browser-toggle {
    display: flex;
    margin: 24px 0 18px;
    padding: 16px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--booking-border);
    background: var(--booking-surface);
}

.booking-game-browser-toggle p {
    margin: 0;
    text-align: right;
}

.booking-actions-top {
    margin: 24px 0 10px;
}

@media (max-width: 575.98px) {
    .booking-game-browser-toggle {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-game-browser-toggle p {
        text-align: left;
    }
}

.booking-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--booking-accent);
}

.booking-game-item.is-selected .booking-game-card {
    border-color: var(--booking-accent);
    box-shadow: inset 0 0 0 1px var(--booking-accent);
}

.booking-game-card > img {
    width: 100%;
    aspect-ratio: 15 / 8;
    object-fit: cover;
}

.booking-game-content {
    display: flex;
    height: 100%;
    padding: 22px;
    flex-direction: column;
}

.booking-game-content h3 {
    font-size: 1.15rem;
}

.booking-game-description {
    margin-bottom: 18px;
}

.booking-game-actions {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.booking-game-actions .button {
    padding: 11px 14px;
    font-size: 0.78rem;
    cursor: pointer;
}

.booking-summary {
    position: sticky;
    top: 105px;
    margin-bottom: 40px;
}

.booking-summary .text-container {
    padding: clamp(1rem, 2vw, 1.5rem);
    border-top: 3px solid var(--booking-accent);
}

.booking-summary dl {
    margin: 0;
}

.booking-summary dl > div {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    padding: 11px 0;
    border-bottom: 1px solid var(--booking-border);
    gap: clamp(8px, 2vw, 16px);
}

.booking-summary dt {
    min-width: 0;
    color: var(--booking-muted);
    font-weight: 400;
}

.booking-summary dd {
    min-width: 0;
    margin: 0;
    text-align: right;
    font-weight: 700;
    overflow-wrap: normal;
    word-break: normal;
}

#summary-guests,
#summary-date,
#summary-time,
#summary-duration,
#summary-price,
#summary-coupon-discount {
    white-space: nowrap;
}

.booking-summary h3 span {
    display: inline-flex;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--booking-accent);
    color: var(--booking-accent);
    font-size: 0.85rem;
}

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

.booking-cart-list li {
    display: flex;
    padding: 10px 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--booking-border);
}

.booking-cart-list button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.booking-cart-list button:hover {
    color: var(--booking-accent);
}

.booking-consent {
    display: flex;
    margin: 12px 0 20px;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.booking-consent input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex: 0 0 auto;
    accent-color: var(--booking-accent);
}

.booking-submit-note {
    display: flex;
    margin-top: 20px;
    padding: 18px;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid var(--booking-border);
    background: var(--booking-surface);
}

.booking-submit-note i,
.booking-info-grid .text-container > i {
    color: var(--booking-accent);
    font-size: 24px;
}

.booking-submit-note p {
    margin: 0;
}

.booking-info-grid .text-container {
    height: 100%;
    padding: clamp(1rem, 2.2vw, 1.5rem);
}

.booking-info-grid .text-container > i {
    margin-bottom: 18px;
    font-size: 32px;
}

#booking-form-errors {
    margin-top: 20px;
    border-left: 3px solid var(--booking-accent);
}

#booking-form-errors ul {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .booking-summary {
        position: static;
        top: auto;
    }

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

    .booking-progress.has-no-game-step {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .booking-progress {
        grid-template-columns: 1fr;
    }

    .booking-progress.has-no-game-step {
        grid-template-columns: 1fr;
    }

    .booking-progress button {
        min-height: 56px;
        text-align: left;
    }

    .booking-choice-card,
    .booking-package-card {
        min-height: auto;
    }

    .booking-choice-photo {
        width: 78px;
        height: 68px;
        flex-basis: 78px;
    }

    .booking-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .booking-actions .button,
    .booking-actions .features-link {
        width: 100%;
        text-align: center;
    }

    .booking-game-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-game-actions .button,
    .booking-game-actions .features-link {
        width: 100%;
        text-align: center;
    }
}


/* --- Lépéses működés és kártyaválasztás javítása --- */
#vr-booking-form .booking-step[hidden] {
    display: none !important;
}

#vr-booking-form .booking-step.is-active {
    display: block;
    animation: booking-step-in 180ms ease-out;
}

@keyframes booking-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#vr-booking-form .booking-choice-card > input[type="radio"],
#vr-booking-form .booking-package-card > input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
}

#vr-booking-form .booking-choice-icon {
    width: auto;
    height: auto;
    border: 0;
    background: transparent;
    justify-content: flex-start;
    font-size: 34px;
    pointer-events: none;
}

#vr-booking-form .booking-choice-marker {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--booking-border);
    border-radius: 50%;
    color: transparent;
    background: rgba(0, 0, 0, 0.22);
    transition: 160ms ease;
    pointer-events: none;
}

#vr-booking-form .booking-experience-card.is-selected .booking-choice-marker,
#vr-booking-form .booking-choice-card.is-selected .booking-choice-marker,
#vr-booking-form .booking-package-card.is-selected .booking-choice-marker {
    border-color: var(--booking-accent);
    background: var(--booking-accent);
    color: #111;
}

#vr-booking-form .booking-experience-card.is-selected strong,
#vr-booking-form .booking-choice-card.is-selected .booking-choice-icon,
#vr-booking-form .booking-choice-card.is-selected strong,
#vr-booking-form .booking-package-card.is-selected strong {
    color: var(--booking-accent);
}

#vr-booking-form .booking-choice-card:focus-within,
#vr-booking-form .booking-package-card:focus-within {
    outline: 2px solid var(--booking-accent);
    outline-offset: 3px;
}

#vr-booking-form .booking-progress button[aria-current="step"] {
    background: var(--booking-surface-strong);
    color: var(--booking-accent);
}

#vr-booking-form .booking-progress button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

#vr-booking-form .booking-form-errors {
    margin-bottom: 24px;
    border-left: 3px solid var(--booking-accent);
    max-width: 100%;
    overflow-wrap: anywhere;
    scroll-margin-top: 125px;
}

#vr-booking-form .booking-form-errors[hidden] {
    display: none !important;
}

#vr-booking-form .booking-form-errors ul {
    margin: 12px 0 0;
}

#vr-booking-form .is-invalid,
#vr-booking-form .booking-choice-grid.is-invalid,
#vr-booking-form .booking-package-grid.is-invalid {
    border-color: var(--booking-accent) !important;
    box-shadow: inset 0 0 0 1px var(--booking-accent);
}

#vr-booking-form button[aria-busy="true"] {
    cursor: wait;
    opacity: 0.72;
    pointer-events: none;
}


/* --- Naptár és egész órás időpontválasztó --- */
.booking-datetime-layout {
    margin-top: 8px;
    row-gap: 24px;
}

.booking-calendar-panel,
.booking-time-panel {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--booking-border);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.booking-calendar-panel {
    border-top: 3px solid var(--booking-accent);
}

.booking-time-panel {
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--booking-accent);
}

.booking-calendar-header {
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    text-align: center;
}

.booking-calendar-header p,
.booking-time-header p {
    margin-bottom: 2px;
}

.booking-calendar-header h3,
.booking-time-header h3 {
    margin-bottom: 2px;
}

.booking-calendar-header .subtle {
    display: block;
    min-height: 22px;
}

.booking-calendar-nav {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--booking-border);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        color 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}

.booking-calendar-nav i {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}

.booking-calendar-nav .fa-chevron-left {
    transform: rotate(135deg);
}

.booking-calendar-nav .fa-chevron-right {
    transform: rotate(-45deg);
}

.booking-calendar-nav:hover:not(:disabled),
.booking-calendar-nav:focus-visible {
    border-color: var(--booking-accent);
    background: var(--booking-surface-strong);
    color: var(--booking-accent);
    transform: translateY(-1px);
}

.booking-calendar-nav:disabled {
    cursor: not-allowed;
    opacity: 0.28;
}

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

.booking-calendar-weekdays {
    margin-bottom: 8px;
    color: var(--booking-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.booking-calendar-weekdays span {
    padding: 5px 0;
}

.booking-calendar-grid {
    min-height: 306px;
}

.booking-calendar-empty,
.booking-calendar-day {
    min-height: 48px;
}

.booking-calendar-day {
    position: relative;
    display: inline-flex;
    padding: 5px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.26);
    color: inherit;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.booking-calendar-day span {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
}

.booking-calendar-day small {
    color: var(--booking-accent);
    font-size: 0.58rem;
    line-height: 1;
    text-transform: uppercase;
}

.booking-calendar-day:hover:not(:disabled),
.booking-calendar-day:focus-visible {
    border-color: var(--booking-accent);
    background: var(--booking-surface-strong);
    color: var(--booking-accent);
    transform: translateY(-1px);
}

.booking-calendar-day.is-today {
    border-color: rgba(255, 255, 255, 0.28);
}

.booking-calendar-day.is-selected {
    border-color: var(--booking-accent);
    background: var(--booking-accent);
    color: #111;
    box-shadow: 0 9px 24px rgba(0, 0, 0, 0.22);
}

.booking-calendar-day.is-selected small {
    color: #111;
}

.booking-calendar-day:disabled {
    cursor: not-allowed;
    opacity: 0.2;
    text-decoration: line-through;
}

.booking-calendar-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--booking-border);
}

.booking-calendar-footer .booking-field {
    margin-bottom: 0;
}

.booking-today-button {
    min-height: 54px;
    margin-bottom: 0;
    white-space: nowrap;
    cursor: pointer;
}

.booking-time-header {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 14px;
}

.booking-time-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--booking-accent);
    color: var(--booking-accent);
    font-size: 23px;
}

.booking-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 22px;
}

.booking-time-option {
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--booking-border);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    font-weight: 700;
    letter-spacing: 0.035em;
    cursor: pointer;
    transition:
        border-color 150ms ease,
        background-color 150ms ease,
        color 150ms ease,
        transform 150ms ease;
}

.booking-time-option:hover:not(:disabled),
.booking-time-option:focus-visible {
    border-color: var(--booking-accent);
    background: var(--booking-surface-strong);
    color: var(--booking-accent);
    transform: translateY(-1px);
}

.booking-time-option.is-selected {
    border-color: var(--booking-accent);
    background: var(--booking-accent);
    color: #111;
}

.booking-time-option:disabled {
    cursor: not-allowed;
    opacity: 0.24;
    text-decoration: line-through;
}

.booking-time-input {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid var(--booking-border);
}

.booking-duration-field {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid var(--booking-border);
}

.booking-time-status {
    min-height: 22px;
    margin: 10px 0 0;
}

#vr-booking-form .booking-calendar-panel.is-invalid,
#vr-booking-form .booking-time-panel.is-invalid {
    border-color: var(--booking-accent);
    box-shadow: inset 0 0 0 1px var(--booking-accent);
}

@media (max-width: 991px) {
    .booking-calendar-panel,
    .booking-time-panel {
        height: auto;
    }

    .booking-calendar-grid {
        min-height: 280px;
    }
}

@media (max-width: 575px) {
    .booking-calendar-panel,
    .booking-time-panel {
        padding: 17px;
    }

    .booking-calendar-header {
        grid-template-columns: 40px 1fr 40px;
        gap: 8px;
    }

    .booking-calendar-nav {
        width: 40px;
        height: 40px;
    }

    .booking-calendar-weekdays,
    .booking-calendar-grid {
        gap: 4px;
    }

    .booking-calendar-day,
    .booking-calendar-empty {
        min-height: 42px;
    }

    .booking-calendar-day span {
        font-size: 0.9rem;
    }

    .booking-calendar-footer {
        grid-template-columns: 1fr;
    }

    .booking-today-button {
        width: 100%;
        text-align: center;
    }

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

/* VR LAND premium palette */
#vr-booking-form,
.booking-success-view {
    --booking-accent: var(--vr-gold);
    --booking-border: var(--vr-border);
    --booking-surface: rgba(13, 13, 15, 0.94);
    --booking-surface-strong: var(--vr-surface-light);
    --booking-muted: var(--vr-text-muted);
}

.booking-success-card,
.booking-choice-card,
.booking-package-card,
.booking-game-card,
.booking-submit-note,
.booking-calendar-panel,
.booking-time-panel {
    border-color: var(--vr-border);
    background: var(--vr-surface);
}

.booking-success-card {
    background: var(--vr-surface);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}

.booking-success-icon {
    background: rgba(216, 166, 64, 0.1);
}

.booking-progress,
.booking-progress button,
.booking-calendar-nav,
.booking-calendar-day,
.booking-time-option {
    border-color: var(--vr-border);
    background-color: var(--vr-black);
}

.booking-progress button.active,
.booking-progress button.is-complete,
.booking-progress button[aria-current="step"] {
    color: var(--vr-gold-light);
}

.booking-choice-card:hover,
.booking-package-card:hover,
.booking-choice-card:focus-within,
.booking-package-card:focus-within,
.booking-choice-card.is-selected,
.booking-package-card.is-selected,
.booking-game-card:hover,
.booking-game-item.is-selected .booking-game-card {
    border-color: var(--vr-gold);
    background: var(--vr-surface-light);
    box-shadow: inset 0 0 0 1px var(--vr-gold), 0 12px 28px rgba(0, 0, 0, 0.25);
}

.booking-choice-icon,
.booking-package-price,
.booking-submit-note i,
.booking-info-grid .text-container > i,
.booking-summary h3 span,
.booking-time-icon,
.booking-calendar-day small,
.booking-time-header .booking-time-icon {
    color: var(--vr-gold);
}

.booking-choice-photo {
    border-color: rgba(216, 166, 64, 0.24);
    background: var(--vr-surface-light);
}

.booking-choice-photo img {
    filter: brightness(0.9) contrast(1.02);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    color: var(--vr-white);
    border-color: rgba(216, 166, 64, 0.3);
    background: var(--vr-surface-light);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus,
.booking-calendar-nav:hover:not(:disabled),
.booking-calendar-nav:focus-visible,
.booking-calendar-day:hover:not(:disabled),
.booking-calendar-day:focus-visible,
.booking-time-option:hover:not(:disabled),
.booking-time-option:focus-visible {
    border-color: var(--vr-gold);
    background: rgba(216, 166, 64, 0.1);
    color: var(--vr-gold-light);
}

.booking-calendar-panel,
.booking-time-panel {
    background: var(--vr-surface);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.booking-calendar-day.is-today {
    border-color: rgba(240, 198, 106, 0.7);
}

.booking-calendar-day.is-selected,
.booking-time-option.is-selected,
.booking-experience-card.is-selected .booking-choice-marker,
.booking-choice-card.is-selected .booking-choice-marker,
.booking-package-card.is-selected .booking-choice-marker {
    border-color: var(--vr-gold);
    background: var(--vr-gold);
    color: var(--vr-black);
}

.booking-calendar-day.is-selected small {
    color: var(--vr-black);
}

.booking-calendar-day:disabled,
.booking-time-option:disabled {
    color: var(--vr-text-muted);
}

#booking-form-errors,
#vr-booking-form .booking-form-errors {
    border-left-color: var(--vr-red);
    color: var(--vr-white);
}

#vr-booking-form .is-invalid,
#vr-booking-form .booking-choice-grid.is-invalid,
#vr-booking-form .booking-package-grid.is-invalid,
#vr-booking-form .booking-calendar-panel.is-invalid,
#vr-booking-form .booking-time-panel.is-invalid {
    border-color: var(--vr-red) !important;
    box-shadow: inset 0 0 0 1px var(--vr-red);
}

.booking-arrival-notice {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--vr-gold);
    background: rgba(216, 166, 64, 0.08);
    color: var(--vr-text-muted);
}

/* A foglalás első lépése először a két fő élményt választatja ki. */
.booking-experience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 1.25rem;
}

.booking-experience-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    min-height: 8.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--booking-border);
    border-radius: 1rem;
    background: var(--booking-surface);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.booking-experience-card:hover,
.booking-experience-card:focus-within,
.booking-experience-card.is-selected {
    border-color: var(--vr-gold);
    background: var(--booking-surface-strong);
    transform: translateY(-2px);
}

.booking-experience-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-experience-card strong {
    color: var(--vr-white);
    font-size: 1.25rem;
}

.booking-experience-panel {
    margin: 1.25rem 0 1.75rem;
    padding: 1.25rem;
    border: 1px solid var(--booking-border);
    border-radius: 1rem;
    background: rgba(0, 0, 0, .18);
}

/* Az Aréna-élmény kiválasztása automatikusan beállítja az egyetlen
 * szükséges Aréna-erőforrást; a második, ismétlődő kártya nem jelenik meg. */
.booking-experience-panel[data-experience-panel="arena"] {
    display: none;
}

/* A hosszú csomag- és eszköznevek maradjanak a kártyán belül minden
 * kijelzőszélességen; a fókuszkeret számára nem vágunk le tartalmat. */
#vr-booking-form .booking-experience-card,
#vr-booking-form .booking-choice-card,
#vr-booking-form .booking-package-card,
#vr-booking-form .booking-progress,
#vr-booking-form .booking-progress button {
    box-sizing: border-box;
    min-width: 0;
    overflow-wrap: anywhere;
}

#vr-booking-form .booking-choice-card,
#vr-booking-form .booking-package-card {
    height: auto;
}

#vr-booking-form .booking-choice-card > *,
#vr-booking-form .booking-package-card > *,
#vr-booking-form .booking-progress button > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Az időpont-panelben dinamikusan megjelenő súgó- és státuszszöveg ne
 * örökölje a panel/kártya magasságát, hanem a saját soraira tördelődjön. */
#vr-booking-form .booking-calendar-panel,
#vr-booking-form .booking-time-panel,
#vr-booking-form .booking-time-panel > *,
#vr-booking-form .booking-time-panel .booking-field {
    min-width: 0;
}

#vr-booking-form .booking-calendar-panel,
#vr-booking-form .booking-time-panel,
#vr-booking-form .booking-time-panel .booking-field {
    height: auto;
}

#vr-booking-form .booking-time-header > div,
#vr-booking-form #booking-duration-options,
#vr-booking-form #booking-duration-help,
#vr-booking-form #booking-time-status {
    min-width: 0;
    max-width: 100%;
}

#vr-booking-form #booking-duration-help,
#vr-booking-form #booking-time-status {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
}

#vr-booking-form #booking-duration-options,
#vr-booking-form #booking-duration-options .booking-duration-option {
    min-width: 0;
}

.booking-experience-panel-heading {
    margin-bottom: 1rem;
}

.booking-experience-panel-heading h3 {
    margin-bottom: .35rem;
}

.booking-duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: .65rem;
    margin: .65rem 0;
}

.booking-duration-option {
    min-height: 3.2rem;
    padding: .7rem .85rem;
    border: 1px solid var(--booking-border);
    border-radius: .65rem;
    background: var(--booking-surface);
    color: var(--vr-white);
    cursor: pointer;
    font: inherit;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.booking-duration-option:hover,
.booking-duration-option:focus-visible,
.booking-duration-option.is-selected {
    border-color: var(--vr-gold);
    background: rgba(216, 166, 64, .14);
    color: var(--vr-gold-light);
}

.booking-field-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--vr-white);
    font-weight: 600;
}

.booking-coupon-field {
    margin-top: .25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--booking-border);
}

.booking-coupon-field label {
    display: block;
    margin-bottom: .35rem;
    color: var(--vr-white);
    font-weight: 600;
}

.booking-coupon-field input {
    flex: 1 1 18rem;
    min-width: 0;
    max-width: 28rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.booking-coupon-control {
    display: flex;
    align-items: stretch;
    gap: .65rem;
    max-width: 42rem;
}

.booking-coupon-control .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.booking-coupon-feedback {
    max-width: 42rem;
    margin-top: .75rem;
    padding: .75rem 1rem;
    border-left: 3px solid var(--vr-gold);
    background: rgba(216, 166, 64, .12);
    color: var(--vr-white);
}

.booking-coupon-feedback.is-success {
    border-left-color: var(--vr-gold-light);
}

.booking-coupon-feedback.is-error {
    border-left-color: var(--vr-red);
    background: rgba(143, 16, 42, .16);
}

.booking-coupon-feedback p {
    margin: 0 0 .65rem;
}

.booking-coupon-feedback .button {
    margin-top: .1rem;
}

.booking-summary-coupon dd {
    color: var(--vr-gold-light);
    font-weight: 700;
}

.booking-coupon-error {
    max-width: 42rem;
    margin-top: .75rem;
    padding: .85rem 1rem;
    border-left: 3px solid var(--vr-red);
    background: rgba(143, 16, 42, .16);
    color: var(--vr-white);
}

.booking-coupon-error p {
    margin: .45rem 0 .75rem;
}

.booking-coupon-error .button {
    margin-top: .15rem;
}

@media (max-width: 767px) {
    .booking-coupon-control {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-coupon-control input,
    .booking-coupon-control .button {
        max-width: none;
        width: 100%;
    }

    .booking-experience-grid {
        grid-template-columns: 1fr;
    }

    .booking-experience-card,
    .booking-experience-panel {
        padding: 1rem;
    }
}

/* Match the public image-card treatment without changing the booking flow. */
.booking-page .booking-choice-card,
.booking-page .booking-package-card,
.booking-page .booking-game-card {
    border-left: 3px solid var(--vr-burgundy-light, #5a1025);
    background:
        linear-gradient(112deg, rgba(43, 11, 21, .3), rgba(13, 13, 15, .95) 46%, rgba(5, 5, 5, .96));
}

.booking-page .booking-choice-photo,
.booking-page .booking-game-card img {
    border-top: 2px solid var(--vr-burgundy-light, #5a1025);
}

.booking-page .booking-choice-card.is-selected,
.booking-page .booking-package-card.is-selected,
.booking-page .booking-game-item.is-selected .booking-game-card {
    border-left-color: var(--vr-gold);
}

@media (max-width: 767px) {
    .booking-page .booking-choice-card,
    .booking-page .booking-package-card,
    .booking-page .booking-game-card {
        border-left-width: 2px;
    }
}
.booking-payment-methods {
    display: grid;
    gap: .75rem;
    margin: 1rem 0;
    padding: 0;
    border: 0;
}

.booking-payment-methods legend {
    margin-bottom: .65rem;
    color: #fff;
    font-weight: 700;
}

.booking-payment-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .8rem;
    align-items: start;
    padding: 1rem;
    border: 1px solid rgba(216, 166, 64, .3);
    border-radius: 12px;
    background: #0d0d0f;
    cursor: pointer;
}

.booking-payment-option:has(input:checked) {
    border-color: #d8a640;
    box-shadow: 0 0 0 2px rgba(216, 166, 64, .12);
}

.booking-payment-option input { margin-top: .3rem; accent-color: #d8a640; }
.booking-payment-option strong, .booking-payment-option small { display: block; }
.booking-payment-option small { margin-top: .3rem; color: #b8b8bd; line-height: 1.45; }
.booking-payment-option:focus-within { outline: 2px solid #f0c66a; outline-offset: 2px; }
