/* The maxbone checkout (index.html, assets/maxbone-flow.js).

   Ported from the flow's prototype as it stands, so it carries maxbone's own
   look (food.maxbone.com's colours, DM Sans standing in for Good Sans)
   rather than DogFoodAdvisor's: the visitor is part-way into maxbone's
   checkout. The only stylesheet on this site, which is what lets its generic
   names (.acc, .info, .zoom, .spinner) stay short. */
:root {
  color-scheme: light;
  /* maxbone tokens (food.maxbone.com computed styles) */
  --mb-ink: #393839;
  --mb-flag: #4A7A35; /* maxbone's Subscribe & Save flag */
  /* Wag!'s offer colours: brand green, dark ink, pale pill, and a green dark enough for text on white */
  --wag: #00BF8F;
  --wag-ink: #0B3B2E;
  --wag-soft: #E3F7F0;
  --wag-text: #007A5C;
  --wag-y: #FFC759;
  --mb-muted: #595959;
  --mb-quiet: #8C8682;
  --mb-line: #D4CFC9;
  --mb-line-2: #E0DCD8;
  --mb-off: #F4F2EE;
  --mb-cream: #F5EAD9;
  --mb-select: #FBF3EA;
  --mb-tan: #A3795B;
  --mb-brown: #7D5A42;
  --mb-gold: #F2B950;
  --mb-green: #6F8A5C;
  --dfa-gold: #E5B94C;
  --mb-font: "DM Sans", "Noto Sans", -apple-system, system-ui, sans-serif; /* stand-in for Good Sans */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--mb-ink); font-family: var(--mb-font); line-height: 1.45; overflow-x: hidden; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--mb-tan); outline-offset: 2px; }
s { color: var(--mb-quiet); font-weight: 400; }

