.vv-checkout {
    min-height: var(--hero-min-height);
}

.vv-checkout-back .vv-icon { color: inherit; width: 24px; height: 24px; }
.vv-checkout-secure .vv-icon { width: 24px; height: 24px; }
.vv-checkout-legal-link .vv-icon { width: 16px; height: 16px; }
.vv-checkout-save-state { color: var(--muted); font-size: 0.82rem; }

.vv-booking-notice {
    position: fixed;
    inset: 0;
    margin: auto;
    height: fit-content;
    width: min(540px, calc(100% - 32px));
    grid-template-columns: minmax(0, 1fr);
    padding: 28px;
    border: 0;
    overflow: auto;
    color: var(--ink);
}

.vv-booking-notice:not([open]) { display: none; }
.vv-booking-notice[open] { display: grid; gap: 20px; }
.vv-booking-notice::backdrop { background: rgba(22, 18, 12, 0.56); backdrop-filter: blur(4px); }
.vv-booking-notice h2 { margin: 0; font-family: var(--display-font); font-size: 2rem; font-weight: 500; }
.vv-booking-notice p { margin: 0; line-height: 1.6; color: var(--muted); }
.vv-booking-notice-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.vv-booking-notice-actions .vv-checkout-primary { width: auto; padding: 12px 20px; }

@media (max-width: 520px) {
    .vv-booking-notice-actions { flex-direction: column-reverse; align-items: stretch; }
}

.vv-checkout-card {
    display: grid;
    gap: 22px;
    min-height: var(--hero-min-height);
    padding: 32px 36px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 248, 243, 0.98));
    box-shadow: 0 18px 42px rgba(53, 43, 28, 0.08);
}

.vv-checkout-topbar,
.vv-checkout-secure,
.vv-checkout-back {
    display: flex;
    align-items: center;
}

.vv-checkout-topbar {
    justify-content: space-between;
    gap: 18px;
}

.vv-checkout-back {
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f2428;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.vv-checkout-secure {
    gap: 7px;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.vv-checkout-hero {
    display: grid;
    gap: 7px;
    justify-items: center;
    text-align: center;
}

.vv-checkout-hero > span {
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.vv-checkout-hero h2 {
    margin: 0;
    font-family: var(--display-font);
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    font-weight: 400;
}

.vv-checkout-hero p {
    margin: 0;
    color: var(--muted);
}

.vv-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.vv-checkout-sidebar {
    display: grid;
    gap: 18px;
    align-content: start;
}

.vv-checkout-section {
    display: grid;
    gap: 18px;
    padding: 20px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 10px;
    background: #fff;
}

.vv-checkout-section-actions {
    align-content: start;
}

.vv-checkout-section-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.vv-checkout-section-head > span {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    padding: 0;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 900;
}

.vv-checkout-section-head h3 {
    margin: 2px 0 0;
    font-size: 1.15rem;
}

.vv-checkout-summary-headline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vv-checkout-section-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.vv-checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vv-checkout-payment-options {
    display: grid;
    gap: 12px;
}

.vv-checkout-payment-option {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-height: 88px;
    padding: 18px 20px 18px 50px;
    border: 1px solid #d7d0c4;
    border-radius: 9px;
    background: #fff;
    color: #1f2428;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vv-checkout-payment-option::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 18px;
    width: 18px;
    height: 18px;
    border: 2px solid #8d8578;
    border-radius: 50%;
    background: #fff;
}

.vv-checkout-payment-option .vv-checkout-payment-option-copy > span {
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.vv-checkout-payment-option > .vv-checkout-payment-option-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    gap: 6px;
    flex: 1;
    width: 100%;
    min-width: 0;
    text-align: left;
}

.vv-checkout-payment-option .vv-checkout-payment-option-copy > strong {
    display: block;
    width: 100%;
    color: #1f2428;
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.3;
    text-align: left;
}

.vv-checkout-payment-option:hover,
.vv-checkout-payment-option.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.vv-checkout-payment-option.selected::before {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: inset 0 0 0 4px #fff;
}

.vv-checkout-payment-option:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.vv-checkout-fields label {
    display: grid;
    gap: 6px;
    color: #575148;
    font-size: 0.78rem;
    font-weight: 800;
}

.vv-checkout-fields label.wide {
    grid-column: 1 / -1;
}

.vv-checkout-fields > .wide {
    grid-column: 1 / -1;
}

.vv-checkout-fields input {
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 9px;
    background: #fff;
    color: #1f2428;
    font: inherit;
}

.vv-checkout-fields input:focus {
    outline: 2px solid var(--accent-subtle);
    border-color: var(--accent);
}

.vv-checkout-fields textarea {
    min-width: 0;
    min-height: calc(1.5em * 3 + 24px);
    max-height: calc(1.5em * 3 + 24px);
    padding: 12px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 9px;
    background: #fff;
    color: #1f2428;
    font: inherit;
    line-height: 1.5;
    overflow-y: auto;
    resize: none;
}

.vv-checkout-fields textarea:focus {
    outline: 2px solid var(--accent-subtle);
    border-color: var(--accent);
}

.vv-checkout-summary {
    display: grid;
    gap: 14px;
}

.vv-checkout-summary-shell {
    position: relative;
    min-height: 220px;
}

.vv-checkout-summary.is-loading {
    opacity: 0.3;
    filter: blur(1.5px);
}

.vv-checkout-summary p {
    margin: 0;
    color: #4d463d;
    font-size: 0.98rem;
    line-height: 1.7;
}

.vv-checkout-summary-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.vv-checkout-summary-overlay-card {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 28px rgba(53, 43, 28, 0.12);
    color: var(--accent-text-strong);
    font-size: 0.9rem;
    font-weight: 800;
}

.vv-checkout-divider {
    height: 1px;
    background: rgba(215, 208, 196, 0.95);
}

.vv-checkout-primary {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.vv-checkout-primary:disabled {
    cursor: default;
    opacity: 0.58;
}

.vv-checkout-legal {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 8px;
    justify-items: center;
    text-align: center;
}

.vv-checkout-legal-ack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 32rem;
    color: #4d463d;
    font-size: 0.86rem;
    font-weight: 700;
}

.vv-checkout-legal-ack input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
}

.vv-checkout-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
}

.vv-checkout-legal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
}

