/* ==========================================================================
   My Treat — site styles
   Design tokens taken directly from the Claude Design canvas.
   ========================================================================== */

:root {
  /* Colour */
  --cream:        #FBF8F1;  /* page background */
  --cream-deep:   #EDE7DA;  /* canvas / behind cards */
  --panel:        #F1EBDF;  /* tinted panels, summary bars */
  --ink:          #17130F;  /* near-black, primary text + dark sections */
  --ink-soft:     #3D352C;  /* nav links */
  --muted:        #5A5044;  /* body copy on cream */
  /* The design's fine-print grey was #8B8069, which lands at 3.3:1 on the
     tinted panels — under the 4.5:1 WCAG AA floor for body text. Darkened
     just enough to pass on both cream and panel while staying recessive. */
  --faint:        #6F6556;  /* captions, fine print */
  --line:         rgba(23, 19, 15, .14);
  --line-strong:  rgba(23, 19, 15, .25);
  --line-faint:   rgba(23, 19, 15, .10);

  /* Sampled from the navy stripes of the stand's umbrella. The mean pixel
     value came out at #272D4D, which sits so close to --ink that it reads as
     near-black rather than as an accent; these are taken from the lit stripes
     instead, so the hue still registers as blue. */
  --accent:        #2B4986;  /* accent */
  --accent-dark:   #1E3466;  /* accent hover */
  --accent-light:  #9FB8E8;  /* accent on dark backgrounds */

  --on-dark:      #FBF8F1;
  --on-dark-mute: #B7ACA0;
  --on-dark-dim:  #8C8177;
  --line-dark:    rgba(251, 248, 241, .22);

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:  ui-monospace, Menlo, Consolas, monospace;

  /* Layout */
  --gutter: 44px;
  --maxw: 1180px;
  --radius: 2px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

/* The browser's own [hidden] rule is a bare attribute selector, so any class
   that sets `display` beats it. This keeps the attribute meaning what it says. */
[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

button, input, select, textarea { font: inherit; color: inherit; }

/* Visible focus for keyboard users, invisible for mouse users. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* Skip link — first tab stop on every page. */
.skip-link {
  position: absolute; left: 8px; top: -60px;
  z-index: 200;
  background: var(--ink); color: var(--on-dark);
  padding: 12px 18px; font-size: 14px; font-weight: 500;
  transition: top .15s ease;
}
.skip-link:focus { top: 8px; color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.serif { font-family: var(--serif); }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.eyebrow--accent { color: var(--accent); letter-spacing: .24em; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 38px);
  line-height: 1.1;
  color: var(--ink);
}

.section-note {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.fineprint {
  font-size: 12px;
  line-height: 1.55;
  color: var(--faint);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: 70px 0; border-top: 1px solid var(--line-faint); }
.section--flush { border-top: 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.dark {
  background: var(--ink);
  color: var(--on-dark);
}
.dark .section-title { color: var(--on-dark); }
.dark .section-note { color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

/* Every filled call to action is the umbrella navy. --solid and --accent are
   the same thing now; both class names are kept so existing markup works. */
.btn--solid,
.btn--accent        { background: var(--accent); color: var(--on-dark); }
.btn--solid:hover,
.btn--accent:hover  { background: var(--accent-dark); color: var(--on-dark); }

/* The secondary, outlined CTA follows it, so the pair reads as one system. */
.btn--ghost   { border-color: var(--accent); color: var(--accent); }
.btn--ghost:hover   { background: var(--accent); color: var(--on-dark); }

.btn--onDark  { border-color: var(--on-dark); color: var(--on-dark); }
.btn--onDark:hover { background: var(--on-dark); color: var(--ink); }

.btn--block   { display: flex; width: 100%; padding: 16px; font-size: 15px; }

.btn--sm      { padding: 10px 18px; font-size: 13px; }

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Site header
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--line-faint);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: none;
}
.brand:hover { color: var(--ink); }

/* The script wordmark. Height follows from the artwork's 3.26:1 aspect, so
   set width only and let the browser work out the rest. */
.brand__logo { width: 132px; height: auto; flex: none; }

/* Kept for the cookie mark where a square icon is still needed. */
.brand__mark { width: 34px; height: 34px; flex: none; }

.nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 500;
}
.nav a { color: var(--ink-soft); }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.cart-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.cart-link:hover { color: var(--accent); }

/* Mobile menu toggle — hidden on desktop. */
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  :root { --gutter: 20px; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }

  .site-header__inner { position: relative; }
  .header-actions .btn { display: none; }
  .brand__logo { width: 104px; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  max-width: var(--maxw);   /* keeps the headline flush with the nav above it */
  margin: 0 auto;
}

.hero__copy {
  padding: 76px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 70px);
  line-height: 1.02;
  color: var(--ink);
  text-wrap: pretty;
  margin-bottom: 24px;
}

.hero__lede { max-width: 430px; margin-bottom: 34px; }

.hero__media { min-height: 520px; height: 100%; display: block; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__media { min-height: 250px; order: -1; }
  .hero__copy { padding: 26px var(--gutter) 30px; }
  .hero__lede { margin-bottom: 22px; }
  .hero .btn-row { flex-direction: column; }
  .hero .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Photo placeholders
   Swap these out for real <img> tags once photos exist.
   -------------------------------------------------------------------------- */

.ph {
  background: repeating-linear-gradient(135deg, #E4DCCB 0 7px, #EFE9DB 7px 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: #6F6556;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
}

/* --------------------------------------------------------------------------
   Figures
   -------------------------------------------------------------------------- */

.figure { margin: 0; }
.figure img { width: 100%; height: auto; display: block; }
.figure figcaption {
  font-size: 12.5px;
  color: var(--faint);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Product grid (the regulars)
   -------------------------------------------------------------------------- */

/* auto-fit so the row stays right whether there are two regulars or four. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product__media {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
}

.product__name { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.product__price { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }

@media (max-width: 860px) {
  .section-head { margin-bottom: 20px; gap: 4px; }
  .section-head > * { flex: 1 1 100%; }

  .product-grid { grid-template-columns: 1fr; gap: 0; }
  .product { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
  .product:last-child { border-bottom: 1px solid var(--line); }
  .product__media {
    width: 64px; height: 64px; aspect-ratio: auto;
    flex: none; font-size: 8px; padding: 4px;
  }
  .product__body { flex: 1; }
  .product__row { margin-top: 0; flex-direction: column; align-items: flex-start; gap: 3px; }
  .product__name { font-size: 18px; }
  .product__price { font-size: 12px; font-weight: 400; color: var(--muted); }
}

/* --------------------------------------------------------------------------
   Revolving menu (dark band)
   -------------------------------------------------------------------------- */

/* Dividers are borders on the items, not a background showing through 1px
   gaps — the gap trick leaves a filled empty cell whenever the item count
   doesn't divide evenly by the column count. */
.revolve {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.revolve__item {
  background: var(--ink);
  padding: 30px 26px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
  /* Names wrap to different depths; pinning the price to the bottom keeps the
     row of prices on one line across the cards. */
  display: flex;
  flex-direction: column;
}

.revolve__price { margin-top: auto; padding-top: 12px; }

.revolve__name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.revolve__price { font-size: 15px; font-weight: 600; }

@media (max-width: 860px) {
  .revolve { grid-template-columns: 1fr; gap: 0; border: 0; }
  .revolve__item {
    padding: 14px 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
    display: flex;
    flex-direction: row;      /* undo the desktop column stacking */
    justify-content: space-between;
    align-items: baseline;
    gap: 14px;
  }
  .revolve__price { margin-top: 0; padding-top: 0; }
  .revolve__body { flex: 1; }
  .revolve__name { font-size: 17px; line-height: 1.25; margin-bottom: 0; }
  .revolve__price { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   Rotating photo strip — examples, not a labelled menu
   -------------------------------------------------------------------------- */

.rotating { margin-top: 40px; }

.rotating__note {
  font-size: 12px;
  color: var(--on-dark-mute);
  margin: 0 0 14px;
}

.rotating__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  /* Grid items stretch by default, and a stretched height beats aspect-ratio —
     which leaves the images at their intrinsic 480px tall. */
  align-items: start;
}

.rotating__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

@media (max-width: 700px) {
  /* Two up rather than four; four across a phone is postage stamps. */
  .rotating__strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rotating { margin-top: 30px; }
}

/* --------------------------------------------------------------------------
   Definition-style rows (hours, order summary, receipt)
   -------------------------------------------------------------------------- */

.rows { display: flex; flex-direction: column; }

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.rows .row:last-child { border-bottom: 1px solid var(--line); }

.row__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.row__sub   { font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 4px; }
.row__value { font-size: 13px; color: var(--muted); text-align: right; white-space: nowrap; }

/* Any dark-ground context, whether it's a full band or the confirmation page. */
.dark .row, .confirm .row { border-color: var(--line-dark); }
.dark .rows .row:last-child, .confirm .rows .row:last-child { border-bottom-color: var(--line-dark); }
.dark .row__label, .confirm .row__label { color: var(--on-dark); }
.dark .row__sub, .dark .row__value,
.confirm .row__sub, .confirm .row__value { color: var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   Two-up: hours + catering card
   -------------------------------------------------------------------------- */

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.callout {
  background: var(--panel);
  padding: 36px;
  border: 1px solid rgba(23, 19, 15, .12);
}

.callout__title {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 14px;
}

/* Inside a callout the closing hairline reads as a stray rule, so drop it. */
.callout .rows .row:last-child { border-bottom: 0; }

.stats { display: flex; gap: 28px; margin: 0 0 26px; flex-wrap: wrap; }
.stat__num { font-size: 24px; font-weight: 600; color: var(--ink); }
.stat__label { font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 860px) {
  .two-up { grid-template-columns: 1fr; gap: 34px; }
  .callout { padding: 26px 20px; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line-faint);
  padding: 34px 0;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer__logo { width: 112px; height: auto; }

.site-footer__links {
  display: flex;
  gap: 26px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--accent); }

.cottage-notice {
  font-size: 12px;
  line-height: 1.55;
  color: var(--faint);
  margin-top: 18px;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field { margin-bottom: 14px; }

.field__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}

.input,
.textarea,
.select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--cream);
  padding: 13px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--sans);
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.textarea { min-height: 90px; resize: vertical; }

.field__help { font-size: 11px; color: var(--faint); margin-top: 5px; }
.field__error { font-size: 12px; color: var(--accent); margin-top: 5px; display: none; }
.field--invalid .field__error { display: block; }
.field--invalid .input,
.field--invalid .textarea,
.field--invalid .select { border-color: var(--accent); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

.note {
  background: var(--panel);
  border-left: 3px solid var(--accent);
  padding: 13px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.checkbox input { margin: 2px 0 0; width: 16px; height: 16px; flex: none; accent-color: var(--ink); }

/* --------------------------------------------------------------------------
   Quantity stepper
   -------------------------------------------------------------------------- */

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(23, 19, 15, .3);
  border-radius: 20px;
  padding: 2px;
  flex: none;
}

.stepper__btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  font-size: 17px; line-height: 1;
  color: var(--ink);
}
.stepper__btn:hover { background: rgba(23, 19, 15, .07); }
.stepper__btn[disabled] { color: #A69C8E; cursor: not-allowed; }

.stepper__value {
  min-width: 22px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Round "+" add button used on the phone menu rows. */
.add-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.add-btn:hover { background: var(--ink); color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Order / cart
   -------------------------------------------------------------------------- */

/* Longhand only — `padding: 46px 0` here would cancel .wrap's side gutters
   and pull the headline out of alignment with the nav. */
.page-head { padding-top: 46px; padding-bottom: 30px; }
.page-title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.05;
  color: var(--ink);
  text-wrap: pretty;
}

.order-layout {
  display: grid;
  grid-template-columns: 1.35fr .95fr;
  gap: 0;
  align-items: start;
}

.order-main { padding: 0 var(--gutter) 64px 0; }

.order-aside {
  background: var(--panel);
  border-left: 1px solid rgba(23, 19, 15, .12);
  padding: 40px;
  position: sticky;
  top: 90px;
}

@media (max-width: 900px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-main { padding: 0 0 34px; }
  .order-aside {
    border-left: 0;
    border-top: 1px solid rgba(23, 19, 15, .12);
    padding: 26px 20px;
    position: static;
    margin: 0 calc(var(--gutter) * -1);
  }
}

.aside-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 26px;
}

.line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--muted);
  padding: 11px 0;
  border-top: 1px solid var(--line);
}
.line:last-of-type { border-bottom: 1px solid var(--line); }
.line--muted { color: #A69C8E; }

.totals { margin-top: 18px; }
.totals__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0;
}
.totals__row--grand {
  align-items: baseline;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid rgba(23, 19, 15, .18);
}
.totals__grandLabel { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.totals__grandValue { font-size: 19px; font-weight: 600; color: var(--ink); }

.count-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0 0;
}
.count-total__label { font-size: 14px; color: var(--muted); }
.count-total__value { font-family: var(--serif); font-size: 32px; color: var(--ink); }

/* Cart item rows */
.cart-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 1px solid var(--line); }
.cart-item__media { width: 62px; height: 62px; flex: none; font-size: 8px; padding: 4px; }
.cart-item__body { flex: 1; min-width: 0; }
.cart-item__name { font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--ink); }
.cart-item__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.cart-item__flag {
  font-size: 11px; font-weight: 600; letter-spacing: .14em;
  color: var(--accent); margin-top: 5px;
}

.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}
.empty__title { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 10px; }

/* --------------------------------------------------------------------------
   Choice tiles — pickup location, dates, times
   -------------------------------------------------------------------------- */

.choice-list { display: flex; flex-direction: column; gap: 10px; }

.choice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  padding: 16px;
  cursor: pointer;
  font-family: var(--sans);
}
.choice:hover { border-color: var(--ink); }
.choice[aria-checked="true"] { border-color: var(--ink); border-width: 1px; box-shadow: inset 0 0 0 1px var(--ink); }
.choice__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.choice__sub { font-size: 12px; color: var(--muted); margin-top: 3px; }

