/* sharkbites-skin.css — the "Sharkbites" look over the lifted Hopscotch front-end.

   A loud snack brand: Montserrat 900 italic capitals at poster scale, Inter for copy,
   paper #FCEADE / ink #28150A / rust #8C3809 / peach #FFBF95 with lime, sky and lilac
   pastels, 50px pill hardware, paper tiles for product renders.

   Two parts:
     1–9   tokens + selectors over the existing markup (no contract changes);
     10+   the Sharkbites home sections (sections/hero-banner, collection-words,
           offer-band, benefit-tiles, featured-product, press-logos,
           recipe-cards, review-cards), all on `sb-` classes.

   Load order: after transplant.css and BEFORE the theme-fonts / theme-colors /
   theme-layout includes, so a merchant's Typography or Colors pick still wins on
   plain source order. The root font-size is 62.5% (1rem = 10px).
   ------------------------------------------------------------------------------- */


/* ============================================================================
   1. Tokens
   ============================================================================ */

:root {
  --sb-paper: #fceade;
  --sb-pack: #fceadc;
  --sb-white: #ffffff;
  --sb-ink: #28150a;
  --sb-ink-muted: #5a4940;
  --sb-ink-subtle: #6b584c;
  --sb-ink-faded: #96857b;
  --sb-line: #ecd3c2;
  --sb-rust: #8c3809;
  --sb-peach: #ffbf95;
  --sb-lime: #e5ed9f;
  --sb-sky: #aceef7;
  --sb-lilac: #f1efff;
  --sb-mint: #fbffeb;
  --sb-ice: #eaf4ff;
  --sb-paper-dim: #e8cdb8;
  --sb-badge: #da1e28;
  --sb-pill-h: 5rem;
  --sb-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sb-dur: 240ms;
  --sb-radius: 2.8rem;

  /* the display voice: Montserrat black italic until Typography > Heading font picks
     another family, when snippets/theme-fonts re-declares --font-display and sets
     --sb-display-weight / --sb-display-style from that pick */
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --font-heading--family: var(--font-display);
  --font-heading--style: var(--sb-display-style, italic);
  --font-heading--weight: var(--sb-display-weight, 900);
  --font-highlight--family: var(--font-display);
  --font-highlight--weight: var(--sb-display-weight, 900);

  --font-body--family: var(--font-sans);
  --font-body--style: normal;
  --font-body--weight: 400;
  --font-paragraph--weight: 400;

  --font-subheading--family: var(--font-display);
  --font-subheading--weight: var(--sb-display-weight, 800);
  --font-subheading--transform: uppercase;
  --font-subheading--letter-spacing: 0.04em;
  --font-subheading--size: 1.4rem;

  --font-pcard-title--family: var(--font-display);
  --font-pcard-title--weight: var(--sb-display-weight, 900);
  --font-pcard-title--size: 1.6rem;
  --font-pcard-price--family: var(--font-sans);
  --font-pcard-price--weight: 500;
  --font-pcard-badge--family: var(--font-sans);
  --font-pcard-badge--weight: 600;

  --font-navigation--family: var(--font-display);
  --font-navigation--weight: 900;
  --font-navigation--transform: uppercase;
  --font-navigation--letter-spacing: 0.01em;

  --font-button--family: var(--font-display);
  --font-button--weight: var(--sb-display-weight, 900);
  --font-button--transform: uppercase;
  --font-button--letter-spacing: 0.01em;

  --font-size--mega-title: clamp(5.4rem, 8.9vw, 13.6rem);
  --font-size--h1: clamp(3.4rem, 4.6vw, 6.8rem);
  --font-size--h2: clamp(3rem, 3.6vw, 5.4rem);
  --font-size--h3: clamp(2.6rem, 2.8vw, 4.2rem);
  --font-size--h4: clamp(2.2rem, 2.2vw, 3.2rem);
  --font-size--h5: 2rem;
  --font-size--h6: 1.6rem;
  --font-size--paragraph: 1.6rem;
  --font-size--paragraph-small: 1.4rem;
  --font-mega-title--line-height: 0.92;
  --font-h1--line-height: 0.98;
  --font-h2--line-height: 0.98;
  --font-h3--line-height: 1;
  --font-h4--line-height: 1.05;
  --font-h5--line-height: 1.1;
  --font-h6--line-height: 1.15;
  --font-paragraph--line-height: 1.6;

  --input-border-radius: 99.9rem;
  --button-corner-radius: 99.9rem;
  --badge-corner-radius: 0.6rem;
  --product-card-media-radius: 2.8rem;
  --dialog-radius: 2.8rem;
  --media-radius: 2.8rem;
  --gallery-radius: 4rem;
  --button-height: 5rem;
  --input-height: 5rem;
  --button-border-thickness: 0.2rem;
  --button-outline-border-alpha: 1;

  --color-sale-badge-background: 218 30 40;
  --color-sale-badge-text: 255 255 255;
  --color-cart-bubble-background: rgb(40 21 10);
  --color-cart-bubble-text: rgb(252 234 222);
  --color-sold-out-badge-background: 40 21 10;
  --color-sold-out-badge-text: 252 234 222;
  --color-new-badge-background: 229 237 159;
  --color-new-badge-text: 40 21 10;
  --color-hot-badge-background: 255 191 149;
  --color-hot-badge-text: 40 21 10;
  --color-popular-badge-background: 172 238 247;
  --color-popular-badge-text: 40 21 10;
  --color-focus-ring: 40 21 10;
}

