#mobile-shop-guest-products-modal,
#mobile-shop-guest-products-modal * {
    box-sizing: border-box;
}

#mobile-shop-guest-products-modal {
    position: fixed;
    top: var(--mobile-app-header-height, calc(env(safe-area-inset-top, 0px) + 116px));
    right: 0;
    bottom: var(--mobile-shop-bottom-nav-offset, calc(64px + env(safe-area-inset-bottom, 0px)));
    left: 0;
    z-index: 9000;
    background: var(--mobile-shop-bg);
    color: var(--mobile-shop-text);
    overflow-y: auto;
    padding: 16px 20px calc(28px + env(safe-area-inset-bottom));
}

.mobile-shop-guest-products-shell {
    display: grid;
    gap: 16px;
}

.mobile-shop-guest-products-tools {
    position: sticky;
    top: 0;
    z-index: 2;
    display: grid;
    gap: 11px;
    padding: 2px 0 10px;
    background: var(--mobile-shop-bg);
}

.mobile-shop-guest-products-search {
    min-height: 48px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--mobile-shop-border);
    border-radius: 16px;
    background: var(--mobile-shop-soft);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    padding: 0 14px;
}

.mobile-shop-guest-products-search i {
    font-size: 14px;
}

.mobile-shop-guest-products-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font: inherit;
    font-size: 15px;
    font-weight: 750;
}

.mobile-shop-guest-products-search input::placeholder {
    color: var(--mobile-shop-subtle);
    -webkit-text-fill-color: var(--mobile-shop-subtle);
}

.mobile-shop-guest-products-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 1px 3px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mobile-shop-guest-products-categories::-webkit-scrollbar {
    display: none;
}