.choice__dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(23, 19, 15, .35);
  flex: none;
}
.choice[aria-checked="true"] .choice__dot { border: 5px solid var(--ink); }

.slot-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }

.slot {
  flex: 1 1 0;
  min-width: 88px;
  text-align: center;
  padding: 12px 6px;
  border: 1px solid var(--line-strong);
  background: var(--cream);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--sans);
}
.slot:hover { border-color: var(--ink); color: var(--ink); }
.slot[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 600;
}
.slot[disabled] {
  border-color: rgba(23, 19, 15, .14);
  color: #A69C8E;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   Summary bar (checkout recap)
   -------------------------------------------------------------------------- */

.recap {
  background: var(--panel);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.recap__text { font-size: 13px; color: var(--muted); }
.recap__sub { font-size: 12px; margin-top: 3px; }
.recap__edit { font-size: 12px; font-weight: 600; }

/* Payment method toggle */
.paybar { display: flex; gap: 8px; margin-bottom: 14px; }
.paybar .btn { flex: 1; border-radius: 4px; padding: 13px 0; font-size: 13px; font-weight: 600; }

.or-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  color: var(--faint);
}
.or-rule::before, .or-rule::after {
  content: ""; flex: 1; height: 1px; background: rgba(23, 19, 15, .15);
}

.pay-panel {
  background: var(--panel);
  border-top: 1px solid rgba(23, 19, 15, .12);
  padding: 20px;
  margin-top: 22px;
}

.secured { text-align: center; font-size: 11px; color: var(--faint); margin-top: 12px; }

/* Demo-mode banner — remove when real payments are wired. */
.demo-banner {
  background: #17130F;
  color: var(--on-dark);
  font-size: 12px;
  line-height: 1.5;
  padding: 10px var(--gutter);
  text-align: center;
}
.demo-banner strong { color: var(--accent-light); font-weight: 600; }

/* --------------------------------------------------------------------------
   Confirmation screen
   -------------------------------------------------------------------------- */

.confirm {
  background: var(--ink);
  color: var(--on-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0;
}
.confirm__inner { max-width: 560px; margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.confirm__tick {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 30px;
}
.confirm__title {
  font-family: var(--serif);
  font-size: clamp(32px, 6vw, 40px);
  line-height: 1.06;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.confirm__sub { font-size: 15px; line-height: 1.6; color: var(--on-dark-mute); margin-bottom: 36px; }

/* --------------------------------------------------------------------------
   Status / toast
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(140%);
  background: var(--ink);
  color: var(--on-dark);
  padding: 13px 22px;
  font-size: 14px;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
  transition: transform .25s ease;
  z-index: 150;
  max-width: calc(100vw - 40px);
}
.toast[data-show="true"] { transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Print — order confirmation is the one page people print.
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .toast, .demo-banner, .btn { display: none !important; }
  .confirm { background: #fff; color: #000; min-height: 0; }
  .confirm__sub, .row__sub, .row__value { color: #333; }
}
