/* The Kolo Shop. Colors from Brand/Posters/README.md: ink, the dark ground, gold (on dark only:
   gold on light fails contrast), brick, cream, kraft, grey. Phone first; no web fonts, so the
   menu shows at once on a slow connection. */
:root {
  --ink: #1A1714; --dark: #1F1A16; --gold: #E8AE52; --brick: #A8391C; --brick-dark: #8A2E16; --cream: #FAF7F2; --kraft: #C8B393; --grey: #6B635B; --line: #E4DCCF; --ok: #2F6B33;
  --pad: max(16px, env(safe-area-inset-left, 0px));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-padding-bottom: 96px; }   /* what is scrolled to stays clear of the sticky header and the order bar */
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brick); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--brick); outline-offset: 2px; }
.top a:focus-visible { outline-color: var(--gold); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0.4em 0; }
h2 { font-size: 1.25rem; margin: 1.2em 0 0.5em; }
h3 { font-size: 1.1rem; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.stripe { background: repeating-linear-gradient(135deg, #f2c300 0 14px, #1a1a1a 14px 28px); color: #fff; text-shadow: 0 0 4px #000, 0 0 8px #000; font: 700 14px/1.3 system-ui, sans-serif; text-align: center; padding: 6px 12px; letter-spacing: 0.06em; }
.top { background: var(--dark); color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--pad); position: sticky; top: 0; z-index: 10; }
.top .logo img { display: block; height: 44px; width: auto; }
.top nav { display: flex; gap: 16px; align-items: center; }
.top nav a { color: var(--cream); text-decoration: none; font-weight: 600; padding: 8px 2px; }
.top nav a[aria-current] { color: var(--gold); }
.cart-link .count { display: inline-block; min-width: 1.5em; margin-left: 6px; padding: 0 6px; border-radius: 1em; background: var(--gold); color: var(--ink); text-align: center; font-size: 0.85rem; }
main { max-width: 980px; margin: 0 auto; padding: 8px var(--pad) 120px; outline: none; }
.intro .hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }
.lede { font-size: 1.05rem; margin: 0 0 12px; }
.state { padding: 10px 14px; border-radius: 10px; background: #F1E9DC; margin: 10px 0; }
.state.open { background: #E3EEDD; }
.state.closed { background: #F6E1DA; }
.locs { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.locs a { padding: 8px 14px; border: 2px solid var(--brick); border-radius: 20px; text-decoration: none; font-weight: 600; }
.locs a[aria-current] { background: var(--brick); color: var(--cream); }
.items { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.item .pic { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ph, .item .ph { display: flex; align-items: center; justify-content: center; background: var(--kraft); color: var(--ink); padding: 16px; text-align: center; font-weight: 800; font-size: 1.35rem; line-height: 1.2; }
.item .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.item .line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.item .price { margin: 0; font-weight: 700; white-space: nowrap; }
.item .desc { margin: 0; }
.item .al { margin: 0; color: var(--grey); font-size: 0.92rem; }
.item.out .pic { filter: grayscale(0.8); opacity: 0.7; }
.soldout { margin: 0; font-weight: 700; color: var(--brick); }
.few { margin: 0; font-weight: 600; color: var(--brick); }
.inside summary { cursor: pointer; color: var(--brick); font-weight: 600; padding: 4px 0; }
.inside img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.add { margin-top: auto; padding-top: 6px; min-height: 48px; }
.add:empty { display: none; }
button { font: inherit; cursor: pointer; }
.btn, .go { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border-radius: 24px; border: 0; background: var(--brick); color: var(--cream); font-weight: 700; text-decoration: none; }
.btn:hover, .go:hover { background: var(--brick-dark); }
.go { width: 100%; font-size: 1.1rem; }
.go[disabled] { background: var(--grey); cursor: default; }
.step { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--brick); border-radius: 24px; }
.step button { width: 48px; height: 44px; border: 0; background: none; color: var(--brick); font-size: 1.5rem; font-weight: 700; border-radius: 24px; }
.step output { min-width: 2.2em; text-align: center; font-weight: 700; font-size: 1.1rem; }
.cartbar { pointer-events: none; position: fixed; left: 0; right: 0; bottom: 0; padding: 10px var(--pad) max(10px, env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, var(--cream) 30%); z-index: 9; }
.cartbar a { pointer-events: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 980px; margin: 0 auto; min-height: 56px; padding: 0 20px; border-radius: 28px; background: var(--dark); color: var(--cream); text-decoration: none; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.cartbar b { color: var(--gold); }
.strip-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.strip-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.note { color: var(--grey); font-size: 0.92rem; margin-top: 24px; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lines li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lines .nm { flex: 1; }
.lines .nm small { display: block; color: var(--brick); font-weight: 600; }
.totals { text-align: right; font-size: 1.05rem; }
.pay fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 16px; margin: 16px 0; display: grid; gap: 6px; background: #fff; }
.pay legend { font-weight: 700; padding: 0 6px; }
.pay label { font-weight: 600; margin-top: 6px; }
.pay input, .pay select { font: inherit; min-height: 48px; padding: 8px 12px; border: 2px solid #B9AE9E; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.pay .testcards label { font-weight: 400; display: flex; gap: 10px; align-items: center; min-height: 40px; }
.pay .testcards input { width: auto; min-height: 0; }
.card-box { min-height: 90px; }
.where { margin: 0; color: var(--grey); }
.err { color: var(--brick); font-weight: 700; min-height: 1.5em; }
.muted { color: var(--grey); }
.small { font-size: 0.88rem; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px 12px; margin: 14px 0; }
.code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: 0.08em; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 12px 0; }
.steps li { text-align: center; padding: 8px 4px; border-radius: 8px; background: #EEE6D9; color: var(--grey); font-size: 0.9rem; font-weight: 600; }
.steps li.done { background: var(--ok); color: #fff; }
.door-pic { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin: 8px 0; }
.hours { border-collapse: collapse; width: 100%; max-width: 480px; }
.hours th, .hours td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.plain { padding-left: 1.2em; }
.links { padding-left: 1.2em; }
.foot { background: var(--dark); color: #D9D0C2; padding: 20px var(--pad) 100px; font-size: 0.92rem; }
.foot a { color: var(--gold); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { padding: 6px 0; }
@media (min-width: 720px) { h1 { font-size: 2.1rem; } .foot { padding-bottom: 40px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* The coming-soon page (a short link with no address yet): the logo, the message, the place. */
.soon main { text-align: center; padding-top: 40px; max-width: 640px; }
.soon h1 { font-size: 2rem; }
.soon .place { font-size: 1.15rem; margin: 20px 0; }
