/* ==========================================================================
   Rawvegan RecipesBook - "Lagoon" design system
   Palette: lagoon ink, aqua, mist, lavender, papaya.
   Type: Young Serif (display) + Onest (text).
   ========================================================================== */

:root {
  --lagoon: #0e2f33;
  --lagoon-2: #1d4a4f;
  --aqua: #13897f;
  --aqua-deep: #0b6b63;
  --aqua-soft: #d7efeb;
  --mist: #eaf3f1;
  --foam: #f6fbfa;
  --white: #ffffff;
  --lilac: #cfc2f2;
  --lilac-soft: #efeafc;
  --papaya: #ff8a5b;
  --papaya-deep: #e0663a;
  --papaya-soft: #ffe6da;
  --line: #cfe1dd;
  --muted: #4f6d69;
  --danger: #b3261e;
  --ok: #1d7a4f;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-xs: 10px;
  --r-sm: 16px;
  --r-md: 24px;
  --r-lg: 36px;
  --r-pill: 999px;

  --shadow-soft: 0 1px 2px rgba(14, 47, 51, .06), 0 10px 30px -12px rgba(14, 47, 51, .18);
  --shadow-lift: 0 2px 4px rgba(14, 47, 51, .08), 0 24px 48px -20px rgba(14, 47, 51, .35);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lagoon);
  background: var(--mist);
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-deep); text-underline-offset: 3px; }
a:hover { color: var(--lagoon); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { background: var(--lilac-soft); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.h-sm { font-size: 1.45rem; }
.h-xs { font-size: 1.05rem; font-family: var(--font-text); font-weight: 700; letter-spacing: 0; }

:focus-visible { outline: 3px solid var(--papaya); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--lagoon); color: #fff;
  padding: 10px 16px; border-radius: var(--r-pill);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.block { margin-block: clamp(40px, 7vw, 88px); }
main { display: block; min-height: 60vh; }
main:focus { outline: none; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--aqua-deep); margin: 0 0 .7em;
}
.eyebrow--center { text-align: center; }
.hl { color: var(--aqua); }

/* --------------------------------------------------------------------------
   Buttons, chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r-pill); border: 2px solid var(--lagoon);
  background: var(--lagoon); color: #fff; font-weight: 600; text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { background: var(--aqua-deep); border-color: var(--aqua-deep); color: #fff; transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; color: var(--lagoon); }
.btn--ghost:hover { background: var(--lagoon); color: #fff; }
.btn--papaya { background: var(--papaya); border-color: var(--papaya); color: var(--lagoon); }
.btn--papaya:hover { background: var(--papaya-deep); border-color: var(--papaya-deep); color: #fff; }
.btn--sm { padding: 7px 14px; font-size: .9rem; }
.btn--lg { padding: 14px 28px; font-size: 1.05rem; }
.btn--wide { width: 100%; }

.chip {
  display: inline-block; padding: 3px 11px; border-radius: var(--r-pill); background: var(--aqua-soft);
  color: var(--aqua-deep); font-size: .74rem; font-weight: 600; text-decoration: none; letter-spacing: .02em;
}
.chip:hover { background: var(--aqua); color: #fff; }
.chip--lilac { background: var(--lilac-soft); color: #5b46a3; }

.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* --------------------------------------------------------------------------
   Floating capsule header
   -------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 40; padding: 12px var(--gutter) 0; pointer-events: none; }
.capsule {
  pointer-events: auto; max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 14px; padding: 7px 7px 7px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lagoon); flex: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { font-family: var(--font-display); font-size: 1.12rem; line-height: 1; white-space: nowrap; }

.mainnav { display: flex; gap: 2px; margin-left: 6px; }
.mainnav a {
  padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; color: var(--lagoon);
  font-weight: 500; font-size: .95rem;
}
.mainnav a:hover { background: var(--mist); }
.mainnav a.is-on { background: var(--lagoon); color: #fff; }

.hsearch {
  position: relative; flex: 1 1 auto; min-width: 150px; max-width: 340px; margin-left: auto;
  display: flex; align-items: center; background: var(--mist); border-radius: var(--r-pill); padding: 0 4px 0 14px;
}
.hsearch .ico { color: var(--muted); width: 18px; height: 18px; }
.hsearch input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 8px; outline: none; font-size: .95rem;
}
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch:focus-within { box-shadow: 0 0 0 2px var(--aqua); background: #fff; }
.hsearch__go {
  border: 0; background: var(--aqua); color: #fff; border-radius: var(--r-pill); padding: 6px 12px;
  font-size: .82rem; font-weight: 600; cursor: pointer;
}

.suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; min-width: 300px; z-index: 60;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lift); border: 1px solid var(--line);
  padding: 8px; max-height: 70vh; overflow: auto;
}
.suggest a { display: flex; align-items: center; gap: 10px; padding: 7px; border-radius: var(--r-sm); text-decoration: none; color: var(--lagoon); }
.suggest a:hover, .suggest a.is-active { background: var(--mist); }
.suggest img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; }
.suggest small { display: block; color: var(--muted); font-size: .76rem; }
.suggest__all { justify-content: center; font-weight: 600; color: var(--aqua-deep) !important; }
.suggest__none { padding: 10px; color: var(--muted); font-size: .9rem; margin: 0; }

.tools { display: flex; align-items: center; gap: 4px; flex: none; }
.tool {
  position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%;
  color: var(--lagoon); background: transparent; border: 0; cursor: pointer; text-decoration: none;
}
.tool:hover { background: var(--mist); }
.tool__dot { position: absolute; top: 8px; right: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--papaya); border: 2px solid #fff; }
.badge {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--papaya); color: var(--lagoon); font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.tool--menu { display: none; background: var(--lagoon); color: #fff; }
.tool--menu:hover { background: var(--aqua-deep); }

/* Slide-down sheet menu */
.sheet { position: fixed; inset: 0; z-index: 80; background: rgba(14, 47, 51, .45); }
.sheet[hidden] { display: none; }
.sheet__panel {
  background: var(--foam); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 18px var(--gutter) 28px;
  max-height: 100vh; overflow: auto; animation: drop .22s ease-out;
}
@keyframes drop { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet__title { font-family: var(--font-display); font-size: 1.4rem; }
.sheet__search { display: flex; gap: 8px; margin-bottom: 20px; }
.sheet__search input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; background: #fff; }
.sheet__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.sheet__links, .sheet__cats { list-style: none; margin: 0; padding: 0; }
.sheet__links a { display: block; padding: 7px 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--lagoon); text-decoration: none; }
.sheet__cats { columns: 2; column-gap: 16px; }
.sheet__cats a { display: flex; justify-content: space-between; gap: 6px; padding: 6px 0; color: var(--lagoon); text-decoration: none; border-bottom: 1px dashed var(--line); break-inside: avoid; }
.sheet__cats span { color: var(--muted); font-size: .85rem; }

/* Flash + toast */
.flashes { max-width: var(--wrap); margin: 14px auto 0; padding-inline: var(--gutter); display: grid; gap: 8px; }
.flash {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px 12px 20px;
  border-radius: var(--r-pill); background: var(--aqua-soft); color: var(--lagoon); font-weight: 500;
}
.flash--error { background: #fde3df; color: #7a1c14; }
.flash--info { background: var(--lilac-soft); }
.flash__x { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 90; background: var(--lagoon); color: #fff;
  padding: 12px 20px; border-radius: var(--r-pill); box-shadow: var(--shadow-lift); font-weight: 500; white-space: nowrap;
  max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast a { color: var(--papaya); margin-left: 8px; }

/* --------------------------------------------------------------------------
   Section heads, crumbs
   -------------------------------------------------------------------------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); padding-top: 22px; padding-bottom: 4px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--aqua-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--lagoon); font-weight: 500; }

/* --------------------------------------------------------------------------
   Home hero: typographic headline with photo capsules in the text
   -------------------------------------------------------------------------- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(36px, 6vw, 64px); text-align: center; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 24px var(--gutter) auto; height: 78%; z-index: -1; border-radius: var(--r-lg);
  background:
    radial-gradient(60% 70% at 12% 20%, rgba(207, 194, 242, .55), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(19, 137, 127, .20), transparent 70%);
  max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto;
}
.hero__title {
  font-size: clamp(2.3rem, 6.6vw, 5.4rem); line-height: 1.08; max-width: 1080px; margin: 0 auto .45em;
  letter-spacing: -.025em;
}
.hero__amp { color: var(--aqua); font-style: italic; }
.pillimg {
  display: inline-block; vertical-align: middle; width: 1.9em; height: .95em; border-radius: var(--r-pill);
  overflow: hidden; margin: -.12em .04em 0; box-shadow: 0 0 0 4px #fff, var(--shadow-soft); transform: rotate(-3deg);
}
.pillimg--1 { transform: rotate(4deg); width: 1.5em; }
.pillimg--2 { transform: rotate(-2deg); width: 2.3em; }
.pillimg--3 { transform: rotate(3deg); width: 1.2em; height: 1.2em; }
.pillimg img { width: 100%; height: 100%; object-fit: cover; }
.hero__lede { max-width: 660px; margin: 0 auto 28px; font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); }
.hero__search {
  max-width: 680px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: #fff;
  border-radius: var(--r-pill); padding: 7px 7px 7px 22px; box-shadow: var(--shadow-lift); border: 1px solid var(--line);
}
.hero__search .ico { color: var(--muted); }
.hero__search input { flex: 1; min-width: 0; border: 0; outline: none; padding: 10px 4px; font-size: 1.05rem; background: transparent; }
.hero__search--sm { box-shadow: var(--shadow-soft); margin-bottom: 22px; }
.hero__quick { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-size: .9rem; color: var(--muted); }
.hero__quick a { padding: 4px 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--lagoon); }
.hero__quick a:hover { border-color: var(--aqua); color: var(--aqua-deep); }

/* --------------------------------------------------------------------------
   Method tabs
   -------------------------------------------------------------------------- */
.methods { padding: clamp(32px, 5vw, 56px) 0; }
.methods__tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px; margin-bottom: 20px; background: #fff; border-radius: var(--r-pill);
  border: 1px solid var(--line); scrollbar-width: none; width: max-content; max-width: 100%;
}
.methods__tabs::-webkit-scrollbar { display: none; }
.methods__tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 10px 18px;
  border-radius: var(--r-pill); cursor: pointer; font-weight: 600; white-space: nowrap; color: var(--muted);
}
.methods__tabs [role="tab"][aria-selected="true"] { background: var(--lagoon); color: #fff; }
.methods__tabs [role="tab"]:hover:not([aria-selected="true"]) { background: var(--mist); color: var(--lagoon); }
.methods__glyph { width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); }
.methods__glyph--chop { border-radius: 3px; background: var(--papaya); transform: rotate(45deg); }
.methods__glyph--soak { background: var(--lilac); }
.methods__glyph--chill { background: #8fd3e8; border-radius: 3px; }
.methods__glyph--dehydrate { background: #f2c14e; }
.methods__blurb { color: var(--muted); margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Horizontal recipe cards
   -------------------------------------------------------------------------- */
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 470px), 1fr)); gap: 18px; }
.rgrid--stack { grid-template-columns: 1fr; }
.rcard {
  display: grid; grid-template-columns: 168px 1fr; gap: 16px; padding: 10px; background: #fff;
  border-radius: var(--r-md); border: 1px solid transparent; box-shadow: var(--shadow-soft);
  transition: border-color .15s ease, transform .15s ease; min-width: 0;
}
.rcard:hover { border-color: var(--aqua); transform: translateY(-2px); }
.rcard__media { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1 / 1; background: var(--aqua-soft); }
.rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rcard:hover .rcard__media img { transform: scale(1.05); }
.rcard__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 6px 8px 4px 0; }
.rcard__title { font-size: 1.14rem; margin: 8px 0 6px; }
.rcard__title a { color: var(--lagoon); text-decoration: none; }
.rcard__title a:hover { color: var(--aqua-deep); }
.rcard__sum {
  font-size: .9rem; color: var(--muted); margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.rcard__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8rem; color: var(--muted); }
