/* Flapjack Johnnys Cooking - global stylesheet
   Vanilla CSS, ASCII-only, mobile-first.
*/

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #251A14;
  background: #FFF7E5;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(224,160,74,.08), transparent 38%),
    radial-gradient(circle at 88% 0%,  rgba(168,50,79,.05), transparent 36%),
    radial-gradient(circle at 50% 100%, rgba(110,127,79,.06), transparent 40%);
}
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: #5C2A0E; text-decoration: none; transition: color .15s ease, background .15s ease; }
a:hover { color: #A8324F; text-decoration: underline; }
ul, ol { list-style: none; }

:root {
  /* Maple-syrup primary, butter accent, berry pop, sage support. */
  --primary: #5C2A0E;
  --primary-dark: #3F1C04;
  --primary-light: #8A4519;
  --accent: #E0A04A;
  --accent-dark: #B07A2C;
  --butter: #FFE38B;
  --berry: #A8324F;
  --berry-light: #C45A78;
  --sage: #6E7F4F;
  --sage-dark: #54632F;
  --cream: #FFF7E5;
  --cream-deep: #F8EBCB;
  --paper: #FFFFFF;
  --ink: #251A14;
  --ink-soft: #6B5B53;
  --line: #ECE0CB;
  --olive: #6E7F4F;
  --olive-dark: #54632F;
  --tomato: #A8324F;
  --shadow-sm: 0 2px 8px rgba(60,30,12,.07);
  --shadow-md: 0 10px 28px rgba(60,30,12,.12);
  --shadow-lg: 0 22px 54px rgba(60,30,12,.18);
  --shadow-stamp: 0 4px 14px rgba(60,30,12,.16);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

/* Diner stripe -- thin awning band at the very top of the page */
.diner-stripe {
  display: flex;
  height: 8px;
  width: 100%;
  position: relative;
  z-index: 70;
}
.diner-stripe span { flex: 1; }
.ds-1 { background: #5C2A0E; }
.ds-2 { background: #E0A04A; }
.ds-3 { background: #FFE38B; }
.ds-4 { background: #6E7F4F; }
.ds-5 { background: #A8324F; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 {
  font-family: "Bookman Old Style", "URW Bookman", "Bookman", "Georgia", serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.005em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
.display {
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-style: italic;
  font-weight: 700;
}
h1.display, h2.display { letter-spacing: -.012em; }
.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--primary);
}
.kicker {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  padding: 6px 14px;
  background: var(--cream-deep);
  color: var(--primary-dark);
  border-radius: var(--radius-pill);
  border: 1px dashed var(--accent-dark);
}
.scribble {
  position: relative;
  display: inline-block;
}
.scribble::after {
  content: "";
  position: absolute; left: -4px; right: -4px; bottom: -10px;
  height: 9px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 9' preserveAspectRatio='none'><path d='M0 5 Q 25 1 50 5 T 100 5 T 150 5 T 200 5' fill='none' stroke='%23E0A04A' stroke-width='2.4' stroke-linecap='round'/></svg>") repeat-x center / 200px 9px;
}
.lead { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.script {
  font-family: "Brush Script MT", "Lucida Handwriting", "Snell Roundhand", cursive;
  color: var(--berry);
  font-size: 1.45rem;
  font-weight: 400;
}

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200;
}
.skip-link:focus { top: 0; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-bare  { padding: 24px 0; }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-ink   { background: var(--ink); color: #FAEFD9; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #FAEFD9; }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head .eyebrow { display: inline-block; margin-bottom: 10px; }
.divider { height: 1px; background: var(--line); margin: 48px 0; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,247,229,.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(60,30,12,.10);
}
.site-header.scrolled {
  background: rgba(255,247,229,.96);
  box-shadow: 0 6px 24px rgba(60,30,12,.10);
}
.nav-row {
  display: flex; align-items: center; gap: 22px;
  height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); line-height: 1; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--cream-deep);
  border: 2px solid var(--primary-dark);
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--primary-dark);
  flex-shrink: 0;
}
.brand-mark svg { width: 32px; height: 32px; display: block; }
.brand-footer .brand-mark { background: rgba(255,247,229,.10); border-color: rgba(255,247,229,.25); box-shadow: none; }
.brand-text {
  display: inline-flex; flex-direction: column; gap: 2px;
}
.brand-line-1 {
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  letter-spacing: -.005em;
}
.brand-line-2 {
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.brand-footer .brand-line-1 { color: #FFF7E5; }
.brand-footer .brand-line-2 { color: var(--accent); }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 6px; }
.nav-link {
  display: inline-block; position: relative;
  padding: 9px 14px; border-radius: var(--radius-pill);
  color: var(--ink); font-weight: 600; font-size: .94rem;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { background: rgba(92,42,14,.08); color: var(--primary); text-decoration: none; }
.nav-link.active {
  background: var(--primary);
  color: #FFF7E5;
  box-shadow: 0 3px 0 var(--primary-dark);
}
.nav-link-quiet { color: var(--ink-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-account { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.nav-account:hover { text-decoration: none; color: var(--primary); }
.avatar-pill {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #FFF7E8;
  display: inline-grid; place-items: center;
  font-weight: 700; font-size: .9rem;
}
.cart-button {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--primary-dark);
  box-shadow: 0 3px 0 var(--primary-dark);
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .12s ease;
}
.cart-button:hover { background: var(--primary); color: #FFF7E5; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 0 var(--primary-dark); }
.cart-icon { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--berry); color: #fff;
  font-size: .68rem; font-weight: 800;
  border-radius: var(--radius-pill);
  min-width: 20px; height: 20px;
  display: inline-grid; place-items: center;
  padding: 0 6px;
  border: 2px solid var(--cream);
  letter-spacing: .02em;
}
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: var(--paper); border: 2px solid var(--primary-dark);
  border-radius: 50%;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  box-shadow: 0 3px 0 var(--primary-dark);
}
.hamburger span {
  display: block; width: 18px; height: 2px; background: var(--primary-dark); border-radius: 2px;
}

/* ===== Mobile drawer ===== */
.mobile-drawer {
  position: fixed; top: 0; right: -100%;
  width: min(320px, 86vw);
  height: 100dvh;
  background: var(--paper);
  z-index: 80; padding: 22px 22px 100px;
  box-shadow: -18px 0 48px rgba(0,0,0,.16);
  transition: right .25s ease;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer-title { font-family: "Bookman Old Style", "Bookman", "Georgia", serif; font-size: 1.2rem; }
.drawer-close { background: none; border: none; font-size: 1.8rem; line-height: 1; color: var(--ink); }
.drawer-list { display: flex; flex-direction: column; gap: 4px; }
.drawer-list a {
  display: block; padding: 12px 14px;
  border-radius: 10px; color: var(--ink); font-weight: 500;
}
.drawer-list a:hover { background: rgba(139,58,45,.08); color: var(--primary); text-decoration: none; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(20,12,8,.45);
  z-index: 70; opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ===== Buttons (chunky diner style with offset shadow) ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem;
  border: 2px solid var(--primary-dark);
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .12s ease;
  cursor: pointer; line-height: 1;
  letter-spacing: .005em;
  position: relative;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 var(--primary-dark) !important; }
.btn-primary {
  background: var(--primary); color: #FFF7E5;
  border-color: var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
}
.btn-primary:hover { background: var(--primary-dark); color: #FFF7E5; box-shadow: 0 6px 0 var(--primary-dark); }
.btn-accent {
  background: var(--accent); color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
}
.btn-accent:hover { background: var(--accent-dark); color: var(--primary-dark); box-shadow: 0 6px 0 var(--primary-dark); }
.btn-outline {
  background: var(--cream);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
}
.btn-outline:hover { background: var(--primary-dark); color: #FFF7E5; box-shadow: 0 6px 0 var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; }
.btn-ghost:hover { color: var(--primary); transform: none; }
.btn-sm { padding: 9px 16px; font-size: .9rem; box-shadow: 0 3px 0 var(--primary-dark); }
.btn-sm:hover { box-shadow: 0 4px 0 var(--primary-dark); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Forms ===== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,58,45,.15);
}
.textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: #B23A2A; font-size: .9rem; margin-top: 6px; }
.form-success { color: #2D6A45; font-size: .9rem; margin-top: 6px; }
.form-card {
  background: var(--paper); padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* ===== Hero (used on inner pages) ===== */
.hero {
  position: relative; isolation: isolate;
  padding: 96px 0 72px;
  color: #fff;
  background-color: #2a1f1a;
  border-bottom: 4px solid var(--accent);
}
.hero-inner { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 16px; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.12rem; max-width: 60ch; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; gap: 22px; margin-top: 28px; flex-wrap: wrap; color: rgba(255,255,255,.85); }
.hero-meta strong { display: block; color: #fff; font-size: 1.4rem; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; }
.hero .eyebrow, .hero .kicker { color: var(--butter); }

/* ===== Hero Collage (home page asymmetric split) ===== */
.hero-collage {
  position: relative;
  background: var(--cream);
  padding: 52px 0 96px;
  isolation: isolate;
  overflow: hidden;
}
.hero-collage::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(224,160,74,.30), transparent 70%);
  z-index: -1; filter: blur(30px);
}
.hero-collage::after {
  content: ""; position: absolute; left: -100px; bottom: -100px; width: 380px; height: 380px;
  background: radial-gradient(circle at center, rgba(168,50,79,.18), transparent 70%);
  z-index: -1; filter: blur(28px);
}
.hero-collage-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text .display {
  font-size: clamp(2.35rem, 4.6vw, 3.8rem);
  color: var(--primary-dark);
  margin: 16px 0 18px;
  line-height: 1.08;
}
.hero-text p.lead {
  font-size: 1.18rem; color: var(--ink); max-width: 56ch;
}
.hero-meta-counter {
  display: grid; grid-template-columns: repeat(4, auto); gap: 22px;
  margin-top: 32px; padding: 18px 22px;
  background: var(--paper);
  border: 2px dashed var(--accent-dark);
  border-radius: var(--radius);
  width: fit-content;
}
.hero-meta-counter > div { padding-right: 22px; border-right: 1px dotted rgba(60,30,12,.25); }
.hero-meta-counter > div:last-child { border-right: 0; padding-right: 0; }
.hero-meta-counter strong {
  display: block;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-size: 1.65rem; color: var(--primary-dark); line-height: 1;
}
.hero-meta-counter span { font-size: .78rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }

.hero-photos {
  position: relative;
  min-height: 460px;
}
.hero-photo {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  border: 6px solid var(--paper);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main {
  width: 80%; height: 86%;
  top: 7%; right: 0;
  transform: rotate(2.5deg);
  z-index: 2;
}
.hero-photo-tl {
  width: 44%; height: 36%;
  top: 0; left: 0;
  transform: rotate(-6deg);
  z-index: 3;
}
.hero-photo-br {
  width: 40%; height: 32%;
  bottom: 4%; left: 2%;
  transform: rotate(4deg);
  z-index: 3;
}
.hero-stamp {
  position: absolute; z-index: 4;
  bottom: 14%; right: -8px;
  width: 110px; height: 110px;
}

/* ===== Stamp badge (rotated circular emblem) ===== */
.stamp {
  position: relative;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--berry);
  color: #FFF7E5;
  display: grid; place-items: center; text-align: center;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-weight: 700; font-style: italic;
  border: 3px solid #FFF7E5;
  box-shadow: 0 0 0 3px var(--berry), var(--shadow-stamp);
  transform: rotate(-12deg);
  line-height: 1;
}
.stamp .stamp-top, .stamp .stamp-bot {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 800;
}
.stamp .stamp-mid {
  font-size: 1.55rem;
  letter-spacing: -.01em;
  display: block;
  padding: 6px 0;
}
.stamp::before, .stamp::after {
  content: "";
  position: absolute; left: 16%; right: 16%;
  height: 1px; background: rgba(255,247,229,.55);
}
.stamp::before { top: 32%; }
.stamp::after { bottom: 32%; }
.stamp.stamp-sage { background: var(--sage); box-shadow: 0 0 0 3px var(--sage), var(--shadow-stamp); }
.stamp.stamp-maple { background: var(--primary); box-shadow: 0 0 0 3px var(--primary), var(--shadow-stamp); }

/* ===== Syrup-drip divider (thin wavy band between sections) ===== */
.syrup-divider {
  position: relative;
  height: 26px;
  background: var(--paper);
  margin-top: -1px;
}
.syrup-divider::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0; height: 26px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'><path d='M0 0 L0 14 Q40 26 80 14 T160 14 T240 14 T320 14 T400 14 T480 14 T560 14 T640 14 T720 14 T800 14 T880 14 T960 14 T1040 14 T1120 14 T1200 14 L1200 0 Z' fill='%23FFF7E5'/></svg>") repeat-x bottom / 1200px 26px;
}
.syrup-divider.flip {
  background: var(--cream);
}
.syrup-divider.flip::before {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'><path d='M0 26 L0 12 Q40 0 80 12 T160 12 T240 12 T320 12 T400 12 T480 12 T560 12 T640 12 T720 12 T800 12 T880 12 T960 12 T1040 12 T1120 12 T1200 12 L1200 26 Z' fill='%23FFFFFF'/></svg>") repeat-x top / 1200px 26px;
}

/* ===== Photo Mosaic ===== */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
}
.photo-mosaic .tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  position: relative;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.photo-mosaic .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-mosaic .tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-mosaic .tile:hover img { transform: scale(1.05); }
.photo-mosaic .tile:nth-child(1) { grid-row: span 2; transform: rotate(-1deg); }
.photo-mosaic .tile:nth-child(1):hover { transform: rotate(-1deg) translateY(-3px); }
.photo-mosaic .tile:nth-child(6) { grid-row: span 2; transform: rotate(1deg); }
.photo-mosaic .tile:nth-child(6):hover { transform: rotate(1deg) translateY(-3px); }

/* ===== Photo Strip ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.photo-strip .tile {
  aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; background: #efe7d7;
}
.photo-strip .tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.photo-strip .tile:hover img { transform: scale(1.06); }

/* ===== Recipe Gallery ===== */
.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.recipe-gallery figure {
  margin: 0; border-radius: var(--radius);
  overflow: hidden; background: #efe7d7;
  aspect-ratio: 4 / 3;
}
.recipe-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.recipe-gallery figure:hover img { transform: scale(1.05); }
.recipe-gallery-caption {
  text-align: center; color: var(--ink-soft);
  font-style: italic; margin-top: 14px;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

/* Recipe card -- chunky border, butter back-layer peek on hover */
.recipe-card {
  background: var(--paper);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 0 var(--primary-dark);
}
.recipe-card::before {
  content: ""; position: absolute; inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  z-index: -1;
  transform: translate(8px, 8px);
  transition: transform .2s ease;
  opacity: 0;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--primary-dark); }
.recipe-card:hover::before { opacity: 1; transform: translate(10px, 10px); }
.recipe-card a.cover, .recipe-card a.cover:hover { text-decoration: none; color: inherit; }
.recipe-card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-deep);
  overflow: hidden;
  border-bottom: 2px solid var(--primary-dark);
}
.recipe-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.recipe-card:hover .photo img { transform: scale(1.06); }
.recipe-card .card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.recipe-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.2; }
.recipe-card .meta-row { display: flex; gap: 14px; font-size: .85rem; color: var(--ink-soft); }
.recipe-card .meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.recipe-card .meta-row span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--accent-dark);
  display: inline-block;
}
.recipe-card .meta-row span:first-child::before { display: none; }

/* Padlock badge -- stamped berry with white ring */
.padlock-badge {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--berry);
  color: #FFF7E5;
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px #FFF7E5, 0 6px 14px rgba(168,50,79,.4);
  z-index: 2;
  border: 2px solid var(--primary-dark);
}
.padlock-badge svg { width: 18px; height: 18px; }

.cat-pill {
  display: inline-block;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--cream-deep); color: var(--primary-dark);
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
  border: 1px dashed var(--accent-dark);
  width: fit-content;
}
.member-pill {
  display: inline-block;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--berry); color: #FFF7E5;
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
  border: 1px solid var(--primary-dark);
}
.free-pill {
  display: inline-block;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--sage); color: #FFF7E5;
  font-size: .72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
  border: 1px solid var(--sage-dark);
}

