:root {
    --page-bg: #eaf2f5;
    --card: #ffffff;
    --navy: #0e2b4d;
    --navy-deep: #01012c;
    --ink: #1f2245;
    --muted: #6d6f83;
    --muted-2: #8b8da3;
    --brand: #3b82fc;
    --filter-icon: #545db9;
    --line: #e4e8f2;
    --line-strong: #d5dceb;
    --mint: #e9f9f3;
    --mint-text: #1a3d32;
    --mint-copy: #4a7a6c;
    --green: #1fbf4a;
    --green-badge-bg: #defaea;
    --green-badge: #18b645;
    --shadow: 0px 3px 12px rgba(28, 54, 90, 0.2);
    --radius-xl: 12px;
    --radius-lg: 12px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

body {
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    background: #fff;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

.page {
    min-height: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 8px 0;
    overflow: hidden;
}

.widget {
    width: 100%;
    max-width: 541px;
    height: 100%;
    min-height: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.brand,
.event-card {
    flex-shrink: 0;
}

.brand {
    color: var(--brand);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 4px 2px 10px;
}

.event-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--radius-lg);
    padding: 5px 36px 5px 5px;
    box-shadow: var(--shadow);
    background: var(--card); 
    z-index: 99;
    /* cursor: pointer; */
}

.event-photo {
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a120c;
    max-width: 124px;
    width: 100%;
    height: auto;
    max-height: 100px;
    align-self: stretch;
}

.event-photo {}

.event-photo {}

.event-photo img {
    width: 108%;
    height: 108%;
    object-fit: cover;
    display: block;
}

.event-meta {
    min-width: 0;
    flex: 1;
}

.event-meta h1 {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta h1 a,
.event-venue a {
      color: inherit;
}
.event-meta h1 a:hover,
.event-venue a:hover {
      text-decoration: none;
}
.ticket-sheet-event-name a,
.event-sheet-name a {
    color: inherit;
    text-decoration: none;
}


  
.ticket-sheet-event-name a:hover,
.event-sheet-name a:hover {
    text-decoration: underline;
}

.event-date,
.event-venue {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.event-venue { 
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-important {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    color: #c07d14;
    cursor: pointer;
}

.event-important[hidden] {
    display: none;
}

.event-important svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.event-important span {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.event-important-detail {
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff7e6;
    color: #7a5312;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 500;
    position: absolute; 
    z-index: 10;
    top: 90%;
}

.event-important-detail[hidden] {
    display: none;
}

.event-important-detail a {
    color: inherit;
    font-weight: 700;
}

#seller-licenses-detail p + p {
    margin-top: 6px;
}

@media (max-width: 991px) {
    .ticket-sheet-actions-slot:empty {
        display: none;
    }
}

.info-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 26px;
    height: 26px;
    border: 0;
    background: transparent; 
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.info-btn svg {
    width: 22px;
    height: 22px;
}

.info-btn svg path,
.info-btn svg circle {
    color: #8b93a8
}
/* .sea-map-inner {
    transform: scale(0.85);
} */
.map-card {
    margin-top: 6px;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: visible;
    box-shadow: var(--shadow);
    height: 291px;
    position: relative;
    /* z-index: 10; */
    flex-shrink: 0;
}

#map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

#map-container > p {
    margin: 0;
    padding: 16px;
    font-size: 14px;
    color: var(--muted, #6b7280);
}

.map-card.is-nomap #map-container img {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px auto;
}

.map-card > img {
    display: block;
    width: 100%;
    height: 65%;
    object-fit: contain;
}

.content {
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 8px;
    margin-top: 8px;
    margin-bottom: 0;
    position: relative;
    z-index: 20;
    flex: 1 0 212px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(0px);
    transition: transform 0.35s ease, height 0.35s ease, margin-bottom 0.35s ease;
}

.content.is-raised {
    z-index: 20;
}

.content-top {
    position: static;
    top: 0;
    flex-shrink: 0;
    touch-action: pan-y;
}

.filters {
    display: grid;
    grid-template-columns: auto 1.15fr auto;
    gap: 4px;
    margin-top: -3px;
    position: relative;
    z-index: 3;
}

.clear-filters {
    display: none;
    align-self: center;
    border: 0;
    padding: 0;
    background: none;
    font: inherit;
    color: var(--brand);
    text-align: left;
}

.skeleton-filters {
    display: none;
}

.filters.is-skeleton .skeleton-filters {
    display: grid;
    grid-template-columns: inherit;
    gap: inherit;
    position: absolute;
    inset: 0;
    z-index: 4;
}

.filters.is-skeleton > :not(.skeleton-filters) {
    visibility: hidden;
    pointer-events: none;
}

.filters.is-skeleton .skeleton-filters .skeleton-block {
    height: 48px;
    border-radius: var(--radius-xl);
}

.filter-btn,
.dropdown-toggle {
    height: 48px;
    background: var(--card);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-xl);
    box-shadow: 0 1px 2px rgba(28, 54, 90, 0.04);
}

.filter-btn {
    position: relative;
    color: var(--filter-icon);
    cursor: pointer;
    display: grid;
    place-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    grid-template-columns: 1fr auto;
}

.filter-btn svg {
    width: 24px;
    height: 24px;
}

.filter-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: var(--radius-pill);
    background: #1c5cfe;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 3px var(--page-bg);
}

.filter-badge[hidden] {
    display: none;
}

.filter-btn:has(.filter-badge[hidden]) {
    grid-template-columns: 1fr;
}

.dropdown {
    position: relative;

    &[data-dropdown="price"] {
        min-width: 0; 

        .dropdown-menu {
            min-width: 280px;
            max-height: none;
            overflow: visible;
            padding: 16px 16px 18px;
            right: auto;
            left: 50%;
            transform: translateX(-50%); 
        }
    }

    &[data-dropdown="qty"],
    &[data-dropdown="ticket-qty"] {
        /* min-width: 150px; */
        

        .dropdown-menu {
            columns: 2
        }
    }

    &[data-dropdown="level"],
    &[data-dropdown="sort"] {
        width: 100%;
    }
    
}
.dropdown-toggle[aria-expanded="true"] { 

    .chevron {
        transform: rotate(180deg);
    }
}
.dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    padding: 0 8px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    cursor: pointer;
    white-space: nowrap;
}


