/* ============================================================
   Robbinfood | members-only food savings club
   Brand system derived from the logo: juice-orange→red gradient,
   fresh green, warm cream field, smile swoosh, chunky rounded type.
   Editorial + playful (EatClub lane), not SaaS-template.
   Orange/red = brand + action. Green = food, verified, success.
   ============================================================ */

:root {
  /* sampled from the logo */
  --orange: #f6921e;
  --red: #e5341a;
  --red-deep: #c9260f;
  --green: #5fb02c;
  --green-deep: #3f8f1f;

  --brand-grad: linear-gradient(100deg, var(--orange) 0%, var(--red) 78%);

  --bg: #f8f1e4;          /* warm cream field */
  --bg-deep: #f1e6d2;     /* deeper cream */
  --surface: #fffcf6;
  --choc: #2a1a10;        /* dark chocolate panels */
  --ink: #241711;
  --ink-soft: #4d3f35;
  --muted: #8a7a6e;
  --line: rgba(36, 23, 17, 0.12);
  --line-strong: rgba(36, 23, 17, 0.24);

  --shadow-lg: 0 24px 60px rgba(36, 23, 17, 0.14);

  --font-display: "Baloo 2", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 74rem;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 100% - 2 * var(--pad-x)); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(3rem, 7.5vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* accent word inside a heading, one solid brand color, used sparingly */
.grad { color: var(--red); }

.kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.on-dark .kicker { color: var(--orange); }

.lead { font-size: 1.12rem; max-width: 34rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(229, 52, 26, 0.22);
}
.btn--primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(229, 52, 26, 0.3); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 0.95rem 2.1rem; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.textlink {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease);
}
.textlink:hover { color: var(--red); }

