/* ══════════════════════════════════════════════════
   Event Tickets — detail / holders / payment / dashboard use TIXMY-inspired tokens below.
   Index listing (event-tickets-index) uses storefront .product-7 grid + theme fonts.
   ══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;800;900&family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500;700&display=swap');

/* ─── Index page: match shop grid (Molla / bootstrap-tweaks .product-7) ─── */
/* Uniform cover art: storefront uses object-fit:contain for shop SKUs; events need a filled frame. */
.event-tickets-index .product.product-7 .product-media {
    background-color: #ececec !important;
}
.event-tickets-index .product.product-7 .product-media > img.product-image {
    object-fit: cover !important;
    object-position: center;
}
.event-tickets-index .event-tickets-index-header-title {
    text-align: center;
}
/* Toolbar: count (left) + storefront Bootstrap btn (right) — matches payment-result / member CTAs */
.event-tickets-index .event-tickets-index-toolbar .btn .icon-user {
    font-size: 1.5rem;
    vertical-align: -0.15em;
}
.event-tickets-index .event-tickets-index-muted,
.event-tickets-index .event-tickets-index-toolbar-text {
    color: #5a5a5a !important;
}
.event-tickets-index .event-ticket-index-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    text-decoration: none !important;
    color: inherit;
}
.event-tickets-index .event-ticket-index-link:hover,
.event-tickets-index .event-ticket-index-link:focus {
    color: inherit;
}
/* Hover only: :focus alone stays “filled” after click (inconsistent buttons across cards). */
.event-tickets-index .event-ticket-index-link:hover .event-ticket-index-cta {
    background: var(--brand-primary, #d83a32);
    color: #fff;
    border-color: var(--brand-primary, #d83a32);
}
.event-tickets-index .event-ticket-index-link:focus-visible .event-ticket-index-cta {
    outline: 2px solid var(--brand-primary, #d83a32);
    outline-offset: 3px;
}
.event-tickets-index .event-ticket-index-link .product.product-7 {
    flex: 1 1 auto;
    width: 100%;
}
/* Card CTA (entire card remains the link; no nested button) */
.event-tickets-index .event-ticket-index-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.85rem;
    padding: 0.45rem 1.1rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 999px;
    border: 2px solid var(--brand-primary, #d83a32);
    color: var(--brand-primary, #d83a32);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease;
}
/* Sit under date/venue; avoid theme .product-7 .product-price { margin-top: auto } stretching gap */
.event-tickets-index .product.product-7 .product-price.event-ticket-index-price {
    margin-top: 0.35rem;
}
/* Placeholder fills same 1:1 frame as real images (bootstrap-tweaks .product-media rules). */
.event-tickets-index .product-media .event-ticket-index-placeholder {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
    color: #ccc;
    background: #f0f0f0;
}
/* Reserve one line so “N ticket types” row keeps price aligned when only one tier exists. */
.event-tickets-index .event-ticket-index-tier-slot {
    min-height: 1.45em;
    margin-bottom: 0.25rem;
}
.event-tickets-index .product-title {
    font-family: inherit;
    font-size: 1.4rem;
    letter-spacing: 0;
    margin-bottom: 0.35rem;
    line-height: 1.35;
}
.event-tickets-index .product-cat a,
.event-tickets-index .product-cat {
    text-transform: none;
    letter-spacing: 0;
}
.event-tickets-index .event-ticket-index-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    line-height: 1.45;
    text-align: center;
}
.event-tickets-index .event-ticket-index-date,
.event-tickets-index .event-ticket-index-time {
    display: block;
    max-width: 100%;
}
.event-tickets-index .event-ticket-index-venue {
    display: block;
    max-width: 100%;
    align-self: stretch;
}
/* Tighter gap between cover image and text (theme .product-body uses 2rem padding-top). */
.event-tickets-index .product.product-7 .product-body {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}
.event-tickets-index .product.product-7 .product-cat {
    margin-bottom: 0.2rem;
}

/* Index listing: sold out (all on-sale tiers at capacity; unlimited tiers still count as available) */
.event-tickets-index .product-media.event-ticket-index-media--soldout::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 2;
    pointer-events: none;
}
.event-tickets-index .product-media .product-label.label-soldout {
    left: 1rem;
    top: 1rem;
    right: auto;
    bottom: auto;
    z-index: 4;
    margin: 0;
    padding: 0.35rem 0.65rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #fff;
    background: rgba(55, 55, 55, 0.88);
    border-radius: 4px;
}
.event-tickets-index .event-ticket-index-soldout-line {
    color: #777;
    font-weight: 600;
}
.event-tickets-index .event-ticket-index-price--soldout {
    color: #888 !important;
}
.event-tickets-index .event-ticket-index-cta--soldout {
    background: #9a9a9a !important;
    color: #fff !important;
    border-color: #9a9a9a !important;
    cursor: default;
}
.event-tickets-index .event-ticket-index-link--soldout:hover .event-ticket-index-cta--soldout,
.event-tickets-index .event-ticket-index-link--soldout:focus .event-ticket-index-cta--soldout {
    background: #9a9a9a !important;
    color: #fff !important;
    border-color: #9a9a9a !important;
}
.event-tickets-index .event-ticket-index-link--soldout:focus-visible .event-ticket-index-cta--soldout {
    outline: 2px solid #777;
    outline-offset: 3px;
}

:root {
    --tx-bg: #f5f2ed;
    --tx-card: #ffffff;
    --tx-text: #1a1a1a;
    --tx-muted: #8a8578;
    --tx-accent: #c8a455;
    --tx-accent-dark: #8a6e2f;
    --tx-border: #e3ddd3;
    --tx-grad-a: #c8a455;
    --tx-grad-b: #8a6e2f;
    --tx-danger: #ff4444;
    --tx-success: #2a9d58;
    --tx-used: #e08a3c;
    --tx-radius: 16px;
}

/* ─── Shared layout ──────────────────────────── */
.tx-page { max-width: 680px; margin: 0 auto; padding: 0 16px 60px; }
.tx-section-label {
    font-size: 11px; font-weight: 700; color: var(--tx-accent);
    font-family: 'DM Mono', monospace; letter-spacing: 1px; margin-bottom: 14px;
}

/* ─── Animations ─────────────────────────────── */
@keyframes txFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes txPopIn { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
.tx-fade-up { animation: txFadeUp .45s ease forwards; }

/* ══════════════════════════════════════════════════
   EVENT LISTING (index page)
   ══════════════════════════════════════════════════ */
.tx-event-list { display: flex; flex-direction: column; gap: 20px; }

.tx-ev-card {
    background: var(--tx-card); border: 1px solid var(--tx-border); border-radius: var(--tx-radius);
    overflow: hidden; cursor: pointer; text-decoration: none !important; color: inherit !important;
    transition: all .3s cubic-bezier(.22,1,.36,1); display: block;
}
.tx-ev-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }

.tx-ev-card__visual {
    height: 160px; background: linear-gradient(135deg, var(--tx-grad-a), var(--tx-grad-b));
    display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative;
}
.tx-ev-card__category {
    position: absolute; top: 14px; left: 14px;
    background: rgba(0,0,0,.55); backdrop-filter: blur(8px); color: #fff;
    font-size: 11px; font-weight: 600; font-family: 'DM Mono', monospace;
    padding: 4px 10px; border-radius: 20px; letter-spacing: .5px;
}
.tx-ev-card__badge-fast {
    position: absolute; top: 14px; right: 14px;
    background: var(--tx-danger); color: #fff;
    font-size: 10px; font-weight: 700; font-family: 'DM Mono', monospace;
    padding: 4px 10px; border-radius: 20px;
}
.tx-ev-card__body { padding: 20px 22px 22px; }
.tx-ev-card__title {
    font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800;
    letter-spacing: -0.5px; color: var(--tx-text); line-height: 1.2; margin: 0 0 4px;
}
.tx-ev-card__subtitle {
    font-size: 13px; color: var(--tx-muted); font-family: 'DM Sans', sans-serif; margin-bottom: 14px;
}
.tx-ev-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tx-ev-card__tag {
    font-size: 10px; font-weight: 600; font-family: 'DM Mono', monospace;
    color: var(--tx-accent); border: 1px solid var(--tx-accent);
    border-radius: 20px; padding: 3px 10px;
}
.tx-ev-card__foot {
    display: flex; justify-content: space-between; align-items: flex-end;
    border-top: 1px solid var(--tx-border); padding-top: 14px;
}
.tx-ev-card__meta-line {
    font-size: 12px; color: var(--tx-muted); font-family: 'DM Mono', monospace;
}
.tx-ev-card__venue { font-size: 12px; color: var(--tx-muted); font-family: 'DM Sans', sans-serif; margin-top: 2px; }
.tx-ev-card__from-label { font-size: 11px; color: var(--tx-muted); font-family: 'DM Mono', monospace; }
.tx-ev-card__price {
    font-size: 20px; font-weight: 800; color: var(--tx-text); font-family: 'Playfair Display', serif;
}

/* ── Empty state ── */
.tx-empty { text-align: center; padding: 60px 20px; color: var(--tx-muted); }
.tx-empty__icon { font-size: 40px; margin-bottom: 12px; }
.tx-empty__text { font-size: 15px; font-weight: 600; }

/* ══════════════════════════════════════════════════
   EVENT DETAIL (selection page)
   ══════════════════════════════════════════════════ */
.tx-back-btn {
    background: none; border: none; color: var(--tx-accent);
    font-family: 'DM Mono', monospace; font-size: 13px; cursor: pointer;
    margin-bottom: 20px; padding: 0; font-weight: 600;
}
.tx-hero {
    height: 200px; border-radius: var(--tx-radius); overflow: hidden;
    background: linear-gradient(135deg, var(--tx-grad-a), var(--tx-grad-b));
    display: flex; align-items: flex-end; justify-content: flex-start;
    padding: 20px 24px; position: relative; margin-bottom: 28px;
}
.tx-hero__title {
    font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900;
    color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); letter-spacing: -1px; line-height: 1.1;
    margin: 0;
}
.tx-hero__subtitle {
    font-size: 14px; color: rgba(255,255,255,.85); font-family: 'DM Sans', sans-serif; margin-top: 4px;
}

/* Info grid */
.tx-info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px;
}
.tx-info-cell {
    background: var(--tx-card); border: 1px solid var(--tx-border);
    border-radius: 12px; padding: 14px 16px;
}
.tx-info-cell__label {
    font-size: 10px; font-weight: 700; color: var(--tx-accent);
    font-family: 'DM Mono', monospace; letter-spacing: 1px; margin-bottom: 4px;
}
.tx-info-cell__value { font-size: 13px; color: var(--tx-text); font-family: 'DM Sans', sans-serif; font-weight: 500; }