:root,
[class*="color-scheme-"] {
  --color-input-focus-background: var(--color-background);
}


/* ============================================================================
   2. Colour schemes — white, paper, ink
   ============================================================================
   Same scheme numbers as the base, so every section keeps its pick. */

:root,
.color-scheme-1,
.color-scheme-3,
.color-scheme-10 {
  --color-background: 255 255 255;
  --color-background-secondary: 252 234 222;
  --color-foreground: 40 21 10;
  --color-foreground-secondary: rgba(40 21 10 / 0.72);
  --color-border: 40 21 10;
  --color-border-alpha: 0.14;
  --color-sale-price: 140 56 9;
  --color-primary-button-background: 40 21 10;
  --color-primary-button-text: 252 234 222;
  --color-secondary-button-background: 252 234 222;
  --color-secondary-button-text: 40 21 10;
  --color-secondary-button-border: 40 21 10;
  --color-input-background: 252 234 222;
  --color-input-text: 40 21 10;
  --color-input-focus-text: 40 21 10;
  --input-border-color: rgb(40 21 10 / 0);
  --color-swatch-border: rgb(40 21 10 / 0.2);
}

.color-scheme-2,
.color-scheme-4,
.color-scheme-7,
.color-scheme-8 {
  --color-background: 252 234 222;
  --color-background-secondary: 255 255 255;
  --color-foreground: 40 21 10;
  --color-foreground-secondary: rgba(40 21 10 / 0.72);
  --color-border: 40 21 10;
  --color-border-alpha: 0.14;
  --color-sale-price: 140 56 9;
  --color-primary-button-background: 40 21 10;
  --color-primary-button-text: 252 234 222;
  --color-secondary-button-background: 255 255 255;
  --color-secondary-button-text: 40 21 10;
  --color-secondary-button-border: 40 21 10;
  --color-input-background: 255 255 255;
  --color-input-text: 40 21 10;
  --color-input-focus-text: 40 21 10;
  --input-border-color: rgb(40 21 10 / 0);
  --color-swatch-border: rgb(40 21 10 / 0.2);
}

.color-scheme-inverse,
.color-scheme-6,
.color-scheme-5,
.color-scheme-9 {
  --color-background: 40 21 10;
  --color-background-secondary: 90 73 64;
  --color-foreground: 252 234 222;
  --color-foreground-secondary: rgba(252 234 222 / 0.78);
  --color-border: 252 234 222;
  --color-border-alpha: 0.18;
  --color-sale-price: 255 191 149;
  --color-primary-button-background: 252 234 222;
  --color-primary-button-text: 40 21 10;
  --color-secondary-button-background: 90 73 64;
  --color-secondary-button-text: 252 234 222;
  --color-secondary-button-border: 252 234 222;
  --color-input-background: 40 21 10;
  --color-input-text: 252 234 222;
  --color-input-focus-text: 252 234 222;
  --input-border-color: rgb(252 234 222 / 0.45);
  --color-swatch-border: rgb(252 234 222 / 0.25);
}