/* Product card -- chunky border with offset shadow, butter back-layer on hover */
.product-card {
  background: var(--paper);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 0 var(--primary-dark);
}
.product-card::before {
  content: ""; position: absolute; inset: -2px;
  border-radius: var(--radius-lg);
  background: var(--sage);
  z-index: -1;
  transform: translate(7px, 7px);
  opacity: 0; transition: opacity .2s ease, transform .2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--primary-dark); }
.product-card:hover::before { opacity: 1; transform: translate(9px, 9px); }
.product-card .photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--cream-deep); border-bottom: 2px solid var(--primary-dark); }
.product-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .photo img { transform: scale(1.06); }
.product-card .card-body { padding: 16px 18px 22px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.product-card .price {
  font-weight: 800; color: var(--primary-dark); font-size: 1.2rem;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
}
.product-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.25; }
.product-card .add { margin-top: 10px; }

/* Category card */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  color: #fff;
  display: flex; align-items: flex-end;
  isolation: isolate;
  border: 3px solid var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  transition: transform .35s ease;
}
.cat-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(63,28,4,0) 32%, rgba(63,28,4,.85));
}
.cat-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 7px 0 var(--primary-dark); }
.cat-card:hover::before { transform: scale(1.08); }
.cat-card .cat-body { padding: 22px; }
.cat-card h3 { color: #fff; margin: 0 0 6px; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; }
.cat-card p { color: rgba(255,247,229,.92); font-size: .9rem; margin: 0; }

/* Blog card */
.blog-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .photo { aspect-ratio: 5 / 3; overflow: hidden; background: #efe7d7; }
.blog-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .photo img { transform: scale(1.05); }
.blog-card .card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.blog-card .meta-row { font-size: .82rem; color: var(--ink-soft); display: flex; gap: 10px; }
.blog-card h3 { font-size: 1.18rem; margin: 0; }

/* ===== Recipe detail ===== */
.recipe-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.recipe-hero .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #efe7d7;
}
.recipe-hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero h1 { margin-top: 8px; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.recipe-hero .meta-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.meta-tile {
  background: var(--cream); border: 2px solid var(--primary-dark);
  border-radius: 12px; padding: 14px 10px;
  text-align: center;
  box-shadow: 0 3px 0 var(--primary-dark);
}
.meta-tile small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-dark); font-weight: 700; }
.meta-tile strong { display: block; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; font-size: 1.2rem; color: var(--primary-dark); margin-top: 4px; }
.recipe-eyebrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  margin-top: 48px;
}
.ingredients-card, .method-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
}
.ingredients-list { display: flex; flex-direction: column; gap: 10px; }
.ingredients-list li {
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 8px;
}
.method-list { display: flex; flex-direction: column; gap: 18px; }
.method-list li {
  padding-left: 56px; position: relative;
  min-height: 44px;
}
.method-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent); color: var(--primary-dark);
  display: grid; place-items: center;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-weight: 700;
  font-size: 1.1rem;
  counter-increment: step;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 3px 0 var(--primary-dark);
}
.method-list { counter-reset: step; }

