/* Base layout and shared components. Values follow design_handoff_abeilles_guenter/README.md;
   colours only ever come from tokens.css. */

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

html { background: var(--page); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
/* German compounds ("Datenschutzerklärung") must never push the page wider than the phone. */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
h6 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
p { margin: 0; }
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }

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

/* The app is a phone column; above 480 px it is centred on --page. */
.app {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
}

/* — header — */
.app-header {
  display: flex; align-items: center; gap: 10px;
  padding: max(8px, env(safe-area-inset-top)) 16px 8px;
  min-height: 60px;
}
.app-header__start { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--color-divider); }
.brand-mark-link { display: block; border-radius: 50%; }
.app-header__brand, .header-basket { display: none; }
.icon-btn {
  width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0;
  background: var(--color-surface); color: var(--color-text);
  display: grid; place-items: center; cursor: pointer; text-decoration: none;
}

/* — light/dark switch (customers) — */
.theme-switch { flex: none; display: flex; }
.theme-switch__btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-surface); color: var(--color-text); text-decoration: none;
}
.theme-switch__btn:hover { color: var(--color-accent-700); }
/* Show "to dark" while light is on screen, and "to light" while dark is. */
.theme-switch__btn--to-light { display: none; }
:root[data-theme="dark"] .theme-switch__btn--to-dark { display: none; }
:root[data-theme="dark"] .theme-switch__btn--to-light { display: grid; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .theme-switch__btn--to-dark { display: none; }
  :root[data-theme="system"] .theme-switch__btn--to-light { display: grid; }
}

/* — language switch (DE | EN | FR pill group) — */
.lang-switch {
  display: flex; gap: 2px; padding: 3px; flex: none;
  border-radius: 999px; background: var(--color-surface);
}
.lang-switch a {
  min-width: 42px; height: 40px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  font: 700 13px var(--font-body); color: var(--color-text); text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: var(--color-text); color: var(--color-bg); }

/* — buttons — */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 18px; line-height: 1.2; text-align: center; text-decoration: none;
  color: var(--color-text); background: transparent; cursor: pointer;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--accent-strong); color: var(--color-bg); }
.btn-primary:hover { background: var(--accent-strong-hover); color: var(--color-bg); }
.btn-secondary { background: var(--color-surface); }
.btn-ghost { color: var(--color-accent-700); }
.btn-block { width: 100%; }
.btn-lg { min-height: 62px; font-size: 19px; }

