/* CF Ticketing 2.0 – shared shop photography and customer pages. */
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo{position:relative;isolation:isolate;overflow:hidden;background:#111;border-bottom-color:#555}
.cft-header-media{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.cft-header-media img,.cft-header-media span{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;border-radius:0}
.cft-header-media span{background:#000}
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-shop-nav{border-color:#ffffff55}
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-shop-heading{padding:64px 0 72px}
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-shop-heading :is(h1,p),:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-app-brand{color:#fff!important}
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-service-button,.cft-customer-page .cft-header-photo .cft-customer-back{background:#0008;color:#fff!important;border:1px solid #ffffff80;box-shadow:none}
:is(.cft-shop-app,.cft-shop-theme) .cft-header-photo :is(a,button):focus-visible{outline-color:#fff!important}
.cft-customer-body{margin:0!important;padding:0!important;background:var(--cft-shop-background,#f5f5f5)!important}
.cft-customer-page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;font:16px/1.55 "Trebuchet MS",Verdana,Arial,sans-serif}
.cft-customer-page :is(h1,h2,h3,p,dl){margin:0}
.cft-customer-page :is(h2,h3){font-family:inherit;color:var(--cft-shop-heading,#222);letter-spacing:-.02em;overflow-wrap:anywhere}
.cft-customer-page h2{font-size:24px;line-height:1.25}.cft-customer-page h3{font-size:20px;line-height:1.3}
.cft-customer-page p{color:var(--cft-shop-text,#222)}
.cft-customer-page a{text-decoration:none}
.cft-customer-page .cft-shop-nav{display:flex;align-items:center;justify-content:space-between;gap:20px}
.cft-customer-page .cft-customer-back{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--cft-shop-border,#858585);border-radius:8px;font-size:14px;font-weight:700;color:var(--cft-shop-page-link,#242424)}
.cft-customer-page .cft-customer-header .cft-shop-heading{padding:30px 0 40px}
.cft-customer-page .cft-shop-heading h1{font-size:clamp(28px,3.4vw,44px);line-height:1.15;color:var(--cft-shop-page-text,#222)}
.cft-customer-page .cft-shop-heading p{margin-top:12px;max-width:800px;color:var(--cft-shop-page-muted,#595959)}
.cft-customer-symbol{display:grid;place-items:center;width:40px;height:40px;border:1px solid currentColor;border-radius:50%;margin-bottom:18px;font-size:24px;color:var(--cft-shop-page-text,#222)}
.cft-header-photo .cft-customer-symbol{color:#fff}
.cft-customer-main{flex:1;width:100%;padding:32px 5% 56px}
.cft-customer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-top:24px}
.cft-customer-card{padding:28px;border:1px solid var(--cft-shop-border,#858585);background:var(--cft-shop-surface,#fff);color:var(--cft-shop-text,#222);border-radius:16px;min-width:0;overflow-wrap:anywhere}
.cft-customer-card>h2{margin-bottom:20px}.cft-customer-card>p+p{margin-top:12px}
.cft-customer-page .cft-customer-event{display:grid;padding:0;overflow:hidden;align-items:stretch}
.cft-customer-page .cft-customer-event.has-image{grid-template-columns:40% minmax(0,1fr)}
.cft-customer-event-image{display:block;width:100%;height:100%;object-fit:contain;background:var(--cft-shop-panel,#fafafa);max-height:280px;align-self:center}
.cft-customer-event-copy{padding:28px;align-self:center;min-width:0}
.cft-customer-event-copy h2{margin-bottom:16px}.cft-customer-page .cft-customer-date{font-weight:700;margin-bottom:10px}
.cft-customer-page :is(.cft-customer-muted,.cft-customer-hint){color:var(--cft-shop-muted,#595959);font-size:14px;line-height:1.65}
.cft-customer-hint{margin-top:20px!important}
.cft-customer-ticket-row{padding:24px 0;border-top:1px solid var(--cft-shop-border,#858585)}
.cft-customer-ticket-row:last-of-type{padding-bottom:8px}
.cft-customer-ticket-label{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;color:var(--cft-shop-muted,#595959);margin-bottom:12px}
.cft-customer-pill{display:inline-flex;align-items:center;border:1px solid var(--cft-shop-border,#858585);background:var(--cft-shop-panel,#fafafa);color:var(--cft-shop-text,#222);font-size:12px;font-weight:700;line-height:1.4;padding:6px 10px;border-radius:30px}
.cft-customer-page .cft-customer-code{font-size:13px;letter-spacing:.025em;overflow-wrap:anywhere;color:var(--cft-shop-muted,#595959);margin-top:12px}
.cft-customer-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.cft-customer-page .cft-customer-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 20px;border:1px solid var(--cft-shop-accent,#242424);border-radius:10px;background:var(--cft-shop-accent,#242424);color:var(--cft-shop-button-text,#fff);font:700 15px/1.4 "Trebuchet MS",Verdana,Arial,sans-serif;transition:background .15s ease;touch-action:manipulation;text-align:center}
.cft-customer-page .cft-customer-button:hover{background:var(--cft-shop-hover,#444);border-color:var(--cft-shop-hover,#444);color:var(--cft-shop-button-text,#fff)}
.cft-customer-page .cft-customer-button.is-secondary{background:transparent;border-color:var(--cft-shop-border,#858585);color:var(--cft-shop-link,#242424)}
.cft-customer-page .cft-customer-button.is-secondary:hover{background:var(--cft-shop-panel,#fafafa);text-decoration:underline;text-underline-offset:3px}
.cft-customer-details{display:grid;gap:18px}.cft-customer-details div{min-width:0}
.cft-customer-details dt{color:var(--cft-shop-muted,#595959);font-size:13px;margin-bottom:4px}.cft-customer-details dd{margin:0;font-size:15px;color:var(--cft-shop-text,#222);overflow-wrap:anywhere}
.cft-customer-prices{margin-top:28px!important;border-top:1px solid var(--cft-shop-border,#858585);padding-top:18px}
.cft-customer-prices>div{display:flex;justify-content:space-between;gap:20px;padding:6px 0;font-size:14px}.cft-customer-prices dd{margin:0;white-space:nowrap}
.cft-customer-prices .cft-customer-total{font-size:20px;font-weight:700;border-top:1px solid var(--cft-shop-border,#858585);padding-top:18px;margin-top:12px}
.cft-customer-ticket-grid{margin-top:0;grid-template-columns:minmax(0,1fr) minmax(320px,1fr)}
.cft-customer-stack{display:grid;gap:24px;min-width:0}
.cft-customer-ticket-grid .cft-customer-event.has-image{grid-template-columns:1fr}
.cft-customer-ticket-grid .cft-customer-event-image{max-height:none;height:auto;width:100%}
.cft-customer-admission{text-align:center;position:sticky;top:24px;padding:32px}
.cft-customer-admission h2{margin:18px 0 24px}
.cft-customer-qr{padding:14px;background:#fff;border-radius:14px;width:308px;max-width:100%;margin:0 auto;border:1px solid #ddd}
.cft-customer-qr img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.cft-customer-message{max-width:800px}.cft-customer-message .cft-customer-button{margin-top:24px}
.cft-customer-page .cft-shop-footer{margin-top:auto}
.cft-customer-skip{position:fixed;left:16px;top:-100px;z-index:50;padding:14px;background:#fff;color:#111}.cft-customer-skip:focus{top:16px}
@media(max-width:760px){
 .cft-customer-main{padding:24px 5% 36px}.cft-customer-grid,.cft-customer-ticket-grid{grid-template-columns:1fr;gap:18px}
 .cft-customer-page .cft-customer-event.has-image{grid-template-columns:1fr}.cft-customer-event-image{max-height:none;height:auto}
 .cft-customer-card,.cft-customer-event-copy{padding:22px}.cft-customer-admission{position:static;grid-row:1;padding:24px}.cft-customer-page .cft-shop-heading h1{font-size:30px}
 .cft-customer-page .cft-shop-nav{padding:18px 0}.cft-customer-back{font-size:12px!important;padding:10px 12px!important}
 .cft-customer-page .cft-customer-header .cft-shop-heading{padding:26px 0 32px}.cft-customer-symbol{margin-bottom:14px}
 .cft-customer-actions .cft-customer-button{width:100%}.cft-customer-page .cft-shop-footer{align-items:flex-start;gap:16px;flex-direction:column}
 .cft-customer-page .cft-shop-footer>div{gap:18px;font-size:13px}
 :is(.cft-shop-app,.cft-shop-theme) .cft-header-photo .cft-shop-heading{padding:40px 0 48px}
}
@media(prefers-reduced-motion:reduce){.cft-customer-page *{transition:none!important;animation:none!important}}
/* Match the shop logo and keep mobile admission immediately reachable. */
.cft-customer-page.cft-shop-theme .cft-shop-nav .cft-app-brand>img{height:55px!important;max-height:55px!important}
.cft-customer-page.cft-shop-theme .cft-customer-header .cft-shop-heading{padding:28px 0 36px}
@media(max-width:760px){.cft-customer-page.cft-shop-theme .cft-customer-header .cft-shop-heading{padding:20px 0 28px}.cft-customer-header .cft-customer-symbol{display:none}.cft-customer-page.cft-shop-theme .cft-shop-nav .cft-app-brand>img{height:47px!important;max-height:47px!important}}