.meta-time { display: inline-flex; align-items: center; gap: 4px; }
.meta-time .ico { width: 15px; height: 15px; }

.lock {
  position: absolute; top: 8px; left: 8px; width: 32px; height: 32px; border-radius: 50%; background: var(--papaya);
  display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .85);
}
.lock svg { width: 16px; height: 16px; fill: none; stroke: var(--lagoon); stroke-width: 2.2; stroke-linecap: round; }
.tag-members, .tag-free { font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--r-pill); }
.tag-members { background: var(--papaya-soft); color: #9a3b14; }
.tag-free { background: var(--aqua-soft); color: var(--aqua-deep); }

.level { display: inline-flex; gap: 3px; align-items: center; }
.level i { width: 7px; height: 12px; border-radius: 4px; background: var(--line); }
.level--1 i:nth-child(1),
.level--2 i:nth-child(-n+2),
.level--3 i { background: var(--aqua); }

.stars { display: inline-flex; align-items: center; gap: 5px; }
.stars__track {
  position: relative; width: 62px; height: 12px; display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .6l1.6 3.4 3.8.4-2.8 2.5.8 3.7L6 8.7 2.6 10.6l.8-3.7L.6 4.4l3.8-.4z' fill='%23cfe1dd'/%3E%3C/svg%3E") left / 12.4px 12px repeat-x;
}
.stars__fill {
  position: absolute; inset: 0 auto 0 0; display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 .6l1.6 3.4 3.8.4-2.8 2.5.8 3.7L6 8.7 2.6 10.6l.8-3.7L.6 4.4l3.8-.4z' fill='%23ff8a5b'/%3E%3C/svg%3E") left / 12.4px 12px repeat-x;
}
.stars__num { font-weight: 700; color: var(--lagoon); }
.stars__count { color: var(--muted); }

/* --------------------------------------------------------------------------
   Aisles: tall capsule tiles
   -------------------------------------------------------------------------- */
.aisles { padding: clamp(32px, 5vw, 56px) 0; }
.aisles__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px 14px; }
.aisle { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: var(--lagoon); }
.aisle__img {
  width: 100%; aspect-ratio: 3 / 4.4; border-radius: var(--r-pill); overflow: hidden; display: block; margin-bottom: 10px;
  border: 4px solid #fff; box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease;
}
.aisle__img img { width: 100%; height: 100%; object-fit: cover; }
.aisle:hover .aisle__img { transform: translateY(-4px) rotate(-1.5deg); box-shadow: var(--shadow-lift); }
.aisle strong { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.aisle small { color: var(--muted); font-size: .78rem; }

/* --------------------------------------------------------------------------
   Members shelf band + tickets
   -------------------------------------------------------------------------- */
.shelf { background: var(--lilac-soft); border-radius: var(--r-lg); margin: clamp(40px, 7vw, 88px) var(--gutter); padding: clamp(28px, 5vw, 64px) 0; }
.shelf__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.shelf__copy { position: sticky; top: 100px; }
.shelf__cta { display: flex; flex-wrap: wrap; gap: 10px; }

.tickets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.ticket {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-soft); overflow: hidden; text-align: left;
}
.ticket__main { padding: 24px 24px 18px; }
.ticket__stub {
  position: relative; padding: 18px 24px 22px; border-top: 2px dashed var(--line); background: var(--foam);
}
.ticket__stub::before,
.ticket__stub::after {
  content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--mist);
}
.ticket__stub::before { left: -12px; }
.ticket__stub::after { right: -12px; }
.paywall .ticket__stub::before, .paywall .ticket__stub::after { background: var(--lilac-soft); }
.ticket__stub .btn { width: 100%; }
.ticket__price { font-family: var(--font-display); font-size: 2.3rem; margin: 0 0 6px; line-height: 1; }
.ticket__price small { font-family: var(--font-text); font-size: .9rem; color: var(--muted); margin-left: 6px; }
.ticket__note { color: var(--muted); font-size: .92rem; margin: 0; }
.ticket--best { box-shadow: 0 0 0 3px var(--papaya), var(--shadow-soft); }
.save { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: var(--r-pill); background: var(--papaya); color: var(--lagoon); letter-spacing: .02em; text-transform: none; font-size: .75rem; }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.pcard { border-radius: var(--r-md); padding: 10px; display: flex; flex-direction: column; min-width: 0; }
.pcard--aqua { background: var(--aqua-soft); }
.pcard--lilac { background: var(--lilac-soft); }
.pcard--papaya { background: var(--papaya-soft); }
.pcard--mist { background: #dde9e6; }
.pcard__media { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--r-md) - 6px); overflow: hidden; background: #fff; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__flag { position: absolute; top: 10px; left: 10px; padding: 3px 10px; border-radius: var(--r-pill); background: var(--papaya); font-size: .72rem; font-weight: 700; }
.pcard__flag--out { background: var(--lagoon); color: #fff; }
.pcard__body { padding: 12px 6px 4px; display: flex; flex-direction: column; flex: 1; }
.pcard__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 4px; }
.pcard__name { font-size: 1.05rem; margin: 0 0 12px; }
.pcard__name a { color: var(--lagoon); text-decoration: none; }
.pcard__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 700; font-size: 1.05rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .85rem; margin-left: 4px; }
.price--lg { font-size: 1.8rem; font-family: var(--font-display); font-weight: 400; }
.addbtn {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lagoon); color: #fff; cursor: pointer;
  display: grid; place-items: center; flex: none; transition: background .15s ease, transform .15s ease;
}
.addbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.addbtn:hover { background: var(--aqua-deep); transform: rotate(90deg); }
.addbtn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.addbtn.is-added { background: var(--papaya); color: var(--lagoon); }