/* — cards & notes — */
.card { background: var(--color-surface); border-radius: 30px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.muted { color: var(--muted); }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ═══ page skeleton ═══════════════════════════════════════════════════════════════ */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 8px; z-index: 50; background: var(--color-text); color: var(--color-bg); padding: 10px 16px; border-radius: 999px; }
.page { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.page__body { flex: 1; padding: 4px 20px 32px; display: flex; flex-direction: column; gap: 24px; }
.page__body--tight { gap: 18px; }
.page__body--product { padding: 0 0 24px; gap: 22px; }
.product-panel { margin-inline: 20px; display: flex; flex-direction: column; gap: 22px; }
.product-panel .bottom-bar { margin-inline: -20px; }
.bottom-bar {
  position: sticky; bottom: 0; z-index: 5;
  padding: 12px 16px max(28px, env(safe-area-inset-bottom));
  background: var(--color-bg); box-shadow: 0 -2px 0 var(--color-divider);
  display: flex; flex-direction: column; gap: 8px;
}
.bottom-bar[hidden] { display: none; }
.icon { display: block; flex: none; }
.muted { color: var(--muted); }
.kicker { margin: 0; padding: 0; font: 700 13px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker-sm { font-size: 13px; font-weight: 700; color: var(--muted); }
.step-title { font-size: 30px; text-wrap: pretty; }
.field-group { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.wrap-anywhere { overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.stack-8 { display: flex; flex-direction: column; gap: 10px; }
.with-icon { display: flex; gap: 8px; align-items: center; }

/* ═══ header: steps ═══════════════════════════════════════════════════════════════ */
.steps { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.steps__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.steps__dots { display: flex; gap: 5px; }
.steps__dot { width: 10px; height: 8px; border-radius: 999px; background: var(--color-neutral-300); }
.steps__dot.is-done { background: var(--color-accent); }
.steps__dot.is-current { width: 28px; background: var(--color-accent); }
.icon-btn--sm { width: 44px; height: 44px; background: transparent; color: var(--muted); }

/* ═══ buttons (extra sizes) ═══════════════════════════════════════════════════════ */
.btn-sm { min-height: 44px; padding: 8px 12px; font-size: 15px; }
.btn-lg { min-height: 62px; }
.btn-block { width: 100%; }
.basket-bar { justify-content: space-between; padding: 0 8px 0 24px; }
.basket-bar__line { font: 700 16px var(--font-body); text-align: left; display: flex; align-items: center; gap: 10px; }
.mini-basket__line { display: flex; align-items: center; gap: 8px; }
.basket-bar__go {
  display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--color-bg); color: var(--color-accent-700); font-size: 16px;
}
.mini-basket {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: var(--color-surface); color: var(--color-text); font: 700 15px var(--font-body); text-decoration: none;
}
.mini-basket__go { display: flex; gap: 6px; align-items: center; color: var(--color-accent-700); }
.added-line { display: flex; align-items: center; gap: 8px; padding: 0 8px; font-size: 15px; font-weight: 700; color: var(--st-ready); }

/* ═══ badges & prices ═════════════════════════════════════════════════════════════ */
.badge { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.2; }
.badge--sm { padding: 3px 10px; font-size: 12px; }
.badge--promo { background: var(--color-accent-700); color: var(--color-bg); }
.badge--few { background: var(--color-bg); color: var(--color-text); }
.badge--sold { background: var(--color-text); color: var(--color-bg); }
.price { display: inline-flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.price__now { font-size: 18px; font-weight: 700; }
.price--promo .price__now { color: var(--color-accent-700); }
.price__was { font-size: 14px; color: var(--muted); }

/* ═══ C1 landing ══════════════════════════════════════════════════════════════════ */
.hero { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.hero h1 { font-size: 40px; line-height: 1.02; }
.hero__promise { font-size: 18px; line-height: 1.45; max-width: 310px; text-wrap: pretty; }
.product-list { display: flex; flex-direction: column; gap: 16px; }
.pcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 32px;
  background: var(--color-surface); color: inherit; text-decoration: none;
}
a.pcard:hover { color: inherit; }
.pcard.is-sold-out { opacity: .62; filter: grayscale(.75); }
.pcard__media { position: relative; height: 200px; background: color-mix(in srgb, var(--tint, var(--color-neutral-200)) var(--tint-strength), var(--color-surface)); display: grid; place-items: center; }
.pcard__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__badges { position: absolute; z-index: 1; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.pcard__name { font-size: 26px; }
.pcard__teaser { font-size: 16px; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pcard__price { font-size: 18px; font-weight: 700; }
.pcard__go { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--accent-strong); color: var(--color-bg); }
.how { display: flex; flex-direction: column; gap: 12px; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.how__steps li { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.35; }
.how__num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-accent-2-100); color: var(--color-accent-2-800); font: 400 16px var(--font-heading);
}
.shop-footer { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 8px; font-size: 14px; color: var(--muted); }
.shop-footer a { color: inherit; }
.notice-card {
  border-radius: 32px; background: var(--color-surface); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.notice-card h3, .notice-card__title { font-size: 24px; }
.notice-card p { font-size: 16px; }
.notice-card__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--honey-spring-bg); color: var(--honey-summer); display: grid; place-items: center; }
.notice-card--plain { border-radius: 28px; padding: 24px; }
.notice-card--plain p { font-size: 17px; text-wrap: pretty; }

/* the CSS jar ("no photo" state) */
.jar { display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 10px 14px rgba(60,35,10,.22)); }
.jar--big { transform: scale(1.2); }
.jar__lid { width: 70px; height: 20px; border-radius: 8px 8px 5px 5px; background: #4a3a2a; }
.jar__body {
  width: 100px; height: 112px; margin-top: -3px; border-radius: 26px 26px 34px 34px;
  background: var(--honey); display: grid; place-items: center;
  box-shadow: inset -12px -10px 0 rgba(0,0,0,.08), inset 10px 6px 0 rgba(255,255,255,.22);
}
.jar__label { width: 58px; height: 58px; border-radius: 50%; display: block; }

/* ═══ C2 product ══════════════════════════════════════════════════════════════════ */
.gallery { position: relative; margin: 0 16px; border-radius: 32px; overflow: hidden; }
.gallery__track {
  display: flex; height: 270px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  background: color-mix(in srgb, var(--tint, var(--color-neutral-200)) var(--tint-strength), var(--color-surface));
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: none; width: 100%; height: 100%; scroll-snap-align: start; display: grid; place-items: center; }
.gallery__slide > img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.gallery__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.gallery__dot.is-active { background: var(--color-text); }
.product-info { display: flex; flex-direction: column; gap: 8px; }
.product-info__name { font-size: 32px; }
.product-info__harvest { font-size: 15px; color: var(--muted); }
.product-info__desc { margin-top: 4px; font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.size-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size-card {
  min-height: 104px; border-radius: 26px; border: 2px solid transparent; background: var(--color-surface);
  padding: 14px 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; cursor: pointer;
}
.size-card:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-100); }
.size-card:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.size-card.is-disabled { opacity: .5; cursor: not-allowed; }
.size-card__size { font: 400 24px/1.1 var(--font-heading); }
.size-card__sold { font-size: 14px; font-weight: 600; color: var(--muted); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: var(--color-surface); }
.stepper__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--color-bg); color: var(--color-text); display: grid; place-items: center;
}
.stepper__btn[aria-disabled="true"] { opacity: .4; }
.stepper__value {
  width: 56px; border: 0; background: transparent; text-align: center; color: var(--color-text);
  font: 400 26px var(--font-heading); -moz-appearance: textfield; appearance: textfield;
}
.stepper__value::-webkit-inner-spin-button, .stepper__value::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.limit-note { margin-top: -8px; padding: 12px 16px; border-radius: 20px; background: var(--honey-spring-bg); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.limit-note[hidden] { display: none; }
.subtotal-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.subtotal-row__value { font-weight: 700; font-size: 20px; }

/* ═══ C3 pickup ═══════════════════════════════════════════════════════════════════ */
.choice-list { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.choice-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 26px;
  border: 2px solid transparent; background: var(--color-surface); color: inherit; text-decoration: none; cursor: pointer;
}
a.choice-card:hover { color: inherit; }
.choice-card[aria-checked="true"], .choice-card:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-100); }
.choice-card:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.choice-card__text { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 15px; }
.choice-card__title { font-size: 18px; font-weight: 700; }
.choice-card__note { display: flex; gap: 6px; align-items: center; margin-top: 2px; }
.choice-card--pay { align-items: center; min-height: 72px; padding: 14px 18px; }
.choice-card--pay .choice-card__title { flex: 1; font-size: 17px; }
.choice-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--color-bg); display: grid; place-items: center; flex: none; }
.radio-dot { width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 2px; border: 2px solid var(--color-neutral-500); }
.choice-card--pay .radio-dot { margin-top: 0; }
.choice-card[aria-checked="true"] .radio-dot, .choice-card:has(input:checked) .radio-dot {
  border-color: var(--color-accent); background: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-bg);
}
.day-strip { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 2px; }
.day-strip::-webkit-scrollbar { display: none; }
.day-chip {
  flex: none; width: 78px; min-height: 92px; border-radius: 26px; background: var(--color-surface); color: var(--color-text);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none;
}
.day-chip:hover { color: var(--color-text); }
.day-chip[aria-current="true"] { background: var(--accent-strong); color: var(--color-bg); }
.day-chip__dow { font-size: 14px; font-weight: 700; }
.day-chip__day { font: 400 28px/1 var(--font-heading); }
.day-chip__mon { font-size: 13px; }
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot {
  min-height: 56px; border-radius: 999px; background: var(--color-surface); color: var(--color-text); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; font: 700 17px var(--font-body);
}
.slot:has(input:checked) { background: var(--accent-strong); color: var(--color-bg); }
.slot:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.slot.is-full { opacity: .45; cursor: not-allowed; }
.slot.is-full .slot__time { text-decoration: line-through; }
.slot__full { font-size: 11px; font-weight: 600; }
.alert { padding: 12px 16px; border-radius: 20px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.alert--wait { background: var(--st-wait-bg); }
.alert--danger { background: var(--danger-bg); color: var(--color-text); }
.alert--danger .icon { color: var(--danger); }

/* ═══ C4 details ══════════════════════════════════════════════════════════════════ */
.info-line { padding: 12px 16px; border-radius: 20px; background: var(--color-accent-2-100); color: var(--color-accent-2-800); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.info-line--strong { padding: 14px 18px; border-radius: 22px; font-size: 16px; font-weight: 600; align-items: flex-start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 15px; font-weight: 700; }
.field__optional { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 56px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--color-divider);
  background: var(--color-surface); color: var(--color-text); font: 17px var(--font-body); caret-color: var(--color-accent);
}
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }
textarea.input { min-height: 96px; padding: 14px 20px; border-radius: 24px; resize: vertical; }
.has-error .input { border-color: var(--danger); }
.field__error { font-size: 14px; font-weight: 600; color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ═══ C5 summary ══════════════════════════════════════════════════════════════════ */
.summary-card { background: var(--color-surface); border-radius: 30px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.summary-card__head { display: flex; justify-content: space-between; align-items: center; }
.summary-card__title { font-size: 20px; }
.summary-line { display: flex; align-items: center; gap: 8px; }
.summary-line__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.summary-line__name { font-size: 16px; font-weight: 700; }
.summary-line__unit { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.summary-line__total { font-size: 16px; font-weight: 700; white-space: nowrap; }
.summary-card__row { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 2px solid var(--color-divider); }
.summary-card__row .btn { align-self: flex-start; }
.summary-card__total { align-items: baseline; font-size: 17px; font-weight: 700; }
.summary-card__amount { font: 400 26px var(--font-heading); }
.summary-card__block { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
.summary-card__block strong { font-size: 16px; }

/* ═══ C6 thanks / C7 status ═══════════════════════════════════════════════════════ */
.big-check { width: 84px; height: 84px; border-radius: 50%; background: var(--color-accent-2-100); color: var(--color-accent-2-800); display: grid; place-items: center; }
.thanks-title { font-size: 34px; line-height: 1.1; }
.order-no { display: flex; flex-direction: column; gap: 2px; }
.order-no__value { font: 400 30px var(--font-heading); letter-spacing: .02em; }
.wait-block { padding: 16px 18px; border-radius: 24px; background: var(--st-wait-bg); display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.wait-block .status-dot { margin-top: 3px; }
.info-card { background: var(--color-surface); border-radius: 28px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.info-card__big { font-size: 18px; }
.summary-items { font-weight: 700; }
.maps-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.status-hero { border-radius: 30px; padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; }
.status-hero__head { display: flex; align-items: center; gap: 12px; }
.status-hero h3, .status-hero__label { font-size: 24px; }
.status-hero--wait { background: var(--st-wait-bg); }
.status-hero--ready { background: var(--st-ready-bg); }
.status-hero--done { background: var(--color-surface); }
.status-hero--declined, .status-hero--cancelled { background: var(--color-neutral-200); }

/* status circles, shared with the admin app */
.status-dot { flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--color-bg); width: 20px; height: 20px; }
.status-dot--12 { width: 12px; height: 12px; }
.status-dot--18 { width: 18px; height: 18px; }
.status-dot--30 { width: 30px; height: 30px; }
.status-dot--36 { width: 36px; height: 36px; }
.status-dot--wait { background: var(--st-wait); }
.status-dot--ready { background: var(--st-ready); }
.status-dot--done { background: var(--st-done); border: 3px solid var(--st-done-bd); }
.status-dot--declined, .status-dot--cancelled { background: var(--st-off); }

/* ═══ legal ═══════════════════════════════════════════════════════════════════════ */
.legal { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.55; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 21px; margin-top: 12px; }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal mark { background: var(--st-wait-bg); color: var(--color-text); padding: 0 4px; border-radius: 4px; }


/* ═══ desktop & tablet (≥ 760 px): a real website, not a phone column ═══════════════ */
@media (min-width: 760px) {
  html, body { background: var(--color-bg); }
  .app--shop { max-width: none; }
  .app--shop .app-header, .app--shop .page { width: 100%; max-width: 1120px; margin-inline: auto; }
  .app--shop .app-header { padding: 22px 32px 18px; gap: 18px; }
  .app-header__brand {
    display: flex; align-items: center; gap: 12px; flex: none;
    color: var(--color-text); text-decoration: none; font: 400 22px var(--font-heading);
  }
  .app-header__brand:hover { color: var(--color-accent-700); }
  .app-header__brand .brand-mark { width: 44px; height: 44px; }
  .brand-mark--mobile { display: none; }
  .app-header__start .icon-btn { width: 44px; height: 44px; }
  .header-basket {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
    background: var(--color-surface); color: var(--color-text); font: 700 15px var(--font-body); text-decoration: none; flex: none;
  }
  .header-basket:hover { background: var(--color-accent-100); color: var(--color-accent-700); }
  a, button, label { transition: background-color .12s, color .12s, box-shadow .12s, transform .12s; }

  .page__body { padding: 8px 32px 48px; }
  .bottom-bar { position: static; box-shadow: none; background: transparent; padding: 8px 0 0; }

  /* landing: hero, product grid, how it works */
  .layout-wide .page__body { gap: 40px; padding-top: 24px; }
  .layout-wide .hero h1 { font-size: 64px; }
  .layout-wide .hero__promise { font-size: 22px; max-width: 560px; }
  .product-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .pcard__media { height: 240px; }
  a.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
  .how__steps { max-width: 760px; gap: 24px; }
  .how__steps li { font-size: 16px; }
  .layout-wide .bottom-bar { position: sticky; bottom: 24px; align-items: flex-end; padding: 0; }
  .layout-wide .bottom-bar .basket-bar { width: auto; min-width: 380px; box-shadow: var(--shadow-lg); }

  /* product: photos left (sticky), choices right */
  .page__body--product {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start;
    padding: 8px 32px 48px;
  }
  .page__body--product > *:not(.gallery) { margin-inline: 0; }
  .product-media { position: sticky; top: 24px; }
  .product-media .gallery { margin: 0; }
  .product-media .gallery__track { height: 520px; }
  .product-media .jar--big { transform: scale(1.8); }
  .product-panel { display: flex; flex-direction: column; gap: 24px; }
  .product-info__name { font-size: 44px; }
  .product-panel .bottom-bar { margin-inline: 0; }
  .product-panel .bottom-bar .btn-lg { width: 100%; }

  /* checkout steps: one calm centred form */
  .layout-step .page__body, .layout-step .bottom-bar { width: 100%; max-width: 620px; margin-inline: auto; }
  .layout-step .page__body { padding: 8px 32px 8px; }
  .layout-step .bottom-bar { padding: 8px 32px 56px; }
  .step-title { font-size: 38px; }
  .day-strip { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .slot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .choice-card:hover, .slot:not(.is-full):hover, .size-card:not(.is-disabled):hover, .day-chip:hover { box-shadow: inset 0 0 0 2px var(--color-accent); }

  /* reading pages: thanks, status, legal, 404 */
  .layout-read .page__body { max-width: 720px; margin-inline: auto; width: 100%; }
  .legal h1 { font-size: 44px; }
}

@media (min-width: 760px) {
  /* The beekeeper app stays a focused column, just roomier on a computer. */
  .app--admin { max-width: 760px; }
}