/* ---------- floating pill nav ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(76rem, 94%);
  z-index: 40;
  background: rgba(255, 252, 246, 0.78);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(36, 23, 17, 0.05);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 252, 246, 0.94);
  box-shadow: 0 10px 34px rgba(36, 23, 17, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.65rem 0.55rem 1.3rem;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.6rem 1.2rem 1.1rem;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  padding: 0.55rem 0.2rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.mobile-nav .btn { margin-top: 0.6rem; }
.mobile-nav.open { display: flex; }
.site-header:has(.mobile-nav.open) { border-radius: 24px; }

/* ---------- page scaffolding ---------- */
main { padding-top: 5.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--deep { background: var(--bg-deep); border-block: 1px solid var(--line); }
.section--choc { background: var(--choc); }
.section--choc h2, .section--choc h3 { color: #fff; }
.section--choc p { color: #cbb7a6; }

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.page-head .lead { margin-top: 1.2rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.hero h1 { font-size: clamp(2.7rem, 5.6vw, 4.4rem); max-width: 13ch; }
.hero .lead { margin: 1.5rem 0 1.8rem; max-width: 30rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.84rem; color: var(--muted); }
.hero-note .textlink { font-size: inherit; font-weight: 500; color: var(--ink-soft); }
.hero-note .textlink:hover { color: var(--red); }

/* the mechanic, spelled out, subscribe → code → DM → eat */
.hero-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0;
  list-style: none;
  margin: 0 0 2rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.hero-steps li { display: inline-flex; align-items: center; }
.hero-steps li + li::before {
  content: "→";
  margin: 0 0.75rem;
  color: var(--orange);
  font-weight: 400;
}
.hero-steps li:last-child { color: var(--red); font-weight: 600; }

/* ---------- Instagram DM mock (the actual product moment) ---------- */
.phone {
  width: min(21rem, 100%);
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 1rem 1rem 1.2rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
}
.dm-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0.3rem 0.85rem;
  border-bottom: 1px solid var(--line);
}
.dm-avatar {
  width: 2.3rem; height: 2.3rem;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid transparent;
  background-image: url("assets/favicon.png");
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px var(--orange);
}
.dm-name { line-height: 1.25; }
.dm-name strong { display: block; font-size: 0.9rem; color: var(--ink); font-weight: 600; }
.dm-name span { font-size: 0.74rem; color: var(--muted); }
.dm-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem 0.2rem 0.2rem; }
.bubble {
  max-width: 82%;
  padding: 0.6rem 0.95rem;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.bubble--me {
  align-self: flex-end;
  background: var(--red);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble--me .code { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; }
.bubble--them {
  align-self: flex-start;
  background: var(--bg-deep);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.bubble--them .ok { color: var(--green-deep); font-weight: 600; }
.dm-time {
  align-self: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.2rem 0;
}

/* ---------- ticker ---------- */
.ticker {
  overflow: hidden;
  background: var(--choc);
  padding: 0.75rem 0;
}
.ticker-track {
  display: flex;
  gap: 2.6rem;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 2.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.ticker span::after { content: "✦"; font-size: 0.8rem; color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- editorial numbered list (how it works) ---------- */
.hiw-list { counter-reset: hiw; }
.hiw-item {
  display: grid;
  grid-template-columns: clamp(4.5rem, 10vw, 8rem) 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: baseline;
  padding: clamp(1.6rem, 4vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
}
.hiw-item:last-child { border-bottom: 1px solid var(--line); }
.hiw-item .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}
.hiw-item h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.4rem; }
.hiw-item p { max-width: 38rem; }

/* ---------- pricing split panel ---------- */
.price-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--choc);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.price-split__price {
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-split__price .plan {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b09c8c;
}
.price-split__price .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 10vw, 7rem);
  line-height: 0.95;
  margin: 0.8rem 0 0.5rem;
  color: #fff;
}
.price-split__price .per { color: #cbb7a6; font-size: 1rem; }
.price-split__detail {
  background: var(--surface);
  padding: clamp(2.2rem, 5vw, 3rem);
}
.price-split__detail ul { list-style: none; margin: 0 0 1.8rem; }
.price-split__detail li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.price-split__detail li:last-of-type { border-bottom: none; }
.price-split__detail li svg { flex: none; margin-top: 0.25rem; color: var(--green-deep); }
.price-note { margin-top: 0.9rem; font-size: 0.78rem; color: var(--muted); }

/* classic single card (subscribe page) */
.price-card {
  max-width: 26rem;
  margin: 2.4rem auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--red);
}
.price-card .plan {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: 0.7rem 0 1.4rem;
}
.price-card .amount span { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; margin-bottom: 1.7rem; }
.price-card li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.42rem 0;
  font-size: 0.95rem;
}
.price-card li svg { flex: none; margin-top: 0.22rem; color: var(--green-deep); }
.price-card .price-note { text-align: center; }

/* ---------- pull quotes (home reviews teaser) ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.6rem;
}
.quote blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.3;
  color: var(--ink);
}
.section--choc .quote blockquote { color: #fff; }
.quote footer { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.quote .stars { color: var(--orange); letter-spacing: 0.12em; font-size: 0.85rem; display: block; margin-bottom: 0.7rem; }

/* ---------- feature tiles (about page) ---------- */
.features, .about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
  text-align: left;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.feature .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--red);
  margin-bottom: 0.9rem;
}
.feature h3 { margin-bottom: 0.35rem; }
.feature p { font-size: 0.93rem; }

/* ---------- end-of-page cta (Stripe-style: copy + follow-on links) ---------- */
.cta {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  margin-top: clamp(3rem, 8vw, 5rem);
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.cta-grid h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-grid > div > p { margin: 1rem 0 1.8rem; max-width: 30rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.cta-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.cta-mini .ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--red);
  margin-bottom: 1rem;
}
.cta-mini h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; margin-bottom: 0.35rem; }
.cta-mini p { font-size: 0.9rem; margin-bottom: 0.7rem; }
.cta-link { font-size: 0.92rem; font-weight: 600; color: var(--red); }
.cta-link:hover { color: var(--red-deep); }
/* the cta replaces the footer gap */
.cta + .site-footer, [data-mount-cta] + .site-footer { margin-top: 0; }
.site-footer { margin-top: clamp(3rem, 8vw, 5rem); }
.cta ~ .site-footer { margin-top: 0; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-grid h2 { position: sticky; top: 7rem; }
.about-copy p + p { margin-top: 1.1rem; }

/* ---------- reviews page ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.2rem;
  margin-top: 2.4rem;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}
.stars { color: var(--orange); font-size: 0.92rem; letter-spacing: 0.12em; }
.review p { font-size: 0.96rem; color: var(--ink-soft); }
.review footer { margin-top: auto; font-size: 0.82rem; color: var(--muted); }
.review footer strong { color: var(--ink); font-weight: 600; }

/* ---------- faq ---------- */
.faq-list { max-width: 46rem; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--red);
  flex: none;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 0.2rem 1.35rem; font-size: 0.96rem; max-width: 40rem; }

