/*
 * One stylesheet for every template. The merchant's colours arrive as custom
 * properties on :root, already corrected for contrast by ThemeResolver — so no
 * per-merchant CSS is generated, and nothing here can be made unreadable by a
 * colour choice (constitution §10).
 */

:root {
    /* Fallbacks only. The rendered page overrides all of these inline. */
    --site-surface: #ffffff;
    --site-surface-alt: #f5f5f5;
    --site-text: #111111;
    --site-text-muted: #595959;
    --site-primary: #1f5c3a;
    --site-primary-text: #1f5c3a;
    --site-on-primary: #ffffff;
    --site-accent: #c8873b;
    --site-accent-text: #8a5a1f;
    --site-on-accent: #ffffff;
    --site-border: #dcdcdc;
    --site-focus: #1f5c3a;
    --site-radius: 10px;
    --site-gap: 4rem;
    --site-font-heading: system-ui, sans-serif;
    --site-font-body: system-ui, sans-serif;

    --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    /* 16px floor and a comfortable measure, holding at 320px and at 200% zoom (FR-12.5). */
    font: 400 1rem/1.6 var(--site-font-body);
    color: var(--site-text);
    background: var(--site-surface);
    overflow-wrap: break-word;
}

h1, h2, h3, h4 {
    font-family: var(--site-font-heading);
    line-height: 1.2;
    margin: 0 0 0.5em;
    text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; max-width: 70ch; }

a { color: var(--site-primary-text); }

img { max-width: 100%; height: auto; display: block; }

/* A visible focus ring everywhere, never removed (FR-12.9). */
:focus-visible {
    outline: 3px solid var(--site-focus);
    outline-offset: 2px;
    border-radius: 2px;
}

.visually-hidden {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    padding: 0.75rem 1rem; background: var(--site-primary); color: var(--site-on-primary);
}
.skip-link:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.muted { color: var(--site-text-muted); }

/* Empty states are written, never blank (FR-12.15). */
.empty {
    color: var(--site-text-muted);
    background: var(--site-surface-alt);
    border: 1px dashed var(--site-border);
    border-radius: var(--site-radius);
    padding: 1.25rem;
    max-width: 60ch;
}

/* ------------------------------------------------------------------ buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    /* 44px minimum target, with real spacing around it (FR-12.4). */
    min-height: 44px; min-width: 44px;
    padding: 0.7rem 1.25rem;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    background: var(--site-surface);
    color: var(--site-text);
    font: inherit; font-weight: 600;
    text-decoration: none; cursor: pointer;
}

.btn--primary { background: var(--site-primary); color: var(--site-on-primary); border-color: var(--site-primary); }
.btn--lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn + .btn { margin-left: 0.75rem; }

/* ------------------------------------------------------------------- header */

.site-header { border-bottom: 1px solid var(--site-border); background: var(--site-surface); }
.site-header.is-sticky { position: sticky; top: 0; z-index: 20; }

.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.site-brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; text-decoration: none; color: var(--site-text); }
.site-brand__logo { width: 40px; height: 40px; object-fit: contain; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--site-text); text-decoration: none; padding: 0.6rem 0; display: inline-block; }
.site-nav a[aria-current="page"] { border-bottom: 2px solid var(--site-primary); }

.site-nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 1px solid var(--site-border); border-radius: var(--site-radius); }
.site-nav__toggle span, .site-nav__toggle span::before, .site-nav__toggle span::after {
    display: block; width: 20px; height: 2px; background: var(--site-text); margin-inline: auto; position: relative;
}
.site-nav__toggle span::before, .site-nav__toggle span::after { content: ""; position: absolute; }
.site-nav__toggle span::before { top: -6px; }
.site-nav__toggle span::after { top: 6px; }

@media (max-width: 767px) {
    .site-nav__toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 68px;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--site-surface); border-bottom: 1px solid var(--site-border);
        padding: 0.5rem 1.25rem 1.25rem;
    }
    body.nav-open .site-nav { display: flex; }
    .site-nav ul { flex-direction: column; gap: 0; }
    .site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--site-border); }
}