/* ---------- chrome: offer strip, header, progress, footer ---------- */
.mb-promo { background: var(--mb-ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px; }
.nb-head { border-bottom: 1px solid #ECE9E4; background: #fff; }
.nb-head__inner { max-width: 1120px; margin: 0 auto; padding: 0 16px; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.nb-back { justify-self: start; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 14px; color: var(--mb-muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.nb-lock { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nb-lock img { width: 93px; height: 16px; }
.nb-lock .x { color: var(--mb-quiet); font-size: 13px; }
/* maxbone's wordmark (482x59): sized by height, width follows */
.nb-lock .wm { width: auto; height: 15px; }
.nb-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.nb-prog { display: flex; align-items: center; justify-content: center; margin: 18px auto 0; max-width: 220px; }
.nb-prog__dot { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1.5px solid var(--mb-line); background: #fff; color: var(--mb-quiet); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.nb-prog__dot.is-on { background: var(--mb-ink); border-color: var(--mb-ink); color: #fff; }
.nb-prog__dot.is-done { background: var(--mb-tan); border-color: var(--mb-tan); color: #fff; }
.nb-prog__dot svg { width: 14px; height: 14px; }
.nb-prog__bar { flex: 1; height: 2px; background: var(--mb-line-2); margin: 0 6px; }
.nb-prog__bar.is-done { background: var(--mb-tan); }
.nb-foot { border-top: 1px solid #ECE9E4; padding: 18px 16px 26px; text-align: center; font-size: 12px; color: var(--mb-quiet); margin-top: 40px; }
.rv + .nb-foot { margin-top: 0; border-top: 0; }

/* ---------- type ---------- */
.nb-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mb-tan); margin: 22px 0 6px; display: flex; align-items: center; gap: 6px; }
.nb-eyebrow .star { color: var(--mb-gold); font-size: 14px; letter-spacing: 0; }
.nb-eyebrow--ok { color: var(--mb-green); text-transform: none; letter-spacing: 0; font-size: 14px; }
.nb-eyebrow--ok svg { width: 18px; height: 18px; }
.nb-h1 { font-size: 32px; line-height: 1.1; letter-spacing: -.015em; font-weight: 700; margin: 0 0 8px; }
.nb-lede { font-size: 16px; color: var(--mb-muted); margin: 0 0 18px; max-width: 34em; }

/* ---------- buttons, sticky CTA ---------- */
.mb-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--mb-ink); color: #fff; border: 0; border-radius: 12px; padding: 16px 18px; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.mb-btn:hover { opacity: .92; }
.mb-btn[disabled], .mb-btn[aria-disabled="true"] { opacity: .35; cursor: not-allowed; }
.mb-btn--ghost { background: #fff; color: var(--mb-ink); border: 1.5px solid var(--mb-line); }
.nb-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.96); border-top: 1px solid var(--mb-line-2); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.nb-cta .mb-btn { max-width: 560px; margin: 0 auto; }
body.has-cta { padding-bottom: 84px; }
/* the 60% offer, repeated above the button on every step before the offer screen */
.nb-offer { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 auto 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
body.has-cta.has-offer { padding-bottom: 112px; }
.nb-link { background: none; border: 0; padding: 2px 0; font: inherit; font-size: 14px; font-weight: 700; color: var(--mb-tan); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------- shared: radio mark, ticks, icons ---------- */
.nb-mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #CDBDA8; background: #fff; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.nb-mark svg { width: 13px; height: 13px; opacity: 0; }
[aria-checked="true"] > .nb-mark, [aria-checked="true"] .nb-mark { background: var(--mb-ink); border-color: var(--mb-ink); }
[aria-checked="true"] > .nb-mark svg, [aria-checked="true"] .nb-mark svg { opacity: 1; }
.nb-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.nb-ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.nb-ticks li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--mb-green); }

/* ---------- recipes ---------- */
.rp__benefits { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.rp__benefits li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; line-height: 1.25; color: var(--mb-muted); }
.rp__benefits .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--mb-cream); color: var(--mb-brown); display: flex; align-items: center; justify-content: center; }
.rp__benefits .ic svg { width: 21px; height: 21px; }
.rp__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.rp-card { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border: 1.5px solid var(--mb-line-2); border-radius: 14px; padding: 0 0 12px; cursor: pointer; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.rp-card:hover { border-color: var(--mb-line); }
.rp-card[aria-checked="true"] { border-color: var(--mb-tan); box-shadow: 0 0 0 1px var(--mb-tan); background: var(--mb-select); }
.rp-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.rp-card .nb-mark { position: absolute; top: 10px; right: 10px; }
.rp-card strong { display: block; font-size: 16px; margin: 10px 12px 2px; }
.rp-card small { display: block; font-size: 13px; line-height: 1.35; color: var(--mb-muted); margin: 0 12px; }
.rp-card .mk { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mb-tan); margin: 10px 12px 0; }
.rp-card .mk + strong { margin-top: 2px; }
/* three kibble recipes in a row */
.rp__cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rp__cards--3 .rp-card strong { font-size: 15px; line-height: 1.25; }
/* "Pick your diet", after maxbone's own on food.maxbone.com: a spaced-out label over a pill switch,
   centred above the photos and the recipes */
.rp-diet { margin: 20px 0 16px; text-align: center; }
.rp-diet__lbl { margin: 0 0 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #000; }
.rp-diet__opts { display: inline-flex; padding: 4px; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; background: #fff; }
.rp-diet__opts button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 999px; background: none; padding: 8px 20px; font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #000; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.rp-diet__opts button:hover { background: rgba(0, 0, 0, .05); }
.rp-diet__opts button[aria-pressed="true"] { background: #000; color: #fff; }
.rp-diet__new { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1; padding: 3px 5px; border-radius: 4px; background: var(--mb-flag); color: #fff; }
.rp-diet + .rp .rp-stars { margin-top: 0; }

/* gallery: swipe carousel on phones; large image + thumbnails on desktop */
.car { position: relative; }
.car__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth; }
.car__track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .car__track { scroll-behavior: auto; } }
.car__slide { flex: 0 0 78%; scroll-snap-align: start; margin: 0; }
.car__slide img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--mb-off); }
.car__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--mb-line-2); background: rgba(255,255,255,.95); box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
.car__nav svg { width: 18px; height: 18px; }
.car__nav--prev { left: 8px; }
.car__nav--next { right: 8px; }
.car__nav[disabled] { opacity: 0; pointer-events: none; }
.car__dots { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; }
.car__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--mb-line); }
.car__dots span.on { background: var(--mb-ink); }
.car__thumbs { display: none; }
/* phones and tablets: a labelled row of four small photos under the recipe cards, so they don't read as more choices */
.rp__gallery { margin: 22px 0 18px; }
.rp__more .rp__benefits { margin: 22px 0 0; }
/* maxbone's review count above the title, as on food.maxbone.com; scrolls to the reviews */
.rp-stars { display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 6px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--mb-ink); cursor: pointer; }
.rp-stars .rv__stars { gap: 2px; }
.rp-stars svg { width: 17px; height: 17px; fill: var(--mb-gold); }
.rp-stars:hover > span:last-child { text-decoration: underline; text-underline-offset: 2px; }
/* the 60% as maxbone shows it on food.maxbone.com: a Subscribe & Save box with a notched flag off its right edge */
.rp-offer { position: relative; margin: 18px 0 0; padding: 14px 16px 16px; background: var(--mb-off); border-radius: 14px; }
.rp-offer__head { min-height: 52px; padding-right: 150px; } /* text wraps before it reaches the flag */
.rp-offer__title { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; }
.rp-offer__sub { margin: 2px 0 0; font-size: 13.5px; line-height: 1.35; color: var(--mb-muted); text-wrap: balance; }
.rp-offer__flag { position: absolute; top: 12px; right: -12px; margin: 0; padding: 7px 16px 7px 30px; background: var(--mb-flag); color: #fff; text-align: center; line-height: 1.1; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 13px 50%); }
.rp-offer__flag b { display: block; font-size: 19px; text-transform: uppercase; }
.rp-offer__flag span { display: block; font-size: 14px; font-weight: 500; }
.rp-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 10px 0 12px; font-size: 14px; color: var(--mb-muted); }
.rp-offer__price strong { font-size: 26px; letter-spacing: -.01em; color: var(--mb-ink); }
.rp-offer__price strong span { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-left: 1px; }
.rp-offer__price s { font-size: 15px; }
.rp-offer .nb-ticks { gap: 5px; margin: 0; }
.rp-offer .nb-ticks li { font-size: 14.5px; }
/* the free Wag! walk, styled after Wag!'s own offer: green eyebrow, the deal in green, a pale-green pill */
.mb-promo__wag { color: var(--wag-y); }
.wag-tag { display: inline-flex; align-items: center; gap: 4px; background: var(--wag); color: #fff; font-size: 13px; font-weight: 700; border-radius: 4px; padding: 2px 7px; }
.wag-tag svg { width: 13px; height: 13px; }
.wag { display: flex; gap: 14px; align-items: flex-start; margin: 12px 0 0; border: 1.5px solid var(--wag); border-radius: 16px; padding: 14px 16px; background: #fff; }
.wag__ic { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--wag); color: var(--wag-ink); display: flex; align-items: center; justify-content: center; }
.wag__ic svg { width: 28px; height: 28px; }
.wag__body { flex: 1; min-width: 0; }
.wag__eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--wag-text); }
.wag__h { margin: 2px 0 4px; font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.wag__h em { font-style: normal; color: var(--wag-text); }
.wag__p { margin: 0; font-size: 14px; color: var(--mb-muted); line-height: 1.4; }
.wag__pill { display: inline-flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--wag-soft); color: var(--wag-ink); font: inherit; font-size: 13px; font-weight: 600; }
.wag__pill svg { width: 14px; height: 14px; color: var(--wag-text); }
button.wag__pill { cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
button.wag__pill:hover { background: #D2F1E6; }
.wag--off { border-style: dashed; border-color: var(--mb-line); }
.wag--off .wag__ic { background: var(--wag-soft); color: var(--wag-text); }
.of-opt__perk { display: inline-flex; align-items: center; gap: 5px; margin: 8px 0 0; padding: 3px 9px 3px 7px; border-radius: 6px; background: var(--wag-soft); color: var(--wag-ink); font-size: 13px; font-weight: 700; }
.of-opt__perk svg { width: 16px; height: 16px; color: var(--wag-text); }
/* under the checkout button: delivery, maxbone's happiness promise, secure checkout, ways to pay */
.of-assure { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.of-assure li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.of-assure li > svg { width: 18px; height: 18px; flex: none; color: var(--mb-brown); }
.of-assure .of-note { flex-basis: 100%; }
.of-pay { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.of-pay img { width: 34px; height: 22px; display: block; }
.rp__photos-lbl { font-size: 13px; color: var(--mb-muted); margin: 0 0 8px; }
.rp-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
@media (max-width: 899px) {
  .rp__gallery .car__track { overflow: visible; scroll-snap-type: none; gap: 8px; max-width: 520px; }
  .rp__gallery .car__slide { flex: 1 1 0; min-width: 0; }
  .rp__gallery .car__slide img { border-radius: 10px; }
  .rp__gallery .car__nav, .rp__gallery .car__dots { display: none; }
}
/* tap a photo: full-size view */
.zoom { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 60px 16px; }
.zoom__backdrop { position: absolute; inset: 0; background: rgba(20, 18, 17, .88); }
.zoom__fig { position: relative; margin: 0; width: min(92vw, 720px); }
.zoom__fig img { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 14px; }
.zoom__fig figcaption { text-align: center; color: #fff; font-size: 13px; margin-top: 10px; }
.zoom__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--mb-ink); cursor: pointer; font-size: 16px; }
.zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--mb-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zoom__nav svg { width: 18px; height: 18px; }
.zoom__nav--prev { left: 10px; }
.zoom__nav--next { right: 10px; }
body.zoom-open { overflow: hidden; }

/* accordions */
.acc { border-top: 1px solid var(--mb-line-2); }
.acc:last-of-type { border-bottom: 1px solid var(--mb-line-2); }
.acc summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 14px 2px; cursor: pointer; font-weight: 700; font-size: 15.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { width: 20px; height: 20px; color: var(--mb-tan); flex: none; }
.acc summary .chev { margin-left: auto; width: 18px; height: 18px; transition: transform .2s; color: var(--mb-muted); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc.acc--closing summary .chev { transform: none; }
.acc__body { padding: 0 2px 16px 30px; font-size: 14.5px; color: var(--mb-muted); }
.acc__body p { margin: 0 0 10px; }
.acc__body .nb-ticks li { color: var(--mb-ink); }
.ga { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; }
.ga div { background: var(--mb-off); border-radius: 10px; padding: 10px 6px; text-align: center; display: flex; flex-direction: column; }
.ga strong { font-size: 17px; color: var(--mb-ink); }
.ga span { font-size: 11.5px; line-height: 1.25; }
.rp__cta { margin: 20px 0 0; }

/* reviews: food.maxbone.com's "Real dogs. Real owners. Real results." section (pink band, photo tiles, white cards, Tiempos-style serif) */
.rv { background: #F1CCBC; margin: 48px 0 0; padding: 44px 0 40px; }
.rv__head { margin: 0 0 20px; }
.rv h2 { font-family: "Tiempos Text", "Iowan Old Style", Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; line-height: 1.15; color: #000; margin: 0 0 4px; }
.rv__sub { font-family: "Tiempos Text", "Iowan Old Style", Georgia, "Times New Roman", serif; font-size: 20px; color: #000; margin: 0 0 10px; }
.rv__score { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 13px; color: #3c2f29; }
.rv__stars { display: inline-flex; gap: 4px; }
.rv__stars svg { width: 16px; height: 16px; }
.rv .car__track { gap: 12px; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.rv .car__slide { flex: 0 0 auto; }
.rv .car__dots { display: none; }
.rv .car__nav { width: 32px; height: 48px; border-radius: 6px; border: 0; background: #000; color: #fff; box-shadow: none; }
.rv .car__nav svg { width: 14px; height: 14px; stroke-width: 3; }
.rv .car__nav--prev { left: 4px; }
.rv .car__nav--next { right: 4px; }
.rv-photo { position: relative; width: 214px; height: 428px; border-radius: 12px; overflow: hidden; background: #e8bba8; }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; }
.rv-photo__handle { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 5px 9px; }
.rv-card { width: 280px; height: 428px; background: #fff; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; color: #000; }
.rv-card h3 { font-family: "Tiempos Text", "Iowan Old Style", Georgia, "Times New Roman", serif; font-weight: 400; font-size: 20px; line-height: 24px; margin: 12px 0 8px; }
.rv-card p { margin: 0; font-size: 13px; line-height: 20px; flex: 1; overflow: hidden; }
.rv-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.rv-card__tags span { background: #D5C0B3; color: #5F493F; font-size: 10px; line-height: 15px; letter-spacing: .8px; text-transform: uppercase; border-radius: 999px; padding: 5px 10px; }
.rv-card__who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.rv-card__who img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.rv-card__who b { display: block; }
.rv-card__who small { display: block; font-size: 13px; color: #6b6b6b; }
.rv__src { font-size: 12px; color: #5F493F; margin: 16px 0 0; }

/* ---------- question steps ---------- */
.q { padding-bottom: 8px; }
.q__opts { display: flex; flex-direction: column; gap: 8px; }
.q-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 52px; padding: 8px 14px; background: #fff; border: 1.5px solid var(--mb-line-2); border-radius: 12px; cursor: pointer; text-align: left; font-size: 16px; transition: border-color .15s, background-color .15s; }
.q-row:hover { border-color: var(--mb-line); }
.q-row[aria-checked="true"] { border-color: var(--mb-tan); background: var(--mb-select); font-weight: 700; }
.q-row .lbl { flex: 1; white-space: nowrap; }
.q-card { position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 14px 10px 10px; background: #fff; border: 1.5px solid var(--mb-line-2); border-radius: 14px; cursor: pointer; text-align: left; transition: border-color .15s, background-color .15s; }
.q-card:hover { border-color: var(--mb-line); }
.q-card[aria-checked="true"] { border-color: var(--mb-tan); box-shadow: 0 0 0 1px var(--mb-tan); background: var(--mb-select); }
.q-card__img { width: 96px; height: 96px; flex: none; border-radius: 10px; object-fit: cover; background: var(--mb-off); }
.q__opts--stage .q-card__img { width: 112px; height: 92px; object-fit: contain; padding: 6px; background: var(--mb-cream); }
.q-card__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.q-card__txt strong { font-size: 18px; }
.q-card__txt span { font-size: 14.5px; color: var(--mb-muted); line-height: 1.35; }
.q-card--feed .feed-img { display: block; width: 104px; height: 104px; flex: none; border-radius: 10px; overflow: hidden; background: #F3F1EE; }
.q-card--feed .feed-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.q-card--feed .q-card__txt strong { font-size: 17px; }
.q-card--feed .q-card__txt span { font-size: 14px; }
.q-card--feed .q-card__txt .feed-from { margin-top: 4px; color: var(--mb-ink); white-space: nowrap; }
.q-card--feed .feed-from b { font-size: 16px; }
.q-card--feed .feed-from s { color: var(--mb-muted); margin-right: 2px; }
.q__note { margin: 12px 0 0; font-size: 13px; color: var(--mb-muted); text-align: center; }
.q__err { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #a5372c; text-align: center; }
.q { max-width: 560px; margin: 0 auto; }
.q .nb-eyebrow, .q .nb-h1, .q .nb-lede { text-align: center; justify-content: center; margin-left: auto; margin-right: auto; }
.q__actions { margin-top: 20px; }

/* ---------- offer ---------- */
.of-card { border: 1px solid var(--mb-line); border-radius: 16px; padding: 16px; background: #fff; }
.of-card__top { display: flex; gap: 14px; align-items: flex-start; }
.of-card__top img { width: 104px; height: 104px; flex: none; border-radius: 12px; object-fit: cover; }
.of-card__name { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.of-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--mb-muted); margin: 0 0 6px; }
.of-chips .nb-link { font-size: 13px; }
.of-card__desc { font-size: 14px; color: var(--mb-muted); margin: 0; }
.of-card .nb-ticks { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--mb-line-2); }
.of-card .nb-ticks li { font-size: 14.5px; }
.of-supply { margin: 14px 0 0; padding: 12px 14px; background: var(--mb-off); border-radius: 12px; }
.of-supply__lbl { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--mb-muted); margin: 0 0 2px; }
.info { width: 20px; height: 20px; border-radius: 50%; border: 0; background: none; padding: 0; cursor: pointer; color: var(--mb-quiet); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.info svg { width: 17px; height: 17px; }
.of-supply__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.of-supply__price strong { font-size: 28px; letter-spacing: -.01em; }
.of-supply__price s { font-size: 16px; }
.of-supply__price strong span { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-left: 1px; }
.of-supply__total { margin: 2px 0 0; font-size: 14px; color: var(--mb-muted); }
.of-supply__total strong { font-size: 28px; line-height: 1.2; letter-spacing: -.01em; color: var(--mb-ink); } /* same size as the daily price */
.of-supply__total span { white-space: nowrap; }
.off-tag { font-size: 13px; font-weight: 700; color: #fff; background: var(--mb-green); border-radius: 4px; padding: 2px 7px; }
.off-tag--muted { color: var(--mb-muted); background: var(--mb-line-2); }
.of-note { font-size: 13px; color: var(--mb-muted); margin: 8px 0 0; }
.of-note[hidden] { display: none; }
.of-side h2 { font-size: 19px; margin: 22px 0 10px; }
.of-opts { display: flex; flex-direction: column; gap: 10px; }
.of-opt { position: relative; display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; background: #fff; border: 1.5px solid var(--mb-line-2); border-radius: 14px; padding: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.of-opt[aria-checked="true"] { border-color: var(--mb-tan); box-shadow: 0 0 0 1px var(--mb-tan); background: var(--mb-select); }
.of-opt .nb-mark { margin-top: 1px; }
.of-opt__txt { flex: 1; min-width: 0; }
.of-opt__title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-weight: 700; font-size: 16px; }
.of-opt__pr { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; white-space: nowrap; }
.of-opt__pr s { font-size: 13px; }
.of-opt__pr b { font-size: 17px; }
.of-opt__pr small, .of-total__val small { font-size: 12.5px; color: var(--mb-muted); margin-top: 2px; text-align: right; }
.of-opt__pr small strong, .of-total__val small strong { display: block; color: var(--mb-ink); } /* the total, same size as the daily price */
.of-opt__pr small strong { font-size: 17px; }
.of-total__val small strong { font-size: 16px; }
.of-total__row .of-total__val { margin-left: auto; flex-direction: column; align-items: flex-end; gap: 0; line-height: 1.25; color: var(--mb-ink); white-space: nowrap; }
.of-total__val s { font-size: 13px; }
.of-total__val b { font-size: 16px; }
.of-total__row s { font-size: 13px; margin-right: 2px; }
.of-total__row .of-total__lbl { flex-direction: column; align-items: flex-start; gap: 0; }
.of-total__lbl small { font-size: 13px; color: var(--mb-quiet); }
.of-opt .tag { font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 4px; white-space: nowrap; }
.of-opt .tag--off { background: var(--mb-green); color: #fff; }
/* Try it once's saving: neutral, so the green 60% off stays the offer that stands out */
.of-opt .tag--muted { background: var(--mb-line-2); color: var(--mb-muted); }
.of-opt__body { font-size: 14px; color: var(--mb-muted); margin: 4px 0 0; line-height: 1.4; }
.of-total { margin: 16px 0 0; border-top: 1px solid var(--mb-line-2); padding-top: 14px; font-size: 15px; }
.of-total h3 { font-size: 15px; margin: 0 0 8px; }
.of-total__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 10px; margin: 0 0 6px; }
.of-total__row span { display: inline-flex; align-items: center; gap: 4px; color: var(--mb-muted); }
.of-total__row b { white-space: nowrap; margin-left: auto; }
.of-total__row small { font-weight: 400; color: var(--mb-muted); font-size: 13px; }
.of-trust { text-align: center; font-size: 12.5px; color: var(--mb-quiet); margin: 10px 0 0; }
.of-side .of-cta { margin-top: 16px; }

/* ---------- handoff: on the way to maxbone's checkout ---------- */
.mb-handoff { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 0; min-height: 52vh; }
.spinner { width: 40px; height: 40px; margin: 0 auto 18px; border-radius: 50%; border: 3px solid var(--mb-line-2); border-top-color: var(--mb-ink); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-top-color: var(--mb-tan); } }
.mb-handoff h1 { font-size: 26px; margin: 0 0 8px; }
.mb-handoff p { color: var(--mb-muted); margin: 0 0 4px; }
/* the cart couldn't be made: say so, and offer another go */
.mb-handoff__err { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- moved out of the prototype's inline styles ---------- */
.of-opt__body { display: block; }
.of-trust--left { text-align: left; margin-top: 12px; }
.of-trust--left .nb-link { font-size: 13px; }

/* ---------- step 3 for a visitor whose weight and life stage came in the URL ---------- */
/* no progress bar or "Step 3 of 3" above the title, so it needs their space */
.q--prefilled .q__main { padding-top: 24px; }
.nb-lede .nb-change { font-size: inherit; font-weight: 600; white-space: nowrap; }

/* ---------- price test (assets/maxbone-price.js) ---------- */
.q-card--feed .feed-from .feed-unit { color: inherit; white-space: nowrap; }
/* "per day" beside a plan option or in the total: a unit, as in the headline, not a second price */

/* ---------- small phones ---------- */
@media (max-width: 380px) {
  .nb-h1 { font-size: 28px; }
  .nb-lock img { width: 81px; height: 14px; }
  .nb-lock .wm { height: 13px; }
  .nb-back span { display: none; }
  .rp__benefits li { font-size: 11.5px; }
  .rp-card small { font-size: 12.5px; }
  .q-card__img, .q__opts--stage .q-card__img { width: 96px; height: 80px; }
  .of-card__top img { width: 84px; height: 84px; }
  .of-supply__price strong, .of-supply__total strong { font-size: 25px; }
  .mb-promo__ex, .of-card__desc { display: none; } /* one-line offer strip; the ticks below say the same as the blurb */
  .q-card--feed .q-card__txt .feed-from { white-space: normal; } /* the struck price always shows; it wraps instead */
}
@media (max-width: 520px) {
  .mb-promo__more, .mb-promo__first, .nb-back__more, .nb-offer__more { display: none; }
  .rp-offer { padding: 12px 14px 14px; }
  .rp-offer__head { padding-right: 118px; }
  .rp-offer__flag { padding: 6px 12px 6px 25px; }
  .rp-offer__flag b { font-size: 16px; }
  .rp-offer__flag span { font-size: 12.5px; }
  .rp-stars { margin: 18px 0 10px; }
  .rp-diet { margin-top: 18px; }
  .rp-diet__opts button { padding: 8px 16px; font-size: 13px; }
  .rp__cards--3 { gap: 8px; }
  .rp__cards--3 .rp-card { padding-bottom: 10px; }
  .rp__cards--3 .rp-card .nb-mark { top: 6px; right: 6px; width: 20px; height: 20px; }
  .rp__cards--3 .rp-card .mk { margin: 8px 9px 0; font-size: 10px; }
  .rp__cards--3 .rp-card strong { margin: 2px 9px 2px; font-size: 14px; }
  .rp__cards--3 .rp-card small { margin: 0 9px; font-size: 12px; }
  .of-card { padding: 14px; }
  .of-card__top { gap: 12px; }
  .of-card__top img { width: 88px; height: 88px; }
  .of-card__name { font-size: 17px; margin-bottom: 2px; }
  .of-card__desc { font-size: 13.5px; line-height: 1.35; }
  .of-card .nb-ticks { margin-top: 12px; padding-top: 12px; gap: 5px; }
  .of-card .nb-ticks li { font-size: 14px; }
  .of-supply { margin-top: 12px; padding: 10px 12px; }
  .of-side h2 { margin-top: 20px; }
  .of-opt { padding: 12px; }
  .of-opt__body { font-size: 13.5px; }
}

/* ---------- tablet: centre the phone layout ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  .nb-main { max-width: 600px; margin: 0 auto; }
  .rp__gallery .car__track { margin: 0; padding-left: 0; padding-right: 0; scroll-padding: 0; }
}

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  body.has-cta, body.has-cta.has-offer { padding-bottom: 0; }
  .nb-offer { justify-content: flex-start; margin: 0 0 10px; }
  .nb-cta { position: static; background: none; border: 0; padding: 0; }
  .nb-cta .mb-btn { max-width: none; margin: 0; }
  .nb-h1 { font-size: 42px; }
  .nb-eyebrow { margin-top: 34px; }
  /* recipes: gallery left, details right */
  .rp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "gallery intro" "gallery more"; grid-template-rows: auto 1fr; column-gap: 48px; margin-top: 30px; }
  .rp__intro { grid-area: intro; }
  .rp__more { grid-area: more; }
  .rp .nb-eyebrow { margin-top: 0; }
  .rp-diet { margin: 30px 0 0; }
  .rp-diet + .rp { margin-top: 26px; }
  .rp__gallery { grid-area: gallery; align-self: start; position: sticky; top: 24px; margin: 0; padding: 0; }
  .rp__photos-lbl { display: none; }
  .rp__gallery .car__nav { width: 38px; height: 38px; }
  .rp__gallery .car__track { margin: 0; padding: 0; scroll-padding: 0; gap: 0; }
  .rp__gallery .car__slide { flex-basis: 100%; }
  .rp__gallery .car__slide img { border-radius: 18px; }
  .rp__gallery .car__dots { display: none; }
  .rp__gallery .car__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 0; }
  .car__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
  .car__thumbs button[aria-current="true"] { border-color: var(--mb-ink); }
  .car__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
  .rp__more { margin-top: 28px; }
  .rv { margin-top: 64px; padding: 64px 0; }
  .rv h2 { font-size: 41px; line-height: 1.15; }
  .rv__sub { font-size: 24px; }
  .rv .car__track { margin: 0; padding: 0; scroll-padding: 0; }
  .rv .car__nav--prev { left: -16px; }
  .rv .car__nav--next { right: -16px; }
  /* questions: one fixed-height panel, options left, photo right */
  .q { max-width: 720px; margin: 0 auto; padding-bottom: 0; }
  .q__main { padding-top: 6px; }
  .q__main .q__actions { margin-top: 28px; display: flex; flex-direction: column; align-items: center; }
  .q__actions .nb-offer { justify-content: center; }
  .q__opts--weight { gap: 6px; }
  .q__opts--weight .q-row { min-height: 46px; padding: 5px 14px; }
  .q__opts--weight { width: 100%; max-width: 520px; margin: 0 auto; }
  .q__opts--stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .q__opts--stage .q-card { flex-direction: column; align-items: stretch; padding: 10px 10px 14px; gap: 10px; }
  .q__opts--stage .q-card__img { width: 100%; height: auto; aspect-ratio: 5 / 4; padding: 14px 18px; }
  .q__opts--stage .q-card .nb-mark { position: absolute; right: 16px; bottom: 24px; } /* beside the label, clear of the dog's head */
  .q__opts--stage .q-card__txt { padding: 0 4px; }
  .q__opts--feed { width: 100%; max-width: 560px; margin: 0 auto; }
  .q__opts--feed .feed-img { width: 116px; height: 116px; }
  .q__actions .mb-btn { width: 280px; }
  /* offer: plan card left, purchase panel right */
  .of { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; }
  .of-side { position: sticky; top: 24px; border: 1px solid var(--mb-line); border-radius: 18px; padding: 20px 22px 22px; margin-top: 34px; }
  .of-side h2 { margin-top: 0; }
  .of-card { padding: 22px; }
  .of-card__top img { width: 168px; height: 168px; }
  .of-card__name { font-size: 22px; }
  .of-card__desc { font-size: 15px; }
}
