/* ==========================================================================
   Ambitus Ticketing – Frontend Stylesheet
   ========================================================================== */

/* --- Root: static tokens (dynamic brand colours set inline via PHP) --- */
:root {
    --radius-lg: 1rem;
    --radius-md: .65rem;
    --shadow-card: 0 2px 16px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,.12);
}

/* --- Base --- */
* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
body { background: #f5f5f8; color: #2d2d3a; -webkit-font-smoothing: antialiased; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* ==========================================================================
   Layout – Navbar
   ========================================================================== */
.am-nav {
    background: var(--brand-dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: .6rem 0;
    position: sticky; top: 0; z-index: 1030;
    backdrop-filter: blur(12px);
}
.am-nav .nav-toggler {
    display: none; background: none; border: 1.5px solid rgba(255,255,255,.25);
    border-radius: .4rem; padding: .35rem .55rem; cursor: pointer;
    color: var(--brand-header-text); font-size: 1.15rem; line-height: 1;
    transition: background .15s;
}
.am-nav .nav-toggler:hover { background: rgba(255,255,255,.1); }
@media (max-width: 991px) {
    .am-nav .nav-toggler { display: inline-flex; align-items: center; justify-content: center; }
    .am-nav .nav-collapse {
        display: none; width: 100%;
        flex-direction: column; gap: .25rem;
        padding: .75rem 0 .5rem;
    }
    .am-nav .nav-collapse.show { display: flex; }
    .am-nav .nav-collapse .navbar-nav {
        flex-direction: column !important; gap: .15rem !important; width: 100%;
    }
    .am-nav .nav-collapse .nav-link { padding: .55rem .8rem; }
    .am-nav .nav-collapse .btn-register { display: inline-block; text-align: center; margin: .35rem .8rem 0; }
    .am-nav .nav-top-row { flex-wrap: wrap; }
}
@media (min-width: 992px) {
    .am-nav .nav-collapse { display: flex !important; align-items: center; flex: 1; }
    .am-nav > .container-fluid { display: flex; align-items: center; }
}
.am-nav .nav-link, .am-nav .brand-text { color: var(--brand-header-text) !important; }
.am-nav .nav-link { opacity: .7; }
.am-nav .nav-link:hover { opacity: 1; background: rgba(255,255,255,.08); }
.am-nav .btn-register { color: var(--brand-header-text) !important; border-color: rgba(255,255,255,.25); }
.am-nav .brand-logo {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-accent), #f72585);
    color: #fff; font-size: .85rem;
    box-shadow: 0 2px 12px rgba(108,92,231,.4);
    transition: transform .2s;
}
.am-nav .brand-logo:hover { transform: scale(1.08); }
.am-nav .brand-text {
    font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
    color: #fff; text-decoration: none; margin-left: .55rem;
}
.am-nav .nav-link {
    color: rgba(255,255,255,.55); font-size: .88rem; font-weight: 500;
    padding: .4rem .8rem; border-radius: .5rem;
    transition: all .15s;
}
.am-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.am-nav .btn-register {
    font-size: .82rem; font-weight: 600; padding: .35rem 1rem;
    border-radius: 2rem; border: 1.5px solid rgba(255,255,255,.25);
    color: #fff; background: transparent; transition: all .2s;
}
.am-nav .btn-register:hover {
    background: var(--brand-accent); border-color: var(--brand-accent);
    box-shadow: 0 4px 14px rgba(108,92,231,.35);
}

/* ==========================================================================
   Layout – Event Cards
   ========================================================================== */
.event-card {
    position: relative;
    border: none; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-card); transition: all .3s cubic-bezier(.25,.8,.25,1);
    background: #fff;
}
.event-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-hover);
}
.event-card .card-img-top { height: 200px; object-fit: cover; }
.event-card .card-img-placeholder {
    height: 200px; background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.3); font-size: 3rem;
}
.event-card .card-body { padding: 1.25rem 1.25rem .75rem; }
.event-card .card-title {
    font-size: 1.05rem; font-weight: 700; color: var(--brand-dark);
    margin-bottom: .4rem; line-height: 1.3;
}
.event-card .card-meta {
    font-size: .82rem; color: #888; margin-bottom: .15rem;
}
.event-card .card-meta i { width: 16px; text-align: center; margin-right: .3rem; color: #bbb; }
.event-card .card-price {
    font-size: .9rem; font-weight: 700; color: var(--brand-accent);
}
.event-card .card-footer {
    background: transparent; border-top: 1px solid #f0f0f2;
    padding: .85rem 1.25rem;
}
.event-card .btn-book {
    width: 100%; padding: .55rem 1rem; font-size: .88rem; font-weight: 600;
    border-radius: var(--radius-md); border: none;
    background: var(--brand-dark); color: #fff; transition: all .2s;
}
.event-card .btn-book:hover {
    background: var(--brand-accent);
    box-shadow: 0 4px 14px rgba(108,92,231,.3);
}
.event-card .btn-book i { margin-right: .35rem; }

/* ==========================================================================
   Layout – Section Headings
   ========================================================================== */
.section-heading {
    font-size: 1.5rem; font-weight: 800; color: var(--brand-dark);
    position: relative; display: inline-block; margin-bottom: 1.5rem;
}
.section-heading::after {
    content: ''; position: absolute; bottom: -6px; left: 0;
    width: 40px; height: 3px; border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent2));
}

/* ==========================================================================
   Layout – Footer
   ========================================================================== */
.am-footer {
    background: var(--brand-footer-bg); color: var(--brand-footer-text);
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: .85rem; opacity: 1;
}
.am-footer, .am-footer span { color: var(--brand-footer-text); opacity: .7; }
.am-footer a { color: var(--brand-footer-text); text-decoration: none; transition: color .15s; opacity: .7; }
.am-footer a:hover { opacity: 1; }

/* ==========================================================================
   Layout – General Card Refinement
   ========================================================================== */
.card {
    border: 1px solid #e8e8ec; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card); overflow: hidden;
}
.card .card-header {
    background: #fafafa; border-bottom: 1px solid #eee;
    font-weight: 600; font-size: .95rem;
}

/* --- Event hero banner --- */
.event-hero { position: relative; overflow: hidden; }
.event-hero h1 { font-weight: 800; letter-spacing: -.02em; }

