/* ============================================================
   Woolies — retail UI (HEMA-influenced)
   White background, photo-driven, Woolies green + sale red
   ============================================================ */

:root {
  --green: #178841;
  --green-2: #0f6630;
  --green-pale: #e8f4ec;
  --red: #e63946;
  --red-2: #c52936;
  --yellow: #ffd60a;
  --ink: #1a1a1a;
  --ink-2: #555;
  --muted: #767676;
  --line: #e6e6e6;
  --line-2: #f0f0f0;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-3: #f5f5f5;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,.06), 0 14px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.18);

  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { border: 0; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container { width: min(1280px, 94vw); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  transition: all .2s var(--ease);
  background: none;
  color: var(--ink);
}
.btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn--primary:hover { background: var(--green-2); border-color: var(--green-2); }
.btn--ghost { background: #fff; border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bg-3); }
.btn--block { width: 100%; padding: 15px; }
.btn--small { padding: 9px 16px; font-size: 13px; }

.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s;
  cursor: pointer;
}
.icon-btn:hover { background: var(--bg-3); }

/* ---------- Accessibility: focus-visible rings ---------- */
*:focus { outline: none; }
.btn:focus-visible,
.icon-btn:focus-visible,
.cart-btn:focus-visible,
.shaz-btn:focus-visible,
.chip:focus-visible,
.slot:focus-visible,
.pay-tile:focus-visible,
.delivery-mode:focus-visible,
.heart:focus-visible,
.add-btn:focus-visible,
.modal__close:focus-visible,
.checkout__back:focus-visible,
.quick-cat:focus-visible,
.greeting__chip:focus-visible,
.carousel__nav:focus-visible,
.carousel__dots button:focus-visible,
.budget-tabs button:focus-visible,
.qty button:focus-visible,
.df-item__add:focus-visible,
.product:focus-visible,
.recipe:focus-visible,
.pairing:focus-visible,
.cat-nav a:focus-visible,
.nav a:focus-visible,
.site-footer__cols a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}
.first-visit__form input:focus-visible {
  outline: 2px solid var(--yellow);
}

/* ---------- has-overlay: hide first-visit banner ---------- */
body.has-overlay .first-visit { transform: translateY(100%) !important; }

/* Offset floating buttons when banner is visible so they don't obscure close */
body.banner-visible .shaz-btn { bottom: 120px; }
body.banner-visible .to-top { bottom: 120px; }

/* Defensive: prevent grid items from overflowing */
.rail__grid > *,
.feed__grid > *,
.recipe-grid > *,
.pairing-grid > *,
.tasting-grid > *,
.quick-cats__grid > *,
.cat-grid > * { min-width: 0; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  gap: 14px;
  flex-wrap: wrap;
}
.top-bar__left { display: flex; gap: 18px; align-items: center; }
.top-bar__left strong { color: var(--yellow); font-weight: 600; }
.top-bar__right { display: flex; gap: 18px; align-items: center; opacity: .85; }
.top-bar__right a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand__mark {
  width: 46px; height: 46px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  font-family: inherit;
  letter-spacing: -.03em;
}
.brand__type {
  display: flex; flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand__tag {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border-radius: var(--r-md);
  padding: 4px;
  height: 48px;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
  border: 2px solid transparent;
  transition: all .2s;
}
.search:focus-within { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-pale); }
.search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  font-size: 14px;
}
.search input::placeholder { color: var(--muted); }
.search button {
  border: none;
  background: var(--green);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.search button:hover { background: var(--green-2); }

.header-actions { display: flex; align-items: center; gap: 4px; }
.header-actions__lbl {
  font-size: 11px;
  color: var(--muted);
  margin-right: 6px;
  display: none;
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 14px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  margin-left: 8px;
  transition: background .15s;
}
.cart-btn:hover { background: var(--green-2); }
.cart-btn__count {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

/* Category nav (under header) */
.cat-nav {
  border-top: 1px solid var(--line);
  background: #fff;
}
.cat-nav__inner {
  display: flex;
  gap: 28px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  overflow-x: auto;
}
.cat-nav__inner::-webkit-scrollbar { display: none; }
.cat-nav a {
  white-space: nowrap;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: color .15s;
}
.cat-nav a:hover { color: var(--green); }
.cat-nav a.specials { color: var(--red); font-weight: 700; }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-3);
}
.container.carousel-wrap { padding: 24px 0 0; }
.carousel__viewport {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-3);
}
.carousel__track {
  display: flex;
  transition: transform .7s var(--ease);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  height: clamp(360px, 50vw, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.carousel__emoji {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%) rotate(-6deg);
  font-size: clamp(260px, 42vw, 440px);
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
  opacity: .95;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.35));
  pointer-events: none;
  user-select: none;
}
.carousel__content {
  position: relative;
  padding: 0 60px;
  max-width: 580px;
  color: #fff;
}
.carousel__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
}
.carousel__badge--red { background: var(--red); color: #fff; }
.carousel__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.carousel__sub {
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 460px;
  opacity: .95;
}
.carousel__cta { display: flex; gap: 12px; }

.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  z-index: 2;
  transition: all .2s;
  box-shadow: var(--shadow-md);
}
.carousel__nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel__nav--prev { left: 24px; }
.carousel__nav--next { right: 24px; }