/* ============================================================================
   3. Type — display capitals
   ============================================================================ */

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.mega-title,
.text-block.h1 > *, .text-block.h2 > *, .text-block.h3 > *,
.text-block.h4 > *, .text-block.h5 > *, .text-block.h6 > *,
.custom-typography,
.custom-typography > * {
  font-family: var(--font-display);
  font-weight: var(--sb-display-weight, 900);
  font-style: var(--sb-display-style, italic);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.text-subheading,
.text-subheading > * {
  font-family: var(--font-display);
  font-style: var(--sb-display-style, italic);
  font-weight: var(--sb-display-weight, 800);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* long-form copy keeps a readable head: article and page bodies */
.rte :is(h1, h2, h3, h4, h5, h6),
.fr-view :is(h1, h2, h3, h4, h5, h6) {
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.btn,
.button:not(.btn) {
  font-family: var(--font-display);
  font-style: var(--sb-display-style, italic);
  font-weight: var(--sb-display-weight, 900);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}


/* ============================================================================
   4. Header — the mark on a puck, pill navigation, paper pucks for the icons
   ============================================================================
   On a home page that opens with the hero banner the bar takes the hero's rust; it
   is white everywhere else. The pills and pucks are paper on both. */

.header { --header-icon-size: 5rem; }
.header__top { column-gap: 2rem; padding-block: 1.4rem; }

body:has(#content_for_index > :first-child .sb-hero) .header,
body:has(#content_for_index > :first-child .sb-hero) .header .header__background-inner {
  --color-background: 140 56 9;
  --color-foreground: 252 234 222;
  --color-border: 252 234 222;
}

/* Home page opening with the hero: while the page sits at the top the bar is
   transparent and the hero runs up under it; once the page scrolls (the sticky
   header adds body.header-pinned) the bar takes the hero's colour back. The hero
   gets the header's height on top of its own padding and minimum height, so its
   copy keeps clear of the bar and the picture shows the same area as before. */
.header__background-inner { transition: background-color 0.25s ease, border-radius 0.1s ease-in-out, box-shadow 0.25s ease-in-out; }
body.template-index:has(#content_for_index > :first-child .sb-hero) .header-section {
  margin-block-end: calc(-1 * var(--header-height, 8.4rem));
}
/* only while nothing in the bar is in use: hovering it, keyboard focus in it, an
   open dropdown / mega menu (details[open]) or the unrolled search bring the
   solid bar back, so the menu panel hangs from a coloured bar, not the photo */
body.template-index:not(.header-pinned):has(#content_for_index > :first-child .sb-hero) .header-section:not(:hover, :focus-within, :has(details[open], .header__search.is-open)) .header__background-inner {
  background-color: transparent;
}
body.template-index #content_for_index > :first-child .sb-hero {
  padding-block-start: calc(var(--header-height, 8.4rem) + clamp(3.2rem, 8vw, 6.4rem));
}
@media (min-width: 900px) {
  body.template-index #content_for_index > :first-child .sb-hero {
    min-height: calc(820px + var(--header-height, 8.4rem));
    padding-block-start: calc(var(--header-height, 8.4rem) + clamp(6.4rem, 8vw, 12rem));
  }
}

.header__logo--mark .sb-mark { width: 5.2rem; height: 5.2rem; display: block; }
.header__logo--mark .sb-mark--light { display: none; }
body:has(#content_for_index > :first-child .sb-hero) .header__logo--mark .sb-mark--light { display: block; }
body:has(#content_for_index > :first-child .sb-hero) .header__logo--mark .sb-mark--dark { display: none; }
@media (min-width: 1024px) { .header__logo--mark .sb-mark { width: 6rem; height: 6rem; } }

/* navigation: 50px paper pills, ink on hover; centred between the mark and the icons */
@media (min-width: 1024px) {
  .header--logo-left { --header-grid-template: "logo nav icons" / auto 1fr auto; }
}
.header__navigation { justify-content: center; }
.header__menu > ul { gap: 0.64rem; }
.header__top .menu__item {
  height: 5rem;
  padding: 0 2.4rem;
  border-radius: 99.9rem;
  background: var(--sb-paper);
  color: var(--sb-ink);
  font-size: 1.68rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}
.header__top .menu__item::before { background: var(--sb-ink); }
.header__top .menu__item:hover,
.header__top details[open] > summary .menu__item,
.header__top li:hover > details > summary .menu__item { color: var(--sb-paper); }
.header__top li:hover > details > summary .menu__item::before,
.header__top details[open] > summary .menu__item::before { opacity: 1; }

/* icons: paper pucks */
.header__buttons { gap: 0.56rem; }
.header__top .header__buttons > :is(a, button, .header__icon) {
  border-radius: 50%;
  background: var(--sb-paper);
  color: var(--sb-ink);
  transition: background-color var(--sb-dur) var(--sb-ease), color var(--sb-dur) var(--sb-ease);
}
.header__top .header__buttons > :is(a, button, .header__icon):hover { background: var(--sb-ink); color: var(--sb-paper); }
.header__top .header__buttons .header__icon > a { color: inherit; }
body:has(#content_for_index > :first-child .sb-hero) .header__top .header__buttons > :is(a, button, .header__icon):hover { background: var(--sb-peach); color: var(--sb-ink); }

/* search: a paper pill */
.header__search { margin-inline-end: 0.8rem; }
.header__search .search__form .search__input,
.header__search .search__form--transparent .search__input:not(:focus) {
  background: var(--sb-paper);
  color: var(--sb-ink);
  border-radius: 99.9rem;
  height: 5rem;
  padding-inline-start: 2.2rem;
  font-size: 1.4rem;
}
.header__search .search__form .search__input::placeholder { color: var(--sb-ink-subtle); opacity: 1; }
.header__search .search__submit { color: var(--sb-ink); }
/* Collapsed search (Header > Search field placeholder left blank): closed, the
   toggle is a paper puck like the account and cart icons, and the clipped field
   under it is rounded to the same circle, so no square corner of the pill shows. */
.header__top .header__search--collapsed > .header__search-toggle {
  border-radius: 50%;
  background: var(--sb-paper);
  color: var(--sb-ink);
  transition: background-color var(--sb-dur) var(--sb-ease), color var(--sb-dur) var(--sb-ease);
}
.header__top .header__search--collapsed > .header__search-toggle:hover { background: var(--sb-ink); color: var(--sb-paper); }
body:has(#content_for_index > :first-child .sb-hero) .header__top .header__search--collapsed > .header__search-toggle:hover { background: var(--sb-peach); color: var(--sb-ink); }
.header__search--collapsed .search__header { clip-path: inset(0 0 0 calc(100% - var(--header-icon-size)) round 99.9rem); }
.header__search--collapsed.is-open .search__header { clip-path: inset(0 round 99.9rem); }

/* the panels the bar opens are paper, whatever the bar's own ground */
.header .mega-menu,
.header .dropdown,
.header .search__content {
  --color-background: 252 234 222;
  --color-background-secondary: 255 255 255;
  --color-foreground: 40 21 10;
  --color-border: 40 21 10;
  color: var(--sb-ink);
}


/* ============================================================================
   5. Tabs, product cards, rails
   ============================================================================ */

.tabs__button {
  height: 4.4rem;
  padding: 0 1.9rem;
  background: var(--sb-paper);
  color: var(--sb-ink);
  font-family: var(--font-display);
  font-style: var(--sb-display-style, italic);
  font-weight: var(--sb-display-weight, 800);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.tabs__button::before { background: var(--sb-ink); }
.tabs__button:hover,
.tabs__button[aria-selected="true"] { color: var(--sb-paper); }

/* cards: a paper tile, centred capitals under it, an ink puck to add */
.product-card__media { background: var(--sb-paper); border-radius: var(--sb-radius); }
.product-card__content { --content-alignment: center; }
.product-card__content--wrapper { text-align: center; align-items: center; }
.product-card__title {
  font-family: var(--font-display);
  font-style: var(--sb-display-style, italic);
  font-weight: var(--sb-display-weight, 900);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 1.68rem;
  line-height: 1.1;
}
.product-card__price { justify-content: center; font-size: 1.6rem; }
.product-card .quick-add {
  --color-primary-button-background: 40 21 10;
  --color-primary-button-text: 252 234 222;
}
.badge { font-weight: 600; letter-spacing: 0.02em; }


/* ============================================================================
   6. Footer — ink, square to the page, a display-capitals sign-up line
   ============================================================================ */

.footer .text-block.h1,
.footer .text-block.h1 > * { font-size: clamp(3rem, 3.4vw, 4.8rem); line-height: 1; }
.footer h2, .footer h3, .footer h4, .footer .h5, .footer .h6 { font-size: 1.6rem; }
.footer { border-radius: 0 !important; }



/* ============================================================================
   7. Product page — pill options, a paper tile for the gallery
   ============================================================================ */

.variant-option__button-label:not(.variant-img-label-wrapper) {
  border-radius: 99.9rem;
  min-height: 4.4rem;
  padding-inline: 1.8rem;
  font-weight: 600;
}
.variant-option__button-label.variant-img-label-wrapper { border-radius: 1.6rem; overflow: hidden; }
.product__media-wrapper .media,
.media-gallery .media { background-color: var(--sb-paper); }
.product__title { letter-spacing: -0.015em; }
/* Buy column rhythm: the price needs air under the display title, and the platform's
   tabbed description (.product-description-tabs, rendered instead of
   .product-description when the description has tabs) gets the same top gap the
   plain description already has. */
.product-details > .product-price-block { margin-block-start: 1.2rem; }
.product-details > .product-description-tabs { margin-block-start: 2.4rem; }
/* Its phone accordion rows are <h3>, so they pick up the display heading face; a row
   label reads as UI text, and keeps clear of the chevron when it wraps. */
.product-description-tabs .tab_drawer_heading {
  font-family: var(--font-body--family, inherit);
  font-style: normal;
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  padding-inline-end: 4.4rem;
}


/* ============================================================================
   10. Shared sb- hardware: container, titles, pills, round buttons
   ============================================================================ */

.sb-wrap {
  width: min(100% - 4rem, 1392px);
  margin-inline: auto;
}
@media (min-width: 900px) { .sb-wrap { width: min(100% - 4.8rem, 1392px); } }

.sb-title {
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase;
  font-size: clamp(3.36rem, 4.6vw, 6.8rem); line-height: 0.98; letter-spacing: -0.015em;
  text-wrap: balance; margin: 0;
}
.sb-lede { color: var(--sb-ink-muted); max-width: 54ch; margin: 1.6rem 0 0; font-size: 1.68rem; line-height: 1.6; }
.sb-eyebrow {
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 800);
  font-size: 1.4rem; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--sb-ink-muted); margin: 0 0 1.2rem;
}
.sb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.4rem; margin-bottom: clamp(2.4rem, 3vw, 4rem); }
.sb-head > div:first-child { min-width: 0; }
.sb-head .sb-eyebrow { margin-bottom: 0.8rem; }
@media (max-width: 699px) { .sb-head { flex-direction: column; align-items: flex-start; } }

.sb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.96rem;
  height: 5rem; padding: 0 2.56rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900);
  font-size: 1.52rem; text-transform: uppercase; letter-spacing: 0.01em;
  line-height: 1; white-space: nowrap; text-decoration: none;
  transition: transform var(--sb-dur) var(--sb-ease), background-color var(--sb-dur) var(--sb-ease), color var(--sb-dur) var(--sb-ease), box-shadow var(--sb-dur) var(--sb-ease);
}
/* reference.css slides a fill in on hover under every class containing "btn--"
   ([class*=btn--]::before), which sb-btn--ink / --paper match. The pill is not
   positioned, so that fill spread over the whole band and buried the button. */
html .sb-btn.sb-btn::before { content: none; }
.sb-btn--ink { background: var(--sb-ink); color: var(--sb-paper); }
.sb-btn--paper { background: var(--sb-paper); color: var(--sb-ink); }
/* Every pill sits on a band whose colours the merchant picks (hero, offer band,
   featured product), so no fixed hover fill is safe: rust vanished on the rust
   hero, paper on the peach offer band. On hover the pill empties and outlines
   itself in the band's own text colour, which reads on whatever band it is on. */
.sb-btn--ink:hover,
.sb-btn--paper:hover,
.sb-cta:hover .sb-btn {
  background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor;
}
.sb-cta { display: inline-flex; align-items: center; gap: 0.56rem; color: inherit; text-decoration: none; }
.sb-cta__circle {
  display: inline-grid; place-items: center; width: 5rem; height: 5rem;
  border-radius: 50%; background: var(--sb-ink); color: var(--sb-paper); flex: none;
  transition: transform var(--sb-dur) var(--sb-ease);
}
.sb-cta:hover .sb-cta__circle { transform: rotate(45deg); }
.sb-cta--paper .sb-cta__circle { background: var(--sb-paper); color: var(--sb-ink); }
.sb-icon { width: 2rem; height: 2rem; flex: none; fill: none; stroke: currentColor; display: block; }
.sb-icon--sm { width: 1.6rem; height: 1.6rem; }
.sb-link {
  display: inline-flex; align-items: center; gap: 0.64rem; color: inherit;
  font-weight: 600; font-size: 1.4rem;
  text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgb(var(--sb-link-line, 217 185 163));
}
.sb-link:hover { text-decoration-color: currentColor; }

/* a product photo shot on white sits on the paper tile as if cut out */
.sb-blend { mix-blend-mode: multiply; }

/* the round add control: <add-to-cart-button> keeps its own loading contract */
html add-to-cart-button.sb-add { display: inline-grid; flex: none; }
.sb-add__btn {
  display: inline-grid; place-items: center; width: 4rem; height: 4rem; padding: 0; border: 0;
  border-radius: 50%; background: var(--sb-ink); color: var(--sb-paper); cursor: pointer;
  transition: background-color var(--sb-dur) var(--sb-ease), transform var(--sb-dur) var(--sb-ease);
}
.sb-add__btn:hover { background: var(--sb-rust); color: var(--sb-paper); }
.sb-add__btn svg { width: 1.6rem; height: 1.6rem; }
.sb-add .loading-overlay { color: var(--sb-paper); }


/* ============================================================================
   11. Hero banner — a flat colour field, headline left, pack right, curved ribbon
   ============================================================================ */

.sb-hero {
  position: relative; overflow: hidden; display: grid; align-content: start;
  background-color: var(--sb-hero-bg, var(--sb-rust)); color: var(--sb-hero-ink, var(--sb-paper));
  aspect-ratio: 880 / 1820;
  padding-block: clamp(2.4rem, 5vw, 8rem) 0;
}
.sb-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sb-hero__bg--m { object-position: center bottom; }
.sb-hero__bg--d { display: none; }
.sb-hero__bg--t { display: none; }
/* Tablets (600–899px) with a tablet picture: the picture sits in the flow, so the
   banner is as tall as the picture (not the phone picture's tall frame), and the
   copy shares its grid cell, laid over the top with the banner's own top padding. */
@media (min-width: 600px) and (max-width: 899px) {
  .sb-hero.sb-hero--has-tablet,
  body.template-index #content_for_index > :first-child .sb-hero.sb-hero--has-tablet {
    aspect-ratio: auto; padding-block-start: 0; min-height: 0;
  }
  .sb-hero--has-tablet .sb-hero__bg--m { display: none; }
  .sb-hero--has-tablet .sb-hero__bg--t {
    display: block; position: relative; inset: auto; grid-area: 1 / 1;
    width: 100%; height: auto; object-fit: initial;
  }
  .sb-hero--has-tablet .sb-hero__in { grid-area: 1 / 1; align-self: start; padding-block-start: clamp(2.4rem, 5vw, 8rem); }
  body.template-index #content_for_index > :first-child .sb-hero--has-tablet .sb-hero__in {
    padding-block-start: calc(var(--header-height, 8.4rem) + clamp(3.2rem, 8vw, 6.4rem));
  }
}
.sb-hero__in { position: relative; z-index: 2; display: grid; align-items: center; }
.sb-hero__copy { padding-bottom: 3.2rem; }
.sb-hero__title {
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase;
  font-size: clamp(5.44rem, 9.6vw, 14.8rem); line-height: 0.92; letter-spacing: -0.015em;
  text-wrap: balance; max-width: 10ch; margin: 0; color: inherit;
}
.sb-hero__lede { margin: 2rem 0 0; max-width: 44ch; font-size: 1.68rem; line-height: 1.6; color: inherit; opacity: 0.86; }
.sb-hero__copy .sb-cta { margin-top: 2.8rem; }
.sb-ribbon { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 170px; width: 100%; pointer-events: none; }
.sb-ribbon svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.sb-ribbon__under { fill: var(--sb-ribbon-under, var(--sb-paper)); }
.sb-ribbon__band { fill: var(--sb-ribbon-bg, var(--sb-peach)); }
.sb-ribbon__text { fill: var(--sb-ribbon-ink, var(--sb-ink)); font-family: var(--font-sans); font-size: 68px; font-weight: 400; }
.sb-hero--plain { aspect-ratio: auto; padding-bottom: clamp(3.2rem, 6vw, 8rem); }
@media (min-width: 900px) {
  .sb-hero { aspect-ratio: auto; min-height: 820px; align-content: center; padding-block: clamp(3.2rem, 5vw, 8rem) 0; }
  .sb-hero__bg--m { display: none; }
  .sb-hero__bg--d { display: block; object-position: right center; }
  .sb-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3.2rem; }
  /* clears the ribbon, then leaves a band of hero below the button */
  .sb-hero__copy { padding-bottom: calc(clamp(16vw, 21vw, 400px) + clamp(3.2rem, 4vw, 6.4rem)); }
  .sb-hero--plain .sb-hero__copy { padding-bottom: 0; }
  .sb-hero__title { font-size: clamp(5.44rem, 8.9vw, 13.6rem); }
  .sb-hero__lede { margin-top: 2.4rem; font-size: 1.76rem; }
  .sb-hero__copy .sb-cta { margin-top: 3.6rem; }
  .sb-ribbon { height: auto; aspect-ratio: 1920 / 500; }
}


