:root {
    --brand: #f45811;
    --brand-navy: #0e1727;
    --bs-primary: #f45811;
    --bs-primary-rgb: 244, 88, 17;
    --bs-link-color: #f45811;
    --bs-link-hover-color: #d24c0f;
    --bs-link-color-rgb: 244, 88, 17;
    --bs-link-hover-color-rgb: 210, 76, 15;
    --bs-body-color: var(--brand-navy);
    --bs-heading-color: var(--brand-navy);
    --bs-focus-ring-color: rgba(244, 88, 17, .25);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f5f7;
    color: var(--brand-navy);
}

main {
    flex: 1 0 auto;
}

.navbar-brand {
    line-height: 1;
}

.site-logo {
    height: 36px;
    width: auto;
}

@media (min-width: 576px) {
    .site-logo {
        height: 64px;
    }

    .site-header .navbar {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.site-header {
    background: #fff;
    border-bottom: 3px solid var(--brand);
}

.site-header .navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: wrap;
}

.header-search {
    background: #f7f4f2;
    padding: .85rem 0 1rem;
}

.header-search-bar {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: .75rem;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 1rem;
}

.header-search-bar .form-control,
.header-search-bar .form-select {
    min-height: 44px;
}

@media (min-width: 768px) {
    .header-search-bar {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: .35rem .35rem .35rem 1rem;
        border-radius: 999px;
    }

    .header-search-bar .form-control,
    .header-search-bar .form-select {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .header-search-bar .form-control {
        flex: 1 1 auto;
    }

    .header-search-bar .form-select {
        flex: 0 0 11rem;
        width: 11rem;
        border-left: 1px solid #e6e8ee;
        border-radius: 0;
    }

    .header-search-bar .form-control:focus,
    .header-search-bar .form-select:focus {
        border-color: transparent;
        box-shadow: none;
    }

    .header-search-bar:focus-within {
        border-color: #f8b08a;
        box-shadow: 0 0 0 .25rem rgba(244, 88, 17, .25);
    }
}

.site-footer {
    background: var(--brand-navy);
    color: #f4f6f8;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffd0b8;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-tagline {
    color: #c9d0da;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .75rem;
}

.footer-title {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffb088;
    margin-bottom: .5rem;
}

.account-chip {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    max-width: 16rem;
}

.card .form-control,
.account-actions .btn {
    min-height: 44px;
}

@media (max-width: 575.98px) {
    .account-actions {
        width: 100%;
    }
}

.btn-primary {
    --bs-btn-bg: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: #d24c0f;
    --bs-btn-hover-border-color: #d24c0f;
    --bs-btn-active-bg: #b9420d;
    --bs-btn-active-border-color: #b9420d;
    --bs-btn-disabled-bg: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
    --bs-btn-focus-shadow-rgb: 244, 88, 17;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand);
    --bs-btn-border-color: var(--brand);
    --bs-btn-hover-bg: var(--brand);
    --bs-btn-hover-border-color: var(--brand);
    --bs-btn-active-bg: #b9420d;
    --bs-btn-active-border-color: #b9420d;
    --bs-btn-disabled-color: var(--brand);
    --bs-btn-disabled-border-color: var(--brand);
    --bs-btn-focus-shadow-rgb: 244, 88, 17;
}

.form-control:focus,
.form-select:focus {
    border-color: #f8b08a;
    box-shadow: 0 0 0 .25rem rgba(244, 88, 17, .25);
}

.order-list-thumb {
    position: relative;
    flex: none;
    width: var(--order-thumb, 4.75rem);
    height: var(--order-thumb, 4.75rem);
    border-radius: .5rem;
    overflow: hidden;
}

.order-list-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-detail-frame {
    height: 7.5rem;
    width: fit-content;
    max-width: 15rem;
    border-radius: .75rem;
    overflow: hidden;
    flex: none;
}

.order-detail-image {
    height: 100%;
    width: auto;
    max-width: none;
    object-fit: cover;
    display: block;
}

@media (max-width: 575.98px) {
    .order-detail-head {
        flex-wrap: wrap;
    }

    .order-detail-copy {
        flex-basis: 100%;
    }
}

.review-event-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: .5rem;
    flex: 0 0 auto;
}

.event-cover,
.event-hero {
    object-fit: cover;
    background: linear-gradient(135deg, #0e1727 0%, #1a2838 78%, #c45a28 100%);
}

.event-cover {
    height: 10rem;
}

.event-cover-empty {
    min-height: 10rem;
}

.event-hero {
    width: 100%;
    max-height: 22rem;
}

.event-card .card {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}

@media (hover: hover) {
    .event-card .card:hover {
        transform: translateY(-3px);
    }
}

.event-description {
    line-height: 1.6;
}

.item-row:last-child {
    border-bottom: 0 !important;
}

.qty-control {
    width: 9.75rem;
    flex: 0 0 auto;
}

.qty-control .btn,
.qty-control .form-control,
#event-filters .form-control,
#event-filters .form-select,
#buyer-fields .form-control,
.cart-mobile-bar .btn {
    min-height: 44px;
}

.qty-control .qty-input {
    max-width: 3.25rem;
}

.mp-field {
    height: 40px;
    padding: 8px 12px;
}

@media (min-width: 992px) {
    .cart-panel {
        position: sticky;
        top: 1rem;
    }
}

@media (max-width: 991.98px) {
    body:has(.cart-mobile-bar) {
        padding-bottom: 5.75rem;
    }

    .cart-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e6e8ee;
        box-shadow: 0 -8px 24px rgba(17, 24, 39, .06);
    }
}

.voucher-print {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.voucher-print-icon {
    height: 1.1rem;
    width: auto;
}