.carousel__dots {
  position: absolute;
  bottom: 24px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel__dots button {
  width: 28px; height: 4px;
  border: none;
  background: rgba(255,255,255,.4);
  border-radius: 999px;
  padding: 0;
  transition: all .25s;
}
.carousel__dots button.active { background: #fff; width: 44px; }

/* ---------- Quick categories (round) ---------- */
.quick-cats {
  padding: 50px 0 30px;
}
.quick-cats__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}
.quick-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  border-radius: var(--r-md);
  transition: background .2s;
  text-align: center;
}
.quick-cat:hover { background: var(--bg-3); }
.quick-cat__circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: var(--bg-3);
  border: 2px solid var(--line);
  transition: all .2s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
}
.quick-cat:hover .quick-cat__circle { border-color: var(--green); transform: scale(1.04); }
.quick-cat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

/* ---------- Section headers ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin: 48px 0 26px;
}
.section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -.01em;
  color: var(--ink);
}
.section-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.section-head a {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}
.section-head a:hover { text-decoration: underline; }

/* ---------- Recipe section ---------- */
.recipes { padding: 30px 0 60px; background: var(--bg-2); margin-top: 30px; }
.budget-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.budget-tabs button {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s;
}
.budget-tabs button:hover { border-color: var(--ink); }
.budget-tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.recipe {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: all .25s var(--ease);
  border: 1px solid var(--line);
}
.recipe:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.recipe__art {
  aspect-ratio: 16 / 10;
  background-color: var(--bg-3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.recipe__art .emoji {
  font-size: 120px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Android Emoji", sans-serif;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.12));
  transition: transform .4s var(--ease);
}
.recipe:hover .recipe__art .emoji { transform: scale(1.08); }
.recipe__price {
  position: absolute;
  top: 16px; right: 16px;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.recipe__price small { font-size: 11px; font-weight: 500; color: var(--muted); display: block; line-height: 1; }
.recipe__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.recipe__name {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
  line-height: 1.25;
}
.recipe__blurb {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 4px;
  line-height: 1.45;
}
.recipe__meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.recipe__meta span { display: inline-flex; align-items: center; gap: 5px; }
.recipe__actions {
  display: flex; gap: 8px;
  margin-top: 14px;
}
.recipe__actions .btn { flex: 1; padding: 11px 14px; font-size: 13px; }

/* ---------- Promo tiles ---------- */
.promos { padding: 40px 0; }
.promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.promo {
  border-radius: var(--r-lg);
  padding: 36px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.promo__emoji {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 72px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
  opacity: .95;
  z-index: 1;
}
.promo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,.15) 60%, transparent);
}
.promo > * { position: relative; }
.promo h3 {
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 800;
  line-height: 1.15;
}
.promo p {
  font-size: 13px;
  margin: 0 0 14px;
  opacity: .95;
}
.promo a {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.promo a:hover { gap: 10px; }

/* ---------- Product rails ---------- */
.rails { padding: 10px 0 60px; }
.rail { margin-bottom: 50px; }
.rail__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}
.rail__title { font-size: 26px; font-weight: 800; margin: 0; color: var(--ink); letter-spacing: -.01em; }
.rail__sub { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.rail__link { font-size: 14px; font-weight: 600; color: var(--green); }
.rail__link:hover { text-decoration: underline; }

.rail__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- Product card ---------- */
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .25s var(--ease);
  position: relative;
}
.product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--green);
}
.product__art {
  aspect-ratio: 1 / 1;
  background-color: var(--bg-3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product__art .emoji {
  font-size: 92px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", sans-serif;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.1));
  transition: transform .35s var(--ease);
}
.product:hover .product__art .emoji { transform: scale(1.08) rotate(-2deg); }
.product__sale {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: var(--r-sm);
}
.product__body {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  min-height: 38px;
}
.product__unit { font-size: 12px; color: var(--muted); }
.product__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
  gap: 8px;
}
.product__pricing { display: flex; flex-direction: column; gap: 1px; }
.product__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.product--sale .product__price { color: var(--red); }
.product__per { font-size: 11px; color: var(--muted); }

.add-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  transition: all .15s;
}
.add-btn:hover { background: var(--green-2); transform: scale(1.08); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 24px;
  margin-top: 60px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer__brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.site-footer__brand .brand__mark {
  background: var(--green);
}
.site-footer__brand p {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
}
.site-footer__brand p span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin-top: 6px;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.site-footer__cols h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.site-footer__cols a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  padding: 5px 0;
  transition: color .15s;
  cursor: pointer;
}
.site-footer__cols a:hover { color: var(--yellow); }
.site-footer__base {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* ---------- Drawer (cart) ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer[aria-hidden="false"] { pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 1;
}
.drawer[aria-hidden="false"] .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(440px, 92vw);
  background: #ffffff !important;
  color: var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s var(--ease);
  box-shadow: var(--shadow-lg);
  will-change: transform;
  z-index: 2;
}
.drawer[aria-hidden="false"] .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h3 {
  font-size: 18px; font-weight: 800; margin: 0;
}
.drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  padding: 8px 24px;
  overscroll-behavior: contain;
}
.drawer__foot {
  border-top: 1px solid var(--line);
  padding: 22px 24px 24px;
  background: var(--bg-2);
}
.drawer__note {
  display: block; text-align: center;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.cart-empty {
  text-align: center;
  padding: 70px 20px;
  color: var(--muted);
}
.cart-empty svg { color: var(--ink); margin: 0 auto 18px; opacity: .25; }
.cart-empty p { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.cart-empty span { font-size: 13px; max-width: 260px; line-height: 1.5; display: inline-block; }

.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-2);
}
.cart-line__art {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background-color: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.cart-line__name { font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 4px; line-height: 1.3; }
.cart-line__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--muted);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: 26px; height: 26px;
  background: none; border: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.qty button:hover { background: var(--bg-3); }