.mobile-shop-guest-products-chip {
    flex: 0 0 auto;
    min-height: 34px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    background: var(--mobile-shop-button-bg);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    padding: 0 13px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.mobile-shop-guest-products-chip.is-active {
    border-color: color-mix(in srgb, var(--accent-color, var(--primary-color, #e6533d)) 52%, var(--mobile-shop-border));
    background: color-mix(in srgb, var(--accent-color, var(--primary-color, #e6533d)) 14%, var(--mobile-shop-bg));
    color: var(--accent-color, var(--primary-color, #c93f2e));
    -webkit-text-fill-color: var(--accent-color, var(--primary-color, #c93f2e));
}

[data-theme="dark"] .mobile-shop-guest-products-chip.is-active,
[data-theme="dark-accent"] .mobile-shop-guest-products-chip.is-active {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.mobile-shop-guest-products-list {
    display: grid;
    gap: 12px;
}

.mobile-shop-guest-product-card {
    width: 100%;
    min-height: 96px;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    text-align: left;
    border: 1px solid var(--mobile-shop-border);
    border-radius: 24px;
    background: var(--mobile-shop-card-bg);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    padding: 10px;
}

.mobile-shop-guest-product-image {
    width: 74px;
    height: 74px;
    border-radius: 18px;
    background: var(--mobile-shop-card-soft);
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.mobile-shop-guest-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-shop-guest-product-image .mobile-shop-product-design-overlay {
    position: absolute !important;
    left: var(--shop-design-x, 50%) !important;
    top: var(--shop-design-y, 50%) !important;
    z-index: 2 !important;
    width: var(--shop-design-size, 22%) !important;
    height: auto !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

.mobile-shop-guest-product-card span {
    display: block;
    margin-bottom: 4px;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mobile-shop-guest-product-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 15px;
    line-height: 1.12;
    font-weight: 900;
}

.mobile-shop-guest-product-card em {
    display: block;
    margin-top: 6px;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-style: normal;
    font-size: 13px;
    font-weight: 850;
}

.mobile-shop-guest-product-card .mobile-shop-guest-product-ticket {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    margin-top: 6px;
    overflow: hidden;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 11px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 780;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips {
    display: grid;
    gap: 4px;
    margin-top: 8px;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips div {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    overflow: hidden;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips strong {
    display: inline;
    flex: 0 0 auto;
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.mobile-shop-guest-product-card .mobile-shop-variant-chips span {
    flex: 0 0 auto;
    margin: 0;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid var(--mobile-shop-border);
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.mobile-shop-guest-products-empty {
    width: min(100%, 340px);
    margin: 54px auto 0;
    padding: 12px 18px;
    text-align: center;
    color: var(--mobile-shop-muted);
}

.mobile-shop-guest-products-empty-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 18px;
    border-radius: 22px;
    border: 1px solid var(--mobile-shop-border);
    background: color-mix(in srgb, var(--mobile-shop-card-bg) 82%, #ffffff 18%);
    color: var(--mobile-shop-muted);
    -webkit-text-fill-color: var(--mobile-shop-muted);
    display: grid;
    place-items: center;
}

.mobile-shop-guest-products-empty-icon i {
    font-size: 28px;
    opacity: 0.82;
}

.mobile-shop-guest-products-empty strong,
.mobile-shop-guest-products-empty span {
    display: block;
}

.mobile-shop-guest-products-empty strong {
    color: var(--mobile-shop-text);
    -webkit-text-fill-color: var(--mobile-shop-text);
    font-size: 24px;
    line-height: 1.08;
    margin-bottom: 10px;
    font-weight: 950;
}

.mobile-shop-guest-products-empty span {
    max-width: 280px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 650;
}

/* Ticket tier picker.
 *
 * A full-screen sheet: gradient hero, a facts strip (only the facts the owner
 * filled), tier cards carrying their own perks and a stepper, and a sticky
 * dock with the running total. Modeled on the Event Tickets design canvas.
 */
.mobile-shop-event-detail-modal.is-tier-picker {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #0e0e0f;
}

.mobile-shop-tier-scroll {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
}

.mobile-shop-tier-hero {
    position: relative;
    height: 264px;
    background: linear-gradient(155deg, #1B2A6B 0%, #6B1024 55%, #0E0E0F 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.mobile-shop-tier-hero-scrim {
    position: absolute;
    inset: 0;
    /* Heavier at the bottom third where the title sits, so white stays legible
       on a bright gym photo. */
    background: linear-gradient(to bottom, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.12) 38%, rgba(0,0,0,0.62) 74%, rgba(0,0,0,0.90) 100%);
    pointer-events: none;
}

.mobile-shop-tier-hero-nav {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

html body .mobile-shop-tier-hero-nav span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.mobile-shop-tier-hero-nav button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 17px;
    line-height: 1;
}

.mobile-shop-tier-hero-nav span {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.8;
}

.mobile-shop-tier-hero-copy {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    pointer-events: none;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

html body .mobile-shop-tier-hero-copy h2,
.mobile-shop-tier-hero-copy h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

html body .mobile-shop-tier-hero-meta,
html body .mobile-shop-tier-hero-meta span,
.mobile-shop-tier-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 0.92;
}

.mobile-shop-tier-facts {
    display: grid;
    border-bottom: 1px solid #f2f2f4;
}

.mobile-shop-tier-facts > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-right: 1px solid #f2f2f4;
}

.mobile-shop-tier-facts > div:last-child { border-right: 0; }

.mobile-shop-tier-facts span {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 8.5px;
    letter-spacing: 0.12em;
    color: #a8a8ad;
}

.mobile-shop-tier-facts strong {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #0e0e0f;
}

.mobile-shop-tier-desc {
    margin: 0;
    padding: 20px 22px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6e6e73;
}

.mobile-shop-tier-choose {
    padding: 26px 22px 0;
}

.mobile-shop-tier-choose span {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #a8a8ad;
}

.mobile-shop-tier-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 22px 0;
}

.mobile-shop-tier-card {
    border: 1.5px solid #ededef;
    border-radius: 18px;
    background: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.mobile-shop-tier-card.is-active {
    border-color: #0e0e0f;
    background: #fafafb;
}

.mobile-shop-tier-card.is-sold-out { opacity: 0.55; }

.mobile-shop-tier-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.mobile-shop-tier-card-id {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.mobile-shop-tier-card-id strong {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.35px;
    color: #0e0e0f;
}

.mobile-shop-tier-left {
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: #a8a8ad;
}

.mobile-shop-tier-left.is-low { color: #c8102e; }

.mobile-shop-tier-price {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.6px;
    font-variant-numeric: tabular-nums;
    color: #0e0e0f;
    flex: none;
}

.mobile-shop-tier-perks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-shop-tier-perks li {
    position: relative;
    padding-left: 15px;
    font-size: 12.5px;
    line-height: 1.35;
    color: #6e6e73;
}

.mobile-shop-tier-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c6c6ca;
}

.mobile-shop-tier-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #efeff1;
    padding-top: 12px;
}

.mobile-shop-tier-qty-note {
    font-size: 12.5px;
    color: #8a8a8f;
}

.mobile-shop-tier-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-shop-tier-stepper button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.mobile-shop-tier-stepper [data-tier-dec] {
    background: #f2f2f4;
    color: #0e0e0f;
    -webkit-text-fill-color: #0e0e0f;
}

.mobile-shop-tier-stepper [data-tier-inc] {
    background: #0e0e0f;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
}

.mobile-shop-tier-stepper [data-tier-qty] {
    font-size: 15px;
    font-weight: 600;
    min-width: 14px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.mobile-shop-tier-dock {
    padding: 16px 22px calc(20px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #f2f2f4;
    box-shadow: 0 -18px 40px rgba(14, 14, 15, 0.06);
}

.mobile-shop-tier-dock-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 10px;
}

.mobile-shop-tier-dock-line span {
    font-size: 13px;
    color: #8a8a8f;
}

.mobile-shop-tier-dock-line strong {
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -0.6px;
    font-variant-numeric: tabular-nums;
    color: #0e0e0f;
}

.mobile-shop-tier-cta {
    width: 100%;
    padding: 17px 0;
    border: 0;
    border-radius: 999px;
    background: #0e0e0f;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
    cursor: pointer;
}

.mobile-shop-tier-cta:disabled {
    background: #f2f2f4;
    color: #a8a8ad;
    -webkit-text-fill-color: #a8a8ad;
    cursor: default;
}

.mobile-shop-tier-cta.is-added { background: #18a957; color: #ffffff; -webkit-text-fill-color: #ffffff; }

/* Expand icon on the hero, and the full-screen image viewer it opens. */
.mobile-shop-tier-hero { cursor: pointer; }

.mobile-shop-tier-hero-expand {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    right: 20px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 13px;
    cursor: pointer;
}

/* The "EVENT" label shifts left to make room for the icon in the corner. */
.mobile-shop-tier-hero-nav { padding-right: 62px; }

.mobile-shop-tier-image-viewer {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.94);
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.mobile-shop-tier-image-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.mobile-shop-tier-image-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    right: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
