:root {
  --ink: #1d1d1b;
  --muted: #6b6b66;
  --line: #e2e0d8;
  --paper: #fffdf8;
  --accent: #c8461c;
  --accent-ink: #fff;
  --ok: #2e7d32;
  --warn: #b26a00;
  --bad: #b3261e;
}
* { box-sizing: border-box; }
html { font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--paper); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.cart-link { text-decoration: none; font-weight: 600; }
.badge { display: inline-block; min-width: 1.6em; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .85rem; }
.page { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 16px; }
.bottom { padding: 16px; text-align: center; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
h1 { font-size: 1.5rem; margin: 8px 0 16px; }
h2 { font-size: 1.15rem; margin: 24px 0 8px; }
.notice { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; margin: 0 0 16px; }
.notice.ok { border-color: var(--ok); }
.notice.warn { border-color: var(--warn); }
.notice.bad { border-color: var(--bad); color: var(--bad); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list .name { font-weight: 600; }
.list .meta { color: var(--muted); font-size: .9rem; }
.list .price { white-space: nowrap; font-weight: 600; }
.list .soldout { color: var(--muted); text-decoration: line-through; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; cursor: pointer; font-size: 1rem; }
.btn.secondary { background: #fff; color: var(--accent); }
.btn.small { padding: 6px 10px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.block { display: block; width: 100%; text-align: center; margin-top: 16px; }
form.stack > * + * { margin-top: 14px; }
label { display: block; font-weight: 600; margin-bottom: 4px; }
input[type=text], input[type=tel], input[type=number], select, textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
textarea { min-height: 72px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0; }
legend { font-weight: 600; padding: 0 6px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-weight: 400; }
.choice input { width: auto; }
.totals { margin-top: 16px; border-top: 2px solid var(--ink); padding-top: 8px; }
.totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.totals .grand { font-weight: 700; font-size: 1.1rem; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty input { width: 64px; text-align: center; }
.steps { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; color: var(--muted); font-size: .85rem; }
.steps li.active { color: var(--ink); font-weight: 600; }
.status { text-align: center; padding: 24px 0; }
.status .title { font-size: 1.4rem; font-weight: 700; }
.hint { color: var(--muted); font-size: .9rem; }
/* Block F6: day/time picker and street suggestions. */
[hidden] { display: none !important; }
.slot-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0; }
.street-field { position: relative; }
.suggestions { position: absolute; left: 0; right: 0; z-index: 3; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.suggestions button { display: block; width: 100%; padding: 8px 12px; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.suggestions button:hover, .suggestions button:focus { background: #f6f4ee; }
.suggestions small { display: block; color: var(--muted); }
/* Block F8: shop look from the hub (logo, banner, product pictures, footer). */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand .logo { height: 36px; width: auto; max-width: 140px; object-fit: contain; }
.hero { position: relative; margin: 0 0 16px; border-radius: 12px; overflow: hidden; background: var(--accent); }
.hero-image { display: block; width: 100%; max-height: 280px; object-fit: cover; }
.hero-text { margin: 0; padding: 14px 16px; color: var(--accent-ink); font-size: 1.15rem; font-weight: 600; }
.hero-image + .hero-text { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; }
.list li.with-picture { justify-content: flex-start; }
.list li.with-picture > div:last-child { margin-left: auto; }
.product-picture { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: 8px; }
.product-hero { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin: 0 0 16px; }
.bottom p { margin: 4px 0; }
.legal-links { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.legal p { line-height: 1.5; }
@media (min-width: 600px) {
  h1 { font-size: 1.8rem; }
  .page { padding: 24px; }
}