/* ============================================================================
   12. Collection words — the giant stacked list, a colour puck on the live word
   ============================================================================ */

.sb-words {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(4.8rem, 7vw, 11.2rem) clamp(5.6rem, 9vw, 14.4rem);
  background: var(--sb-words-bg, var(--sb-paper)); color: var(--sb-ink);
}
.sb-words .sb-wrap { position: relative; z-index: 1; }
.sb-words__label { margin: 0 0 2.4rem; font-size: 1.76rem; }
.sb-words__list { display: grid; gap: 0; justify-items: center; list-style: none; margin: 0; padding: 0; }
.sb-words__item {
  display: inline-block; position: relative; padding: 0 0.2em;
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase;
  font-size: clamp(2.8rem, 6.4vw, 10rem); line-height: 1; letter-spacing: -0.02em;
  color: var(--sb-ink-faded); border-radius: 0.3em; text-decoration: none;
  transition: color var(--sb-dur) var(--sb-ease), background-color var(--sb-dur) var(--sb-ease);
}
.sb-words__item:hover, .sb-words__item:focus-visible,
.sb-words__list:not(:has(.sb-words__item:hover, .sb-words__item:focus-visible)) .sb-words__item.is-active {
  color: var(--sb-ink); background: var(--sb-puck, var(--sb-peach));
}
.sb-words__bag {
  position: absolute; z-index: 0; height: auto; pointer-events: none;
  filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.18));
  transition: transform 0.6s var(--sb-ease);
}
.sb-words__bag--a { left: 2%; top: 38%; width: clamp(90px, 13vw, 210px); transform: rotate(-12deg); }
.sb-words__bag--b { right: 2%; top: 26%; width: clamp(110px, 15vw, 250px); transform: rotate(10deg); }
.sb-words__bag--c { left: 12%; top: 10%; width: clamp(40px, 5vw, 80px); transform: rotate(18deg); }
.sb-words:hover .sb-words__bag--a { transform: rotate(-6deg) translateY(-10px); }
.sb-words:hover .sb-words__bag--b { transform: rotate(4deg) translateY(-14px); }
.sb-words:hover .sb-words__bag--c { transform: rotate(28deg) translateY(-6px); }
.sb-words__all { margin: 3.2rem 0 0; }
@media (max-width: 699px) {
  .sb-words__bag--a { left: -6%; top: auto; bottom: 6%; }
  .sb-words__bag--b { right: -8%; top: 8%; }
  .sb-words__bag--c { display: none; }
}