/* ---------- forms ---------- */
.form-card {
  max-width: 26rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 1.1rem; text-align: left; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s var(--ease);
}
.field input:focus,
.field textarea:focus { border-color: var(--orange); }
.form-note { margin-top: 0.9rem; font-size: 0.85rem; min-height: 1.2em; }
.form-note.ok { color: var(--green-deep); font-weight: 500; }
.form-note.err { color: var(--red-deep); font-weight: 500; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-ways { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.contact-way { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-way .ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  color: var(--red);
}
.contact-way strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.contact-way span, .contact-way a { font-size: 0.88rem; color: var(--muted); }
.contact-way a:hover { color: var(--red); }

/* ---------- success page ---------- */
.success-card {
  max-width: 28rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.success-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--red);
}
.success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 999px;
  background: #e9f4dd;
  color: var(--green-deep);
  margin-bottom: 1.2rem;
}
.code-box {
  margin: 1.5rem 0 0.5rem;
  padding: 1.1rem;
  background: var(--bg);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.success-steps { margin-top: 1.8rem; text-align: left; font-size: 0.94rem; }
.success-steps li { margin: 0.5rem 0 0.5rem 1.2rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--choc);
  color: #cbb7a6;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3.5rem);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem);
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 20rem; }
.footer-ig {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--orange);
}
.footer-ig:hover { color: #fff; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8f7a69;
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  padding: 0.22rem 0;
  font-size: 0.92rem;
  color: #e4d4c4;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  color: #8f7a69;
}

/* ---------- comparison table ---------- */
.cmp { max-width: 46rem; margin: 2.6rem auto 0; }
.cmp table { width: 100%; border-collapse: collapse; text-align: left; }
.cmp th, .cmp td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.cmp thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-color: var(--line-strong);
}
.cmp tbody th { font-weight: 500; color: var(--ink-soft); }
.cmp td { text-align: center; width: 7.5rem; }
.cmp .cmp-us { background: var(--surface); color: var(--ink); font-weight: 600; }
.cmp thead .cmp-us { color: var(--ink); }
.cmp .yes { color: var(--green-deep); }
.cmp .no { color: var(--muted); }