/* Paywall card -- a stamped members-only emblem */
.paywall-card {
  margin-top: 22px;
  border-radius: var(--radius-lg);
  padding: 40px 36px 36px;
  background:
    radial-gradient(circle at 12% 12%, rgba(224,160,74,.18), transparent 36%),
    radial-gradient(circle at 88% 88%, rgba(168,50,79,.18), transparent 36%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #FFF7E5;
  text-align: center;
  position: relative;
  border: 3px solid var(--primary-dark);
  box-shadow: 0 6px 0 var(--primary-dark), var(--shadow-md);
}
.paywall-card::before {
  content: "MEMBERS ONLY";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--butter); color: var(--primary-dark);
  padding: 7px 18px; border-radius: var(--radius-pill);
  font-size: .68rem; font-weight: 800; letter-spacing: .22em;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 3px 0 var(--primary-dark);
}
.paywall-card .lock {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--cream);
  display: grid; place-items: center;
  margin: 0 auto 16px;
  color: var(--primary-dark);
  box-shadow: 0 0 0 3px var(--accent-dark);
}
.paywall-card .lock svg { width: 30px; height: 30px; }
.paywall-card h3 {
  color: #FFF7E5;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-style: italic;
  font-size: 1.7rem;
}
.paywall-card p { color: rgba(255,247,229,.94); margin: 8px 0 18px; }
.paywall-card .features {
  display: grid; gap: 10px;
  text-align: left; max-width: 480px;
  margin: 22px auto 0;
  background: rgba(255,247,229,.07);
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px dashed rgba(255,247,229,.3);
}
.paywall-card .features li {
  padding-left: 28px; position: relative;
  color: rgba(255,247,229,.95);
}
.paywall-card .features li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8 L7 12 L13 4' fill='none' stroke='%23FFE38B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 18px 18px;
}
.paywall-card .cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px;
}
.paywall-card .btn-accent { color: var(--primary-dark); }
.paywall-card .btn-outline {
  background: transparent;
  border-color: rgba(255,247,229,.6);
  color: #FFF7E5;
  box-shadow: 0 4px 0 rgba(255,247,229,.25);
}
.paywall-card .btn-outline:hover { background: rgba(255,247,229,.15); color: #FFF7E5; }

/* Recipe listing strip -- order ticket aesthetic */
.member-strip {
  background:
    repeating-linear-gradient(135deg, rgba(224,160,74,.10), rgba(224,160,74,.10) 12px, transparent 12px, transparent 24px),
    var(--cream);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 30px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
  box-shadow: 0 4px 0 var(--primary-dark);
  position: relative;
}
.member-strip::before {
  content: "OPEN KITCHEN";
  position: absolute; top: -10px; left: 18px;
  background: var(--berry); color: #FFF7E5;
  font-size: .68rem; font-weight: 800; letter-spacing: .2em;
  padding: 4px 12px; border-radius: var(--radius-pill);
  border: 2px solid var(--primary-dark);
}

/* ===== Pricing cards (diner order ticket style) ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 880px; margin: 0 auto;
}
.price-card {
  background: var(--paper);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  text-align: center; position: relative;
  box-shadow: 0 5px 0 var(--primary-dark);
  /* perforated edge along the bottom -- diner ticket vibe */
  background-image: radial-gradient(circle at 0 100%, transparent 7px, var(--paper) 7px), radial-gradient(circle at 100% 100%, transparent 7px, var(--paper) 7px);
}
.price-card::before, .price-card::after {
  content: "";
  position: absolute; bottom: -7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--primary-dark);
}
.price-card::before { left: -8px; }
.price-card::after  { right: -8px; }
.price-card.featured {
  background: linear-gradient(180deg, #FFFBF1 0%, #FFFFFF 60%);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 0 var(--primary-dark), var(--shadow-md);
}
.price-card .ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--berry); color: #FFF7E5;
  padding: 7px 18px; border-radius: var(--radius-pill);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 3px 0 var(--primary-dark);
}
.price-card h3 {
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.price-amount {
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-size: 3.4rem; color: var(--primary-dark);
  margin: 18px 0 4px;
  line-height: 1;
}
.price-amount sup { font-size: 1.4rem; vertical-align: top; margin-right: 2px; color: var(--accent-dark); }
.price-period {
  color: var(--ink-soft); font-size: .95rem;
  border-top: 1px dashed var(--line);
  padding-top: 12px; margin-top: 4px;
}
.price-card ul {
  margin: 22px 0;
  text-align: left;
  display: grid; gap: 10px;
  background: var(--cream);
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px dashed var(--accent-dark);
}
.price-card li { padding-left: 28px; position: relative; }
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8 L7 12 L13 4' fill='none' stroke='%235C2A0E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / 16px 16px;
}

