/* Rubin Patisserie
   Layout idea: dark "stage" sections carry the brand and the photos
   (gold on black, as in the logo); light speckled "bench" sections,
   modelled on the stone bench in Wayde's photos, carry reading and
   ordering. Mobile first: everything is designed at 390px wide. */

:root {
  color-scheme: light;
  --night: #15120e;
  --night-2: #1f1a14;
  --night-3: #2a231b;
  --gold: #c9a45c;
  --gold-hi: #ecd5a2;
  --gold-lo: #8d6c34;
  --gold-ink: #74551f;
  --bench: #e6e3dd;
  --bench-card: #f5f3ef;
  --ink: #1f1b16;
  --ink-soft: #57504a;
  --cream: #efe7d8;
  --cream-soft: #b9ae9b;
  --line-dark: rgba(201, 164, 92, 0.28);
  --line-light: rgba(31, 27, 22, 0.14);
  --pending: #d39a3c;
  --done: #7fb98a;

  --font-display: "Marcellus", "Trajan Pro", "Cormorant Garamond", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step-h1: clamp(2.1rem, 1.35rem + 3.3vw, 3.6rem);
  --step-h2: clamp(1.65rem, 1.25rem + 1.7vw, 2.45rem);
  --step-h3: 1.3rem;
  --gutter: clamp(16px, 4.5vw, 36px);
  --radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-h1); letter-spacing: 0.005em; }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.bench :focus-visible { outline-color: var(--gold-ink); }
.num { font-family: var(--font-body); font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--gold); color: var(--night); padding: 10px 14px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(52px, 8vw, 100px); }
.section--tight { padding-block: clamp(28px, 5vw, 56px); }
.section__head { max-width: 62ch; margin-bottom: clamp(24px, 4vw, 40px); }
.section__head p:last-child { margin-bottom: 0; }

/* ---------- Surfaces ---------- */
.dark { background: var(--night); color: var(--cream); }
.dark h1, .dark h2 { color: var(--gold-hi); }
.dark h3 { color: var(--cream); }
.dark a:not(.btn) { color: var(--gold-hi); }
.bench {
  color: var(--ink);
  background-color: var(--bench);
  background-image:
    radial-gradient(circle, rgba(38, 33, 27, 0.30) 0 0.7px, transparent 1.2px),
    radial-gradient(circle, rgba(38, 33, 27, 0.16) 0 0.6px, transparent 1.1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 0.7px, transparent 1.2px);
  background-size: 11px 13px, 7px 9px, 17px 15px;
  background-position: 0 0, 3px 5px, 8px 2px;
}
.bench a:not(.btn) { color: var(--gold-ink); }

.card {
  background: var(--bench-card);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 28px);
}
.card--dark { background: var(--night); color: var(--cream); border-color: var(--night); }
.card--dark h2 { color: var(--gold-hi); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none; text-align: center;
  border-radius: 2px; border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease;
}
.btn--sm { min-height: 44px; padding: 0 16px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn--gold {
  color: #20170a;
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, #a7813e 100%);
  border-color: var(--gold-lo);
}
.btn--gold:hover { filter: brightness(1.06); }
.btn--line { color: var(--cream); border-color: var(--gold); background: transparent; }
.btn--line:hover { background: rgba(201, 164, 92, 0.12); }
.bench .btn--line { color: var(--ink); border-color: var(--ink); }
.bench .btn--line:hover { background: rgba(31, 27, 22, 0.06); }
.btn--ink { color: var(--cream); background: var(--night); border-color: var(--night); }
.btn--ink:hover { background: var(--night-3); }
.btn--line-ink { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn[aria-disabled="true"] { opacity: 0.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.link { background: none; border: 0; padding: 10px 0; font: inherit; color: var(--gold-ink); text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 5;
  background: var(--night);
  border-bottom: 1px solid var(--line-dark);
}
.masthead__bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold-hi); margin-right: auto; min-height: 44px; }
.brand__mark { width: 44px; height: auto; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; letter-spacing: 0.04em; }
.brand__name span { color: var(--cream-soft); }
.masthead__cta { display: none; }
.nav-toggle {
  min-height: 44px; min-width: 64px; padding: 0 14px;
  background: transparent; color: var(--cream);
  border: 1px solid var(--line-dark); border-radius: 2px;
  font: 600 0.95rem var(--font-body); cursor: pointer;
}
.nav { display: none; border-top: 1px solid var(--line-dark); }
.nav.is-open { display: block; }
.nav__list { list-style: none; margin: 0 auto; padding-block: 8px 16px; display: grid; }
.nav__list a {
  display: flex; align-items: center; min-height: 48px;
  color: var(--cream); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid rgba(201, 164, 92, 0.12);
}
.nav__list a[aria-current="page"] { color: var(--gold-hi); }
.nav__order a { color: var(--gold-hi); font-weight: 600; }

@media (min-width: 720px) {
  .masthead__cta { display: inline-flex; }
}
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav { display: block; }
  .nav__order { display: none; }
  .nav__list { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-block: 0; }
  .nav__list a { min-height: 44px; border-bottom: 2px solid transparent; font-size: 0.97rem; }
  .nav__list a:hover { color: var(--gold-hi); }
  .nav__list a[aria-current="page"] { border-bottom-color: var(--gold); }
  .brand__mark { width: 52px; }
  .brand__name { font-size: 1.45rem; }
}