/* -------------------------------------------------------------------- hero */

.hero { position: relative; }
.hero__inner { display: grid; gap: 2rem; padding-block: clamp(3rem, 8vw, 6rem); }
.hero--image-right .hero__inner, .hero--image-left .hero__inner { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .hero--image-right .hero__inner, .hero--image-left .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
    .hero--image-left .hero__media { order: -1; }
}

.hero.has-image.hero--image-background { color: #fff; }
.hero.has-image.hero--image-background .hero__inner { position: relative; z-index: 2; min-height: 60vh; align-content: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/*
 * The scrim is why hero text is readable over ANY photo. Without it, contrast
 * would depend on the picture the merchant happened to upload (FR-12.7).
 */
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65)); z-index: 1; }

.hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; margin-bottom: .5rem; }
.hero__body { font-size: 1.1rem; }
.hero--plain .hero__inner { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* ---------------------------------------------------------------- sections */

.section { padding-block: var(--site-gap); }
.section:nth-of-type(even) { background: var(--site-surface-alt); }
.section--hero { padding-block: 0; background: none; }
.section--spacer { padding-block: 0; background: none; }

.spacer--sm { height: 2rem; }
.spacer--md { height: 4rem; }
.spacer--lg { height: 7rem; }

.page-title { padding-top: var(--site-gap); }

.prose p { font-size: 1.05rem; }

/* ------------------------------------------------------------------- grids */

.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }

.card-grid { list-style: none; margin: 0; padding: 0; }

.card { border: 1px solid var(--site-border); border-radius: var(--site-radius); overflow: hidden; background: var(--site-surface); }
/* An explicit aspect ratio so a late-loading image cannot shift the layout (FR-7.15). */
.card__image { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card__body { padding: 1rem; }
.card__title { margin: 0 0 .35rem; font-size: 1.05rem; }
.card__price { margin: 0; font-weight: 700; }

/* -------------------------------------------------------------------- menu */

.menu-group { margin-bottom: 2.5rem; }
.menu-group__name { border-bottom: 2px solid var(--site-border); padding-bottom: .5rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--site-border); }
.menu-item__image { width: 72px; height: 72px; object-fit: cover; border-radius: var(--site-radius); flex: none; }
.menu-item__body { flex: 1; }
.menu-item__name { margin: 0; font-weight: 600; }
.menu-item__description { margin: .2rem 0 0; font-size: .95rem; }
.menu-item__price { margin: 0; font-weight: 700; white-space: nowrap; }

/* ------------------------------------------------------------------- other */

.hours { border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem 1.5rem .5rem 0; border-bottom: 1px solid var(--site-border); }
.hours .is-today { font-weight: 700; }

.address { font-style: normal; margin-bottom: 1rem; }

.contact-list, .social, .filters ul, .reviews, .notfound__links ul { list-style: none; margin: 0; padding: 0; }
.contact-list, .social, .filters ul { display: flex; flex-wrap: wrap; gap: .75rem; }

.cta { text-align: center; }
.cta p { margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.reviews { display: grid; gap: 1.5rem; }
.review { border: 1px solid var(--site-border); border-radius: var(--site-radius); padding: 1.25rem; }
.review__rating { color: var(--site-accent-text); margin: 0 0 .5rem; }

.breadcrumbs { padding-top: 1.25rem; font-size: .9rem; }
.breadcrumbs ol { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--site-text-muted); }

/* ------------------------------------------------------------------- forms */

.form, .booking { display: grid; gap: 1.25rem; max-width: 34rem; }
.booking { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); align-items: end; max-width: 46rem; }

.field { display: grid; gap: .35rem; }
/* Visible labels, never placeholder-only (FR-12.13). */
.field label { font-weight: 600; }
.field input, .field textarea {
    font: inherit; padding: .7rem .8rem; min-height: 44px;
    border: 1px solid var(--site-border); border-radius: var(--site-radius);
    background: var(--site-surface); color: var(--site-text); width: 100%;
}
.field__hint { font-size: .9rem; color: var(--site-text-muted); margin: 0; }