.dropdown-toggle > span {
    white-space: nowrap
}

.dropdown-toggle .chevron {
    width: 18px;
    height: 18px;
    color: var(--brand);
    transition: .2s all ease-in-out;
}

.dropdown.is-open .dropdown-toggle {
    border-color: #b9c7e6;
}

.dropdown-menu {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border-radius:  var(--radius-lg);
    box-shadow: 0 33px 23px rgba(14, 43, 77, 0.16);
    list-style: none;
    overflow: hidden;
    z-index: 4;
    border: 1.5px solid var(--line-strong);
    width: auto;
    min-width: 100%;
    padding: 12px;
}

.dropdown-menu li {
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.dropdown-menu li:hover,
.dropdown-menu li[aria-selected="true"] {
    background: #f3f6fb;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 6px;
    padding: 6px 12px;
    background: var(--mint);
    border-radius: 6px;
    position: relative;
}

.guarantee-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
}

.guarantee-icon svg {
    width: 32px;
    height: 32px;
}

.guarantee > div {
    flex: 1;
    min-width: 0;
}

.guarantee-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.guarantee-copy {
    margin-top: 2px;
    font-size: 12px;
    color: var(--mint-copy);
    font-weight: 500;
}

.listings {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.listings-empty {
    margin: 28px 12px 12px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.skeleton-block {
    display: block;
    background-color: #d8dbe3;
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

.skeleton-map {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    border-radius: var(--radius-lg);
}

.map-card.is-skeleton .skeleton-map {
    display: block;
}

.map-card.is-skeleton #map-container {
    opacity: 0;
}

.listings:not(.is-skeleton) .skeleton-ticket {
    display: none;
}

.skeleton-ticket {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    flex-shrink: 0;
    pointer-events: none;
}

.skeleton-ticket-swatch {
    width: 48px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.skeleton-ticket-lines {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
}

.skeleton-line-long {
    width: 78%;
}

.skeleton-line-short {
    width: 46%;
    height: 10px;
}

.skeleton-ticket:nth-child(2) .skeleton-line-long {
    width: 62%;
}

.skeleton-ticket:nth-child(3) .skeleton-line-long {
    width: 71%;
}

.skeleton-ticket:nth-child(4) .skeleton-line-long {
    width: 54%;
}

.skeleton-ticket:nth-child(5) .skeleton-line-long {
    width: 66%;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skeleton-block {
        animation: none;
        background-image: none;
    }
}

.ticket {
    display: flex;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    background: var(--card);
    border-radius: 8px;
    box-shadow: 0 0 7px rgba(28, 54, 90, 0.17);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.ticket.is-filtered-out {
    display: none;
}

.ticket:hover,
.ticket:focus-visible {
    box-shadow: 0 8px 22px rgba(28, 54, 90, 0.12);
}

.ticket-bar {
    width: 12px;
    margin: 6px 0 6px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}

.ticket-main {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    column-gap: 8px;
    padding: 6px 6px;
    align-items: center;
}

.ticket-main h2 {
    grid-column: 1;
    grid-row: 1;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.ticket-meta {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

.ticket-eticket {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    color: #8b93a8;
    cursor: default;
}

.ticket-eticket-mark {
    position: relative;
    display: inline-flex;
    line-height: 0;
}

.ticket-eticket svg {
    display: block;
}

.ticket-eticket-icon {
    width: 14px;
    height: 18px;
}

.ticket-instant-icon {
    width: 16px;
    height: 16px;
}

.ticket-eticket-tip {
    display: none;
    position: absolute;
    left: 50%;
    bottom: calc(100% + 6px);
    transform: translateX(-50%);
    padding: 4px 8px;
    border-radius: 6px;
    background: #1f2245;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    z-index: 4;
}

.ticket-eticket-mark:hover .ticket-eticket-tip {
    display: block;
}

.ticket-icon {
    width: 15px;
    height: 15px;
    color: #b9bdcc;
}

.low-price {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    display: inline-block;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--green-badge-bg);
    color: var(--green-badge);
    font-size: 12px;
    font-weight: 400;
}

.low-price[hidden] {
    display: none;
}

.amount {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    color: var(--navy-deep);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.amount small {
    font-size: 16px;
    font-weight: 300;
    color: var(--muted-2);
}

.fees {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--muted-2);
    font-weight: 500;
    white-space: nowrap;
}

.ticket.is-featured {
    background: #eef1fe;
    box-shadow: 0 0 0 1px rgba(59, 130, 252, 0.28), 0 0 7px rgba(28, 54, 90, 0.17);
    animation: featured-ambient 2.8s ease-in-out infinite;
}

@keyframes featured-ambient {
    0%,
    100% {
        background-color: #eef1fe;
        box-shadow: 0 0 0 1px rgba(59, 130, 252, 0.2), 0 0 6px rgba(59, 130, 252, 0.06);
    }

    50% {
        background-color: #e6ebfd;
        box-shadow: 0 0 0 1px rgba(59, 130, 252, 0.38), 0 0 14px rgba(59, 130, 252, 0.16);
    }
}

.ticket.is-featured .ticket-main {
    grid-template-rows: auto auto auto auto;
}

.ticket-featured-flag {
    grid-column: 1 / -1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: featured-flag-ambient 2.8s ease-in-out infinite;
}

@keyframes featured-flag-ambient {
    0%,
    100% {
        color: #7aa2f7;
    }

    50% {
        color: var(--brand);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticket.is-featured,
    .ticket-featured-flag {
        animation: none;
    }
}

.ticket-featured-flag svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.ticket.is-featured .ticket-main h2,
.ticket.is-featured .amount {
    grid-row: 2;
}

.ticket.is-featured .ticket-meta,
.ticket.is-featured .fees {
    grid-row: 3;
}

.ticket.is-featured .low-price {
    grid-row: 4;
}

.ticket-zone {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: #3a4d6e;
    font: inherit;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    text-align: left;
}

.ticket-zone svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ticket.has-disclosure .ticket-main {
    grid-template-rows: auto auto auto auto;
}

.ticket.has-disclosure .low-price {
    grid-row: 4;
}

.ticket.is-featured.has-disclosure .ticket-zone {
    grid-row: 4;
}

.ticket.is-featured.has-disclosure .low-price {
    grid-row: 5;
}

.ticket.is-featured.has-disclosure .ticket-main {
    grid-template-rows: auto auto auto auto auto;
}

.ticket-sheet .ticket-zone {
    grid-row: auto;
    grid-column: auto;
    margin-top: 0;
}

.zone-overlay {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: rgba(18, 28, 48, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.zone-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.zone-note-open {
    overflow: hidden;
}

.zone-note {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: min(80vh, 640px);
    overflow: auto;
    background: #fff;
    border-radius: 8px;
    padding: 28px 36px 28px 28px;
    box-shadow: 0 18px 50px rgba(14, 43, 77, 0.28);
}

.zone-note h2 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
}

.zone-note p {
    margin: 0 0 12px;
    color: #2a3344;
    font-size: 15px;
    line-height: 1.45;
}

.zone-note p:last-child {
    margin-bottom: 0;
}

.zone-note-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #667;
    cursor: pointer;
}

.zone-note-close svg {
    width: 16px;
    height: 16px;
}

.ticket-arrow {
    grid-column: 3;
    grid-row: 2 / 3;
    color: var(--filter-icon);
    display: grid;
    place-items: center;
    align-self: center;
}

.ticket-arrow svg {
    width: 9px;
    height: 15px;
}

.qty-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(18, 28, 48, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.qty-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.qty-modal-open {
    overflow: hidden;
}

.qty-modal {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 28px;
    padding: 10px 22px 22px;
    box-shadow: 0 24px 60px rgba(14, 43, 77, 0.28);
    transform: translateY(28px);
    transition: transform 0.28s ease;
    touch-action: none;
}

.qty-overlay.is-open .qty-modal {
    transform: translateY(0);
}

.qty-overlay.is-dragging .qty-modal {
    transition: none;
}

.modal-handle {
    display: block;
    width: 55px;
    height: 24px;
    margin: 0 auto 12px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: grab;
    position: relative;
}

.modal-handle-small {
    width: 100%;
    height: 28px;
    margin: -14px auto 0;
    cursor: pointer;
    touch-action: none;
}

.modal-handle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 7px;
    border-radius: 999px;
    background: #d4d7e0;
}

.modal-handle:active {
    cursor: grabbing;
}
.modal-handle-small:after {
    width: 48px;
    left: 50%;
    right: auto;
    top: 11px;
    height: 5px;
    transform: translateX(-50%);
}

.qty-modal h2 {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.qty-modal-copy {
    margin-top: 6px;
    font-size: 15px;
    color: #8b90a5;
    font-weight: 500;
}

.qty-modal-pending {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

.qty-modal-pending[hidden] {
    display: none;
}

.qty-modal-options {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.qty-chip {
    height: 48px;
    min-width: 48px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1.5px solid #c8cfe0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    flex: 0 1 auto;
}

.qty-chip[hidden] {
    display: none;
}

.qty-chip.is-unavailable {
    opacity: 0.42;
}

.qty-chip.is-unavailable.is-selected {
    opacity: 1;
}

.qty-chip:hover {
    border-color: #9aa8c7;
}

.qty-chip.is-selected {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.qty-modal-note {
    margin-top: 18px;
    font-size: 13.5px;
    color: #8b90a5;
    font-weight: 500;
}

.qty-modal-note strong {
    color: var(--ink);
    font-weight: 800;
}

.filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 125;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: rgba(18, 28, 48, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.filter-modal-open {
    overflow: hidden;
}

.filter-sheet {
    width: 100%;
    max-width: 541px;
    height: auto;
    max-height: calc(100% - 72px);
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -12px 40px rgba(14, 43, 77, 0.18);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
}

.filter-overlay.is-open .filter-sheet {
    transform: translateY(0);
}

.filter-overlay.is-dragging .filter-sheet {
    transition: none;
}

.filter-sheet-chrome {
    position: relative;
    z-index: 6;
    flex-shrink: 0;
    padding: 4px 16px 8px;
}

.filter-sheet-chrome .modal-handle {
    margin: 0 auto;
}

.filter-sheet-chrome h2 {
    margin: 4px 40px 0 4px;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
}

.filter-sheet-chrome .ticket-sheet-close {
    top: 10px;
}

.filter-sheet-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 20px 12px;
    -webkit-overflow-scrolling: touch;
}

.filter-sheet--compact {
    max-height: calc(100% - 220px);
}

.filter-sheet--compact .filter-sheet-scroll {
    flex: 0 1 auto;
    padding-bottom: 8px;
}

.filter-sheet--compact .filter-block {
    margin-bottom: 0;
}

.filter-sheet--compact .qty-modal-options {
    margin-top: 4px;
}

.filter-sheet--compact .filter-price-range {
    margin-bottom: 0;
}

.filter-block {
    margin-bottom: 22px;
}

.filter-block h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.filter-price-range {
    margin-bottom: 12px;
}

.price-slider-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.price-slider-pill {
    min-width: 92px;
    height: 40px;
    padding: 0 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
}

.price-slider-dash {
    color: var(--muted-2);
    font-weight: 700;
}

.price-slider-track {
    position: relative;
    height: 28px;
}

.price-slider-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 6px;
    margin-top: -3px;
    background: var(--line-strong);
    border-radius: 999px;
}

.price-slider-fill {
    position: absolute;
    top: 50%;
    height: 6px;
    margin-top: -3px;
    background: var(--brand);
    border-radius: 999px;
    pointer-events: none;
}

.price-slider-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 28px;
    margin: 0;
    padding: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    overflow: visible;
}

.price-slider-input[data-price-handle="min"] {
    z-index: 2;
}

.price-slider-input[data-price-handle="max"] {
    z-index: 3;
}

.price-slider-input::-webkit-slider-runnable-track {
    background: transparent;
    height: 6px;
    border: 0;
}

.price-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand);
    box-shadow: 0 1px 4px rgba(14, 43, 77, 0.2);
    cursor: pointer;
}

.price-slider-input::-moz-range-track {
    background: transparent;
    height: 6px;
    border: 0;
}

.price-slider-input::-moz-range-thumb {
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--brand);
    box-shadow: 0 1px 4px rgba(14, 43, 77, 0.2);
    cursor: pointer;
}

.price-slider-input:focus {
    outline: none;
}

.price-slider-input:disabled::-webkit-slider-thumb {
    cursor: default;
}

.price-slider-input:disabled::-moz-range-thumb {
    cursor: default;
}

.filter-switch-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.filter-switch-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.filter-switch-copy p {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.35;
}

.filter-toggle {
    width: 48px;
    height: 28px;
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    background: #d8deea;
    position: relative;
    cursor: pointer;
}

.filter-toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(14, 43, 77, 0.18);
    transition: transform 0.2s ease;
}

.filter-toggle[aria-checked="true"] {
    background: var(--brand);
}

.filter-toggle[aria-checked="true"]::after {
    transform: translateX(20px);
}

.filter-toggle:disabled,
.filter-toggle[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.filter-sheet-actions {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 20px 20px;
    background: #fff;
    box-shadow: 0 -8px 18px rgba(14, 43, 77, 0.06);
}

/* .reset-filters-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    padding: 12px 20px;
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(14, 43, 77, 0.16);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.reset-filters-map[hidden] {
    display: none;
} */

.filter-clear-btn,
.filter-done-btn {
    height: 48px;
    border-radius: 12px;
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.filter-clear-btn {
    background: #fff;
    border: 1.5px solid var(--brand);
    color: var(--brand);
}

.filter-done-btn {
    background: var(--brand);
    border: 1.5px solid var(--brand);
    color: #fff;
}

.ticket-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: rgba(18, 28, 48, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ticket-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.ticket-modal-open {
    overflow: hidden;
}

.ticket-sheet {
    width: 100%;
    max-width: 541px;
    height: calc(100% - 150px);
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -12px 40px rgba(14, 43, 77, 0.18);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
}

.ticket-overlay.is-open .ticket-sheet {
    transform: translateY(0);
}

.ticket-overlay.is-dragging .ticket-sheet {
    transition: none;
}

.ticket-sheet-chrome {
    position: relative;
    z-index: 6;
    flex-shrink: 0;
    min-height: 36px;
    padding: 16px 16px 0;
}

.ticket-sheet-chrome .modal-handle {
    margin: -11px auto 0;
}

.ticket-sheet-close {
    position: absolute;
    top: 8px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    color: #4b5168;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 7;
    border-radius: 50%;
    background-color: #eef1f6;
}

.ticket-sheet-close svg {
    width: 20px;
    height: 20px;
}

.ticket-sheet-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 28px;
    -webkit-overflow-scrolling: touch;
} 
.ticket-sheet.has-sticky .ticket-sheet-scroll {
    padding-bottom: 70px;
}

.ticket-recommend {  
    font-size: 14px; 
    line-height: 1.35;
}

.ticket-recommend[hidden] {
    display: none;
}

.ticket-recommend svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ticket-sheet-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

.ticket-sheet-hero.has-map {
    grid-template-columns: 1fr minmax(140px, 200px);
}

#ticket-sheet-title {
    font-size: 26px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    width: 100%;
    padding: 0 16px;
}

.ticket-sheet-row {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.ticket-sheet-info .low-price {
    margin-top: 4px;
}

.ticket-sheet-price {
    margin-top: 8px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.ticket-sheet-price small {
    font-size: 18px;
    font-weight: 500;
    color: var(--muted-2);
}

.ticket-sheet-fees {
    margin-top: 4px;
    font-size: 14px;
    color: var(--muted-2);
}

.ticket-sheet-map {
    position: relative;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7fb;
    border: 1px solid var(--line);
    width: 100%;
}

.ticket-sheet-map[hidden] {
    display: none !important;
}

.ticket-sheet-map img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) contrast(110%);
}

.ticket-sheet-map.is-plan img {
    display: none;
}

.ticket-sheet-map-svg {
    /* position: absolute; */
    /* inset: 0; */
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
}

.ticket-sheet-map-stage {
    fill: #4d4d4d;
}

.ticket-sheet-map-sections path {
    fill: #dde1e8;
    stroke: #ffffff;
    stroke-width: 1px;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.ticket-sheet-map-sections path.is-marked {
    fill: var(--brand);
    filter: drop-shadow(1px 0px 7px var(--brand));
    z-index: 12;
    position: relative;
    stroke-width: 3px;
    stroke: #fff;
}

.ticket-sheet-map-labels text {
    fill: var(--muted);
    font-family: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-anchor: middle;
    dominant-baseline: central;
}

.ticket-sheet-map-labels text.is-marked {
    fill: #000;
    font-weight: 700;
    text-shadow: 0px -1px 3px #fff; 
}

.ticket-sheet-map-live {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7fb;
}

.ticket-sheet-map-live svg {
    filter: grayscale(100%) contrast(110%);
}

.ticket-sheet-map-live svg [class*="selected"],
.ticket-sheet-map-live svg .selected-section,
.ticket-sheet-map-live svg .sea-section-selected {
    filter: none !important;
}
  

.ticket-sheet-event {
    margin-top: 13px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 8px;
}

.ticket-sheet-event-name {
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 2px;
}

.ticket-sheet-actions {
    margin-top: 16px;
    position: relative;
    z-index: 7;
}

.ticket-sheet-actions .dropdown {
    width: 100%;
}

.ticket-qty-btn {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 18px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}

.ticket-qty-btn .chevron {
    width: 18px;
    height: 18px;
    color: var(--brand);
}

.ticket-qty-btn:disabled,
.ticket-qty-btn.is-locked {
    cursor: default;
    background: #f4f6fa;
    color: var(--ink);
}

.ticket-qty-btn:disabled .chevron,
.ticket-qty-btn.is-locked .chevron {
    display: none;
}

.checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin-top: 12px;
    border-radius: var(--radius-lg);
    background: var(--brand);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 0 15px;
}

.checkout-arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.checkout-arrow svg {
    width: 16px;
    height: auto;
}

.ticket-facts {
    list-style: none;
    margin-top: 8px;
}

.ticket-facts li {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #eef1f6;
}

.ticket-facts li > div {
    flex: 1;
    min-width: 0;
}

.ticket-facts li:last-child {
    border-bottom: 0;
}

.ticket-facts [hidden],
.ticket-additional [hidden] {
    display: none !important;
}

.ticket-fact-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #5b657c;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef2f8;
}

.ticket-fact-icon svg {
    width: 22px;
    height: 22px;
}

.ticket-facts p {
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.ticket-facts .ticket-fact-label {
    font-weight: 700;
}

.ticket-facts span {
    display: block;
    /* margin-top: 6px; */
    /* font-size: 13.5px; */
    /* color: var(--muted); */ 
    line-height: 1.45;
}

#ticket-sheet-delivery-detail {
    font-size: 14px
}

.ticket-delivery-info {
    position: static;
    top: auto;
    right: auto;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #8b93a8;
}

.ticket-delivery-info svg {
    width: 18px;
    height: 18px;
}

.ticket-additional {
    margin-top: 8px;
    padding-top: 8px;
}

.ticket-additional h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}

.ticket-additional ul {
    list-style: none;
    margin-bottom: 5px;
}

.ticket-additional li {
    padding: 10px 0;
    border-bottom: 1px solid #eef1f6;
}

.ticket-additional .ticket-zone {
    font-size: 14px;
    color: var(--ink);
    font-weight: 500;
}

.ticket-additional li:last-child {
    border-bottom: 0;
}

.ticket-additional p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--ink);
}

.ticket-sheet-guarantee {
    position: relative;
    margin: 0 -8px;
}

.ticket-guarantee-info {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    margin-left: auto;
    flex-shrink: 0;
    color: #8b93a8;
}

.ticket .ticket-guarantee-info {
    grid-column: 3;
    grid-row: 1 / span 3;
    align-self: center;
    margin-left: 0;
    width: 22px;
    height: 22px;
}

.ticket .ticket-guarantee-info svg {
    width: 18px;
    height: 18px;
}

.guarantee-sheet-copy {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
}

.guarantee-sheet-copy p {
    margin: 0 0 12px;
}

.guarantee-sheet-copy ul {
    margin: 0 0 16px;
    padding-left: 1.2em;
}

.guarantee-sheet-copy li {
    margin-bottom: 8px;
}

.guarantee-sheet-copy h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 8px 0 10px;
    color: var(--ink);
}

