/* The Little Green Hound Pantry: customer app. "Crisp" look.
   Soft grey page, white cards, bold Raleway, the shop's green for actions, honey gold only for small badges.
   The shop's script lettering lives in the logo, not in headings. */
:root {
  --green: #3d573c; --green-deep: #2f4730; --green-ink: #1f2e20; --green-soft: #e9efe8; --green-tint: #f4f6f3;
  --gold: #e4bd7f; --gold-deep: #d6aa62; --gold-ink: #3b2c12; --gold-soft: #fbf1df;
  --ink: #16211a; --muted: #5f6b63; --faint: #8b958e; --line: #e4e8e3; --hair: #eef0ed;
  --bg: #f4f5f3; --card: #ffffff;
  --amber: #8a5a10; --amber-soft: #fbf1df; --red: #b0362a;
  --r: 22px; --pad: 20px;
  --shadow: 0 1px 2px rgba(22, 33, 26, .04), 0 4px 16px rgba(22, 33, 26, .06);
  --shadow-up: 0 8px 28px rgba(22, 33, 26, .14);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html, body { margin: 0; color: var(--ink); }
body {
  background: var(--bg);
  font-family: Raleway, system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.5;
  font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
  overscroll-behavior-y: none;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--green); -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.015em; }
#app { max-width: 1100px; margin: 0 auto; min-height: 100dvh; }
[hidden] { display: none !important; }

/* ---------- home header ---------- */
.mast { padding: env(safe-area-inset-top) 0 0; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--pad) 0; }
.logo { height: 66px; width: auto; display: block; }
.top-btns { display: flex; gap: 8px; }
.hero { padding: 0 var(--pad); }
.hero h2 { font-size: 34px; line-height: 1.1; margin-top: 22px; letter-spacing: -.025em; }
.hero p { margin: 10px 0 0; font-size: 16px; color: var(--muted); max-width: 32em; }
.hero-card { position: relative; margin-top: 18px; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px; background: linear-gradient(to top, rgba(14, 24, 16, .78), rgba(14, 24, 16, 0)); color: #fff; }
.hero-card .cap b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.hero-card .cap span { font-size: 14px; opacity: .9; }
.hero .row { margin-top: 16px; }
.hello { padding: 0 var(--pad); }
.hello .hi { font-size: 32px; font-weight: 800; letter-spacing: -.025em; line-height: 1.1; margin-top: 22px; }
.hello p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }
.dogrow { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.dogpill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14.5px; flex: none; box-shadow: var(--shadow); }
.dogpill span { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.dogpill.add { padding: 5px; width: 40px; justify-content: center; }
.dogpill.add svg { width: 18px; height: 18px; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px var(--pad) 0; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.perks div { padding: 12px 8px; text-align: center; border-left: 1px solid var(--hair); }
.perks div:first-child { border-left: 0; }
.perks b { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.perks span { font-size: 12px; color: var(--muted); }

/* usuals card (signed in) */
.usual { margin: 18px var(--pad) 0; }
.usual .tk-h b { font-size: 17px; font-weight: 800; }
.usual .ths { display: flex; gap: 10px; margin-top: 12px; align-items: center; }
.usual .ths img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; background: var(--green-tint); }
.usual .ths .tot { flex: 1; display: flex; flex-direction: column; align-items: flex-end; }
.usual .ths .tot b { font-size: 20px; font-weight: 800; }
.usual .ths .tot span { font-size: 12px; color: var(--muted); }
.usual .btn { margin-top: 14px; }
.badge { font-size: 12px; font-weight: 800; color: var(--amber); background: var(--gold-soft); padding: 4px 9px; border-radius: 8px; white-space: nowrap; }

/* ---------- top bar (other screens) ---------- */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top)) var(--pad) 10px; background: rgba(244, 245, 243, .9); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar h1 { font-weight: 800; font-size: 30px; line-height: 1.15; color: var(--ink); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.025em; }
.bar h1.sm { font-size: 17px; letter-spacing: -.01em; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--card); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink); text-decoration: none; position: relative; box-shadow: var(--shadow); }
.round.light, .round.go { background: var(--green); color: #fff; box-shadow: none; }
.round svg { width: 20px; height: 20px; }
.round .dot { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--bg); }

