.storefront-location {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--theme-text-muted, #6b7280);
}

.storefront-location__label,
.storefront-location__label:link,
.storefront-location__label:visited,
.storefront-location__label:hover,
.storefront-location__label:focus {
    color: var(--theme-text, #1a1a2e);
    font-weight: 600;
    text-decoration: none;
}

a.storefront-location__label[href] {
    text-decoration: none;
    cursor: pointer;
}

a.storefront-location__label:not([href]) {
    cursor: default;
    pointer-events: none;
}

.storefront-location__change,
.storefront-location__gps {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--theme-primary, #2563eb);
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.storefront-location__change {
    text-decoration: underline;
}

.storefront-location__gps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    text-decoration: none;
}

.storefront-location__gps:hover,
.storefront-location__gps:focus-visible {
    background: color-mix(in srgb, currentColor 16%, transparent);
}

.storefront-location__gps:disabled {
    opacity: 0.55;
    cursor: wait;
}

.storefront-location__icon {
    display: inline-flex;
    line-height: 0;
}

.event-listing__toolbar,
.em-ticket-listing__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0 0 1rem;
    min-width: 0;
    max-width: 100%;
}

.event-listing .event-listing__toolbar .event-listing__header,
.em-ticket-listing__header .em-ticket-listing__title {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.event-listing__filters,
.em-ticket-listing__filters {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    margin-left: auto;
}

.event-listing__filters .storefront-filters,
.em-ticket-listing__filters .storefront-filters {
    margin: 0;
    justify-content: flex-end;
    max-width: 100%;
}

.event-listing__filters .storefront-filters__dropdown--calendar,
.em-ticket-listing__filters .storefront-filters__dropdown--calendar {
    right: 0;
    left: auto;
}

.storefront-filters {
    --sf-filter-active: var(--theme-accent, #dc3545);
    --sf-filter-active-text: #ffffff;
    --sf-cal-accent: #1976d2;
    --sf-cal-range: #e3f2fd;
    --sf-cal-range-text: #1976d2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 20px;
    position: relative;
}

.storefront-filters__control {
    position: relative;
}

.storefront-filters__btn {
    appearance: none;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    color: #333333;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}

.storefront-filters__btn:hover {
    border-color: #999999;
    background: #f5f5f5;
}

.storefront-filters__btn.is-active,
.storefront-filters__btn[aria-expanded="true"] {
    background: var(--sf-filter-active);
    border-color: var(--sf-filter-active);
    color: var(--sf-filter-active-text);
}

.storefront-filters__btn.is-active:hover,
.storefront-filters__btn[aria-expanded="true"]:hover {
    opacity: 0.92;
}

.storefront-filters__btn-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.storefront-filters__btn[aria-expanded="true"] .storefront-filters__btn-arrow {
    transform: rotate(180deg);
}

.storefront-filters__btn .storefront-location__icon {
    display: inline-flex;
    line-height: 0;
}

.storefront-filters__btn--clear {
    background: #f3f4f6;
    border-color: rgba(0, 0, 0, 0.1);
}

.storefront-filters__btn--clear[hidden] {
    display: none !important;
}

@media (max-width: 720px) {
    .event-listing__toolbar,
    .em-ticket-listing__header {
        flex-direction: column;
        align-items: stretch;
    }

    .event-listing .event-listing__toolbar .event-listing__header,
    .em-ticket-listing__header .em-ticket-listing__title {
        width: 100%;
    }

    .event-listing__filters,
    .em-ticket-listing__filters {
        width: 100%;
        margin-left: 0;
    }

    .event-listing__filters .storefront-filters,
    .em-ticket-listing__filters .storefront-filters,
    .storefront-filters {
        justify-content: flex-start;
        width: 100%;
    }

    .event-listing__filters .storefront-filters__dropdown--calendar,
    .em-ticket-listing__filters .storefront-filters__dropdown--calendar {
        left: 0;
        right: auto;
    }

    .storefront-filters__btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.storefront-date-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: min(520px, 100%);
}

.storefront-date-field {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    cursor: pointer;
}

.storefront-date-field:focus-within {
    border-color: var(--theme-accent, #0084ff);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent, #0084ff) 18%, transparent);
}

.storefront-date-field__placeholder {
    position: absolute;
    left: 14px;
    right: 40px;
    color: #9a9a9a;
    font-size: 0.95rem;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.storefront-date-field.is-filled .storefront-date-field__placeholder {
    display: none;
}

.storefront-date-field__input {
    appearance: none;
    width: 100%;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0 40px 0 14px;
    font: inherit;
    font-size: 0.95rem;
    color: #222;
    cursor: pointer;
}

.storefront-date-field:not(.is-filled) .storefront-date-field__input {
    color: transparent;
}

.storefront-date-field__input:focus {
    outline: none;
}

.storefront-date-field__input::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.storefront-date-field__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8a8a;
    pointer-events: none;
    display: flex;
}

.storefront-date-field:focus-within .storefront-date-field__icon {
    color: var(--theme-accent, #0084ff);
}

.storefront-filters:has(.storefront-date-fields) .storefront-filters__btn--clear {
    align-self: center;
}

.storefront-filters__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
}

.storefront-filters__dropdown[hidden] {
    display: none !important;
}

.storefront-filters__dropdown--calendar {
    width: 252px;
    min-width: 252px;
    max-width: min(252px, calc(100vw - 24px));
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.storefront-filters__option {
    appearance: none;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px 15px;
    font: inherit;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
}

.storefront-filters__option:hover {
    background: #f5f5f5;
}

.storefront-filters__option.is-selected {
    background: #e8f4f8;
    color: #0073aa;
}

.storefront-filters__check {
    width: 1rem;
    opacity: 0;
    color: #0073aa;
}

.storefront-filters__option.is-selected .storefront-filters__check {
    opacity: 1;
}

.storefront-calendar {
    width: 100%;
    background: #ffffff;
    position: relative;
    box-sizing: border-box;
}

/* Beat theme-wide `button` chrome so the month grid stays compact on every design. */
.storefront-filters .storefront-calendar button,
.storefront-filters .storefront-calendar__clear {
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0;
    border: 0;
    box-shadow: none;
    outline: none;
    font-family: inherit;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.storefront-calendar__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    column-gap: 4px;
    padding: 10px 8px 8px;
    border-bottom: 1px solid #e0e0e0;
}

.storefront-filters .storefront-calendar__nav {
    background: transparent;
    padding: 0;
    color: #333333;
    border-radius: 4px;
    width: 32px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.storefront-filters .storefront-calendar__nav:hover {
    background: #f5f5f5;
    color: #333333;
}

.storefront-calendar__month-year {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
    outline: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.2;
    color: #333333;
    cursor: pointer;
    user-select: none;
    text-align: center;
}

.storefront-calendar__month-year:hover {
    color: var(--sf-cal-accent);
}

.storefront-calendar__year-picker {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
    max-height: 180px;
    overflow-y: auto;
    width: 96px;
    text-align: center;
    padding: 6px 0;
}

.storefront-filters .storefront-calendar__year-item {
    display: block;
    width: 100%;
    background: transparent;
    padding: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #333333;
}

.storefront-filters .storefront-calendar__year-item:hover,
.storefront-filters .storefront-calendar__year-item.is-selected {
    background: #f5f5f5;
    color: #333333;
}

.storefront-calendar__days-header,
.storefront-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    width: 100%;
    padding: 6px 8px;
    box-sizing: border-box;
}

.storefront-calendar__days-header {
    padding-top: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e8e8e8;
}

.storefront-calendar__day-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #666666;
    padding: 2px 0;
    line-height: 1;
}

.storefront-calendar__day-header:first-child,
.storefront-calendar__day-header:last-child {
    color: #999999;
}

.storefront-calendar__grid {
    padding-top: 4px;
    padding-bottom: 4px;
}

.storefront-filters .storefront-calendar__day {
    aspect-ratio: 1;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 12px;
    transition: background 0.15s ease, color 0.15s ease;
    color: #666666;
    background: transparent;
    min-height: 0;
    padding: 0;
}

.storefront-filters .storefront-calendar__day:hover:not(.is-empty):not(.is-disabled):not(.is-selected):not(.is-in-range):not(.is-hover-range) {
    background: #f5f5f5;
    color: #666666;
}

.storefront-filters .storefront-calendar__day.is-empty {
    cursor: default;
    visibility: hidden;
    background: transparent;
    pointer-events: none;
}

.storefront-filters .storefront-calendar__day.is-disabled {
    color: #cccccc;
    cursor: not-allowed;
    opacity: 0.5;
    background: #f5f5f5;
}

.storefront-filters .storefront-calendar__day.is-selected,
.storefront-filters .storefront-calendar__day.is-start,
.storefront-filters .storefront-calendar__day.is-end {
    background: var(--sf-cal-accent);
    color: #ffffff;
    font-weight: 600;
}

.storefront-filters .storefront-calendar__day.is-in-range,
.storefront-filters .storefront-calendar__day.is-hover-range {
    background: var(--sf-cal-range);
    color: var(--sf-cal-range-text);
    border-radius: 0;
}

.storefront-filters .storefront-calendar__day.is-start.is-in-range {
    border-radius: 50% 0 0 50%;
    background: var(--sf-cal-accent);
    color: #ffffff;
}

.storefront-filters .storefront-calendar__day.is-end.is-in-range {
    border-radius: 0 50% 50% 0;
    background: var(--sf-cal-accent);
    color: #ffffff;
}

.storefront-calendar__footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 4px 8px 8px;
    border-top: 1px solid #f0f0f0;
}

.storefront-filters .storefront-calendar__clear {
    position: static;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    cursor: pointer;
}

.storefront-filters .storefront-calendar__clear:hover {
    background: #e5e7eb;
    color: #374151;
}

.storefront-breadcrumbs {
    margin: 0 0 1rem;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: var(--theme-text-muted, #6b7280);
}

.storefront-breadcrumbs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
}

.storefront-breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.storefront-breadcrumbs__item a {
    color: inherit;
    text-decoration: underline;
}

.storefront-breadcrumbs__item.is-current span {
    color: var(--theme-text, #1a1a2e);
    font-weight: 600;
}

.storefront-breadcrumbs__sep {
    opacity: 0.55;
}

.storefront-change-location[hidden] {
    display: none !important;
}

.pac-container {
    z-index: 1100;
}

.storefront-change-location {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.storefront-change-location__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.storefront-change-location__dialog {
    position: relative;
    width: min(26.5rem, 100%);
    background: var(--theme-surface, #fff);
    color: var(--theme-text, #1a1a2e);
    border: 1px solid var(--theme-border, #e5e7eb);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    padding: 1.5rem 1.5rem 1.35rem;
    overflow: visible;
}

.storefront-change-location__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.storefront-change-location__heading h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.storefront-change-location__lede {
    margin: 0.3rem 0 0;
    color: var(--theme-text-muted, #6b7280);
    font-size: 0.875rem;
    line-height: 1.4;
}

.storefront-change-location__close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    min-height: 0 !important;
    flex: 0 0 auto;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer;
    color: var(--theme-text-muted, #6b7280) !important;
}

.storefront-change-location__close:hover,
.storefront-change-location__close:focus-visible {
    background: var(--theme-surface-alt, #f3f4f6);
    color: var(--theme-text, #1a1a2e);
}

.storefront-change-location__current {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: var(--theme-surface-alt, #f4f6f8);
    border: 1px solid var(--theme-border, #e5e7eb);
}

.storefront-change-location__current-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--theme-surface, #fff);
    color: var(--theme-primary, #2563eb);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.storefront-change-location__current-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.storefront-change-location__current-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--theme-text-muted, #6b7280);
}

.storefront-change-location__current-label {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-change-location__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    overflow: visible;
}

.storefront-change-location__field input {
    border: 1px solid var(--theme-border, #e5e7eb);
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font: inherit;
    font-weight: 500;
    background: var(--theme-surface, #fff);
}

.storefront-change-location__field input:focus {
    outline: 2px solid color-mix(in srgb, var(--theme-primary, #2563eb) 35%, transparent);
    outline-offset: 1px;
    border-color: var(--theme-primary, #2563eb);
}

.storefront-change-location__suggestions,
.tl-place-suggestions {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    border: 1px solid var(--theme-border, #e5e7eb);
    border-radius: 10px;
    max-height: min(16rem, 50vh);
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.storefront-change-location button,
.storefront-change-location__suggestion,
.tl-place-suggestions [role="option"],
.tl-place-suggestions li button {
    appearance: none !important;
    -webkit-appearance: none !important;
}

.storefront-change-location__suggestions [role="option"],
.storefront-change-location__suggestions li button,
.storefront-change-location__suggestion,
.tl-place-suggestions [role="option"],
.tl-place-suggestions li button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.7rem !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    text-align: left !important;
    border: 0 !important;
    border-bottom: 1px solid #eee !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #1a1a2e !important;
    padding: 0.7rem 0.85rem !important;
    margin: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    cursor: pointer !important;
    font: inherit !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
}

.storefront-change-location__suggestions li:last-child button,
.tl-place-suggestions li:last-child button {
    border-bottom: 0 !important;
}

.storefront-change-location__suggestions li button:hover,
.storefront-change-location__suggestions li button:focus,
.storefront-change-location__suggestion:hover,
.storefront-change-location__suggestion:focus,
.storefront-change-location__suggestion.is-active,
.tl-place-suggestions [role="option"]:hover,
.tl-place-suggestions [role="option"]:focus,
.tl-place-suggestions [role="option"].is-active,
.tl-place-suggestions li button:hover,
.tl-place-suggestions li button:focus {
    background: #f3f4f6 !important;
    color: #1a1a2e !important;
}

.tl-place-suggestions__icon {
    flex: 0 0 auto;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: #f1f3f4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%235f6368'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1rem;
}

.tl-place-suggestions__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.1rem;
}

.tl-place-suggestions__main {
    overflow-wrap: anywhere;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.tl-place-suggestions__secondary {
    overflow-wrap: anywhere;
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 500;
}

.tl-place-suggestions__credit {
    padding: 0.45rem 0.85rem 0.55rem;
    color: #9aa0a6;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: right;
}

.storefront-change-location__error {
    color: #b91c1c;
    font-size: 0.8125rem;
    margin: 0.65rem 0 0;
}

.storefront-change-location__actions {
    display: flex;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.storefront-change-location__submit,
.storefront-change-location__cancel {
    flex: 1;
    min-height: 2.75rem !important;
    width: auto !important;
    border-radius: 10px !important;
    padding: 0.65rem 1rem !important;
    cursor: pointer;
    font: inherit !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.storefront-change-location__submit {
    border: 0 !important;
    background: var(--theme-primary, #2563eb) !important;
    color: var(--theme-primary-contrast, #fff) !important;
}

.storefront-change-location__submit:hover,
.storefront-change-location__submit:focus-visible {
    filter: brightness(1.06);
}

.storefront-change-location__cancel {
    border: 1px solid var(--theme-border, #d1d5db) !important;
    background: var(--theme-surface, #fff) !important;
    color: var(--theme-text, #1a1a2e) !important;
    text-decoration: none;
}

.storefront-change-location__cancel:hover,
.storefront-change-location__cancel:focus-visible {
    background: var(--theme-surface-alt, #f3f4f6) !important;
    color: var(--theme-text, #1a1a2e) !important;
}

.event-listing__header {
    margin: 0 0 0.75rem;
}

.event-listing__badge--nearby {
    background: #0f766e;
    color: #fff;
}

.aq-row__nearby {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #0f766e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}