/* About section */
.tx-about {
    background: var(--tx-card); border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius); padding: 22px 24px; margin-bottom: 28px;
}
.tx-about__text { font-size: 14px; line-height: 1.7; color: var(--tx-text); font-family: 'DM Sans', sans-serif; margin: 0; }
.tx-about__highlights { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tx-about__highlight {
    background: var(--tx-accent); color: #0a0a0a; font-size: 12px; font-weight: 700;
    font-family: 'DM Mono', monospace; padding: 5px 14px; border-radius: 20px;
}

/* Tier option cards */
.tx-tier {
    background: var(--tx-card); border: 1px solid var(--tx-border);
    border-radius: 14px; padding: 18px 20px; transition: border .2s ease;
}
.tx-tier--selected { border: 1.5px solid var(--tx-accent); }
.tx-tier--soldout { pointer-events: none; }
.tx-tier__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.tx-tier__name { font-size: 16px; font-weight: 700; color: var(--tx-text); font-family: 'Playfair Display', serif; }
.tx-tier__remaining { font-size: 12px; color: var(--tx-muted); font-family: 'DM Mono', monospace; margin-top: 2px; }
.tx-tier__price { font-size: 22px; font-weight: 800; color: var(--tx-text); font-family: 'Playfair Display', serif; }

/* Progress bar */
.tx-progress { height: 4px; border-radius: 2px; background: var(--tx-border); margin-bottom: 14px; overflow: hidden; }
.tx-progress__bar { height: 100%; border-radius: 2px; transition: width .5s ease; }
.tx-progress__bar--low { background: var(--tx-accent); }
.tx-progress__bar--med { background: #f0a030; }
.tx-progress__bar--high { background: var(--tx-danger); }

/* Stepper — circular */
.tx-stepper { display: flex; align-items: center; gap: 14px; }
.tx-stepper__btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--tx-border);
    background: transparent; color: var(--tx-text); font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all .15s; padding: 0; line-height: 1;
}
.tx-stepper__btn--plus { border-color: var(--tx-accent); color: var(--tx-accent); }
.tx-stepper__btn:disabled { opacity: 0.25; cursor: default; }
.tx-stepper__btn:hover:not(:disabled) { background: var(--tx-accent); color: #0a0a0a; border-color: var(--tx-accent); }
.tx-stepper__val {
    font-size: 18px; font-weight: 700; font-family: 'DM Mono', monospace;
    color: var(--tx-text); min-width: 28px; text-align: center;
}

/* Tier T&C */
.tx-tnc-toggle {
    background: none; border: none; cursor: pointer; padding: 4px 0;
    font-size: 11px; font-weight: 600; font-family: 'DM Mono', monospace;
    color: var(--tx-muted); display: flex; align-items: center; gap: 5px;
}
.tx-tnc-body {
    margin-top: 8px; padding: 14px 16px; background: var(--tx-bg);
    border-radius: 10px; animation: txFadeUp .25s ease forwards;
}
.tx-tnc-label {
    font-size: 10px; font-weight: 700; color: var(--tx-accent);
    font-family: 'DM Mono', monospace; letter-spacing: 1px; margin-bottom: 10px;
}
.tx-tnc-item {
    display: flex; gap: 8px; margin-bottom: 5px;
    font-size: 12px; line-height: 1.55; color: var(--tx-text); font-family: 'DM Sans', sans-serif;
}
.tx-tnc-item__num {
    color: var(--tx-accent); font-weight: 700; flex-shrink: 0;
    font-family: 'DM Mono', monospace; font-size: 10px; margin-top: 2px;
}

/* Sticky bottom bar */
.tx-sticky {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: var(--tx-card); border-top: 1px solid var(--tx-border);
    border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.1);
    transform: translateY(100%); transition: transform .3s ease;
}
.tx-sticky--show { transform: translateY(0); }
.tx-sticky__inner {
    max-width: 680px; margin: 0 auto; padding: 18px 24px;
    display: flex; justify-content: space-between; align-items: center;
}
.tx-sticky__count { font-size: 12px; color: var(--tx-muted); font-family: 'DM Mono', monospace; }
.tx-sticky__total { font-size: 26px; font-weight: 900; color: var(--tx-text); font-family: 'Playfair Display', serif; }
.tx-sticky__btn {
    background: var(--tx-accent); color: #0a0a0a; border: none; border-radius: 12px;
    padding: 14px 36px; font-size: 14px; font-weight: 700;
    font-family: 'DM Mono', monospace; cursor: pointer; letter-spacing: .5px; white-space: nowrap;
}
.tx-sticky__btn:disabled { opacity: 0.4; cursor: default; }
.tx-sticky__btn:hover:not(:disabled) { opacity: 0.92; }