/* ------------------------------------------------------------------ footer */

.site-footer { border-top: 1px solid var(--site-border); padding-block: 2.5rem; background: var(--site-surface-alt); }
.site-footer__inner { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer__name { font-weight: 700; margin-bottom: .25rem; }
.site-footer__social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; text-transform: capitalize; }

.notfound { padding-block: clamp(3rem, 10vw, 6rem); }
.notfound__links ul { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Nothing moves for someone who asked for less motion (FR-12.12). */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .site-header, .site-nav, .skip-link, .btn { display: none; }
}

/* ------------------------------------------------------------------- events */

.event-card__when { margin: 0 0 .35rem; font-weight: 600; color: var(--site-primary-text); }
.event-card__note { margin: .35rem 0 0; font-weight: 700; color: var(--site-text-muted); }
.card.is-unavailable .card__image { opacity: .6; }

.event-detail { display: grid; gap: 2rem; }
@media (min-width: 768px) { .event-detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.event-detail__image { border-radius: var(--site-radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.event-detail__name { margin-top: 0; }
.event-detail__facts { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0 0 1.25rem; }
.event-detail__facts dt { font-weight: 700; }
.event-detail__facts dd { margin: 0; }

.ticket-picker__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ticket-type {
    display: grid; gap: .5rem 1rem; align-items: center;
    grid-template-columns: 1fr auto; padding: 1rem 0;
    border-bottom: 1px solid var(--site-border);
}
@media (min-width: 600px) { .ticket-type { grid-template-columns: 1fr auto auto; } }
.ticket-type.is-unavailable { opacity: .6; }
.ticket-type__name { margin: 0; font-weight: 600; }
.ticket-type__remaining { margin: .2rem 0 0; font-size: .9rem; font-weight: 700; color: var(--site-accent-text); }
.ticket-type__price { margin: 0; font-weight: 700; white-space: nowrap; }
.ticket-type__qty { display: grid; gap: .25rem; }
.ticket-type__qty label { font-size: .85rem; font-weight: 600; }
.ticket-type__qty input { width: 5.5rem; min-height: 44px; font: inherit; padding: .5rem;
    border: 1px solid var(--site-border); border-radius: var(--site-radius);
    background: var(--site-surface); color: var(--site-text); }
.ticket-picker__terms { font-size: .9rem; color: var(--site-text-muted); max-width: 60ch; }

/* ------------------------------------------------------------------ product */

.card__link { display: block; color: inherit; text-decoration: none; }
.card__link:hover .card__title { text-decoration: underline; }

.filters a { display: inline-block; padding: .5rem .9rem; min-height: 44px; line-height: 1.8;
    border: 1px solid var(--site-border); border-radius: var(--site-radius);
    text-decoration: none; color: var(--site-text); }
.filters a.is-active { background: var(--site-primary); color: var(--site-on-primary); border-color: var(--site-primary); }

.product { display: grid; gap: 2rem; }
@media (min-width: 768px) { .product { grid-template-columns: 1fr 1fr; align-items: start; } }
.product__media img { width: 100%; border-radius: var(--site-radius); aspect-ratio: 1 / 1; object-fit: cover; }
.product__name { margin-top: 0; }
.product__price { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.25rem; }
.product__was { margin-left: .6rem; font-size: 1rem; font-weight: 400; text-decoration: line-through; color: var(--site-text-muted); }
.product__buy { display: flex; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product__buy .field { display: grid; gap: .25rem; }
.product__buy input { width: 5.5rem; }
.product__description { margin-top: 1rem; }

/* ---------------------------------------------------------------- event page */
/* The event the way a flyer reads (sites spec, events template). Mobile first: one
   column with the order bar pinned to the bottom; from 1024px the flyer holds the left
   rail and the order summary the right, so the total is never off screen. Every colour
   is a theme token, so the dark events template and a light site both work. */

.section--events-showcase { padding-block: 1.25rem var(--site-gap); }
.event-page { display: grid; gap: 1.25rem; padding-bottom: 5.5rem; }
.event-page.is-selling { padding-bottom: 6rem; }
@media (min-width: 1024px) {
    .event-page { grid-template-columns: minmax(280px, 380px) 1fr; align-items: start; gap: 2.5rem; padding-bottom: 0; }
    .event-page.is-selling { grid-template-columns: minmax(280px, 360px) 1fr minmax(260px, 316px); padding-bottom: 0; }
}
.event-flyer { border-radius: var(--site-radius); overflow: hidden; border: 1px solid var(--site-border); line-height: 0; background: var(--site-surface-alt); }
.event-flyer img { width: 100%; display: block; }
.event-flyer--text { aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 1.5rem; line-height: 1.15;
    font-family: var(--site-font-heading); font-size: clamp(1.6rem, 6vw, 2.6rem); font-weight: 700; text-align: center; letter-spacing: -.02em; }
.event-page__under { display: flex; gap: .6rem; margin-top: .75rem; }
.event-tool { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px;
    padding: .6rem .8rem; font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
    border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface-alt); color: var(--site-text); }
.event-tool svg { width: 16px; height: 16px; color: var(--site-text-muted); }
.event-page__toolnote { margin: .5rem 0 0; font-size: .9rem; }

.event-page__kicker { margin: 0 0 .4rem; font-size: .9rem; color: var(--site-text-muted); }
.event-page__title { margin: 0 0 1.25rem; font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.06; }
.event-page__paid { margin: 0 0 1rem; }
.event-page__subhead { margin: 1.75rem 0 .7rem; font-size: 1rem; font-weight: 600; }
.event-page__about { font-size: .95rem; color: var(--site-text-muted); max-width: 62ch; line-height: 1.65; }
.event-page__contact { font-size: .9rem; margin-top: 1rem; }
.event-page__note { font-weight: 700; color: var(--site-text-muted); margin: 1rem 0; }

/* Facts: a grid of bold line + detail, one hairline between cells. */
.event-facts { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--site-border);
    border: 1px solid var(--site-border); border-radius: var(--site-radius); overflow: hidden; margin: 0; }
@media (min-width: 640px) { .event-facts { grid-template-columns: repeat(var(--facts-cols, 2), 1fr); } }
.event-fact { background: var(--site-surface); padding: .9rem 1rem; display: flex; gap: .8rem; align-items: flex-start; }
.event-fact > svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--site-text-muted); }
.event-fact__k { margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; }
.event-fact__v { margin: 2px 0 0; font-size: .85rem; line-height: 1.45; color: var(--site-text-muted); }