.vv-checkout-legal-link:hover {
    text-decoration: underline;
}

.vv-checkout-legal-link .mud-icon-root {
    font-size: 1rem;
}

.vv-checkout-message {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 0.88rem;
    font-weight: 700;
}

.vv-checkout-cursor-spinner {
    position: relative;
    width: 18px;
    height: 22px;
    transform: rotate(-8deg);
    animation: vv-checkout-cursor-bob 0.85s ease-in-out infinite;
}

.vv-checkout-cursor-spinner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent-gradient-top) 0%, var(--accent) 100%);
    clip-path: polygon(8% 0, 76% 54%, 49% 58%, 64% 100%, 41% 100%, 30% 63%, 8% 77%);
    border-radius: 2px;
}

.vv-checkout-cursor-spinner::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -3px;
    width: 14px;
    height: 4px;
    border-radius: 999px;
    background: rgba(53, 43, 28, 0.12);
    filter: blur(1px);
}

.vv-checkout-message.error {
    background: #fff1f2;
    color: #8d3350;
}

.vv-checkout-message.success {
    background: var(--accent-panel);
    color: var(--accent-text-strong);
}

@keyframes vv-checkout-cursor-bob {
    0%, 100% {
        transform: rotate(-8deg) translateY(0);
    }

    50% {
        transform: rotate(-4deg) translateY(-2px);
    }
}

@media (max-width: 1080px) {
    .vv-checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .vv-checkout-card {
        padding: 24px;
    }
}

@media (max-width: 520px) {
    .vv-checkout-fields {
        grid-template-columns: 1fr;
    }

    .vv-checkout-fields label.wide,
    .vv-checkout-fields > .wide {
        grid-column: auto;
    }
}
.vv-country-field {
    position: relative;
    display: grid;
    gap: 6px;
    color: #575148;
    font-size: 0.78rem;
    font-weight: 800;
}

.vv-country-field > label {
    color: inherit;
    font: inherit;
}

.vv-country-combobox {
    position: relative;
}

.vv-country-combobox input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 38px 0 12px;
    border: 1px solid rgba(215, 208, 196, 0.95);
    border-radius: 9px;
    background: #fff;
    color: #1f2428;
    font: inherit;
    font-weight: 400;
}

.vv-country-combobox:has(.vv-country-selected-code) input {
    padding-left: 52px;
}

.vv-country-combobox input:focus {
    outline: 2px solid var(--accent-subtle);
    border-color: var(--accent);
}

.vv-country-selected-code {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 22px;
    padding: 0 5px;
    border-radius: 5px;
    background: var(--accent-panel);
    color: var(--accent-text-strong);
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.vv-country-expand-button {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #81796f;
    cursor: pointer;
}

.vv-country-expand-button:hover,
.vv-country-expand-button:focus-visible {
    background: var(--accent-panel);
    color: var(--accent-text-strong);
    outline: none;
}

.vv-country-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 286px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid rgba(215, 208, 196, 0.98);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(53, 43, 28, 0.16);
}

.vv-country-results button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #1f2428;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    text-align: left;
}

.vv-country-results button:hover,
.vv-country-results button[aria-selected="true"] {
    background: var(--accent-surface);
}

.vv-country-code {
    display: grid;
    place-items: center;
    min-width: 30px;
    height: 23px;
    border-radius: 5px;
    background: var(--accent-panel);
    color: var(--accent-text-strong);
    font-size: 0.66rem;
    font-weight: 900;
}

.vv-country-empty {
    padding: 12px;
    color: #81796f;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}