/* ===== Cart / Checkout ===== */
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}
.cart-row {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 16px; background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.cart-row .thumb {
  width: 84px; height: 84px; border-radius: 10px; overflow: hidden;
  background: #efe7d7;
}
.cart-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 8px; }
.cart-row .qty button { background: transparent; border: none; padding: 6px 12px; }
.cart-row .qty input {
  width: 38px; text-align: center; border: 0; padding: 6px 0;
  background: transparent;
}
.cart-row .remove {
  background: none; border: none; color: var(--ink-soft);
  font-size: .9rem; padding: 4px 8px;
}
.cart-row .remove:hover { color: var(--tomato); }
.cart-summary {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  position: sticky; top: 96px;
}
.cart-summary .row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
}
.cart-summary .row.total {
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px;
  font-size: 1.15rem; font-weight: 700; color: var(--primary);
}

.empty-state {
  background: var(--paper); border: 1px dashed var(--line);
  border-radius: var(--radius-lg); padding: 48px;
  text-align: center;
}

/* ===== Toast ===== */
.toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  background: var(--ink); color: #FFF7E8;
  padding: 14px 18px; border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 320px; opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.visible { opacity: 1; transform: translateY(0); }

/* ===== Cookie notice ===== */
.cookie-notice {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: #FFF7E8; z-index: 95;
  padding: 14px 0; box-shadow: 0 -8px 28px rgba(0,0,0,.18);
}
.cookie-row {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-notice p { margin: 0; flex: 1 1 320px; font-size: .95rem; }
.cookie-notice a { color: var(--accent); }

/* ===== Footer ===== */
.site-footer {
  background: #2B1408;
  background-image:
    radial-gradient(circle at 12% 12%, rgba(224,160,74,.12), transparent 38%),
    radial-gradient(circle at 88% 100%, rgba(168,50,79,.12), transparent 40%);
  color: rgba(255,247,229,.78);
  margin-top: 80px;
  border-top: 4px solid var(--accent);
}
.site-footer .brand-text, .site-footer h4 { color: #FFF7E5; }
.site-footer h4 {
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 14px;
  color: var(--butter);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 64px 20px 36px;
}
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: rgba(255,247,229,.78); }
.footer-grid a:hover { color: var(--accent); text-decoration: none; }
.footer-tag { margin: 16px 0 18px; max-width: 36ch; color: rgba(255,247,229,.7); }
.member-support {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  background: rgba(255,247,229,.06);
  border-radius: 12px;
  border: 1px dashed rgba(255,247,229,.2);
}
.member-support-title { font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 800; }
.member-support-mail { color: #FFF7E5; font-weight: 700; }
.member-support-hours { font-size: .85rem; color: rgba(255,247,229,.6); }
.footer-bottom { border-top: 1px dashed rgba(255,247,229,.18); }
.footer-bottom-row { display: flex; justify-content: space-between; padding: 18px 20px; flex-wrap: wrap; gap: 8px; font-size: .85rem; }

/* ===== Misc ===== */
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-list a, .tag {
  padding: 8px 14px; background: var(--paper); border: 2px solid var(--primary-dark);
  border-radius: var(--radius-pill); font-size: .85rem; color: var(--primary-dark);
  font-weight: 600;
  box-shadow: 0 2px 0 var(--primary-dark);
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.tag-list a:hover, .tag:hover { background: var(--accent); transform: translateY(-1px); text-decoration: none; }
.tag-list a.active, .tag.active { background: var(--primary-dark); color: #FFF7E5; border-color: var(--primary-dark); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-block {
  padding: 26px;
  background: var(--paper);
  border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 0 var(--primary-dark);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-block:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--primary-dark); }
.feature-block .icon-tile {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-dark);
  display: grid; place-items: center; margin-bottom: 16px;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-weight: 800; font-size: 1.2rem;
  border: 2px solid var(--primary-dark);
  box-shadow: 0 3px 0 var(--primary-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card { background: var(--paper); border: 2px solid var(--primary-dark); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 0 var(--primary-dark); transition: transform .2s ease; }
.team-card:hover { transform: translateY(-2px); }
.team-card .photo { aspect-ratio: 1 / 1; background: var(--cream-deep); overflow: hidden; border-bottom: 2px solid var(--primary-dark); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.team-card:hover .photo img { transform: scale(1.04); }
.team-card .body { padding: 20px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; }
.team-card .role { color: var(--berry); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }

.faq-item {
  background: var(--paper); border: 2px solid var(--primary-dark);
  border-radius: var(--radius); padding: 24px 26px;
  margin-bottom: 14px;
  box-shadow: 0 3px 0 var(--primary-dark);
  position: relative;
  padding-left: 64px;
}
.faq-item::before {
  content: "Q";
  position: absolute; left: 18px; top: 22px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent); color: var(--primary-dark);
  display: grid; place-items: center;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-weight: 700; font-size: 1.05rem;
  border: 2px solid var(--primary-dark);
}
.faq-item h3 { font-size: 1.1rem; margin-bottom: 8px; font-family: "Bookman Old Style", "Bookman", "Georgia", serif; }
.faq-item p { color: var(--ink-soft); margin: 0; }

.policy-page article {
  background: var(--paper); padding: 38px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
}
.policy-page h2 { margin-top: 28px; font-size: 1.45rem; }
.policy-page h3 { margin-top: 18px; font-size: 1.15rem; }
.policy-page p, .policy-page li { color: var(--ink-soft); margin-bottom: 12px; }
.policy-page ul { padding-left: 22px; list-style: disc; }
.policy-page ul li { list-style: disc; }
.policy-page table {
  width: 100%; border-collapse: collapse; margin: 18px 0;
  background: var(--cream); border-radius: 10px; overflow: hidden;
}
.policy-page th, .policy-page td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.policy-page th { background: var(--cream); }

.success-card {
  text-align: center;
  background: var(--paper); border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg); padding: 48px;
  max-width: 680px; margin: 0 auto;
  box-shadow: 0 6px 0 var(--primary-dark);
  position: relative;
}
.success-card::before, .success-card::after {
  content: ""; position: absolute; top: 18px; bottom: 18px;
  width: 1px; border-left: 1px dashed var(--accent-dark);
}
.success-card::before { left: 18px; }
.success-card::after { right: 18px; }
.success-card .check {
  width: 86px; height: 86px; border-radius: 50%;
  background: var(--sage); color: #FFF7E5;
  display: grid; place-items: center; margin: 0 auto 18px;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif; font-size: 2.4rem;
  border: 3px solid var(--primary-dark);
  box-shadow: 0 4px 0 var(--primary-dark);
}

.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.account-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.account-side ul { display: flex; flex-direction: column; gap: 4px; }
.account-side a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.account-side a.active, .account-side a:hover { background: rgba(139,58,45,.08); color: var(--primary); text-decoration: none; }

.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.testimonial {
  padding: 30px 26px 26px; background: var(--paper); border: 2px solid var(--primary-dark);
  border-radius: var(--radius-lg); box-shadow: 0 4px 0 var(--primary-dark);
  position: relative;
}
.testimonial::before {
  content: "\""; position: absolute; top: -22px; left: 22px;
  width: 44px; height: 44px;
  background: var(--accent); border: 2px solid var(--primary-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Bookman Old Style", "Bookman", "Georgia", serif;
  font-size: 2rem; color: var(--primary-dark); line-height: 1;
  padding-top: 8px;
  box-shadow: 0 3px 0 var(--primary-dark);
}
.testimonial-quote { font-family: "Bookman Old Style", "Bookman", "Georgia", serif; font-style: italic; font-size: 1.05rem; }
.testimonial-author { margin-top: 14px; font-weight: 700; color: var(--primary-dark); }
.testimonial-author small { display: block; color: var(--ink-soft); font-weight: 400; }

.search-bar {
  display: flex; gap: 10px; margin: 20px 0 28px;
}
.search-bar input { flex: 1; }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a, .pager span {
  padding: 8px 14px; border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink);
}
.pager .active { background: var(--primary); color: #FFF7E8; border-color: var(--primary); }

.notice {
  padding: 14px 18px; border-radius: 10px;
  background: rgba(212,165,116,.18); border: 1px solid rgba(212,165,116,.4);
  color: var(--ink); margin-bottom: 18px;
}
.notice-error { background: rgba(200,85,61,.12); border-color: rgba(200,85,61,.4); }
.notice-success { background: rgba(106,123,63,.16); border-color: rgba(106,123,63,.4); }

.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.checkout-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.checkout-card h3 { margin-bottom: 16px; }
.legend { font-size: .85rem; color: var(--ink-soft); margin-bottom: 14px; }
.guarantee-box {
  background: var(--cream); border: 2px dashed var(--accent-dark);
  border-radius: 12px; padding: 18px 20px; margin-top: 18px;
  display: flex; gap: 14px; align-items: flex-start;
}
.guarantee-box .icon-tile { flex-shrink: 0; }

.about-photo-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0;
}
.about-photo-row figure { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #efe7d7; margin: 0; }
.about-photo-row img { width: 100%; height: 100%; object-fit: cover; }

.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split-block .photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: #efe7d7; }
.split-block .photo img { width: 100%; height: 100%; object-fit: cover; }

.recipe-tag-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; }
.recipe-tag-meta strong { color: var(--ink); }

.callout {
  padding: 22px 26px; background: rgba(110,127,79,.10);
  border-left: 5px solid var(--sage);
  border-radius: 8px; margin: 22px 0;
  font-style: italic;
  position: relative;
}
.callout strong { font-style: normal; color: var(--sage-dark); }

.qty-input { width: 64px; text-align: center; }

/* ===== Stars ===== */
.stars { display: inline-flex; gap: 2px; align-items: center; color: var(--accent-dark); }
.stars span { color: var(--accent-dark); font-size: 1rem; }
.stars .grey { color: #d8c8b1; }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 22px; }
  .hero-collage-grid { gap: 38px; }
}
@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .hamburger { display: inline-flex; }
  .nav-link-quiet { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .recipe-hero { grid-template-columns: 1fr; }
  .recipe-body { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .cards-grid-4 { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-collage-grid { grid-template-columns: 1fr; }
  .hero-photos { min-height: 380px; max-width: 540px; margin: 0 auto; }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 48px 0; }
  .hero { padding: 64px 0 56px; }
  .hero-collage { padding: 32px 0 64px; }
  .nav-row { gap: 10px; height: 70px; }
  .brand-line-2 { display: none; }
  .nav-account-text { display: none; }
  .cards-grid, .cards-grid-4, .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .recipe-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 48px 20px 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .split-block { grid-template-columns: 1fr; }
  .about-photo-row { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .recipe-hero .meta-tiles { grid-template-columns: repeat(2, 1fr); }
  .cart-row { grid-template-columns: 64px 1fr; gap: 10px; }
  .cart-row .thumb { width: 64px; height: 64px; }
  .cart-row .qty, .cart-row .price-line, .cart-row .remove { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta-counter { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hero-meta-counter > div { padding-right: 0; border-right: 0; }
  .hero-photos { min-height: 320px; }
  .stamp { width: 100px; height: 100px; }
  .stamp .stamp-mid { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .cards-grid, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .recipe-gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 4 / 3; }
  .brand-text { display: none; }
  .hero-photos { min-height: 280px; }
  .hero-photo-tl { width: 50%; height: 38%; }
  .hero-photo-br { width: 46%; height: 36%; }
}

/* ===== Print quietly ===== */
@media print {
  .site-header, .site-footer, .cookie-notice, .toast, .nav-actions, .hamburger, .padlock-badge { display: none !important; }
}