.guarantee-note {
    font-size: 13px;
    color: var(--muted);
}

#guarantee-overlay {
    z-index: 130;
}

#guarantee-sheet {
    height: auto;
    max-height: calc(100% - 72px);
}

.ticket-sheet-about {
    margin-top: 22px;
    padding-bottom: 24px;
}

.ticket-sheet-about h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.ticket-sheet-about p {
    font-size: 15px;
    line-height: 1.5;
    color: #4b5168;
}

.ticket-sheet-sticky {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(28, 54, 90, 0.08);
}

.ticket-sheet-sticky.is-visible {
    display: flex;
}

.ticket-qty-btn-compact {
    width: auto;
    min-width: 118px;
    flex-shrink: 0;
    padding: 0 12px 0 14px;
    width: 100%;
    text-align: center;
    justify-content: space-around;
}

.ticket-sheet-sticky .ticket-qty-btn-compact {
    width: auto;
    min-width: 118px;
    flex: 0 0 auto;
}

.ticket-sheet-sticky .checkout-btn {
    margin-top: 0;
    flex: 1;
}

.event-sheet-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 44px 0 2px;
}

.event-info-chrome {
    padding-bottom: 4px;
}
 

.event-sheet-hero {
    display: grid;
    grid-template-columns: 144px 1fr;
    gap: 12px;
    align-items: center;
}