/* ---------- Home: hero ---------- */
.hero { padding-block: clamp(28px, 6vw, 72px) clamp(36px, 6vw, 64px); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__logo { width: min(250px, 66vw); margin: 0 0 18px -6px; }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.15rem; max-width: 52ch; }
.dark .lede { color: var(--cream); }
.hero__when { color: var(--gold-hi); font-weight: 500; }
.hero__photo { margin: 0; }
.hero__photo img, .pagehead__photo img, .slice__photo img { border-radius: var(--radius); }
figcaption { font-size: 0.9375rem; color: var(--cream-soft); margin-top: 10px; }
.bench figcaption { color: var(--ink-soft); }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 5fr 7fr; gap: 48px; }
  .hero__logo { width: 290px; }
  .hero__photo { margin-right: calc(-1 * var(--gutter)); }
}

/* ---------- Week strip ---------- */
.weekband { padding-block: 8px clamp(44px, 7vw, 80px); border-top: 1px solid var(--line-dark); }
.weekband__head { display: grid; gap: 4px 32px; padding-top: clamp(28px, 5vw, 48px); margin-bottom: 20px; }
.weekband__head h2 { margin: 0; }
.weekband__head p { margin: 0; color: var(--cream); max-width: 60ch; }
.countdown { color: var(--gold-hi) !important; font-weight: 500; }
@media (min-width: 900px) { .weekband__head { grid-template-columns: auto 1fr; align-items: end; } }