/* ============================================================================
   13. Offer band — a tinted field, centred offer, two packs at its edges
   ============================================================================ */

.sb-offer { position: relative; background: var(--sb-offer-bg, var(--sb-sky)); color: var(--sb-offer-ink, var(--sb-ink)); padding-block: clamp(6.4rem, 8vw, 11.2rem); overflow: hidden; }
.sb-offer__in { position: relative; z-index: 1; display: grid; justify-items: center; text-align: center; }
.sb-offer__copy { display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.sb-offer .sb-eyebrow { color: inherit; opacity: 0.8; }
.sb-offer .sb-lede { margin-inline: auto; color: inherit; opacity: 0.8; }
.sb-offer__copy .sb-cta { margin-top: 2.8rem; }
.sb-wave { text-decoration: underline wavy; text-decoration-thickness: 3px; text-underline-offset: 0.12em; text-decoration-color: var(--sb-rust); }
.sb-offer__bag { position: absolute; z-index: 0; height: auto; filter: drop-shadow(0 18px 28px rgb(0 0 0 / 0.18)); }
.sb-offer__bag--l { left: -3%; bottom: -12%; width: clamp(120px, 20vw, 320px); transform: rotate(-14deg); }
.sb-offer__bag--r { right: -2%; top: -10%; width: clamp(110px, 18vw, 300px); transform: rotate(12deg); }
@media (max-width: 899px) { .sb-offer__bag--l { left: -14%; width: 150px; } .sb-offer__bag--r { right: -12%; width: 140px; } .sb-offer__copy { padding-inline: 4rem; } }


/* ============================================================================
   14. Benefit tiles — a colour card beside its product, checkerboard
   ============================================================================ */

.sb-tiles { background: var(--sb-white); color: var(--sb-ink); padding-block: clamp(5.6rem, 7vw, 10.4rem); }
.sb-tiles__head { max-width: 920px; margin-bottom: clamp(3.2rem, 4vw, 5.6rem); }
.sb-tiles__grid { display: grid; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.sb-tile {
  position: relative; border-radius: 36px; overflow: hidden; min-height: 320px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: clamp(2.8rem, 4vw, 5.6rem); background: var(--sb-tile-bg, var(--sb-peach));
}
.sb-tile__title {
  font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase;
  font-size: clamp(2.56rem, 2.6vw, 3.84rem); line-height: 0.98; letter-spacing: -0.015em; margin: 0 0 1.6rem;
}
.sb-tile__text { max-width: 44ch; font-size: 1.6rem; line-height: 1.6; margin: 0; }
.sb-tile--pack { padding: 0; background: var(--sb-pack); aspect-ratio: 4 / 3; min-height: 0; width: 100%; min-width: 0; }
.sb-tile--pack > a, .sb-tile__media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.sb-tile--pack img { width: auto; max-width: 80%; height: 92%; object-fit: contain; transform: rotate(-6deg); transition: transform 0.8s var(--sb-ease); }
.sb-tile--pack:hover img { transform: rotate(0deg) scale(1.04); }
@media (min-width: 760px) {
  .sb-tiles__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  /* the markup prints each pair picture-first (phones); --sb-o lays the checkerboard */
  .sb-tiles__grid > .sb-tile { order: var(--sb-o, 0); }
  .sb-tile { min-height: 0; aspect-ratio: 1.3; width: 100%; }
}


/* ============================================================================
   16. Featured product — an ink band, the pack on its own ground
   ============================================================================ */

.sb-feature { background: var(--sb-feature-bg, var(--sb-ink)); color: var(--sb-feature-ink, var(--sb-paper)); padding-block: clamp(5.6rem, 7vw, 10.4rem); }
.sb-feature__in { display: grid; gap: 3.2rem; align-items: center; }
.sb-feature__tile { position: relative; display: flex; align-items: center; justify-content: center; border-radius: 40px; background: var(--sb-pack); aspect-ratio: 1; overflow: hidden; }
.sb-feature__tile img { width: auto; max-width: 86%; height: 86%; object-fit: contain; transform: rotate(-5deg); transition: transform 0.8s var(--sb-ease); }
.sb-feature__tile:hover img { transform: rotate(0deg) scale(1.03); }
.sb-feature__badge { position: absolute; top: 1.44rem; left: 1.44rem; z-index: 1; padding: 0.56rem 1.12rem; border-radius: 6px; background: rgb(var(--color-sale-badge-background)); color: rgb(var(--color-sale-badge-text)); font-size: 1.2rem; font-weight: 600; }
.sb-buy { display: grid; gap: 1.6rem; }
.sb-buy .sb-eyebrow { margin-bottom: 0; color: var(--sb-peach); }
.sb-buy__title { font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase; font-size: clamp(3.84rem, 4.4vw, 6.4rem); line-height: 0.98; letter-spacing: -0.015em; margin: 0; }
.sb-buy__title a { color: inherit; text-decoration: none; }
.sb-buy__title a:hover { text-decoration: underline; text-underline-offset: 0.1em; }
.sb-buy__price { font-size: 2.8rem; font-weight: 600; }
/* the shared price snippet sets its own 1.4rem ink type; here the price takes the
   band's size, weight and text colour */
.sb-buy .sb-buy__price :is(.price, .price-item, .money) { font-size: inherit; font-weight: inherit; color: inherit; }
.sb-buy__price .price-container { --color-sale-price: 255 191 149; font-size: inherit; display: flex; align-items: baseline; gap: 0.96rem; flex-wrap: wrap; }
.sb-buy__price .price__compare, .sb-buy__price .compare-at-price { color: var(--sb-paper-dim); font-weight: 400; }
.sb-buy__lede { color: inherit; opacity: 0.84; font-size: 1.68rem; line-height: 1.6; margin: 0; }
.sb-buy__row { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.sb-buy__add { display: inline-flex; align-items: center; gap: 0.56rem; }
html .sb-buy add-to-cart-button { display: inline-grid; }
.sb-buy .sb-link { --sb-link-line: 252 234 222 / 0.45; }
@media (min-width: 900px) { .sb-feature__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6.4rem; } }


/* ============================================================================
   17. Press logos
   ============================================================================ */

.sb-press { background: var(--sb-white); padding-block: clamp(3.6rem, 4vw, 5.6rem); border-bottom: 1px solid var(--sb-line); }
.sb-press__in { display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.sb-press .sb-eyebrow { margin: 0; }
.sb-press__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 4.4rem; list-style: none; margin: 0; padding: 0; }
.sb-press__logos img { height: 26px; width: auto; display: block; }
@media (min-width: 900px) { .sb-press__logos img { height: 30px; } }


/* ============================================================================
   18. Recipe cards
   ============================================================================ */

.sb-recipes { background: var(--sb-white); color: var(--sb-ink); padding-block: clamp(5.6rem, 7vw, 10.4rem); }
.sb-recipes__grid { display: grid; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.sb-recipe { position: relative; }
.sb-recipe__media { position: relative; border-radius: var(--sb-radius); overflow: hidden; aspect-ratio: 441 / 200; background: var(--sb-paper); }
.sb-recipe__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--sb-ease); }
.sb-recipe:hover .sb-recipe__media img { transform: scale(1.04); }
.sb-recipe__tag {
  position: absolute; left: 1.36rem; bottom: 1.36rem; display: inline-flex; align-items: center; gap: 0.64rem;
  height: 3.2rem; padding: 0 1.28rem; border-radius: 999px; background: var(--sb-paper); color: var(--sb-ink);
  font-size: 1.2rem; font-weight: 500; line-height: 1;
}
.sb-recipe__title { font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 900); text-transform: uppercase; font-size: 2.16rem; line-height: 1; letter-spacing: -0.015em; margin: 1.6rem 0 0; }
.sb-recipe__title a { color: inherit; text-decoration: none; }
.sb-recipe__title a::after { content: ""; position: absolute; inset: 0; }
.sb-recipe__meta { color: var(--sb-ink-subtle); font-size: 1.4rem; margin: 0.56rem 0 0; }
@media (min-width: 700px) { .sb-recipes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.2rem 2.8rem; } }


