/* The On Point website. System fonts, one red, phone first (360 px up, Chrome 101 on the shop's Elo). */
:root {
  --red: #E20001; --red-dark: #A30100; --ink: #1d1b1a; --muted: #5f5955; --line: #e8e2dc;
  --paper: #ffffff; --cream: #faf6f1; --open: #1f7a3a;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--paper); }
a { color: var(--red-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .4em; }
h1 { font-size: 1.9rem; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; }
main { max-width: 960px; margin: 0 auto; }
[hidden] { display: none !important; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: flex; align-items: center; min-height: 44px; }
.brand .logo { height: 52px; width: auto; display: block; }
.wordmark { font-weight: 800; font-size: 1.25rem; color: var(--red); letter-spacing: -.01em; text-transform: none; }
.nav { display: flex; gap: 4px 14px; flex-wrap: wrap; order: 3; width: 100%; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--ink); padding: 4px 0; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--red); font-weight: 700; }
.btn-top { margin-left: auto; }
@media (min-width: 800px) {
  .top { flex-wrap: nowrap; }
  .nav { order: 0; width: auto; margin-left: 12px; }
  .brand .logo { height: 64px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-order { background: var(--red); color: #fff; }
.btn-order:hover, .btn-order:focus-visible { background: var(--red-dark); }
.btn-plain { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-big { font-size: 1.15rem; padding: 14px 22px; width: 100%; }
.actions .btn-plain { white-space: nowrap; padding: 10px 8px; font-size: .95rem; }

/* Home: hero and the facts */
.hero-pic img { width: 100%; height: 42vh; min-height: 220px; max-height: 460px; object-fit: cover; }
@media (min-width: 960px) { .hero-pic img { border-radius: 0 0 16px 16px; } }
.facts { padding: 18px 16px 8px; }
.facts h1 { margin-bottom: .2em; }
.status { margin: 0 0 4px; font-weight: 700; color: var(--red-dark); }
.status.open { color: var(--open); }
.today, .addr { margin: 0 0 6px; }
.today [data-today-label] { font-weight: 700; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 10px; }
.actions .btn-big { grid-column: 1 / -1; }
.delivery { color: var(--muted); margin: 6px 0; }
.week summary { cursor: pointer; color: var(--red-dark); padding: 6px 0; }
@media (min-width: 640px) { .actions { grid-template-columns: 2fr 1fr 1fr; } .actions .btn-big { grid-column: auto; } }

.hours { border-collapse: collapse; margin: 6px 0; min-width: 260px; }
.hours th, .hours td { text-align: left; padding: 4px 16px 4px 0; font-weight: 400; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }

/* Menu */
.menu { padding: 12px 16px 24px; }
.menu h2 { margin-top: 8px; }
.cat { border-top: 1px solid var(--line); }
.cat summary { list-style: none; cursor: pointer; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.cat summary::-webkit-details-marker { display: none; }
.cat summary::after { content: "+"; font-size: 1.5rem; color: var(--red); line-height: 1; }
.cat[open] summary::after { content: "\2212"; }
.cat summary h3 { margin: 0; font-size: 1.2rem; }
section.cat { padding: 18px 0 4px; scroll-margin-top: 120px; }
.items { list-style: none; margin: 0; padding: 0 0 10px; }
.item { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.item:last-child { border-bottom: 0; }
.item.has-pic { display: flex; gap: 12px; align-items: flex-start; }
.item .thumb { flex: 0 0 72px; }
.item .thumb img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.item-body { flex: 1; min-width: 0; }
.item-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.item h3, .item h4 { font-size: 1.02rem; margin: 0; }
.item p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.price { white-space: nowrap; }
.sizes { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .95rem; }
.sizes span { color: var(--muted); }
.more { margin-top: 16px; }
.note { color: var(--muted); }

/* Menu page */
.page-head { padding: 22px 16px 4px; }
.cat-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.cat-index a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); background: var(--cream); font-size: .95rem; }
.link-order { font-weight: 700; }
.cta { display: grid; gap: 10px; padding: 8px 16px 28px; }
@media (min-width: 640px) { .cta { grid-template-columns: 2fr 1fr; } }

/* Footer */
.foot { background: var(--cream); border-top: 1px solid var(--line); padding: 24px 16px 32px; margin-top: 16px; }
.foot p { max-width: 960px; margin: 0 auto 10px; }
.foot a { margin-right: 12px; }
.small { font-size: .85rem; color: var(--muted); }

/* The other pages */
.wide-pic img { width: 100%; height: 36vh; min-height: 200px; max-height: 420px; object-fit: cover; }
@media (min-width: 960px) { .wide-pic img { border-radius: 0 0 16px 16px; } }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 14px; }
.block { padding: 8px 16px 12px; }
.block > picture img { border-radius: 12px; }
.lines { margin: 0; padding: 0 0 0 1.1em; }
.lines li { margin: 6px 0; }
.two { display: grid; gap: 12px; }
.two img { border-radius: 12px; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
/* Gallery: landscape photos are the same 4:3 tile so the rows line up; a tall photo spans two rows, so its whole height shows (dense flow fills the gap beside it). A tap opens the whole photo. */
.gallery h2 { margin: 18px 0 10px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-flow: row dense; }
.grid a, .grid picture { display: block; }
.grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--cream); }
.grid .tall { grid-row: span 2; aspect-ratio: 2 / 3; align-self: stretch; justify-self: stretch; min-width: 0; }
.grid .tall a, .grid .tall picture, .grid .tall img { height: 100%; aspect-ratio: auto; }
.grid a:focus-visible img { outline: 3px solid var(--red); outline-offset: 2px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.contact { display: grid; gap: 16px; }
.contact h2 { font-size: 1.15rem; margin-top: 14px; }
.contact p { margin: 0 0 6px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 12px; background: var(--cream); }
@media (min-width: 800px) { .contact { grid-template-columns: 1fr 1fr; } .map iframe { height: 100%; min-height: 420px; } }
.page-head .btn { margin-bottom: 8px; }

/* Search pass: the shop name above the place H1, and the area sentence */
.shopname { margin: 0 0 2px; font-weight: 800; color: var(--red-dark); letter-spacing: .02em; }
.area { color: var(--muted); }
.rewards { background: var(--cream); border-radius: 14px; padding: 16px; }
.rewards .how { margin: 8px 0 12px; }
.rewards .how summary { cursor: pointer; font-weight: 600; }
.rewards-line { margin: 16px 0 0; }
.late { margin: 8px 16px 12px; padding: 16px; border: 2px solid var(--red, #E20001); border-radius: 14px; }
.late .late-when { margin: 0 0 4px; }
.late .late-starts { margin: 0 0 4px; font-weight: 600; }

/* Home, the Domino's look (Cowork 15 Oct): the photo with cards over it, deal cards, Browse menu as a grid of category cards. Reds and cream, no blue. */
.hero-home { position: relative; min-height: 440px; display: flex; }
.hero-home .hero-pic { position: absolute; inset: 0; }
.hero-home .hero-pic img { width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; border-radius: 0; }
.hero-cards { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px; }
.card { background: var(--cream); border-radius: 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); padding: 14px 16px; }
.hero-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-say { margin: 0; text-decoration: none; font-size: 1.45rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; color: var(--red-dark); letter-spacing: .01em; }
.btn-pill { border-radius: 999px; white-space: nowrap; padding: 10px 18px; }
.btn-wide { width: 100%; margin-top: 10px; }
.deals { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.deal { flex: 0 0 100%; scroll-snap-align: start; }
.deal .tag { display: inline-block; background: var(--red); color: #fff; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; border-radius: 6px; padding: 2px 8px; }
.deal-label { margin: 6px 0 0; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.deal-head { margin: 2px 0 6px; font-size: 1.5rem; font-weight: 900; line-height: 1.1; text-transform: uppercase; color: var(--red-dark); }
.deal-line { margin: 0; color: var(--ink); }
.pager { margin: 8px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
@media (min-width: 800px) {
  .hero-home { min-height: 480px; }
  .hero-cards { max-width: 460px; }
}
.facts .actions { grid-template-columns: 1fr 1fr; }
.browse h2 { text-transform: uppercase; letter-spacing: .02em; color: var(--red-dark); }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; grid-auto-flow: dense; align-items: start; }
@media (min-width: 800px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.card-cat { border: 1px solid var(--line); border-radius: 14px; background: var(--cream); overflow: hidden; }
.card-cat[open] { grid-column: 1 / -1; background: var(--paper); }
.card-cat summary { display: block; padding: 0; }
.card-cat summary::after { content: none; }
.card-cat[open] summary::after { content: none; }
.card-cat .cat-pic img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.card-cat summary h3 { padding: 10px 12px; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--red-dark); }
.card-cat[open] summary { display: flex; justify-content: flex-start; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.card-cat[open] .cat-pic { flex: 0 0 64px; }
.card-cat[open] .cat-pic img { width: 64px; height: 64px; }
.card-cat .items { padding: 0 12px 10px; }

/* Footer: Follow us with round icons, then plain rows */
.follow { max-width: 960px; margin: 0 auto 12px; }
.follow-head { font-weight: 800; margin: 0 0 6px; }
.icons { display: flex; gap: 12px; margin: 0; }
.foot .round { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; border-radius: 50%; background: var(--red); color: #fff; }
.foot .round:hover, .foot .round:focus-visible { background: var(--red-dark); }
.round svg { width: 22px; height: 22px; }
.foot-rows { max-width: 960px; margin: 0 auto 12px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.foot-rows a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; margin: 0; }
@media (min-width: 800px) { .foot-rows { flex-direction: row; flex-wrap: wrap; gap: 0 20px; border-top: 0; } .foot-rows a { border-bottom: 0; padding: 6px 0; } }