/* ---------- plain-fact strip ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.2rem;
  border-block: 1px solid var(--line);
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
}
.facts div { text-align: center; }
.facts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.facts span { font-size: 0.85rem; color: var(--muted); }

/* ---------- long-form legal pages ---------- */
.prose { max-width: 44rem; }
.prose h2 {
  font-size: 1.35rem;
  margin: 2.2rem 0 0.7rem;
}
.prose p, .prose li { font-size: 0.96rem; }
.prose p + p { margin-top: 0.8rem; }
.prose ul, .prose ol { margin: 0.8rem 0 0.8rem 1.4rem; }
.prose li { margin: 0.35rem 0; }
.prose .updated { font-size: 0.82rem; color: var(--muted); margin-bottom: 2rem; }
.prose a { color: var(--red); font-weight: 500; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone { transform: none; }
  .price-split { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-grid h2 { position: static; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 0.3rem; }
}

@media (max-width: 480px) {
  .brand img { height: 30px; }
  .hero-cta .btn { width: 100%; }
  .hiw-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .code-box { font-size: 1.5rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .site-header { transition: none; }
  .ticker-track { animation: none; }
}

/* ============================================================
   BorderGlow, vanilla port of the React Bits component.
   Applied to dark panels via [data-border-glow]; app.js injects
   the .edge-light span and drives --edge-proximity/--cursor-angle
   from pointer position. Mesh colors are the brand palette,
   glow is a warm gold. Hover-only, the one flourish.
   ============================================================ */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 30;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --glow-padding: 48px;
  --cone-spread: 25;
  --fill-opacity: 0.5;
  --card-bg: var(--choc);
  --glow-color: hsl(35deg 92% 70% / 100%);
  --glow-color-60: hsl(35deg 92% 70% / 85%);
  --glow-color-50: hsl(35deg 92% 70% / 70%);
  --glow-color-40: hsl(35deg 92% 70% / 55%);
  --glow-color-30: hsl(35deg 92% 70% / 42%);
  --glow-color-20: hsl(35deg 92% 70% / 28%);
  --glow-color-10: hsl(35deg 92% 70% / 14%);
  --gradient-one: radial-gradient(at 80% 55%, #f6921e 0px, transparent 50%);
  --gradient-two: radial-gradient(at 69% 34%, #e5341a 0px, transparent 50%);
  --gradient-three: radial-gradient(at 8% 6%, #5fb02c 0px, transparent 50%);
  --gradient-four: radial-gradient(at 41% 38%, #f6921e 0px, transparent 50%);
  --gradient-five: radial-gradient(at 86% 85%, #e5341a 0px, transparent 50%);
  --gradient-six: radial-gradient(at 82% 18%, #5fb02c 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51% 4%, #e5341a 0px, transparent 50%);
  --gradient-base: linear-gradient(#f6921e 0 100%);

  position: relative;
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: visible;
}
.border-glow-card > :not(.edge-light) { position: relative; z-index: 2; }

.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: 1;
  pointer-events: none;
}
.border-glow-card:not(:hover)::before,
.border-glow-card:not(:hover)::after,
.border-glow-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* colored mesh-gradient border */
.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0% 100%) border-box,
    var(--gradient-one) border-box,
    var(--gradient-two) border-box,
    var(--gradient-three) border-box,
    var(--gradient-four) border-box,
    var(--gradient-five) border-box,
    var(--gradient-six) border-box,
    var(--gradient-seven) border-box,
    var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
  -webkit-mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
}

/* soft mesh fill near the edges */
.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one) padding-box,
    var(--gradient-two) padding-box,
    var(--gradient-three) padding-box,
    var(--gradient-four) padding-box,
    var(--gradient-five) padding-box,
    var(--gradient-six) padding-box,
    var(--gradient-seven) padding-box,
    var(--gradient-base) padding-box;
  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* outer glow */
.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  mask-image: conic-gradient(
    from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
  -webkit-mask-image: conic-gradient(
    from var(--cursor-angle) at center, black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}
.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px 0 var(--glow-color-60),
    inset 0 0 3px 0 var(--glow-color-50),
    inset 0 0 6px 0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px 0 var(--glow-color-60),
    0 0 3px 0 var(--glow-color-50),
    0 0 6px 0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20),
    0 0 50px 2px var(--glow-color-10);
}

/* the glow extends past the card, so the pricing panel can't clip -
   round the light half's own corners instead */
.price-split { overflow: visible; }
.price-split__detail { border-radius: 0 var(--radius) var(--radius) 0; }
@media (max-width: 880px) {
  .price-split__detail { border-radius: 0 0 var(--radius) var(--radius); }
}

@media (prefers-reduced-motion: reduce) {
  .border-glow-card::before,
  .border-glow-card::after,
  .border-glow-card > .edge-light { transition: none; }
}

/* ============================================================
   Store (grocery catalogue, cart drawer, plan gate)
   ============================================================ */

.store-hero { padding: clamp(2.2rem, 5vw, 3.6rem) 0 0; }
.store-hero-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.store-title { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--ink); }
.store-sub { max-width: 34rem; margin-top: 0.4rem; }

.store-tier-card {
  display: flex; flex-direction: column; gap: 0.1rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.9rem 1.2rem; min-width: 13rem;
}
.store-tier-card strong { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); line-height: 1.2; }
.store-tier-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.store-tier-pct { font-size: 0.85rem; color: var(--green-deep); font-weight: 600; }

.store-toolbar {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line);
}
.store-search {
  display: flex; align-items: center; gap: 0.5rem; flex: 0 0 16rem;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.55rem 1rem; color: var(--muted);
}
.store-search input {
  border: 0; outline: 0; background: none; width: 100%;
  font: inherit; color: var(--ink);
}
.store-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line-strong); background: none; cursor: pointer;
  border-radius: 999px; padding: 0.45rem 1rem; font: inherit; font-size: 0.88rem;
  font-weight: 500; color: var(--ink-soft); transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--on { background: var(--ink); border-color: var(--ink); color: #fff; }

.store-body { padding: 1.6rem 0 4rem; }
.store-status { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.1rem; }

.product-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
}
.product-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.8rem;
  display: flex; flex-direction: column; gap: 0.45rem;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.product-card:hover { box-shadow: 0 10px 26px rgba(36, 23, 17, 0.1); transform: translateY(-2px); }