/* ============================================================================
   19. Review cards
   ============================================================================ */

.sb-reviews { padding-block: clamp(5.6rem, 7vw, 10.4rem); background: var(--sb-reviews-bg, var(--sb-paper)); color: var(--sb-ink); }
.sb-reviews .sb-title { text-align: center; margin-bottom: clamp(3.2rem, 4vw, 5.6rem); }
.sb-reviews__list { display: grid; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.sb-review { display: flex; flex-direction: column; background: var(--sb-white); border-radius: var(--sb-radius); padding: clamp(2.4rem, 2.5vw, 3.6rem); }
.sb-review blockquote { font-size: 1.68rem; line-height: 1.55; text-wrap: pretty; font-weight: 500; margin: 0; }
.sb-review cite { display: block; margin-top: 1.6rem; font-style: var(--sb-display-style, italic); font-family: var(--font-display); font-weight: var(--sb-display-weight, 800); font-size: 1.4rem; letter-spacing: 0.02em; text-transform: uppercase; }
.sb-review__prod { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); gap: 1.44rem; align-items: center; margin-top: auto; padding-top: 2.4rem; text-decoration: none; color: inherit; }
.sb-review__img { display: block; width: 7.2rem; aspect-ratio: 33 / 40; border-radius: 14px; background: var(--sb-pack); overflow: hidden; }
.sb-review__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; display: block; }
.sb-review__name { font-family: var(--font-display); font-style: var(--sb-display-style, italic); font-weight: var(--sb-display-weight, 800); text-transform: uppercase; font-size: 1.4rem; }
.sb-review__prod:hover .sb-review__name { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 900px) { .sb-reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; } }

/* Phones search from the menu drawer: below 1024px (where the burger and drawer
   live) the header keeps menu, logo and cart, and the drawer header carries the
   search button next to its close button. */
@media screen and (max-width: 1023px) {
  .header__icons .search-drawer-button { display: none; }
}
.menu-drawer__search { width: 4.4rem; height: 4.4rem; align-self: center; }