.qty span { padding: 0 10px; font-size: 12px; font-weight: 700; }
.cart-line__price { font-size: 15px; font-weight: 800; color: var(--ink); }
.cart-line__remove {
  background: none; border: none; color: var(--muted);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}
.cart-line__remove:hover { color: var(--red); }

.totals { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.totals > div {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-2);
}
.totals strong { color: var(--ink); font-weight: 700; }
.totals__grand {
  border-top: 1px solid var(--line);
  padding-top: 14px; margin-top: 6px;
  font-size: 15px !important;
}
.totals__grand strong { font-size: 22px !important; font-weight: 800; }

/* ---------- Recipe modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 110;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal[aria-hidden="false"] { display: flex; animation: modalIn .25s var(--ease); }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  width: min(900px, 100%);
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: row;
}
.modal__art {
  flex: 0 0 45%;
  background-color: var(--bg-3);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.modal__art .emoji {
  font-size: clamp(180px, 22vw, 260px);
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.18));
}
.modal__body {
  padding: 36px 36px 30px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  min-height: 0;          /* crucial: lets grid/flex child actually shrink so overflow works */
  min-width: 0;
  display: flex;
  flex-direction: column;
  overscroll-behavior: contain;
}
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.96);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 20;
  box-shadow: var(--shadow-md);
  backdrop-filter: saturate(150%) blur(6px);
  -webkit-backdrop-filter: saturate(150%) blur(6px);
  cursor: pointer;
}
.modal__close:hover { background: #fff; }
.modal__name {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.modal__blurb {
  color: var(--ink-2);
  font-size: 14px;
  margin: 0 0 16px;
}
.modal__meta {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.modal__meta strong { color: var(--ink); font-weight: 700; }
.modal__section { margin-bottom: 22px; }
.modal__section h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 700;
}
.ing-list { list-style: none; padding: 0; margin: 0; }
.ing-list li {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.ing-list li:last-child { border-bottom: none; }
.ing-list .price { font-weight: 700; }
.method-list { padding-left: 20px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.method-list li { margin-bottom: 8px; }
.modal__total {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--green-pale);
  padding: 16px 18px;
  border-radius: var(--r-md);
  margin-bottom: 14px;
}
.modal__total span { font-size: 13px; color: var(--ink); font-weight: 600; }
.modal__total strong { font-size: 24px; font-weight: 800; color: var(--green); }

/* ============================================================
   WISHLIST — heart button on header + product cards
   ============================================================ */
.wish-btn { position: relative; }
.wish-btn__count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.heart {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  color: #999;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: all .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.heart:hover { transform: scale(1.1); color: var(--red); }
.heart.active { background: var(--red); color: #fff; }
.heart.active svg { fill: #fff; }

/* ============================================================
   SCARCITY + SOCIAL PROOF
   ============================================================ */
.product__proof {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product__proof::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.product__social {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============================================================
   INFINITE FEED
   ============================================================ */
.feed {
  padding: 40px 0 60px;
  background: var(--bg-2);
}
.feed__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feed__sentinel {
  height: 1px;
  margin-top: 20px;
}
.feed__end {
  text-align: center;
  padding: 40px 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.feed__end p { margin: 0 0 12px; }

/* Feed cards — same dimensions as products but varied types */
.feed-tip {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  position: relative;
  overflow: hidden;
}
.feed-tip::before {
  content: '"';
  position: absolute;
  top: -30px; left: 10px;
  font-size: 180px;
  color: var(--green-pale);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: 0;
}
.feed-tip > * { position: relative; }
.feed-tip__eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 10px;
}
.feed-tip__quote {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 500;
}
.feed-tip__by { font-size: 12px; color: var(--muted); margin-top: auto; }
.feed-tip__cta { margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--green); }

.feed-recipe {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all .25s var(--ease);
}
.feed-recipe:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.feed-recipe__art {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  position: relative;
}
.feed-recipe__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.feed-recipe__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.feed-recipe__name { font-size: 15px; font-weight: 700; margin: 0 0 4px; color: var(--ink); line-height: 1.25; }
.feed-recipe__meta { font-size: 11px; color: var(--muted); margin-top: auto; display: flex; gap: 10px; }

.feed-pairing {
  background: linear-gradient(135deg, #1a1a1a, #3b2418);
  color: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  transition: all .25s var(--ease);
}
.feed-pairing:hover { transform: translateY(-3px); border-color: var(--yellow); }
.feed-pairing__emoji {
  font-size: 72px;
  line-height: 1;
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.feed-pairing__emoji .x { font-size: 28px; color: var(--yellow); font-family: inherit; }
.feed-pairing__title { font-size: 17px; font-weight: 800; margin: 0 0 6px; color: #fff; }
.feed-pairing__sub { font-size: 12px; color: var(--yellow); margin: 0 0 auto; }
.feed-pairing__cta { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 14px; }

/* ============================================================
   CHECKOUT OVERLAY (full-screen, 4 steps)
   ============================================================ */
.checkout {
  position: fixed;
  inset: 0;
  background: #fafafa;
  color: var(--ink);
  z-index: 120;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.checkout[aria-hidden="false"] { display: block; animation: fadeIn .3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.checkout__panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  background: transparent;
  color: var(--ink);
}
.check-card { color: var(--ink); }
.checkout__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.checkout__back {
  background: none;
  border: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.checkout__back:hover { background: var(--line-2); }
.checkout__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.checkout__brand .brand__mark { width: 32px; height: 32px; font-size: 18px; }

.check-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}
.check-progress::before {
  content: '';
  position: absolute;
  top: 14px; left: 24px; right: 24px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.check-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.check-progress__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  transition: all .3s;
}
.check-progress__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.check-progress__step.done .check-progress__dot { background: var(--green); border-color: var(--green); color: #fff; }
.check-progress__step.done .check-progress__label { color: var(--ink); }
.check-progress__step.active .check-progress__dot { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.1); }
.check-progress__step.active .check-progress__label { color: var(--ink); }

.check-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.check-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.check-card p.lead { color: var(--muted); margin: 0 0 20px; font-size: 14px; }

/* Delivery step */
.delivery-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.delivery-mode {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  cursor: pointer;
  text-align: left;
  transition: all .2s;
}
.delivery-mode:hover { border-color: var(--ink); }
.delivery-mode.active { border-color: var(--green); background: var(--green-pale); }
.delivery-mode strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.delivery-mode span { font-size: 12px; color: var(--muted); }

.delivery-address {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.delivery-address strong { font-size: 14px; display: block; }
.delivery-address span { font-size: 12px; color: var(--muted); }
.delivery-address button { background: none; border: none; color: var(--green); font-size: 12px; font-weight: 700; cursor: pointer; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.slot {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}
.slot:hover { border-color: var(--ink); }
.slot.active { border-color: var(--green); background: var(--green-pale); color: var(--green-2); }
.slot strong { display: block; font-size: 13px; font-weight: 700; }
.slot span { font-size: 11px; color: var(--muted); }
.slot.active span { color: var(--green-2); }

/* Payment step */
.pay-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.pay-tile {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all .2s;
  text-align: left;
}
.pay-tile:hover { border-color: var(--ink); transform: translateY(-1px); }
.pay-tile.active { border-color: var(--green); background: var(--green-pale); }
.pay-tile__badge {
  width: 46px; height: 32px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.pay-tile--apple .pay-tile__badge { background: #000; color: #fff; }
.pay-tile--google .pay-tile__badge { background: #fff; color: #4285f4; border: 1px solid var(--line); }
.pay-tile--afterpay .pay-tile__badge { background: #b2fce4; color: #000; }
.pay-tile--zip .pay-tile__badge { background: #1a0a3c; color: #aa8fff; }
.pay-tile--alipay .pay-tile__badge { background: #1677ff; color: #fff; }
.pay-tile--paypal .pay-tile__badge { background: #003087; color: #ffc439; }
.pay-tile--card .pay-tile__badge { background: var(--ink); color: #fff; }
.pay-tile strong { font-size: 14px; font-weight: 700; display: block; line-height: 1.2; }
.pay-tile span { font-size: 11px; color: var(--muted); }

.check-summary {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.check-summary__row { display: flex; justify-content: space-between; padding: 4px 0; }
.check-summary__row.total {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

/* Confirmation step */
.check-confirm {
  text-align: center;
  padding: 20px 0;
}
.check-confirm__icon {
  width: 80px; height: 80px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  animation: pop .6s var(--ease);
}
@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.check-confirm h2 { font-size: 26px; margin: 0 0 8px; }
.check-confirm p { color: var(--muted); font-size: 14px; margin: 6px 0 20px; }
.check-confirm__details {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 20px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 20px;
}
.check-confirm__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.check-confirm__row:last-child { border-bottom: none; }
.check-confirm__row strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   SHAZ — floating button + drawer
   ============================================================ */
.shaz-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 20px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(23,136,65,.4);
  cursor: pointer;
  z-index: 101;
  transition: all .25s var(--ease);
  font: inherit;
}
.shaz-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(23,136,65,.5); }
.shaz-btn__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  font-family: inherit;
}
.shaz-btn__label {
  font-size: 14px;
  font-weight: 600;
  padding-right: 4px;
}
.shaz-btn__label strong { font-weight: 800; }

.drawer__head--green {
  background: var(--green);
  color: #fff;
  border-bottom-color: rgba(255,255,255,.18);
}
.drawer__head--green h3 { color: #fff; }
.drawer__head--green .icon-btn { color: #fff; }
.drawer__head--green .icon-btn:hover { background: rgba(255,255,255,.15); }

.shaz-id { display: flex; align-items: center; gap: 14px; }
.avatar--shaz {
  background: var(--yellow);
  color: var(--ink);
}
.shaz-id span {
  font-size: 11px;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.shaz-drawer .drawer__panel { background: #fafafa !important; }

.shaz-chat { display: flex; flex-direction: column; gap: 10px; }
.shaz-msg {
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 85%;
  font-size: 14px;
  line-height: 1.45;
}
.shaz-msg--in {
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: var(--shadow-sm);
}
.shaz-msg--out {
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.shaz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px;
  margin-top: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.shaz-card__art {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.shaz-card__copy { flex: 1; }
.shaz-card__copy strong { display: block; font-size: 13px; font-weight: 700; }
.shaz-card__copy span { font-size: 11px; color: var(--muted); }
.shaz-card button {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chat-input {
  display: flex; gap: 8px;
  margin-bottom: 12px;
}
.chat-input input {
  flex: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.chat-input input:focus { border-color: var(--green); }
.chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  transition: all .2s;
}
.chip:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   FIRST-VISIT BANNER
   ============================================================ */
.first-visit {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: #fff;
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  z-index: 85;
  border-top: 3px solid var(--yellow);
}
.first-visit[aria-hidden="false"] { transform: translateY(0); }
.first-visit__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.first-visit__copy { flex: 1; }
.first-visit__copy strong { display: block; font-size: 16px; font-weight: 800; color: var(--yellow); }
.first-visit__copy span { font-size: 13px; color: rgba(255,255,255,.75); display: block; margin-top: 2px; }
.first-visit__form { display: flex; gap: 8px; }
.first-visit__form input {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 13px;
  width: 220px;
  outline: none;
}
.first-visit__form input::placeholder { color: rgba(255,255,255,.45); }
.first-visit__form input:focus { border-color: var(--yellow); }
.first-visit__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}
.first-visit__close:hover { color: #fff; }

/* ============================================================
   CART — "don't forget" upsells + free delivery nudge
   ============================================================ */
.dont-forget {
  border-top: 1px solid var(--line-2);
  padding: 18px 0 12px;
}
.dont-forget h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 12px;
}
.dont-forget__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.df-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-2);
  border-radius: var(--r-md);
}
.df-item__art {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  flex-shrink: 0;
}
.df-item__copy { flex: 1; min-width: 0; }
.df-item__copy strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.df-item__copy span { font-size: 11px; color: var(--muted); }
.df-item__add {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.df-item__add:hover { background: var(--green-2); }

.free-ship-nudge {
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 14px;
  border-radius: var(--r-md);
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
}
.free-ship-nudge strong { font-weight: 800; }
.free-ship-nudge__bar {
  height: 6px;
  background: rgba(0,0,0,.15);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.free-ship-nudge__fill {
  height: 100%;
  background: var(--green);
  border-radius: 3px;
  transition: width .4s var(--ease);
}

/* ============================================================
   MODAL — "Goes well with" + "More like this"
   ============================================================ */
.modal__recs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.modal__rec {
  background: var(--bg-2);
  border-radius: var(--r-md);
  padding: 10px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.modal__rec:hover { background: var(--green-pale); transform: translateY(-2px); }
.modal__rec__art {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  margin-bottom: 6px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.modal__rec strong { display: block; font-size: 11px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.modal__rec span { font-size: 11px; color: var(--green); font-weight: 700; }

/* ---------- Back to top pill ---------- */
.to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease);
  z-index: 90;
}
.to-top:hover { background: var(--green); transform: translateY(-2px); }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  z-index: 100;
  transition: width .1s linear;
}

/* ---------- Info modal (help/about/rewards) ---------- */
.info-modal__body { padding: 44px 44px 40px; max-width: 560px; }
.info-modal__body h2 { font-size: 26px; font-weight: 800; margin: 0 0 6px; }
.info-modal__body p { font-size: 14px; line-height: 1.65; color: var(--ink-2); margin: 12px 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translate(-50%, 16px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  z-index: 200;
  display: flex; align-items: center; gap: 10px;
}
.toast::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   GREETING STRIP (time-aware)
   ============================================================ */
.greeting {
  background: linear-gradient(90deg, var(--green-pale) 0%, #fff 60%);
  border-bottom: 1px solid var(--line);
}
.greeting__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
  flex-wrap: wrap;
}
.greeting__copy {
  display: flex;
  align-items: center;
  gap: 16px;
}
.greeting__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.greeting__copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
}
.greeting__copy span {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}
.greeting__shortcuts { display: flex; gap: 8px; }
.greeting__chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: all .2s;
  cursor: pointer;
}
.greeting__chip:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ============================================================
   ENHANCED SECTION HEADER
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.section-head--dark { border-color: rgba(255,255,255,.2); }
.section-head--dark h2 { color: #fff; }
.section-head--dark p { color: rgba(255,255,255,.7); }
.section-head--dark .eyebrow { color: var(--yellow); }
.section-head--dark .seeall { color: var(--yellow); }
.seeall {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.seeall:hover { gap: 8px; }

/* ============================================================
   PAIRINGS SECTION
   ============================================================ */
.pairings {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 80px;
  margin-top: 30px;
  position: relative;
}
.pairings::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255,214,10,.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(23,136,65,.10), transparent 60%);
  pointer-events: none;
}
.pairings .container { position: relative; }
.pairing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pairing {
  background: #1f1f1f;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: all .25s var(--ease);
  border: 1px solid rgba(255,255,255,.08);
}
.pairing:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.pairing__art {
  aspect-ratio: 16 / 10;
  background-color: #2a2a2a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pairing__emoji {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 92px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.4));
  transition: transform .4s var(--ease);
}
.pairing__emoji .plus {
  font-size: 38px;
  color: rgba(255,214,10,.65);
  font-family: var(--sans);
  font-weight: 300;
  filter: none;
}
.pairing:hover .pairing__emoji { transform: scale(1.06); }
.pairing__num {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  text-transform: uppercase;
  z-index: 2;
}
.pairing__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pairing__title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.pairing__sub {
  font-size: 13px;
  color: var(--yellow);
  margin: 0 0 14px;
  font-weight: 500;
}
.pairing__rule {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin: 0 0 16px;
  border-left: 2px solid var(--yellow);
  padding-left: 12px;
  line-height: 1.5;
  font-style: italic;
}
.pairing__cta {
  display: flex; gap: 8px;
  margin-top: auto;
}
.pairing__cta button {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  padding: 11px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.pairing__cta button.add-both {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}
.pairing__cta button:hover { background: var(--green); border-color: var(--green); color: #fff; }
.pairing__cta button.add-both:hover { background: #fff; color: var(--ink); }

/* ============================================================
   TASTING NOTES STRIP
   ============================================================ */
.tasting { padding: 70px 0; background: #fff; }
.tasting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.tnote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 130px 1fr;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.tnote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.tnote__art {
  background-color: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 62px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.tnote__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tnote__name {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}
.tnote__quote {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tnote__more {
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
  margin-top: 4px;
}

/* ============================================================
   PRODUCT CARD — tasting note line
   ============================================================ */
.product__note {
  font-size: 11px;
  color: var(--green);
  font-weight: 600;
  font-style: italic;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  min-height: 30px;
}

/* ============================================================
   SAVINGS TRACKER (cart)
   ============================================================ */
.savings {
  background: var(--green-pale);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-2);
}
.savings strong { font-size: 16px; font-weight: 800; color: var(--green); }
.savings.savings--zero { display: none; }

/* ============================================================
   MODAL ENHANCEMENTS — connected web
   ============================================================ */
.modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 18px;
}
.modal__chips a {
  background: var(--bg-3);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.modal__chips a:hover { background: var(--green); color: #fff; }

.modal__pair {
  background: var(--green-pale);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.modal__pair__art {
  width: 60px; height: 60px;
  border-radius: var(--r-sm);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.modal__pair__copy { flex: 1; }
.modal__pair__copy strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--green); font-weight: 700; }
.modal__pair__copy h5 { font-size: 15px; font-weight: 800; margin: 2px 0 0; color: var(--ink); }
.modal__pair button {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.modal__pair button:hover { background: var(--green-2); }

.modal__tip {
  background: #fff8e1;
  border-left: 3px solid var(--yellow);
  padding: 12px 14px;
  margin: 16px 0 18px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.5;
}
.modal__tip strong {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #946a00;
  margin-bottom: 4px;
  font-weight: 800;
}

.modal__notes {
  background: var(--bg-2);
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 14px 0 18px;
  font-style: italic;
}

/* Pairing modal — two-product layout */
.pair-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0 18px;
}
.pair-product {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  padding: 12px;
  border-radius: var(--r-md);
}
.pair-product__art {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.pair-product strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.pair-product span { font-size: 12px; color: var(--muted); }

.modal__science {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}
.modal__science h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 10px;
}
.modal__science p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .quick-cats__grid { grid-template-columns: repeat(4, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo:first-child { grid-column: 1 / -1; }
  .rail__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .modal__panel { flex-direction: column; height: min(860px, calc(100vh - 24px)); }
  .modal__art { flex: 0 0 220px; }
  .pairing-grid { grid-template-columns: repeat(2, 1fr); }
  .tasting-grid { grid-template-columns: repeat(2, 1fr); }
  .greeting__inner { flex-direction: column; align-items: flex-start; }
  .feed__grid { grid-template-columns: repeat(3, 1fr); }
  .modal__recs { grid-template-columns: repeat(2, 1fr); }
  .pay-tiles { grid-template-columns: 1fr; }
  .delivery-modes { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); }
  .first-visit__inner { flex-wrap: wrap; }
  .first-visit__form { flex: 1; }
}
@media (max-width: 760px) {
  .top-bar__right { display: none; }
  .feed__grid { grid-template-columns: repeat(2, 1fr); }
  .shaz-btn__label { display: none; }
  .shaz-btn { padding: 12px; right: 16px; bottom: 16px; }
  .first-visit__inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 16px; }
  .first-visit__form { width: 100%; }
  .first-visit__form input { flex: 1; width: auto; }
  .site-header__top { grid-template-columns: auto auto; gap: 14px; }
  .search { grid-column: 1 / -1; order: 3; max-width: 100%; }
  .brand__tag { display: none; }
  .cart-btn span:not(.cart-btn__count) { display: none; }
  .carousel__content { padding: 0 28px; }
  .carousel__title { font-size: 32px; }
  .carousel__nav { display: none; }
  .quick-cats__grid { grid-template-columns: repeat(4, 1fr); }
  .recipe-grid { grid-template-columns: 1fr; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo:first-child { grid-column: auto; }
  .rail__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); }
  .site-footer__base { flex-direction: column; gap: 6px; align-items: center; }
  .pairing-grid { grid-template-columns: 1fr; }
  .tasting-grid { grid-template-columns: 1fr; }
  .pair-products { grid-template-columns: 1fr; }
  .tnote { grid-template-columns: 100px 1fr; }
}
