/* ==========================================================================
   Grillsons — mobile identity layer
   Loaded after design-system.css (inc/mobile.php). Everything visual lives in
   the phone block (max-width: 860px); the top section only holds defaults for
   the new elements (hidden on wide screens) and a few fixes that are wrong at
   every width.

   The idea, in the shop's own objects:
     • Pack label  — every product card closes with the cream sticker from the
                     real vacuum pack (docs/packing-guide.html): net weight,
                     price, and a "+" that adds exactly that pack.
     • The board   — the menu is the price board behind the counter: numbered
                     sections, dotted leaders, counts in Space Mono.
     • The scale   — the basket in the tab bar is a scale readout: the running
                     total in gold digits, the item count on a brick chip.
     • The docket  — money is printed on paper: cart and checkout summaries are
                     a torn-edge receipt with dotted leaders.
     • Hang tags   — category tabs are cut like tags, with the punched hole.
     • The seal    — the gold-foil roundel that closes the delivery box stamps
                     the order confirmation and the footer.
   ========================================================================== */

/* -------------------------------------------------------------------------
   0. All widths: defaults for the new elements + fixes
   ------------------------------------------------------------------------- */

/* New phone-only elements stay out of the wide layouts entirely. */
.gs-tabbar,
.gs-catrail,
.gs-filterbtn,
.gs-facets__sheethead,
.gs-facets__sheetfoot,
.gs-facets__scrim,
.gs-actionbar,
.gs-buybar,
.gs-card__tag,
.gs-footer__seal,
.gs-drawer__grip { display: none; }

/* The promo ticker's wrappers flatten on wide screens, so the centred row of
   notes is exactly what it was; the duplicate set exists only for the loop. */
.gs-promo__track,
.gs-promo__set { display: contents; }
.gs-promo__set--dup,
.gs-promo__sep--tail { display: none; }

/* Screen-reader-only text was offset by margin:-1px. In RTL its static
   position is the right edge, so the 1px box sat at 375–376px on a 375px
   phone: the Arabic product and checkout pages became 1px wider than the
   screen, which mobile browsers answer by zooming the whole page out. */
.screen-reader-text { margin: 0; }
.screen-reader-text:not(:focus) { top: 0; left: 0; }
/* Same 1px for the clipped native controls behind the pack cards and slot
   pills (design-system pins them at left:0 with margin:-1px — in RTL that is
   one pixel of scrollable overflow on every product page and at checkout). */
.gs-visually-hidden { margin: 0 !important; }
table.gs-visually-hidden { display: block !important; }
/* The skip link was invisible even when focused. */
.screen-reader-text:focus {
  clip: auto; clip-path: none; width: auto; height: auto; overflow: visible;
  top: 8px; inset-inline-start: 8px; z-index: 100000; padding: 12px 16px;
  background: var(--gold); color: var(--surface-ink); border-radius: 8px;
  font-weight: 700; white-space: nowrap;
}

/* Pagination rendered list bullets between the page numbers. */
nav.woocommerce-pagination ul,
nav.woocommerce-pagination ul li { list-style: none; }
nav.woocommerce-pagination ul { padding: 0; }
[dir="rtl"] nav.woocommerce-pagination .next,
[dir="rtl"] nav.woocommerce-pagination .prev { display: inline-flex; transform: scaleX(-1); }

/* "Our pick" was CSS content, so it stayed English on the Arabic home page. */
.gs-done--pick[data-pick]::after { content: attr(data-pick); }

/* RTL: the step numbers in checkout headings were mirrored along with the
   decoration (a flipped "1" reads as a stray mark). */
[dir="rtl"] .gs-cosec__h span { transform: none; }

/* The board (menu sheet content) — used by the tablet side drawer too. */
.gs-board { list-style: none; margin: 0; padding: 0; }
.gs-board__row.gs-drawer__link {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 4px; min-height: 48px; border-radius: 0; background: none;
}
.gs-board__row:hover { background: none; }
.gs-board__n {
  flex: none; width: 24px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .06em; color: var(--gold);
}
.gs-board__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  letter-spacing: -.015em; color: var(--text-bright); line-height: 1.1;
}
.gs-board__dots {
  flex: 1 1 auto; min-width: 18px; align-self: flex-end;
  border-bottom: 2px dotted rgba(237, 230, 216, .2); margin-bottom: 7px;
}
.gs-board__count {
  flex: none; font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.gs-board__row:hover .gs-board__name,
.gs-board__row.is-current .gs-board__name { color: var(--gold-bright); }
.gs-board__row.is-current .gs-board__dots { border-color: rgba(212, 162, 78, .5); }
.gs-board__row:focus-visible { outline-offset: -2px; border-radius: 8px; }

.gs-drawer__brand-txt { display: flex; flex-direction: column; gap: 3px; }
.gs-drawer__kicker {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold);
}

.gs-boardsearch {
  position: relative; display: flex; align-items: center; height: 50px;
  margin: 14px 20px 4px; background: var(--surface-2);
  border: 1px solid var(--hairline-2); border-radius: 12px;
  transition: border-color .2s;
}
.gs-boardsearch:focus-within { border-color: rgba(212, 162, 78, .6); }
.gs-boardsearch > svg { position: absolute; inset-inline-start: 14px; color: var(--text-dim); pointer-events: none; }
.gs-boardsearch__in {
  flex: 1; min-width: 0; height: 100%; background: none; border: 0; color: var(--text);
  font-size: 16px; padding-block: 0; padding-inline: 42px 8px;
}
.gs-boardsearch__in::placeholder { color: var(--text-dim); }
.gs-boardsearch__in:focus-visible { outline: none; }
.gs-boardsearch__go {
  flex: none; width: 44px; height: 44px; margin-inline-end: 3px;
  display: grid; place-items: center; border: 0; border-radius: 10px;
  background: var(--gold); color: var(--surface-ink);
}
[dir="rtl"] .gs-boardsearch__go svg { transform: scaleX(-1); }

