@font-face {
    font-family: "West Live Inter Tight";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("./fonts/westlive-checkout-inter-tight-latin.239e3c121b9f.woff2") format("woff2");
}

.kvit-wl-checkout-header.brand-header {
    box-sizing: border-box;
    width: 100%;
    height: 70px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    overflow: hidden;
    padding: 0 24px;
    border-bottom: 1px solid #34343a;
    background: #050505;
    color: #f4f2ed;
    font-family: "West Live Inter Tight", "Inter Tight", Inter, system-ui, sans-serif;
}

.kvit-wl-checkout-header .brand-logo {
    display: block;
    width: 123px;
    height: 20px;
    object-fit: contain;
}

.kvit-wl-checkout-header__home {
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

body.kvit-site-westlive .kvit-wl-checkout-header__home:focus:not(:focus-visible) {
    outline: none !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header__home:focus-visible {
    outline: 2px solid #f4f2ed !important;
    outline-offset: 3px;
}

.kvit-wl-checkout-header .back-button {
    justify-self: start;
    align-self: center;
    display: flex;
    gap: 12px;
    align-items: center;
    border: 0;
    background: none;
    color: #f4f2ed !important;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    transition: color 150ms ease;
}

.kvit-wl-checkout-header .back-button span:first-child {
    font-size: 22px;
    line-height: 1;
}

body.kvit-site-westlive .kvit-wl-checkout-header .back-button:hover,
body.kvit-site-westlive .kvit-wl-checkout-header .back-button:active {
    color: #ff4d4d !important;
}

/* Pointer clicks must not inherit Pretix's purple :focus outline. */
body.kvit-site-westlive .kvit-wl-checkout-header .back-button:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header .back-button:focus-visible {
    outline: 2px solid #f4f2ed !important;
    outline-offset: 3px;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .kvit-wl-checkout-header .back-button,
    .kvit-wl-checkout-header__locales a {
        transition: none;
    }
}

.kvit-wl-checkout-header .header-balance {
    width: 74px;
    justify-self: end;
}

.kvit-wl-checkout-header__locales {
    justify-self: end;
}

.kvit-wl-checkout-header__locales ul {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kvit-wl-checkout-header__locales li + li::before {
    content: "/";
    margin-right: 7px;
    color: #68666a;
}

.kvit-wl-checkout-header__locales a {
    color: #9a9792 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 44px;
    text-decoration: none;
    transition: color 150ms ease;
}

.kvit-wl-checkout-header__locales a:hover,
.kvit-wl-checkout-header__locales a:active,
.kvit-wl-checkout-header__locales a.active {
    color: #f4f2ed !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header__locales a:focus:not(:focus-visible) {
    outline: none !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header__locales a:focus-visible {
    outline: 2px solid #f4f2ed !important;
    outline-offset: 2px;
}

/* Event context stays visible on every checkout step, as in UNOW. */
.kvit-wl-checkout-event {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    min-height: 48px;
    padding: 10px 24px;
    border-bottom: 1px solid #34343a;
    background: #111114;
    color: #f4f2ed;
    font: 400 13px/1.4 "West Live Inter Tight", Inter, system-ui, sans-serif;
}

.kvit-wl-checkout-event__title {
    font-weight: 650;
}

.kvit-wl-checkout-event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    color: #9a9792;
}

.kvit-wl-checkout-event__meta .fa {
    margin-right: 5px;
}

@media (max-width: 767px) {
    .kvit-wl-checkout-event {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 10px 16px;
    }
}

/* Both seating and checkout omit kvit-ui.css. Keep their privacy dialog here. */
body.kvit-site-westlive dialog#cookie-consent-modal.modal-card {
    box-sizing: border-box;
    inset: 0;
    width: min(620px, calc(100% - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 0;
    border: 1px solid #34343a;
    border-radius: 0;
    background: #111114;
    color: #f4f2ed;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
    overflow: auto;
    scrollbar-color: #68666a #111114;
    color-scheme: dark;
    font: 400 16px/1.5 "West Live Inter Tight", Inter, system-ui, sans-serif;
}

body.kvit-site-westlive #cookie-consent-modal::backdrop {
    background: rgba(6, 6, 7, .78);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-icon {
    padding: 28px 28px 24px;
    background: transparent;
    text-align: left;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-icon .fa {
    display: none;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-icon::before {
    content: "";
    display: block;
    width: 148px;
    height: 24px;
    background: url("./brands/westlive-checkout-logo.0a24b09c98cf.svg") left center / contain no-repeat;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-content {
    min-width: 0;
    padding: 0 28px 28px;
    color: #f4f2ed;
    overflow-wrap: anywhere;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-title {
    margin: 0 0 16px;
    color: #f4f2ed;
    font: 700 24px/1.2 "West Live Inter Tight", Inter, system-ui, sans-serif;
    letter-spacing: -.02em;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-title:empty {
    display: none;
}

body.kvit-site-westlive #cookie-consent-modal :is(.modal-card-description, .text-muted, .help-block) {
    color: #b8b5b0;
}

body.kvit-site-westlive #cookie-consent-modal a {
    color: #f4f2ed;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.kvit-site-westlive #cookie-consent-modal #cookie-consent-details {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #34343a;
}

body.kvit-site-westlive #cookie-consent-modal summary {
    min-height: 44px;
    cursor: pointer;
}

body.kvit-site-westlive #cookie-consent-modal summary .chevron::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}

body.kvit-site-westlive #cookie-consent-modal details[open] .chevron::before {
    transform: translateY(-2px) rotate(45deg);
}

body.kvit-site-westlive #cookie-consent-modal input[type="checkbox"] {
    accent-color: #dc0100;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-confirm {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-confirm .btn {
    flex: 1 1 220px;
    min-width: 0;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #68666a;
    border-radius: 0;
    background: transparent;
    color: #f4f2ed;
    font: 650 16px/1.3 "West Live Inter Tight", Inter, system-ui, sans-serif;
    white-space: normal;
    text-transform: none;
    box-shadow: none;
}

body.kvit-site-westlive #cookie-consent-modal .btn-default:hover {
    border-color: #f4f2ed;
    background: #1b1b20;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-confirm .btn-primary {
    border-color: #dc0100;
    background: #dc0100;
    color: #fff;
}

body.kvit-site-westlive #cookie-consent-modal .modal-card-confirm .btn-primary:hover {
    border-color: #f01919;
    background: #f01919;
}

body.kvit-site-westlive #cookie-consent-modal :focus-visible {
    outline: 2px solid #f4f2ed;
    outline-offset: 3px;
    box-shadow: none;
}

body.kvit-site-westlive #cookie-consent-modal :focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

@media (max-width: 520px) {
    body.kvit-site-westlive #cookie-consent-modal .modal-card-icon {
        padding: 24px 20px 20px;
    }

    body.kvit-site-westlive #cookie-consent-modal .modal-card-content {
        padding: 0 20px 24px;
    }
}