.product-img { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-img .img-fallback { object-fit: contain; opacity: 0.25; padding: 18%; }
.product-save {
  position: absolute; top: 0.45rem; left: 0.45rem;
  background: var(--green); color: #fff; font-size: 0.7rem; font-weight: 700;
  border-radius: 6px; padding: 0.1rem 0.4rem;
}
.product-name {
  font-family: var(--font-body); font-weight: 500; font-size: 0.86rem;
  color: var(--ink); line-height: 1.35; min-height: 2.3em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price { display: flex; align-items: baseline; gap: 0.45rem; }
.product-price strong { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); }
.product-price s { font-size: 0.8rem; color: var(--muted); }
.product-add { padding: 0.5rem 1rem; font-size: 0.9rem; margin-top: auto; }

.qty-stepper {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--ink); border-radius: 999px; margin-top: auto;
}
.qty-stepper button {
  border: 0; background: none; cursor: pointer; font-size: 1.1rem; line-height: 1;
  padding: 0.45rem 0.9rem; color: var(--ink); font-weight: 700;
}
.qty-stepper span { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.qty-stepper--sm { margin: 0; }
.qty-stepper--sm button { padding: 0.25rem 0.65rem; }

/* cart fab */
.cart-fab {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  display: flex; align-items: center; gap: 0.55rem; z-index: 60;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  border-radius: 999px; padding: 0.85rem 1.3rem; font: inherit; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: transform 0.18s var(--ease);
}
.cart-fab:hover { transform: translateY(-2px); }
.cart-fab--full { background: var(--red); }
.cart-fab [data-cart-count] {
  background: #fff; color: var(--ink); border-radius: 999px;
  font-size: 0.78rem; min-width: 1.4em; text-align: center; padding: 0.05rem 0.35rem;
}
.cart-fab--full [data-cart-count] { color: var(--red); }

/* cart drawer */
.cart-scrim {
  position: fixed; inset: 0; background: rgba(36, 23, 17, 0.45); z-index: 70;
}
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71;
  width: min(26rem, 100vw); background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: -18px 0 50px rgba(36, 23, 17, 0.18);
}
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.3rem; color: var(--ink); }
.cart-close {
  border: 0; background: none; cursor: pointer; font-size: 1rem;
  color: var(--muted); padding: 0.4rem;
}
.cart-items { flex: 1; overflow-y: auto; padding: 0.4rem 1.3rem; }
.cart-empty { padding: 2.5rem 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.cart-line {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.cart-line img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.cart-line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-line-info span { font-size: 0.85rem; font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line-info small { font-size: 0.75rem; color: var(--muted); }
.cart-line > strong { font-size: 0.9rem; color: var(--ink); min-width: 3.4rem; text-align: right; }

.cart-upgrade {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin: 0.8rem 1.3rem 0; padding: 0.7rem 0.9rem;
  background: rgba(95, 176, 44, 0.09); border: 1px solid rgba(95, 176, 44, 0.35);
  border-radius: var(--radius-sm); font-size: 0.82rem; line-height: 1.5;
}
.cart-upgrade p { margin: 0; }

.cart-member { padding: 0.8rem 1.3rem 0; font-size: 0.85rem; }
.cart-member form { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.cart-member input {
  flex: 1; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 0.5rem 0.8rem; font: inherit; text-transform: uppercase;
}
.cart-member form .btn { padding: 0.5rem 1rem; font-size: 0.85rem; }
.cart-member-note { margin-top: 0.4rem; font-size: 0.78rem; color: var(--muted); }
.cart-member-note .textlink { margin-left: 0.3rem; border: 0; background: none; cursor: pointer; font: inherit; }
.cart-member > .textlink { border: 0; background: none; cursor: pointer; font: inherit; }

.cart-summary { padding: 1rem 1.3rem 1.3rem; border-top: 1px solid var(--line); }
.cart-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 0.2rem 0; }
.cart-row strong { color: var(--ink); }
.cart-row--total { font-size: 1.05rem; padding-top: 0.5rem; }
.cart-row--total strong { font-family: var(--font-display); font-size: 1.3rem; }
.cart-note { font-size: 0.75rem; color: var(--muted); margin: 0.35rem 0 0.8rem; }
.cart-note--error { color: var(--red-deep); margin-top: 0.6rem; }

/* plan gate */
.plan-gate {
  position: fixed; inset: 0; z-index: 80; overflow-y: auto;
  background: rgba(36, 23, 17, 0.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 1.2rem;
}
.plan-gate-panel {
  background: var(--surface); border-radius: var(--radius);
  max-width: 52rem; width: 100%; padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.plan-gate-logo { height: 44px; width: auto; margin: 0 auto 0.9rem; }
.plan-gate-panel h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--ink); }
.plan-gate-sub { max-width: 30rem; margin: 0.5rem auto 1.6rem; font-size: 0.95rem; }
.plan-cards { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.plan-card {
  position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 1.3rem 1.1rem 1.2rem; text-align: left;
  display: flex; flex-direction: column; gap: 0.15rem; background: var(--surface);
}
.plan-card--best { border: 2px solid var(--red); box-shadow: 0 14px 34px rgba(229, 52, 26, 0.14); }
.plan-flag {
  position: absolute; top: -0.75rem; left: 1rem;
  background: var(--brand-grad); color: #fff; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 999px; padding: 0.2rem 0.7rem;
}
.plan-card h3 { font-size: 1.15rem; color: var(--ink); }
.plan-price { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); line-height: 1.15; }
.plan-pct { font-weight: 700; color: var(--green-deep); font-size: 0.9rem; }
.plan-card p { font-size: 0.82rem; margin: 0.35rem 0 0.9rem; flex: 1; }
.plan-gate-skip {
  margin-top: 1.3rem; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.plan-gate-skip:hover { color: var(--red); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  z-index: 90; background: var(--ink); color: #fff;
  border-radius: 999px; padding: 0.75rem 1.4rem; font-size: 0.9rem; font-weight: 500;
  box-shadow: var(--shadow-lg); max-width: min(92vw, 34rem); text-align: center;
}
.toast--ok { background: var(--green-deep); }

@media (max-width: 640px) {
  .store-hero-row { align-items: stretch; }
  .store-tier-card { flex-direction: row; align-items: center; gap: 0.6rem; min-width: 0; flex-wrap: wrap; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.7rem; }
}

/* The [hidden] attribute must always win, even over display:grid/flex
   components (plan gate, cart drawer) — the store JS toggles visibility
   with it. */
[hidden] { display: none !important; }

/* sort control + design tightening */
.store-sort {
  display: flex; align-items: center; gap: 0.5rem; margin-left: auto;
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
}
.store-sort select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234d3f35' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9rem center;
  padding: 0.5rem 2.1rem 0.5rem 1rem; font: inherit; font-size: 0.88rem;
  color: var(--ink); cursor: pointer;
}
.store-sort select:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

/* calmer product cards: quieter add button, steadier baseline */
.product-add {
  background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink);
}
.product-add:hover { background: var(--ink); color: #fff; box-shadow: none; transform: none; }
.product-card:hover { transform: none; }
.product-save { background: var(--ink); }
.store-title { margin-top: 0.15rem; }
.store-tier-card { box-shadow: none; }
@media (max-width: 640px) {
  .store-sort { margin-left: 0; width: 100%; }
  .store-sort select { flex: 1; }
}

/* ---------- product links, sub-aisles, PDP ---------- */

.product-link {
  display: flex; flex-direction: column; gap: 0.45rem;
  color: inherit; text-decoration: none;
}
.product-link:hover .product-name { color: var(--red); }
.product-size {
  font-size: 0.78rem; color: var(--ink-soft); margin: 0;
}

/* Section headings when one aisle is split into sub-aisles. */
.product-grid--grouped { display: block; }
.sub-aisle {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: 1.15rem; margin: 2rem 0 0.9rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.product-grid--grouped > .sub-aisle:first-child { margin-top: 0.4rem; }
.sub-aisle-count {
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.1rem 0.5rem;
}

.crumbs {
  display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.1rem;
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }

.pdp {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 4vw, 3rem); align-items: start;
}
.pdp-media {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  aspect-ratio: 1; overflow: hidden;
}
.pdp-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.pdp-media .img-fallback { opacity: 0.25; padding: 22%; }
.pdp-media .product-save { position: absolute; top: 0.8rem; left: 0.8rem; }

.pdp-title {
  font-family: "Baloo 2", system-ui, sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.15; margin: 0.15rem 0 0.35rem;
}
.pdp-size { color: var(--ink-soft); margin: 0 0 1rem; }

.pdp-rating { display: flex; align-items: center; gap: 0.3rem; min-height: 1.1rem; }
.star { color: #d9d0c6; font-size: 0.95rem; line-height: 1; }
.star--on { color: #f6921e; }
.rating-count { font-size: 0.78rem; color: var(--ink-soft); margin-left: 0.25rem; }

.pdp-price { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.pdp-price strong { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.pdp-price s { color: var(--ink-soft); }
.pdp-tier {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #3f8f1f; background: rgba(95, 176, 44, 0.12);
  border-radius: 999px; padding: 0.2rem 0.6rem;
}

.pdp-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.pdp-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: 0.55rem; }
.pdp-facts li {
  font-size: 0.85rem; color: var(--ink-soft);
  padding-left: 1.1rem; position: relative;
}
.pdp-facts li::before {
  content: "✓"; position: absolute; left: 0; color: #5fb02c; font-weight: 700;
}
.pdp-facts strong { color: var(--ink); }

.pdp-upsell {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 0.8rem 0.95rem;
  font-size: 0.88rem; margin: 0;
}
.pdp-related { margin-top: 3rem; }

@media (max-width: 760px) {
  .pdp { grid-template-columns: 1fr; }
}

.store-more { display: flex; justify-content: center; margin-top: 2rem; }