/* --- Seat button --- */
.seat-btn { width:36px; height:36px; font-size:.7rem; padding:2px; }
.seat-btn.selected { background-color:#198754!important; color:#fff!important; }

/* ==========================================================================
   Layout – Transitions & Animations
   ========================================================================== */
.fade-in { animation: fadeInUp .5s ease both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- SPA-style page transitions --- */
#am-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent2, var(--brand-accent)));
    width: 0; opacity: 0;
    transition: none;
    pointer-events: none;
    box-shadow: 0 0 8px var(--brand-accent);
}
#am-progress.running {
    opacity: 1;
    transition: width 8s cubic-bezier(.1,.6,.2,1);
    width: 85%;
}
#am-progress.done {
    width: 100%;
    transition: width .15s ease, opacity .3s ease .15s;
    opacity: 0;
}
#am-page {
    opacity: 1; transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease;
}
#am-page.exit { opacity: 0; transform: translateY(8px); }
#am-page.enter { opacity: 0; transform: translateY(12px); }

/* --- Staggered reveal --- */
.am-reveal { opacity: 0; transform: translateY(18px); }
.am-reveal.visible { animation: amRevealIn .45s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes amRevealIn { to { opacity: 1; transform: translateY(0); } }

/* ==========================================================================
   Checkout Page
   ========================================================================== */
.checkout-page { background: #f0f2f5; min-height: calc(100vh - 56px); }
.checkout-page .container { max-width: 1100px; }
.checkout-page h2 {
    font-size: 1.35rem; font-weight: 700; color: var(--brand-dark, #0f0f1a); margin-bottom: 0;
    display: flex; align-items: center; gap: .6rem;
}
.checkout-page h2 i { font-size: 1.1rem; opacity: .5; }
.checkout-page .ck-card {
    background: #fff; border-radius: .6rem; border: 1px solid #e8e8ec;
    box-shadow: 0 1px 8px rgba(0,0,0,.04); overflow: hidden; margin-bottom: 1.25rem;
}
.checkout-page .ck-card-header {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid)); color: #fff;
    padding: .7rem 1.1rem; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
}
.checkout-page .ck-card-header i { margin-right: .45rem; opacity: .65; }
.checkout-page .ck-card-body { padding: 1.1rem 1.25rem; }

.checkout-page .summary-event-img {
    margin: -1.1rem -1.25rem .85rem; overflow: hidden;
}
.checkout-page .summary-event-img img {
    width: 100%; height: 160px; object-fit: cover; display: block;
}
.checkout-page .summary-event h6 { font-size: .95rem; font-weight: 700; color: var(--brand-dark, #0f0f1a); margin-bottom: .2rem; }
.checkout-page .summary-event small { font-size: .78rem; color: #8c8c9e; }
.checkout-page .summary-line {
    display: flex; justify-content: space-between; align-items: center;
    padding: .3rem 0; font-size: .85rem; color: #555;
}
.checkout-page .summary-line.total {
    font-weight: 700; font-size: 1.05rem; color: var(--brand-dark, #0f0f1a);
    border-top: 2px solid var(--brand-accent); padding-top: .6rem; margin-top: .5rem;
}

.checkout-page .promo-group .form-control {
    border-radius: .6rem 0 0 .6rem; border-color: #e0e0e6; font-size: .85rem;
}
.checkout-page .promo-group .btn {
    border-radius: 0 .6rem .6rem 0; background: var(--brand-accent); border-color: var(--brand-accent);
    color: #fff; font-weight: 600; font-size: .82rem;
}
.checkout-page .promo-group .btn:hover { background: var(--brand-mid); }

.checkout-page .form-label {
    font-size: .78rem; font-weight: 600; color: #555; margin-bottom: .25rem;
}
.checkout-page .form-control, .checkout-page .form-select {
    border-radius: .5rem; border-color: #e0e0e6; font-size: .88rem;
    transition: border-color .15s, box-shadow .15s;
}
.checkout-page .form-control:focus, .checkout-page .form-select:focus {
    border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-glow);
}

.checkout-page .btn-pay {
    width: 100%; padding: .75rem 2rem; font-size: .95rem; font-weight: 600;
    border-radius: .6rem; border: none; letter-spacing: .02em;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid)); color: #fff;
    cursor: pointer; transition: all .2s; position: relative; overflow: hidden;
}
.checkout-page .btn-pay:hover:not(:disabled) {
    transform: translateY(-1px); box-shadow: 0 4px 16px var(--brand-glow);
}
.checkout-page .btn-pay:disabled { opacity: .4; cursor: not-allowed; }
.checkout-page .btn-pay i { margin-right: .5rem; }

.checkout-page .btn-test {
    width: 100%; padding: .6rem 2rem; font-size: .85rem; font-weight: 500;
    border-radius: .6rem; border: 1px solid #e0e0e6; background: #fff; color: #555;
    cursor: pointer; transition: all .15s;
}
.checkout-page .btn-test:hover { background: #f5f5f7; border-color: #bbb; }

.checkout-page #stripe-card-element {
    border-radius: .5rem; border: 1px solid #e0e0e6; padding: .75rem 1rem;
    min-height: 44px; transition: border-color .15s;
}
.checkout-page #stripe-card-element.StripeElement--focus {
    border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-glow);
}