/* --------------------------------------------------------------------------
   Masonry mosaic
   -------------------------------------------------------------------------- */
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry__item { break-inside: avoid; margin: 0 0 14px; position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--aqua-soft); }
.masonry__item a { display: block; color: #fff; }
.masonry__item img { width: 100%; height: auto; transition: transform .5s ease; }
.masonry__item figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(14, 47, 51, .78); color: #fff; font-size: .82rem; line-height: 1.35;
  transform: translateY(8px); opacity: 0; transition: all .25s ease;
}
.masonry__item:hover figcaption, .masonry__item a:focus-visible figcaption { transform: none; opacity: 1; }
.masonry__item:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   Journal notes
   -------------------------------------------------------------------------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.notes--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: clamp(40px, 7vw, 88px); }
.note { background: #fff; border-radius: var(--r-md); padding: 10px 10px 18px; box-shadow: var(--shadow-soft); }
.note__media { display: block; aspect-ratio: 16 / 11; border-radius: var(--r-sm); overflow: hidden; margin-bottom: 14px; }
.note__media img { width: 100%; height: 100%; object-fit: cover; }
.note h3, .note p { padding-inline: 8px; }
.note h3 a { color: var(--lagoon); text-decoration: none; }
.note h3 a:hover { color: var(--aqua-deep); }
.note p { color: var(--muted); font-size: .92rem; }
.note__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); }
.byline { font-size: .85rem; color: var(--muted); }
.leadpost { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 12px; margin-bottom: 28px; box-shadow: var(--shadow-soft); }
.leadpost__media { display: block; aspect-ratio: 4 / 3; border-radius: calc(var(--r-lg) - 10px); overflow: hidden; }
.leadpost__media img { width: 100%; height: 100%; object-fit: cover; }
.leadpost__body { padding: 16px 20px 16px 0; }
.leadpost__body h2 a { color: var(--lagoon); text-decoration: none; }