/* Guest bar */
.tx-guest {
    background: var(--tx-card); border: 1px solid var(--tx-border);
    border-radius: var(--tx-radius); padding: 22px 24px; text-align: center;
    font-size: 14px; color: var(--tx-text); font-family: 'DM Sans', sans-serif;
}
.tx-guest a { font-weight: 700; color: var(--tx-accent); text-decoration: none; }

/* ══════════════════════════════════════════════════
   MY TICKETS (dashboard)
   ══════════════════════════════════════════════════ */

/*
 * Member “我的门票” list: tokens live on .dashboard-page-body in dashboard.css (--tx-*).
 * Scoped to .dashboard-page-body so public storefront event pages keep gold :root --tx-*.
 */

.tx-member-area {
    margin: 0;
    padding: 0;
}

.dashboard-page-body .tx-member-area__subtitle {
    font-size: var(--tx-type-body);
    color: #374151;
    font-family: var(--tx-font-ui);
    line-height: 1.55;
    margin: 0.25rem 0 0;
    max-width: 42rem;
}

/* UI font + default size for ticket stack (inherits --tx-type-body via children) */
.dashboard-page-body .tx-member-area,
.dashboard-page-body .tx-tkt {
    font-family: var(--tx-font-ui);
}

/* Replace base DM Mono on these widgets so the whole page uses one UI stack */
.dashboard-page-body .tx-tkt__tag,
.dashboard-page-body .tx-tkt__status-label,
.dashboard-page-body .tx-tkt__status-num,
.dashboard-page-body .tx-tkt__qr-toggle,
.dashboard-page-body .tx-tkt__qr-hint,
.dashboard-page-body .tx-tkt__collapse-btn,
.dashboard-page-body .tx-filter-btn,
.dashboard-page-body .tx-entry-code-toggle {
    font-family: var(--tx-font-ui);
}

/* Filters — same body scale; caption only for numeric badge */
.dashboard-page-body .tx-filters {
    margin-bottom: 1rem;
    gap: 0.45rem;
}

.dashboard-page-body .tx-filter-btn {
    font-size: var(--tx-type-body);
    font-weight: 600;
    min-height: 3rem;
    padding: 0.55rem 1.1rem;
}