/* Chips: a row of short tags. */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .45rem .85rem; font-size: .85rem; border: 1px solid var(--site-border); border-radius: 999px; background: var(--site-surface-alt); }

/* Ticket cards with steppers. */
.ticket-select { margin: 0; }
.ticket-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.ticket-card { display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1rem 1.1rem; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface-alt); }
.ticket-card.is-selected { border-color: var(--site-text); }
.ticket-card.is-sold { opacity: .45; }
.ticket-card__about { min-width: 0; }
.ticket-card__name { margin: 0; font-weight: 600; letter-spacing: -.01em; }
.ticket-card__sub { margin: 2px 0 0; font-size: .85rem; color: var(--site-text-muted); }
.ticket-card__perks { list-style: none; margin: .5rem 0 0; padding: 0; }
.ticket-card__perks li { position: relative; padding-left: 15px; font-size: .85rem; line-height: 1.6; color: var(--site-text-muted); }
.ticket-card__perks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--site-text-muted); }
.ticket-card__left { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 600; color: var(--site-accent-text); }
.ticket-card__right { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; flex: 0 0 auto; }
@media (min-width: 640px) { .ticket-card__right { flex-direction: row; align-items: center; gap: 1.4rem; } }
.ticket-card__price { margin: 0; font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stepper { display: flex; align-items: center; gap: .5rem; }
.stepper__btn { width: 40px; height: 40px; display: grid; place-items: center; font: inherit; font-size: 1.15rem; line-height: 1; cursor: pointer;
    border: 1px solid var(--site-border); border-radius: calc(var(--site-radius) - 2px); background: var(--site-surface); color: var(--site-text); }
.stepper__btn.is-on { background: var(--site-primary); color: var(--site-on-primary); border-color: var(--site-primary); }
.stepper__btn.is-off { opacity: .4; }
.stepper__qty { width: 3.2rem; min-height: 40px; text-align: center; font: inherit; font-weight: 600; font-variant-numeric: tabular-nums;
    border: 1px solid transparent; border-radius: calc(var(--site-radius) - 2px); background: transparent; color: var(--site-text); -moz-appearance: textfield; }
.stepper__qty::-webkit-outer-spin-button, .stepper__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__qty:focus-visible { border-color: var(--site-border); }

/* The order: a rail on a desktop, a bar pinned to the bottom of a phone. */
.order-summary { border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface-alt); padding: 1.1rem 1.2rem; }
@media (min-width: 1024px) { .event-page__summary .order-summary { position: sticky; top: 1.25rem; } }
.order-summary__title { margin: 0 0 .6rem; font-weight: 600; }
.order-summary__rows { list-style: none; margin: 0; padding: 0; }
.order-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .9rem; color: var(--site-text-muted); }
.order-row b { color: var(--site-text); font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-row--total { border-top: 1px solid var(--site-border); margin-top: .5rem; padding-top: .85rem; font-size: 1.05rem; color: var(--site-text); }
.order-row--total b { font-weight: 700; }
.order-summary__empty { font-size: .9rem; margin: 0 0 .25rem; }
.order-summary__btn { width: 100%; margin-top: .9rem; }
.order-summary__mini { margin: .6rem 0 0; font-size: .8rem; text-align: center; }
.order-summary__event { display: flex; gap: .8rem; padding-bottom: .9rem; margin-bottom: .4rem; border-bottom: 1px solid var(--site-border); }
.order-summary__event img { width: 56px; height: 80px; object-fit: cover; border-radius: calc(var(--site-radius) - 3px); flex: 0 0 56px; }
.order-summary__name { margin: 0; font-weight: 600; line-height: 1.25; }
.order-summary__meta { margin: .25rem 0 0; font-size: .85rem; line-height: 1.45; }
.event-page__summary { display: none; }
@media (min-width: 1024px) { .event-page__summary { display: block; } }

.event-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom)); background: var(--site-surface); border-top: 1px solid var(--site-border); }
.event-bar__text { display: grid; min-width: 0; }
.event-bar__text strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.event-bar__text small { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-bar .btn { white-space: nowrap; }
.event-bar .btn[disabled] { opacity: .55; cursor: default; }
@media (min-width: 1024px) { .event-page .event-bar { display: none; } }
.event-bar--section { position: sticky; bottom: 0; border-radius: var(--site-radius) var(--site-radius) 0 0; }

/* The buyer-details step: a narrow form with the order pinned alongside. */
.step-bar { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; gap: .5rem; font-size: .9rem; color: var(--site-text-muted); }
.step-bar li + li::before { content: "\203A"; margin-right: .5rem; }
.step-bar [aria-current="step"] { color: var(--site-text); font-weight: 600; }
.step-bar a { color: inherit; }
.checkout__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .checkout__grid { grid-template-columns: 1fr minmax(280px, 372px); align-items: start; gap: 2.5rem; } .checkout__summary { position: sticky; top: 1.25rem; } }
.checkout__heading { font-size: 1.4rem; margin: 0 0 1rem; }
.checkout__preview { margin: 0 0 1.5rem; padding: .75rem 1rem; border: 1px solid var(--site-border); border-radius: var(--site-radius); background: var(--site-surface-alt); color: var(--site-text-muted); font-size: .95rem; }
.checkout__form .field { margin-bottom: .9rem; }
.checkout__two { display: grid; gap: .9rem; }
@media (min-width: 640px) { .checkout__two { grid-template-columns: 1fr 1fr; } }
.checkout__consent { margin: 1.25rem 0 .75rem; }
.checkout__pay { width: 100%; margin-top: .75rem; }
.checkout__note { font-size: .85rem; margin-top: .9rem; line-height: 1.6; }
.ticket-picker__status { margin: 1rem 0 0; font-weight: 600; }
.ticket-picker__status.is-warn { color: var(--site-accent-text); }
.ticket-picker__status.is-ok { color: var(--site-primary-text); }