/* --------------------------------------------------------------------------
   Listing pages
   -------------------------------------------------------------------------- */
.listhead, .searchhead, .storehead, .memberhead, .abouthead { padding-top: clamp(28px, 5vw, 56px); padding-bottom: 20px; }
.listhead p, .searchhead p { max-width: 680px; color: var(--muted); }
.aislehead {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 48px); align-items: center;
  padding-top: 18px; padding-bottom: 28px;
}
.aislehead__copy p { color: var(--muted); max-width: 600px; }
.aislehead__tag { font-family: var(--font-display); color: var(--aqua-deep) !important; font-size: 1.2rem; }
.aislehead__img { border-radius: 200px 200px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lift); }
.aislehead__img img { width: 100%; height: 100%; object-fit: cover; }

.aislenav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: 8px; scrollbar-width: thin; }
.aislenav a {
  flex: none; padding: 8px 15px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--lagoon); font-size: .88rem; white-space: nowrap;
}
.aislenav a span { color: var(--muted); font-size: .78rem; margin-left: 2px; }
.aislenav a:hover { border-color: var(--aqua); }
.aislenav a.is-on { background: var(--aqua); border-color: var(--aqua); color: #fff; }
.aislenav a.is-on span { color: #dff5f1; }

.filters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; margin-bottom: 18px;
  background: #fff; border-radius: var(--r-md); border: 1px solid var(--line);
}
.filters--search { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.filters__q {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; background: var(--mist); border-radius: var(--r-pill); padding: 5px 5px 5px 16px;
}
.filters__q .ico { color: var(--muted); }
.filters__q input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 4px; outline: none; font-size: 1.05rem; }
.filters__field label { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.filters__field select, .sortform select, .field select {
  width: 100%; appearance: none; padding: 9px 36px 9px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--foam)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2f33' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
  cursor: pointer;
}
.resultline { color: var(--muted); font-size: .9rem; margin: 6px 0 16px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 36px 0 64px; }
.pager__nums { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.pager__nums a, .pager__nums span {
  min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 8px; border-radius: 50%; text-decoration: none; color: var(--lagoon); background: #fff; border: 1px solid var(--line);
}
.pager__nums a:hover { border-color: var(--aqua); }
.pager__nums .is-current { background: var(--lagoon); color: #fff; border-color: var(--lagoon); }
.pager__gap { align-self: center; padding: 0 4px; color: var(--muted); }
.pager__step { padding: 10px 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--lagoon); font-weight: 600; }
.pager__step.is-off { opacity: .4; }

.empty { text-align: center; background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px) 20px; margin-bottom: 40px; border: 2px dashed var(--line); }
.empty__big { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .4em; }
.empty__tips { list-style: none; padding: 0; margin: 0; color: var(--muted); }
.empty__tips li { margin-bottom: 6px; }
.quicklinks { list-style: none; padding: 0; margin: 0 auto 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; }
.quicklinks a { display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--mist); text-decoration: none; color: var(--lagoon); }
.quicklinks a:hover { background: var(--aqua); color: #fff; }
.quicklinks--aisles a { background: var(--lilac-soft); }

/* --------------------------------------------------------------------------
   Recipe page
   -------------------------------------------------------------------------- */
.recipe { padding-bottom: 20px; }
.recipe__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-top: 14px; }
.recipe__hero { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--aqua-soft); }
.recipe__hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.recipe__badge {
  position: absolute; left: 16px; top: 16px; display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px;
  border-radius: var(--r-pill); background: var(--papaya); font-weight: 700; font-size: .85rem;
}
.recipe__badge svg { width: 16px; height: 16px; fill: none; stroke: var(--lagoon); stroke-width: 2.2; }
.recipe__card { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 38px); box-shadow: var(--shadow-soft); align-self: center; }
.recipe__card h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 12px; }
.recipe__intro { color: var(--muted); margin-top: 14px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.facts div { background: var(--mist); border-radius: var(--r-sm); padding: 8px 14px; min-width: 88px; }
.facts dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.taglist { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.taglist a { display: inline-block; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: .8rem; text-decoration: none; color: var(--muted); }
.taglist a:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.recipe__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.recipe__body { display: grid; grid-template-columns: minmax(280px, .8fr) 1.6fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
.ingr__inner { position: sticky; top: 96px; background: var(--lagoon); color: #e8f4f1; border-radius: var(--r-lg); padding: 26px 24px; }
.ingr h2 { color: #fff; font-size: 1.6rem; margin-bottom: 4px; }
.ingr__yield { font-size: .85rem; color: #9fc3bd; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.checklist label { display: flex; gap: 12px; padding: 11px 0; cursor: pointer; }
.checklist input { position: absolute; opacity: 0; }
.checklist__box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #6fd3c4; flex: none; margin-top: 2px; transition: background .15s ease; }
.checklist input:checked + .checklist__box { background: #6fd3c4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2f33' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checklist input:checked ~ .checklist__text { text-decoration: line-through; opacity: .55; }
.checklist input:focus-visible + .checklist__box { outline: 3px solid var(--papaya); outline-offset: 2px; }
.checklist__text strong { color: #fff; margin-right: 4px; }
.checklist__text em { color: #9fc3bd; font-style: normal; }
.ingr__more { display: grid; gap: 10px; margin-top: 14px; filter: blur(2px); }
.ingr__more span { display: block; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .18); }
.ingr__more span:nth-child(2n) { width: 70%; }
.ingr__lockline { margin: 14px 0 0; color: var(--papaya); font-weight: 600; font-size: .9rem; }

.method h2 { font-size: 1.9rem; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--line) 0 8px, transparent 8px 14px); }
.timeline__step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 18px; }
.timeline__num {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--aqua); color: var(--aqua-deep);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; position: relative; z-index: 1;
}
.timeline__step p { background: #fff; border-radius: var(--r-md); padding: 16px 20px; margin: 0; box-shadow: var(--shadow-soft); font-size: 1.02rem; }
.tipbox { margin: 24px 0 0 62px; background: var(--papaya-soft); border-radius: var(--r-md); padding: 18px 22px; border-left: 6px solid var(--papaya); }
.tipbox .eyebrow { color: #9a3b14; }
.tipbox p:last-child { margin: 0; }

.paywall { background: var(--lilac-soft); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); text-align: center; }
.paywall__icon { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; background: var(--papaya); display: grid; place-items: center; }
.paywall__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--lagoon); stroke-width: 2; }
.paywall > p { max-width: 560px; margin-inline: auto; color: var(--muted); }
.paywall .tickets { margin: 22px 0 12px; }
.paywall__signin { font-size: .92rem; margin: 10px 0 0; }

.pairings { margin-top: clamp(36px, 5vw, 60px); }
.pairings h2 { font-size: 1.5rem; }
.pairings__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pairing { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 5 / 4; color: #fff; text-decoration: none; }
.pairing img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pairing:hover img { transform: scale(1.05); }
.pairing span { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; background: linear-gradient(transparent, rgba(14, 47, 51, .85)); font-weight: 600; line-height: 1.3; }
.pairing .tag-members { margin-left: 4px; }

/* --------------------------------------------------------------------------
   Store + product
   -------------------------------------------------------------------------- */
.storehead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: end; }
.storehead p { color: var(--muted); max-width: 640px; }
.storehead__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.storehead__facts li { background: #fff; border-radius: var(--r-pill); padding: 10px 18px; font-size: .9rem; border: 1px solid var(--line); }
.storebar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.storebar .aislenav { margin-bottom: 0; flex: 1 1 520px; min-width: 0; }
.sortform { display: flex; align-items: center; gap: 8px; }
.sortform label { font-size: .85rem; color: var(--muted); }
.sortform select { width: auto; }

.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 16px; margin-bottom: 30px; }
.product__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--aqua-soft); position: sticky; top: 96px; aspect-ratio: 1 / 1; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-top: 12px; }
.product__short { font-size: 1.1rem; color: var(--muted); }
.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 0 6px; }
.product__price s { color: var(--muted); }
.stock { font-size: .9rem; color: var(--ok); font-weight: 600; }
.stock--low { color: #9a3b14; }
.stock--out { color: var(--danger); }
.buybox { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0 24px; }
.qty { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; font-size: 1.2rem; }
.qty button:hover { background: var(--aqua-soft); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product__desc p { font-size: 1.02rem; }
.specs { margin: 18px 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; font-size: .9rem; }
.specs dd { margin: 0; color: var(--muted); }

/* Cart */
.cartgrid, .paygrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(18px, 3vw, 36px); align-items: start; margin-top: 18px; }
.cartlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cartitem { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: var(--r-md); padding: 10px 14px 10px 10px; box-shadow: var(--shadow-soft); }
.cartitem__img { width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); display: block; }
.cartitem__img img { width: 100%; height: 100%; object-fit: cover; }
.cartitem__info { min-width: 0; }
.cartitem__info a { color: var(--lagoon); font-weight: 600; text-decoration: none; }
.cartitem__info small { display: block; color: var(--muted); }
.cartitem__controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.cartitem__controls .qty { padding: 2px; }
.cartitem__controls .qty button { width: 30px; height: 30px; font-size: 1rem; }
.cartitem__controls .qty input { width: 36px; }
.cartitem__remove { border: 0; background: transparent; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: .85rem; }
.cartitem__total { font-weight: 700; white-space: nowrap; }
.cartlist--mini .cartitem, .cartlist--static .cartitem { box-shadow: none; border: 1px solid var(--line); grid-template-columns: 56px 1fr auto; padding: 6px 10px 6px 6px; }
.cartlist--mini .cartitem__img, .cartlist--static .cartitem__img { width: 56px; height: 56px; }
.card { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-soft); }
.summary { position: sticky; top: 96px; }
.summary .link-arrow { display: inline-block; margin-top: 14px; }
.summary__plan { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.summary__price { font-size: 1.8rem; font-weight: 700; margin: 0 0 14px; }
.summary__price small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.summary__switch { font-size: .9rem; color: var(--muted); }
.totals { margin: 14px 0; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; text-align: right; }
.totals__grand dt, .totals__grand dd { color: var(--lagoon); font-size: 1.15rem; font-weight: 700; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 4px; }
.form__intro { font-size: .92rem; color: var(--muted); }
.fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.fieldset legend { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 10px; padding: 0; }
.field { margin-bottom: 14px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--foam); outline: none;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--aqua); background: #fff; box-shadow: 0 0 0 3px var(--aqua-soft); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); background: #fff6f5; }
.field__err { color: var(--danger); font-size: .84rem; margin: 5px 0 0; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--aqua); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row--3 { grid-template-columns: 2fr 1fr 1fr; }
.paybox { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 6px; background: var(--foam); }
.paybox legend { padding: 0 8px; margin-left: -8px; }
.paybox__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.paybox__secure { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--aqua-deep); }
.paybox__secure .ico { width: 17px; height: 17px; }
.cardbrands { display: inline-flex; gap: 5px; }
.cardbrands i {
  font-style: normal; font-size: .62rem; font-weight: 700; letter-spacing: .04em; color: var(--muted);
  border: 1px solid var(--line); background: #fff; border-radius: 5px; padding: 3px 6px; line-height: 1;
}
.paybox__note { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 4px 0 12px; }
.paybox__note .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--aqua); }
.cardnum { position: relative; }
.cardnum__brand { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .75rem; font-weight: 700; color: var(--aqua-deep); background: var(--aqua-soft); padding: 2px 8px; border-radius: var(--r-pill); }
.cardnum__brand:empty { display: none; }
.alert { background: #fde3df; color: #7a1c14; border-radius: var(--r-sm); padding: 12px 16px; font-weight: 500; }
.alert--ok { background: var(--aqua-soft); color: var(--lagoon); }
.finenote { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.authwrap { display: grid; grid-template-columns: minmax(0, 520px) 1fr; gap: clamp(20px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 6vw, 72px); }
.authcard h1 { font-size: 2.2rem; }
.authcard__links { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 0; font-size: .92rem; }
.authside {
  border-radius: 240px 240px var(--r-lg) var(--r-lg); background: linear-gradient(160deg, var(--lilac-soft), var(--aqua-soft));
  min-height: 380px; display: grid; place-items: center; padding: 40px;
}
.authside__quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); max-width: 380px; text-align: center; margin: 0; }