/* ---------- sections ---------- */
.sec { margin: 30px 0 0; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 var(--pad); margin-bottom: 12px; }
.sec-h h3 { font-size: 21px; font-weight: 800; line-height: 1.2; color: var(--ink); letter-spacing: -.02em; }
.sec-h a, .sec-h button { font-size: 14.5px; font-weight: 700; color: var(--green); background: none; border: 0; padding: 0; text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrapit { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.pad { padding: 0 var(--pad); }
.card { background: var(--card); border: 0; border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.card.soft { background: var(--green-soft); box-shadow: none; }
.dogcta { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.dogcta .av, .dog .av { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.dogcta .av svg { width: 26px; height: 26px; }

/* ---------- buttons ---------- */
.btn { border: 0; border-radius: 14px; padding: 12px 20px; min-height: 50px; font-size: 16px; font-weight: 700; background: var(--green); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .12s, background .15s, opacity .15s; }
.btn:active { transform: scale(.97); background: var(--green-deep); }
.btn[disabled] { opacity: .45; }
.btn.full { width: 100%; }
.btn.gold { background: var(--green); color: #fff; }
.btn.line { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: 14.5px; border-radius: 12px; }
.btn.tiny { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.link { background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; text-decoration: none; }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 var(--pad); }
.cat { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; color: #fff; background: var(--green-soft); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(14, 24, 16, .6)); }
.cat span { position: absolute; left: 12px; right: 10px; bottom: 10px; z-index: 1; font-weight: 800; font-size: 15px; line-height: 1.2; }
.cat:active img { transform: scale(1.04); }

/* ---------- subscription card ---------- */
.subcard { display: grid; grid-template-columns: 1fr; background: var(--card); color: var(--ink); border-radius: 24px; overflow: hidden; text-decoration: none; box-shadow: var(--shadow); }
.subcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.subcard > div { padding: 18px 18px 20px; }
.subcard h3 { font-size: 22px; font-weight: 800; }
.subcard p { margin: 6px 0 14px; color: var(--muted); font-size: 15px; }

/* ---------- horizontal scrollers ---------- */
.scroller { display: flex; gap: 12px; overflow-x: auto; padding: 2px var(--pad) 12px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scroller > * { scroll-snap-align: start; flex: none; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 var(--pad); }
.pc { display: flex; flex-direction: column; gap: 4px; min-width: 0; position: relative; background: var(--card); border-radius: 20px; padding: 8px 8px 10px; box-shadow: var(--shadow); }
.pc-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 3px; }
.scroller .pc { width: 156px; }
.pc .im { position: relative; aspect-ratio: 1; border-radius: 14px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.pc .im img { width: 100%; height: 100%; object-fit: contain; }
.pc.is-out .im img { opacity: .5; filter: grayscale(.4); }
.pc .im .ph { font-size: 12.5px; color: var(--faint); padding: 12px; text-align: center; }
.pc .br { font-size: 10.5px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.pc .nm { font-size: 14px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; padding: 0 4px; }
.pc .pr { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; padding: 0 0 0 4px; }
.pc .pr s { font-weight: 500; color: var(--faint); font-size: 13px; margin-left: 5px; }
.pc .add { width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; transition: transform .12s, background .2s; }
.pc .add:active { transform: scale(.9); }
.pc .add svg { width: 18px; height: 18px; }
.pc .add.done { background: var(--gold); color: var(--gold-ink); }
.pc .tag { position: absolute; top: 8px; left: 8px; background: rgba(255,255,255,.95); color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.pc .tag.sale { background: var(--gold); color: var(--gold-ink); }
.pc .tag.out { color: var(--muted); }

/* ---------- chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--pad) 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 0; background: var(--card); box-shadow: var(--shadow); border-radius: 12px; padding: 10px 15px; font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; text-decoration: none; }
.chip.on { background: var(--green); color: #fff; }

/* ---------- forms ---------- */
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], select, textarea, input:not([type]) {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 15px; font-size: 16px; background: var(--card); min-height: 50px; -webkit-appearance: none; appearance: none; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(61,87,60,.15); }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.search { position: relative; margin: 4px var(--pad) 6px; }
.search input { padding-left: 46px; border-radius: 14px; background: var(--card); border-color: transparent; box-shadow: var(--shadow); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); border-radius: 12px; padding: 10px 15px; font-size: 14.5px; font-weight: 700; }
.seg button.on { background: var(--green); color: #fff; box-shadow: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- lists ---------- */
.list { border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.li { display: flex; gap: 12px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--hair); }
.li:first-child { border-top: 0; }
.li .th { width: 56px; height: 56px; border-radius: 12px; background: var(--green-tint); overflow: hidden; flex: none; }
.li .th img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.li .mid { flex: 1; min-width: 0; }
.li .nm { font-size: 15.5px; line-height: 1.3; font-weight: 700; }
.li .sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.qty { display: inline-flex; align-items: center; background: var(--green-tint); border-radius: 12px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; font-size: 18px; color: var(--green); font-weight: 700; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.meter { height: 8px; border-radius: 4px; background: rgba(61,87,60,.14); overflow: hidden; }
.meter > div { height: 100%; background: var(--green); border-radius: 4px; transition: width .5s; }

/* ---------- product page ---------- */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 var(--pad); border-radius: 26px; background: #fff; box-shadow: var(--shadow); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img, .gallery .noimg { flex: none; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; scroll-snap-align: center; }
.gallery .noimg { display: grid; place-items: center; color: var(--muted); padding: 20px; text-align: center; }
.gdots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.gdots i { width: 6px; height: 6px; border-radius: 3px; background: #cfd5cf; }
.gdots i.on { width: 18px; background: var(--green); }
.pdp { padding: 18px var(--pad) 0; display: flex; flex-direction: column; gap: 14px; }
.pdp h2 { font-size: 24px; font-weight: 800; line-height: 1.2; }
.pdp .price { font-size: 24px; font-weight: 800; color: var(--ink); }
.desc { font-size: 15px; line-height: 1.65; color: #2c372f; }
.desc p { margin: 0 0 10px; }
.sticky-buy { position: sticky; bottom: calc(96px + env(safe-area-inset-bottom)); background: var(--card); padding: 10px; border-radius: 20px; box-shadow: var(--shadow-up); display: flex; gap: 10px; align-items: center; z-index: 5; }

/* ---------- dogs ---------- */
.dog { display: flex; gap: 14px; align-items: center; }
.plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.plan div { background: var(--green-tint); border-radius: 14px; padding: 12px 8px; text-align: center; }
.plan b { display: block; font-size: 21px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan span { font-size: 12.5px; color: var(--muted); }

/* ---------- tab bar: floating ---------- */
#tabs { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; max-width: 520px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; background: rgba(255,255,255,.96); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); border-radius: 30px; box-shadow: var(--shadow-up); padding: 7px 6px; }
#tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 700; color: var(--faint); text-decoration: none; max-width: 110px; }
#tabs a i { position: relative; display: grid; place-items: center; width: 50px; height: 32px; border-radius: 16px; transition: background .2s, color .2s; }
#tabs a svg { width: 22px; height: 22px; }
#tabs a.on { color: var(--green); }
#tabs a.on i { background: var(--green); color: #fff; }
#tabs a .dot { position: absolute; top: -4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: var(--gold-ink); font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; padding: 0 4px; font-style: normal; box-shadow: 0 0 0 2px #fff; }

/* ---------- sheet, toast, misc ---------- */
.sheet-back { position: fixed; inset: 0; background: rgba(14,22,16,.4); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: f .18s; }
.sheet-in { background: var(--bg); width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; border-radius: 28px 28px 0 0; padding: 10px var(--pad) calc(22px + env(safe-area-inset-bottom)); animation: r .24s cubic-bezier(.2,.8,.2,1); }
.sheet-in::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: #d3d8d2; margin: 0 auto 12px; }
@keyframes f { from { opacity: 0; } } @keyframes r { from { transform: translateY(30px); opacity: .5; } }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 16px; font-size: 14.5px; font-weight: 600; z-index: 60; max-width: calc(100% - 32px); width: max-content; text-align: center; box-shadow: var(--shadow-up); animation: r .22s; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--green-soft); border-top-color: var(--green); animation: s .8s linear infinite; margin: 50px auto; }
@keyframes s { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 44px 24px; color: var(--muted); }
.status { display: inline-block; font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 8px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.status.amber { background: var(--amber-soft); color: var(--amber); }
footer.foot { margin-top: 36px; padding: 26px var(--pad) 14px; font-size: 13px; color: var(--faint); text-align: center; }
footer.foot .logo { height: 54px; margin: 0 auto 10px; opacity: .9; }

/* ---------- iPad and up ---------- */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .hero { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
  .hero h2 { font-size: 48px; }
  .hero-card { margin-top: 22px; }
  .perks { max-width: 640px; }
  .cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .scroller .pc { width: 190px; }
  .subcard { grid-template-columns: 1fr 1fr; align-items: center; }
  .subcard img { aspect-ratio: 4 / 3; height: 100%; }
  .subcard > div { padding: 28px; }
  .pdp-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; padding-top: 10px; }
  .sticky-buy { position: static; box-shadow: none; padding: 0; background: none; }
  .bar h1 { font-size: 34px; }
  .sheet-back { align-items: center; }
  .sheet-in { border-radius: 28px; }
}
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- app extras: scan, reminders ---------- */
.search.has-scan input { padding-right: 54px; }
.scanbtn { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 11px; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; }
.scanbtn svg { position: static; transform: none; width: 21px; height: 21px; color: #fff; }
.btn svg { width: 19px; height: 19px; flex: none; }
.scancta, .remindcard { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: left; font: inherit; color: inherit; border: 0; }
.scancta { align-items: center; }
.scancta .av, .remindcard .av { width: 48px; height: 48px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; }
.remindcard .av { background: var(--gold); color: var(--gold-ink); }
.scancta .av svg, .remindcard .av svg { width: 24px; height: 24px; }
.remindcard b, .scancta b { font-size: 16px; }
.sheet-in h3 { margin: 4px 0 6px; font-size: 20px; }
html.native body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.native input, html.native textarea, html.native .desc { -webkit-user-select: text; user-select: text; }

/* ---------- quick actions ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px var(--pad) 0; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.2; }
.quick a span { width: 58px; height: 58px; border-radius: 18px; background: var(--card); color: var(--green); display: grid; place-items: center; box-shadow: var(--shadow); }
.quick a span svg { width: 25px; height: 25px; }

/* ---------- tracking, steps, warnings ---------- */
.track .tk-h b { font-size: 17px; font-weight: 800; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; margin-top: 12px; }
.steps i { height: 6px; border-radius: 3px; background: var(--green-soft); }
.steps i.on { background: var(--green); }
.warnbox { background: var(--amber-soft); box-shadow: none; color: #5c3a0b; }
.pc .tag.warn { background: var(--amber-soft); color: var(--amber); }
.spark { margin-top: 12px; color: var(--green); }
.spark svg { width: 100%; height: 56px; display: block; overflow: visible; }
.spark circle { fill: var(--green); }
.li.today { background: var(--green-tint); }

/* ---------- bundles ---------- */
.bthumbs { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.bthumbs a { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #fff; flex: none; box-shadow: inset 0 0 0 1px var(--hair); }
.bthumbs img { width: 100%; height: 100%; object-fit: contain; }
.bthumbs span { color: var(--faint); font-weight: 700; }

/* ---------- Paw Points card ---------- */
.pawcard { background: var(--green); color: #fff; border-radius: 26px; padding: 20px 20px 18px; position: relative; overflow: hidden; box-shadow: 0 14px 34px rgba(31, 48, 30, .28); }
.pc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-top .logo { height: 52px; }
.pc-top .small { opacity: .85; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.pc-pts { font-size: 56px; font-weight: 800; line-height: 1; margin: 18px 0 18px; letter-spacing: -.03em; }
.pc-pts small { display: block; font-size: 14px; font-weight: 600; opacity: .8; letter-spacing: 0; margin-top: 6px; }
.pc-code { background: #fff; border-radius: 16px; padding: 14px 14px 8px; position: relative; z-index: 1; }
.pc-code svg { width: 100%; height: 84px; display: block; }
.pc-num { color: var(--ink); text-align: center; font-weight: 800; letter-spacing: .2em; font-size: 14px; margin-top: 6px; }

/* ---------- chat ---------- */
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 130px; }
.bub { max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.bub.me { align-self: flex-end; background: var(--green); color: #fff; border-bottom-right-radius: 6px; }
.bub.shop { align-self: flex-start; background: var(--card); box-shadow: var(--shadow); border-bottom-left-radius: 6px; }
.bub small { display: block; font-size: 11.5px; opacity: .7; margin-top: 4px; }
.composer { position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 25; max-width: 520px; margin: 0 auto; display: flex; gap: 8px; align-items: flex-end; padding: 8px; background: rgba(255,255,255,.97); border-radius: 24px; box-shadow: var(--shadow-up); }
.composer textarea { flex: 1; min-height: 44px; max-height: 140px; resize: none; border-radius: 18px; padding: 10px 14px; border: 0; background: var(--bg); }
.composer .btn { min-height: 44px; border-radius: 16px; }

/* ---------- perks ---------- */
.code { font-size: 26px; font-weight: 800; letter-spacing: .14em; text-align: center; padding: 14px; margin: 12px 0; border: 2px dashed var(--green); border-radius: 14px; color: var(--green); background: var(--green-tint); }

/* ---------- list rows as buttons / toggles ---------- */
button.li { width: 100%; border: 0; border-top: 1px solid var(--hair); background: var(--card); text-align: left; font: inherit; color: inherit; }
button.li:first-child { border-top: 0; }
a.li { text-decoration: none; color: inherit; }
.li .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.li .ic svg { width: 20px; height: 20px; }
.li .chev { color: var(--faint); font-size: 22px; line-height: 1; }
.li.tog input { width: 50px; height: 30px; -webkit-appearance: none; appearance: none; border-radius: 15px; background: #dfe5de; position: relative; flex: none; min-height: 0; border: 0; padding: 0; transition: background .2s; }
.li.tog input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.li.tog input:checked { background: var(--green); }
.li.tog input:checked::after { transform: translateX(20px); }
@media (min-width: 720px) { .quick { max-width: 560px; } }

/* ---------- coffee stamps ---------- */
.cups { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.cups span { width: 38px; height: 38px; border-radius: 50%; border: 1.5px dashed #c9d4c8; color: #c9d4c8; display: grid; place-items: center; }
.cups span svg { width: 20px; height: 20px; }
.cups span.on { background: var(--green); border: 0; color: #fff; }
.cups span.free { border: 0; color: var(--gold-ink); background: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.freecup { background: var(--green); color: #fff; border-radius: 24px; padding: 28px 20px; text-align: center; margin: 6px 0 14px; }
.freecup svg { width: 64px; height: 64px; color: var(--gold); }
.freecup h3 { font-size: 34px; font-weight: 800; line-height: 1.05; margin: 10px 0 6px; }
.freecup p { margin: 0; opacity: .9; }
.walletbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border: 0; border-radius: 14px; background: #000; color: #fff; font: inherit; font-weight: 700; font-size: 16px; }
.walletbtn svg { width: 22px; height: 22px; }

/* ---------- subscription sign-up ---------- */
.sub-h { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; padding: 0; }
.plancard { display: flex; flex-direction: column; gap: 2px; text-align: left; font: inherit; color: inherit; width: 100%; cursor: pointer; }
.plancard.on { box-shadow: inset 0 0 0 2px var(--green), var(--shadow); }
.subquote .price { font-size: 26px; font-weight: 800; color: var(--ink); }

/* ---------- Christmas ---------- */
.xmas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.xm { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px; border-radius: 20px; background: var(--card); color: var(--ink); text-decoration: none; min-height: 132px; box-shadow: var(--shadow); }
.xm span { width: 40px; height: 40px; border-radius: 12px; background: var(--green); display: grid; place-items: center; color: #fff; margin-bottom: 6px; }
.xm span svg { width: 22px; height: 22px; }
.xm b { font-size: 14.5px; line-height: 1.2; font-weight: 800; }
.xm small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.tk-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

/* ================================================================
   Look C (21 Nov 2026): editorial with the shop's own lettering. Square corners, thin lines instead of
   shadows, black buttons with small capitals, light large type. The shop's script only for section headings
   (and the logo). Deliberately not rounded/bold/green-blocks, which is Natures Menu's style.
   ================================================================ */
@font-face { font-family: 'Hound Script'; font-display: swap; src: url('https://static.wixstatic.com/ufonts/92e1c5_008aec12cd164ebaa5c957ac28ea1227/woff2/file.woff2') format('woff2'); }
:root { --bg: #ffffff; --shadow: none; --shadow-up: 0 -1px 0 #e3e6e2; --r: 3px; --line: #e3e6e2; --ink: #16211a; }
html, body { background: #fff; }
.bar { background: rgba(255, 255, 255, .94); }
.hero h2, .hello .hi { font-weight: 300; font-size: 38px; line-height: 1.1; letter-spacing: -.02em; }
.hero h2 { margin-top: 26px; }
.hero p, .hello p { color: #4d5a51; }
.bar h1 { font-weight: 300; letter-spacing: -.015em; }
.bar h1.sm { font-weight: 600; letter-spacing: 0; }
.sec-h { align-items: flex-end; }
.sec-h h3 { font-family: 'Hound Script', cursive; font-weight: 400; font-size: 31px; line-height: 1.2; letter-spacing: 0; color: var(--green); }
.sec-h a, .sec-h button { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.card, .list, .perks, .xm, .subcard, .usual { border-radius: 3px; box-shadow: none; border: 1px solid var(--line); background: #fff; }
.card.soft { background: #f6f7f5; border-color: transparent; }
.card.warnbox { border-color: transparent; }
.perks { border-left: 0; border-right: 0; border-radius: 0; margin-left: var(--pad); margin-right: var(--pad); }
.btn { border-radius: 2px; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; min-height: 48px; }
.btn:active { background: #000; }
.btn.gold { background: var(--ink); color: #fff; }
.btn.line, .btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.tiny, .btn.small { letter-spacing: .1em; font-size: 11.5px; border-radius: 2px; }
.hero-card, .cat, .pc .im, .gallery, .bthumbs a, .li .th, .usual .ths img, .subcard img { border-radius: 2px; box-shadow: none; }
.hero-card .cap b { font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.cat span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.cat::after { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); }
.pc { padding: 0; box-shadow: none; background: none; border-radius: 0; }
.pc .im { background: #f6f6f4; }
.pc .nm { font-weight: 500; padding: 0; }
.pc .br, .pc .pr { padding-left: 0; }
.pc .add { border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pc .add.done { background: var(--green); color: #fff; box-shadow: none; }
.pc .tag { border-radius: 2px; box-shadow: none; }
.chip, .seg button { border-radius: 2px; box-shadow: inset 0 0 0 1px #d9ddd8; font-weight: 600; }
.chip.on, .seg button.on { background: var(--ink); box-shadow: none; }
.search input { border-radius: 2px; box-shadow: none; border: 1px solid #d9ddd8; }
.scanbtn { border-radius: 2px; background: var(--ink); }
.round { box-shadow: inset 0 0 0 1px var(--line); background: #fff; color: var(--ink); }
.round.light, .round.go { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.round .dot { background: var(--green); color: #fff; box-shadow: 0 0 0 2px #fff; }
.xm span { background: none; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); border-radius: 50%; }
.quick a span { border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.dogpill { box-shadow: inset 0 0 0 1px var(--line); }
.badge, .status { border-radius: 2px; }
.qty { border-radius: 2px; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], select, textarea, input:not([type]) { border-radius: 2px; }
.sticky-buy { border-radius: 0; box-shadow: 0 -1px 0 var(--line); }
.pawcard, .freecup { border-radius: 4px; box-shadow: none; }
.walletbtn { border-radius: 2px; }
.code { border-radius: 2px; }
.bub { border-radius: 14px; }
.bub.shop { box-shadow: none; background: #f3f4f2; }
.composer, .sheet-in { border-radius: 0; }
.sheet-in { border-radius: 6px 6px 0 0; background: #fff; }
#toast { border-radius: 2px; }
#tabs { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; box-shadow: 0 -1px 0 var(--line); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); }
#tabs a.on { color: var(--ink); }
#tabs a.on i { background: none; color: var(--ink); }
#tabs a.on i::after { content: ''; position: absolute; bottom: -1px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 3px; background: var(--green); }
body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
.composer { bottom: calc(68px + env(safe-area-inset-bottom)); left: 0; right: 0; max-width: none; box-shadow: 0 -1px 0 var(--line); }
.sticky-buy { bottom: calc(68px + env(safe-area-inset-bottom)); }
#toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
@media (min-width: 720px) { .hero h2 { font-size: 52px; } }
.pdp h2 { font-weight: 400; font-size: 26px; letter-spacing: -.01em; }
.pdp .price { font-weight: 600; font-size: 20px; }
.li .nm, .usual .tk-h b, .track .tk-h b, .subcard h3 { font-weight: 600; }
/* The shop's name as on the website: one line in the shop's lettering, "Kensington, W8" underneath. */
.top-row { justify-content: center; padding-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--line); margin: 0 var(--pad); padding-left: 0; padding-right: 0; }
.wordmark { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #2a3d2a; }
.wordmark span { font-family: 'Hound Script', cursive; font-size: 20px; line-height: 1.25; white-space: nowrap; }
.wordmark small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; color: #2a3d2a; }
.wordmark.sm { margin-bottom: 8px; }
.wordmark.light { color: #fff; align-items: flex-start; }
.wordmark.light span { font-size: 19px; }
.pc-top { align-items: flex-start; }
@media (min-width: 720px) { .wordmark span { font-size: 30px; } .wordmark small { font-size: 12px; } }

/* ================================================================
   Home, designed as one piece (21 Nov, evening): a full-bleed photo of the shop's own dog with the
   name over it, one short line and one button. Colour comes from the photos, not from painted bands.
   ================================================================ */
:root { --bg: #ffffff; --green: #3d573c; }
html, body { background: #fff; }
.hx { position: relative; height: min(78vh, 640px); min-height: 520px; overflow: hidden; background: #22301f; color: #fff; }
.hx.short { height: min(58vh, 500px); min-height: 420px; }
.hx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hx::before, .hx::after { content: ''; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.hx::before { top: 0; height: 34%; background: linear-gradient(to bottom, rgba(10, 18, 10, .55), rgba(10, 18, 10, 0)); }
.hx::after { bottom: 0; height: 62%; background: linear-gradient(to top, rgba(10, 18, 10, .78), rgba(10, 18, 10, .35) 55%, rgba(10, 18, 10, 0)); }
.hx-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: calc(16px + env(safe-area-inset-top)) var(--pad) 0; display: flex; justify-content: center; }
.hx .wordmark.light { align-items: center; color: #fff; }
.hx .wordmark.light span { font-size: 20px; }
.hx .wordmark.light small { color: rgba(255, 255, 255, .85); }
.hx-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) 28px; }
.kick { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.hx h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 300; letter-spacing: -.015em; max-width: 16em; }
.hx-btns { display: flex; align-items: center; gap: 22px; margin-top: 20px; }
.hx-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; background: #fff; color: var(--ink); border: 0; border-radius: 2px; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.hx-link { background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; }
.strip { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 12px var(--pad); border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.strip i { width: 3px; height: 3px; border-radius: 2px; background: var(--green); flex: none; }
.quick { margin: 18px var(--pad) 0; }
.quick a span { box-shadow: inset 0 0 0 1px var(--line); background: #fff; width: 54px; height: 54px; }
.quick a { font-weight: 600; font-size: 12px; }
.sec { margin-top: 34px; }
.sec-h h3 { font-size: 28px; }
.rail { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--pad) 4px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.ptile { flex: none; width: 132px; scroll-snap-align: start; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 8px; }
.ptile img { width: 132px; height: 176px; object-fit: cover; border-radius: 2px; background: #eef0ed; }
.ptile span { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; }
.banner { position: relative; display: block; height: 260px; overflow: hidden; border-radius: 2px; color: #fff; text-decoration: none; background: #22301f; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 10, .72), rgba(10, 18, 10, .05) 70%); }
.bn-copy { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; }
.bn-copy h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.2; font-weight: 300; letter-spacing: -.01em; }
.banner-links { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.banner-links a { flex: 1; text-align: center; padding: 14px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.banner-links a + a { border-left: 1px solid var(--line); }
footer.foot { background: #fff; color: var(--muted); border-top: 1px solid var(--line); margin-top: 44px; }
footer.foot .wordmark, footer.foot .wordmark small { color: #2a3d2a; }
@media (min-width: 720px) { .hx h1 { font-size: 46px; } .hx .wordmark.light span { font-size: 30px; } .ptile, .ptile img { width: 180px; } .ptile img { height: 240px; } .banner { height: 360px; } }
/* Tab bar in the shop's dark green so it doesn't melt into a white page; more room above the name. */
#tabs { background: #2a3d2a; box-shadow: none; }
#tabs a { color: rgba(255, 255, 255, .62); }
#tabs a.on, #tabs a.on i { color: #fff; }
#tabs a.on i::after { background: #e4bd7f; }
#tabs a .dot { background: #e4bd7f; color: #2a3d2a; box-shadow: 0 0 0 2px #2a3d2a; }
.hx-top { padding-top: calc(30px + env(safe-area-inset-top)); }
/* Tab bar: thin matching icons, small capitals, a fine gold line under the current tab. */
#tabs { padding: 10px 4px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .06); }
#tabs a { gap: 6px; color: rgba(255, 255, 255, .55); position: relative; }
#tabs a i { width: 26px; height: 26px; border-radius: 0; background: none !important; }
#tabs a i::after { display: none !important; }
#tabs a svg { width: 24px; height: 24px; }
#tabs a b { font-weight: 600; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; line-height: 1; padding-bottom: 6px; border-bottom: 1px solid transparent; }
#tabs a.on { color: #fff; }
#tabs a.on b { border-bottom-color: #e4bd7f; }
/* Tab bar option 2 (Georgie, 21 Nov): a rounded green bar floating over the page, gold circle behind the current icon. */
#tabs { left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); max-width: 500px; margin: 0 auto; border-radius: 24px; border-top: 0; padding: 8px 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
#tabs a { gap: 4px; }
#tabs a i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
#tabs a.on i { background: #e4bd7f !important; color: #2a3d2a; }
#tabs a b { padding-bottom: 0; border: 0 !important; }
body { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
.sticky-buy { bottom: calc(100px + env(safe-area-inset-bottom)); }
.composer { bottom: calc(100px + env(safe-area-inset-bottom)); left: 14px; right: 14px; max-width: 500px; margin: 0 auto; border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
#toast { bottom: calc(108px + env(safe-area-inset-bottom)); }
/* Section titles with figures or lots of words: small capitals, not the lettering. */
.sec-h h3.plain { font-family: Raleway, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); line-height: 1.4; padding-top: 8px; }
/* Photo band at the top of login, dogs and similar screens. */
.band { position: relative; height: 300px; overflow: hidden; background: #22301f; color: #fff; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 18, 10, .78), rgba(10, 18, 10, .1) 70%); }
.band-copy { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: 22px; }
.band h1 { margin: 0; font-size: 30px; font-weight: 300; letter-spacing: -.015em; }
.band p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; opacity: .92; }
.bar { padding-top: calc(16px + env(safe-area-inset-top)); }
.band-back { position: absolute; z-index: 2; top: calc(14px + env(safe-area-inset-top)); left: var(--pad); width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; }
.band-back svg { width: 20px; height: 20px; }
.sub-h { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 10px 0 10px; }
.band.slim { height: 190px; }

/* One shape language with the floating bar (21 Nov): the bar's dark green for every button, the same soft
   corners on buttons, chips, cards and photos. Light type and thin lines stay. */
:root { --deep: #2a3d2a; --rad: 12px; --rad-img: 14px; }
.btn, .btn.gold { background: var(--deep); border-radius: var(--rad); }
.btn:active { background: #1d2b1d; }
.btn.line, .btn.ghost { background: #fff; color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); border-radius: var(--rad); }
.btn.tiny, .btn.small { border-radius: 10px; }
.hx-cta { border-radius: var(--rad); color: var(--deep); }
.chip, .seg button, .search input, .scanbtn, .qty, .badge, .status, .walletbtn, .code, #toast,
input[type=text], input[type=email], input[type=password], input[type=search], input[type=number], input[type=tel], input[type=date], select, textarea, input:not([type]) { border-radius: var(--rad); }
.chip.on, .seg button.on, .scanbtn { background: var(--deep); }
.card, .list, .perks, .xm, .subcard, .usual { border-radius: var(--rad-img); }
.hero-card, .cat, .pc .im, .gallery, .bthumbs a, .li .th, .usual .ths img, .subcard img, .ptile img, .banner, .pawcard, .freecup { border-radius: var(--rad-img); }
.banner-links { border-bottom: 0; }
.pc .add { color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.pc .add.done { background: var(--deep); }
.round, .round.light, .round.go { color: var(--deep); }
.xm span { color: var(--deep); box-shadow: inset 0 0 0 1px var(--deep); }
.sheet-in { border-radius: 20px 20px 0 0; }
/* Product cards: smaller photos in the sideways rows, bigger writing everywhere. */
.scroller { gap: 14px; }
.scroller .pc { width: 128px; }
.pc .im { margin-bottom: 8px; }
.pc .br { font-size: 10.5px; letter-spacing: .1em; }
.pc .nm { font-size: 15px; line-height: 1.3; font-weight: 500; min-height: 2.6em; color: var(--ink); }
.pc .pr { font-size: 16px; font-weight: 600; margin-top: 6px; }
.pc .add { width: 34px; height: 34px; }
.grid { gap: 22px 14px; }
@media (min-width: 720px) { .scroller .pc { width: 170px; } }
/* No cream: warnings and badges are white with an amber edge. */
.card.warnbox, .warnbox { background: #fff; border: 1px solid #e3b56b !important; color: #5c3a0b; }
.badge, .status.amber, .pc .tag.warn { background: #fff; box-shadow: inset 0 0 0 1px #e3b56b; color: #8a5a10; }
.card.soft { background: #f4f6f3; }
.shop-chips .chip, #browse .chip { font-size: 14px; padding: 11px 16px; }
/* Room between the lettering's tails and "Kensington, W8". */
.wordmark span { line-height: 1.3; }
.wordmark small { margin-top: 9px; }
/* Nothing under 11.5px except the tab labels: small capitals were too small to read comfortably. */
.wordmark small, .strip, .ptile span, .pc .br, .kick, .cat span, .banner-links a, .hx-link, .hx-cta, .sec-h a, .sec-h button, .sec-h h3.plain, .hero-card .cap b, .sub-h { font-size: 11.5px; }
.btn { font-size: 13px; }
.btn.tiny, .btn.small { font-size: 12px; }
#tabs a b { font-size: 10.5px; letter-spacing: .12em; }
.strip { gap: 8px; letter-spacing: .1em; padding-left: 12px; padding-right: 12px; }
.sec-h { align-items: center; }
.sec-h a, .sec-h button { padding-top: 6px; }
/* Quantity stepper: outlined like the other controls, same height as the button beside it. */
.qty { background: #fff; box-shadow: inset 0 0 0 1px #d9ddd8; border-radius: 12px; }
.qty button { color: var(--deep); width: 40px; }
.sticky-buy .qty { height: 50px; }
.sticky-buy .qty button { height: 50px; }
.bthumbs span { font-size: 16px; color: var(--muted); }
input::placeholder, textarea::placeholder { font-weight: 400; color: #8b958e; }

/* ---------- Motion: make it feel like an app ---------- */
html { -webkit-tap-highlight-color: transparent; }
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
input, textarea, .msgs, .bub, [contenteditable] { -webkit-user-select: text; user-select: text; }
img { -webkit-user-drag: none; }
:root { --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1); }

/* screen changes */
#app.pg-fwd > :not(.composer) { animation: pgFwd .34s var(--ease) backwards; }
#app.pg-back > :not(.composer) { animation: pgBack .34s var(--ease) backwards; }
#app.pg-tab > :not(.composer) { animation: pgTab .26s var(--ease) backwards; }
#app.pg-up > :not(.composer) { animation: pgUp .32s var(--ease) backwards; }
@keyframes pgFwd { from { opacity: 0; transform: translateX(36px); } }
@keyframes pgBack { from { opacity: 0; transform: translateX(-36px); } }
@keyframes pgTab { from { opacity: 0; transform: translateY(8px); } }
@keyframes pgUp { from { opacity: 0; transform: translateY(12px); } }

/* things arrive one after another rather than all at once */
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :is(*) { animation: rise .42s var(--ease) backwards; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(2) { animation-delay: .04s; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(3) { animation-delay: .08s; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(4) { animation-delay: .12s; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(5) { animation-delay: .16s; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(6) { animation-delay: .2s; }
#app[class*=pg-] :is(.scroller, .rail, .grid, .list, .stack) > :nth-child(n+7) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.hx img { animation: heroIn 1.1s var(--ease) backwards; }
@keyframes heroIn { from { transform: scale(1.06); } }
.hx-copy > * { animation: rise .6s var(--ease) backwards; }
.hx-copy > :nth-child(2) { animation-delay: .08s; } .hx-copy > :nth-child(3) { animation-delay: .16s; } .hx-copy > :nth-child(4) { animation-delay: .24s; }

/* photos fade in when they've loaded, over a soft placeholder */
#app img { opacity: 0; transition: opacity .35s ease; }
#app img.ld { opacity: 1; }
.pc .im, .ptile, .li .th { background-color: #f1f3f0; }

/* press feedback */
.btn, .chip, .pc, .ptile, .banner, .cat, .card[href], a.card, .round, .band-back, .add, .qty button, .li[href], #tabs a, .hx-cta, .banner-links a {
  transition: transform .16s var(--ease), opacity .16s, background-color .16s, color .16s, border-color .16s;
}
.btn:active, .chip:active, .round:active, .band-back:active, .hx-cta:active, .qty button:active { transform: scale(.96); }
.pc:active, .ptile:active, .banner:active, .cat:active, a.card:active, .banner-links a:active { transform: scale(.98); opacity: .92; }
.add:active { transform: scale(.86); }
#tabs a:active i { transform: scale(.88); }
#tabs a i { transition: transform .2s var(--spring), background-color .25s ease, color .25s ease; }
#tabs a.on i { animation: tabOn .38s var(--spring); }
@keyframes tabOn { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
#tabs a i.bump { animation: bump .5s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* sheets and toast in and out */
.sheet-back { animation: f .2s ease both; }
.sheet-in { animation: sheetUp .34s var(--ease) backwards; will-change: transform; }
@keyframes sheetUp { from { transform: translateY(100%); } }
.sheet-back.out { animation: fOut .22s ease both; }
.sheet-back.out .sheet-in { animation: sheetDown .22s ease-in both; }
@keyframes fOut { to { opacity: 0; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
#toast { animation: toastIn .32s var(--spring) backwards; }
#toast.out { animation: toastOut .22s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px) scale(.96); } to { transform: translate(-50%, 0); } }
@keyframes toastOut { to { opacity: 0; transform: translate(-50%, 10px); } }

/* added-to-basket tick on product buttons */
.add.on, [data-add].on { animation: bump .45s var(--spring); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #app img { opacity: 1; }
}
@view-transition { navigation: auto; }

/* Loading: soft shimmering placeholders instead of a spinning wheel */
#app .spin { width: auto; height: 132px; margin: 18px var(--pad) 0; border: 0; border-radius: 14px; position: relative;
  background: linear-gradient(100deg, #f1f3f0 30%, #f8f9f7 50%, #f1f3f0 70%) 0 0 / 300% 100%; animation: shimmer 1.3s linear infinite; }
#app .spin::before, #app .spin::after { content: ''; position: absolute; left: 0; height: 18px; border-radius: 9px; background: inherit; animation: inherit; }
#app .spin::before { top: 150px; width: 70%; }
#app .spin::after { top: 180px; width: 45%; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Stock you can trust, staff picks, subscription shortcuts, swap choice */
.pc .tag.low { background: #fff; box-shadow: inset 0 0 0 1px #e3b56b; color: #8a5a10; }
.pc .tag.pick { background: var(--deep); color: #fff; }
.lowline { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: #8a5a10; margin-top: -4px; }
.whylove { border-left: 2px solid #e4bd7f; padding: 2px 0 2px 14px; margin: 4px 0; }
.whylove .kick { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.whylove p:not(.kick) { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400; }
.whylove span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.subacts { display: flex; gap: 8px; margin-top: 10px; }
.subacts .btn { flex: 1; }
.swapseg { flex-wrap: nowrap; }
.swapseg button { flex: 1; padding: 10px 6px; font-size: 13px; line-height: 1.25; }

/* Loves it / Not keen, weigh-ins */
.taste { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.taste span { font-size: 13px; color: var(--muted); min-width: 56px; }
.taste button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px #d9ddd8; color: var(--ink); border-radius: 12px; padding: 8px 12px; font: inherit; font-size: 13.5px; font-weight: 600; transition: transform .16s var(--ease), background-color .2s, color .2s, box-shadow .2s; }
.taste button svg { width: 16px; height: 16px; }
.taste button:active { transform: scale(.94); }
.taste button.on { background: var(--deep); color: #fff; box-shadow: none; }
.taste button.on svg { fill: #e4bd7f; stroke: #e4bd7f; animation: bump .45s var(--spring); }
.taste button.on.nope { background: #fff; color: #8a5a10; box-shadow: inset 0 0 0 1px #e3b56b; }
.tasteblock { padding: 2px 0; }
.tasteblock .kick { margin: 0; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.tastelist .li { align-items: flex-start; }
.tastelist .taste { margin-top: 6px; }
.pc .tag.love { display: inline-flex; align-items: center; gap: 4px; background: var(--deep); color: #fff; }
.pc .tag.love svg { width: 12px; height: 12px; fill: #e4bd7f; stroke: #e4bd7f; }
.weigh { display: flex; align-items: center; gap: 8px; justify-content: center; }
.weigh button { width: 52px; height: 52px; border-radius: 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px #d9ddd8; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); transition: transform .14s var(--ease); }
.weigh button:active { transform: scale(.9); }
.weigh input { width: 110px; height: 60px; text-align: center; font-size: 30px; font-weight: 300; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-family: inherit; }
.weighcard { display: flex; align-items: center; gap: 14px; }
.dogacts { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.dogacts .muted { display: inline-flex; align-items: center; gap: 5px; }
.dogacts svg { width: 14px; height: 14px; }
.chips.wrap { flex-wrap: wrap; overflow: visible; padding: 0; }
.chip.nope { background: #fff; color: #8a5a10; box-shadow: inset 0 0 0 1px #e3b56b; }

/* Smart dog bits */
.weekcard { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; font: inherit; color: inherit; background: var(--deep) !important; color: #fff; }
.weekcard b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.weekcard .muted { color: rgba(255,255,255,.75) !important; }
.weekcard .go { margin-left: auto; color: #e4bd7f; font-size: 22px; }
.thawcard input[type=time] { min-height: 44px; border: 1px solid #d9ddd8; border-radius: 12px; padding: 0 12px; font: inherit; }
.diarycard { display: flex; flex-direction: column; gap: 10px; }
.diarycard .dq { display: flex; align-items: center; gap: 10px; }
.diarycard .dq > span { width: 46px; font-size: 13px; color: var(--muted); }
.diarycard .seg { flex: 1; flex-wrap: nowrap; }
.diarycard .seg button { flex: 1; padding: 9px 4px; font-size: 13.5px; }
.diarystrip { display: flex; gap: 4px; margin-top: 12px; }
.diarystrip i { width: 14px; height: 14px; border-radius: 4px; background: #cfd9cf; }
.diarystrip i.meh { background: #e9d2a3; } .diarystrip i.bad { background: #d98b6c; } .diarystrip i.ok { background: var(--deep); opacity: .75; }
.season { position: relative; }
.season .x { position: absolute; top: 8px; right: 8px; border: 0; background: none; color: var(--muted); font-size: 14px; width: 32px; height: 32px; }
.season .kick { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #8a5a10; }
.bday { border-color: #e4bd7f !important; }
.goal { margin-top: 10px; }
.goal .meter { margin-top: 6px; }
.bodypick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bodypick button { border: 0; background: #fff; box-shadow: inset 0 0 0 1px #d9ddd8; border-radius: 12px; padding: 8px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: inherit; font-size: 11.5px; line-height: 1.2; color: var(--ink); transition: transform .14s var(--ease), background-color .2s; }
.bodypick svg { width: 34px; height: 46px; fill: #cfd6ce; stroke: none; }
.bodypick svg path:last-child { stroke: #cfd6ce; stroke-width: 3; fill: none; stroke-linecap: round; }
.bodypick button.on { background: var(--deep); color: #fff; box-shadow: none; }
.bodypick button.on svg { fill: #e4bd7f; }
.bodypick button.on svg path:last-child { stroke: #e4bd7f; }
.bodypick button:active { transform: scale(.94); }
details.care summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
details.care summary::-webkit-details-marker { display: none; }
details.care summary::after { content: '+'; font-size: 20px; color: var(--muted); }
details.care[open] summary::after { content: '−'; }
.bodypick svg { width: 40px; height: 54px; }
.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
.two input, .two select { min-width: 0; width: 100%; }
input[type=date] { -webkit-appearance: none; appearance: none; min-height: 46px; }