.dashboard-page-body .tx-filter-btn--active {
    background: var(--brand-primary, #d83a32);
    color: #fff;
    border-color: var(--brand-primary, #d83a32);
}

.dashboard-page-body .tx-filter-btn--active .tx-filter-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.dashboard-page-body .tx-filter-count {
    font-size: var(--tx-type-caption);
}

.dashboard-page-body .tx-tkt-list {
    gap: 1rem;
}

.dashboard-page-body .tx-tkt__event-title {
    font-family: var(--tx-font-ui);
    font-weight: 700;
    font-size: var(--tx-type-title);
    letter-spacing: -0.02em;
}

@media (min-width: 576px) {
    .dashboard-page-body .tx-tkt__event-title {
        font-size: var(--tx-type-title-lg);
    }
}

.dashboard-page-body .tx-tkt__event-subtitle {
    font-size: var(--tx-type-body);
    line-height: 1.45;
}

.dashboard-page-body .tx-tkt__tag {
    font-size: var(--tx-type-body);
    font-weight: 500;
    padding: 0.4rem 0.75rem;
}

.dashboard-page-body .tx-tkt__tag--accent {
    color: var(--brand-primary, #d83a32);
    background: rgba(216, 58, 50, 0.08);
}

/* Meta row: same body step as tags (overrides global .tx-tkt__meta micro type + mono) */
.dashboard-page-body .tx-tkt__meta,
.dashboard-page-body .tx-tkt__meta-value,
.dashboard-page-body .tx-tkt__meta-link {
    font-family: var(--tx-font-ui);
    font-size: var(--tx-type-body);
    line-height: 1.5;
}

.dashboard-page-body .tx-tkt__meta-label {
    font-size: var(--tx-type-label);
    letter-spacing: 0.03em;
}

.dashboard-page-body .tx-tkt__event-emoji--valid {
    background: rgba(216, 58, 50, 0.1);
}

.dashboard-page-body .tx-tkt__status-label {
    font-size: var(--tx-type-label);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dashboard-page-body .tx-tkt__status-num {
    font-size: var(--tx-type-body);
    font-weight: 700;
}

.dashboard-page-body .tx-tkt__qr-toggle {
    font-size: var(--tx-type-body);
    padding: 0.7rem 0.85rem;
    color: var(--brand-primary, #d83a32);
    border-color: var(--brand-primary, #d83a32);
}

.dashboard-page-body .tx-tkt__qr-toggle:hover {
    background: rgba(216, 58, 50, 0.06);
}

.dashboard-page-body .tx-tkt__holder-avatar--valid {
    background: var(--brand-primary, #d83a32);
    color: #fff;
}

.dashboard-page-body .tx-holder-edit__prompt {
    color: var(--brand-primary, #d83a32);
    border-color: rgba(216, 58, 50, 0.35);
}

.dashboard-page-body .tx-holder-edit__prompt:hover {
    border-color: var(--brand-primary, #d83a32);
    background: rgba(216, 58, 50, 0.04);
}

.dashboard-page-body .tx-holder-edit__save {
    background: var(--brand-primary, #d83a32);
    color: #fff;
}

.dashboard-page-body .tx-entry-code-toggle {
    font-size: var(--tx-type-body);
    color: var(--brand-primary, #d83a32);
}

.dashboard-page-body .tx-tkt__holder-name,
.dashboard-page-body .tx-holder-edit__prompt {
    font-size: var(--tx-type-body);
}

.dashboard-page-body .tx-tkt__holder-email {
    font-size: var(--tx-type-label);
}

.dashboard-page-body .tx-tkt__body {
    padding: 1rem 1.125rem 0.875rem;
}

.dashboard-page-body .tx-tkt__status {
    padding: 0.55rem 1.125rem;
}

.dashboard-page-body .tx-tkt__qr-section {
    padding: 0.65rem 1.125rem 0.875rem;
}

.dashboard-page-body .tx-holder-edit {
    padding: 0 1.125rem 0.65rem;
}

/* Holder block lives inside .tx-tkt__body — don’t double horizontal inset */
.dashboard-page-body .tx-tkt__body > .tx-holder-edit {
    padding-left: 0;
    padding-right: 0;
}

.dashboard-page-body .tx-tkt__checked-in {
    font-size: var(--tx-type-body);
}

.dashboard-page-body .tx-tkt__qr-hint,
.dashboard-page-body .tx-tkt__collapse-btn {
    font-size: var(--tx-type-body);
}

/* Used ticket header was hardcoded gold (#e08a3c) — clashes with brand red; use neutral “completed” slate */
.dashboard-page-body .tx-tkt__status--used {
    background: linear-gradient(135deg, #78716c, #57534e);
}

/* Awaiting issuance: same brand hue as VALID, but lighter surface (queue / not admitted yet) */
.dashboard-page-body .tx-tkt--pending-issue {
    border-color: rgba(216, 58, 50, 0.2);
}

.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue {
    background: linear-gradient(180deg, #fff8f7 0%, #ffeeeb 100%);
    border-bottom: 1px solid rgba(216, 58, 50, 0.12);
}

.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue .tx-tkt__status-label,
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue .tx-tkt__status-num {
    color: var(--brand-primary, #d83a32);
}

.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue .tx-tkt__status-num {
    opacity: 0.85;
}

.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue .tx-tkt__status-icon {
    background: rgba(216, 58, 50, 0.12);
    color: var(--brand-primary, #d83a32);
}

/* Pending-issue phases: unpaid vs payment review vs paid awaiting admission rows */
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_issue {
    align-items: flex-start;
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status-left {
    align-items: flex-start;
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
}
.dashboard-page-body .tx-tkt__pending-indicator {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 800;
    font-family: var(--tx-font-cta, 'DM Mono', monospace);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    line-height: 1.2;
}
.dashboard-page-body .tx-tkt__pending-indicator--unpaid {
    background: rgba(180, 83, 9, 0.14);
    color: #b45309;
    border: 1px solid rgba(180, 83, 9, 0.32);
}
.dashboard-page-body .tx-tkt__pending-indicator--awaiting_review {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    border: 1px solid rgba(37, 99, 235, 0.28);
}
.dashboard-page-body .tx-tkt__status--pending_issue.tx-tkt__status--pending_phase_unpaid {
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 1px solid rgba(180, 83, 9, 0.2);
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_unpaid .tx-tkt__status-label,
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_unpaid .tx-tkt__status-num {
    color: #92400e;
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_unpaid .tx-tkt__status-icon {
    background: rgba(180, 83, 9, 0.14);
    color: #b45309;
}
.dashboard-page-body .tx-tkt__status--pending_issue.tx-tkt__status--pending_phase_awaiting_review {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_awaiting_review .tx-tkt__status-label,
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_awaiting_review .tx-tkt__status-num {
    color: #1e40af;
}
.dashboard-page-body .tx-tkt--pending-issue .tx-tkt__status--pending_phase_awaiting_review .tx-tkt__status-icon {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

.dashboard-page-body .tx-tkt__event-emoji--pending {
    background: rgba(216, 58, 50, 0.08);
}

.dashboard-page-body .tx-tkt__event-thumb--pending {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f3f4f6;
    border: 1px solid var(--tx-border);
}

.dashboard-page-body .tx-tkt__event-thumb--pending img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.dashboard-page-body .tx-tkt__pending-hint {
    font-size: var(--tx-type-body);
    color: #374151;
    margin: 0.5rem 0 0.35rem;
    line-height: 1.5;
}

.dashboard-page-body .tx-tkt__pending-cta {
    margin-top: 0.25rem;
    padding: 0.85rem 1.125rem 1rem;
    display: flex;
    justify-content: center;
    border-top: 1px dashed rgba(216, 58, 50, 0.22);
    background: linear-gradient(180deg, rgba(255, 250, 249, 0.5) 0%, #fff 100%);
}

/* Ghost CTA: compact pill — not full-bleed width */
.dashboard-page-body .tx-tkt__pending-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    padding: 0.55rem 1.35rem;
    border-radius: 999px;
    font-size: var(--tx-type-body);
    font-weight: 700;
    font-family: var(--tx-font-cta);
    background: #fff;
    color: var(--brand-primary, #d83a32);
    text-decoration: none;
    border: 2px solid var(--brand-primary, #d83a32);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.dashboard-page-body .tx-tkt__pending-cta-btn:hover {
    background: var(--brand-primary, #d83a32);
    color: #fff;
    border-color: var(--brand-primary, #d83a32);
    filter: none;
}

/* Filter tabs */
.tx-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.125rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.tx-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.375rem;
    padding: 0.45rem 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'DM Mono', monospace;
    border: 1px solid var(--tx-border);
    background: var(--tx-card);
    color: var(--tx-text);
    transition: background .15s, border-color .15s, color .15s;
}
.tx-filter-btn--active {
    background: var(--tx-accent);
    color: #0a0a0a;
    border-color: var(--tx-accent);
}
.tx-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1;
    border-radius: 999px;
    background: var(--tx-bg);
    color: var(--tx-muted);
}
.tx-filter-btn--active .tx-filter-count {
    background: rgba(0, 0, 0, 0.14);
    color: #0a0a0a;
}

/* Ticket card — shared horizontal inset */
.tx-tkt-list { display: flex; flex-direction: column; gap: 1.125rem; }
.tx-tkt {
    background: var(--tx-card); border: 1px solid var(--tx-border);
    border-radius: 16px; overflow: hidden; transition: all .3s ease;
}
.tx-tkt--expired { opacity: 0.6; }

/* Status bar */
.tx-tkt__status {
    padding: 0.65rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tx-tkt__status--valid { background: linear-gradient(135deg, var(--tx-grad-a), var(--tx-grad-b)); }
.tx-tkt__status--used  { background: linear-gradient(135deg, #e08a3c, #c06a20); }
.tx-tkt__status--expired { background: linear-gradient(135deg, #aaa, #888); }
.tx-tkt__status-left { display: flex; align-items: center; gap: 8px; }
.tx-tkt__status-icon {
    background: rgba(255,255,255,.25); border-radius: 6px;
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 900; color: #fff;
}
.tx-tkt__status-label { font-size: 12px; font-weight: 700; color: #fff; font-family: 'DM Mono', monospace; letter-spacing: 1px; }
.tx-tkt__status-num { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); font-family: 'DM Mono', monospace; }

/* Card body */
.tx-tkt__body { padding: 1.125rem 1.25rem 1rem; }
.tx-tkt__event-row { display: flex; align-items: flex-start; gap: 0.875rem; margin-bottom: 0.75rem; }
.tx-tkt__event-emoji {
    width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.tx-tkt__event-emoji--valid { background: rgba(200,164,85,.12); }
.tx-tkt__event-emoji--other { background: var(--tx-bg); }
.tx-tkt__event-info { flex: 1; min-width: 0; }
.tx-tkt__event-title {
    font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 800;
    color: var(--tx-text); letter-spacing: -0.02em; line-height: 1.3;
}
@media (min-width: 576px) {
    .tx-tkt__event-title { font-size: 1.25rem; }
}
.tx-tkt__event-subtitle { font-size: 0.75rem; color: var(--tx-muted); font-family: 'DM Sans', sans-serif; margin-top: 0.2rem; line-height: 1.35; }

/* Tags */
.tx-tkt__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.tx-tkt__tag {
    font-size: 0.6875rem; font-weight: 600; font-family: 'DM Mono', monospace;
    color: var(--tx-text); background: var(--tx-bg);
    padding: 0.35rem 0.65rem; border-radius: 999px; white-space: nowrap;
    line-height: 1.2;
}
.tx-tkt__tag--accent { color: var(--tx-accent); background: rgba(200,164,85,.08); }

.tx-tkt__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0 0;
    border-top: 1px dashed var(--tx-border);
    font-size: 0.6875rem;
    line-height: 1.45;
    font-family: 'DM Mono', monospace;
    color: var(--tx-muted);
}
.tx-tkt__meta-item {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}
.tx-tkt__meta-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--tx-muted);
}
.tx-tkt__meta-value { color: var(--tx-text); font-weight: 600; }
a.tx-tkt__meta-link {
    color: var(--tx-accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
a.tx-tkt__meta-link:hover { text-decoration: underline; }

/* Holder row */
.tx-tkt__holder {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: var(--tx-bg); border-radius: 10px; margin-bottom: 4px;
}
/* Editable holder row: white surface + border so it reads as active, not read-only grey */
.tx-tkt__holder--editable {
    background: var(--tx-card);
    border: 1px solid var(--tx-border);
}
.tx-tkt__holder-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 800; font-family: 'DM Mono', monospace;
}
.tx-tkt__holder-avatar--valid { background: var(--tx-accent); color: #0a0a0a; }
.tx-tkt__holder-avatar--other { background: var(--tx-border); color: var(--tx-muted); }
.tx-tkt__holder-info { flex: 1; min-width: 0; }
.tx-tkt__holder--editable .tx-tkt__holder-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.tx-tkt__holder-texts {
    flex: 1;
    min-width: 0;
}
.tx-tkt__holder-name {
    font-size: 13px; font-weight: 600; color: var(--tx-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tx-tkt__holder-email {
    font-size: 11px; color: var(--tx-muted); font-family: 'DM Mono', monospace;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Checked-in info */
.tx-tkt__checked-in {
    display: flex; align-items: flex-start; gap: 0.4rem;
    padding: 0.5rem 0 0;
    margin-top: 0.125rem;
    font-size: 0.75rem; color: var(--tx-used); font-family: 'DM Sans', sans-serif; font-weight: 600;
    line-height: 1.4;
}

/* Perforation */
.tx-tkt__perf { border-top: 2px dashed var(--tx-border); margin: 0; position: relative; height: 0; }
.tx-tkt__perf-circle {
    width: 22px; height: 22px; border-radius: 50%; background: var(--tx-bg);
    position: absolute; top: -11px;
}
.tx-tkt__perf-circle--left  { left: -11px; }
.tx-tkt__perf-circle--right { right: -11px; }

/* QR section */
.tx-tkt__qr-section { padding: 0.75rem 1.25rem 1rem; }
.tx-tkt__qr-toggle {
    width: 100%; padding: 0.65rem 0.75rem; background: transparent;
    border: 1.5px solid var(--tx-accent); border-radius: 10px;
    cursor: pointer; font-size: 0.8125rem; font-weight: 700;
    font-family: 'DM Mono', monospace; color: var(--tx-accent); transition: all .15s;
}
.tx-tkt__qr-toggle:hover { background: rgba(200,164,85,.06); }
.tx-tkt__qr-toggle--used { border-color: var(--tx-border); color: var(--tx-muted); }
.tx-tkt__qr-toggle--expired { border-color: var(--tx-border); color: var(--tx-muted); cursor: not-allowed; }

.tx-tkt__qr-content {
    display: flex; flex-direction: column; align-items: center;
    animation: txFadeUp .3s ease forwards;
}
.tx-tkt__qr-hint {
    font-size: 11px; color: var(--tx-muted); font-family: 'DM Mono', monospace;
    margin-top: 12px; margin-bottom: 16px; text-align: center;
}

/* Entry code */
.tx-entry-code-toggle {
    width: 100%; padding: 10px; background: var(--tx-bg);
    border: 1px solid var(--tx-border); border-radius: 10px;
    cursor: pointer; font-size: 12px; font-weight: 600;
    font-family: 'DM Mono', monospace; color: var(--tx-accent);
}
.tx-entry-code {
    background: var(--tx-bg); border: 1px solid var(--tx-border);
    border-radius: 10px; padding: 12px 16px; text-align: center;
    animation: txFadeUp .25s ease forwards;
}
.tx-entry-code__label {
    font-size: 10px; color: var(--tx-muted); font-family: 'DM Mono', monospace;
    letter-spacing: 1px; margin-bottom: 6px;
}
.tx-entry-code__value {
    font-size: 22px; font-weight: 900; font-family: 'DM Mono', monospace;
    color: var(--tx-text); letter-spacing: 3px;
}
.tx-entry-code__hint { font-size: 10px; color: var(--tx-muted); font-family: 'DM Mono', monospace; margin-top: 6px; }

.tx-tkt__collapse-btn {
    background: none; border: none; font-size: 12px; font-weight: 600;
    font-family: 'DM Mono', monospace; color: var(--tx-muted);
    cursor: pointer; padding: 6px 0;
}

/* Holder edit (inline) */
.tx-holder-edit {
    padding: 0 1.25rem 0.75rem;
}
.tx-holder-edit__prompt {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; color: var(--tx-accent);
    background: none; border: 1.5px dashed rgba(200,164,85,.35);
    border-radius: 8px; padding: 8px 16px; cursor: pointer; width: 100%; justify-content: center;
    font-family: 'DM Mono', monospace; transition: all .15s;
}
.tx-holder-edit__prompt:hover { background: rgba(200,164,85,.06); border-color: var(--tx-accent); }
.tx-holder-edit__form { margin-top: 8px; }
.tx-holder-edit__row { display: flex; gap: 8px; flex-wrap: wrap; }
.tx-holder-edit__input {
    flex: 1; min-width: 120px; font-size: 13px; padding: 10px 12px;
    background: var(--tx-card); border: 1px solid var(--tx-border); border-radius: 8px;
    color: var(--tx-text); font-family: 'DM Sans', sans-serif; outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.tx-holder-edit__input:focus { border-color: var(--tx-accent); }
/* iOS Safari: email autofill paints a grey background — keep fields clearly editable */
.tx-holder-edit__input:-webkit-autofill,
.tx-holder-edit__input:-webkit-autofill:hover,
.tx-holder-edit__input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--tx-text);
    box-shadow: 0 0 0 1000px var(--tx-card) inset;
    transition: background-color 5000s ease-out 0s;
}
.tx-holder-edit__actions { display: flex; gap: 8px; margin-top: 8px; }
.tx-holder-edit__save {
    flex: 1; padding: 9px; font-size: 12px; font-weight: 700;
    background: var(--tx-accent); color: #0a0a0a; border: none; border-radius: 8px;
    cursor: pointer; font-family: 'DM Mono', monospace;
}
.tx-holder-edit__cancel {
    padding: 9px 16px; font-size: 12px; font-weight: 600;
    background: var(--tx-bg); color: var(--tx-muted); border: none; border-radius: 8px;
    cursor: pointer; font-family: 'DM Mono', monospace;
}
.tx-holder-edit__error { font-size: 11px; color: var(--tx-danger); margin-top: 6px; }
.tx-holder-edit__name-display {
    display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--tx-text);
}
.tx-holder-edit__edit-btn {
    background: none; border: none; color: var(--tx-muted); cursor: pointer;
    padding: 2px 4px; border-radius: 4px; line-height: 1; transition: color .15s;
}
.tx-holder-edit__edit-btn:hover { color: var(--tx-accent); }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 575.98px) {
    .tx-hero { height: 160px; border-radius: 12px; padding: 16px 18px; }
    .tx-hero__title { font-size: 24px; }
    .tx-info-grid { grid-template-columns: 1fr !important; }
    .tx-ev-card__visual { height: 130px; }
    .tx-ev-card__title { font-size: 18px; }
    .tx-ev-card__body { padding: 16px 18px 18px; }
    .tx-tier { padding: 14px 16px; }
    .tx-sticky__inner { padding: 14px 18px; }
    .tx-sticky__btn { padding: 12px 24px; font-size: 13px; }
    .tx-tkt__body { padding: 1rem 1rem 0.875rem; }
    .tx-tkt__status { padding-left: 1rem; padding-right: 1rem; }
    .tx-tkt__event-emoji { width: 40px; height: 40px; font-size: 22px; }
    .tx-tkt__event-title { font-size: 1.0625rem; }
    .tx-tkt__qr-section { padding: 0.65rem 1rem 0.875rem; }
    .tx-holder-edit { padding-left: 1rem; padding-right: 1rem; }
    .tx-holder-edit__row { flex-direction: column; }
    /* iOS: inputs < 16px trigger focus zoom; blur restores scale and can clip the layout */
    .tx-holder-edit__input {
        font-size: 16px;
    }
}

/* ─── Event detail (/events/{id}/tickets) — storefront theme (9981 / Molla) ─── */

/* Full-width event cover image */
.et-event-cover {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #111;
}
.et-event-cover__img {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: contain;
    object-position: center;
    background: #111;
}
.et-event-cover__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 0 1.8rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
}
.et-event-cover__title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    margin: 0;
    letter-spacing: 0.01em;
    line-height: 1.25;
}
@media (max-width: 575.98px) {
    .et-event-cover { max-height: 320px; }
    .et-event-cover__img { max-height: 320px; }
    .et-event-cover__overlay { padding: 1.6rem 0 1.2rem; }
    .et-event-cover__title { font-size: 1.8rem; }
}

/* About section */
.et-about-section {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    border-left: 4px solid var(--brand-primary);
}
.et-about-section__heading {
    font-family: Poppins, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 0.8rem;
}
.et-about-section__body {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #333;
}

/* Guest login banner */
.et-login-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff8f0;
    border: 1px solid #f5dcc3;
    border-radius: 12px;
    padding: 1.2rem 1.6rem;
}
.et-login-banner__text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #444;
}
.et-login-banner__actions {
    display: flex;
    gap: 0.6rem;
    flex-shrink: 0;
}
.et-login-banner__btn {
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}
@media (max-width: 575.98px) {
    .et-login-banner {
        flex-direction: column;
        text-align: center;
    }
    .et-login-banner__actions {
        width: 100%;
        justify-content: center;
    }
}

/* Guest login button on tier card */
.et-tier-card__login-btn {
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.4rem 1.4rem;
    border-radius: 999px;
}

/* T&C section (clear, numbered list) */
.et-tnc-heading {
    font-family: Poppins, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 1rem;
}
.et-tnc-list {
    padding-left: 1.4rem;
    margin: 0 0 1.4rem;
}
.et-tnc-list li {
    font-size: 1.2rem;
    line-height: 1.65;
    color: #444;
    margin-bottom: 0.45rem;
}

.event-ticket-page .page-header .page-title {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.event-tickets-detail {
    background-color: #fff;
    color: #333;
    padding-bottom: 6rem;
    font-family: Poppins, sans-serif;
}

.event-tickets-detail .et-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #777;
    text-decoration: none;
    font-size: 1.3rem;
}
.event-tickets-detail .et-back-link:hover {
    color: var(--brand-primary);
}

/* Checkout conflict / flash — match ticket detail page (readable body text, brand CTAs; avoid Bootstrap alert fills) */
.event-tickets-detail .et-checkout-notice {
    border-radius: var(--tx-radius, 16px);
    border: 1px solid var(--tx-border, #e3ddd3);
    background: var(--tx-card, #fff);
    padding: 1.15rem 1.3rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.event-tickets-detail .et-checkout-notice--pending {
    border-left: 4px solid var(--tx-accent, #c8a455);
    background: #fffdf9;
}
.event-tickets-detail .et-checkout-notice--blocked,
.event-tickets-detail .et-checkout-notice--flash-error {
    border-left: 4px solid #c45c4e;
    background: #fffdf9;
}
.event-tickets-detail .et-checkout-notice--flash-success {
    border-left: 4px solid var(--tx-success, #2a9d58);
    background: #f6fff9;
}
.event-tickets-detail .et-checkout-notice__text {
    color: #1a1a1a;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.event-tickets-detail .et-checkout-notice__text:last-child {
    margin-bottom: 0;
}
.event-tickets-detail .et-checkout-notice__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    align-items: center;
}
.event-tickets-detail .et-checkout-notice__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid transparent;
    cursor: pointer;
    transition: filter 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    font-family: inherit;
    line-height: 1.2;
}
.event-tickets-detail .et-checkout-notice__btn--primary {
    background: var(--brand-primary, #d83a32);
    color: #fff !important;
    border-color: var(--brand-primary, #d83a32);
}
.event-tickets-detail .et-checkout-notice__btn--primary:hover {
    filter: brightness(1.06);
    color: #fff !important;
}
.event-tickets-detail .et-checkout-notice__btn--secondary {
    background: #fff;
    color: #333 !important;
    border-color: #ddd;
}
.event-tickets-detail .et-checkout-notice__btn--secondary:hover {
    border-color: var(--brand-primary, #d83a32);
    color: var(--brand-primary, #d83a32) !important;
}

/* Back link: single “<” + label (no duplicate arrow icon) */
.event-tickets-detail .et-back-link__chev,
.event-tickets-flow .et-back-link__chev {
    font-weight: 600;
    margin-right: 0.1em;
    user-select: none;
}
.event-tickets-flow .et-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}
.event-tickets-flow .et-back-link:hover {
    opacity: 0.88;
}

/* Ticket context — light strip so it reads as “buying admission”, not a second product hero */
.et-ticket-context {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    padding: 1.5rem 1.6rem;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    border-left: 4px solid var(--brand-primary);
}
.et-ticket-context__mark {
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
}
.et-ticket-context__text {
    flex: 1;
    min-width: 0;
}
.et-ticket-context__title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    font-family: Poppins, sans-serif;
}
.et-ticket-context__subtitle {
    margin: 0 0 0.65rem;
    font-size: 1.25rem;
    line-height: 1.55;
    color: #555;
}
.et-ticket-context__type {
    margin: 0;
    font-size: 1.2rem;
    color: #666;
}
.et-ticket-context__type-label {
    font-weight: 600;
    color: #444;
}

/* Info cells — light border, white (shop-style) */
.et-info-cell {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.4rem 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 9rem;
}
.et-info-cell__label {
    display: block;
    font-size: 1.1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.et-info-cell__value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
}

.et-section-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0;
    margin-bottom: 0 !important;
}
.et-section-sub {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

/* Legacy: hero with event cover (now using .et-event-cover instead) */

/* Tier card — product image (SKU / gallery) */
.et-tier-card--has-image {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.et-tier-card--has-image .et-tier-card__media {
    position: relative;
    flex-shrink: 0;
    background: #f0f0f0;
}
.et-tier-card--has-image .et-tier-card__img {
    width: 100%;
    display: block;
    object-fit: cover;
}
@media (min-width: 576px) {
    .et-tier-card--has-image {
        flex-direction: row;
        align-items: stretch;
    }
    .et-tier-card--has-image .et-tier-card__media {
        flex: 0 0 200px;
        width: 200px;
        max-width: 40%;
        min-height: 1px;
    }
    .et-tier-card--has-image .et-tier-card__img {
        height: 100%;
        min-height: 168px;
    }
}
@media (max-width: 575.98px) {
    .et-tier-card--has-image .et-tier-card__media {
        max-height: 220px;
        overflow: hidden;
    }
    .et-tier-card--has-image .et-tier-card__img {
        height: 200px;
    }
}

/* Stronger body copy contrast on detail page */
.event-tickets-detail .et-info-cell__label {
    color: #555 !important;
}
.event-tickets-detail .et-tier-card__meta {
    color: #444 !important;
}
.event-tickets-detail .et-back-link {
    color: #333 !important;
}
.event-tickets-detail .et-ticket-context__subtitle {
    color: #333 !important;
}
.event-tickets-detail .et-ticket-context__type {
    color: #444 !important;
}
.event-tickets-detail .et-tier-card__qty-label {
    color: #444 !important;
}

/* Terms & policies */
.et-ticket-tnc--detail {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.et-ticket-tnc__lead {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}
/* Tier list width */
.event-tickets-tier-list {
    max-width: 720px;
    margin: 0 auto 5rem;
}

.et-tier-card {
    position: relative;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.et-tier-card--selected {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary);
}
.et-tier-card--soldout {
    background: #f5f5f5;
    border-color: #ddd;
    pointer-events: none;
}
.et-tier-card--soldout .et-tier-card__price {
    color: #888 !important;
}
/* Sold-out badge sits on the image only (never over title/price). */
.et-tier-card--has-image .et-tier-card__media .et-tier-card__soldout-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    top: auto;
    z-index: 2;
    padding: 7px 12px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    background: rgba(45, 45, 45, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}
.et-tier-card__soldout-strip {
    margin: 0 0 1rem 0;
    padding: 9px 12px;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    background: rgba(45, 45, 45, 0.92);
    border-radius: 8px;
    pointer-events: none;
}
.et-tier-card__body > .et-tier-card__soldout-strip:first-child {
    margin-top: 0;
}
.et-tier-card__media--soldout::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1;
}
.et-tier-card__body {
    padding: 1.6rem 1.5rem;
}
.et-tier-card__name {
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}
.et-tier-card__meta {
    font-size: 1.2rem;
    color: #777;
}
.et-tier-card__offer {
    font-size: 1.15rem;
    line-height: 1.45;
    color: #5a5a5a;
    margin-bottom: 0.35rem;
}
.et-tier-card__stock {
    font-size: 1.2rem;
}
.event-tickets-detail .et-tier-card__offer {
    color: #555 !important;
}
.et-tier-card__price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    font-family: Poppins, sans-serif;
}

.event-ticket-progress {
    height: 4px;
    border-radius: 2px;
    background: #ebebeb;
    overflow: hidden;
}
.event-ticket-progress__bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}
.event-ticket-progress__bar--low {
    background: var(--brand-primary);
}
.event-ticket-progress__bar--med {
    background: #e8a045;
}
.event-ticket-progress__bar--high {
    background: #dc3545;
}

/* Pill quantity control */
.et-tier-card__qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    margin-top: 0.5rem;
    border-top: 1px solid #ebebeb;
}
.et-tier-card__qty-label {
    font-size: 1.2rem;
    color: #888;
}
.et-qty-pill {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #dcdcdc;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}
.et-qty-pill__btn {
    border: none;
    background: transparent;
    padding: 0.45rem 1rem;
    color: #333;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.et-qty-pill__btn:hover:not(:disabled) {
    background: #f5f5f5;
    color: var(--brand-primary);
}
.et-qty-pill__btn:disabled {
    opacity: 0.35;
    cursor: default;
}
.et-qty-pill__val {
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    min-width: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
}

/* Sticky bar */
.event-ticket-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 920;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    background: #fff;
    border-top: 1px solid #ebebeb;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
}
.event-ticket-sticky.event-ticket-sticky--visible {
    transform: translateY(0);
}
.et-sticky__count {
    font-size: 1.2rem;
    color: #888;
}
.et-sticky__total {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    font-family: Poppins, sans-serif;
}
.event-tickets-detail .et-sticky__btn {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
    font-weight: 600;
    border-radius: 8px;
}
.event-tickets-detail .et-sticky__btn.et-sticky__btn--processing {
    pointer-events: none;
    cursor: wait;
    opacity: 0.95;
}
.event-tickets-detail .et-sticky__btn--processing .et-btn-processing__text {
    animation: et-continue-processing 1.15s ease-in-out infinite;
}
@keyframes et-continue-processing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

@media (max-width: 575.98px) {
    .et-ticket-context {
        flex-direction: row;
        padding: 1.2rem 1.25rem;
    }
    .et-ticket-context__title {
        font-size: 1.35rem;
    }
    .et-ticket-context__subtitle {
        font-size: 1.15rem;
    }
    .et-info-cell {
        min-height: 0;
        padding: 1.1rem 0.75rem;
    }
    .et-info-cell__value {
        font-size: 1.15rem;
    }
}

/* ═══ Ticket checkout flow: holder step + payment (storefront / Poppins / --brand-primary) ═══ */
.event-tickets-flow {
    background: #fff;
    color: #333;
    min-height: 60vh;
    font-family: Poppins, sans-serif;
    overflow-x: clip;
    max-width: 100%;
    box-sizing: border-box;
}

.et-flow-container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Theme .page-wrapper is flex; direct children need a full-width main for ticket flows */
.event-ticket-page {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.event-ticket-page .page-content.event-tickets-flow {
    width: 100%;
    max-width: 100%;
}
.event-tickets-flow .container.et-flow-container {
    padding-left: max(var(--bs-gutter-x, 0.75rem), env(safe-area-inset-left, 0px));
    padding-right: max(var(--bs-gutter-x, 0.75rem), env(safe-area-inset-right, 0px));
}
/* Parent uses gap; avoid stacking margin-bottom on each card */
.et-holder-cards-stack .et-holder-card {
    margin-bottom: 0;
}

.et-flow-step {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 auto 1.5rem;
    max-width: 42rem;
}
@media (min-width: 576px) {
    .et-flow-step {
        margin-bottom: 2.8rem;
    }
}
.et-flow-step__dot {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.et-flow-step__dot--active {
    background: var(--brand-primary);
    color: #fff;
}
.et-flow-step__dot--pending {
    background: transparent;
    color: #999;
    border: 1.5px solid #ccc;
}
.et-flow-step__line {
    flex: 1;
    height: 2px;
    margin: 0 0.6rem;
    transition: background 0.25s ease;
}
.et-flow-step__line--done {
    background: var(--brand-primary);
}
.et-flow-step__line--pending {
    background: #ebebeb;
}

.et-flow-section-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1.2rem;
    letter-spacing: 0;
}

.et-purchaser-block {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    min-width: 0;
}
.et-purchaser-block__avatar {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.et-purchaser-block__name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #222;
}
.et-purchaser-block__email {
    font-size: 1.2rem;
    color: #888;
}
.et-purchaser-block__badge {
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(176, 31, 36, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    flex-shrink: 0;
}
@media (max-width: 575.98px) {
    .et-purchaser-block__badge {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

.et-flow-summary {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.5rem;
    min-width: 0;
}
@media (min-width: 576px) {
    .et-flow-summary {
        padding: 2rem 2.2rem;
        margin-bottom: 2.4rem;
    }
}
.et-flow-summary__event-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.35rem;
    font-family: Georgia, "Times New Roman", Times, serif;
}
.et-flow-summary__meta {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 1.4rem;
    line-height: 1.4;
}
.et-flow-summary__line {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-top: 1px solid #ebebeb;
    font-size: 1.3rem;
}
.et-flow-summary__line-amt {
    font-weight: 600;
    flex-shrink: 0;
}
.et-flow-summary__meta + .et-flow-summary__line {
    border-top: none;
    padding-top: 0;
}
.et-flow-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    padding-top: 1.2rem;
    margin-top: 0.6rem;
    border-top: 2px solid var(--brand-primary);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.25;
}
.et-flow-summary__total span:last-child {
    color: var(--brand-primary);
}

.et-holder-tier-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.et-holder-tier-heading__qty {
    background: var(--brand-primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
}

.et-holder-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    margin-bottom: 1rem;
    min-width: 0;
    max-width: 100%;
}
.et-holder-card__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.et-holder-card__num {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
}

.et-use-me-check-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    max-width: 100%;
    cursor: pointer;
    user-select: none;
}
.et-use-me-check-wrap--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.et-use-me-cb {
    flex-shrink: 0;
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.2em;
    accent-color: var(--brand-primary);
    cursor: pointer;
}
.et-use-me-check-wrap--disabled .et-use-me-cb {
    cursor: not-allowed;
}
.et-use-me-label {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--brand-primary);
    margin: 0;
    cursor: pointer;
}
.et-use-me-check-wrap--disabled .et-use-me-label {
    cursor: not-allowed;
}
@media (max-width: 575.98px) {
    .et-use-me-label {
        font-size: 1rem;
    }
}

.et-holder-fields {
    display: flex;
    gap: 1rem;
    min-width: 0;
}
.et-holder-fields label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
    display: block;
    margin-bottom: 0.45rem;
}
.et-holder-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
    color: #222;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.et-holder-input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(176, 31, 36, 0.12);
}
.et-holder-input:disabled,
.et-holder-input:read-only {
    opacity: 0.65;
    cursor: not-allowed;
    background: #f9f9f9;
}

.et-agree-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2.4rem;
    cursor: pointer;
}
.et-agree-check {
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.et-agree-check--off {
    border: 1.5px solid #ccc;
    background: transparent;
}
.et-agree-check--on {
    border: none;
    background: var(--brand-primary);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}
.et-agree-text {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.55;
}
.et-agree-text .et-agree-link {
    display: inline;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    color: var(--brand-primary, #b01f24);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    vertical-align: baseline;
}
.et-agree-text .et-agree-link:hover {
    opacity: 0.88;
}
/*
 * Event ticket policy modals
 * Theme style.css sets GLOBAL heading sizes (html 62.5%): h2=3.6rem, h5=2rem, body=300 — so bar + CMS
 * h2 looked identical/wrong. Bar title is now a <div> (not h5). Sizes use px + #id so they win over theme.
 */
.et-event-policy-modal .et-event-policy-modal__content {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}
.et-event-policy-modal .et-event-policy-modal__header {
    padding: 1.25rem 1.5rem 1.15rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
}
#etModalTicketTnc .et-event-policy-modal__title,
#etModalTicketRefund .et-event-policy-modal__title {
    margin: 0;
    padding-right: 0.5rem;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #000 !important;
    letter-spacing: -0.01em;
}
.et-event-policy-modal .et-event-policy-modal__close {
    margin-top: 0.1rem;
    opacity: 0.65;
}
.et-event-policy-modal .et-event-policy-modal__close:hover {
    opacity: 1;
}
.et-event-policy-modal .et-event-policy-modal__body {
    padding: 1.5rem 2rem 1.65rem;
}
.et-event-policy-modal .et-event-policy-modal__footer {
    padding: 1rem 1.5rem 1.25rem;
    margin-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #fafafa;
    justify-content: center;
}
/* Footer: standard .btn.btn-primary.btn-action (see bootstrap-tweaks.css --brand-primary) */
.et-event-policy-modal .et-event-policy-modal__footer .et-event-policy-modal__btn-close {
    min-width: 7rem;
    padding: 0.5rem 1.25rem;
    font-weight: 300;
}
#etModalTicketTnc .et-event-policy-modal__fallback,
#etModalTicketRefund .et-event-policy-modal__fallback {
    color: #000 !important;
    line-height: 1.65 !important;
    font-size: 14px !important;
    font-weight: 300 !important;
}
/* Body copy: explicit px; weight 300 (light, matches theme body) */
#etModalTicketTnc .et-policy-modal-body,
#etModalTicketRefund .et-policy-modal-body {
    font-size: 14px !important;
    font-weight: 300 !important;
    line-height: 1.7 !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body p,
#etModalTicketRefund .et-policy-modal-body p,
#etModalTicketTnc .et-policy-modal-body li,
#etModalTicketRefund .et-policy-modal-body li,
#etModalTicketTnc .et-policy-modal-body td,
#etModalTicketRefund .et-policy-modal-body td {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body th,
#etModalTicketRefund .et-policy-modal-body th {
    font-size: 14px !important;
    font-weight: 300 !important;
    color: #000 !important;
}
/*
 * Policy modal headings: bold (700). Main title line slightly larger than section lines.
 * CMS may use h2/h3 (legacy) or h4; body paragraphs stay weight 300.
 */
#etModalTicketTnc .et-policy-modal-body h2,
#etModalTicketRefund .et-policy-modal-body h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.35rem !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body h3,
#etModalTicketRefund .et-policy-modal-body h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.35rem !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body h4:first-of-type,
#etModalTicketRefund .et-policy-modal-body h4:first-of-type {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.35rem !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body h4:not(:first-of-type),
#etModalTicketRefund .et-policy-modal-body h4:not(:first-of-type) {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.35rem !important;
    color: #000 !important;
}
#etModalTicketTnc .et-policy-modal-body h2:first-child,
#etModalTicketRefund .et-policy-modal-body h2:first-child,
#etModalTicketTnc .et-policy-modal-body h3:first-child,
#etModalTicketRefund .et-policy-modal-body h3:first-child,
#etModalTicketTnc .et-policy-modal-body h4:first-child,
#etModalTicketRefund .et-policy-modal-body h4:first-child {
    margin-top: 0 !important;
}
#etModalTicketTnc .et-policy-modal-body a,
#etModalTicketRefund .et-policy-modal-body a {
    color: #000 !important;
    font-weight: 300 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
}
.et-policy-modal-body p {
    margin-bottom: 0.75rem;
}
.et-policy-modal-body p:last-child {
    margin-bottom: 0;
}
#etModalTicketTnc .et-policy-modal-body ul,
#etModalTicketTnc .et-policy-modal-body ol,
#etModalTicketRefund .et-policy-modal-body ul,
#etModalTicketRefund .et-policy-modal-body ol {
    margin: 0.5rem 0 0.85rem;
    padding-left: 1.35rem;
    list-style: disc;
}
#etModalTicketTnc .et-policy-modal-body ol,
#etModalTicketRefund .et-policy-modal-body ol {
    list-style: decimal;
}
.et-policy-modal-body li {
    margin-bottom: 0.35rem;
}
.et-policy-modal-body li:last-child {
    margin-bottom: 0;
}

.et-flow-submit {
    width: 100%;
    padding: 1.4rem 1.6rem;
    border: none;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.et-flow-submit--active {
    background: var(--brand-primary);
    color: #fff;
}
.et-flow-submit--active:hover {
    opacity: 0.92;
}
.et-flow-submit--disabled {
    background: #ebebeb;
    color: #999;
    cursor: not-allowed;
}

/* Payment step */
.et-amount-due {
    text-align: center;
    margin-bottom: 2.8rem;
}
.et-amount-due__label {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 0.5rem;
}
.et-amount-due__value {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.et-pay-summary-mini {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.6rem 2rem;
    margin-bottom: 2.8rem;
}
.et-pay-summary-mini__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.35rem;
    font-family: Georgia, "Times New Roman", Times, serif;
}
.et-pay-summary-mini__meta {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 1rem;
}
.et-pay-summary-mini__line {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    padding: 0.35rem 0;
    color: #333;
}

.et-payment-method {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.4rem 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1rem;
}
.et-payment-method:hover {
    border-color: #ddd;
}
.et-payment-method--selected {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 1px var(--brand-primary);
}
.et-payment-method__icon {
    font-size: 2.4rem;
    line-height: 1;
}
.et-payment-method__name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
}
.et-payment-method__desc {
    font-size: 1.2rem;
    color: #888;
}
.et-payment-method__radio {
    margin-left: auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.et-payment-method__radio--off {
    border: 1.5px solid #ccc;
}
.et-payment-method__radio--on {
    background: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
}

.et-secure-notice {
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}
.et-secure-notice__text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.et-pay-submit {
    width: 100%;
    padding: 1.4rem 1.6rem;
    background: var(--brand-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.et-pay-submit:hover:not(:disabled) {
    opacity: 0.92;
}
.et-pay-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.et-pay-processing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 32rem;
}
.et-pay-spinner {
    width: 5rem;
    height: 5rem;
    border: 3px solid #ebebeb;
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: etFlowSpin 0.9s linear infinite;
    margin-bottom: 2rem;
}
@keyframes etFlowSpin {
    to {
        transform: rotate(360deg);
    }
}
.et-pay-processing__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
}
.et-pay-processing__hint {
    font-size: 1.3rem;
    color: #888;
}

@media (max-width: 575.98px) {
    .et-holder-fields {
        flex-direction: column;
    }
    .et-amount-due__value {
        font-size: 2.8rem;
    }
    .et-purchaser-block {
        padding: 1.1rem 1.15rem;
        margin-bottom: 1.25rem;
    }
    .et-holder-card {
        padding: 1.25rem 1.1rem;
    }
    .et-flow-summary__total {
        font-size: 1.45rem;
        padding-top: 0.65rem;
        margin-top: 0.35rem;
    }
    .et-flow-summary {
        margin-bottom: 1.15rem;
    }
    .et-flow-summary__meta {
        margin-bottom: 1rem;
    }
    .et-flow-step {
        margin-bottom: 1rem;
    }
    .et-flow-section-label {
        margin-bottom: 0.85rem;
    }
    .holders-intro {
        margin-bottom: 0.85rem !important;
    }
    .event-ticket-page .page-content {
        padding-bottom: 4rem;
    }
}