.event-sheet-photo {
    border-radius: 14px;
    overflow: hidden;
    height: 86px;
    background: #1a120c;
}

.event-sheet-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-sheet-meta {
    font-size: 13px;
    line-height: 1.4;
    color: var(--muted);
}

.event-sheet-name {
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
}

.event-block {
    box-shadow: 0px 0px 4px rgba(28, 54, 90, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    background: #fff;
    margin: 8px -8px;
}

.event-block h3 {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.event-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #e8eef5;
    height: 132px;
}

.event-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #e8eef5;
}

.event-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
}

.event-address svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--ink);
    margin-top: -1px;
}

.event-dir-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.event-dir-btn {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    border: 1.5px solid var(--brand);
    border-radius: 12px;
    background: #fff;
    color: var(--brand);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.event-dir-btn svg {
    width: 16px;
    height: 16px;
}

.event-dir-btn .event-ext {
    width: 13px;
    height: 13px;
}

.event-lineup {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
}

.event-lineup a {
    text-decoration: none;
    color: inherit;
}

.event-lineup figure {
    margin: 0;
}

.event-lineup img,
.lineup-fallback {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.lineup-fallback {
    display: grid;
    place-items: center;
    background: #dbe4f3;
    color: #3b4a6b;
    font-size: 22px;
    font-weight: 800;
}

.lineup-fallback-alt {
    background: #efe3d6;
    color: #6a4b2f;
    font-size: 16px;
}

.event-lineup figcaption {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.25;
}

.event-know {
    list-style: none;
}

.event-know li {
    display: grid;
    grid-template-columns: 36px 1fr 12px;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f6;
}

.event-know li:last-child {
    border-bottom: 0;
}

.event-know p {
    font-size: 14.5px;
    font-weight: 700;
}

.event-know div span {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.event-know-chevron {
    color: #c5c9d6;
    display: grid;
    place-items: center;
}

.event-know-chevron svg {
    width: 8px;
    height: 14px;
}

@media (max-width: 991px) {
    #venue-map-zoom-controls,
    .venue-map-zoom-controls {
        display: none !important;
    }
    .venue-map-reset {  
        right: 10px;
        top: 10px; 
    }
    .content-top {
        touch-action: none;
    }

    .filters [data-dropdown="price"] .dropdown-menu,
    .filters [data-dropdown="qty"] .dropdown-menu {
        display: none !important;
    }

    .filters [data-dropdown="price"] .dropdown-toggle[aria-expanded="true"],
    .filters [data-dropdown="qty"] .dropdown-toggle[aria-expanded="true"] {
        border-bottom-left-radius: var(--radius-xl);
        border-bottom-right-radius: var(--radius-xl);
        border-bottom: 1.5px solid var(--line-strong);
    }

    .ticket-sheet-hero.has-map {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 460px) {
    .filters {
        gap: 8px;
    }

    .dropdown-toggle {
        padding: 0 8px;
    }

    .filter-btn, .dropdown-toggle {
        border-radius: 8px;
        font-size: 14px;
        gap: 6px;
    }

    .filters [data-dropdown="price"] .dropdown-toggle[aria-expanded="true"],
    .filters [data-dropdown="qty"] .dropdown-toggle[aria-expanded="true"] {
        border-radius: 8px;
    }

    .filter-btn svg {
        width: 20px;
        height: 20px;
    }

    .filter-btn {
        min-width: 64px;
    }

    .dropdown[data-dropdown="qty"], .dropdown[data-dropdown="ticket-qty"] {
        min-width: auto;
    }

    .filters {
        grid-template-columns: 60px 1fr auto;
    }
}
@media (max-width: 420px) { 

    .ticket-sheet-info h2 {
        font-size: 22px;
    }

    .ticket-sheet-price {
        font-size: 26px;
    }

    .event-sheet-hero {
        grid-template-columns: 96px 1fr;
    }

    .event-dir-actions {
        grid-template-columns: 1fr;
    }

    .event-photo {
        width: 96px;
        height: 88px;
    }

    .event-meta h1 {
        font-size: 14px;
    } 

    .ticket-main h2 {
        font-size: 15px;
    }

    .amount {
        font-size: 16px;
    }

    .ticket-sheet-sticky .ticket-qty-btn-compact span,
    .checkout-btn {
        font-size: 14px;
    }
    .ticket-sheet-scroll {
        padding: 4px 16px 16px;
    }
}
@media (max-width: 375px) {
    .checkout-btn span {
        display: none
    }
    .dropdown[data-dropdown="price"] .dropdown-menu {
            left: 50%;
            transform: translateX(-50%);
            min-width: 260px;
    } 
}


.maps-legend.Sea-Legend {
    display: none!important
} 
.loading {
    display: none;
    position: absolute;
    top: 58%;
    left: 50%;
    margin: -86px 0 0 -86px;
    width: 172px;
    height: 172px;
    border-style: dotted;
    border: 7px dotted var(--navy-deep);
    border-top-style: solid;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 2s linear infinite;
    z-index: 6;
    pointer-events: none;
}

.loading.is-active {
    display: block;
}

.content.is-loading .listings {
    min-height: 196px;
}

.loading:after {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-color: var(--ink);
    border-style: solid dotted;
    border-width: 7px;
    width: 124px;
    height: 124px;
    border-radius: 50%;
    animation: rotationBack 1s linear infinite
}

.loading:after,.loading:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    transform-origin: center center
}

.loading:before {
    left: 50%;
    top: 50%;
    margin: -24px;
    border-style: dotted;
    border-left: 2px dotted var(--navy-deep);
    border-bottom: 2px solid var(--navy-deep);
    border-right: 2px dotted var(--navy-deep);
    border-top: 2px solid var(--navy-deep);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    animation: rotationBack 2.5s linear infinite
}

@keyframes rotation {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(-1turn)
    }
}

.ticket-sheet-map--desktop,
.separator {
    display: none
}

@media screen and (min-width: 992px) {
    :root {
        --widget-max: 1172px;
        --widget-pad: 16px;
        --sidebar: 420px;
        --gap: 16px;
    }
    .ticket-sheet-map--desktop,
    .separator {
        display: block;
        width: 100%; 
    }
    .ticket-sheet-event,
    .ticket-sheet-map--mobile,
    .brand {
        display: none
    }

    .separator {
        order: 2
    }
    
    .page {
        padding: 0 0 16px 0;
    }

    .filters {
        grid-template-columns: minmax(auto, max-content) auto auto;
    }

    .filters.has-clear {
        grid-template-columns: auto 1fr auto auto;
    }

    .filters.has-clear .clear-filters {
        display: block;
        font-size: 14px;
        cursor: pointer;
    }

    .filters [data-dropdown="price"] {
        min-width: max-content;
    }

    .widget {
        display: grid;
        grid-template-columns: 1fr var(--sidebar);
        grid-template-rows: 124px 1fr;
        gap: var(--gap);
        max-width: var(--widget-max);
        width: 100%;
        padding: var(--widget-pad);
    } 

    .event-card {
        /* background: var(--navy); */
        color: #fff;
        padding: 12px 48px 12px 12px;
        grid-row: 1;
        grid-column: 1 / 4;
    }

    .event-meta {
        display: flex;
        height: 100%;
        flex-wrap: wrap;
    }

     

    .event-card .event-meta h1 {
        font-size: 24px;
        order: 1;
        margin-bottom: 0;
        font-weight: 600;
        width: 100%;
        max-width: 800px;
    }

    .event-card .event-date {
        order: 2;
        margin: auto 40px 0 0;
    }
    
    .event-card .event-venue {
        order: 3;
        margin: auto 0 0;
    }
    .event-card .event-date,
    .event-card .event-venue {
        font-size: 16px;
        width: 100%;
    }

    .event-card .event-important {
        order: 4;
        width: 100%;
    }

    .event-card #seller-licenses { 
        width: 100%;
    }

    .ticket-sheet-actions-slot:empty {
        display: block;
    }

    .ticket-sheet-sticky {
        position: static;
        box-shadow: none;
        padding: 12px 0 0;
        background: transparent;
    }

    .ticket-sheet-sticky.is-docked {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 16px;
        background: #fff;
        box-shadow: 0 -8px 24px rgba(28, 54, 90, 0.08);
    }

    .ticket-sheet.has-sticky .ticket-sheet-scroll {
        padding-bottom: 28px;
    }

    .ticket-sheet.has-sticky.is-actions-docked .ticket-sheet-scroll {
        padding-bottom: 84px;
    } 

    .map-card {
        grid-row: 2;
        margin-top: 0;
        height: 100%;
        min-height: 0;
        grid-column: 1 / 3;
    }

    .content {
        grid-row: 2;
        margin-top: 0;
        overflow-y: auto;
        transform: none !important;
        min-width: 440px;
    }

    .content.is-raised {
        transform: none !important;
        margin-bottom: 0 !important;
    }

    .content-top {
        position: sticky;
        top: -8px;
        z-index: 5;
        background: var(--card);
        margin: -8px -8px 8px;
        padding: 8px;
    }

    .content-top > .modal-handle-small {
        display: none;
    }

    .listings {
        overflow-y: visible;
        flex: 1 0 auto;
        min-height: 0;
    }

    #price-overlay,
    #qty-filter-overlay {
        display: none !important;
    }

    /* Ticket detail + filter panels above the right sidebar */
    #ticket-overlay,
    #filter-overlay {
        top: 0;
        bottom: 30px;
        left: auto;
        right: 0;
        width: var(--sidebar);
        justify-content: flex-end;
        align-items: stretch;
        background: transparent;
        pointer-events: none;
    }

    #filter-overlay {
        align-items: flex-end;
    }

    #ticket-overlay.is-open,
    #filter-overlay.is-open {
        pointer-events: auto;
    }

    #ticket-overlay .ticket-sheet {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        border-radius: var(--radius-lg) 0 0 var(--radius-lg);
        box-shadow: -8px 0 30px rgba(14, 43, 77, 0.18);
        transform: translateX(100%);
    }

    #filter-overlay .filter-sheet {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: 100%;
        border-radius: var(--radius-lg);
        box-shadow: 0 -12px 40px rgba(14, 43, 77, 0.18);
        transform: translateY(100%);
    }

    #ticket-overlay.is-open .ticket-sheet {
        transform: translateX(0);
    }

    #filter-overlay.is-open .filter-sheet {
        transform: translateY(0);
    }

    #ticket-overlay .modal-handle,
    #filter-overlay .modal-handle {
        display: none;
    }

    #ticket-overlay .ticket-sheet-close,
    #filter-overlay .ticket-sheet-close {
        top: 7px;
        right: 9px;
    }

    /* Event info and guarantee centered modals */
    #event-overlay,
    #guarantee-overlay {
        inset: 0;
        justify-content: center;
        align-items: center;
        background: rgba(12, 22, 45, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    #event-sheet {
        width: 90%;
        max-width: 824px;
        height: auto;
        max-height: 90vh;
        border-radius: var(--radius-lg);
        transform: translateY(40px);
    }

    #event-overlay.is-open #event-sheet {
        transform: translateY(0);
    }

    #guarantee-sheet {
        width: min(90%, 560px);
        height: auto;
        max-height: 80vh;
        border-radius: var(--radius-lg);
        transform: translateY(40px);
    }

    #guarantee-overlay.is-open #guarantee-sheet {
        transform: translateY(0);
    }

    #guarantee-overlay .modal-handle {
        display: none;
    }

    .ticket-sheet-hero {
        display: block
    }
    #ticket-sheet .ticket-sheet-chrome {
        position: absolute;
        top: 0px;
        right: 8px;
        width: 44px;
        height: 44px;
        z-index: 50;
    }
    .ticket-sheet-info {
        padding: 10px 0 0
    }
    #ticket-sheet-title {
        margin: 0 0 5px;
        background: #fff;
        padding: 9px 50px 5px 20px;
    }
    .ticket-sheet-map img {
        object-fit: contain
    }
    .ticket-sheet-row {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .event-sheet-title {
        font-size: 28px
    }

    .event-block {
        margin: 16px 0
    }

    .event-block h3 {
        font-size: 16px
    }

    .event-dir-actions {
        display: flex;
    }

    .event-lineup {
        display: flex;
        justify-content: center
    } 

    .event-lineup figure {
        margin: 0 40px
    }

    .event-map {
        height: 160px
    }
}