/* Confirmation */
.confirm { text-align: center; }
.confirm p { color: var(--muted); max-width: 620px; margin-inline: auto; }
.confirm__seal { width: 84px; height: 84px; margin: 0 auto 16px; animation: pop .5s ease-out; }
.confirm__seal .brand__mark { width: 84px; height: 84px; }
@keyframes pop { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.confirm__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0; }
.receipt__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
.receipt__cols p:last-child { color: var(--lagoon); }

/* Membership */
.memberhead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.memberhead p { color: var(--muted); max-width: 640px; font-size: 1.08rem; }
.statuscard { background: var(--lagoon); color: #e8f4f1; border-radius: var(--r-lg); padding: 26px; }
.statuscard .eyebrow { color: #6fd3c4; }
.statuscard__plan { font-family: var(--font-display); font-size: 1.7rem; color: #fff; margin-bottom: 4px; }
.statuscard .btn { background: var(--papaya); border-color: var(--papaya); color: var(--lagoon); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { background: #fff; border-radius: var(--r-md); padding: 22px; }
.perk__n { display: inline-block; font-family: var(--font-display); font-size: 1.6rem; color: var(--aqua); margin-bottom: 6px; }
.perk h3 { font-size: 1.1rem; }
.perk p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Account */
.accounthead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.accounthead p { color: var(--muted); margin: 0; }
.accountgrid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: start; }
.status { display: inline-block; padding: 4px 14px; border-radius: var(--r-pill); background: var(--mist); font-weight: 600; font-size: .9rem; }
.status--on { background: var(--aqua-soft); color: var(--aqua-deep); }
.history { margin-top: 18px; font-size: .9rem; }
.history summary { cursor: pointer; font-weight: 600; }
.history ul { padding-left: 18px; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 6px; border-bottom: 1px dashed var(--line); }

/* About */
.abouthead h1 { max-width: 900px; }
.abouthead__lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 820px; }
.aboutstrip { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 14px; margin-top: 18px; }
.aboutstrip__item { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; }
.aboutstrip__item--1 { border-radius: 200px 200px var(--r-lg) var(--r-lg); }
.aboutstrip__item img { width: 100%; height: 100%; object-fit: cover; }
.aboutstrip__item figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: var(--r-pill); padding: 4px 12px; font-size: .8rem; }
.storyline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.storyline li { position: relative; padding: 0 0 22px 32px; }
.storyline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--papaya); box-shadow: 0 0 0 4px var(--mist); }
.storyline__when { font-family: var(--font-display); font-size: 1.25rem; display: block; margin-bottom: 4px; }
.storyline p { color: var(--muted); max-width: 720px; margin: 0; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.member { background: #fff; border-radius: var(--r-md); padding: 12px 12px 20px; overflow: hidden; }
.member__photo { border-radius: calc(var(--r-md) - 8px); overflow: hidden; margin-bottom: 14px; background: var(--aqua-soft); }
.member__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 25%; }
.member h3, .member p { padding-inline: 6px; }
.member h3 { margin-bottom: 2px; }
.member__role { color: var(--aqua-deep); font-weight: 600; font-size: .88rem; }
.member p { font-size: .9rem; }
.member__fav { color: var(--muted); font-size: .82rem !important; font-style: italic; margin: 0; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: var(--lilac-soft); box-shadow: none; }
.cta p { margin: 0; color: var(--muted); }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Author, post, prose */
.post__head { padding-top: 18px; }
.post__head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin-top: 14px; }
.post__dek { font-size: 1.2rem; color: var(--muted); }
.author { display: flex; align-items: center; gap: 12px; margin: 18px 0 26px; }
.author__img { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; display: block; }
.author__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.author small { color: var(--muted); }
.post__hero { margin: 0 auto 36px; }
.post__hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.post__body { margin-bottom: 40px; }

