/* Purchase shell: retain all map coordinates and script-controlled visibility. */
.tb-buy-redesign { font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
/* Reset legacy nav height and positioning so dropdowns fit their contents. */
.tb-buy-redesign .tb-header { position: relative; z-index: 50; overflow: visible; }
.tb-buy-redesign .tb-header .tb-account,
.tb-buy-redesign .tb-header .tb-locale summary,
.tb-buy-redesign .tb-header .tb-locale__menu a { color: var(--text-primary); }
.tb-buy-redesign .tb-header .tb-menu-button,
.tb-buy-redesign .tb-header .tb-theme-toggle { background: var(--surface-primary); color: var(--text-primary); }
.tb-buy-redesign .tb-header .tb-menu-button:hover,
.tb-buy-redesign .tb-header .tb-theme-toggle:hover { background: var(--brand-soft); color: var(--text-primary); }
.tb-buy-redesign .tb-header .tb-menu-button:focus-visible,
.tb-buy-redesign .tb-header .tb-account:focus-visible,
.tb-buy-redesign .tb-header .tb-locale summary:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.tb-buy-redesign .tb-header__inner { position: static; }
.tb-buy-redesign .tb-header .tb-nav { position: static; height: auto; min-height: 0; overflow: visible; }
.tb-buy-redesign .tb-header .tb-menu-button { display: none; flex: 0 0 44px; padding: 10px; line-height: normal; }
.tb-buy-redesign .tb-header .tb-locale__menu { z-index: 2; }
@media (max-width: 900px) {
    .tb-buy-redesign .tb-header .tb-menu-button { display: block; }
    .tb-buy-redesign .tb-header .tb-nav { display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); height: auto; max-height: calc(100dvh - 88px); margin: 0; overflow-y: auto; z-index: 1; }
    .tb-buy-redesign .tb-header .tb-nav.is-open { display: flex; }
}
@media (max-width: 430px) {
    .tb-buy-page .tb-header .tb-container { width: min(calc(100% - 24px), var(--container-width)); }
}
.tb-buy-redesign .hall_header {
    grid-template-columns: 72px minmax(0, 1fr) minmax(200px, 360px);
    gap: 16px 24px;
    width: min(calc(100% - 48px), var(--container-width));
    margin: 28px auto 20px;
    padding: 24px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    background: var(--surface-elevated);
}
.tb-buy-redesign .tb-purchase-poster { grid-column: 1; grid-row: 1; display: block; width: 72px; height: 96px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-secondary); }
.tb-buy-redesign #cmsmasters_single_event_header { grid-column: 2; grid-row: 1; min-width: 0; }
.tb-buy-redesign .hall_header:not(:has(.tb-purchase-poster)) { grid-template-columns: minmax(0, 1fr) minmax(200px, 360px); }
.tb-buy-redesign .hall_header:not(:has(.tb-purchase-poster)) #cmsmasters_single_event_header { grid-column: 1; }
.tb-buy-redesign .hall_header:not(:has(.tb-purchase-poster)) .price-list { grid-column: 2; }
.tb-buy-redesign .cmsmasters_event_big_date { gap: 6px 16px; }
.tb-buy-redesign .tb-hall-event .entry-title { font-size: clamp(19px, 2.2vw, 27px); font-weight: 750; line-height: 1.25; white-space: normal; letter-spacing: -.035em; }
.tb-buy-redesign .tb-hall-venue .entry-title { font-size: 14px; line-height: 1.4; }
.tb-buy-redesign .cmsmasters_event_big_date_ovh { grid-row: 3; }
.tb-buy-redesign .cmsmasters_event_big_week { font-size: 13px; line-height: 1.5; }
.tb-buy-redesign .cmsmasters_event_big_week b { font-weight: 600; }
.tb-buy-redesign .hall_header .price-list { grid-column: 3; grid-row: 1; width: 100%; max-width: none; margin: 0; padding: 0; overflow: visible; }
.tb-buy-redesign .tb-purchase-prices-label { margin: 0 0 10px; color: var(--text-muted); font-size: 12px; font-weight: 650; line-height: 1.4; }
.tb-buy-redesign .hall_header .badge_wrapper { display: flex; flex-wrap: wrap; gap: 8px; }
.tb-buy-redesign .hall_header .price_root { display: inline-flex !important; min-height: 44px; height: auto; margin: 0 !important; padding: 10px 14px !important; border: 1px solid var(--border-default) !important; border-radius: 999px; background: var(--surface-primary) !important; font-size: 13px !important; font-weight: 650; line-height: 1.3; }
.tb-buy-redesign .hall_header .price_root:hover { border-color: var(--brand-primary) !important; background: var(--brand-soft) !important; }
.tb-buy-redesign .price-legend-icon { font-size: 10px; }
.tb-buy-redesign .desktop-layout { width: min(calc(100% - 48px), var(--container-width)); margin-inline: auto; }
.tb-buy-redesign .checkbox-parent { border-radius: var(--radius-xl); }
.tb-buy-redesign #svg_div { position: relative; }
.tb-buy-redesign .checkboxes { margin-inline: 0; }
.tb-buy-redesign #example1 { border-radius: 999px; box-shadow: var(--shadow-sm); }
.tb-buy-redesign .desktop-layout_footer { left: 0; right: 0; width: 100%; }
.tb-buy-redesign .desktop-layout_footer .desktop-hallplan-foooter { padding: 16px max(24px, calc((100vw - var(--container-width)) / 2)); background: var(--surface-elevated); }
.tb-buy-redesign .desktop-layout_footer .gJMyzC { max-width: none !important; min-height: 0 !important; }
.tb-buy-redesign .desktop-layout_footer .ticket_item { flex-basis: 190px; }
.tb-buy-redesign .desktop-hallplan-foooter_summary { color: var(--text-primary); }
.tb-buy-redesign .desktop-hallplan-foooter_summary .fPYczW { color: var(--text-secondary); font-size: 13px; }
.tb-buy-redesign .desktop-hallplan-foooter_summary .kHCDzl { color: var(--text-primary); font-size: 22px; font-weight: 750; }
.tb-buy-redesign .desktop-hallplan-foooter_button button,
.tb-buy-redesign .desktop-hallplan-foooter_button a { min-width: 180px; padding-inline: 24px; }
.tb-buy-redesign .mobile__Footer { border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-sm); background: var(--surface-elevated); }
.tb-buy-redesign .mobile__Footer .session-controls { gap: 16px; padding: 16px; background: transparent; }
@media (max-width: 991px) {
    .tb-buy-redesign .mobile__Footer .session-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; }
    .tb-buy-redesign .mobile__Footer .aoSCL,
    .tb-buy-redesign .mobile__Footer .eoakjb { min-width: 0; max-width: 100%; }
    .tb-buy-redesign .mobile__Footer .bQgTwa { width: 100%; max-width: 100%; height: auto !important; min-height: 48px; box-sizing: border-box; padding: 10px 12px !important; white-space: normal; line-height: 1.4 !important; text-align: center; }
    .tb-buy-redesign .mobile__Footer .kbBOaa { white-space: normal; overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
    .tb-buy-redesign .mobile__Footer .session-controls { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .tb-buy-redesign .checkboxes { padding-bottom: 160px; }
}
.tb-buy-redesign .mobile_footer_icon .button { display: inline-flex; align-items: center; justify-content: center; width: 44px !important; height: 44px; padding: 0 !important; background: var(--surface-elevated) !important; color: var(--text-primary) !important; }
/* Keep the expandable ticket strip outside the summary/button grid. */
@media (max-width: 991px) {
    .tb-buy-redesign .mobile__Footer .aoSCL { padding: 0; }
    .tb-buy-redesign .mobile__Footer .price-details__total {
        display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    }
    .tb-buy-redesign .mobile__Footer .fPYcDM { font-size: 14px; }
    .tb-buy-redesign .mobile__Footer .price-details__total > .bSDGWj { height: auto; padding-left: 0; }
    .tb-buy-redesign .mobile__Footer .iDgyuX { margin: 0; padding: 0 16px 16px; min-width: 0; }
    .tb-buy-redesign .mobile__Footer .cepmmS { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
    .tb-buy-redesign .mobile__Footer .ticketsList { padding: 0; gap: 8px; }
    .tb-buy-redesign .mobile__Footer .ticket_item { margin-right: 0; }
}
.tb-buy-redesign .session-confirmation { font-family: inherit; }
.tb-buy-redesign .session-confirmation .payment-button { min-height: 48px; border-radius: var(--radius-md); }
.tb-buy-redesign .session-confirmation input:not([type=hidden]):not([type=checkbox]):not([type=radio]) { min-height: 48px; border-radius: var(--radius-md) !important; font: inherit; }
@media (max-width: 991px) {
    .tb-buy-redesign .hall_header { grid-template-columns: 56px minmax(0, 1fr); width: calc(100% - 24px); margin-block: 16px; padding: 16px; gap: 16px; border-radius: var(--radius-lg); }
    .tb-buy-redesign .tb-purchase-poster { width: 56px; height: 76px; }
    .tb-buy-redesign .hall_header .price-list,
    .tb-buy-redesign .hall_header:not(:has(.tb-purchase-poster)) .price-list { grid-column: 1 / -1; grid-row: 2; }
    .tb-buy-redesign .hall_header:not(:has(.tb-purchase-poster)) { grid-template-columns: minmax(0, 1fr); }
    .tb-buy-redesign .hall_header .badge_wrapper { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px !important; scrollbar-width: thin; }
    .tb-buy-redesign .tb-hall-event .entry-title { font-size: 18px; }
    .tb-buy-redesign .tb-hall-venue { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .tb-buy-redesign .event_date_info { display: block; }
    .tb-buy-redesign .tb-hall-mobile-date { display: none; }
    .tb-buy-redesign .desktop-layout { width: calc(100% - 24px); min-height: 0; }
    .tb-buy-redesign .checkbox-parent { border-radius: var(--radius-lg); }
}
@media (max-width: 380px) {
    .tb-buy-redesign .tb-purchase-poster { display: none; }
    .tb-buy-redesign .hall_header { grid-template-columns: minmax(0, 1fr); }
    .tb-buy-redesign #cmsmasters_single_event_header { grid-column: 1; }
    .tb-buy-redesign .cmsmasters_event_big_date { gap: 4px 10px; }
}
@media print {
    .tb-buy-redesign .hall_header { width: 100%; margin: 0; border: 0; }
}

/* Map takes the available width; checkout has its own responsive structure. */
.tb-buy-redesign.tb-buy-page--seats .hall_header { margin-block: 16px 12px; padding: 16px 20px; }
.tb-buy-redesign.tb-buy-page--seats .tb-purchase-poster { width: 56px; height: 76px; }
.tb-buy-redesign.tb-buy-page--seats .tb-hall-event .entry-title { font-size: clamp(18px, 2vw, 24px); }
.tb-buy-redesign.tb-buy-page--seats .desktop-layout { width: calc(100% - 24px); }
.tb-buy-redesign.tb-buy-page--seats .checkboxes { padding-bottom: 132px; }
.tb-buy-redesign .session-confirmation,
.tb-buy-redesign .session-confirmation * { box-sizing: border-box; }
.tb-buy-redesign .main-sidebar { position: fixed; inset: 0; height: 100dvh; }
.tb-buy-redesign .main-sidebar .kMnXvS,
.tb-buy-redesign .session-confirmation { height: 100dvh; }
.tb-buy-redesign .session-confirmation [data-blocktype="LayoutSlide"] { background: var(--surface-secondary); font-family: inherit; }
.tb-buy-redesign .session-confirmation [data-blocktype="LayoutSlide/Content"] { width: min(calc(100% - 48px), 960px); max-width: none; margin: 24px auto; border-radius: var(--radius-xl) !important; background: var(--surface-elevated) !important; }
.tb-buy-redesign .session-confirmation .layout-slide__sizefix { width: 100%; max-width: none; }
.tb-buy-redesign .session-confirmation .jaXBj { background: transparent; }
.tb-buy-redesign .session-confirmation .duIJfG { padding: 28px; gap: 24px; }
.tb-buy-redesign .session-confirmation .tb-checkout-event { margin: 0; padding: 0 0 24px; border-bottom: 1px solid var(--border-default); }
.tb-buy-redesign .session-confirmation .SessionInfo__Title { color: var(--text-primary); font-size: clamp(20px, 3vw, 28px); font-weight: 750; line-height: 1.3; letter-spacing: -.025em; }
.tb-buy-redesign .session-confirmation .SessionInfo__Date { color: var(--text-secondary); font-size: 14px; margin-top: 8px; }
.tb-buy-redesign .session-confirmation .tb-checkout-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; gap: 32px; margin: 0; padding: 0; }
.tb-buy-redesign .session-confirmation .tb-checkout-payment { min-width: 0; margin: 0 !important; padding: 0; }
.tb-buy-redesign .session-confirmation .payment-content { display: block; }
.tb-buy-redesign .session-confirmation .tb-checkout-heading { margin: 0 0 16px; color: var(--text-primary); font: inherit; font-size: 17px; font-weight: 750; line-height: 1.4; }
.tb-buy-redesign .session-confirmation .kdxLgQ { list-style: none; margin: 0 !important; padding: 0; }
.tb-buy-redesign .session-confirmation .pay-master { margin-bottom: 12px; border: 1px solid var(--border-default) !important; border-radius: var(--radius-lg); background: var(--surface-primary); overflow: hidden; }
.tb-buy-redesign .session-confirmation .pay-master:has(input:checked) { border-color: var(--brand-primary) !important; background: var(--brand-soft); }
.tb-buy-redesign .session-confirmation .pay-master:focus-within { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.tb-buy-redesign .session-confirmation .eLLRKM { display: flex; width: 100%; min-height: 76px; margin: 0; padding: 18px; align-items: center; gap: 16px; cursor: pointer; }
.tb-buy-redesign .session-confirmation .dLHKGt { flex: 1; min-width: 0; color: var(--text-primary); font-size: 15px; font-weight: 650; }
.tb-buy-redesign .session-confirmation .tb-payment-radio { display: block; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; accent-color: var(--brand-primary); cursor: pointer; }
.tb-buy-redesign .session-confirmation .VerticalPaymentVariant__Checkbox-sc-1rafxms-3 { display: none; }
.tb-buy-redesign .session-confirmation .ipYPJP { display: grid; place-items: center; width: 48px; height: 40px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--surface-elevated); }
.tb-buy-redesign .session-confirmation .price-details { margin: 24px 0 0; padding: 20px; background: var(--surface-secondary); border-radius: var(--radius-lg); }
.tb-buy-redesign .session-confirmation .price-details__total { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--text-primary); font-size: 20px; font-weight: 750; }
.tb-buy-redesign .session-confirmation .tb-checkout-tickets { margin: 0; padding: 20px; min-width: 0; border: 1px solid var(--border-default); border-radius: var(--radius-lg); background: var(--surface-primary); }
.tb-buy-redesign .session-confirmation .tb-checkout-tickets .hKoSWg { padding: 0; background: transparent; color: var(--text-secondary); }
.tb-buy-redesign .session-confirmation .tb-checkout-tickets .OrderPreviewItems { margin-top: 12px; }
.tb-buy-redesign .session-confirmation .payment-footer-fixed { position: static; width: 100%; padding: 24px 0 0; border-top: 1px solid var(--border-default); background: transparent; }
.tb-buy-redesign .session-confirmation .payment-button { width: 100%; min-height: 54px; height: auto; padding: 16px 24px; background: var(--brand-primary); color: var(--text-inverse); font: inherit; font-weight: 750; line-height: 1.4; }
.tb-buy-redesign .session-confirmation .payment-button .hIWTYo { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tb-buy-redesign .session-confirmation .payment-button .kHCDzl { color: inherit; }
.tb-buy-redesign .session-confirmation .tb-confirmation-header-spacer { height: 72px !important; }
.tb-buy-redesign .session-confirmation .layout-slide__inner { padding-bottom: max(24px, env(safe-area-inset-bottom)) !important; }
@media (max-width: 991px) {
    .tb-buy-redesign .session-confirmation:has(.tb-confirmation-fixed-footer[data-docked]) .layout-slide__inner {
        padding-bottom: calc(var(--tb-confirmation-footer-height, 112px) + 24px) !important;
        scroll-padding-bottom: calc(var(--tb-confirmation-footer-height, 112px) + 24px);
    }
    .tb-buy-redesign .session-confirmation .tb-confirmation-fixed-footer[data-docked] {
        position: absolute; inset: auto 0 0; width: 100%; max-height: none !important;
        box-sizing: border-box; z-index: 10; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--border-default); background: var(--surface-elevated);
    }
    .tb-buy-redesign .session-confirmation .tb-confirmation-fixed-footer[data-docked] .session-controls:empty { display: none; }
    .tb-buy-redesign .session-confirmation .tb-confirmation-fixed-footer[data-docked] .payment-footer-fixed {
        position: static; width: 100%; max-width: none; margin: 0; padding: 0;
        border: 0; background: transparent;
    }
    .tb-buy-redesign .session-confirmation .tb-confirmation-fixed-footer[data-docked] .JShxv { padding-top: 0; }
}
@media (max-width: 700px) {
    .tb-buy-redesign .session-confirmation [data-blocktype="LayoutSlide/Content"] { width: calc(100% - 24px); margin: 12px auto; border-radius: var(--radius-lg) !important; }
    .tb-buy-redesign .session-confirmation .duIJfG { padding: 20px 16px; gap: 20px; }
    .tb-buy-redesign .session-confirmation .tb-checkout-columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .tb-buy-redesign .session-confirmation .tb-checkout-event { padding-bottom: 20px; }
    .tb-buy-redesign .session-confirmation .tb-checkout-tickets { padding: 16px; }
    .tb-buy-redesign .session-confirmation .payment-footer-fixed { padding-top: 20px; }
    .tb-buy-redesign .session-confirmation .tb-confirmation-header-spacer { height: 60px !important; }
    .tb-buy-redesign .session-confirmation .jjnjsK { min-height: 60px; }
}
