.site-main.is-tickets,
main.is-tickets,
main.container:has(.seat-workspace) {
    padding: 0;
    max-width: none;
    width: 100%;
}

body:has(.seat-workspace) .site-footer,
body:has(.seat-workspace) footer.site-footer,
body:has(.seat-workspace) > footer,
body:has(.seat-workspace) .dm-footer,
body:has(.seat-workspace) .sp-footer,
body:has(.seat-workspace) .aq-footer,
body:has(.seat-workspace) .pr-footer,
body:has(.seat-workspace) .rb-footer,
body:has(.seat-workspace) .ox-footer {
    display: none;
}

.seat-workspace img,
#tn-maps img,
.mapHolder img {
    max-width: none !important;
    height: unset !important;
}

.seat-workspace .button:not(.sea-btn),
#tn-maps .button:not(.sea-btn) {
    background: unset;
    color: unset;
    padding: unset;
    border: unset;
    border-radius: unset;
    font-size: unset;
    font-weight: unset;
    line-height: unset;
    text-decoration: unset;
    box-shadow: none;
}

#tn-maps .slick-initialized > .sea-ticket-type-option:not(.slick-slide),
#tn-maps .slick-slider > label.btn:not(.slick-slide),
.seat-workspace .slick-initialized > .sea-ticket-type-option:not(.slick-slide) {
    display: none !important;
}

body:has(.seat-workspace--seatics) .site-main,
body:has(.seat-workspace--seatics) main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

body:has(.seat-workspace) .site-topbar {
    position: relative;
    z-index: 10050;
}

body:has(.seat-workspace) .site-header,
body:has(.seat-workspace) header.site-header,
body:has(.seat-workspace) .dm-header,
body:has(.seat-workspace) .rb-header,
body:has(.seat-workspace) .ox-header,
body:has(.seat-workspace) .pr-header,
body:has(.seat-workspace) .sp-header,
body:has(.seat-workspace) .aq-header,
body:has(.seat-workspace) .aq-hero--tickets {
    position: relative !important;
    top: auto !important;
    z-index: 10050;
}

body.tl-admin-storefront:has(.seat-workspace) .aq-header,
body.tl-admin-storefront:has(.seat-workspace) .aq-hero--tickets {
    top: auto;
}

body:has(.seat-workspace) .search-suggestions {
    z-index: 10060;
}