@media print { .event-bar, .event-page__under, .event-page__summary { display: none; } }

/* ---------------------------------------------------------------- order page */
/* After payment: "You're on the list", a pass per ticket, the code the door scans. The
   pass is always white with dark type so it reads on a dim phone and prints as-is. */
.section--order { padding-block: 2rem 4rem; }
.done { max-width: 600px; text-align: center; }
.done__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--site-text); color: var(--site-surface);
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.1rem; }
.done__mark svg { width: 26px; height: 26px; }
.done__title { margin: 0; font-size: clamp(1.6rem, 5vw, 2rem); letter-spacing: -.025em; }
.done__sub { margin: .5rem auto 0; font-size: .95rem; color: var(--site-text-muted); max-width: 44ch; }
.pass { display: flex; flex-direction: column; margin: 1.75rem 0 0; background: #fff; color: #0B0C0F; border-radius: 1rem; overflow: hidden; text-align: left; }
.pass__left { flex: 1; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.2rem; }
.pass__event { margin: 0; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.pass__venue { margin: .25rem 0 0; font-size: .85rem; color: #5C616B; }
.pass__grid { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; }
.pass__l { margin: 0; font-size: .65rem; color: #787D87; letter-spacing: .05em; text-transform: uppercase; }
.pass__v { margin: 2px 0 0; font-size: .9rem; font-weight: 600; }
.pass__ref { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; font-size: 1.05rem; }
.pass__right { border-top: 1px dashed #C9CDD4; padding: 1.2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
.pass__qr { width: 164px; height: 164px; }
.pass__right small { font-size: .7rem; color: #787D87; }
.pass__open { font-size: .78rem; color: #5C616B; }
.pass__wallet { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0 1.4rem 1.2rem; }
@media (min-width: 560px) {
    .pass { flex-wrap: wrap; flex-direction: row; }
    .pass__right { flex: 0 0 200px; border-top: 0; border-left: 1px dashed #C9CDD4; }
    .pass__wallet { flex-basis: 100%; }
}
.done__acts { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; justify-content: center; }
.done__acts + .done__acts { margin-top: .6rem; }
.done__note { font-size: .85rem; margin: 1rem auto 0; max-width: 52ch; line-height: 1.6; }
.done__toolnote { margin: .6rem 0 0; font-size: .85rem; }
@media print {
    .done__mark, .done__acts, .pass__open, .pass__wallet, .done__toolnote { display: none; }
    .pass { border: 1px solid #ccc; break-inside: avoid; }
}

/* A map: Google's embed in a frame the width of its column. */
.map-embed { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; border: 0;
    border-radius: var(--site-radius); background: var(--site-surface-alt); margin: 0 0 1rem; }

/* ------------------------------------------------- checkout: the card on the page */
/* The "card" and "express" payment pages mount Stripe's fields between the buyer's
   details and the consent line. The fields are Stripe's own frames; these rules only
   place them and draw the "or pay by card" seam under a wallet button. */
.checkout__heading--pay { font-size: 1.15rem; margin: 1.75rem 0 .9rem; }
.checkout__express { margin: 0 0 .9rem; }
.pay-divider { display: flex; align-items: center; gap: .75rem; margin: .9rem 0 1rem; font-size: .85rem; color: var(--site-text-muted); }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; border-top: 1px solid var(--site-border); }
.checkout__card { min-height: 3.25rem; }
.checkout__secure { font-size: .8rem; margin: .6rem 0 0; }
.order-summary__hold { display: block; margin-top: .25rem; font-variant-numeric: tabular-nums; color: var(--site-text); }