.checkout-page .basket-timer {
    font-size: .82rem; font-weight: 600; color: var(--brand-dark, #0f0f1a);
    display: flex; align-items: center; gap: .35rem;
    background: #e8f5e9; border-radius: .4rem; padding: .3rem .7rem;
}
.checkout-page .basket-timer i { font-size: .75rem; }
.checkout-page .basket-timer.warning { background: #fff3e0; color: #e65100; }
.checkout-page .basket-timer.danger { background: #fce4ec; color: #c62828; animation: pulse-red 1s infinite; }
@keyframes pulse-red { 0%,100%{opacity:1} 50%{opacity:.7} }

.checkout-page .delivery-method-option { background: #fafafa; }
.checkout-page .delivery-method-option:hover { background: #f0f2f5; }
.checkout-page .delivery-method-option.border-dark { background: #f0f2f5; border-color: var(--brand-accent) !important; }

@media (max-width: 767px) {
    .checkout-page .ck-card-body { padding: .85rem 1rem; }
    .checkout-page h2 { font-size: 1.1rem; }
}

/* ==========================================================================
   Add-ons Page
   ========================================================================== */
.addons-page { background: #f0f2f5; min-height: calc(100vh - 56px); }
.addons-page .container { max-width: 800px; }
.addons-page h2 {
    font-size: 1.35rem; font-weight: 700; color: var(--brand-dark, #0f0f1a); margin-bottom: 0;
    display: flex; align-items: center; gap: .6rem;
}
.addons-page h2 i { font-size: 1.1rem; opacity: .5; }
.addons-page .ao-card {
    background: #fff; border-radius: .75rem; border: 1px solid #e8e8ec;
    box-shadow: 0 2px 12px rgba(0,0,0,.05); overflow: hidden; margin-bottom: 1rem;
    transition: box-shadow .2s;
}
.addons-page .ao-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.addons-page .ao-item {
    display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
}
.addons-page .ao-img {
    width: 80px; height: 80px; border-radius: .5rem; object-fit: cover; flex-shrink: 0;
    background: #f5f5f8;
}
.addons-page .ao-img-placeholder {
    width: 80px; height: 80px; border-radius: .5rem; flex-shrink: 0;
    background: #f5f5f8; display: flex; align-items: center; justify-content: center;
    color: #c0c0c8; font-size: 1.5rem;
}
.addons-page .ao-details { flex: 1; min-width: 0; }
.addons-page .ao-name { font-weight: 600; font-size: .95rem; color: var(--brand-dark, #0f0f1a); margin-bottom: .15rem; }
.addons-page .ao-desc { font-size: .8rem; color: #8c8c9e; line-height: 1.4; margin-bottom: .3rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.addons-page .ao-price { font-weight: 700; font-size: .95rem; color: var(--brand-dark, #0f0f1a); }
.addons-page .qty-control {
    display: flex; align-items: center; gap: 0; flex-shrink: 0;
}
.addons-page .qty-control button {
    width: 36px; height: 36px; border: 1px solid #e0e0e6; background: #fff;
    font-size: 1.2rem; font-weight: 600; color: #555; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, border-color .15s;
}
.addons-page .qty-control button:hover { background: #f5f5f8; border-color: #bbb; }
.addons-page .qty-control button:first-child { border-radius: .4rem 0 0 .4rem; }
.addons-page .qty-control button:last-child { border-radius: 0 .4rem .4rem 0; }
.addons-page .qty-control .qty-display {
    width: 44px; height: 36px; border-top: 1px solid #e0e0e6; border-bottom: 1px solid #e0e0e6;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: .95rem; color: var(--brand-dark, #0f0f1a); background: #fff;
}
.addons-page .ao-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.25rem; border-top: 1px solid #e8e8ec; background: #fafafa;
}
.addons-page .ao-subtotal { font-size: .85rem; color: #8c8c9e; }
.addons-page .ao-subtotal strong { color: var(--brand-dark, #0f0f1a); font-size: 1rem; }
.addons-page .btn-continue {
    padding: .65rem 2rem; font-size: .95rem; font-weight: 600; border-radius: .6rem;
    border: none; letter-spacing: .02em;
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid)); color: #fff;
    cursor: pointer; transition: all .2s;
}
.addons-page .btn-continue:hover { transform: translateY(-1px); box-shadow: 0 4px 16px var(--brand-glow); }
.addons-page .btn-skip {
    padding: .65rem 1.5rem; font-size: .88rem; font-weight: 500; border-radius: .6rem;
    border: 1px solid #e0e0e6; background: #fff; color: #555; cursor: pointer;
    transition: all .15s; text-decoration: none;
}
.addons-page .btn-skip:hover { background: #f5f5f7; border-color: #bbb; color: #333; }

.addons-page .basket-timer {
    font-size: .82rem; font-weight: 600; color: var(--brand-dark, #0f0f1a);
    display: flex; align-items: center; gap: .35rem;
    background: #e8f5e9; border-radius: .4rem; padding: .3rem .7rem;
}
.addons-page .basket-timer i { font-size: .75rem; }
.addons-page .basket-timer.warning { background: #fff3e0; color: #e65100; }
.addons-page .basket-timer.danger { background: #fce4ec; color: #c62828; }

@media (max-width: 575px) {
    .addons-page .ao-item { flex-wrap: wrap; gap: .75rem; }
    .addons-page .ao-img, .addons-page .ao-img-placeholder { width: 60px; height: 60px; }
    .addons-page .ao-details { min-width: calc(100% - 76px); }
    .addons-page .qty-control { margin-left: auto; }
}

/* ==========================================================================
   Confirmation Page
   ========================================================================== */
.confirm-tick-wrap { width: 96px; height: 96px; margin: 0 auto 1.5rem; position: relative; }
.confirm-tick-circle {
    width: 96px; height: 96px; border-radius: 50%; background: #198754;
    display: flex; align-items: center; justify-content: center;
    animation: tickPop .5s cubic-bezier(.17,.67,.28,1.4) both;
}
.confirm-tick-circle svg { width: 48px; height: 48px; }
.confirm-tick-circle svg path {
    stroke: #fff; stroke-width: 3; fill: none;
    stroke-dasharray: 50; stroke-dashoffset: 50;
    animation: tickDraw .45s .35s ease forwards;
}
.confirm-ring {
    position: absolute; inset: -8px; border-radius: 50%;
    border: 3px solid rgba(25,135,84,.35);
    animation: ringPulse 1.2s .6s ease-out forwards; opacity: 0;
}
@keyframes tickPop {
    0%   { transform: scale(0) rotate(-45deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes tickDraw { to { stroke-dashoffset: 0; } }
@keyframes ringPulse {
    0%   { transform: scale(.85); opacity: .7; }
    100% { transform: scale(1.35); opacity: 0; }
}
.confirm-card { max-width: 520px; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,.08); border: none; }
.confirm-event-banner { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-mid) 100%); color: #fff; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.confirm-event-banner.has-image { padding: 0; }
.confirm-event-banner .banner-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.confirm-event-banner .banner-details { padding: 1rem 1.25rem; }
.confirm-event-banner:not(.has-image) .banner-details { padding: 1rem 1.25rem; }
.confirm-event-banner h6 { margin: 0 0 .35rem; font-size: 1.1rem; font-weight: 600; }
.confirm-event-banner small { opacity: .85; }
.confirm-summary td { padding: .35rem 0; border: none; vertical-align: middle; }
.confirm-summary .sep td { padding: .25rem 0; }
.confirm-summary .sep td hr { margin: 0; opacity: .15; }
.confirm-divider { border: none; border-top: 1px solid rgba(0,0,0,.08); margin: 1rem 0; }
.fade-up { animation: fadeUp .5s .55s ease both; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.confirm-btn {
    display: inline-block; padding: .6rem 1.5rem; font-size: .9rem; font-weight: 600;
    border-radius: .65rem; border: none; text-decoration: none;
    transition: all .2s; cursor: pointer;
}
.confirm-btn-primary {
    background: var(--brand-dark, #0f0f1a); color: #fff;
}
.confirm-btn-primary:hover {
    background: var(--brand-accent, #6c5ce7); color: #fff;
    box-shadow: 0 4px 14px rgba(108,92,231,.3); transform: translateY(-1px);
}
.confirm-btn-outline {
    background: transparent; color: var(--brand-dark, #0f0f1a);
    border: 1.5px solid var(--brand-dark, #0f0f1a);
}
.confirm-btn-outline:hover {
    background: var(--brand-dark, #0f0f1a); color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.12); transform: translateY(-1px);
}

/* ==========================================================================
   Gift Voucher Page
   ========================================================================== */
.gift-voucher-page .amount-option { flex: 1; min-width: 100px; }
.gift-voucher-page .amount-option input[type="radio"] { display: none; }
.gift-voucher-page .amount-option label {
    display: block; padding: 1rem; text-align: center;
    border: 2px solid #e8e8ec; border-radius: var(--radius-md);
    cursor: pointer; font-weight: 600; font-size: 1.25rem; transition: all 0.2s;
}
.gift-voucher-page .amount-option input[type="radio"]:checked + label {
    border-color: var(--brand-accent);
    background-color: var(--brand-glow);
    color: var(--brand-accent);
}
.gift-voucher-page .amount-option label:hover { border-color: var(--brand-accent); }
.gift-voucher-page .custom-amount-input { max-width: 200px; }
.gift-voucher-page #stripe-card-element {
    padding: 12px; border: 1px solid #e8e8ec;
    border-radius: var(--radius-md); background: #fff;
}
.gift-voucher-page #stripe-card-element.StripeElement--focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.2rem var(--brand-glow);
}
.gift-voucher-page .card {
    border: 1px solid #e8e8ec; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}
.gift-voucher-page .card-header {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand-mid));
    color: #fff; font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}
.gift-voucher-page .card-header h5 { color: #fff; }
.gift-voucher-page .voucher-preview {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: #fff; border-radius: var(--radius-lg);
    padding: 2rem; position: relative; overflow: hidden;
}
.gift-voucher-page .voucher-preview::before {
    content: '';
    position: absolute; top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.gift-voucher-page .voucher-preview .amount { font-size: 2.5rem; font-weight: 700; }
.gift-voucher-page .btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    border: none;
}
.gift-voucher-page .btn-primary:hover { box-shadow: 0 4px 14px rgba(108,92,231,.35); }
.gift-voucher-page .btn-outline-primary {
    color: var(--brand-accent); border-color: var(--brand-accent);
}
.gift-voucher-page .btn-outline-primary:hover {
    background: var(--brand-accent); border-color: var(--brand-accent);
}

/* ==========================================================================
   Gift Voucher Confirmation
   ========================================================================== */
.gv-confirmation .voucher-card {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: #fff; border-radius: var(--radius-lg);
    padding: 2.5rem; position: relative; overflow: hidden;
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.3);
}
.gv-confirmation .voucher-card::before {
    content: '';
    position: absolute; top: -50%; right: -50%;
    width: 100%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.gv-confirmation .voucher-card .voucher-code {
    font-family: 'Courier New', monospace;
    font-size: 2rem; font-weight: 700; letter-spacing: 2px;
    background: rgba(255,255,255,0.2);
    padding: 0.75rem 1.5rem; border-radius: var(--radius-md);
    display: inline-block;
}
.gv-confirmation .voucher-card .voucher-amount { font-size: 3rem; font-weight: 800; }
.gv-confirmation .copy-btn {
    background: rgba(255,255,255,0.2); border: none; color: #fff;
    padding: 0.5rem 1rem; border-radius: var(--radius-md);
    cursor: pointer; transition: background 0.2s;
}
.gv-confirmation .copy-btn:hover { background: rgba(255,255,255,0.3); }
.gv-confirmation .confirmation-details {
    background: #fff; border: 1px solid #e8e8ec;
    border-radius: var(--radius-lg); padding: 1.5rem;
    box-shadow: var(--shadow-card);
}
.gv-confirmation .confirmation-details h5 { color: var(--brand-deep); }
.gv-confirmation .success-icon {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
}
.gv-confirmation .btn-primary {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    border: none;
}
.gv-confirmation .btn-primary:hover { box-shadow: 0 4px 14px rgba(108,92,231,.35); }
.gv-confirmation .btn-outline-primary {
    color: var(--brand-accent); border-color: var(--brand-accent);
}
.gv-confirmation .btn-outline-primary:hover {
    background: var(--brand-accent); border-color: var(--brand-accent);
}

/* ==========================================================================
   Queue / Waiting Page
   ========================================================================== */
.queue-container {
    min-height: 70vh; display: flex;
    align-items: center; justify-content: center;
}
.queue-card { max-width: 520px; width: 100%; text-align: center; }
.queue-position {
    font-size: 4rem; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--brand-dark, #4361ee) 0%, var(--brand-accent, #7c3aed) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.queue-progress-ring {
    width: 160px; height: 160px;
    margin: 0 auto 1.5rem; position: relative;
}
.queue-progress-ring svg { transform: rotate(-90deg); }
.queue-progress-ring .ring-bg { stroke: #e9ecef; }
.queue-progress-ring .ring-fill {
    stroke: var(--brand-dark, #4361ee);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.6s ease;
}
.queue-dots {
    display: flex; justify-content: center;
    gap: 6px; margin: 1rem 0;
}
.queue-dots span {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--brand-dark, #4361ee); opacity: 0.3;
    animation: queuePulse 1.4s infinite ease-in-out both;
}
.queue-dots span:nth-child(2) { animation-delay: 0.16s; }
.queue-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes queuePulse {
    0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1.2); }
}
.queue-event-banner {
    background: linear-gradient(135deg, rgba(67,97,238,0.08), rgba(124,58,237,0.08));
    border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 2rem;
}

/* ==========================================================================
   Account – Tickets
   ========================================================================== */
.tkt-wrap { max-width: 440px; margin: 0 auto; padding: 0 16px; }
.tkt-event-header {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background: #1a1a2e;
    color: #fff;
}
.tkt-event-header img {
    width: 100%; height: 200px; object-fit: cover; opacity: .6;
}
.tkt-event-header .tkt-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(transparent 30%, rgba(0,0,0,.7));
}
.tkt-event-header .tkt-overlay h2 {
    margin: 0 0 4px; font-size: 1.35rem; font-weight: 700; line-height: 1.2;
}
.tkt-event-header .tkt-overlay .tkt-venue { font-size: .85rem; opacity: .85; }

.tkt-event-header-plain {
    background: var(--tkt-accent, #6B7DB3);
    color: #fff; padding: 24px 20px 18px;
    border-radius: 16px 16px 0 0;
}
.tkt-event-header-plain h2 {
    margin: 0 0 4px; font-size: 1.35rem; font-weight: 700; line-height: 1.2;
}
.tkt-event-header-plain .tkt-venue { font-size: .85rem; opacity: .85; }

.tkt-card {
    background: #fff; border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    overflow: hidden; margin-bottom: 28px;
}
.tkt-card:last-of-type { margin-bottom: 100px; }

.tkt-datetime { display: flex; border-bottom: 1px dashed #e0e0e0; }
.tkt-datetime > div { flex: 1; padding: 14px 20px; text-align: center; }
.tkt-datetime > div + div { border-left: 1px dashed #e0e0e0; }
.tkt-datetime .tkt-label {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: 1px; color: #999; margin-bottom: 2px;
}
.tkt-datetime .tkt-value { font-size: .95rem; font-weight: 600; color: #222; }

.tkt-details {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; border-bottom: 1px dashed #e0e0e0;
}
.tkt-detail-cell { padding: 12px 20px; border-bottom: 1px solid #f5f5f5; }
.tkt-detail-cell:nth-child(odd) { border-right: 1px solid #f5f5f5; }
.tkt-detail-cell .tkt-label {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: 1px; color: #999; margin-bottom: 2px;
}
.tkt-detail-cell .tkt-value { font-size: 1rem; font-weight: 600; color: #222; }

.tkt-qr { padding: 24px 20px; text-align: center; border-bottom: 1px dashed #e0e0e0; }
.tkt-qr img { width: 180px; height: 180px; border-radius: 8px; }
.tkt-qr .tkt-code {
    margin-top: 8px; font-size: .75rem; color: #999;
    font-family: monospace; letter-spacing: .5px;
}

.tkt-comp-badge {
    text-align: center; padding: 6px 0;
    background: #fff5f5; color: #dc3545;
    font-weight: 700; font-size: .75rem;
    letter-spacing: 1.5px; text-transform: uppercase;
}

.tkt-footer {
    padding: 12px 20px; text-align: center;
    font-size: .7rem; color: #bbb; line-height: 1.4;
}

.tkt-top-bar {
    display: flex; justify-content: space-between;
    align-items: center; padding: 20px 0 12px;
}
.tkt-top-bar h4 { margin: 0; font-size: 1.1rem; }
.tkt-counter { font-size: .8rem; color: #888; font-weight: 500; }

.tkt-bottom-bar {
    position: fixed; bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #eee;
    box-shadow: 0 -2px 12px rgba(0,0,0,.06);
    z-index: 100; display: flex; gap: 10px; justify-content: center;
}
.tkt-bottom-bar .btn { flex: 1; max-width: 220px; }

@media (min-width: 576px) {
    .tkt-qr img { width: 200px; height: 200px; }
}
@media print {
    .tkt-bottom-bar, nav, footer { display: none !important; }
    .tkt-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; margin-bottom: 20px; }
    .tkt-card:last-of-type { margin-bottom: 20px; }
}

/* ==========================================================================
   Event Show Page
   ========================================================================== */
.evt-hero {
    position: relative; color: #fff; overflow: hidden;
}
.evt-hero-bg {
    position: absolute; inset: -20px;
    background-size: cover; background-position: center;
    filter: blur(28px) brightness(.55) saturate(1.3);
    transform: scale(1.1);
}
.evt-hero-img-wrap {
    position: relative; display: flex;
    justify-content: center; align-items: center;
    max-height: 520px; z-index: 0;
}
.evt-hero-img {
    display: block; width: 100%; height: auto;
    max-height: 520px; object-fit: contain; object-position: center;
}
.evt-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.15) 40%, rgba(15,15,26,.8) 75%, rgba(15,15,26,.95) 100%);
}
.evt-hero-content {
    position: absolute; bottom: 0; left: 0; right: 0;
    z-index: 2; padding: 2rem 0 1.5rem;
}
.evt-hero-title {
    font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em;
    line-height: 1.15; margin-bottom: .25rem;
}
.evt-hero-subtitle {
    font-size: 1.1rem; opacity: .85; margin-bottom: .75rem; font-weight: 400;
}
.evt-price-badge {
    display: inline-block; background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; font-weight: 700; font-size: 1rem; padding: .5rem 1.1rem;
    border-radius: 2rem; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16,185,129,.3); flex-shrink: 0;
}
.evt-price-badge-dark {
    display: inline-block; background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; font-weight: 700; font-size: .95rem; padding: .45rem 1rem;
    border-radius: 2rem; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16,185,129,.25); flex-shrink: 0;
}
.evt-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.evt-meta-pill {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
    color: #fff; font-size: .82rem; font-weight: 500;
    padding: .35rem .75rem; border-radius: 2rem;
}
.evt-meta-pill.warn { background: rgba(255,193,7,.25); color: #ffd43b; }
.evt-meta-pill-light {
    display: inline-flex; align-items: center; gap: .35rem;
    background: #f0f0f4; color: #555; font-size: .82rem; font-weight: 500;
    padding: .35rem .75rem; border-radius: 2rem;
}
.evt-meta-pill-light.warn { background: #fff3cd; color: #856404; }

/* --- Event calendar card --- */
.evt-calendar-card { border: none; box-shadow: 0 2px 20px rgba(0,0,0,.06); border-radius: var(--radius-lg); }
.evt-cal-header {
    background: var(--brand-dark, #0f0f1a) !important; color: #fff !important;
    border-bottom: none; display: flex; justify-content: space-between;
    align-items: center; padding: .85rem 1.25rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.evt-cal-header h5 { color: #fff; font-size: 1rem; }
.evt-cal-nav {
    background: rgba(255,255,255,.1); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all .15s; font-size: .75rem;
}
.evt-cal-nav:hover { background: rgba(255,255,255,.2); transform: scale(1.1); }
.evt-cal-dow {
    color: #999; font-weight: 600; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .04em;
    border: none !important; padding: .5rem .35rem !important;
}
#cal-grid { border: none; }
#cal-grid td { padding: .4rem; vertical-align: top; min-width: 40px; border: none; }
.cal-cell { min-height: 52px; border-radius: .5rem; padding: 2px; transition: background .15s; }
.cal-cell:hover { background: #f8f8fb; }
.cal-cell .day-num { font-size: .78rem; color: #aaa; display: block; margin-bottom: 2px; font-weight: 500; }
.cal-cell.has-session .day-num { color: var(--brand-dark, #0f0f1a); font-weight: 700; }
.cal-cell.today .day-num { color: var(--brand-accent, #6c5ce7); }
.cal-cell.today { background: var(--brand-glow, rgba(108,92,231,.08)); border-radius: .5rem; }
.cal-cell .cal-badge {
    display: inline-block; font-size: .62rem; font-weight: 600;
    padding: .2rem .4rem; border-radius: .3rem; margin: 1px;
    cursor: pointer; text-decoration: none; transition: all .15s;
    letter-spacing: .01em;
}
.cal-cell .cal-badge.available { background: var(--brand-accent, #6c5ce7); color: #fff; }
.cal-cell .cal-badge.available:hover {
    background: var(--brand-accent2, #a855f7); transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(108,92,231,.3);
}
.cal-cell .cal-badge.sold-out { background: #fee2e2; color: #dc2626; cursor: default; font-weight: 600; }
.cal-cell .cal-badge.low {
    background: var(--brand-accent, #6c5ce7); color: #fff;
    box-shadow: inset 0 0 0 1.5px #f59e0b;
}
.cal-cell .cal-badge.low:hover { background: var(--brand-accent2, #a855f7); }
.cal-cell .cal-badge-label {
    display: block; font-size: .55rem; color: #888; line-height: 1.2;
    max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    margin: 0 auto 1px;
}

/* --- Event session list --- */
.evt-sessions-card { border: none; box-shadow: 0 2px 20px rgba(0,0,0,.06); border-radius: var(--radius-lg); }
.evt-sessions-card .card-header { background: #fafafa; border-bottom: 1px solid #f0f0f2; }
.evt-month-divider {
    background: #f8f8fb !important; font-weight: 700; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .06em; color: #999;
    padding: .5rem 1rem !important; border: none;
}
.evt-session-row {
    padding: .65rem 1rem !important; transition: background .15s;
    border-left: 3px solid transparent;
}
.evt-session-row:hover {
    background: #fafafe; border-left-color: var(--brand-accent, #6c5ce7);
}
.evt-session-date-box {
    width: 44px; height: 44px; border-radius: .5rem;
    background: #f5f3ff; display: flex; flex-direction: column;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.evt-session-day { font-size: 1rem; font-weight: 800; color: var(--brand-accent, #6c5ce7); line-height: 1; }
.evt-session-dow {
    font-size: .6rem; font-weight: 700; text-transform: uppercase;
    color: #999; letter-spacing: .04em;
}
.evt-btn-book {
    background: var(--brand-dark, #0f0f1a); color: #fff; border: none;
    font-weight: 600; font-size: .82rem; padding: .4rem .9rem;
    border-radius: var(--radius-md, .65rem); transition: all .2s;
}
.evt-btn-book:hover {
    background: var(--brand-accent, #6c5ce7); color: #fff;
    box-shadow: 0 4px 12px rgba(108,92,231,.3); transform: translateY(-1px);
}

/* --- Event sidebar cards --- */
.evt-sidebar-card { border: none; box-shadow: 0 2px 16px rgba(0,0,0,.05); border-radius: var(--radius-lg); }
.evt-sidebar-card .card-header {
    background: #fafafa; border-bottom: 1px solid #f0f0f2;
    padding: .85rem 1.1rem; font-size: .92rem;
}
.evt-sidebar-card .list-group-item { border-color: #f5f5f7; }
.evt-collapse-btn { color: var(--brand-dark, #0f0f1a) !important; }
.evt-collapse-btn .fa-chevron-down { transition: transform .25s ease; }
.evt-collapse-btn:not(.collapsed) .fa-chevron-down { transform: rotate(180deg); }

@media (max-width: 767px) {
    .evt-hero-img-wrap { max-height: 320px; }
    .evt-hero-img { max-height: 320px; }
    .evt-hero-title { font-size: 1.8rem; }
    .evt-session-date-box { width: 38px; height: 38px; }
    .evt-session-day { font-size: .85rem; }
}

/* --- Event theme overrides (applied when event has custom theme) --- */
.evt-themed .evt-cal-header { background: var(--evt-primary, #0f0f1a) !important; }
.evt-themed .cal-cell .cal-badge.available,
.evt-themed .cal-cell .cal-badge.low { background: var(--evt-primary, #6c5ce7); }
.evt-themed .cal-cell .cal-badge.available:hover,
.evt-themed .cal-cell .cal-badge.low:hover { background: var(--evt-secondary, #a855f7); }
.evt-themed .evt-btn-book:hover { background: var(--evt-primary, #6c5ce7); }
.evt-themed .evt-session-date-box { background: color-mix(in srgb, var(--evt-primary) 10%, white); }
.evt-themed .evt-session-day { color: var(--evt-primary, #6c5ce7); }
.evt-themed .evt-session-row:hover { border-left-color: var(--evt-primary, #6c5ce7); }
.evt-themed .container .btn-primary {
    background-color: var(--evt-primary, #0d6efd) !important;
    border-color: var(--evt-primary, #0d6efd) !important;
}

/* ==========================================================================
   Event Select Tickets – Dialogs & Overlays
   ========================================================================== */

/* --- GA ticket dialog --- */
.ga-dialog-overlay {
    display: none; position: fixed; inset: 0; z-index: 1050;
    background: rgba(0,0,0,.5); backdrop-filter: blur(3px);
    animation: gaOverlayIn .25s ease forwards;
}
.ga-dialog-overlay.closing { animation: gaOverlayOut .2s ease forwards; }
@keyframes gaOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes gaOverlayOut { from { opacity: 1; } to { opacity: 0; } }
.ga-dialog {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(.85);
    background: #fff; border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 90%; max-width: 420px; overflow: hidden;
    animation: gaDialogIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
.ga-dialog-overlay.closing .ga-dialog { animation: gaDialogOut .2s ease forwards; }
@keyframes gaDialogIn {
    0%   { transform: translate(-50%, -50%) scale(.85); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@keyframes gaDialogOut {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(.9); opacity: 0; }
}
.ga-dialog-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.ga-dialog-header h5 { margin: 0; font-size: 1rem; font-weight: 600; }
.ga-dialog-close {
    background: none; border: none; color: rgba(255,255,255,.7);
    font-size: 1.4rem; cursor: pointer; padding: 0; line-height: 1;
}
.ga-dialog-close:hover { color: #fff; }
.ga-dialog-body {
    padding: 1.25rem 1.5rem; max-height: 50vh; overflow-y: auto;
}
.ga-dialog-body .ga-section-name { font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.ga-dialog-body .ga-section-name .ga-dot {
    display: inline-block; width: 10px; height: 10px;
    border-radius: 50%; vertical-align: middle; margin-right: .4rem;
}
.ga-dialog-body .ga-ticket-row {
    display: flex; align-items: center; justify-content: space-between;
    background: #f8f9fa; border-radius: .5rem;
    padding: .6rem .85rem; margin-bottom: .4rem; transition: background .15s;
}
.ga-dialog-body .ga-ticket-row:hover { background: #f0f0f0; }
.ga-dialog-footer {
    padding: .75rem 1.5rem; border-top: 1px solid #eee; text-align: right;
}

/* --- Session-change confirmation dialog --- */
.session-change-overlay {
    display: none; position: fixed; inset: 0; z-index: 1060;
    background: rgba(0,0,0,.5); backdrop-filter: blur(3px);
    animation: gaOverlayIn .25s ease forwards;
}
.session-change-overlay.closing { animation: gaOverlayOut .2s ease forwards; }
.session-change-dialog {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(.85);
    background: #fff; border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 90%; max-width: 400px; overflow: hidden;
    animation: gaDialogIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
.session-change-overlay.closing .session-change-dialog { animation: gaDialogOut .2s ease forwards; }
.session-change-dialog .dialog-header {
    background: linear-gradient(135deg, #b45309, #d97706);
    color: #fff; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.session-change-dialog .dialog-header h5 { margin: 0; font-size: 1rem; font-weight: 600; }
.session-change-dialog .dialog-body {
    padding: 1.5rem; font-size: .95rem; line-height: 1.5;
}
.session-change-dialog .dialog-footer {
    padding: .75rem 1.5rem; border-top: 1px solid #eee;
    display: flex; justify-content: flex-end; gap: .5rem;
}

/* --- Price list button in legend --- */
.legend-price-btn {
    display: inline-flex; align-items: center; gap: .3rem;
    background: none; border: 1px solid #ccc; border-radius: 1rem;
    padding: .15rem .65rem; font-size: .72rem; font-weight: 600;
    color: #555; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.legend-price-btn:hover { border-color: #0d6efd; color: #0d6efd; background: #f0f4ff; }
.legend-price-btn i { font-size: .65rem; }

/* --- Price list modal --- */
.price-list-overlay {
    display: none; position: fixed; inset: 0; z-index: 1055;
    background: rgba(0,0,0,.5); backdrop-filter: blur(3px);
    animation: gaOverlayIn .25s ease forwards;
}
.price-list-overlay.show { display: flex; align-items: center; justify-content: center; }
.price-list-overlay.closing { animation: gaOverlayOut .2s ease forwards; }
.price-list-dialog {
    background: #fff; border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 90%; max-width: 520px; overflow: hidden;
    animation: gaDialogIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
.price-list-overlay.closing .price-list-dialog { animation: gaDialogOut .2s ease forwards; }
.price-list-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff; padding: 1.25rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
}
.price-list-header h5 { margin: 0; font-size: 1rem; font-weight: 600; }
.price-list-close {
    background: none; border: none; color: rgba(255,255,255,.7);
    font-size: 1.4rem; cursor: pointer; padding: 0; line-height: 1;
}
.price-list-close:hover { color: #fff; }
.price-list-body { padding: 1.25rem 1.5rem; max-height: 60vh; overflow-y: auto; }
.price-list-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.price-list-table th {
    text-align: left; padding: .5rem .6rem; border-bottom: 2px solid #dee2e6;
    font-weight: 700; color: #1a1a2e; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .03em;
}
.price-list-table td {
    padding: .55rem .6rem; border-bottom: 1px solid #f0f0f0; font-weight: 500;
}
.price-list-table tr:last-child td { border-bottom: none; }
.price-list-table tr:hover td { background: #f8f9fa; }

/* --- Seat suggestion popup --- */
.seat-suggestion-popup {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 1040;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff; border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    padding: 1rem 1.25rem; max-width: 360px;
    width: calc(100% - 40px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
    pointer-events: none;
}
.seat-suggestion-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1; pointer-events: auto;
}
.seat-suggestion-popup .suggestion-header {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: .6rem;
}
.seat-suggestion-popup .suggestion-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff; font-size: .7rem; font-weight: 700;
    text-transform: uppercase; padding: .25rem .6rem;
    border-radius: 2rem; letter-spacing: .5px;
}
.seat-suggestion-popup .suggestion-close {
    background: none; border: none; color: rgba(255,255,255,.6);
    font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1;
}
.seat-suggestion-popup .suggestion-close:hover { color: #fff; }
.seat-suggestion-popup .suggestion-text {
    font-size: .95rem; line-height: 1.4; margin-bottom: .75rem;
}
.seat-suggestion-popup .suggestion-text strong { color: #60a5fa; }
.seat-suggestion-popup .suggestion-price {
    font-size: 1.2rem; font-weight: 700; color: #34d399;
}
.seat-suggestion-popup .suggestion-actions { display: flex; gap: .5rem; }
.seat-suggestion-popup .btn-suggestion {
    flex: 1; padding: .6rem 1rem; border: none; border-radius: .5rem;
    font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: transform .15s, background .15s;
}
.seat-suggestion-popup .btn-suggestion:hover { transform: translateY(-1px); }
.seat-suggestion-popup .btn-suggestion-primary {
    background: linear-gradient(135deg, #10b981, #059669); color: #fff;
}
.seat-suggestion-popup .btn-suggestion-secondary {
    background: rgba(255,255,255,.15); color: #fff;
}
@media (max-width: 768px) {
    .seat-suggestion-popup { bottom: 100px; }
}

/* --- View from Seat – hover preview card --- */
.seat-view-preview {
    position: absolute; z-index: 120; pointer-events: none;
    opacity: 0; transition: opacity .35s ease, transform .35s ease;
    width: 240px; transform: translateY(6px);
}
.seat-view-preview.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.seat-view-preview-card {
    background: #fff; border-radius: .75rem; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    border: 1px solid rgba(0,0,0,.08);
}
.seat-view-preview-img {
    width: 100%; height: 140px; object-fit: cover; display: block;
    cursor: pointer; opacity: 0; transition: opacity .4s ease;
}
.seat-view-preview-img.loaded { opacity: 1; }
.seat-view-preview-info {
    padding: .5rem .65rem; display: flex;
    align-items: center; justify-content: space-between;
}
.seat-view-preview-label {
    font-size: .78rem; font-weight: 600; color: #1a1a2e;
}
.seat-view-preview-label small {
    font-weight: 400; color: #6c757d; display: block; font-size: .7rem;
}
.seat-view-preview-expand {
    font-size: .65rem; color: #6c757d; display: flex;
    align-items: center; gap: .25rem; cursor: pointer;
    background: none; border: none; padding: .2rem .4rem;
    border-radius: .3rem; transition: background .15s;
}
.seat-view-preview-expand:hover { background: #f0f0f0; color: #1a1a2e; }
@media (max-width: 768px) {
    .seat-view-preview { width: 200px; }
    .seat-view-preview-img { height: 110px; }
}

/* --- View from Seat – fullscreen modal --- */
.seat-view-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0); backdrop-filter: blur(0);
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; visibility: hidden;
    transition: background .3s ease, backdrop-filter .3s ease, visibility 0s .3s;
}
.seat-view-overlay.show {
    background: rgba(0,0,0,.8); backdrop-filter: blur(4px);
    pointer-events: auto; visibility: visible;
    transition: background .3s ease, backdrop-filter .3s ease, visibility 0s 0s;
}
.seat-view-dialog {
    background: #fff; border-radius: 1rem; overflow: hidden;
    box-shadow: 0 16px 64px rgba(0,0,0,.4);
    max-width: 700px; width: 94%; max-height: 88vh;
    display: flex; flex-direction: column;
    opacity: 0; transform: scale(.95) translateY(12px);
    transition: opacity .3s ease, transform .3s ease;
}
.seat-view-overlay.show .seat-view-dialog {
    opacity: 1; transform: scale(1) translateY(0);
}
.seat-view-header {
    padding: .75rem 1rem; display: flex;
    align-items: center; justify-content: space-between;
    border-bottom: 1px solid #eee; flex-shrink: 0;
}
.seat-view-header h6 { margin: 0; font-weight: 700; font-size: 1rem; color: #1a1a2e; }
.seat-view-close {
    background: none; border: none; font-size: 1.4rem;
    color: #6c757d; cursor: pointer; padding: 0 .35rem;
}
.seat-view-close:hover { color: #000; }
.seat-view-body { padding: 0; overflow: hidden; flex: 1; }
.seat-view-body img {
    width: 100%; height: auto; display: block;
    max-height: 78vh; object-fit: contain; background: #f8f8f8;
}

/* --- Select tickets – event theme sidebar override --- */
.evt-themed .ticket-sidebar .sidebar-hero-overlay {
    background: linear-gradient(transparent, var(--evt-primary, rgba(0,0,0,.7)));
}
.evt-themed .btn-primary {
    background-color: var(--evt-primary, #0d6efd) !important;
    border-color: var(--evt-primary, #0d6efd) !important;
}

/* ==========================================================================
   Homepage Event Slider
   ========================================================================== */
.hp-slider {
    position: relative; overflow: hidden; background: #0f0f1a;
}
.hp-slider-track {
    display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.hp-slide {
    position: relative; flex: 0 0 100%; min-width: 100%;
    display: block; text-decoration: none; color: #fff;
    overflow: hidden;
}
.hp-slide img {
    width: 100%; height: auto; max-height: 520px; object-fit: contain;
    display: block; margin: 0 auto;
    transition: transform 6s ease;
}
.hp-slide.active img { transform: scale(1.04); }
.hp-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 50%, rgba(0,0,0,.05) 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 2.5rem 3rem;
}
.hp-slide-title {
    font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em;
    line-height: 1.15; margin: 0 0 .25rem; text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hp-slide-sub {
    font-size: 1.05rem; opacity: .85; margin: 0 0 .5rem; font-weight: 400;
}
.hp-slide-meta {
    font-size: .88rem; opacity: .75; display: flex; align-items: center;
    gap: .35rem; flex-wrap: wrap;
}
.hp-slide-sep { opacity: .5; }
.hp-slide-price {
    display: inline-block; margin-top: .6rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff; font-weight: 700; font-size: .9rem;
    padding: .35rem .9rem; border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(16,185,129,.3);
    align-self: flex-start;
}

/* Nav buttons */
.hp-slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 10; border: none; background: rgba(255,255,255,.15);
    backdrop-filter: blur(4px); color: #fff;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem;
    transition: background .2s, transform .2s;
    opacity: 0; pointer-events: none;
}
.hp-slider:hover .hp-slider-btn { opacity: 1; pointer-events: auto; }
.hp-slider-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.1); }
.hp-slider-prev { left: 1rem; }
.hp-slider-next { right: 1rem; }

/* Dots */
.hp-slider-dots {
    position: absolute; bottom: 1.1rem; left: 50%;
    transform: translateX(-50%); z-index: 10;
    display: flex; gap: .5rem;
}
.hp-slider-dot {
    width: 10px; height: 10px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.4); cursor: pointer;
    transition: background .2s, transform .2s; padding: 0;
}
.hp-slider-dot.active { background: #fff; transform: scale(1.25); }
.hp-slider-dot:hover { background: rgba(255,255,255,.7); }

@media (max-width: 767px) {
    .hp-slide img { max-height: 320px; }
    .hp-slide-overlay { padding: 1.5rem 1.25rem; }
    .hp-slide-title { font-size: 1.4rem; }
    .hp-slide-sub { font-size: .9rem; }
    .hp-slider-btn { width: 36px; height: 36px; font-size: .85rem; }
}