.seat-workspace {
    --seat-header-h: 4.5rem;
    --seat-toolbar-h: 5.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--seat-header-h));
    max-height: calc(100vh - var(--seat-header-h));
    overflow: hidden;
    background: var(--theme-surface-alt, #f4f4f6);
    color: var(--theme-text, #1a1a2e);
}

.seat-workspace__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: .85rem 1.1rem;
    background: var(--theme-surface, #fff);
    border-bottom: 1px solid var(--theme-border, #e5e7eb);
}

.seat-workspace__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
}

.seat-workspace__meta {
    margin: .2rem 0 0;
    font-size: .88rem;
    color: var(--theme-text-muted, #6b7280);
}

.seat-workspace__controls {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem .85rem;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: auto;
}

.seat-workspace__filterbar {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .65rem;
    align-items: flex-end;
}

.seat-workspace__filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .65rem;
    align-items: flex-end;
}

.seat-filters-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    padding: 0 .8rem;
    border: 1px solid var(--theme-border, #cfcfd8);
    border-radius: var(--theme-radius, 6px);
    background: #fff;
    font: inherit;
    font-size: .88rem;
    font-weight: 700;
    color: inherit;
    cursor: pointer;
}

.seat-filters-toggle[aria-expanded="true"] {
    border-color: var(--theme-primary, #0d6efd);
    background: var(--theme-primary, #0d6efd);
    color: var(--theme-primary-contrast, #fff);
}

.seat-filter__label,
.seat-filter--price legend {
    display: block;
    margin: 0 0 .3rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--theme-text-muted, #6b7280);
}

.seat-filter--price {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: 0;
}

.seat-filter__select {
    min-width: 5.5rem;
    height: 2.25rem;
    padding: 0 .55rem;
    border: 1px solid var(--theme-border, #cfcfd8);
    border-radius: var(--theme-radius, 6px);
    background: #fff;
    font: inherit;
    color: inherit;
}

.seat-filter__price-group {
    display: flex;
    gap: .35rem;
}

.seat-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.25rem;
    padding: 0 .55rem;
    border: 1px solid var(--theme-border, #cfcfd8);
    border-radius: var(--theme-radius, 6px);
    background: #fff;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
}

.seat-chip:has(input:checked) {
    border-color: var(--theme-primary, #0d6efd);
    background: var(--theme-primary, #0d6efd);
    color: var(--theme-primary-contrast, #fff);
}

.seat-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.seat-switch {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 2.25rem;
    padding: 0 .65rem;
    border: 1px solid var(--theme-border, #cfcfd8);
    border-radius: var(--theme-radius, 6px);
    background: #fff;
    font-size: .88rem;
    cursor: pointer;
}

.seat-switch input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--theme-primary, #0d6efd);
}

.seat-workspace__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 26%);
    grid-template-rows: minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    height: calc(100% - var(--seat-toolbar-h));
    max-height: calc(100% - var(--seat-toolbar-h));
    overflow: hidden;
    align-items: stretch;
}

.seat-workspace__body > .seat-workspace__map-shell {
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
}

.seat-workspace--listings-left .seat-workspace__body {
    grid-template-columns: minmax(300px, 26%) minmax(0, 1fr);
}

.seat-workspace--listings-left .seat-workspace__listings { order: -1; }

/* Seatics: fills space under site header — MapAndLayout owns event UI + listings */
.seat-workspace--seatics {
    height: calc(100vh - var(--seat-header-h, 4.5rem));
    max-height: calc(100vh - var(--seat-header-h, 4.5rem));
    overflow: hidden;
    background: #fff;
}

.seat-workspace--seatics #tn-maps {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background: #fff;
}

.seat-workspace--seatics .btn-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 0.35rem;
}

.seat-workspace--seatics .btn-price .price {
    font-weight: 600;
    margin-right: 0.35rem;
    flex: 1;
    min-width: 0;
}

.seat-workspace--seatics .btn-price-buy-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    flex-shrink: 0;
}

.seat-workspace--seatics .btn-price-buy {
    appearance: none !important;
    -webkit-appearance: none !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.25rem !important;
    padding: 0.5rem 1rem !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    outline: none !important;
    border: 1px solid var(--seat-buy-border, #0d6efd) !important;
    background: var(--seat-buy-bg, #0d6efd) !important;
    color: var(--seat-buy-text, #fff) !important;
    box-shadow: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

.seat-workspace--seatics .btn-price-buy:hover {
    background: var(--seat-buy-hover-bg, #0b5ed7) !important;
    border-color: var(--seat-buy-hover-border, #0b5ed7) !important;
    color: var(--seat-buy-hover-text, #fff) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.seat-workspace--seatics .btn-price-subtext {
    font-size: 0.65rem !important;
    font-style: italic !important;
    color: #555 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    max-width: 7.5rem !important;
    white-space: normal !important;
}

@media (max-width: 640px) {
    .seat-workspace--seatics .btn-price {
        justify-content: flex-start;
    }

    .seat-workspace--seatics .btn-price-buy {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.75rem !important;
    }
}

.seat-workspace__map-shell {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    background: #eef0f3;
    overflow: hidden;
}

.seat-workspace--resizing .seat-workspace__map-shell {
    contain: strict;
    pointer-events: none;
}

.seat-workspace__map {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    background: #eef0f3;
    overflow: hidden;
}


.seat-workspace__map-status,
.seat-workspace__map-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    color: var(--theme-text-muted, #6b7280);
    padding: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.seat-workspace__map > div {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.seat-workspace__map svg,
.seat-workspace__map canvas {
    display: block;
    max-width: 100%;
    pointer-events: auto;
}

.seat-workspace__map svg text {
    user-select: none;
}

.seat-workspace__listings {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    background: var(--theme-surface, #fff);
    border-left: 1px solid var(--theme-border, #e5e7eb);
}

.seat-workspace--listings-left .seat-workspace__listings {
    border-left: 0;
    border-right: 1px solid var(--theme-border, #e5e7eb);
}

.seat-listings__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--theme-border, #e5e7eb);
}

.seat-listings__head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.seat-listings__head span {
    font-size: .85rem;
    color: var(--theme-text-muted, #6b7280);
}

.seat-listings__scroll {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

.seat-listings__scroll[hidden] {
    display: none !important;
}

.seat-listings__checkout {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.seat-listings__checkout[hidden],
.seat-listings__checkout.d-none {
    display: none !important;
}

.seat-listings__checkout:not([hidden]):not(.d-none) {
    display: block;
}

.seat-listings__empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: var(--theme-text-muted, #6b7280);
}

.seat-listings__more {
    display: block;
    width: calc(100% - 1.5rem);
    margin: .75rem .75rem 1rem;
    padding: .7rem .9rem;
    border: 1px solid var(--theme-border, #e5e7eb);
    border-radius: var(--theme-radius, 8px);
    background: var(--theme-surface-alt, #f4f4f6);
    color: var(--theme-text, #1a1a2e);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.seat-listings__more:hover {
    border-color: var(--theme-primary, #0d6efd);
}

.seat-listing {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .35rem 1rem;
    padding: .95rem 1rem;
    border-bottom: 1px solid var(--theme-border, #e5e7eb);
    cursor: pointer;
}

.seat-listing:hover { background: rgba(0, 0, 0, .02); }
.seat-listing.is-active { background: rgba(13, 110, 253, .06); }

.seat-listing__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.seat-listing__meta {
    margin: .2rem 0 0;
    font-size: .82rem;
    color: var(--theme-text-muted, #6b7280);
}

.seat-listing__badge {
    display: inline-block;
    margin-top: .35rem;
    padding: .15rem .4rem;
    border-radius: 4px;
    background: #eef2ff;
    color: #3730a3;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.seat-listing__price-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: .55rem .65rem;
    border: 0;
    border-radius: var(--theme-radius, 6px);
    background: var(--theme-primary, #0d6efd);
    color: var(--theme-primary-contrast, #fff);
    font: inherit;
    cursor: pointer;
}

.seat-listing__price-btn strong {
    font-size: 1.05rem;
    font-weight: 800;
}

.seat-listing__price-btn span {
    font-size: .68rem;
    opacity: .9;
}

.seat-checkout {
    padding: 1rem;
}

.seat-checkout__back {
    border: 0;
    background: none;
    color: var(--theme-primary, #0d6efd);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: .75rem;
}

.seat-checkout__title {
    margin: 0 0 .25rem;
    font-size: 1.1rem;
    font-weight: 800;
}

.seat-checkout__meta {
    margin: 0 0 1rem;
    color: var(--theme-text-muted, #6b7280);
    font-size: .9rem;
}

.seat-checkout__qty {
    width: 100%;
    height: 2.5rem;
    margin-bottom: .75rem;
    padding: 0 .65rem;
    border: 1px solid var(--theme-border, #cfcfd8);
    border-radius: var(--theme-radius, 6px);
    font: inherit;
}

.seat-checkout__total {
    margin: 0 0 1rem;
    padding: .75rem .85rem;
    border-radius: var(--theme-radius, 6px);
    background: var(--theme-surface-alt, #f4f4f6);
    font-weight: 700;
}

.seat-checkout__submit {
    width: 100%;
    height: 2.75rem;
    border: 0;
    border-radius: var(--theme-radius, 6px);
    background: var(--theme-primary, #0d6efd);
    color: var(--theme-primary-contrast, #fff);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 991px) {
    body:has(.seat-workspace) {
        display: flex;
        flex-direction: column;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    body:has(.seat-workspace) .site-topbar,
    body:has(.seat-workspace) .site-header,
    body:has(.seat-workspace) header.site-header,
    body:has(.seat-workspace) .dm-header,
    body:has(.seat-workspace) .rb-header,
    body:has(.seat-workspace) .ox-header,
    body:has(.seat-workspace) .pr-header,
    body:has(.seat-workspace) .sp-header,
    body:has(.seat-workspace) .aq-header {
        flex: 0 0 auto;
        position: relative !important;
        top: auto !important;
    }

    body:has(.seat-workspace) .site-main,
    body:has(.seat-workspace) main,
    body:has(.seat-workspace) .tl-admin-storefront-main {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        height: auto !important;
        max-height: none !important;
        min-height: 0;
        overflow: hidden;
    }

    body:has(.seat-workspace) .breadcrumbs,
    body:has(.seat-workspace) .sf-breadcrumbs,
    body:has(.seat-workspace) nav.breadcrumbs {
        display: none;
    }

    .seat-workspace {
        flex: 1 1 auto;
        height: auto !important;
        max-height: none !important;
        min-height: 0;
        overflow: hidden;
    }

    .seat-workspace__toolbar {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
        padding: .45rem .65rem;
    }

    .seat-workspace__event {
        min-width: 0;
        width: 100%;
    }

    .seat-workspace__title {
        font-size: .92rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .seat-workspace__meta {
        display: none;
    }

    .seat-workspace__controls {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .4rem;
        width: 100%;
        margin-left: 0;
    }

    .seat-workspace__filterbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
        gap: .4rem;
        align-items: end;
        width: 100%;
    }

    .seat-workspace__filterbar .seat-filter__label {
        display: none;
    }

    .seat-workspace__filterbar .seat-filter__select {
        width: 100%;
        min-width: 0;
        height: 2rem;
        font-size: .82rem;
        padding: 0 .4rem;
    }

    .seat-filters-toggle {
        display: inline-flex;
        height: 2rem;
        padding: 0 .65rem;
        font-size: .8rem;
        white-space: nowrap;
    }

    .seat-workspace__filters {
        display: none;
        width: 100%;
        gap: .4rem;
        align-items: center;
        justify-content: flex-start;
    }

    .seat-workspace__toolbar.is-filters-open .seat-workspace__filters {
        display: flex;
        flex-wrap: wrap;
    }

    .seat-workspace__filters .seat-filter__label {
        display: none;
    }

    .seat-chip,
    .seat-switch {
        height: 1.9rem;
        min-width: 0;
        padding: 0 .5rem;
        font-size: .78rem;
    }

    .seat-filter__price-group {
        gap: .25rem;
    }

    .seat-workspace__body {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        grid-template-rows: none;
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: hidden;
    }

    .seat-workspace__body > .seat-workspace__map-shell,
    .seat-workspace__map-shell {
        position: relative;
        flex: 0 0 38vh;
        width: 100%;
        height: 38vh;
        min-height: 200px;
        max-height: 38vh;
        overflow: hidden;
    }

    .seat-workspace__map {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: none;
        overflow: hidden;
    }

    .seat-workspace__map > div {
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    .seat-workspace__listings {
        position: relative;
        z-index: 1;
        flex: 1 1 auto;
        order: 0;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: hidden;
        border-left: 0;
        border-top: 1px solid var(--theme-border, #e5e7eb);
    }

    .seat-workspace--listings-left .seat-workspace__listings {
        order: 0;
        border-right: 0;
    }

    .seat-listings__head {
        flex: 0 0 auto;
    }

    .seat-listings__scroll,
    .seat-listings__checkout {
        flex: 1 1 auto;
        min-height: 0;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
}