.gs-drawer__util { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 20px 14px; }
.gs-drawer__util a {
  display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 12px;
  border: 1px solid var(--hairline-2); border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.gs-drawer__util a:hover { border-color: rgba(212, 162, 78, .45); color: var(--text); }
.gs-drawer__util svg { flex: none; color: var(--gold); }

.gs-drawer__sign { display: flex; align-items: center; gap: 12px; padding-top: 2px; }
.gs-drawer__sign-txt {
  display: flex; flex-direction: column; gap: 3px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
}

/* Halal roundel — as printed on every pack label. */
.gs-halal {
  flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid #B8513F; color: #D98572; line-height: 1;
}
.gs-halal__ar { font-family: 'Tajawal', 'Geeza Pro', system-ui, sans-serif; font-size: 14px; font-weight: 700; }
.gs-halal__en { font-family: var(--font-mono); font-size: 6.5px; letter-spacing: .16em; margin-top: 2px; }

/* The gold-foil seal. */
.gs-seal { display: block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }

/* Order received: the seal stamped over the confirmation, under its heading. */
.woocommerce-order { display: flex; flex-direction: column; }
.woocommerce-order > .woocommerce-thankyou-order-received { order: -2; }
.woocommerce-order > .gs-ticket-seal { order: -1; }
.gs-ticket-seal {
  display: flex; align-items: center; gap: 16px; margin: 0 0 18px; padding: 14px 18px;
  border: 1px solid rgba(212, 162, 78, .3); border-radius: 14px;
  background: linear-gradient(140deg, rgba(212, 162, 78, .1), transparent 60%), var(--surface);
}
.gs-ticket-seal .gs-seal { flex: none; transform: rotate(-8deg); }
.gs-ticket-seal__k {
  display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.gs-ticket-seal__v { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text-2); }

/* -------------------------------------------------------------------------
   1. Phones (and small tablets in portrait)
   ------------------------------------------------------------------------- */
@media (max-width: 860px) {
  :root {
    --pad-x: 16px;
    --gs-bar-h: 62px;
    --gs-safe-b: env(safe-area-inset-bottom, 0px);
    --gs-cream: #F4EEE2;
    --gs-paper: #FFF8F0;
    --gs-ink: #1A140C;
    --gs-label-rule: #DCCFB8;
    --gs-label-dim: #6E6557;
    --gs-gold-rule: linear-gradient(90deg, transparent, rgba(212, 162, 78, .55) 18%, rgba(212, 162, 78, .55) 82%, transparent);
    --gs-chrome-h: 88px; /* promo ticker 30 + header 58; main.js measures the real one */
  }

  /* Room for whichever bar is pinned at the bottom, inside the footer so the
     footer colour runs to the edge of the screen. */
  body { padding-bottom: 0; }
  body.gs-has-tabbar .gs-footer,
  body.gs-has-actionbar .gs-footer { padding-bottom: calc(var(--gs-bar-h) + var(--gs-safe-b)); }
  body.gs-focus-mode .gs-footer { padding-bottom: var(--gs-safe-b); }

  /* iOS zooms into any field under 16px the moment it is focused. */
  .woocommerce input.input-text,
  .woocommerce textarea,
  .woocommerce select,
  .woocommerce-page input.input-text,
  .woocommerce-page textarea,
  .woocommerce-page select,
  .gs-input, .gs-select, .gs-notes,
  input[type="search"], input[type="email"], input[type="tel"],
  input[type="text"], input[type="password"], input[type="number"] { font-size: 16px; }

  /* The floating WhatsApp bubble sat over prices and buttons; Chat is in the
     tab bar now, a thumb away on every page. */
  .gs-wa-float { display: none !important; }
  body.gs-has-tabbar .gs-install { bottom: calc(var(--gs-bar-h) + var(--gs-safe-b) + 10px); }

  /* ---- 1.1 Header: the shop sign ---- */
  .gs-header { border-bottom: 0; }
  .gs-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gs-gold-rule); opacity: .55; pointer-events: none;
  }
  .gs-header__inner,
  .gs-header.is-scrolled .gs-header__inner { padding: 6px var(--pad-x); gap: 10px; min-height: 58px; }
  .gs-logo { gap: 10px; }
  .gs-logo__mark { width: 26px; height: 31px; }
  .gs-logo__name { font-size: 23px; }
  .gs-logo__sub { display: block; font-size: 7.5px; letter-spacing: .3em; margin-top: 4px; }
  .gs-header__actions { gap: 6px; }
  /* Basket, search and menu live in the tab bar on phones. */
  .gs-header__actions > .gs-cart,
  .gs-header__actions > .gs-iconbtn--search,
  .gs-header__actions > .gs-navtoggle { display: none; }
  .gs-header__actions > .gs-langtoggle { display: inline-flex; }
  .gs-header__actions > .gs-langtoggle,
  .gs-header__actions > .gs-iconbtn { width: 44px; height: 44px; min-width: 44px; padding: 0; }
  .gs-header__actions > .gs-langtoggle { font-size: 14px; }
  /* A cart page swaps the tab bar for its Checkout bar: keep the menu here. */
  body.gs-has-actionbar .gs-header__actions > .gs-navtoggle { display: inline-flex; width: 44px; height: 44px; }

  /* ---- 1.2 Promo: a one-line ticker ---- */
  .gs-promo {
    display: block; position: relative; height: 30px; padding: 0; overflow: hidden;
    white-space: nowrap; font-size: 10px; letter-spacing: .16em;
  }
  .gs-promo::before,
  .gs-promo::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 22px; z-index: 1; pointer-events: none;
  }
  .gs-promo::before { left: 0; background: linear-gradient(90deg, var(--bg-promo), transparent); }
  .gs-promo::after { right: 0; background: linear-gradient(270deg, var(--bg-promo), transparent); }
  .gs-promo__track { display: inline-flex; align-items: center; height: 30px; animation: gs-ticker 38s linear infinite; will-change: transform; }
  .gs-promo__set,
  .gs-promo__set--dup { display: inline-flex; align-items: center; gap: 16px; padding-inline-end: 16px; }
  .gs-promo .gs-promo__set > span { display: inline-block; }
  .gs-promo__sep,
  .gs-promo__sep--tail {
    display: inline-block; width: 5px; height: 5px; font-size: 0; opacity: .8;
    background: var(--gold); transform: rotate(45deg);
  }
  .gs-promo:hover .gs-promo__track { animation-play-state: paused; }
  [dir="rtl"] .gs-promo__track { animation-name: gs-ticker-rtl; }

  /* ---- 1.3 Tab bar: Shop · Search · Basket · Chat · Menu ---- */
  .gs-tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
    height: calc(var(--gs-bar-h) + var(--gs-safe-b)); padding-bottom: var(--gs-safe-b);
    background: rgba(14, 12, 10, .95);
    backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
    transition: transform .3s var(--ease-out);
  }
  .gs-tabbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gs-gold-rule); }
  body.gs-buybar-on .gs-tabbar { transform: translateY(110%); }
  .gs-tab {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; min-height: 44px; padding: 6px 2px 5px; margin: 0;
    background: none; border: 0; border-radius: 0; color: var(--text-dim);
    font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .gs-tab svg { color: #CFC4B2; transition: transform .15s; }
  .gs-tab:active svg { transform: scale(.9); }
  .gs-tab__lbl {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em;
    text-transform: uppercase; line-height: 1; white-space: nowrap;
  }
  .gs-tab.is-current,
  .gs-tab.is-current svg { color: var(--gold); }
  .gs-tab.is-current::before {
    content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px;
    border-radius: 0 0 2px 2px; background: var(--gold);
  }
  .gs-tab--chat svg { color: #8FC983; }
  .gs-tab:focus-visible { outline-offset: -4px; border-radius: 10px; }
  /* The basket is the counter scale: gold digits in a dark readout window. */
  .gs-tab__scale {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-width: 70px; height: 27px; padding: 0 8px; border-radius: 6px;
    background: #090806; border: 1px solid rgba(212, 162, 78, .4);
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, .8), 0 0 0 3px rgba(212, 162, 78, .05);
  }
  .gs-tab__scale .gs-cart__total {
    display: inline; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
    letter-spacing: .02em; color: var(--gold-bright); text-shadow: 0 0 8px rgba(231, 178, 78, .35);
    direction: ltr; unicode-bidi: isolate;
  }
  .gs-tab__scale .gs-cart__count {
    position: absolute; top: -8px; inset-inline-end: -9px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
    background: var(--brick); color: var(--text-bright); box-shadow: 0 0 0 2px #0E0C0A;
    font-family: var(--font-mono); font-size: 10px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .gs-tab--basket.is-current .gs-tab__scale { border-color: var(--gold); }
  .gs-tab--basket.is-bumped .gs-tab__scale { animation: gs-scale-bump .8s var(--ease-out); }

  /* ---- 1.4 The board: menu as a bottom sheet ---- */
  .gs-drawer,
  [dir="rtl"] .gs-drawer {
    inset: auto 0 0 0; width: 100%; height: auto; max-height: min(90svh, 760px);
    border: 0; border-top: 1px solid rgba(212, 162, 78, .35); border-radius: 20px 20px 0 0;
    box-shadow: 0 -24px 60px rgba(0, 0, 0, .6);
    background: radial-gradient(120% 50% at 50% 0%, rgba(140, 47, 35, .16), transparent 62%), var(--bg-promo);
    padding-bottom: var(--gs-safe-b);
    transform: translateY(102%);
    overscroll-behavior: contain;
  }
  body.gs-nav-open .gs-drawer { transform: none; }
  .gs-drawer__grip {
    display: block; flex: none; width: 40px; height: 4px; margin: 9px auto 0;
    border-radius: 4px; background: rgba(237, 230, 216, .22);
  }
  .gs-drawer__head { padding: 8px var(--pad-x) 4px; border-bottom: 0; }
  .gs-drawer__close { width: 44px; height: 44px; }
  .gs-boardsearch { margin: 10px var(--pad-x) 2px; }
  .gs-drawer__nav { padding: 6px var(--pad-x) 4px; gap: 0; }
  .gs-drawer__util { padding: 6px var(--pad-x) 14px; }
  .gs-drawer__foot { margin-top: 0; padding: 14px var(--pad-x) 16px; gap: 12px; }
  .gs-drawer__cart { display: none; }
  .gs-drawer__lang .gs-langtoggle { min-width: 46px; height: 44px; font-size: 13px; }

  /* ---- 1.5 Product cards: the pack label ---- */
  .gs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gs-card {
    border-radius: 14px; border-color: rgba(237, 230, 216, .07); background: var(--surface);
    overflow: visible;
  }
  .gs-card:hover { transform: none; box-shadow: none; border-color: rgba(237, 230, 216, .07); }
  .gs-card__media { aspect-ratio: 1 / 1; border-radius: 14px 14px 0 0; }
  .gs-card__qa, .gs-card__ov, .gs-card__sheen { display: none !important; }
  .gs-card:hover .gs-card__img { transform: none; }
  .gs-card__badge { top: 8px; left: 8px; font-size: 9px; padding: 4px 8px; letter-spacing: .08em; }
  [dir="rtl"] .gs-card__badge { left: auto; right: 8px; }
  /* The sticker: stuck over the bottom of the photo like the label on a pack. */
  .gs-card__body {
    position: relative; z-index: 1; flex: 1; margin: -18px 7px 7px; padding: 10px 10px 7px;
    gap: 0; border-radius: 9px; background: var(--gs-cream); color: var(--gs-ink);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .5), 0 0 0 1px rgba(26, 20, 12, .06);
  }
  .gs-card__name {
    order: 1; font-family: var(--font-display); font-weight: 800; font-size: 15px;
    line-height: 1.13; letter-spacing: -.015em; color: var(--gs-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 2.26em;
  }
  .gs-card__name::after { inset: -6px 0; }
  /* Two lines, not one ellipsis: "BONE-IN · 14-DAY DRY-AGED" and the Arabic cut lines
     were cut off mid-word on a 160px card. */
  .gs-card__cut {
    order: 2; margin-top: 4px; font-size: 8.5px; line-height: 1.35; letter-spacing: .13em; color: var(--gs-label-dim);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .gs-card__foot { display: none; }
  /* On the cream label the link colour is the dark foil, not the bright gold
     (#D4A24E on #F4EEE2 is 2.0:1; #7D5B17 is 5.4:1) — whenever the foot shows. */
  .gs-card__view { color: #7D5B17; }
  .gs-card__tag { display: block; order: 3; margin-top: auto; padding-top: 7px; }
  .gs-card__tag-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 6px;
    padding: 5px 0 4px; border-top: 1px solid var(--gs-label-rule); border-bottom: 1px solid var(--gs-label-rule);
  }
  .gs-card__tag-k {
    flex: none; font-family: var(--font-mono); font-size: 8px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--gs-label-dim);
  }
  .gs-card__tag-v {
    min-width: 0; font-family: var(--font-mono); font-weight: 700; font-size: 11px; color: var(--gs-ink);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: isolate;
  }
  .gs-card__tag-more { font-weight: 400; color: var(--gs-label-dim); }
  .gs-card__tag-buy { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 6px; }
  .gs-card__tag-price {
    min-width: 0; font-family: var(--font-mono); font-weight: 700; font-size: 15px; letter-spacing: -.01em;
    color: var(--gs-ink); white-space: nowrap; line-height: 1.1;
  }
  .gs-card__tag-price small {
    display: block; font-size: 7.5px; font-weight: 400; letter-spacing: .16em;
    text-transform: uppercase; color: var(--gs-label-dim); margin-bottom: 2px;
  }
  .gs-card__add {
    position: relative; flex: none; width: 40px; height: 40px; padding: 0;
    display: grid; place-items: center; border: 0; border-radius: 10px;
    background: var(--gs-ink); color: var(--gold-bright); cursor: pointer;
    transition: background .2s, transform .15s;
  }
  .gs-card__add::after { content: ""; position: absolute; inset: -4px; }
  .gs-card__add:active { transform: scale(.94); }
  .gs-card__add svg + svg { display: none; }
  .gs-card__add.is-busy svg:first-child { animation: gs-add-spin .8s linear infinite; }
  .gs-card__add.is-done { background: #2C5A27; color: #D2EEC8; }
  .gs-card__add.is-done svg:first-child { display: none; }
  .gs-card__add.is-done svg + svg { display: block; }
  .gs-card__add.is-error { background: var(--brick); color: var(--text-bright); }
  [dir="rtl"] .gs-card__add--go svg { transform: scaleX(-1); }
  .gs-card__body :focus-visible { outline-color: var(--gs-ink); }

  /* Swipe rails: featured cuts, related cuts, quotes. They bleed to the
     screen edges and snap card by card. */
  .gs-grid--rail,
  .gs-quote-grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: 60%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad-x);
    margin-inline: calc(-1 * var(--pad-x)); padding: 4px var(--pad-x) 16px;
    scrollbar-width: none;
  }
  .gs-grid--rail::-webkit-scrollbar,
  .gs-quote-grid::-webkit-scrollbar { display: none; }
  .gs-grid--rail > *,
  .gs-quote-grid > * { scroll-snap-align: start; }
  .gs-quote-grid { grid-auto-columns: 84%; }

  /* ---- 1.6 Hang-tag category rail (shop + home) ---- */
  .gs-catrail {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 16px calc(-1 * var(--pad-x)) 0; padding: 2px var(--pad-x) 4px;
    scroll-padding-inline: var(--pad-x); scrollbar-width: none;
  }
  .gs-catrail::-webkit-scrollbar { display: none; }
  .gs-catrail__tab {
    position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding-block: 0; padding-inline: 26px 14px;
    background: var(--surface-2); color: var(--text-2);
    font-family: var(--font-display); font-weight: 700; font-size: 14.5px; white-space: nowrap;
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
    border-radius: 0 7px 7px 0;
    scroll-snap-align: start; transition: background .2s, color .2s;
  }
  /* The punched hole. */
  .gs-catrail__tab::before {
    content: ""; position: absolute; inset-inline-start: 12px; top: 50%; width: 6px; height: 6px;
    margin-top: -3px; border-radius: 50%; background: var(--bg);
    box-shadow: inset 0 0 0 1px rgba(237, 230, 216, .18);
  }
  .gs-catrail__n { font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; color: var(--text-dim); }
  .gs-catrail__tab.is-active { background: var(--gold); color: var(--surface-ink); }
  .gs-catrail__tab.is-active .gs-catrail__n { color: rgba(26, 20, 12, .66); }
  .gs-catrail__tab:focus-visible { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--gold); }
  [dir="rtl"] .gs-catrail__tab {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    border-radius: 7px 0 0 7px;
  }
  .gs-catrail--home { margin: 18px 0 0; padding-inline: var(--pad-x); }

  /* ---- 1.7 Shop / category ---- */
  .gs-shell { padding: 12px var(--pad-x) 36px; }
  .gs-shell > .gs-shop { padding: 0; }
  .woocommerce-breadcrumb {
    font-size: 10px; margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .gs-shop .gs-eyebrow { font-size: 10px; }
  .gs-shop__title { font-size: 30px; margin-top: 4px; }
  .gs-shop__toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin: 14px 0 16px; }
  .gs-search { grid-column: 1 / -1; min-width: 0; }
  .gs-search .gs-input { height: 48px; }
  .gs-sortform .gs-select { width: 100%; height: 46px; }
  .gs-shop__count { margin-bottom: 12px; }
  .gs-js .gs-filterbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 14px; border-radius: var(--r-btn);
    border: 1px solid var(--hairline-3); background: var(--surface-2); color: var(--text);
    font-weight: 600; font-size: 14px; cursor: pointer;
  }
  .gs-js .gs-filterbtn svg { color: var(--gold); }
  .gs-filterbtn__n {
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px;
    background: var(--gold); color: var(--surface-ink);
    font-family: var(--font-mono); font-size: 11px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
  }
  /* Filters open as a bottom sheet. With JS off they stay inline above the grid. */
  .gs-js .gs-facets {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 80;
    max-height: 84svh; overflow-y: auto; overscroll-behavior: contain;
    padding: 0 var(--pad-x) calc(14px + var(--gs-safe-b)); gap: 18px;
    background: var(--bg-promo); border: 0; border-top: 1px solid rgba(212, 162, 78, .35);
    border-radius: 20px 20px 0 0; box-shadow: 0 -24px 60px rgba(0, 0, 0, .6);
    transform: translateY(102%); visibility: hidden;
    transition: transform .32s var(--ease-out), visibility 0s linear .32s;
  }
  body.gs-filters-open .gs-facets { transform: none; visibility: visible; transition: transform .32s var(--ease-out); }
  body.gs-filters-open { overflow: hidden; }
  .gs-js .gs-facets__sheethead {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; top: 0; z-index: 1; margin: 0 calc(-1 * var(--pad-x));
    padding: 18px var(--pad-x) 8px; background: var(--bg-promo);
  }
  .gs-js .gs-facets__sheethead::before {
    content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px;
    border-radius: 4px; background: rgba(237, 230, 216, .22);
  }
  .gs-facets__sheettitle { font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--text-bright); }
  /* The category group is the rail above the grid on phones. Named by its
     class: Fresh / Frozen now opens the sheet, right under its head. */
  .gs-js .gs-facets__group--cat { display: none; }
  .gs-js .gs-facets__sheetfoot {
    display: block; position: sticky; bottom: calc(-14px - var(--gs-safe-b)); margin: 0 calc(-1 * var(--pad-x));
    padding: 14px var(--pad-x) calc(14px + var(--gs-safe-b));
    background: linear-gradient(180deg, rgba(14, 12, 10, 0), var(--bg-promo) 34%);
  }
  .gs-facets__done {
    width: 100%; min-height: 52px; border: 0; border-radius: 12px; cursor: pointer;
    background: var(--gold); color: var(--surface-ink); font-weight: 700; font-size: 15.5px;
    box-shadow: var(--sh-cta);
  }
  .gs-js .gs-facets__scrim {
    display: block; position: fixed; inset: 0; z-index: 79;
    background: rgba(14, 12, 10, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
  }
  body.gs-filters-open .gs-facets__scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
  .gs-pills { gap: 8px; }
  nav.woocommerce-pagination ul { margin-top: 28px; }

  /* ---- 1.8 Product page ---- */
  .gs-pdp__layout { gap: 16px; }
  .gs-pdp__gallery { margin-inline: calc(-1 * var(--pad-x)); }
  .gs-pdp__main { aspect-ratio: 1 / 1; border-radius: 0; border: 0; }
  .gs-pdp__main::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--gs-gold-rule); opacity: .8;
  }
  .gs-pdp__main .gs-card__badge { top: 12px; left: 12px; }
  [dir="rtl"] .gs-pdp__main .gs-card__badge { left: auto; right: 12px; }
  .gs-pdp__thumbs { grid-template-columns: repeat(4, 60px); gap: 8px; padding-inline: var(--pad-x); }
  .gs-pdp__thumb { min-height: 44px; }
  .gs-pdp__meta { font-size: 10px; margin-bottom: 6px; }
  .gs-pdp__panel .product_title { font-size: 31px; margin-bottom: 8px; }
  .gs-pdp__price--live,
  .gs-pdp__panel > .price { margin-bottom: 14px; }
  .gs-pdp__price--live { font-size: 28px; }
  .gs-pdp__packs-label { margin: 2px 0 8px; font-size: 10px; }
  .gs-pdp__packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; margin-bottom: 16px; }
  .gs-pdp__pack {
    position: relative; min-width: 0; min-height: 64px; padding: 10px 12px; justify-content: center;
    border-radius: 10px; background: var(--surface);
  }
  .gs-pdp__pack-l { font-family: var(--font-mono); font-size: 15px; letter-spacing: .02em; text-transform: uppercase; direction: ltr; unicode-bidi: isolate; }
  [dir="rtl"] .gs-pdp__pack-l { text-align: right; }
  /* The chosen pack becomes the label it will arrive with. */
  .gs-pdp__pack.is-active {
    background: var(--gs-cream); border-color: var(--gs-cream);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .45);
  }
  .gs-pdp__pack.is-active .gs-pdp__pack-l { color: var(--gs-ink); }
  .gs-pdp__pack.is-active .gs-pdp__pack-p { color: #5A4F40; }
  .gs-pdp__pack.is-active::after {
    content: ""; position: absolute; top: 8px; inset-inline-end: 8px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--gs-ink) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7B24E' stroke-width='3.2'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
  }
  .gs-pdp__pack.is-active:focus-visible { outline-color: var(--gold); }
  /* Quantity and add side by side — the add button stays the big target. */
  .gs-pdp__panel form.cart:not(.variations_form),
  .gs-pdp__panel .woocommerce-variation-add-to-cart { flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
  .gs-pdp__panel form.cart .quantity { flex: none; }
  .gs-pdp__panel form.cart .single_add_to_cart_button { flex: 1 1 auto; width: auto; min-width: 0; height: 54px; min-height: 54px; padding: 0 16px; }
  .gs-pdp__trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .gs-pdp__trust-cell { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; font-size: 12px; }
  .gs-acc__head { min-height: 52px; }
  .gs-cook { margin-top: 30px; border-radius: 16px; }
  .gs-cook__intro, .gs-cook__steps { padding: 20px 16px; }
  .gs-cook__specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gs-cook__spec { min-width: 0; }
  .gs-promise { margin-top: 14px; gap: 8px; }
  .gs-pdp__related { margin-top: 32px; padding-top: 22px; }
  .gs-pdp__related-h { font-size: 22px; margin-bottom: 14px; }
  /* Sticky buy bar — takes the tab bar's place while the real button is away. */
  .gs-buybar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 66;
    min-height: calc(var(--gs-bar-h) + var(--gs-safe-b));
    padding: 8px var(--pad-x) calc(8px + var(--gs-safe-b));
    background: rgba(14, 12, 10, .96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .3s var(--ease-out);
  }
  .gs-buybar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gs-gold-rule); }
  .gs-buybar.is-on { transform: none; }
  .gs-buybar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .gs-buybar__k {
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .gs-buybar__v { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--gold); direction: ltr; unicode-bidi: isolate; text-align: left; }
  [dir="rtl"] .gs-buybar__v { text-align: right; }
  .gs-buybar__go {
    flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 11px; cursor: pointer;
    background: var(--gold); color: var(--surface-ink); font-weight: 700; font-size: 15px; box-shadow: var(--sh-cta);
  }
  .gs-buybar.is-disabled .gs-buybar__go { opacity: .55; box-shadow: none; }
  /* Catch-weight: "EST. $21.00" on one line — a small label, the price in its
     usual style — and a button that only says "Add to cart". */
  .gs-buybar__v.has-est { direction: inherit; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
  .gs-buybar__v.has-est bdi { direction: ltr; unicode-bidi: isolate; }
  .gs-buybar__est {
    font-family: var(--font-mono); font-weight: 400; font-size: 10px; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-dim);
  }
  .gs-rtl .gs-buybar__est { font-family: var(--font-body); font-size: 12px; letter-spacing: 0; }
  .gs-buybar__go { white-space: nowrap; }

  /* ---- 1.9 Cart / checkout / account pages: one gutter, not two ---- */
  .gs-section.gs-page { padding: 16px var(--pad-x) 32px; }
  .gs-page .gs-cartpg,
  .gs-page .gs-copg,
  .gs-page .gs-acct { padding: 0; }
  .gs-page .gs-auth { padding: 8px 0 24px; }
  .gs-cartpg__title, .gs-copg__title, .gs-acct__title { font-size: 29px; margin-bottom: 16px; }
  .woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 12px 14px; font-size: 13.5px; gap: 8px 12px; margin-bottom: 14px; }
  .woocommerce-message .button, .woocommerce-info .button { margin-left: 0; margin-inline-start: auto; min-height: 44px; }
  .gs-line { padding: 14px; gap: 12px; }
  .gs-line__img { width: 68px; height: 68px; }
  .gs-line__total { font-weight: 700; }
  .gs-addmore { width: 100%; justify-content: center; min-height: 48px; }

  /* The docket: order summaries print on paper. */
  .gs-summary {
    position: relative; padding: 26px 18px 22px; border: 0; border-radius: 3px;
    background: var(--gs-paper); color: var(--gs-ink);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .5);
    -webkit-mask:
      radial-gradient(circle 5px at 50% 0, transparent 97%, #000) 50% 0 / 14px 51% repeat-x,
      radial-gradient(circle 5px at 50% 100%, transparent 97%, #000) 50% 100% / 14px 51% repeat-x;
            mask:
      radial-gradient(circle 5px at 50% 0, transparent 97%, #000) 50% 0 / 14px 51% repeat-x,
      radial-gradient(circle 5px at 50% 100%, transparent 97%, #000) 50% 100% / 14px 51% repeat-x;
  }
  .gs-summary::before {
    content: "Grillsons"; display: block; text-align: center;
    font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em;
    color: var(--gs-ink); line-height: 1;
  }
  .gs-summary > .gs-facets__h {
    text-align: center; margin: 6px 0 14px; padding-bottom: 12px; color: var(--gs-label-dim);
    letter-spacing: .26em; border-bottom: 1.5px dashed rgba(26, 20, 12, .25);
  }
  .gs-summary__row { color: #4A4238; font-size: 14px; }
  .gs-summary__row > :last-child { order: 2; }
  .gs-summary__row::after {
    content: ""; order: 1; flex: 1 1 auto; min-width: 12px; align-self: flex-end;
    margin: 0 2px 5px; border-bottom: 1.5px dotted rgba(26, 20, 12, .28);
  }
  .gs-summary__row .gs-mono { color: var(--gs-ink); font-weight: 700; }
  .gs-summary__row--good, .gs-summary__row--good .gs-mono, .gs-summary__free { color: #2C6A25; }
  .gs-summary__from { color: #5A4F40; font-weight: 400; }
  .gs-summary__div { height: 0; background: none; border-top: 1.5px dashed rgba(26, 20, 12, .25); }
  .gs-summary__row--total { color: var(--gs-ink); font-weight: 800; align-items: baseline; }
  .gs-summary__grand { color: var(--gs-ink) !important; font-size: 26px; }
  .gs-summary__note { color: var(--gs-label-dim); }
  .gs-summary__cta { min-height: 54px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(212, 162, 78, .35); }
  .gs-summary :focus-visible { outline-color: var(--gs-ink); }
  .gs-sline__body b, .gs-sline__total { color: var(--gs-ink); }
  .gs-sline__body small { color: var(--gs-label-dim); }
  .gs-sline__img { background: #E9DFCF; }
  .gs-summary .gs-points { background: rgba(212, 162, 78, .14); border-color: rgba(140, 100, 40, .3); color: #4A4238; }
  .gs-summary .gs-points__earn b { color: #7A5418; }
  .gs-summary .gs-points__redeem { color: var(--gs-ink); }
  .gs-summary .gs-points__bal { color: var(--gs-label-dim); }

  /* Cart: the docket's bottom line pinned under the thumb. */
  .gs-actionbar {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 66;
    min-height: calc(var(--gs-bar-h) + var(--gs-safe-b));
    padding: 8px var(--pad-x) calc(8px + var(--gs-safe-b));
    background: rgba(14, 12, 10, .96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .gs-actionbar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--gs-gold-rule); }
  .gs-actionbar__sum { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
  .gs-actionbar__k {
    font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .gs-actionbar__v { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--gold); direction: ltr; unicode-bidi: isolate; text-align: left; }
  .gs-actionbar__v strong { font-weight: 700; }
  .gs-actionbar__v small { display: none; }
  [dir="rtl"] .gs-actionbar__v { text-align: right; }
  .gs-actionbar__go {
    flex: none; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px;
    border-radius: 12px; background: var(--gold); color: var(--surface-ink);
    font-weight: 700; font-size: 15.5px; box-shadow: var(--sh-cta);
  }
  [dir="rtl"] .gs-actionbar__go svg { transform: scaleX(-1); }

  /* Checkout: one job. No ticker, no footer columns, no tab bar; the docket
     moves up to sit right above Payment so the total is read before the
     Place order button, not after it. */
  body.gs-focus-mode .gs-promo,
  body.gs-focus-mode .gs-houserule,
  body.gs-focus-mode .gs-footer__top { display: none; }
  .gs-copg__head { margin-bottom: 14px; gap: 12px; }
  .gs-copg__head .gs-iconbtn { width: 44px; height: 44px; flex: none; }
  [dir="rtl"] .gs-copg__head .gs-iconbtn svg { transform: scaleX(-1); }
  .gs-co-layout { gap: 14px; }
  .gs-co-forms { display: contents; }
  .gs-co-forms > #customer_details { order: 1; display: flex; flex-direction: column; gap: 14px; }
  .gs-co-forms > .gs-cosec:not(.gs-cosec--pay) { order: 2; }
  .gs-co-layout > .gs-summary-col { order: 3; }
  .gs-co-forms > .gs-cosec--pay { order: 4; }
  .gs-cosec + .gs-cosec { margin-top: 0; }
  .gs-cosec { padding: 16px; border-radius: 14px; }
  .gs-cosec__h { font-size: 17px; gap: 8px; margin-bottom: 14px; }
  .gs-cosec__h span {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(212, 162, 78, .55); font-size: 12px;
  }
  .woocommerce-billing-fields > h3 { display: none; }
  /* #gsSlots is itself classed .gs-slotgrid (the region the plugin renders
     into); only the pill grid main.js inserts inside it is two-up. */
  .gs-slot-region { display: block; }
  .gs-slotgrid:not(.gs-slot-region) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-slot { min-height: 58px; justify-content: center; }
  .gs-cosec--pay #place_order { min-height: 56px; font-size: 16.5px; }

  /* Order received. */
  .gs-ticket-seal { padding: 14px; gap: 14px; }
  .woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 24px; }

  /* ---- 1.10 Account + auth ---- */
  .gs-acct__nav {
    flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 4px; padding: 6px;
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  .gs-acct__nav::-webkit-scrollbar { display: none; }
  .gs-acct__nav a { flex: none; white-space: nowrap; min-height: 44px; padding: 0 14px; scroll-snap-align: start; }
  .gs-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gs-statcard { padding: 14px; }
  .gs-statcard__v { font-size: 26px; }
  .gs-order { padding: 14px; gap: 10px 14px; }
  .gs-auth__card { padding: 18px 16px; border-radius: 16px; }
  .gs-auth__tab { min-height: 46px; }

  /* ---- 1.11 Recipes ---- */
  .gs-recipespg { padding: 22px var(--pad-x) 40px; }
  .gs-recipes-hero__title { font-size: 38px; }
  .gs-rchips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--pad-x)); padding-inline: var(--pad-x);
  }
  .gs-rchips::-webkit-scrollbar { display: none; }
  .gs-rchips > * { flex: none; }
  .gs-rgrid { grid-template-columns: 1fr; gap: 14px; }
  .gs-rcard:hover { transform: none; }
  .gs-rfeat__media { min-height: 220px; }

  /* ---- 1.12 Home ---- */
  .gs-section { padding: 36px var(--pad-x) 8px; }
  .gs-section__head { margin-bottom: 16px; }
  .gs-section__title { font-size: 25px; line-height: 1.12; }
  /* Hero: one photograph, full-bleed, with the words and the button on it —
     the first screen ends in a call to action instead of mid-paragraph.
     Every slide shares one height: the screen minus the header, the tab bar
     and a sliver of the next section, so a slide is always seen whole and
     auto-advance never shifts the page. Phones get the portrait crop (the
     cut above, charcoal below for the words); tablets the landscape one. */
  .gs-hero {
    --gs-hero-h: clamp(460px, calc(100vh - var(--gs-chrome-h) - var(--gs-bar-h) - var(--gs-safe-b) - 22px), 780px);
    --gs-hero-h: clamp(460px, calc(100svh - var(--gs-chrome-h) - var(--gs-bar-h) - var(--gs-safe-b) - 22px), 780px);
  }
  .gs-heroB, .gs-heroD {
    display: block; position: relative; height: var(--gs-hero-h); min-height: 0; overflow: hidden; border-bottom: 0;
  }
  .gs-heroB__media { position: absolute; inset: 0; min-height: 0; margin: 0; }
  .gs-heroB__media img { object-position: 50% 0%; }
  .gs-heroB__media::after,
  [dir="rtl"] .gs-heroB__media::after {
    background: linear-gradient(0deg, rgba(14, 12, 10, .98) 0%, rgba(14, 12, 10, .9) 34%, rgba(14, 12, 10, .35) 58%, rgba(14, 12, 10, .04) 76%, rgba(14, 12, 10, .4) 100%);
  }
  .gs-heroB__copy,
  [dir="rtl"] .gs-heroB__copy {
    position: relative; z-index: 1; height: 100%; min-height: 0;
    justify-content: flex-end; padding: 64px var(--pad-x) 20px; overflow: visible;
  }
  .gs-heroB__copy::before,
  [dir="rtl"] .gs-heroB__copy::before { background: radial-gradient(90% 40% at 0% 100%, rgba(140, 47, 35, .28), transparent 70%); }
  .gs-pill-eyebrow {
    font-size: 9.5px; padding: 6px 11px; margin-bottom: 12px;
    background: rgba(14, 12, 10, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .gs-h1--b { font-size: clamp(32px, min(10.4vw, 6.4svh), 46px); line-height: .98; }
  .gs-hero__creed { font-size: clamp(15px, 4.3vw, 18px); margin-top: 10px; }
  .gs-hero__lede--b {
    font-size: 15px; line-height: 1.5; margin-top: 8px; max-width: 520px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  .gs-hero__actions--b { margin-top: 16px; gap: 4px 16px; }
  .gs-hero__actions--b .gs-btn--gold { height: 52px; padding: 0 7px 0 20px; }
  .gs-hero__actions--b .gs-btn--gold .gs-btn__ico { width: 40px; height: 40px; }
  [dir="rtl"] .gs-hero__actions--b .gs-btn--gold { padding: 0 20px 0 7px; }
  [dir="rtl"] .gs-hero__actions .gs-btn__ico svg,
  [dir="rtl"] .gs-hero__actions .gs-btn--brick svg,
  [dir="rtl"] .gs-heroD__shop svg,
  [dir="rtl"] .gs-heroD__all svg,
  [dir="rtl"] .gs-link-gold svg { transform: scaleX(-1); }
  .gs-hero__actions--b .gs-btn--outline {
    height: 44px; padding: 0 2px; border: 0; border-radius: 0; background: none;
    color: var(--text-2); font-size: 14px; text-decoration: underline; text-underline-offset: 5px;
    text-decoration-color: rgba(212, 162, 78, .6);
  }
  .gs-stats {
    margin-top: 14px; padding-top: 12px; gap: 10px; flex-wrap: nowrap; justify-content: space-between;
    border-top: 1px solid rgba(212, 162, 78, .25);
  }
  .gs-stats > div { min-width: 0; }
  .gs-stat__num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
  .gs-stat__label { font-size: 11px; line-height: 1.35; margin-top: 3px; }
  .gs-herotoggle { top: 12px; right: 12px; left: auto; padding: 3px; }
  [dir="rtl"] .gs-herotoggle { right: auto; left: 12px; }
  .gs-herotoggle__arrow { width: 40px; height: 40px; }
  [dir="rtl"] .gs-herotoggle__arrow svg { transform: scaleX(-1); }
  /* Gallery hero on a phone: cut names as a swipe row over the photograph. */
  .gs-heroD__media { position: absolute; inset: 0; min-height: 0; }
  .gs-heroD__shade,
  [dir="rtl"] .gs-heroD__shade {
    background: linear-gradient(180deg, rgba(18, 16, 9, .94) 0%, rgba(18, 16, 9, .55) 36%, rgba(18, 16, 9, .05) 56%, rgba(18, 16, 9, .82) 82%, #121009 100%);
  }
  .gs-heroD__list,
  [dir="rtl"] .gs-heroD__list { position: relative; z-index: 2; display: block; padding: 64px var(--pad-x) 0; }
  .gs-heroD__list .gs-tick { margin-bottom: 10px; }
  .gs-h1--d { font-size: clamp(30px, 9vw, 40px); }
  .gs-hero__lede--d { display: none; }
  .gs-heroD__rows,
  .gs-heroD__rows.is-scrollable {
    display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; border: 0; scrollbar-width: none;
    margin: 14px calc(-1 * var(--pad-x)) 0; padding: 0 var(--pad-x) 4px;
    -webkit-mask-image: none; mask-image: none;
  }
  .gs-heroD__rows::-webkit-scrollbar { display: none; }
  .gs-heroD__row {
    display: flex; align-items: center; flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--hairline-3); border-radius: 999px;
    background: rgba(14, 12, 10, .62); color: var(--text-2);
  }
  .gs-heroD__row:first-child { border-top: 1px solid var(--hairline-3); }
  .gs-heroD__rown, .gs-heroD__rowp { display: none; }
  .gs-heroD__rowname { font-size: 14px; }
  .gs-heroD__row.is-active { padding-inline-start: 14px; background: var(--gold); border-color: var(--gold); color: var(--surface-ink); }
  .gs-heroD__all { margin-top: 8px; font-size: 10.5px; }
  .gs-heroD__caption,
  [dir="rtl"] .gs-heroD__caption { left: var(--pad-x); right: var(--pad-x); bottom: 20px; }
  .gs-heroD__name { font-size: 30px; max-width: 100%; }
  .gs-heroD__shop { padding: 0 18px; min-height: 48px; font-size: 14px; }

  .gs-trust { padding: 28px var(--pad-x) 8px; }
  .gs-trust__cell { display: grid; grid-template-columns: 30px 1fr; column-gap: 12px; padding: 16px; }
  .gs-trust__ico { grid-row: span 2; margin: 2px 0 0; }
  .gs-story { padding: 14px var(--pad-x) 32px; }
  .gs-story__copy { padding: 22px 18px 24px; }
  .gs-story__copy .gs-btn--outline { min-height: 46px; }
  .gs-manifesto__inner { padding: 44px var(--pad-x); }
  .gs-rules__list li { padding: 16px; gap: 12px; }

  /* ---- 1.13 Footer ---- */
  .gs-footer__top { grid-template-columns: 1fr 1fr; gap: 20px 18px; padding: 30px var(--pad-x) 14px; }
  .gs-footer__top > div:first-child {
    grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: start;
  }
  .gs-footer__top > div:first-child > * { grid-column: 1; }
  .gs-footer__seal { display: block; grid-column: 2 !important; grid-row: 1 / span 3; }
  .gs-footer__top > div:last-child { grid-column: 1 / -1; }
  .gs-footer__links a { padding: 11px 0; font-size: 14px; }
  .gs-footer__bar-inner { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px var(--pad-x) 18px; }
  .gs-footer__legal { gap: 0 18px; }
  .gs-footer__legal a { display: inline-block; padding: 11px 0; }
}

/* Small tablets in portrait: three cards a row. */
@media (min-width: 600px) and (max-width: 860px) {
  .gs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gs-grid--rail { grid-auto-columns: 38%; }
}

/* The narrowest phones (320–360). */
@media (max-width: 360px) {
  :root { --pad-x: 12px; }
  .gs-logo__sub { display: none; }
  .gs-logo__name { font-size: 21px; }
  .gs-grid { gap: 8px; }
  .gs-card__body { margin-inline: 5px; padding-inline: 8px; }
  .gs-card__name { font-size: 14px; }
  .gs-card__tag-price { font-size: 13.5px; }
  .gs-tab__lbl { font-size: 8.5px; letter-spacing: .08em; }
  .gs-tab__scale { min-width: 60px; padding: 0 6px; }
  .gs-tab__scale .gs-cart__total { font-size: 11.5px; }
}

@keyframes gs-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes gs-ticker-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes gs-scale-bump {
  0% { transform: scale(1); }
  30% { transform: scale(1.12); border-color: var(--gold-bright); box-shadow: inset 0 1px 6px rgba(0, 0, 0, .8), 0 0 18px rgba(231, 178, 78, .5); }
  100% { transform: scale(1); }
}
@keyframes gs-add-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .gs-promo__track { animation: none !important; }
  .gs-tab--basket.is-bumped .gs-tab__scale,
  .gs-card__add.is-busy svg:first-child { animation: none !important; }
  .gs-tabbar, .gs-buybar, .gs-js .gs-facets, .gs-js .gs-facets__scrim { transition: none !important; }
}

/* -------------------------------------------------------------------------
   2. Additions after review
   ------------------------------------------------------------------------- */
/* No red chip on an empty basket: a zero is not news. */
#gsTabBasket[data-count="0"] .gs-cart__count { display: none; }

/* "About this cut": the five-part description reads as a cut sheet, each
   lead-in ("What it is.", "How it eats." …) set as a Space Mono label. */
.gs-acc--about .gs-acc__body p { margin: 0 0 14px; }
.gs-acc--about .gs-acc__body p:last-child { margin-bottom: 0; }
.gs-acc--about .gs-acc__body p > strong:first-child {
  display: block; margin-bottom: 4px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
}
.gs-rtl .gs-acc--about .gs-acc__body p > strong:first-child { font-family: var(--font-body); font-size: 13px; letter-spacing: 0; }

/* Recipes without a photograph yet showed a 220–340px empty box at the top of
   every card and recipe. Until the photos exist, a short charcoal panel
   holds the place instead of a hole. */
@media (max-width: 860px) {
  .gs-rfeat__media:not(:has(img)),
  .gs-rcard__media:not(:has(img)),
  .gs-rdetail__media:not(:has(img)) {
    min-height: 96px; aspect-ratio: auto;
    background:
      radial-gradient(80% 130% at 0% 100%, rgba(140, 47, 35, .38), transparent 62%),
      radial-gradient(60% 90% at 100% 0%, rgba(212, 162, 78, .16), transparent 60%),
      radial-gradient(rgba(237, 230, 216, .05) 1px, transparent 1px) 0 0 / 4px 4px,
      #17120F;
  }
}

@media (max-width: 860px) {
  /* "Update cart" is a quiet secondary action, not a second gold CTA that
     looks broken while it is disabled. */
  .woocommerce .gs-cart__actions button.gs-cart__update {
    min-height: 46px; background: transparent; box-shadow: none;
    border: 1.5px solid var(--hairline-2); color: var(--text-2) !important;
  }
  .woocommerce .gs-cart__actions button.gs-cart__update:disabled { opacity: .5; }
  .woocommerce-order-received .woocommerce-table--order-details .product-name a { display: inline-block; padding: 10px 0; }
}

@media (max-width: 860px) {
  /* Last few sub-44px targets from the phone audit. */
  .gs-section__head .gs-link-gold { min-height: 44px; }
  .gs-auth__cta { min-height: 50px; }
  .gs-auth .show-password-input { width: 40px; height: 40px; right: 4px; }
  [dir="rtl"] .gs-auth .show-password-input { right: auto; left: 4px; }
  [dir="rtl"] .gs-auth .password-input .gs-input { padding-right: 14px; padding-left: 48px; }
  .gs-auth__hint a { display: inline-block; padding: 10px 0; }
}