/* FAQ, careers, contact, legal, sitemap */
.faqwrap, .legalwrap { display: grid; grid-template-columns: 240px 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.faqnav, .legalnav { position: sticky; top: 100px; display: grid; gap: 6px; }
.faqnav a, .legalnav a { padding: 9px 16px; border-radius: var(--r-pill); text-decoration: none; color: var(--lagoon); background: #fff; border: 1px solid var(--line); }
.faqnav a:hover, .legalnav a:hover { border-color: var(--aqua); }
.legalnav a.is-on { background: var(--lagoon); color: #fff; border-color: var(--lagoon); }
.faqgroup { margin-bottom: 30px; scroll-margin-top: 100px; }
.qa { background: #fff; border-radius: var(--r-md); margin-bottom: 10px; }
.qa summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s ease; }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--papaya); }
.qa p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.legalwrap .prose { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); }
.legalwrap .prose h2 { font-size: 1.3rem; }
.updated { color: var(--muted); font-size: .9rem; }

.jobs { display: grid; gap: 12px; }
.job { background: #fff; border-radius: var(--r-md); }
.job summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 20px 22px; }
.job summary::-webkit-details-marker { display: none; }
.job__title { font-family: var(--font-display); font-size: 1.3rem; }
.job__meta { grid-column: 1; color: var(--muted); font-size: .88rem; }
.job__pay { grid-column: 2; grid-row: 1 / 3; align-self: center; background: var(--aqua-soft); color: var(--aqua-deep); border-radius: var(--r-pill); padding: 4px 12px; font-weight: 600; font-size: .85rem; white-space: nowrap; }
.job[open] summary { border-bottom: 1px dashed var(--line); }
.job__body { padding: 18px 22px 22px; }
.job__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job__cols ul { padding-left: 18px; color: var(--muted); }
.job__apply { font-size: .92rem; margin: 6px 0 0; }