/* Self-contained: West Live checkout does not load the shared Kvit/UNOW CSS. */
body.kvit-site-westlive dialog#loadingmodal.modal-card {
    inset: 0 !important;
    width: min(352px, calc(100vw - 32px));
    max-width: none;
    margin: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    appearance: none;
    -webkit-appearance: none;
    transform: none !important;
}

body.kvit-site-westlive dialog#loadingmodal.modal-card::backdrop {
    background: rgba(6, 6, 7, .86) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

body.kvit-site-westlive #loadingmodal .modal-card-inner {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.kvit-site-westlive #loadingmodal .modal-card-icon .fa {
    display: none !important;
}

body.kvit-site-westlive #loadingmodal .modal-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: min(320px, calc(100vw - 48px)) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    aspect-ratio: 320 / 104;
}

body.kvit-site-westlive #loadingmodal .modal-card-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("./brands/westlive-checkout-loader.2f681d6d432f.svg") center / contain no-repeat;
    transform: none;
}

body.kvit-site-westlive #loadingmodal .modal-card-icon::after {
    content: none !important;
}

body.kvit-site-westlive #loadingmodal .modal-card-content {
    display: none !important;
}

@media (max-width: 900px) {
    .kvit-wl-checkout-header.brand-header {
        height: 60px;
        padding: 0 16px;
    }

    .kvit-wl-checkout-header .brand-logo {
        width: 98px;
    }

    body.kvit-site-westlive dialog#loadingmodal.modal-card {
        inset: 0 !important;
        margin: auto !important;
        transform: none !important;
    }
}

@media (max-width: 520px) {
    .kvit-wl-checkout-header.brand-header {
        grid-template-columns: 1fr auto 1fr;
    }

    .kvit-wl-checkout-header .back-button span:last-child {
        display: none;
    }

    .kvit-wl-checkout-header .header-balance {
        width: 24px;
    }

    .kvit-wl-checkout-header__locales ul {
        gap: 5px;
    }

    .kvit-wl-checkout-header__locales li + li::before {
        margin-right: 5px;
    }

    .kvit-wl-checkout-header__locales a {
        font-size: 12px;
    }
}

/* Right-hand side: the log-in / account link and the language switch. */
.kvit-wl-checkout-header__end {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.kvit-wl-checkout-header__end .kvit-wl-checkout-header__account ~ .header-balance {
    display: none;
}

.kvit-wl-checkout-header__account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #34343a;
    background: transparent;
    color: #f4f2ed !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: border-color 150ms ease, color 150ms ease;
}

.kvit-wl-checkout-header__account svg {
    flex: none;
}

body.kvit-site-westlive .kvit-wl-checkout-header__account:hover,
body.kvit-site-westlive .kvit-wl-checkout-header__account:active {
    border-color: #dc0100;
    color: #fff !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header__account:focus:not(:focus-visible) {
    outline: none !important;
}

body.kvit-site-westlive .kvit-wl-checkout-header__account:focus-visible {
    outline: 2px solid #f4f2ed !important;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .kvit-wl-checkout-header__end {
        gap: 10px;
    }

    .kvit-wl-checkout-header__account {
        padding: 0 10px;
    }

    .kvit-wl-checkout-header__account span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kvit-wl-checkout-header__account {
        transition: none;
    }
}
