@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;
    }
}

/* 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;
    }
}
