/* The Shepherd's Pie storefront. Brand orange from the current site's top bar. */
/* The fonts, served by the shop itself rather than Google Fonts, which held up the first paint by about 0.8 s on phones
   (PageSpeed, 30 Sep 2026). Both are variable fonts under the SIL Open Font License; Latin and Latin Extended only. */
@font-face {font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-stretch: 100%; font-display: swap; src: url(/fonts/bricolage-grotesque-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face {font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
:root {
  --brand: #EC852F;
  --brand-strong: #B3571A;   /* buttons: white text passes contrast */
  --brand-ink: #9A4A0E;
  --brand-soft: #FDF0E4;
  --ink: #221E1B;
  --ink-2: #4B443E;
  --muted: #7A716A;
  --line: #E9E2DA;
  --panel: #FAF6F1;
  --bg: #FFFFFF;
  --good: #2F7A45;
  --good-soft: #E3F2E6;
  --bad: #B3372B;
  --bad-soft: #F9E3E0;
  --radius: 14px;
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; } /* height: auto, so a photo's width and height attributes give its shape, not its height */
a { color: var(--brand-ink); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 44px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.lede { color: var(--ink-2); font-size: 1.1rem; max-width: 60ch; margin-top: 10px; }
.page-title { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 18px; }

/* bars and header */
.preview-bar { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }
.preview-bar.live { background: var(--bad); font-weight: 700; }
.topbar { background: var(--brand); color: var(--ink); text-align: center; font-weight: 600; font-size: 14px; padding: 8px 12px; }
.topbar a { color: inherit; text-decoration: none; display: block; margin: -8px -12px; padding: 11px 12px; } /* the whole bar is the link */
.topbar a:hover { text-decoration: underline; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; flex: none; }
.main-nav { display: flex; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 15px; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.main-nav a:hover { background: var(--panel); }
.main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); }
.main-nav a.has-dot::after { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-left: 6px; vertical-align: 2px; }
.i { flex: none; }
.account-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; color: var(--ink); padding: 8px 10px; border-radius: 999px; flex: none; }
.account-link:hover { background: var(--panel); }
.account-link[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); }
.account-link span { display: none; }
@media (min-width: 1180px) { .account-link span { display: inline; } }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; color: var(--ink); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; flex: none; }
.cart-link .i { width: 18px; height: 18px; }
.cart-count { background: var(--brand-strong); color: #fff; border-radius: 999px; min-width: 22px; height: 22px; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }

/* The Menu button and its panel of every page: phones and tablets (public/js/menu.js) */
.menu-btn { display: none; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: 700 15px var(--f-body);
  padding: 8px 12px; border-radius: 999px; cursor: pointer; flex: none; }
.menu-btn .ic-open, .menu-btn[aria-expanded="true"] .ic-close { display: inline-flex; }
.menu-btn .ic-close, .menu-btn[aria-expanded="true"] .ic-open { display: none; }
.menu-btn[aria-expanded="true"] { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-ink); }
/* The page below the menu darkens (a shadow pushed down, so the header above stays clear); a tap there closes it */
.site-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 100vmax 0 100vmax rgb(34 30 27 / .38); }
.site-menu[hidden] { display: none; }
body.menu-open .rw-fab, body.menu-open .rw-pop, body.menu-open .ch-fab { display: none; }
.sm-grid { display: grid; gap: 4px 28px; padding-block: 6px 18px; }
.sm-grid h2 { margin: 14px 0 2px; font: 700 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sm-grid a { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.sm-grid a:last-child { border-bottom: 0; }
.sm-grid a .i { color: var(--brand-strong); flex: none; }
.sm-grid a[aria-current="page"] { color: var(--brand-ink); }
.sm-now { margin-left: auto; font: 700 12px var(--f-body); color: var(--brand-ink); background: var(--brand-soft); border-radius: 999px; padding: 3px 10px; }
@media (min-width: 640px) { .sm-grid { grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 1020px) {
  .header-row { flex-wrap: wrap; gap: 6px 10px; }
  .main-nav { order: 3; margin-inline: -8px; width: calc(100% + 16px); }
  .account-link { margin-left: auto; }
  .account-link span { display: inline; }
  .menu-btn { display: inline-flex; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 760px) { .brand span { font-size: 1rem; } }
/* Phones: the row under the header keeps the shop's pages, spread out so all of them show; the rest are in the Menu */
@media (max-width: 680px) {
  .main-nav { justify-content: space-between; }
  .main-nav .nav-more { display: none; }
  .main-nav a { font-size: 14px; padding: 7px 8px; }
}
/* Phones: Account, Cart and Menu as an icon over a word, like an app */
@media (max-width: 600px) {
  .header-row { gap: 6px 2px; }
  .account-link, .cart-link, .menu-btn { position: relative; flex-direction: column; gap: 1px; padding: 5px 4px; min-width: 44px; border: 0; border-radius: 12px;
    background: none; font: 700 11px var(--f-body); }
  .account-link .i, .cart-link .i, .menu-btn .i { width: 22px; height: 22px; }
  .cart-count { position: absolute; top: 0; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; }
}
@media (max-width: 520px) { .topbar-more { display: none; } }
@media (max-width: 400px) {
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 34px; height: auto; }
  .site-header .brand span { font-size: .9rem; }
}
@media (max-width: 380px) { .site-header .header-row { padding-inline: 14px; } }
@media (max-width: 340px) { .site-header .brand span { display: none; } .main-nav a { font-size: 13px; padding: 6px 5px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--brand-strong); color: #fff; font: 700 16px/1 var(--f-body); padding: 14px 20px; border-radius: 12px; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .55; cursor: default; filter: none; }
.btn-outline { background: var(--bg); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-small { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; margin-top: 14px; }
.linkbtn { background: none; border: 0; color: var(--brand-ink); font: 600 14px var(--f-body); cursor: pointer; text-decoration: underline; padding: 4px; margin-left: 8px; }

/* hero */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-block: 48px; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); margin-top: 10px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.hero-promo { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 9px 14px 9px 12px; text-decoration: none; color: var(--ink); font-size: 15px; box-shadow: 0 1px 2px rgb(0 0 0 / .04); }
.hero-promo .i { color: var(--brand-strong); width: 18px; height: 18px; }
.hero-promo:hover { border-color: var(--brand); }
@media (max-width: 820px) { .hero-row { grid-template-columns: 1fr; padding-block: 28px; gap: 22px; } }

/* product grid */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; margin-bottom: 16px; }
.section-head h2 { font-size: 1.6rem; }
.section-head a { font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.shop-group + .shop-group { margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.card-img { position: relative; display: block; background: var(--panel); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { display: grid; place-items: center; height: 100%; font-weight: 700; color: var(--muted); }
.tag { position: absolute; top: 10px; left: 10px; background: #DDEBF7; color: #1F4F7A; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tag-warm { background: var(--brand-soft); color: var(--brand-ink); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: 1.1rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.meta { color: var(--muted); font-size: 14px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.price { font-weight: 700; font-size: 1.1rem; }
.price.big { font-size: 1.6rem; margin-top: 8px; }
.soldout { color: var(--bad); font-weight: 700; font-size: 14px; }
.low { color: var(--brand-ink); font-size: 13px; font-weight: 600; }
/* Phones: two pies a row, so four show on a screen instead of one */
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 12px 12px; }
  .card h3 { font-size: 1rem; }
  .card .meta { font-size: 13px; }
  .card .price { font-size: 1rem; }
  .card .tag { top: 8px; left: 8px; }
}
.how .steps3 { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps3 li { background: var(--panel); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; counter-increment: s; }
.steps3 li::before { content: counter(s); font: 800 1.4rem var(--f-display); color: var(--brand-ink); }
@media (max-width: 760px) { .how .steps3 { grid-template-columns: 1fr; } }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-img img { border-radius: 22px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin-top: 6px; }
.twin { margin-top: 10px; }
.buy { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { width: 44px; height: 46px; border: 0; background: var(--panel); font: 700 20px var(--f-body); cursor: pointer; color: var(--ink); }
.stepper input { width: 52px; height: 46px; border: 0; text-align: center; font: 700 17px var(--f-body); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.small button { width: 36px; height: 36px; font-size: 17px; }
.stepper.small span { min-width: 30px; text-align: center; font-weight: 700; }
.desc { margin-top: 22px; color: var(--ink-2); }
.desc p + p { margin-top: 10px; }
.pinfo { margin-top: 28px; }
.pinfo h2 { font-size: 1.15rem; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pinfo .desc { margin-top: 12px; }
.attrs { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; line-height: 1.5; }
.attrs th, .attrs td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.attrs th { width: 34%; font-weight: 600; color: var(--ink); }
.attrs td { color: var(--ink-2); }
.attrs tr:nth-child(odd) { background: var(--panel); }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 20px; } }

/* cart */
.cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.cart-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 14px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--line); }
.cart-row img { border-radius: 10px; object-fit: cover; width: 72px; height: 72px; }
.summary { background: var(--panel); border-radius: var(--radius); padding: 18px 20px; position: sticky; top: 90px; }
.summary h2 { font-size: 1.25rem; margin-bottom: 10px; }
.lines { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.line.discount { color: var(--good); }
.line.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.note, .nudge { font-size: 14px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; }
.note { background: var(--bg); color: var(--ink-2); }
.nudge { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.error { background: var(--bad-soft); color: var(--bad); padding: 10px 12px; border-radius: 10px; margin-block: 10px; font-weight: 600; }
.empty { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 820px) {
  .cart-grid { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 56px 1fr auto; }
  .cart-row img { width: 56px; height: 56px; }
  .cart-row .linkbtn { grid-column: 2; justify-self: start; margin: 0; }
  .summary { position: static; }
}

/* checkout */
.stepbar { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: st; }
.stepbar li { counter-increment: st; font-size: 14px; font-weight: 600; color: var(--muted); border-top: 4px solid var(--line); padding-top: 8px; }
.stepbar li::before { content: counter(st) ". "; }
.stepbar li.done { color: var(--ink-2); border-color: var(--brand); }
.stepbar li.current { color: var(--ink); border-color: var(--brand-strong); }
@media (max-width: 620px) { .stepbar li { font-size: 0; } .stepbar li::before { font-size: 13px; } .stepbar li.current { font-size: 13px; } }
.checkout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout-main h2 { font-size: 1.5rem; margin-bottom: 14px; }
.checkout-main h3 { font-size: 1.1rem; margin: 22px 0 10px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { order: -1; position: static; } }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { text-align: left; border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius); padding: 18px; cursor: pointer; display: grid; gap: 6px; font: inherit; color: inherit; }
.choice b { font: 700 1.2rem var(--f-display); }
.choice span { color: var(--ink-2); font-size: 15px; }
.choice.on { border-color: var(--brand-strong); box-shadow: inset 0 0 0 1.5px var(--brand-strong); background: var(--brand-soft); }
@media (max-width: 560px) { .choices { grid-template-columns: 1fr; } }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; margin-top: 14px; }
.month-title { font-weight: 700; margin-bottom: 8px; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dow span { font-size: 12px; color: var(--muted); text-align: center; }
.day { aspect-ratio: 1; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; font: 600 15px var(--f-body); cursor: pointer; color: var(--ink); }
.day:hover:not(:disabled) { border-color: var(--brand-strong); }
.day.on { background: var(--brand-strong); color: #fff; border-color: var(--brand-strong); }
.day.full { background: var(--bad-soft); color: var(--bad); text-decoration: line-through; cursor: not-allowed; }
.day.closed, .day.too-soon { background: var(--panel); color: #B9B0A8; cursor: not-allowed; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--ink-2); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.k { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); display: inline-block; }
.k.full { background: var(--bad-soft); } .k.closed { background: var(--panel); }
/* Full only for the cart's baked pies, frozen still available (owner, 4 Oct 2026): tappable, to say so */
.day.full.oven { background: #E8F1FA; color: #1F5C99; border: 1px dashed #8FB3DB; text-decoration: none; cursor: pointer; }
.day.full.oven:hover, .day.full.oven.peek { border-style: solid; border-color: #1F5C99; }
.k.oven { background: #E8F1FA; border: 1px dashed #8FB3DB; }
.day-note.oven-note { background: #E8F1FA; border-radius: 10px; padding: 10px 12px; }
.oven-note [data-to-frozen] { display: block; margin-top: 10px; }
/* Few baked pies left that day (owner, 4 Oct 2026): a blue line along the bottom */
.day.low, .k.low { box-shadow: inset 0 -3px 0 #8FB3DB; }
.day.on.low { box-shadow: inset 0 -3px 0 #fff; }
/* Coming days short of baked pies, on the shop, category, pie and cart pages */
.oven-notice { background: #E8F1FA; border-radius: 12px; padding: 12px 14px; margin: 0 0 18px; font-size: 15px; line-height: 1.45; }
/* Busy delivery days: a dot for the festive surcharge, a small square for "at least N family pies" */
.day { position: relative; }
.day.sur::after, .day.minp::before { content: ""; position: absolute; width: 6px; height: 6px; }
.day.sur::after { bottom: 5px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #C77A1E; }
.day.minp::before { top: 5px; right: 5px; border-radius: 2px; background: #6B5E54; }
.day.on.sur::after, .day.on.minp::before { background: #fff; }
.k.sur { border: 0; width: 8px; height: 8px; border-radius: 50%; background: #C77A1E; }
.k.minp { border: 0; width: 8px; height: 8px; border-radius: 2px; background: #6B5E54; }
.day-note { margin: 12px 0 0; font-size: 14px; }
.day-note .linkbtn { margin: 0; padding: 0; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { border: 1.5px solid var(--line); background: var(--bg); padding: 10px 14px; border-radius: 10px; font: 600 15px var(--f-body); cursor: pointer; color: var(--ink); }
.slot.on { border-color: var(--brand-strong); background: var(--brand-soft); color: var(--brand-ink); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { font: 400 16px var(--f-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; color: var(--ink); background: var(--bg); }
.form textarea { min-height: 84px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--brand-strong); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
/* Signed in at checkout: the account's email, fixed, so the order goes in My account (public/js/checkout.js) */
.fixed-field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.fixed-field b { font: 400 16px var(--f-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--ink); overflow-wrap: anywhere; }
.signed-note { margin: -6px 0 0; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.review { margin: 0; display: grid; border-top: 1px solid var(--line); }
.review div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.review dt { font-weight: 700; }
.review dd { margin: 0; color: var(--ink-2); }

/* pay + received */
.when { background: var(--panel); border-radius: var(--radius); padding: 14px 16px; margin-block: 16px; }
.add-cal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -6px 0 16px; }
.add-cal span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.add-cal .i { color: var(--brand-strong); width: 18px; height: 18px; }
.gift { font-style: italic; margin-bottom: 14px; }
.testpay { margin-top: 24px; border: 2px dashed var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.testpay form { display: flex; flex-wrap: wrap; gap: 10px; }

/* footer + toast */
.site-footer { background: var(--ink); color: #EDE7E1; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 0.9fr 1.5fr; gap: 28px; padding-block: 44px 30px; }
.site-footer h2 { font: 700 13px/1.2 var(--f-body); text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 12px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer a { color: #EDE7E1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.f-brand .brand { color: #fff; }
.f-brand p, .f-contact p { color: #BDB4AC; font-size: 15px; margin-top: 10px; }
.f-brand p { max-width: 36ch; }
.f-contact p:first-of-type { margin-top: 0; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #4B443E; display: grid; place-items: center; }
.social a:hover { background: #2E2925; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #3A342F; padding-block: 16px 24px; font-size: 14px; color: #9E948B; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .f-brand, .f-contact { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; z-index: 50; box-shadow: 0 10px 30px rgb(0 0 0 / .25); max-width: calc(100% - 32px); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.paybox { margin-top: 20px; display: grid; gap: 14px; }
.deadline { background: var(--brand-soft); color: var(--brand-ink); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.deadline b { font-variant-numeric: tabular-nums; }
.deadline p { margin: 0; }
/* after the shop changed an order: what is left to pay, or what comes back */
.balance-note { background: var(--brand-soft); color: var(--brand-ink); border-radius: 10px; padding: 12px 14px; margin: 0 0 14px; }
.balance-note p { margin: 0 0 8px; }
.balance-note p:last-child { margin-bottom: 0; }
#balance-qr { width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 12px; }
.deadline .hold-note { margin-top: 4px; font-weight: 400; }
.paytabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paytabs button { border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 14px; font: 700 16px var(--f-body); color: var(--ink); cursor: pointer; }
.paytabs button[aria-selected="true"] { border-color: var(--brand-strong); background: var(--brand-soft); color: var(--brand-ink); box-shadow: inset 0 0 0 1.5px var(--brand-strong); }
.paypanel { display: grid; gap: 10px; justify-items: start; }
.paystep { display: grid; gap: 14px; }
.paystep p { margin: 0; }
#paynow-qr { border: 1px solid var(--line); border-radius: 12px; }
#held-note { font-weight: 400; } /* the card is approved: a few sentences, under "Almost done" */
/* phones: save the QR to pay it from the banking app (pay.js) */
.paysave { display: grid; gap: 10px; justify-items: start; border-top: 1px solid var(--line); padding-top: 12px; }
.paysave p { margin: 0; }

/* gift a pie: /gift/, the gift link box after paying, and the page the recipient opens */
.gift-hero .hero-row { align-items: center; }
.gift-steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; counter-reset: g; }
.gift-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; counter-increment: g; }
.gift-steps li::before { content: counter(g); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-strong); color: #fff; display: grid; place-items: center; font: 800 1rem var(--f-display); }
.gift-steps b { font-size: 1.05rem; }
.gift-steps span { color: var(--ink-2); }
.gift-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.gift-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: var(--bg); box-shadow: 0 1px 3px rgb(0 0 0 / .04); }
.gift-card h2 { font-size: 1.25rem; margin-top: 10px; display: flex; align-items: center; gap: 10px; }
.gift-card h2 .n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-size: .95rem; flex: none; }
.gift-card small { font-weight: 400; }
.gift-card .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gift-card .chipbtn { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--f-body); color: var(--ink-2); cursor: pointer; }
.gift-card .chipbtn[aria-pressed="true"] { border-color: var(--brand-strong); background: var(--brand-soft); color: var(--brand-ink); }
.gift-pies { list-style: none; margin: 0; padding: 0; display: grid; }
.gift-pies li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.gift-pies li:first-child { border-top: 0; }
.gift-pies li.on .nm b { color: var(--brand-ink); }
.gift-pies img, .gift-pies .noimg { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--panel); }
.gift-pies .nm { display: grid; }
.gift-pies .nm small { color: var(--muted); font-size: 14px; }
.gift-total { background: var(--panel); border-radius: 12px; padding: 12px 14px; display: grid; gap: 4px; }
.gift-total span { color: var(--ink-2); font-size: 14px; }
.gift-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.gift-facts span + span::before { content: '·'; margin-right: 14px; }
.gift-side { display: grid; gap: 18px; }
.gift-team { background: var(--ink); color: #fff; border-radius: 18px; padding: 24px; display: grid; gap: 12px; justify-items: start; }
.gift-team .eyebrow { color: var(--brand); }
.gift-team h2 { font-size: 1.4rem; }
.gift-team p { color: #E9E2DA; }
.gift-team .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.gift-self { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 8px; }
.gift-self h3 { font-size: 1.1rem; }
.gift-send { background: var(--brand-soft); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.gift-send h2 { font-size: 1.25rem; margin-bottom: 6px; }
.gift-link { background: var(--bg); border: 1px dashed var(--brand); border-radius: 12px; padding: 12px 14px; word-break: break-all; font-weight: 600; margin: 12px 0; }
.gift-share { display: flex; flex-wrap: wrap; gap: 10px; }
.gift-msg { margin: 18px 0; font-size: 1.25rem; font-style: italic; background: var(--brand-soft); border-radius: 16px; padding: 18px 20px; color: var(--brand-ink); display: grid; gap: 8px; }
.gift-msg cite { font-style: normal; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.gift-msg cite::before { content: '— '; }
.gift-box { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.gift-box h2 { font-size: 1.2rem; }
.gift-items { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; font-size: 1.05rem; }
.gift-when { font-size: 1.05rem; }
@media (max-width: 820px) { .gift-main { grid-template-columns: 1fr; } }

/* ---------- content pages: FAQs, reviews, promotions, blog, contact, privacy, my account ---------- */
section[id], details[id] { scroll-margin-top: 110px; }
a[href^="tel:"] { white-space: nowrap; }
.section-tight { padding-block: 16px; }
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-block: 40px 34px; }
.page-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); margin-top: 8px; max-width: 22ch; }
.page-head .lede { margin-top: 12px; }
.page-head .hero-cta { margin-top: 20px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; margin-bottom: 10px; color: var(--muted); }
.crumbs a { color: var(--ink-2); font-weight: 600; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.topic-nav a, .chipbtn { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--f-body); color: var(--ink-2); text-decoration: none; cursor: pointer; }
.topic-nav a:hover, .chipbtn:hover { border-color: var(--brand-strong); color: var(--brand-ink); }
.chipbtn[aria-pressed="true"] { border-color: var(--brand-strong); background: var(--brand-soft); color: var(--brand-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

/* page with a sticky column beside it */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.side-stack { display: grid; gap: 16px; position: sticky; top: 96px; }
.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: grid; gap: 10px; background: var(--bg); }
.side-card.warm { background: var(--brand-soft); border-color: transparent; }
.side-card h2 { font-size: 1.2rem; }
.side-card .btn-block { margin-top: 0; }
@media (max-width: 900px) { .with-side { grid-template-columns: 1fr; } .side-stack { position: static; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { width: 18px; height: 18px; color: var(--good); margin-top: 3px; }
.ticks.big li { font-size: 1.08rem; }
.icon-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.icon-link .i { color: var(--brand-strong); }

/* the "order now" band that ends content pages */
.order-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 34px 36px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.order-band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgb(236 133 47 / .38), transparent 70%); z-index: -1; }
.order-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.order-band p { color: #E9E2DA; margin-top: 8px; max-width: 52ch; }
.order-band .ticks { margin-top: 16px; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 22px; }
.order-band .ticks .i { color: var(--brand); }
.order-band-cta { display: grid; gap: 10px; }
.btn-light { background: var(--brand); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .6); }
.btn .i { width: 18px; height: 18px; }
@media (max-width: 760px) { .order-band { grid-template-columns: 1fr; padding: 26px 22px; } .order-band .ticks { grid-template-columns: 1fr; } }

/* FAQs */
.faq-group + .faq-group { margin-top: 34px; }
.faq-group h2 { font-size: 1.45rem; margin-bottom: 12px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); margin-bottom: 10px; }
.faq[open] { border-color: #DCCFC2; box-shadow: 0 2px 10px rgb(34 30 27 / .05); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 18px; cursor: pointer; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--brand-strong); transition: transform .2s; }
.faq[open] summary .i { transform: rotate(180deg); }
.faq summary:hover { color: var(--brand-ink); }
.faq-a { padding: 0 18px 18px; color: var(--ink-2); display: grid; gap: 10px; }
.faq-steps h3 { font: 700 15px var(--f-body); color: var(--ink); margin-bottom: 6px; }
.faq-steps ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.quick-faqs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
@media (max-width: 900px) { .quick-faqs { grid-template-columns: 1fr; } }

/* reviews */
.rv-wall { columns: 3 290px; column-gap: 18px; }
.rv { break-inside: avoid; margin: 0 0 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 16px; }
.rv blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; color: var(--ink); }
.rv figcaption { display: flex; gap: 12px; align-items: center; }
.rv-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font: 800 1.05rem var(--f-display); flex: none; }
.rv-who { display: grid; line-height: 1.35; }
.rv-who a { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; margin-top: 2px; }
.rv-who a .i { width: 14px; height: 14px; }
.rv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .rv-row { grid-template-columns: 1fr; } }
.press { margin: 0; background: var(--ink); color: #fff; border-radius: 22px; padding: 30px 34px; display: grid; gap: 12px; }
.press .eyebrow { color: var(--brand); }
.press blockquote { margin: 0; font: 700 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.4 var(--f-display); letter-spacing: -.01em; max-width: 62ch; }
.press figcaption { color: #BDB4AC; font-weight: 600; }

/* Our story (/our-story/): the years down the left, joined by a line with a dot at each step */
.story { list-style: none; margin: 0; padding: 0; max-width: 920px; }
.story-step { position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 44px; padding-bottom: 40px; }
.story-step:last-child { padding-bottom: 0; }
.story-step::before { content: ""; position: absolute; left: 129px; top: 14px; bottom: -14px; width: 2px; background: var(--line); }
.story-step:last-child::before { display: none; }
.story-step::after { content: ""; position: absolute; left: 122px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.story-when { font: 800 1.35rem/1.3 var(--f-display); color: var(--brand-strong); text-align: right; letter-spacing: -.01em; }
.story-body { display: grid; gap: 10px; align-content: start; }
.story-body h2 { font-size: 1.45rem; }
.story-body p { color: var(--ink-2); font-size: 1.08rem; max-width: 62ch; }
.story-quote { margin: 4px 0 0; padding: 18px 22px; background: var(--panel); border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; display: grid; gap: 8px; max-width: 62ch; }
.story-body .story-quote p { font: 700 1.15rem/1.45 var(--f-display); color: var(--ink); }
.story-quote footer { color: var(--muted); font-weight: 600; font-size: 14px; }
.story-photo { margin: 6px 0 0; max-width: 560px; }
.story-photo img, .story-album img { width: 100%; border-radius: 16px; }
.story-photo figcaption, .story-album figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.story-album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.story-album figure { margin: 0; }
.story-album img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .story-album { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .story-step { grid-template-columns: 1fr; padding-left: 32px; padding-bottom: 32px; }
  .story-step::before { left: 7px; top: 12px; bottom: -12px; }
  .story-step::after { left: 0; top: 4px; }
  .story-when { text-align: left; font-size: 1.15rem; margin-bottom: 4px; }
}

/* promotions */
.promo-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; background: linear-gradient(135deg, #8E430C 0%, #B3571A 45%, #E07B28 100%); color: #fff; border-radius: 26px; padding: 38px; }
.promo-tag { display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / .16); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #8AF5A6; box-shadow: 0 0 0 4px rgb(138 245 166 / .25); }
.promo-hero h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin-top: 14px; max-width: 16ch; }
.promo-sub { color: #FFF1E4; font-size: 1.1rem; margin-top: 10px; max-width: 52ch; }
.promo-facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.promo-facts li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.promo-hero .hero-cta { margin-top: 22px; }
.promo-hero .btn { background: #fff; color: var(--ink); }
.promo-hero .btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .75); }
.promo-progress { margin-top: 16px; background: rgb(255 255 255 / .14); border-radius: 12px; padding: 12px 14px; font-weight: 600; display: grid; gap: 8px; max-width: 460px; }
.promo-progress .bar { height: 8px; border-radius: 999px; background: rgb(255 255 255 / .25); overflow: hidden; }
.promo-progress .bar i { display: block; height: 100%; background: #fff; border-radius: inherit; transition: width .3s; }
.promo-progress a { color: #fff; }
.promo-example { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px 22px; text-align: center; display: grid; gap: 6px; box-shadow: 0 18px 40px rgb(0 0 0 / .2); transform: rotate(1.5deg); }
.ex-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ex-what { font: 700 1.2rem var(--f-display); }
.ex-price { display: flex; justify-content: center; align-items: baseline; gap: 12px; margin-top: 4px; }
.ex-price s { color: var(--muted); font-size: 1.1rem; }
.ex-price b { font: 800 2.5rem/1 var(--f-display); color: var(--brand-strong); }
.ex-save { justify-self: center; background: var(--good-soft); color: var(--good); font-weight: 700; border-radius: 999px; padding: 6px 12px; margin-top: 6px; }
@media (max-width: 820px) { .promo-hero { grid-template-columns: 1fr; padding: 26px 22px; } .promo-example { transform: none; } }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.offer { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.offer-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; }
.offer h3 { font-size: 1.2rem; }
.offer p { color: var(--ink-2); }
.offer a, .more { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
.offer a .i, .more .i { width: 16px; height: 16px; }
@media (max-width: 820px) { .offer-grid { grid-template-columns: 1fr; } }
.coming { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.coming li { display: grid; grid-template-columns: 110px 1fr; gap: 2px 16px; padding: 16px 18px; border: 1.5px dashed #DCCFC2; border-radius: 14px; }
.coming-date { grid-row: span 2; font: 800 1rem var(--f-display); color: var(--brand-ink); }
@media (max-width: 560px) { .coming li { grid-template-columns: 1fr; } .coming-date { grid-row: auto; } }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--panel); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-img img { transform: scale(1.03); }
.post-body { padding: 18px 20px 22px; display: grid; gap: 8px; align-content: start; }
.post-body h2 { font-size: 1.35rem; }
.post-body h3 { font-size: 1.15rem; }
.post-body h2 a, .post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h2 a:hover, .post-body h3 a:hover { color: var(--brand-ink); }
.post-body p { color: var(--ink-2); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .post-grid { grid-template-columns: 1fr; }
}
.post-head { padding-block: 40px 8px; }
.post-head h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); margin: 4px 0 12px; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin: 18px 0 6px; }
.prose { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); padding-block: 12px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; color: var(--ink); }
.prose h3 { font-size: 1.25rem; color: var(--ink); }
.prose * + h2, .prose * + h3 { margin-top: 1.6em; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose figure { margin-inline: 0; }
.prose img { width: 100%; height: auto; border-radius: 16px; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.post-cta { margin: 28px 0 8px; background: var(--brand-soft); border-radius: 20px; padding: 24px; display: flex; gap: 18px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta h2 { font-size: 1.4rem; }
.post-cta p { color: var(--ink-2); margin-top: 4px; max-width: 46ch; }
.post-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; align-content: start; }
.c-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; background: var(--bg); }
.c-card h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.c-card h2 .i { color: var(--brand-strong); }
.c-main { background: var(--panel); border-color: transparent; }
.c-main address { font-style: normal; font-size: 1.15rem; font-weight: 600; line-height: 1.5; color: var(--ink); }
.c-hours { display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--good); }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.c-pair { display: grid; gap: 16px; }
.big-link { font: 700 1.1rem var(--f-display); text-decoration: none; color: var(--ink); overflow-wrap: anywhere; }
.big-link:hover { color: var(--brand-ink); }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.social-links a:hover { border-color: var(--brand-strong); }
.map-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: var(--panel); }
.map-card iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-card, .map-card iframe { min-height: 340px; } }

/* privacy policy */
.doc-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; align-items: start; }
.doc-toc { position: sticky; top: 96px; border-left: 2px solid var(--line); padding-left: 16px; }
.doc-toc ol { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; font-size: 15px; }
.doc-toc a { color: var(--ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--brand-ink); }
.doc { max-width: 72ch; font-size: 1.03rem; padding-block: 0; }
.doc section + section { margin-top: 30px; }
.doc h2 { font-size: 1.35rem; margin-bottom: 10px; }
.doc p + p { margin-top: .8em; }
.doc ul { display: grid; gap: 8px; margin: 0; }
.doc-n { color: var(--brand-ink); }
@media (max-width: 900px) { .doc-layout { grid-template-columns: 1fr; gap: 24px; } .doc-toc { position: static; } }

/* my account */
.account-grid { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 44px; align-items: start; }
.acc-card { border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: grid; gap: 14px; box-shadow: 0 2px 10px rgb(34 30 27 / .05); }
.acc-card h2, .acc-why h2 { font-size: 1.4rem; }
.acc-card input[name="code"] { font: 700 1.6rem var(--f-display); letter-spacing: .3em; text-align: center; }
.acc-card .linkbtn { justify-self: center; margin: 0; }
.acc-msg:empty { display: none; }
.acc-msg { background: var(--panel); border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.acc-msg.error { background: var(--bad-soft); }
.acc-why { display: grid; gap: 16px; justify-items: start; padding-top: 6px; }
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; gap: 28px; } }
.acc-section + .acc-section { margin-top: 32px; }
.acc-section h2 { font-size: 1.35rem; margin-bottom: 12px; }
/* The rest of the old website's orders, behind "Show N more" */
.acc-more > summary { cursor: pointer; font-weight: 700; color: var(--brand-strong); padding: 6px 0 14px; }
.acc-more[open] > summary { padding-bottom: 12px; }
.acc-order { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 12px; margin-bottom: 12px; background: var(--bg); }
.acc-order header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.acc-when { display: flex; gap: 6px 8px; align-items: center; flex-wrap: wrap; }
.acc-when .i { color: var(--brand-strong); width: 18px; height: 18px; }
.acc-items { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.acc-items li { background: var(--panel); border-radius: 999px; padding: 4px 10px; font-size: 14px; font-weight: 600; }
.acc-order footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.acc-total { font-weight: 800; font-variant-numeric: tabular-nums; }
.acc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill.ok { background: var(--good-soft); color: var(--good); }
.pill.warn { background: var(--brand-soft); color: var(--brand-ink); }
.pill.done { background: var(--panel); color: var(--ink-2); }
.pill.off { background: var(--bad-soft); color: var(--bad); }
.acc-empty { border: 1.5px dashed var(--line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; justify-items: start; }
.acc-details { margin: 0; display: grid; gap: 10px; }
.acc-details dt { font-size: 13px; color: var(--muted); font-weight: 600; }
.acc-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- rewards and referrals: My account cards, the thank-you page, /rewards/, a friend's landing page ---------- */
.note.good { background: var(--good-soft); color: var(--good); font-weight: 600; }
.note.bad { background: var(--bad-soft); color: var(--bad); }
.rw-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; margin-bottom: 32px; align-items: start; }
.rw-card { border-radius: 20px; padding: 22px; background: linear-gradient(140deg, #8E430C 0%, #B3571A 55%, #E07B28 100%); color: #fff; display: grid; gap: 14px; }
.rw-card .eyebrow { color: #FFE3C7; }
.rw-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.rw-balance { font: 800 clamp(2.2rem, 1.6rem + 2vw, 2.8rem)/1.05 var(--f-display); margin-top: 4px; font-variant-numeric: tabular-nums; }
.rw-sub { color: #FFF1E4; font-size: 15px; margin-top: 6px; max-width: 34ch; }
.rw-card .btn { background: #fff; color: var(--ink); }
.rw-card .btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / .75); }
.rw-lots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rw-lots li { display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; background: rgb(255 255 255 / .13); border-radius: 10px; padding: 8px 12px; font-size: 14px; }
.rw-lots .muted { color: #FFE3C7; }
.rw-coming { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #FFF1E4; }
.rw-coming .i { width: 18px; height: 18px; margin-top: 2px; }
.ref-card, .share-box { border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 10px; background: var(--bg); }
.ref-card h2, .share-box h2 { font-size: 1.3rem; }
.share-box { background: var(--panel); border-color: transparent; margin-block: 18px; }
.share-earn { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.ref-link { background: var(--bg); border: 1px dashed var(--brand); border-radius: 12px; padding: 10px 12px; font-weight: 600; overflow-wrap: anywhere; font-size: 15px; }
.share-box .ref-link { background: var(--bg); }
.ref-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-code { font: 800 1rem var(--f-display); letter-spacing: .06em; color: var(--ink); }
.ref-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.ref-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ref-list .pill { white-space: normal; text-align: right; }
.rw-steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 760px) { .rw-steps { grid-template-columns: 1fr; } }
.rw-refer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--brand-soft); border-radius: 24px; padding: 32px; }
.rw-refer h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 6px 0 10px; }
.rw-refer p { color: var(--ink-2); margin-bottom: 18px; max-width: 52ch; }
@media (max-width: 820px) { .rw-refer { grid-template-columns: 1fr; padding: 24px 20px; } }
.rw-print { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); max-width: 75ch; }
.ref-hero .hero-row { grid-template-columns: 1.3fr 1fr; }
.ref-note { display: flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--good); font-weight: 600; }
.ref-note .i { width: 18px; height: 18px; }
.ref-points { list-style: none; margin: 0; padding: 24px; display: grid; gap: 12px; background: var(--bg); border-radius: 20px; border: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; }
.ref-points li { display: flex; gap: 10px; align-items: center; }
.ref-points .i { color: var(--good); }
@media (max-width: 820px) { .ref-hero .hero-row { grid-template-columns: 1fr; } }
.stop-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stop-miss { margin: 18px 0 24px; padding-left: 1.2em; color: var(--ink-2); display: grid; gap: 6px; }
.stop-page .stop-form + .muted { margin-top: 14px; }

/* ---------- adding to the cart: the pie flies into the cart, and a panel offers the cart and checkout (public/js/cart.js) ---------- */
.flyer { position: fixed; z-index: 60; border-radius: 50%; background: var(--brand) center / cover no-repeat; border: 3px solid #fff;
  box-shadow: 0 10px 28px rgb(34 30 27 / .28); pointer-events: none; will-change: transform, opacity; }
.btn.added { background: var(--good); color: #fff; border-color: var(--good); }
.added-pop { position: fixed; z-index: 55; top: var(--pop-top, 84px); right: var(--pop-right, 16px); width: min(340px, calc(100vw - 32px));
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgb(34 30 27 / .2); padding: 14px 14px 14px;
  display: grid; gap: 10px; opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top right; transition: opacity .22s ease, transform .22s ease; }
.added-pop.show { opacity: 1; transform: none; }
.added-pop::before { content: ""; position: absolute; top: -7px; right: 26px; width: 12px; height: 12px; background: var(--bg); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.ap-head { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--good); padding-right: 28px; }
.ap-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.ap-item img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.ap-item b { display: block; line-height: 1.3; }
.ap-item small { display: block; color: var(--muted); font-size: 13px; }
.ap-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-actions .btn { justify-content: center; }
.ap-close { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 6px 9px; border-radius: 8px; }
.ap-close:hover { background: var(--panel); color: var(--ink); }
@media (max-width: 600px) {
  .added-pop { top: auto; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; width: auto; transform: translateY(14px); transform-origin: bottom center; }
  .added-pop::before { display: none; }
}

/* ---------- checkout: the saved cart's note; the page that puts a saved cart back (src/views/restore.tsx) ---------- */
.cart-note { margin: -6px 0 2px; }
.cart-note .linkbtn { margin-left: 2px; padding: 0; font-size: 14px; }
.restore-page { text-align: center; }
.restore-page .btn { margin-top: 8px; }

/* ---------- a code's own page (/promo/<CODE>/, src/views/promo-code.tsx) ---------- */
.promo-code { display: grid; gap: 18px; }
.code-box { display: grid; gap: 4px; justify-items: start; background: var(--brand-soft); border: 2px dashed var(--brand-strong); border-radius: 16px; padding: 16px 20px; max-width: 460px; }
.code-box span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-ink); }
.code-box b { font: 800 2rem var(--f-display); letter-spacing: .08em; }
.code-box small { color: var(--muted); }
.promo-code .ticks li::before { content: "✓"; color: var(--good); font-weight: 700; }

/* ---------- sale prices: the regular price crossed out before the sale price ---------- */
.price .was { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 6px; }
.tag-sale { left: auto; right: 10px; background: #C0392B; color: #fff; }
.sale-note { display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 700; color: #fff; background: #C0392B; padding: 3px 9px; border-radius: 999px; vertical-align: middle; }

/* ---------- the floating rewards button and its panel (public/js/rewards-button.js) ---------- */
.rw-fab { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 11px 16px 11px 13px; background: var(--brand-strong); color: #fff; font: 700 15px var(--f-body); cursor: pointer;
  box-shadow: 0 10px 24px rgb(34 30 27 / .22); }
.rw-fab svg { width: 20px; height: 20px; }
.rw-fab:hover { filter: brightness(1.06); }
.rw-pop { position: fixed; left: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 51; width: min(340px, calc(100vw - 32px)); background: var(--bg);
  border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: 0 18px 44px rgb(34 30 27 / .22);
  opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.rw-pop.show { opacity: 1; transform: none; }
.rw-pop .rw-pop-body { border: 0; padding: 0; background: none; border-radius: 0; gap: 8px; }
.rw-pop-title { font: 800 1.15rem var(--f-display); margin: 0; padding-right: 26px; }
.rw-pop-text, .rw-pop-sub { margin: 0; font-size: 14px; }
.rw-pop-sub { color: var(--muted); }
.rw-pop-list { margin: 0; padding-left: 18px; font-size: 14px; display: grid; gap: 6px; }
.rw-pop-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.rw-pop-close { position: absolute; top: 8px; right: 8px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 9px; border-radius: 8px; }
@media (max-width: 600px) {
  .rw-fab { padding: 12px; }
  .rw-fab span { display: none; }
}
@media print { .rw-fab, .rw-pop { display: none !important; } }

/* ---------- the chat helper, "Ask us" (public/js/chat.js): a button at the bottom right, opposite the rewards button ---------- */
.ch-fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px 11px 13px; background: var(--bg); color: var(--ink); font: 700 15px var(--f-body); cursor: pointer;
  box-shadow: 0 10px 24px rgb(34 30 27 / .18); }
.ch-fab svg { width: 20px; height: 20px; color: var(--brand-strong); }
.ch-fab:hover { background: var(--panel); }
.ch-box { position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 52; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100dvh - 120px));
  display: grid; grid-template-rows: auto 1fr auto auto; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px rgb(34 30 27 / .22);
  overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.ch-box.show { opacity: 1; transform: none; }
.ch-box[hidden] { display: none; }
.ch-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 14px 10px 10px 16px; border-bottom: 1px solid var(--line); }
.ch-title { margin: 0; font: 800 1.05rem var(--f-display); }
.ch-sub { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.ch-close { border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 9px; border-radius: 8px; }
.ch-close:hover { background: var(--panel); color: var(--ink); }
.ch-list { overflow-y: auto; overscroll-behavior: contain; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ch-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.ch-msg p { margin: 0; }
.ch-msg p + p, .ch-msg p + ul, .ch-msg ul + p { margin-top: 6px; }
.ch-msg ul { margin: 0; padding-left: 18px; }
.ch-me { align-self: flex-end; background: var(--brand-strong); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.ch-them { align-self: flex-start; background: var(--panel); border-bottom-left-radius: 4px; }
.ch-them a { color: var(--brand-strong); font-weight: 600; }
.ch-failed { background: var(--bad-soft); }
.ch-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.ch-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: ch-dot 1s infinite ease-in-out; }
.ch-typing i:nth-child(2) { animation-delay: .15s; }
.ch-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ch-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ch-starters { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-starter { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 600 14px var(--f-body); cursor: pointer; }
.ch-starter:hover { border-color: var(--brand-strong); color: var(--brand-strong); }
.ch-pies { display: grid; gap: 6px; margin-top: 8px; }
.ch-pie { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; background: var(--bg); border-radius: 10px; padding: 6px 8px; }
.ch-pie img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.ch-pie a { color: var(--ink); font-weight: 400; text-decoration: none; }
.ch-pie b { display: block; font-size: 14px; line-height: 1.25; }
.ch-pie small { color: var(--muted); font-size: 13px; }
.ch-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 10px 12px 8px; border-top: 1px solid var(--line); }
.ch-form textarea { resize: none; font: 16px/1.4 var(--f-body); padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; min-height: 40px; max-height: 110px; }
.ch-form.busy button { opacity: .6; pointer-events: none; }
.ch-foot { margin: 0; padding: 0 14px 10px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) {
  .ch-fab { right: 12px; padding: 12px; }
  .ch-fab span { display: none; }
  .ch-box { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: min(76dvh, calc(100dvh - 72px)); }
  body.ch-open .ch-fab { display: none; }
}
@media print { .ch-fab, .ch-box { display: none !important; } }

/* The pie suggested under "Added to your cart" (public/js/cart.js) */
.ap-suggest { display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.ap-s-head { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ap-s-item { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.ap-s-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.ap-s-item b { display: block; line-height: 1.25; }
.ap-s-item small { display: block; color: var(--muted); font-size: 13px; line-height: 1.35; }
.ap-s-item b em { font-style: normal; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ap-s-item b s { font-weight: 400; }
.ap-s-nudge { margin: 0; padding: 6px 10px; border-radius: 8px; background: var(--good-soft); color: var(--good); font-size: 13px; font-weight: 600; }

/* ---------- reviews: stars on the Reviews page, and the form (src/views/review-form.tsx) ---------- */
.rv-stars { margin: 0 0 6px; color: #E0A526; letter-spacing: 2px; font-size: 17px; display: flex; align-items: center; gap: 8px; }
.rv-stars span { color: var(--line); margin-left: -8px; }
.rv-stars small { font: 600 12px var(--f-body); letter-spacing: 0; color: var(--good); background: var(--good-soft); border-radius: 999px; padding: 2px 8px; }
.review-form { display: grid; gap: 14px; }
.stars { border: 0; padding: 0; margin: 0; }
.stars legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.stars-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-row label { font-size: 38px; line-height: 1; color: var(--line); cursor: pointer; transition: color .12s; }
.stars-row input:checked ~ label, .stars-row label:hover, .stars-row label:hover ~ label { color: #E0A526; }
.stars-row input:focus-visible + label { outline: 2px solid var(--brand-strong); outline-offset: 2px; border-radius: 4px; }
.received-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- phones (owner, 5 Oct 2026: "optimize for mobile") ---------- */
/* The shop's pages: in the header on computers; on phones and tablets, in a row under the header that scrolls away
   with the page (src/views/layout.tsx), so the header that stays at the top is one row: about 60px, not 109px */
.nav-strip { display: none; }
@media (max-width: 1020px) {
  .header-row .main-nav { display: none; }
  .nav-strip { display: block; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav-strip .main-nav { padding-block: 4px; }
}
@media (max-width: 600px) {
  .section { padding-block: 28px; } /* less space above and below each part of a page: more of it on the screen */
  .header-row { padding-block: 6px; }
  .account-link, .cart-link, .menu-btn { font-size: 12px; }
  /* A pie's page: the rewards button would sit on the quantity's "−"; it's on every other page */
  body[data-page="product"] .rw-fab { display: none; }
}
/* Fingers, not a mouse: links and small buttons at least 40px tall (Google suggests 48 with the space around) */
@media (pointer: coarse) {
  .btn-small { min-height: 40px; }
  .section-head a, a.more { display: inline-block; padding-block: 8px; }
  .cart-row .linkbtn { min-height: 40px; padding-inline: 8px; }
  .site-footer nav { gap: 0; }
  .site-footer nav a { padding-block: 8px; }
  .rv-who a, .offer > a { display: inline-block; padding-block: 8px; }
  label.check { padding-block: 9px; }
  .topic-nav a, .chipbtn, .gift-card .chipbtn { padding-block: 10px; }
}
/* Checkout on phones: the order folded to one line with its total, above the steps (public/js/checkout.js) */
.sum-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; cursor: pointer; list-style: none; font-weight: 700; }
.sum-fold > summary::-webkit-details-marker { display: none; }
.sum-fold > summary span::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); transition: transform .15s; }
.sum-fold[open] > summary { margin-bottom: 12px; }
.sum-fold[open] > summary span::after { transform: translateY(1px) rotate(-135deg); }