.week {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
}
.week__day {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 2px; padding: 10px 2px 12px; min-height: 92px;
  background: var(--night-2); border-top: 3px solid rgba(201, 164, 92, 0.22);
}
.week--nodates .week__day { min-height: 64px; }
.week__name { font-size: 0.8125rem; color: var(--cream-soft); }
.week__date { font-family: var(--font-body); font-weight: 500; font-size: 1.5rem; line-height: 1.15; color: var(--cream); min-height: 1.15em; font-variant-numeric: tabular-nums lining-nums; }
.week__note { display: none; font-size: 0.8125rem; line-height: 1.3; color: var(--cream-soft); }
.week__short { font-size: 0.75rem; font-weight: 600; color: var(--gold-hi); }
.week__day--cutoff { border-top-color: var(--gold); }
.week__day--cutoff .week__note { color: var(--gold-hi); font-weight: 600; }
.week__day--bake { background: #3a2f22; border-top-color: var(--gold-hi); }
.week__day--bake .week__note { color: var(--cream); }
.week__day--shabbat { background: repeating-linear-gradient(135deg, rgba(239, 231, 216, 0.06) 0 6px, transparent 6px 12px); border-top-color: rgba(239, 231, 216, 0.3); }
.week__day--shabbat .week__date { color: var(--cream-soft); }
.week__day.is-today .week__name { color: var(--gold-hi); font-weight: 600; }
.week__day.is-today { box-shadow: inset 0 0 0 1px rgba(236, 213, 162, 0.5); }

.week-legend { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--cream); }
.week-legend li { display: flex; align-items: center; gap: 10px; }
.swatch { width: 18px; height: 14px; flex: none; border-top: 3px solid; }
.swatch--cutoff { background: var(--night-2); border-color: var(--gold); }
.swatch--bake { background: #3a2f22; border-color: var(--gold-hi); }
.swatch--shabbat { background: repeating-linear-gradient(135deg, rgba(239, 231, 216, 0.25) 0 3px, transparent 3px 6px); border-color: rgba(239, 231, 216, 0.4); }

@media (min-width: 720px) {
  .week { gap: 6px; }
  .week__day { padding: 14px 8px 16px; min-height: 124px; }
  .week--nodates .week__day { min-height: 96px; }
  .week__date { font-size: 2rem; }
  .week__note { display: block; }
  .week__short { display: none; }
  .week-legend { display: none; }
}

/* ---------- Range ---------- */
.range { display: grid; gap: 18px; }
.product {
  display: grid; background: var(--bench-card);
  border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden;
}
.product__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__body { padding: 18px 20px 20px; }
.product__body h3 { margin-bottom: 4px; }
.product__meta { display: flex; align-items: baseline; gap: 14px; margin-bottom: 10px; color: var(--ink-soft); }
.product__meta .price { font-weight: 600; font-size: 1.35rem; color: var(--gold-ink); }
.contains { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }
@media (min-width: 720px) {
  .range { grid-template-columns: 1fr 1fr; }
  .product--lead { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; align-items: center; }
  .product--lead .product__photo img { height: 100%; }
  .product--lead .product__body { padding: 32px; }
  .product--lead h3 { font-size: 1.9rem; }
}

.boxband {
  margin-top: 22px; display: grid; gap: 14px; align-items: center;
  background: var(--night); color: var(--cream);
  padding: 24px; border-radius: var(--radius); border-top: 2px solid var(--gold);
}
.boxband h3 { color: var(--gold-hi); margin-bottom: 6px; }
.boxband p { margin: 0; }
.boxband__price { font-size: 1.05rem; }
.boxband__price .num { font-weight: 600; font-size: 1.7rem; color: var(--gold-hi); }
.boxband .btn--ink { background: transparent; border-color: var(--gold); }
@media (min-width: 900px) { .boxband { grid-template-columns: 1fr auto auto; gap: 32px; padding: 28px 32px; } }

/* ---------- Slice test ---------- */
.slice__grid { display: grid; gap: 28px; align-items: center; }
.slice__photo { margin: 0; }
.facts { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.facts li { padding-left: 18px; border-left: 2px solid var(--gold); }
.facts strong { color: var(--gold-hi); font-weight: 600; }
.facts--ink li { border-left-color: var(--gold-ink); }
.facts--ink strong { color: var(--ink); }
.madewithout { color: var(--cream-soft); }
@media (min-width: 900px) { .slice__grid { grid-template-columns: 1fr 1fr; gap: 56px; } .slice__photo { margin-left: calc(-1 * var(--gutter)); } }

/* ---------- Chef band, quotes ---------- */
.chefband__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .chefband__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.pullquote { margin: 0; padding-left: 20px; border-left: 2px solid var(--gold-ink); }
.pullquote p { font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.1rem); line-height: 1.3; margin-bottom: 12px; }
.pullquote footer { font-size: 0.9375rem; color: var(--ink-soft); }
.pullquote--sm p { font-size: 1.3rem; }
.quotes { display: grid; gap: 28px; align-content: start; }

/* ---------- Status ---------- */
.statuslist { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line-dark); }
.statuslist li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-dark);
}
.statuslist__name { flex: 1 1 16rem; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px;
  padding: 3px 12px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; line-height: 1.2;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill--pending { color: #f0c27a; background: rgba(211, 154, 60, 0.14); border: 1px solid rgba(211, 154, 60, 0.45); }
.pill--done { color: #a9dcb2; background: rgba(127, 185, 138, 0.14); border: 1px solid rgba(127, 185, 138, 0.45); }
.pill--info { color: var(--cream); background: rgba(239, 231, 216, 0.08); border: 1px solid rgba(239, 231, 216, 0.25); }
.bench .pill--pending { color: #6a450d; background: #f4e3c4; border-color: #d9b26c; }
.bench .pill--done { color: #1f5a2c; background: #d9ecdc; border-color: #8fc39b; }

/* ---------- Closer ---------- */
.closer__inner { display: grid; justify-items: start; gap: 6px; max-width: 60ch; }

/* ---------- Inner pages ---------- */
.pagehead { padding-block: clamp(32px, 6vw, 72px); }
.pagehead--tall { min-height: 50vh; }
.pagehead__grid { display: grid; gap: 28px; align-items: center; }
.pagehead__photo { margin: 0; }
@media (min-width: 900px) { .pagehead__grid { grid-template-columns: 1fr 1fr; gap: 56px; } }

.prose { max-width: 65ch; }
.prose h2 { margin-top: 0.2em; }
.prose h2 + p { margin-top: 0; }
.prose-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .prose-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

.ingredients { list-style: none; margin: 0; padding: 8px 20px; }
.ingredients li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-light); }
.ingredients li:last-child { border-bottom: 0; }
.ingredients li span:last-child { color: var(--ink-soft); text-align: right; }

.steps { list-style: none; counter-reset: step; margin: 0 0 32px; padding: 0; display: grid; gap: 4px; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 0 14px;
  padding: 18px 0; border-top: 1px solid var(--line-dark);
}
.steps li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--font-body); font-weight: 300; font-size: 2.4rem; line-height: 1; color: var(--gold);
}
.steps h3 { margin: 0 0 4px; color: var(--gold-hi); }
.steps p { margin: 0; max-width: 62ch; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

.figure-card { margin: 0; }
.figure-card img { border-radius: var(--radius); }

.video { position: relative; aspect-ratio: 16 / 9; background: var(--night-2); border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__fallback { margin-top: 8px; font-size: 0.9375rem; }

/* Claims */
.claims { display: grid; gap: 18px; }
@media (min-width: 900px) { .claims { grid-template-columns: repeat(3, 1fr); } }
.claim__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 12px; }
.claim__head h3 { margin: 0; }
.claim p:last-child { margin-bottom: 0; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.allergens { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.allergens th, .allergens td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-dark); }
.allergens thead th { color: var(--gold-hi); font-weight: 600; background: var(--night-2); }
.allergens tbody th { font-weight: 500; color: var(--cream); }
.allergens td.yes { color: #f0c27a; font-weight: 600; }
.allergens td.no { color: var(--cream-soft); }
.note { font-size: 0.9375rem; color: var(--cream-soft); margin-top: 12px; }
.ingredient-list { margin: 0; display: grid; gap: 14px; }
.ingredient-list dt { font-weight: 600; }
.ingredient-list dd { margin: 0; color: var(--ink-soft); }

/* Where to buy */
.buy { display: grid; gap: 18px; }
.buy__item { display: grid; align-content: start; justify-items: start; }
.buy__item h2 { font-size: 1.6rem; }
.plainlist { padding-left: 1.1em; margin: 0 0 1em; }
@media (min-width: 760px) { .buy { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 28px; align-items: start; }
.faq__index ul { list-style: none; margin: 0; padding: 0; display: grid; }
.faq__index a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--line-light); text-decoration: none; color: var(--ink) !important; font-weight: 500; }
.faq__index li:last-child a { border-bottom: 0; }
.faq__list section { padding: 22px 0; border-top: 1px solid var(--line-light); scroll-margin-top: 90px; }
.faq__list section:first-child { border-top: 0; padding-top: 0; }
.faq__list h2 { font-size: 1.45rem; }
@media (min-width: 960px) { .faq { grid-template-columns: 320px 1fr; gap: 56px; } .faq__index { position: sticky; top: 130px; } }

/* ---------- Forms ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.card > legend, fieldset.card > legend {
  float: left; width: 100%; padding: 0; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2;
}
fieldset.card > legend + * { clear: left; }
.hint { font-size: 0.9375rem; color: var(--ink-soft); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .field > legend { font-weight: 600; font-size: 0.9375rem; }
.field > legend { margin-bottom: 6px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: 400 1.0625rem/1.35 var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid #b6ae9f; border-radius: var(--radius);
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 1px; border-color: var(--gold-ink); }
.is-invalid { border-color: #a3341f !important; }
.field__err { color: #a3341f; font-size: 0.9375rem; font-weight: 500; margin: 0; }
.card--dark .field__err { color: #f19a86; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 10px 0; font-size: 0.9875rem; cursor: pointer; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; accent-color: var(--gold-ink); }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opt span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 8px; border: 1px solid #b6ae9f; border-radius: var(--radius);
  background: #fff; font-weight: 600; line-height: 1.25;
}
.choice__opt small { font-weight: 400; color: var(--ink-soft); font-size: 0.875rem; }
.choice__opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fbf6ea; }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold-ink); outline-offset: 2px; }

/* Order */
.order { display: grid; gap: 18px; align-items: start; }
.order__main { display: grid; gap: 18px; min-width: 0; }
@media (min-width: 980px) {
  .order { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .order__summary { position: sticky; top: 130px; }
}
.picks { list-style: none; margin: 0; padding: 0; }
.pick {
  display: grid; grid-template-columns: 72px 1fr; grid-template-areas: "photo text" "photo stepper";
  gap: 6px 14px; padding: 14px 0; border-top: 1px solid var(--line-light); align-items: center;
}
.pick:first-child { border-top: 0; padding-top: 4px; }
.pick__photo { grid-area: photo; align-self: start; }
.pick__photo img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.pick__text { grid-area: text; min-width: 0; }
.pick__name { font-family: var(--font-body); font-weight: 600; font-size: 1.0625rem; margin: 0; }
.pick__meta { margin: 0; color: var(--ink-soft); display: flex; gap: 12px; }
.pick .contains { font-size: 0.9375rem; }
.pick .stepper { grid-area: stepper; justify-self: start; }
@media (min-width: 480px) {
  .pick { grid-template-columns: 88px 1fr auto; grid-template-areas: "photo text stepper"; }
  .pick__photo img { width: 88px; height: 88px; }
  .pick .stepper { justify-self: end; }
}
.stepper { display: inline-flex; align-items: center; border: 1px solid #b6ae9f; border-radius: var(--radius); background: #fff; }
.stepper__btn {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  font: 500 1.4rem/1 var(--font-body); color: var(--ink);
}
.stepper__btn:disabled { color: #b6ae9f; cursor: default; }
.stepper__qty { min-width: 2.4ch; text-align: center; font-weight: 600; font-size: 1.1rem; }
.pick.has-qty .stepper { border-color: var(--ink); }

.order__summary h2 { font-size: 1.6rem; margin-bottom: 6px; }
.summary__when { color: var(--gold-hi); margin-bottom: 10px; }
.summary__lines { list-style: none; margin: 0 0 12px; padding: 0; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }
.summary__empty { color: var(--cream-soft); }
.summary__totals { margin: 0 0 16px; }
.summary__totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.summary__totals dt { color: var(--cream-soft); }
.summary__totals dd { margin: 0; text-align: right; }
.summary__total { border-top: 1px solid var(--gold); margin-top: 6px; padding-top: 10px !important; }
.summary__total dt, .summary__total dd { color: var(--gold-hi) !important; font-weight: 600; font-size: 1.35rem; }
.fineprint { font-size: 0.9375rem; color: var(--cream-soft); margin: 12px 0 0; }
#err-items { margin-bottom: 10px; }

/* Send panel and done state */
.send, .done {
  margin-top: 18px; background: var(--bench-card); border: 1px solid var(--line-light);
  border-top: 3px solid var(--gold-ink); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px);
}
.send__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.send__meta { font-size: 0.9375rem; color: var(--ink-soft); }
.send__status { font-weight: 600; color: var(--gold-ink); min-height: 1.5em; }
.send__preview {
  white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 8px; padding: 14px;
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  font: 0.9375rem/1.5 var(--font-body); max-height: 360px; overflow: auto;
}

/* Wholesale */
.wholesale { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .wholesale { grid-template-columns: 1fr 1fr; gap: 56px; } }
.wholesale__form h2 { font-size: 1.6rem; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--cream-soft); border-top: 1px solid var(--line-dark); padding-top: 44px; font-size: 0.9875rem; }
.footer__grid { display: grid; gap: 28px; }
.footer__brand img { width: 200px; margin-bottom: 12px; }
.footer__h { font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--gold-hi); margin-bottom: 8px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--cream); }
.footer__base { border-top: 1px solid var(--line-dark); margin-top: 32px; padding-block: 18px 28px; font-size: 0.875rem; }
.footer__base p { margin: 0 0 6px; }
.footer__base a { color: var(--gold-hi); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

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