/* XI.TICKET balanced customer experience upgrade — presentation only.
   Keeps existing DOM hooks, checkout logic, payment verification and ticket data unchanged. */
:root{
  --xi-canvas:#f7f5f1;--xi-surface:#fff;--xi-ink:#191a1d;--xi-muted:#6b6d73;
  --xi-coral:#ef5b4c;--xi-coral-dark:#d94b3e;--xi-border:#e8e5df;
  --xi-shadow:0 10px 30px rgba(24,25,28,.07);--xi-shadow-hover:0 20px 42px rgba(24,25,28,.13);
}
html{scroll-behavior:smooth;scroll-padding-top:94px}
body:has(.customer-header){color:var(--xi-ink);background:var(--xi-canvas);-webkit-font-smoothing:antialiased}
.customer-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 clamp(18px,4vw,64px);min-height:76px;background:rgba(255,255,255,.93)!important;border-bottom:1px solid rgba(25,26,29,.08)!important;box-shadow:0 5px 24px rgba(25,26,29,.045)!important;backdrop-filter:blur(18px)}
.customer-header .brand{font-size:24px;font-weight:950;letter-spacing:-1.2px;color:var(--xi-ink)!important}
.customer-header .brand span{color:var(--xi-coral)!important}
.customer-header .nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.customer-header .nav a{padding:10px 13px;border-radius:10px;font-weight:750;font-size:13px;color:#44464b!important;transition:background .18s ease,color .18s ease,transform .18s ease}
.customer-header .nav a:hover,.customer-header .nav a.active{background:#f5f1ec!important;color:var(--xi-ink)!important}
.customer-header .nav a.nav-secondary{padding:11px 17px;background:var(--xi-coral)!important;color:white!important;box-shadow:0 6px 15px rgba(239,91,76,.2)}
.customer-header .nav a.nav-secondary:hover{background:var(--xi-coral-dark)!important;transform:translateY(-1px)}
.customer-header+.hero{position:relative;isolation:isolate;min-height:560px;padding:clamp(58px,8vw,104px) 0 62px;background-image:linear-gradient(90deg,rgba(13,16,22,.77) 0%,rgba(13,16,22,.52) 48%,rgba(13,16,22,.16) 100%),linear-gradient(0deg,rgba(13,16,22,.24),transparent 44%),url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg.png')!important;background-size:cover!important;background-position:right 46%!important;border:0!important}
.customer-header+.hero .container{max-width:1240px}
.customer-header+.hero .eyebrow{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;padding:9px 12px;border:1px solid rgba(255,255,255,.28);border-radius:99px;background:rgba(255,255,255,.1);color:#fff!important;font-size:10px;font-weight:900;letter-spacing:.17em;backdrop-filter:blur(8px)}
.customer-header+.hero h1{max-width:850px;margin:0 0 18px;font-size:clamp(48px,7vw,88px);line-height:.96;letter-spacing:-.075em;font-weight:950;text-wrap:balance}
.customer-header+.hero h1 span{color:#ff9a86!important}
.customer-header+.hero p{max-width:590px;font-size:clamp(15px,1.5vw,18px);line-height:1.7;color:rgba(255,255,255,.9)!important}
.search-focus{display:flex;align-items:center;gap:12px;max-width:720px;min-height:64px;margin-top:28px;padding:8px 17px;border:1px solid rgba(255,255,255,.7)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 18px 55px rgba(0,0,0,.25)!important}
.search-focus>span:first-child{font-size:25px;color:var(--xi-coral)!important}.search-focus input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#202126!important;font-size:15px;box-shadow:none!important}.search-focus input::placeholder{color:#8b8d93}.search-hint{font-size:10px;font-weight:900;letter-spacing:.12em;color:#898b91;white-space:nowrap}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.hero-actions .btn{min-height:48px;padding:14px 20px;border-radius:12px;font-weight:850;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.hero-actions .btn:hover{transform:translateY(-2px)}.hero-actions .btn.red,.btn.red{background:var(--xi-coral)!important;border-color:var(--xi-coral)!important;box-shadow:0 8px 22px rgba(239,91,76,.2)!important}.hero-actions .btn.red:hover,.btn.red:hover{background:var(--xi-coral-dark)!important}.hero-actions .btn.ghost{background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.55)!important;color:#fff!important;backdrop-filter:blur(8px)}
.hero-trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.trust-item{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid rgba(255,255,255,.16);border-radius:99px;background:rgba(13,16,22,.24);font-size:11px;color:#fff!important;backdrop-filter:blur(7px)}.trust-icon{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:var(--xi-coral)!important;color:#fff!important;font-size:10px;font-weight:900}
body:has(.customer-header) .section{padding-top:clamp(36px,5vw,66px);padding-bottom:clamp(36px,5vw,66px)}
body:has(.customer-header) .section-title{align-items:end;gap:20px;margin-bottom:22px}body:has(.customer-header) .section-title h2,body:has(.customer-header) .marketplace-head h2{margin:5px 0 0;color:var(--xi-ink);font-size:clamp(29px,4vw,43px);line-height:1.05;letter-spacing:-.055em;font-weight:900}body:has(.customer-header) .eyebrow{color:var(--xi-coral);font-size:10px;font-weight:900;letter-spacing:.16em}body:has(.customer-header) .text-link{font-size:13px;font-weight:850;color:var(--xi-ink)}
.browse-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px!important;border:1px solid var(--xi-border)!important;border-radius:16px!important;background:rgba(255,255,255,.8)!important;box-shadow:0 4px 14px rgba(24,25,28,.025)}.browse-bar{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px;overscroll-behavior-x:contain}.filter-chip{flex:0 0 auto;padding:10px 14px;border:1px solid #e9e5df!important;border-radius:99px!important;background:#fff!important;color:#55575d!important;font-size:12px;font-weight:800;transition:all .18s ease}.filter-chip:hover{border-color:#f0a39b!important;color:var(--xi-coral-dark)!important}.filter-chip.active{background:#222328!important;border-color:#222328!important;color:#fff!important;box-shadow:0 4px 10px rgba(24,25,28,.13)}.sort-control{display:flex;align-items:center;gap:8px;flex:0 0 auto;font-size:12px;font-weight:800;color:#777980}.sort-control select{padding:10px 12px;border:1px solid var(--xi-border);border-radius:10px;background:#fff;color:#28292d;font-weight:750}
.event-card,.featured-strip .event-card{overflow:hidden;border:1px solid rgba(25,26,29,.075)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--xi-shadow)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}.event-card:hover,.featured-strip .event-card:hover{transform:translateY(-5px)!important;box-shadow:var(--xi-shadow-hover)!important;border-color:rgba(239,91,76,.22)!important}.event-card img{transition:transform .45s cubic-bezier(.2,.7,.2,1)}.event-card:hover img{transform:scale(1.035)}.event-card h3{color:#202126;line-height:1.13;letter-spacing:-.025em}.event-card p,.event-card .muted{color:#777980}.event-card .btn{border-radius:10px;font-weight:850}
.event-scroller{position:relative}.scroll-btn{border:1px solid var(--xi-border)!important;background:#fff!important;color:#25262b!important;box-shadow:0 5px 18px rgba(24,25,28,.11);transition:transform .18s ease}.scroll-btn:hover{transform:scale(1.06)}
.organizer-tools-section{background:linear-gradient(135deg,#fff 0%,#f7f5f1 100%);border-top:1px solid var(--xi-border);border-bottom:1px solid var(--xi-border)}.organizer-tools-head h2{font-size:clamp(30px,4vw,44px);letter-spacing:-.055em;line-height:1.04}.organizer-cta{display:inline-flex;align-items:center;gap:10px;padding:13px 17px;border-radius:12px;background:#202126;color:white!important;font-weight:850}.organizer-tool-card{border:1px solid var(--xi-border)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 22px rgba(24,25,28,.045);transition:transform .2s ease,box-shadow .2s ease}.organizer-tool-card:hover{transform:translateY(-3px);box-shadow:var(--xi-shadow)}.organizer-tool-icon{background:#fff0ed!important;color:var(--xi-coral)!important;border-radius:12px}
.how-steps{border:1px solid var(--xi-border)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--xi-shadow)!important}.how-step{padding:clamp(20px,2.5vw,30px)}.how-number{background:#fff0ed!important;color:var(--xi-coral)!important;box-shadow:none!important;border:1px solid #ffdad4}
/* Event details, find-ticket, receipt and checkout pages share one consistent surface system. */
body:has(.customer-header) main.container.section{max-width:1240px}body:has(.customer-header) main.container.section h1{font-size:clamp(32px,5vw,52px);line-height:1.03;letter-spacing:-.06em;color:var(--xi-ink)}body:has(.customer-header) .card,body:has(.customer-header) .state-card{border:1px solid var(--xi-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--xi-shadow)!important}body:has(.customer-header) .card-body{padding:clamp(20px,3vw,32px)}body:has(.customer-header) .field{gap:8px}body:has(.customer-header) .field label{font-size:12px;font-weight:850;color:#3d3f44}body:has(.customer-header) .field input,body:has(.customer-header) .field select,body:has(.customer-header) .field textarea,body:has(.customer-header) input:not(.search-focus input){min-height:46px;border:1px solid #dfdcd6;border-radius:11px;background:#fff;color:#24252a;transition:border-color .18s ease,box-shadow .18s ease}body:has(.customer-header) .field input:focus,body:has(.customer-header) .field select:focus,body:has(.customer-header) .field textarea:focus{outline:none;border-color:var(--xi-coral);box-shadow:0 0 0 3px rgba(239,91,76,.12)}body:has(.customer-header) button,body:has(.customer-header) .btn{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}body:has(.customer-header) .btn.red{border-radius:11px;font-weight:900}body:has(.customer-header) .sale-spec{border:1px solid var(--xi-border);border-radius:13px;overflow:hidden}body:has(.customer-header) .sale-spec-title{background:#f7f5f1;font-weight:900}body:has(.customer-header) .sale-line,body:has(.customer-header) .sale-total-row{padding:12px 14px;border-bottom:1px solid #efede8}body:has(.customer-header) .sale-total-row:last-child{border-bottom:0}body:has(.customer-header) .site-footer{background:#202126!important;color:#f8f8f8!important;border-top:0!important}body:has(.customer-header) .site-footer a{color:#e9e9eb!important}body:has(.customer-header) .site-footer a:hover{color:#ff9a86!important}
.mobile-quick-nav{z-index:45;box-shadow:0 -8px 24px rgba(24,25,28,.06);backdrop-filter:blur(16px)}
@media(max-width:900px){.customer-header{padding:0 20px}.customer-header+.hero{min-height:530px}.browse-tools{align-items:stretch;flex-direction:column}.sort-control{justify-content:flex-end}.organizer-tools-head{gap:20px}}
@media(max-width:760px){.customer-header{min-height:68px;padding:0 15px;gap:10px}.customer-header .brand{font-size:21px}.customer-header .nav{gap:2px}.customer-header .nav a{padding:8px 9px;font-size:11px}.customer-header .nav a.nav-secondary{padding:9px 11px}.customer-header+.hero{min-height:510px;padding:54px 0 38px;background-image:linear-gradient(180deg,rgba(13,16,22,.24),rgba(13,16,22,.68)),url('https://rtsplpuonezjxouenkub.supabase.co/storage/v1/object/public/bg/customer-event-bg-mobile.png')!important;background-size:cover!important;background-position:right center!important}.customer-header+.hero h1{font-size:clamp(42px,12vw,66px);letter-spacing:-.07em}.customer-header+.hero p{font-size:15px;line-height:1.6}.search-focus{min-height:58px;padding:7px 12px;margin-top:22px}.search-focus input{font-size:14px}.search-hint{display:none}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .btn{display:flex;align-items:center;justify-content:center;padding:13px 10px;font-size:12px}.hero-trust{display:grid;grid-template-columns:1fr 1fr;gap:7px}.trust-item{justify-content:flex-start;font-size:10px;padding:8px}.trust-item:last-child{grid-column:1/-1}.section-title{align-items:flex-start!important}.section-title h2,.marketplace-head h2{font-size:31px!important}.browse-tools{padding:9px!important}.browse-bar{margin:0 -2px;padding:3px 2px 8px}.filter-chip{padding:9px 12px;font-size:11px}.event-card,.featured-strip .event-card{border-radius:15px!important}.organizer-tools-head{display:block}.organizer-cta{margin-top:16px}.how-steps{display:block}.how-step{min-height:0;border-right:0!important;border-bottom:1px solid var(--xi-border)}.how-step:last-child{border-bottom:0}.how-step:after{display:none!important}body:has(.customer-header) main.container.section h1{font-size:36px}body:has(.customer-header) .card-body{padding:20px}.mobile-quick-nav{padding-bottom:env(safe-area-inset-bottom,0)} }
@media(max-width:380px){.customer-header .nav a{padding:7px 6px;font-size:10px}.customer-header .brand{font-size:19px}.hero-actions{grid-template-columns:1fr}.customer-header+.hero h1{font-size:42px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body:has(.customer-header) *,body:has(.customer-header) *:before,body:has(.customer-header) *:after{transition:none!important;animation:none!important}}

/* Customer-side: remove the mobile hamburger icon. The homepage retains its bottom quick navigation. */
.customer-header .mobile-nav-toggle{display:none!important}


/* Advanced mobile navigation scrollspy: active section, safe sticky-header offset, horizontal nav support. */
@media(max-width:760px){
  html{scroll-padding-top:82px;scroll-behavior:smooth}
  body:has(.customer-header) section[id]{scroll-margin-top:82px}
  .customer-header .nav{display:flex;flex-wrap:nowrap;max-width:calc(100vw - 120px);overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
  .customer-header .nav::-webkit-scrollbar{display:none}
  .customer-header .nav a{flex:0 0 auto;scroll-snap-align:center;transition:background .18s ease,color .18s ease,box-shadow .18s ease}
  .customer-header .nav a[aria-current="location"]{background:#fce7e4!important;color:#b72f25!important;box-shadow:inset 0 -2px 0 #d94335}
}


/* XI.TICKET customer-side major polish — presentation only; preserve checkout/payment logic. */
:root{
  --xi-coral:#d94335;
  --xi-coral-dark:#b92f25;
  --xi-ink:#17191d;
  --xi-muted:#626772;
  --xi-line:rgba(25,27,31,.12);
  --xi-paper:#fffdf9;
  --xi-lift:0 14px 38px rgba(22,24,29,.09);
  --xi-lift-strong:0 24px 58px rgba(22,24,29,.15);
}
body:has(.customer-header){font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:has(.customer-header) a{ -webkit-tap-highlight-color:transparent }
body:has(.customer-header) :focus-visible{outline:3px solid rgba(217,67,53,.7)!important;outline-offset:3px}
.customer-header{padding-inline:clamp(16px,4.4vw,72px)!important;gap:clamp(12px,2vw,28px)!important}
.customer-header .brand{font-size:clamp(22px,2vw,29px)!important;letter-spacing:-.075em!important;font-weight:1000!important;white-space:nowrap}
.customer-header .nav{gap:clamp(4px,1vw,12px)!important;align-items:center}
.customer-header .nav a{padding:10px 13px!important;border-radius:999px!important;font-size:13px!important;font-weight:800!important;transition:background .18s ease,color .18s ease,transform .18s ease}
.customer-header .nav a:hover{transform:translateY(-1px)}
.customer-header .nav .nav-secondary{background:var(--xi-coral)!important;color:white!important}
.customer-header .nav .nav-secondary:hover{background:var(--xi-coral-dark)!important}
.customer-header+.hero{overflow:hidden}
.customer-header+.hero .container{position:relative;z-index:1}
.customer-header+.hero h1{max-width:900px!important;text-wrap:balance}
.customer-header+.hero p{max-width:620px!important;text-wrap:pretty}
.customer-header+.hero .hero-actions .btn{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.customer-header+.hero .hero-trust{max-width:780px}
body:has(.customer-header) .section{padding-top:clamp(34px,5vw,66px);padding-bottom:clamp(38px,5vw,72px)}
body:has(.customer-header) .section-title{align-items:flex-end;gap:18px;margin-bottom:24px}
body:has(.customer-header) .section-title h2{font-size:clamp(27px,3vw,42px);line-height:1.04;letter-spacing:-.055em;font-weight:950}
body:has(.customer-header) .marketplace-sub{max-width:650px;line-height:1.65;color:var(--xi-muted)}
body:has(.customer-header) .browse-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-block:16px 22px}
body:has(.customer-header) .filter-chip{min-height:38px;padding:9px 14px!important;border-radius:999px!important;font-weight:800!important;transition:transform .16s ease,background .16s ease}
body:has(.customer-header) .filter-chip:hover{transform:translateY(-1px)}
body:has(.customer-header) .event-card,
body:has(.customer-header) .featured-strip .event-card{overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
body:has(.customer-header) .event-card img{display:block;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
body:has(.customer-header) .event-card:hover img{transform:scale(1.035)}
body:has(.customer-header) .event-card .btn,
body:has(.customer-header) .event-card a.btn{min-height:42px;border-radius:11px!important;font-weight:850!important}
body:has(.customer-header) .text-link{font-weight:850;text-underline-offset:4px}
body:has(.customer-header) .card{border:1px solid rgba(26,28,32,.09);border-radius:20px;box-shadow:var(--xi-lift)}
body:has(.customer-header) .card-body{padding:clamp(20px,3vw,32px)}
body:has(.customer-header) .field{gap:8px}
body:has(.customer-header) .field label{font-size:12px;font-weight:850;letter-spacing:.025em;color:#383a40}
body:has(.customer-header) input:not([type=checkbox]):not([type=radio]),
body:has(.customer-header) select,
body:has(.customer-header) textarea{min-height:48px;border:1px solid #d9d9dd;border-radius:12px;padding:12px 14px;background:#fff;color:#17191d;transition:border-color .18s ease,box-shadow .18s ease}
body:has(.customer-header) input:focus,
body:has(.customer-header) select:focus,
body:has(.customer-header) textarea:focus{border-color:var(--xi-coral)!important;box-shadow:0 0 0 4px rgba(217,67,53,.11)!important;outline:none}
body:has(.customer-header) button.btn,
body:has(.customer-header) a.btn{min-height:46px;border-radius:12px!important;font-weight:900!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
body:has(.customer-header) button.btn:hover,
body:has(.customer-header) a.btn:hover{transform:translateY(-1px)}
body:has(.customer-header) .site-footer{border-top:1px solid var(--xi-line);background:#17191d;color:#f8f5ef}
body:has(.customer-header) .site-footer a{color:#fff!important;text-underline-offset:3px}
body:has(.customer-header) .site-footer .footer-title{color:#ff9b8d}
body:has(.customer-header) .state-card{border-radius:14px;padding:14px 16px;line-height:1.55}
body:has(.customer-header) .muted{color:var(--xi-muted)}
/* Event details and ticket choices: clear hierarchy without changing their data or actions. */
#event{min-width:0}
#event h1,#event h2,#event h3{letter-spacing:-.045em;line-height:1.08}
#event img{max-width:100%;border-radius:18px}
#event button,#event a.btn{border-radius:12px}
#event .card,#event [class*="ticket"]{overflow-wrap:anywhere}
body:has(.customer-header) main.container.section>.grid{align-items:start;gap:clamp(18px,3vw,34px)}
body:has(.customer-header) main.container.section>.grid>div:first-child{min-width:0}
body:has(.customer-header) main.container.section>.grid>aside{position:sticky;top:98px}
body:has(.customer-header) #items{display:grid;gap:12px}
body:has(.customer-header) #items>*{min-width:0}
body:has(.customer-header) #fees{display:grid;gap:9px;margin-block:14px}
body:has(.customer-header) #total{font-size:clamp(20px,2vw,28px);letter-spacing:-.04em}
body:has(.customer-header) #pay{width:100%;justify-content:center;margin-top:6px}
body:has(.customer-header) .xi-checkout-receipt-note{border-radius:12px;background:#fff7e8;border-left-color:#d94335}
body:has(.customer-header) .xi-whatsapp-care{border-radius:14px!important;transition:transform .18s ease,box-shadow .18s ease}
body:has(.customer-header) .xi-whatsapp-care:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(18,140,74,.23)}
/* Find-ticket forms and receipt status panels. */
body:has(.customer-header) #tickets{width:100%;min-width:0}
body:has(.customer-header) #tickets .ticket{box-shadow:0 20px 50px rgba(20,22,26,.16)}
body:has(.customer-header) #actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
body:has(.customer-header) #actions .btn{min-width:150px}
body:has(.customer-header) .ticket{color:#111!important}
/* Small-screen ergonomics: no horizontal page overflow and comfortable tap targets. */
@media(max-width:760px){
  .customer-header{min-height:64px!important;padding:10px 16px!important;gap:10px!important}
  .customer-header .nav{max-width:calc(100vw - 118px);overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;overscroll-behavior-x:contain}
  .customer-header .nav::-webkit-scrollbar{display:none}
  .customer-header .nav a{flex:0 0 auto;padding:9px 11px!important;font-size:12px!important}
  .customer-header+.hero{min-height:unset!important;padding:68px 0 48px!important;background-position:right 46%!important}
  .customer-header+.hero h1{font-size:clamp(42px,11vw,68px)!important;line-height:.96!important;letter-spacing:-.07em!important}
  .customer-header+.hero p{font-size:15px!important;line-height:1.65!important}
  .search-focus{min-height:56px!important;gap:9px!important;padding:7px 12px!important}
  .search-hint{display:none}
  .hero-actions{display:grid!important;grid-template-columns:1fr;gap:10px!important}
  .hero-actions .btn{width:100%;box-sizing:border-box}
  .hero-trust{gap:7px!important}
  .trust-item{font-size:10px!important}
  body:has(.customer-header) .section{padding-top:32px;padding-bottom:42px}
  body:has(.customer-header) .section-title{align-items:flex-start;flex-direction:column;margin-bottom:18px}
  body:has(.customer-header) .browse-tools{padding:8px!important;gap:7px!important}
  body:has(.customer-header) .filter-chip{min-height:40px}
  body:has(.customer-header) main.container.section>.grid{grid-template-columns:minmax(0,1fr)!important;gap:18px}
  body:has(.customer-header) main.container.section>.grid>aside{position:static}
  body:has(.customer-header) .card-body{padding:20px}
  body:has(.customer-header) .field input,body:has(.customer-header) .field select{font-size:16px}
  body:has(.customer-header) #actions .btn{width:100%}
}
@media(prefers-reduced-motion:reduce){
  body:has(.customer-header) *,body:has(.customer-header) *::before,body:has(.customer-header) *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}


/* Featured event title contrast fix: readable on both alternating card backgrounds. */
.featured-strip .event-card:nth-child(odd) h2,
.featured-strip .event-card:nth-child(odd) h3,
.featured-strip .event-card:nth-child(odd) .event-title,
.featured-strip .event-card:nth-child(odd) .event-name,
.featured-strip .event-card:nth-child(odd) [class*="title"],
.featured-events .event-card:nth-child(odd) h2,
.featured-events .event-card:nth-child(odd) h3,
.featured-events .event-card:nth-child(odd) .event-title,
.featured-events .event-card:nth-child(odd) .event-name,
.featured-events .event-card:nth-child(odd) [class*="title"]{
  color:#17191d !important;
  -webkit-text-fill-color:#17191d !important;
}
.featured-strip .event-card:nth-child(even) h2,
.featured-strip .event-card:nth-child(even) h3,
.featured-strip .event-card:nth-child(even) .event-title,
.featured-strip .event-card:nth-child(even) .event-name,
.featured-strip .event-card:nth-child(even) [class*="title"],
.featured-events .event-card:nth-child(even) h2,
.featured-events .event-card:nth-child(even) h3,
.featured-events .event-card:nth-child(even) .event-title,
.featured-events .event-card:nth-child(even) .event-name,
.featured-events .event-card:nth-child(even) [class*="title"]{
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
}

/* Only All Events cards move on mobile: top row slowly right, bottom row slowly left.
   No site-wide slide; Featured Events and all other sections remain still. */
@media (max-width:760px){
  body:has(.customer-header) #eventGrid>.event-card:nth-child(odd){
    animation:xi-all-events-top-row-right 18s linear infinite;
    will-change:transform;
  }
  body:has(.customer-header) #eventGrid>.event-card:nth-child(even){
    animation:xi-all-events-bottom-row-left 18s linear infinite;
    will-change:transform;
  }
  @keyframes xi-all-events-top-row-right{
    from{transform:translateX(0)}
    to{transform:translateX(20px)}
  }
  @keyframes xi-all-events-bottom-row-left{
    from{transform:translateX(0)}
    to{transform:translateX(-20px)}
  }
}
@media(prefers-reduced-motion:reduce){
  body:has(.customer-header) #eventGrid>.event-card{animation:none!important;transform:none!important}
}


/* Desktop width adjustment only: preserve the existing card layout and scrolling structure. */
@media (min-width: 1100px) {
  body:has(.customer-header) .container {
    width: min(1480px, calc(100% - 72px)) !important;
    max-width: 1480px !important;
  }
  body:has(.customer-header) .customer-header + .hero .container {
    max-width: 1480px !important;
  }
  body:has(.customer-header) main.container.section {
    max-width: 1480px !important;
  }
  /* Keep the same horizontal carousel; only make each desktop card wider. */
  body:has(.customer-header) .event-track > .event-card {
    flex-basis: clamp(360px, 29vw, 420px) !important;
    min-width: clamp(360px, 29vw, 420px) !important;
  }
}