.contactgrid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(18px, 3vw, 36px); align-items: start; }
.contactcards { display: grid; gap: 12px; }
.contactcard { background: #fff; border-radius: var(--r-md); padding: 20px 22px; }
.contactcard p:not(.eyebrow), .contactcard address { font-size: 1.1rem; font-style: normal; font-weight: 600; margin: 0 0 4px; word-break: break-word; }
.contactcard small { color: var(--muted); }

.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sitemap section { background: #fff; border-radius: var(--r-md); padding: 20px 22px; }
.sitemap ul { list-style: none; margin: 0; padding: 0; }
.sitemap li { padding: 4px 0; }
.sitemap__wide { grid-column: 1 / -1; }
.sitemap__cols { columns: 3 220px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot { background: var(--lagoon); color: #cfe3df; border-radius: var(--r-lg) var(--r-lg) 0 0; margin-top: clamp(40px, 6vw, 80px); }
.foot__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 28px; }
.foot a { color: #e8f4f1; text-decoration: none; }
.foot a:hover { color: var(--papaya); text-decoration: underline; }
.foot__lead { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__line { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; color: #fff; margin: 0; }
.foot__contact { font-style: normal; line-height: 1.8; }
.foot__contact strong { color: #fff; }
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.foot__h { color: #6fd3c4; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; }
.foot__cols ul { list-style: none; margin: 0; padding: 0; }
.foot__cols li { padding: 4px 0; font-size: .93rem; }
.foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #9fc3bd; }

/* --------------------------------------------------------------------------
   Bottom dock (phones) + consent
   -------------------------------------------------------------------------- */
.dock { display: none; }

.consent {
  position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 440px; display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--lagoon); border-radius: var(--r-md); padding: 14px 14px 14px 18px; box-shadow: var(--shadow-lift);
  border: 1px solid var(--line);
}
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: .86rem; line-height: 1.45; }
.consent__ok { white-space: nowrap; flex: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .aisles__row { grid-template-columns: repeat(5, 1fr); }
  .mainnav a { padding: 8px 10px; }
}

@media (max-width: 1040px) {
  .mainnav { display: none; }
  .tool--menu { display: inline-grid; }
  .hsearch { max-width: none; }
  .shelf__inner, .recipe__head, .product, .storehead, .memberhead, .aislehead { grid-template-columns: 1fr; }
  .shelf__copy, .product__media { position: static; }
  .recipe__hero { min-height: 0; aspect-ratio: 16 / 10; }
  .recipe__hero img { position: static; }
  .recipe__body { grid-template-columns: 1fr; }
  .ingr__inner { position: static; }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .notes { grid-template-columns: repeat(2, 1fr); }
  .filters, .filters--search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
  .sitemap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .cartgrid, .paygrid, .accountgrid, .contactgrid, .faqwrap, .legalwrap, .authwrap, .leadpost { grid-template-columns: 1fr; }
  .summary, .faqnav, .legalnav { position: static; }
  .faqnav, .legalnav { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .faqnav a, .legalnav a { flex: none; white-space: nowrap; }
  .authside { display: none; }
  .leadpost__body { padding: 4px 10px 12px; }
  .foot__lead { grid-template-columns: 1fr; }
  .aisles__row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 132px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
  .aisles__row li { scroll-snap-align: start; }
  .aboutstrip { grid-template-columns: 1fr 1fr; }
  .aboutstrip__item--2 { display: none; }
  .pairings__row { grid-template-columns: 1fr 1fr; }
  .pairings__row a:nth-child(3) { display: none; }
}

@media (max-width: 760px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .top { padding-top: 8px; }
  .capsule { gap: 6px; padding: 5px 5px 5px 8px; }
  .brand__word { display: none; }
  .hsearch { min-width: 0; padding-left: 12px; }
  .hsearch__go { display: none; }
  .suggest { position: fixed; left: 12px; right: 12px; top: 70px; min-width: 0; }
  .tools .tool--cart { display: none; }
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 50; background: var(--lagoon); border-radius: var(--r-pill);
    padding: 6px; box-shadow: var(--shadow-lift);
  }
  .dock a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 0; border-radius: var(--r-pill); color: #9fc3bd; text-decoration: none; font-size: .66rem; font-weight: 600; }
  .dock a .ico { width: 21px; height: 21px; }
  .dock a.is-on { background: rgba(255, 255, 255, .12); color: #fff; }
  .dock__badge { position: absolute; top: 2px; right: 22%; min-width: 17px; height: 17px; border-radius: 9px; background: var(--papaya); color: var(--lagoon); font-size: .64rem; font-style: normal; display: grid; place-items: center; padding: 0 4px; }
  .consent { left: 10px; right: 10px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); padding: 12px; }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .rcard { grid-template-columns: 112px 1fr; gap: 12px; padding: 8px; }
  .rcard__title { font-size: 1.02rem; margin-top: 6px; }
  .rcard__sum { -webkit-line-clamp: 2; font-size: .85rem; }
  .rcard .stars__track { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .hero__search { padding-left: 16px; }
  .hero__search .btn { padding: 12px 16px; }
  .hero__search .ico { display: none; }
  .notes { grid-template-columns: 1fr; }
  .perks__grid { grid-template-columns: 1fr; }
  .field-row, .field-row--3, .receipt__cols, .job__cols { grid-template-columns: 1fr; }
  .timeline__step { grid-template-columns: 36px 1fr; gap: 12px; }
  .timeline__num { width: 36px; height: 36px; font-size: 1rem; }
  .timeline::before { left: 17px; }
  .tipbox { margin-left: 0; }
  .shelf { margin-inline: 10px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .job summary { grid-template-columns: 1fr; }
  .job__pay { grid-column: 1; grid-row: auto; justify-self: start; }
  .sitemap { grid-template-columns: 1fr; }
  .foot { padding-bottom: 70px; }
  .foot__base { flex-direction: column; }
}

@media (max-width: 520px) {
  .filters, .filters--search { grid-template-columns: 1fr 1fr; padding: 12px; gap: 10px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { padding: 6px; }
  .pcard__name { font-size: .92rem; }
  .addbtn { width: 36px; height: 36px; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cartitem { grid-template-columns: 64px 1fr; }
  .cartitem__img { width: 64px; height: 64px; }
  .cartitem__total { grid-column: 2; }
  .facts div { min-width: 0; flex: 1 1 40%; }
  .pager__step { padding: 8px 12px; font-size: .88rem; }
  .pager__nums a, .pager__nums span { min-width: 36px; height: 36px; }
  .methods__tabs { width: 100%; }
}

@media print {
  .top, .foot, .dock, .consent, .crumbs, .recipe__actions, .pairings, .block, .toast, .flashes { display: none !important; }
  body { background: #fff; }
  .recipe__head, .recipe__body { grid-template-columns: 1fr; }
  .ingr__inner { background: #fff; color: #000; border: 1px solid #ccc; }
  .ingr h2, .checklist__text strong { color: #000; }
}
