/* Jukwaa storefront. Tenant colours and fonts come from CSS variables set in base.html */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:#F7F7F4;line-height:1.5}
h1,h2,h3,.h2,.card-title,.footer-brand,.brand{font-family:var(--font-heading)}
a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}
img{max-width:100%}
.wrap{max-width:1240px;margin:0 auto;padding-left:24px;padding-right:24px}
.section{padding-top:28px;padding-bottom:28px}
.narrow{max-width:420px;padding-top:64px}
.muted{color:#5B5C63}.small{font-size:13px}.center{text-align:center}
.sr-only,.skip{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.skip:focus{left:16px;top:16px;width:auto;height:auto;background:#fff;padding:8px 12px;z-index:10}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:10px;font-weight:600;font-size:15px;border:1px solid transparent;cursor:pointer;background:none;font-family:inherit}
.btn-accent{background:var(--accent);color:#fff}.btn-accent:hover{color:#fff;filter:brightness(.95)}
.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{color:#fff;opacity:.92}
.btn-ghost{background:#fff;border-color:#D6D6CF;color:var(--ink)}
.btn-lg{min-height:52px;padding:0 26px;font-size:16px;font-weight:700}
.btn-block{width:100%}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.link-accent{color:var(--accent);font-weight:600}

/* Header */
.topbar{background:var(--ink);color:#E8E8E3;font-size:13px;padding:8px 0}
.site-header{background:#fff;border-bottom:1px solid #E4E4DE;position:relative}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:24px;padding-top:14px;padding-bottom:14px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:21px}
.mark{width:40px;height:40px;border-radius:10px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:17px}
.nav-menu{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:24px}
.links{display:flex;flex-wrap:wrap;gap:22px;font-weight:500}
.nav-actions{flex:1;display:flex;justify-content:flex-end;gap:10px;align-items:center}
.nav-search input{width:260px;height:44px;border:1px solid #D6D6CF;border-radius:10px;padding:0 14px;background:#F7F7F4;font-size:14px}
.menu-toggle,.menu-button{display:none}
@media (max-width:860px){
  .menu-button{display:flex;flex-direction:column;gap:5px;margin-left:auto;padding:12px;cursor:pointer}
  .menu-button span{width:22px;height:2px;background:var(--ink)}
  .nav-menu{display:none;flex-basis:100%;flex-direction:column;align-items:stretch}
  .menu-toggle:checked ~ .nav-menu{display:flex}
  .links{flex-direction:column;gap:14px}
  .nav-actions{flex-wrap:wrap;justify-content:flex-start}
  .nav-search,.nav-search input{width:100%}
}

/* Messages & notices */
.messages{padding-top:16px}
.msg,.notice{padding:12px 16px;border-radius:10px;background:#EEF2FF;margin:8px 0}
.msg-success{background:#DCEFE2}.msg-error,.notice-danger{background:#FBDADA;color:#7F1D1D}
.notice-warn{background:#FDEBD2;color:#7C2D12}

/* Hero slider */
.slider{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:20px;scrollbar-width:none}
.slider::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:start;display:flex;flex-wrap:wrap;background:var(--ink);color:#fff;min-height:420px}
.slide-text{flex:1 1 420px;padding:52px;display:flex;flex-direction:column;justify-content:center;gap:16px}
.slide-text h1{margin:0;font-size:clamp(32px,5vw,54px);line-height:1.05}
.slide-meta{margin:0;color:#C9C9C2;font-size:17px}
.slide-img{flex:1 1 380px;min-height:320px;background:#2A2B33 center/cover no-repeat}
.pill{align-self:flex-start;background:var(--accent);padding:6px 12px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.dots{display:flex;gap:8px;justify-content:center;margin-top:12px}
.dots a{width:28px;height:6px;border-radius:3px;background:#D6D6CF}
.dots a:hover,.dots a:focus{background:var(--accent)}

/* Chips */
.chips{display:flex;flex-wrap:wrap;gap:10px;padding-top:8px}
.chip{min-height:44px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:#fff;border:1px solid #DCDCD5;font-weight:500;font-size:14px}

/* Grid & cards */
.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px}
.section-head h2,.h2{margin:0;font-size:30px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid #E4E4DE;border-radius:16px;overflow:hidden}
.card:hover{color:inherit;box-shadow:0 6px 20px rgba(0,0,0,.06)}
.card-img{height:170px;background:#E9E3DA center/cover no-repeat;display:flex;justify-content:space-between;align-items:flex-start;padding:12px}
.date-chip{background:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:8px;text-align:center;line-height:1.2}
.tag{font-size:12px;font-weight:600;padding:6px 10px;border-radius:999px}
.tag-dark{background:var(--ink);color:#fff}.tag-warn{background:#FDEBD2;color:#7C2D12}
.card-body{padding:16px;display:flex;flex-direction:column;gap:4px}
.card-title{font-weight:600;font-size:19px}
.card-price{font-weight:700;margin-top:6px}

/* Upcoming list */
.upcoming{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #E4E4DE;border-radius:16px}
.upcoming li+li{border-top:1px solid #EEEEE8}
.upcoming a{display:grid;grid-template-columns:110px 1fr auto auto;gap:16px;padding:14px 18px;align-items:center}
.up-date{font-weight:700}.up-title{font-weight:600}.up-price{font-weight:700}
@media (max-width:640px){.upcoming a{grid-template-columns:1fr auto}.upcoming .muted,.up-date{grid-column:1/-1}}

/* Newsletter band */
.band{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between;background:var(--accent);color:#fff;border-radius:20px;padding:40px 48px}
.band h2{margin:0;font-size:28px}.band p{margin:6px 0 0}
.band-form{flex:1 1 380px;display:flex;flex-wrap:wrap;gap:10px}
.band-form input[name=contact]{flex:1 1 220px;height:52px;border:0;border-radius:12px;padding:0 16px;font-size:15px}
.consent{flex-basis:100%;font-size:13px;display:flex;gap:8px;align-items:flex-start}

/* Filters */
.filters{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;background:#fff;border:1px solid #E4E4DE;border-radius:16px;padding:16px;margin-bottom:24px}
.field{display:flex;flex-direction:column;gap:6px}.field.grow{flex:1 1 240px}.field.actions{flex-direction:row}
label{font-weight:600;font-size:13px}
input,select{height:44px;border:1px solid #D6D6CF;border-radius:10px;padding:0 12px;font-size:15px;font-family:inherit;background:#fff}
.pager{display:flex;gap:16px;align-items:center;justify-content:center;margin-top:28px}
.empty{text-align:center;padding:64px 0}

/* Event page */
.crumbs{padding-top:18px;font-size:14px;color:#5B5C63}
.event-layout{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding-top:18px;padding-bottom:56px}
.event-main{flex:999 1 600px;min-width:0;display:flex;flex-direction:column;gap:24px}
.banner{height:400px;border-radius:20px;background:#2A2B33 center/cover no-repeat}
@media (max-width:640px){.banner{height:220px}}
.eyebrow{color:var(--accent);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.event-head h1{margin:6px 0 10px;font-size:clamp(30px,4vw,44px);line-height:1.1}
.facts{display:flex;flex-wrap:wrap;gap:8px 24px;color:#3A3B42}
.panel{background:#fff;border:1px solid #E4E4DE;border-radius:16px;padding:24px}
.panel h2{margin:0 0 12px;font-size:22px}
.prose{line-height:1.65;color:#3A3B42}.prose p{margin:0 0 12px}
.lineup{margin:0;padding-left:18px}
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.map{width:100%;height:200px;border:0;border-radius:10px}
.ticket-box{flex:1 1 340px;background:#fff;border:1px solid #E4E4DE;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px;position:sticky;top:16px}
.ticket-box h2{margin:0;font-size:22px}
.tiers{display:flex;flex-direction:column;gap:12px}
.tier{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #E4E4DE;border-radius:14px;padding:14px 16px}
.tier-off{background:#FAFAF8}
.tier-info{display:flex;flex-direction:column;gap:3px}
.price{font-weight:700;color:var(--accent)}
.badge{align-self:flex-start;font-size:12px;font-weight:600;padding:3px 8px;border-radius:999px;background:#EEEEE8}
.badge-accent{background:#FDEBD2;color:#7C2D12}
.qty{width:76px}
.code-form{border-top:1px solid #EEEEE8;padding-top:12px;display:flex;flex-direction:column;gap:6px}

/* Footer */
.site-footer{background:var(--ink);color:#C9C9C2;margin-top:56px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px;padding-top:48px;padding-bottom:28px;font-size:14px}
.footer-col{display:flex;flex-direction:column;gap:9px}
.footer-col a{color:#C9C9C2}.footer-col a:hover{color:#fff}
.footer-brand{font-weight:700;font-size:22px;color:#fff}
.footer-title{color:#fff;font-weight:600}
.socials{display:flex;flex-wrap:wrap;gap:12px}
.pay-logos{display:flex;flex-wrap:wrap;gap:8px}
.pay{background:#fff;color:#15161C;font-weight:700;font-size:12px;padding:6px 10px;border-radius:6px}
.pay-mpesa{color:#15803D}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding-top:18px;padding-bottom:22px;border-top:1px solid rgba(255,255,255,.12);font-size:13px}
.footer-bottom a{color:#C9C9C2}

/* Simple pages & forms */
.hero{padding:64px 0}.hero h1{font-size:48px;margin:0 0 12px}
main.prose{max-width:760px}
.narrow input{width:100%}
.narrow button{margin-top:20px;min-height:48px;padding:0 24px;border:0;border-radius:10px;background:var(--accent);color:#fff;font-weight:700;font-size:15px;cursor:pointer}
.narrow label{display:block;margin:16px 0 6px}

/* Checkout */
.checkout{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.checkout-main{flex:999 1 520px;min-width:0;display:flex;flex-direction:column;gap:18px}
.summary{flex:1 1 300px;position:sticky;top:16px}
.summary .line{display:flex;justify-content:space-between;gap:12px;padding:6px 0}
.summary .total{border-top:1px solid #EEEEE8;margin-top:6px;padding-top:12px;font-weight:700;font-size:18px}
.stack{display:flex;flex-direction:column;gap:16px}
.stack .field input{width:100%}
.err{color:#B91C1C;font-size:13px}
.methods{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.methods legend{font-weight:600;font-size:13px;margin-bottom:8px}
.method{display:flex;align-items:center;gap:12px;border:1px solid #D6D6CF;border-radius:12px;padding:12px 14px;cursor:pointer;font-weight:400;font-size:15px;min-height:64px}
.method:has(input:checked){border:2px solid var(--accent)}
.method input{width:20px;height:20px}
.pay-one{display:flex;align-items:center;gap:12px;border:1px solid #D6D6CF;border-radius:12px;padding:12px 14px;font-size:15px;background:#FAFAF7}
.mpesa-only[hidden]{display:none}
.timer{background:#FDEBD2;color:#7C2D12;border-radius:10px;padding:10px 14px;font-size:14px}
.timer-low{background:#FBDADA;color:#7F1D1D}
.wait{padding:40px 24px;display:flex;flex-direction:column;align-items:center;gap:12px}
.spinner{width:72px;height:72px;border-radius:50%;border:6px solid #DCEFE2;border-top-color:#15803D;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spinner{animation:none}}
.tick{width:64px;height:64px;border-radius:50%;background:#15803D;color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.center .row{justify-content:center}

/* Tickets & My tickets */
.ticket-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;margin:18px 0}
.ticket-card{background:#fff;border:1px solid #E4E4DE;border-radius:18px;padding:18px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.ticket-top{width:100%;display:flex;justify-content:space-between;align-items:center}
.ticket-card .qr{width:220px;max-width:100%}
.ticket-card .qr svg{width:100%;height:auto;display:block}
.ticket-card .code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:20px;font-weight:700;letter-spacing:.08em;margin:0}
.ticket-used .qr,.ticket-void .qr{opacity:.25}
.my-order{margin-bottom:12px}

/* Reserved seating bits used outside the picker (Sprint 5) */
.pill-seat{background:#EEEEE8;color:var(--ink)}
.seat-list{margin:6px 0 10px;padding-left:18px;font-size:14px;color:#3A3B42}
.seat-cta{display:flex;flex-direction:column;gap:10px;margin-bottom:14px}
/* My tickets: secondary links under the form */
.my-alt{margin-top:18px;text-align:center}
.my-alt a{color:var(--accent);font-weight:600}
.narrow .my-link{background:none;color:var(--accent);min-height:0;padding:0;margin:0;font-weight:600;font-size:14px;text-decoration:underline}
/* My tickets → Your data (F-072) */
.narrow-wide{max-width:760px}
.pd-card{margin:16px 0;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.pd-card .h3{margin:0}.pd-card p{margin:0}
.pd-card .stack,.pd-card .field,.pd-card textarea{width:100%}
.pd-danger{border-color:#F3C9C9}
.pd-hist ul{list-style:none;padding:0;margin:8px 0 18px;display:flex;flex-direction:column;gap:8px}
.pd-st{font-weight:700}.pd-new{color:#B45309}.pd-done{color:#15803D}.pd-rejected{color:#B91C1C}
/* cookie notice */
.ck{position:fixed;left:16px;bottom:16px;z-index:90;max-width:420px;display:flex;gap:12px;align-items:center;padding:12px 14px;border-radius:14px;
  background:#15161C;color:#E9E9EC;font-size:13.5px;line-height:1.45;box-shadow:0 16px 40px -12px rgba(0,0,0,.45)}
.ck a{color:#fff;text-decoration:underline}
.ck button{flex:0 0 auto;border:0;border-radius:999px;padding:8px 14px;background:#fff;color:#15161C;font-weight:700;cursor:pointer}
.ck[hidden]{display:none}
@media(max-width:520px){.ck{left:10px;right:10px;bottom:10px;max-width:none}}
.pd-card .h3,.pd-hist .h3{font-size:19px;margin:0}
/* promo codes (F-078) */
.promo-box{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.promo-box label{font-weight:600;font-size:14px}
.promo-box .row input{flex:1;min-width:0;text-transform:uppercase;letter-spacing:.06em}
.promo-on{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;color:#166534}
.promo-on .btn-sm{padding:6px 12px;min-height:0;font-size:13px}
.summary .promo-line{color:#166534;font-weight:600}
/* Ticket page: "The Poster" (design B), same layout as the PDF */
.tickets-page .ticket-grid{grid-template-columns:repeat(auto-fill,minmax(300px,380px));justify-content:center}
.tkb{background:#fff;border:1px solid #E4E4DE;border-radius:22px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(0,0,0,.06)}
.tkb-art{position:relative;min-height:190px;padding:16px 20px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;
  background:linear-gradient(120deg,var(--ink,#15161C),var(--accent,#C2410C));background-size:cover;background-position:center}
.tkb-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 35%,rgba(0,0,0,.62) 100%)}
.tkb-art>*{position:relative;z-index:1}
.tkb-org{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.tkb-art h2{margin:0;font-size:24px;line-height:1.12;font-weight:800;text-shadow:0 2px 10px rgba(0,0,0,.3)}
.tkb-rows{display:grid;grid-template-columns:1fr 1fr;gap:12px 14px;padding:16px 20px 0}
.tkb-rows span,.tkb-box span{display:block;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#7A7B83}
.tkb-rows b{font-size:15px}.tkb-rows .r{text-align:right}
.tkb-box{display:flex;margin:14px 20px 0;border:1.5px solid #ECECE6;border-radius:14px;overflow:hidden}
.tkb-box>div{flex:1;padding:9px 12px;border-left:1.5px solid #ECECE6;min-width:0}.tkb-box b{display:block;font-size:17px;font-weight:800;overflow-wrap:anywhere}
.tkb-box .tkb-type{flex:1.5;border:0;background:var(--accent,#C2410C);color:#fff}.tkb-box .tkb-type span{color:rgba(255,255,255,.85)}
.tkb-cut{position:relative;height:28px;margin-top:14px}.tkb-cut:before{content:"";position:absolute;left:22px;right:22px;top:13px;border-top:2px dashed #DEDED8}
.tkb-cut i{position:absolute;top:0;width:28px;height:28px;border-radius:50%;background:#F7F7F4;border:1px solid #E4E4DE}
.tkb-cut i:first-child{left:-15px}.tkb-cut i:last-child{right:-15px}
.tkb-q{display:flex;flex-direction:column;align-items:center;gap:6px;padding:2px 20px 14px;text-align:center}
.tkb-q .qr{width:230px;max-width:100%}.tkb-q .qr svg{width:100%;height:auto;display:block;shape-rendering:crispEdges}
.tkb-q .code{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:19px;font-weight:700;letter-spacing:.1em;margin:0}
.tkb-q p{margin:0}.tkb-terms{font-size:11px;color:#8A8B92;max-width:300px}
.tkb-foot{display:flex;justify-content:space-between;gap:8px;padding:10px 20px;background:#F6F6F2;font-size:11.5px;color:#7A7B83;margin-top:auto}
.tkb.ticket-used .qr,.tkb.ticket-void .qr{opacity:.25}
.tkb-rows small{display:block;font-size:12px;color:#7A7B83;margin-top:1px}
