/* Bagel Boyz catering ordering page (ezCater-style store layout, BB brand).
   Brand tokens come from bb-brand.css; only layout-specific values live here. */
:root {
  --co-ink: var(--bb-ink, #234b35);
  --co-green: var(--bb-green, #2c754a);
  --co-green-dark: #1f5a38;
  --co-gold: var(--bb-gold, #d4aa59);
  --co-cream: var(--bb-cream, #f6f0e3);
  --co-paper: #fffdf8;
  --co-line: #e3dccb;
  --co-muted: var(--bb-muted, #526052);
  --co-warn: #8a4b12;
  --co-warn-bg: #fdf1df;
  --co-ok: #1f6b3f;
  --co-radius: 14px;
  --co-shadow: 0 1px 2px rgba(35, 75, 53, .08), 0 4px 16px rgba(35, 75, 53, .06);
  --co-head: 'Oswald', 'Arial Narrow', sans-serif;
  --co-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
/* The hidden attribute must win over component display rules (pay blocks, checkout form, phone bar). */
.co-page [hidden] { display: none !important; }
html { scroll-padding-top: 112px; }
body.co-page { margin: 0; background: var(--co-cream); color: var(--co-ink); font: 16px/1.5 var(--co-body); -webkit-font-smoothing: antialiased; }
body.co-page.co-locked { overflow: hidden; }
.co-page img { max-width: 100%; display: block; }
.co-page a { color: var(--co-green); }
.co-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.co-skip:focus { left: 8px; }
.co-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.co-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #faf1ed; /* matches the wordmark image's own background */ border-bottom: 1px solid var(--co-line); }
.co-header .co-logo img { height: 34px; width: auto; }
.co-header nav { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.co-header nav a { text-decoration: none; color: var(--co-ink); font-weight: 600; }
.co-header .co-call { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--co-green); color: #fff; }
.co-header .co-call:hover { background: var(--co-green-dark); }
.co-header .co-hide-sm { display: none; }

/* Hero */
.co-hero { background: var(--co-paper); border-bottom: 1px solid var(--co-line); }
/* Hero mosaic: one large spread plus close-ups (2 on phones, 4 on wider screens). Real catering photos only. */
.co-hero-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; height: 196px; background: var(--co-paper); }
.co-hero-mosaic img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.co-hero-mosaic .m0 { grid-row: 1 / 3; }
.co-hero-mosaic .m3, .co-hero-mosaic .m4 { display: none; }
.co-cat-banner { width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; border-radius: var(--co-radius); margin: 4px 0 12px; }
.co-hero-body { position: relative; max-width: 1180px; margin: 0 auto; padding: 0 16px 18px; }
.co-kicker { margin: 0; padding-top: 14px; font: 600 12px/1.2 var(--co-body); letter-spacing: .14em; text-transform: uppercase; color: var(--co-green); }
.co-hero h1 { margin: 6px 0 6px; font: 700 32px/1.05 var(--co-head); letter-spacing: .01em; text-transform: uppercase; color: var(--co-ink); }
.co-sub { margin: 0 0 12px; color: var(--co-muted); font-size: 15px; max-width: 60ch; }
.co-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: #ece5d4; max-width: 420px; }
.co-mode button { appearance: none; border: 0; border-radius: 999px; padding: 10px 12px; font: 600 15px var(--co-body); color: var(--co-ink); background: transparent; cursor: pointer; }
.co-mode button[aria-checked="true"] { background: var(--co-green); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.co-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 12px 0 0; max-width: 520px; border: 1px solid var(--co-line); border-radius: var(--co-radius); background: #fff; }
.co-facts div { padding: 10px 8px; text-align: center; }
.co-facts div + div { border-left: 1px solid var(--co-line); }
.co-facts dt { order: 2; font-size: 12px; color: var(--co-muted); }
.co-facts dd { margin: 0; font: 700 18px/1.2 var(--co-head); color: var(--co-ink); }
.co-facts div { display: flex; flex-direction: column-reverse; }
.co-pickup-note { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #eef4ec; font-size: 14px; max-width: 520px; }
body[data-fulfillment="delivery"] [data-show="pickup"], body[data-fulfillment="pickup"] [data-show="delivery"] { display: none !important; }

/* Event bar */
.co-event { max-width: 1180px; margin: 0 auto; padding: 10px 16px 2px; }
.co-event-box { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; padding: 10px 12px; background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); }
.co-event-title { grid-column: 1 / -1; margin: 0; font: 600 14px var(--co-body); }
.co-event-title span { font-weight: 400; color: var(--co-muted); }
.co-event-field label { display: block; font-size: 12px; color: var(--co-muted); margin-bottom: 2px; }
.co-event-box input { width: 100%; min-height: 42px; font: 600 16px var(--co-body); color: var(--co-ink); padding: 6px 10px; border: 1px solid #cfc6b1; border-radius: 10px; background: var(--co-paper); }
.co-event-help { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--co-muted); }

/* Tabs */
.co-tabs { position: sticky; top: 55px; z-index: 20; background: var(--co-cream); border-bottom: 1px solid var(--co-line); }
.co-tabs ul { display: flex; gap: 4px; margin: 0 auto; padding: 8px 16px; max-width: 1180px; list-style: none; overflow-x: auto; scrollbar-width: none; }
.co-tabs ul::-webkit-scrollbar { display: none; }
.co-tabs a { display: block; white-space: nowrap; padding: 7px 12px; border-radius: 999px; text-decoration: none; color: var(--co-ink); font-weight: 600; font-size: 14px; }
.co-tabs a[aria-current="true"] { background: var(--co-ink); color: #fff; }

/* Layout */
.co-layout { max-width: 1180px; margin: 0 auto; padding: 0 16px 120px; display: grid; gap: 24px; }
.co-menu { min-width: 0; }
.co-menu h2 { margin: 28px 0 4px; font: 700 24px/1.15 var(--co-head); text-transform: uppercase; letter-spacing: .02em; }
.co-cat-intro { margin: 0 0 10px; color: var(--co-muted); font-size: 14px; }

/* Start here */
.co-start-row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.co-start-card { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); overflow: hidden; box-shadow: var(--co-shadow); }
.co-start-media { aspect-ratio: 3 / 2; background: var(--co-ink); color: var(--co-cream); display: grid; place-items: center; }
.co-start-media img { width: 100%; height: 100%; object-fit: cover; }
.co-start-media .co-noimg { font: 700 22px/1.1 var(--co-head); text-transform: uppercase; text-align: center; padding: 16px; letter-spacing: .03em; }
.co-start-media .co-noimg small { display: block; margin-top: 6px; font: 600 12px var(--co-body); letter-spacing: .12em; color: var(--co-gold); }
.co-start-body { padding: 12px 14px 14px; }
.co-start-body h3 { margin: 0 0 2px; font-size: 17px; }
.co-start-body p { margin: 0; font-size: 14px; color: var(--co-muted); }

/* Menu rows */
.co-cat { scroll-margin-top: 112px; }
.co-rows { background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); overflow: hidden; }
.co-item { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px; border-top: 1px solid var(--co-line); }
.co-item:first-child { border-top: 0; }
.co-item:hover { background: #fcfaf4; }
.co-item h3 { margin: 0; font-size: 16px; line-height: 1.3; }
.co-open, .co-toast { all: unset; cursor: pointer; }
.co-open::after, .co-toast::after { content: ''; position: absolute; inset: 0; }
.co-open:focus-visible, .co-toast:focus-visible { outline: none; }
/* Photos and the + mark are decoration: taps fall through to the full-row button. */
.co-item-media, .co-start-media, .co-plus { pointer-events: none; }
.co-item:has(.co-open:focus-visible), .co-item:has(.co-toast:focus-visible), .co-start-card:has(.co-open:focus-visible), .co-start-card:has(.co-toast:focus-visible) { box-shadow: inset 0 0 0 3px var(--co-ink); outline: 2px solid #fff; outline-offset: -5px; }
.co-mode button:focus-visible, .co-link:focus-visible, .co-primary:focus-visible, .co-secondary:focus-visible, .co-tabs a:focus-visible, .co-round button:focus-visible, .co-close:focus-visible, .co-stepper button:focus-visible { outline: 3px solid var(--co-ink); outline-offset: 2px; }
.co-desc { margin: 4px 0 6px; font-size: 14px; color: var(--co-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-price { margin: 0; font-size: 14px; color: var(--co-ink); }
.co-price strong { font-weight: 700; }
.co-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.co-badges li { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e7f0e6; color: var(--co-green-dark); }
.co-badges li.co-badge-notice { background: var(--co-warn-bg); color: var(--co-warn); }
.co-avail { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--co-warn); }
.co-item[data-available="false"] .co-item-text > :not(.co-avail) { opacity: .55; }
.co-item-media { position: relative; width: 108px; }
.co-item-media img { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; }
.co-item-media .co-caption { display: none; }
.co-plus { position: absolute; right: 6px; bottom: 6px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--co-green); display: grid; place-items: center; font: 600 24px/1 var(--co-body); box-shadow: 0 1px 4px rgba(0,0,0,.25); pointer-events: none; }
.co-item-media.co-noimg-media { width: 44px; display: flex; align-items: center; }
.co-item-media.co-noimg-media .co-plus { position: static; border: 1px solid var(--co-line); box-shadow: none; }

/* Custom + why + faq */
.co-custom { margin: 28px 0 0; padding: 18px; border-radius: var(--co-radius); background: var(--co-ink); color: var(--co-cream); }
.co-custom h2 { margin: 0 0 6px; color: #fff; }
.co-custom p { margin: 0 0 12px; color: #dfe8dc; }
.co-custom a.co-secondary { color: var(--co-ink); background: var(--co-gold); }
.co-why { max-width: 1180px; margin: 0 auto; padding: 8px 16px 0; display: grid; gap: 12px; }
.co-why article { background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); padding: 12px 14px; }
.co-why h3 { margin: 0; font-size: 15px; }
.co-why p { margin: 2px 0 0; font-size: 14px; color: var(--co-muted); }
.co-faq { max-width: 1180px; margin: 0 auto; padding: 8px 16px 40px; }
.co-faq h2 { font: 700 24px/1.15 var(--co-head); text-transform: uppercase; margin: 28px 0 8px; }
.co-faq details { background: #fff; border: 1px solid var(--co-line); border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
.co-faq summary { font-weight: 600; cursor: pointer; }
.co-faq p { margin: 8px 0 0; font-size: 15px; color: var(--co-muted); }

/* Buttons */
.co-primary, .co-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 999px; font: 700 16px var(--co-body); text-decoration: none; cursor: pointer; }
.co-primary { background: var(--co-green); color: #fff !important; }
.co-primary:hover { background: var(--co-green-dark); }
.co-primary[aria-disabled="true"], .co-primary:disabled { background: #b9c4b6; color: #f4f4f0 !important; cursor: not-allowed; }
.co-secondary { background: #fff; color: var(--co-ink); border: 1px solid var(--co-line); }
.co-link { appearance: none; border: 0; background: none; padding: 0; font: 600 14px var(--co-body); color: var(--co-green); text-decoration: underline; cursor: pointer; }

/* Cart */
.co-cart-side { display: none; }
.co-cart-body h2 { margin: 0; font: 700 22px/1.1 var(--co-head); text-transform: uppercase; }
.co-cart-event { margin: 6px 0 0; font-size: 14px; color: var(--co-muted); }
.co-cart-empty { margin: 12px 0; color: var(--co-muted); font-size: 15px; }
.co-lines { margin: 12px 0 0; padding: 0; list-style: none; }
.co-line { padding: 12px 0; border-top: 1px solid var(--co-line); }
.co-line-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.co-line p { margin: 2px 0 0; font-size: 13px; color: var(--co-muted); }
.co-line-actions { display: flex; gap: 14px; margin-top: 6px; }
.co-meter { margin: 12px 0 0; }
.co-meter-track { height: 8px; border-radius: 999px; background: #ece5d4; overflow: hidden; }
.co-meter-fill { height: 100%; background: #9a6a14; border-radius: 999px; transition: width .25s; }
.co-meter[data-met="true"] .co-meter-fill { background: var(--co-green); }
.co-meter p { margin: 6px 0 0; font-size: 13px; font-weight: 600; }
.co-coverage { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; font-size: 13px; background: #eef4ec; color: var(--co-ok); }
.co-coverage[data-short="true"] { background: var(--co-warn-bg); color: var(--co-warn); }
.co-round { margin: 14px 0 0; }
.co-round p { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.co-round ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.co-round button { border: 1px dashed #b9ae94; background: var(--co-paper); color: var(--co-ink); border-radius: 999px; padding: 6px 10px; font: 600 13px var(--co-body); cursor: pointer; }
.co-totals { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--co-line); font-size: 14px; }
.co-totals div { display: flex; justify-content: space-between; padding: 2px 0; }
.co-totals .co-grand { font-weight: 700; font-size: 16px; padding-top: 6px; }
.co-totals small { display: block; color: var(--co-muted); }
.co-tableware { margin: 10px 0 0; font-size: 13px; color: var(--co-ok); }
.co-cart-cta { margin: 14px 0 0; display: grid; gap: 8px; }
.co-cart-cta .co-primary { width: 100%; }
.co-cart-cta p { margin: 0; font-size: 13px; color: var(--co-muted); text-align: center; }
.co-stephen { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--co-cream); font-size: 13px; }
.co-pickup-cart { font-size: 14px; color: var(--co-muted); }

/* Phone bar + cart sheet */
.co-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--co-cream) 70%, rgba(246,240,227,0)); }
.co-bar button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 56px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--co-green); color: #fff; font: 700 16px var(--co-body); box-shadow: 0 4px 14px rgba(31, 90, 56, .35); cursor: pointer; }
.co-bar small { display: block; font-weight: 500; font-size: 12px; opacity: .9; text-align: left; }
.co-dialog { border: 0; padding: 0; width: 100%; max-width: 560px; max-height: 100dvh; margin: auto auto 0; border-radius: 18px 18px 0 0; background: var(--co-paper); color: var(--co-ink); }
.co-dialog::backdrop { background: rgba(20, 35, 26, .55); }
.co-sheet-body { padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); max-height: 88dvh; overflow-y: auto; }
.co-sheet-head { display: flex; justify-content: flex-end; }
.co-close { appearance: none; border: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--co-ink); font: 400 26px/1 var(--co-body); box-shadow: 0 1px 4px rgba(0,0,0,.2); cursor: pointer; }

/* Item modal */
.co-item-dialog form { display: flex; flex-direction: column; max-height: 92dvh; }
.co-item-scroll { overflow-y: auto; }
.co-dialog-media { position: relative; aspect-ratio: 3 / 2; background: var(--co-ink); }
.co-dialog-media img { width: 100%; height: 100%; object-fit: cover; }
.co-dialog-media[data-empty="true"] { aspect-ratio: auto; height: 56px; }
.co-dialog-media .co-close { position: absolute; top: 10px; right: 10px; }
.co-dialog-media figcaption { position: absolute; left: 10px; bottom: 8px; font-size: 12px; color: #fff; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 999px; }
.co-dialog-body { padding: 16px; }
.co-dialog-body h2 { margin: 0; font: 700 24px/1.15 var(--co-head); text-transform: uppercase; }
.co-dialog-body > p { margin: 6px 0 0; }
.co-dialog-desc { color: var(--co-muted); font-size: 15px; }
.co-qty { margin: 16px 0 0; }
.co-qty label { display: block; font-weight: 700; margin-bottom: 6px; }
.co-stepper { display: flex; align-items: center; gap: 8px; }
.co-stepper button { width: 46px; height: 46px; border-radius: 50%; border: 0; font: 600 24px/1 var(--co-body); cursor: pointer; background: #ece5d4; color: var(--co-ink); }
.co-stepper button[data-step="1"] { background: var(--co-green); color: #fff; }
.co-stepper input { width: 110px; text-align: center; font: 700 18px var(--co-body); padding: 10px; border: 1px solid #cfc6b1; border-radius: 12px; color: var(--co-ink); background: #fff; }
.co-qty-help { margin: 6px 0 0; font-size: 13px; color: var(--co-muted); }
.co-group { margin: 18px 0 0; padding: 0; border: 0; }
.co-group legend { font-weight: 700; padding: 0; }
.co-group-rule { margin: 2px 0 6px; font-size: 13px; color: var(--co-muted); }
.co-group-rule .co-req { color: var(--co-green); font-weight: 700; }
.co-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--co-line); }
.co-option label { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; }
.co-option input[type="radio"], .co-option input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--co-green); }
.co-option input[type="number"] { width: 72px; padding: 8px; border: 1px solid #cfc6b1; border-radius: 10px; font: 600 16px var(--co-body); }
.co-option-price { font-size: 14px; color: var(--co-muted); white-space: nowrap; }
.co-later { margin: 16px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--co-cream); font-size: 13px; color: var(--co-muted); }
.co-error { margin: 10px 0 0; color: #a3261b; font-weight: 600; font-size: 14px; }
.co-error:empty { display: none; }
.co-dialog-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--co-line); background: var(--co-paper); }
.co-dialog-foot .co-primary { width: 100%; justify-content: space-between; }
.co-dialog-foot .co-primary small { display: block; font-weight: 500; font-size: 12px; opacity: .9; text-align: right; }

.co-status { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.co-status:empty { display: none; }
.co-alert:not(:empty) { margin: 10px auto 0; padding: 10px 12px; border-radius: 10px; background: var(--co-warn-bg); color: var(--co-warn); font-weight: 600; font-size: 14px; max-width: 1148px; }
.co-footer { padding: 24px 16px 110px; text-align: center; font-size: 14px; color: var(--co-muted); }
.co-footer a { margin: 0 8px; }

@media (min-width: 720px) {
  .co-header .co-hide-sm { display: inline; }
  .co-hero-mosaic { grid-template-columns: 2fr 1fr 1fr; height: 300px; max-width: 1180px; margin: 0 auto; }
  .co-hero-mosaic .m3, .co-hero-mosaic .m4 { display: block; }
  .co-event-box { grid-template-columns: auto 120px 200px 1fr; align-items: end; }
  .co-event-title { grid-column: auto; align-self: center; }
  .co-event-help { grid-column: auto; align-self: center; }
  .co-hero h1 { font-size: 44px; }
  .co-start-row { grid-auto-columns: calc((100% - 24px) / 3); }
  .co-item-media, .co-item-media img { width: 132px; }
  .co-item-media img { height: 100px; }
  .co-why { grid-template-columns: repeat(3, 1fr); }
  .co-dialog { margin: auto; border-radius: 18px; }
  .co-item-dialog form { max-height: 88vh; }
}
@media (min-width: 1024px) {
  .co-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .co-cart-side { display: block; position: sticky; top: 118px; margin-top: 28px; padding: 18px; background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); box-shadow: var(--co-shadow); max-height: calc(100vh - 136px); overflow-y: auto; }
  .co-bar { display: none !important; }
  .co-footer { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .co-meter-fill { transition: none; } }

/* Checkout (tag-free page) */
.ck-wrap { max-width: 1080px; margin: 0 auto; padding: 8px 16px 40px; }
.ck-back { margin: 8px 0 0; font-size: 14px; }
.ck-title { margin: 6px 0 12px; font: 700 32px/1.1 var(--co-head); text-transform: uppercase; }
.ck-layout { display: grid; gap: 16px; }
.ck-card { background: #fff; border: 1px solid var(--co-line); border-radius: var(--co-radius); padding: 16px; }
.ck-card h2 { margin: 0 0 10px; font: 700 20px/1.2 var(--co-head); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.ck-step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--co-green); color: #fff; font: 700 15px var(--co-body); }
.ck-main { display: grid; gap: 16px; min-width: 0; }
.ck-card label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 15px; }
.ck-card input:not([type="checkbox"]):not([type="radio"]), .ck-card select, .ck-card textarea { width: 100%; padding: 11px 12px; border: 1px solid #cfc6b1; border-radius: 10px; font: 16px var(--co-body); color: var(--co-ink); background: var(--co-paper); }
.ck-card input:focus, .ck-card select:focus, .ck-card textarea:focus { outline: 3px solid var(--co-ink); outline-offset: 1px; }
.ck-grid { display: grid; gap: 0 12px; }
.ck-opt { font-weight: 400; color: var(--co-muted); }
.ck-help { margin: 8px 0 0; font-size: 13px; color: var(--co-muted); }
.ck-lines { margin: 8px 0 12px; padding: 0; list-style: none; }
.ck-line { padding: 12px 0; border-top: 1px solid var(--co-line); }
.ck-line-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.ck-line p { margin: 2px 0 0; font-size: 13px; color: var(--co-muted); }
.ck-line details { margin-top: 8px; }
.ck-line summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--co-green); }
.ck-line fieldset { border: 0; margin: 8px 0 0; padding: 0; }
.ck-line legend { font-size: 13px; font-weight: 600; padding: 0; }
.ck-line .ck-check { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-weight: 500; font-size: 14px; }
.ck-line .ck-check input { width: 18px; height: 18px; accent-color: var(--co-green); }
.ck-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--co-muted); }
.ck-consent input { margin-top: 3px; }
.ck-summary { align-self: start; }
.ck-pay { margin-top: 14px; display: grid; gap: 10px; }
.ck-pay-copy { margin: 0; font-size: 14px; }
.ck-pay .co-primary { width: 100%; }
.ck-submit-status { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.ck-submit-status[data-state="error"] { color: #a3261b; }
.ck-field-error { margin: 6px 0 0; color: #a3261b; font-size: 14px; font-weight: 600; }
#ck-form [aria-invalid="true"] { outline: 2px solid #a3261b; outline-offset: 2px; }
.ck-done { max-width: 640px; }
.ck-done h2 { font-size: 26px; }
@media (min-width: 640px) { .ck-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .ck-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .ck-summary { position: sticky; top: 76px; }
}
/* Tap targets: at least 44px tall on checkout and payment status (phones). */
.ck-wrap .ck-back a, .ck-wrap .co-link, .ck-wrap .ck-line summary, .ck-wrap .ck-help a, .ck-wrap .ck-done p a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 4px; }
.ck-wrap .ck-line summary { display: flex; padding: 8px 0; }
.ck-wrap .ck-done p a, .ck-wrap .ck-help a { display: inline-block; min-height: 0; padding: 12px 4px; margin: -12px 0; }
.co-mode button { min-height: 44px; }
.co-header .co-call { min-height: 44px; }
.co-footer a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; margin: 0 4px; }
.co-footer p a { display: inline-block; min-height: 0; padding: 12px 4px; margin: -12px 0; line-height: 1.4; }
.ck-checking { margin: 12px 0; font-weight: 600; color: var(--co-muted); }
.ck-checking:empty { display: none; }
