/* Pinkavo Cafe Recipes -- main stylesheet */
/* Brand colors: primary pink #D81B60, accent avocado green #84A857 */

:root {
  --primary: #D81B60;
  --primary-dark: #AD1457;
  --primary-soft: #FCE4EC;
  --accent: #84A857;
  --accent-dark: #5A7D33;
  --accent-soft: #F1F8E9;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --ink-mute: #8A8A8A;
  --line: #ECE6E9;
  --line-strong: #DCD3D6;
  --bg: #FFFBFC;
  --bg-warm: #FFF5F8;
  --white: #FFFFFF;
  --tomato: #E53935;
  --gold: #C49B36;
  --shadow-sm: 0 2px 8px rgba(33, 8, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(33, 8, 18, 0.08);
  --shadow-lg: 0 22px 60px rgba(33, 8, 18, 0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: var(--primary); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5 { font-family: var(--serif); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); letter-spacing: -0.3px; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--ink-soft); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }

.skip-link {
  position: absolute; top: -40px; left: 16px; background: var(--ink); color: var(--white);
  padding: 8px 14px; border-radius: 6px; z-index: 9999;
}
.skip-link:focus { top: 12px; }

.container, .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 251, 252, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  flex: 0 0 auto;
}
.brand-mark {
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  display: grid; place-items: center;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(216, 27, 96, 0.28);
}
.brand-text {
  display: flex; flex-direction: column;
  line-height: 1; font-weight: 700;
}
.brand-name { font-family: var(--serif); font-size: 1.15rem; }
.brand-sub  { font-size: 0.7rem; letter-spacing: 2px; color: var(--accent-dark); text-transform: uppercase; margin-top: 2px; }

.nav-main {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}
.nav-main ul {
  display: flex; gap: 4px; align-items: center;
}
.nav-main a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-main a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-main a.active { color: var(--primary-dark); background: var(--primary-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.link-btn {
  font-size: 0.9rem; font-weight: 500; color: var(--ink-soft);
  padding: 8px 12px; border-radius: var(--radius-pill);
}
.link-btn:hover { color: var(--primary); background: var(--primary-soft); }
.link-btn.ghost { border: 1px solid var(--line-strong); }
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  transition: background 0.18s ease;
}
.cart-btn:hover { background: var(--accent); color: var(--white); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--tomato); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  min-width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 999px;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4);
}
.hamburger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; gap: 5px; padding: 12px;
  border-radius: 12px;
  background: var(--primary-soft);
}
.hamburger span {
  width: 100%; height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  visibility: hidden;
  z-index: 300;
}
.mobile-drawer.open { visibility: visible; }
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 5, 12, 0.4);
  opacity: 0; transition: opacity 0.25s ease;
}
.mobile-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--bg);
  padding: 80px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 30px rgba(20, 5, 12, 0.12);
  overflow-y: auto;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px;
  font-size: 28px; color: var(--ink);
  border-radius: 12px;
  background: var(--primary-soft);
}
.drawer-panel nav ul { display: flex; flex-direction: column; gap: 4px; }
.drawer-panel a {
  display: block; padding: 14px 18px;
  color: var(--ink); font-weight: 500;
  border-radius: 12px;
}
.drawer-panel a:hover { background: var(--primary-soft); color: var(--primary-dark); }

/* ============================================================
   GLOBAL COMPONENTS
   ============================================================ */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 0; cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn.small { padding: 10px 18px; font-size: 0.85rem; }
.btn.large { padding: 18px 32px; font-size: 1.05rem; }
.btn.primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(216, 27, 96, 0.28); }
.btn.primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn.accent  { background: var(--accent); color: var(--white); box-shadow: 0 8px 20px rgba(132, 168, 87, 0.32); }
.btn.accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn.outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn.outline:hover { background: var(--primary); color: var(--white); }
.btn.full { width: 100%; }

/* Hero -- decorative */
.hero {
  position: relative;
  min-height: 620px;
  padding: 96px 0 72px;
  background-position: center;
  background-size: cover;
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20, 5, 12, 0.62) 0%, rgba(216, 27, 96, 0.32) 60%, rgba(132, 168, 87, 0.22) 100%);
}
.hero .wrap { position: relative; z-index: 2; max-width: 980px; }
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero .lede { color: rgba(255, 255, 255, 0.92); font-size: 1.15rem; margin-bottom: 28px; max-width: 640px; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 36px; color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero .hero-meta strong { color: var(--white); font-weight: 700; }

.page-hero {
  position: relative;
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 5, 12, 0.55), rgba(20, 5, 12, 0.55));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, 0.88); font-size: 1.1rem; max-width: 660px; }

/* ============================================================
   PHOTO COMPONENTS -- mosaic, strip, gallery
   ============================================================ */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
.photo-mosaic .tile {
  overflow: hidden; border-radius: var(--radius-md); background: var(--line);
}
.photo-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-mosaic .tile:hover img { transform: scale(1.05); }
.photo-mosaic .tile:nth-child(1) { grid-row: span 2; }
.photo-mosaic .tile:nth-child(6) { grid-row: span 2; }

.photo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 24px 0;
}
.photo-strip .tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.photo-strip .tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.photo-strip .tile:hover img { transform: scale(1.06); }

.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}
.recipe-gallery .gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.recipe-gallery .gallery-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.recipe-gallery .gallery-tile:hover img { transform: scale(1.04); }
.recipe-gallery .gallery-cap {
  position: absolute; left: 14px; bottom: 12px;
  background: rgba(20, 5, 12, 0.55); color: var(--white);
  font-size: 0.75rem; padding: 6px 12px; border-radius: var(--radius-pill);
  letter-spacing: 1px; text-transform: uppercase;
}

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

.recipe-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid var(--line);
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.recipe-card .photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.recipe-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.recipe-card:hover .photo img { transform: scale(1.05); }
.recipe-card .cat-pill {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.95); color: var(--ink);
  font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); font-weight: 600;
}
.lock-badge {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(216, 27, 96, 0.45);
}
.lock-badge svg { width: 18px; height: 18px; }
.recipe-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.recipe-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.recipe-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.recipe-meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 0.82rem; color: var(--ink-mute);
  border-top: 1px solid var(--line); padding-top: 14px;
}
.recipe-meta span { display: inline-flex; align-items: center; gap: 6px; }
.recipe-meta .star { color: var(--gold); }
.members-pill {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.members-pill.free { background: var(--accent); }

/* Recipes free strip on listing */
.free-strip {
  background: linear-gradient(120deg, var(--primary-soft), var(--accent-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-bottom: 36px;
}
.free-strip p { color: var(--ink); font-weight: 500; flex: 1; min-width: 240px; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card .photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--accent-soft);
  position: relative;
}
.product-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .photo img { transform: scale(1.04); }
.product-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .pcat { font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; }
.product-card h3 { font-size: 1.08rem; }
.product-card p { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }
.product-card .footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.product-card .price { font-family: var(--serif); font-weight: 700; color: var(--primary); font-size: 1.2rem; }

/* ============================================================
   HOME PAGE LAYOUT
   ============================================================ */
.home-feature {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
  padding: 80px 0;
}
.home-feature .copy h2 { margin-bottom: 18px; }
.home-feature .copy p { font-size: 1.05rem; margin-bottom: 14px; }
.home-feature ul.tick {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.home-feature ul.tick li { padding-left: 28px; position: relative; color: var(--ink-soft); }
.home-feature ul.tick li::before {
  content: "*";
  position: absolute; left: 0; top: 0;
  color: var(--accent-dark); font-weight: 700;
  font-size: 1.4rem; line-height: 1;
}
.home-feature .feature-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.home-feature .feature-photo img { width: 100%; height: 100%; object-fit: cover; }

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 60px 60px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.92); margin-bottom: 22px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .accent-btn { background: var(--accent); color: var(--white); }
.cta-banner .accent-btn:hover { background: var(--accent-dark); }
.cta-banner .ghost-btn { background: rgba(255, 255, 255, 0.16); color: var(--white); }
.cta-banner .stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  background: rgba(255, 255, 255, 0.12);
  padding: 26px;
  border-radius: var(--radius-md);
}
.cta-banner .stat .num { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.cta-banner .stat .lbl { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); margin-top: 4px; }

/* Categories */
.cat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
}
.cat-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--white);
  display: flex; align-items: flex-end;
  padding: 20px;
  background: var(--line);
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(20, 5, 12, 0.05) 30%, rgba(20, 5, 12, 0.7));
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card .label { position: relative; z-index: 3; }
.cat-card .label h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
.cat-card .label p { color: rgba(255, 255, 255, 0.86); font-size: 0.8rem; }

/* Testimonials */
.tstack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.tcard p.quote { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 18px; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
}
.tcard .who-meta strong { display: block; color: var(--ink); }
.tcard .who-meta span { color: var(--ink-mute); font-size: 0.85rem; }

/* ============================================================
   RECIPE DETAIL
   ============================================================ */
.recipe-hero {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 140px 0 100px;
  color: var(--white);
}
.recipe-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 5, 12, 0.35) 0%, rgba(20, 5, 12, 0.78) 100%);
}
.recipe-hero .wrap { position: relative; z-index: 2; max-width: 920px; }
.recipe-hero .crumbs { color: rgba(255, 255, 255, 0.78); font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.recipe-hero h1 { color: var(--white); margin-bottom: 14px; }
.recipe-hero p.lede { color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; margin-bottom: 22px; max-width: 720px; }
.recipe-hero .meta-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; margin-top: 24px; max-width: 760px;
}
.meta-tile {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}
.meta-tile .lbl { font-size: 0.7rem; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.meta-tile .val { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--white); margin-top: 4px; }

.recipe-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  padding: 64px 0;
}
.recipe-body .ingredients-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
  position: sticky; top: 100px;
}
.recipe-body .ingredients-card h2 { font-size: 1.5rem; margin-bottom: 12px; }
.recipe-body .ingredients-card ul { display: flex; flex-direction: column; gap: 10px; }
.recipe-body .ingredients-card li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--ink-soft);
  padding: 10px 12px;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}
.recipe-body .steps h2 { font-size: 1.7rem; margin-bottom: 18px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px; margin-bottom: 16px;
}
.step .step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: var(--white);
  display: grid; place-items: center;
  border-radius: 14px;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
}
.step .step-text { color: var(--ink); line-height: 1.65; }

.paywall-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.paywall-card .lock-icon {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  margin-bottom: 18px;
}
.paywall-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 12px; }
.paywall-card p { color: rgba(255, 255, 255, 0.92); margin-bottom: 18px; font-size: 1rem; }
.paywall-card ul { margin: 22px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paywall-card ul li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
}
.paywall-card ul li::before { content: "*"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }
.paywall-card .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.paywall-card .actions .btn.primary { background: var(--white); color: var(--primary-dark); }
.paywall-card .actions .btn.primary:hover { background: var(--accent); color: var(--white); }
.paywall-card .actions .btn.outline { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }

/* ============================================================
   FORMS
   ============================================================ */
.form-wrap {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-wrap.wide { max-width: 720px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit; font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  transition: border 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--primary);
  background: var(--white);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 0.95rem; }
.form-msg.ok { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #C5E1A5; }
.form-msg.err { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; }

/* ============================================================
   CART + CHECKOUT
   ============================================================ */
.cart-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; padding: 40px 0; align-items: start; }
.cart-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px 20px; }
.cart-row { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-row:last-child { border-bottom: 0; }
.cart-row .img { width: 90px; height: 90px; border-radius: 12px; overflow: hidden; background: var(--line); }
.cart-row .img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row .nm h4 { font-size: 1.05rem; margin-bottom: 4px; }
.cart-row .nm small { color: var(--ink-mute); font-size: 0.85rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { padding: 8px 14px; color: var(--ink); }
.qty button:hover { background: var(--primary-soft); }
.qty input { width: 44px; text-align: center; border: 0; font-size: 0.95rem; padding: 8px 0; }
.line-total { font-weight: 700; font-family: var(--serif); color: var(--ink); }
.cart-row .rem { padding: 6px 8px; color: var(--tomato); font-size: 0.85rem; }
.cart-summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px; position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 14px; }
.cart-summary .line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.cart-summary .line.total { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); border-bottom: 0; }

.empty-cart { text-align: center; padding: 80px 24px; }
.empty-cart h2 { margin-bottom: 12px; }

/* ============================================================
   STORE / FILTERS
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-bar a {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem; font-weight: 500;
  background: var(--white);
}
.filter-bar a.active, .filter-bar a:hover { color: var(--primary); border-color: var(--primary); }

/* ============================================================
   SUBSCRIBE PAGE
   ============================================================ */
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan-card.recommend {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}
.plan-card .recommend-badge {
  position: absolute; top: -14px; right: 22px;
  background: var(--primary); color: var(--white);
  padding: 6px 14px; font-size: 0.78rem; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
  border-radius: var(--radius-pill);
}
.plan-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-card .price-line {
  font-family: var(--serif); margin: 18px 0 6px;
}
.plan-card .price-line .num { font-size: 3rem; font-weight: 700; color: var(--primary); }
.plan-card .price-line .per { font-size: 0.95rem; color: var(--ink-mute); margin-left: 4px; }
.plan-card .save { color: var(--accent-dark); font-weight: 600; margin-bottom: 14px; }
.plan-card ul { margin: 18px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-card ul li { color: var(--ink-soft); padding-left: 24px; position: relative; }
.plan-card ul li::before { content: "*"; color: var(--accent-dark); font-weight: 700; position: absolute; left: 0; top: 0; }

/* Account dashboard */
.account-grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 0; }
.account-side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.account-side h3 { font-size: 1.05rem; margin-bottom: 8px; }
.account-side .meta-row { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.account-side .meta-row:last-child { border-bottom: 0; }
.account-side .lbl { font-size: 0.74rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-mute); }
.account-side .val { color: var(--ink); font-weight: 500; }
.badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600; }
.badge.green { background: var(--accent-soft); color: var(--accent-dark); }
.badge.gray  { background: var(--line); color: var(--ink-mute); }

.order-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; margin-bottom: 16px; }
.order-card .row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .photo img { transform: scale(1.05); }
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .meta { font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent-dark); font-weight: 600; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.92rem; color: var(--ink-soft); flex: 1; }
.blog-card .read-more { margin-top: 14px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }

.blog-article { max-width: 780px; margin: 0 auto; padding: 56px 24px; }
.blog-article .meta { color: var(--ink-mute); font-size: 0.85rem; margin-bottom: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.blog-article h1 { margin-bottom: 18px; }
.blog-article .lead-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); margin: 24px 0 32px; }
.blog-article .lead-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-article p { font-size: 1.05rem; margin-bottom: 18px; color: var(--ink-soft); }

/* ============================================================
   FAQ + LEGAL CONTENT
   ============================================================ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 26px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary-dark); }
.faq-item p { color: var(--ink-soft); }

.legal { max-width: 860px; margin: 0 auto; padding: 56px 24px; line-height: 1.8; }
.legal h2 { margin: 36px 0 14px; font-size: 1.5rem; }
.legal h3 { margin: 24px 0 10px; font-size: 1.15rem; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { padding-left: 24px; list-style: disc; margin-bottom: 18px; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.legal th, .legal td { text-align: left; padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-warm); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, #1A1A1A 0%, #0E0407 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand .brand-light .brand-name,
.footer-brand .brand-light .brand-sub { color: var(--white); }
.footer-tag { margin: 14px 0 18px; font-size: 0.95rem; }
.footer-address { font-size: 0.85rem; line-height: 1.7; color: rgba(255, 255, 255, 0.62); }
.footer-col h4 { color: var(--white); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-support p { color: rgba(255, 255, 255, 0.62); font-size: 0.88rem; margin-bottom: 12px; }
.support-email { display: block; color: var(--white); font-weight: 600; margin-bottom: 14px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.56); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: rgba(255, 255, 255, 0.74); font-size: 0.85rem; }
.legal-links a:hover { color: var(--white); }

/* Cookie notice */
.cookie-notice {
  position: fixed; left: 24px; bottom: 24px; right: 24px;
  background: var(--ink); color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.cookie-inner { display: flex; gap: 18px; align-items: center; flex: 1; flex-wrap: wrap; }
.cookie-notice p { color: rgba(255, 255, 255, 0.92); font-size: 0.9rem; flex: 1; min-width: 240px; }
.cookie-notice a { color: var(--accent); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 200%);
  background: var(--ink); color: var(--white);
  padding: 14px 22px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  z-index: 500; opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 0.92rem;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Misc */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span { padding: 4px 12px; background: var(--accent-soft); color: var(--accent-dark); border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 600; }

.muted { color: var(--ink-mute); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.spacer-12 { height: 12px; } .spacer-24 { height: 24px; } .spacer-48 { height: 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-main { display: none; }
  .header-actions .link-btn { display: none; }
  .hamburger { display: flex; }
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
  .photo-mosaic .tile:nth-child(6) { grid-row: auto; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
  .home-feature { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 32px; grid-template-columns: 1fr; }
  .recipe-body { grid-template-columns: 1fr; }
  .recipe-body .ingredients-card { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .tstack { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .blog-grid, .plans-grid, .tstack { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .photo-mosaic .tile:nth-child(1), .photo-mosaic .tile:nth-child(6) { grid-row: auto; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .recipe-gallery { grid-template-columns: repeat(2, 1fr); }
  .recipe-hero .meta-tiles { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .paywall-card ul { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row .qty, .cart-row .line-total, .cart-row .rem { grid-column: 1 / -1; justify-self: start; }
  .header-inner { padding: 12px 18px; gap: 8px; }
  .brand-mark { width: 38px; height: 38px; font-size: 18px; }
  .brand-name { font-size: 1rem; } .brand-sub { font-size: 0.62rem; }
  .hero { min-height: 520px; padding: 64px 0 48px; }
  .container, .wrap { padding: 0 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .recipe-gallery { grid-template-columns: 1fr; }
  .recipe-hero .meta-tiles { grid-template-columns: 1fr 1fr; }
  .hero .hero-actions .btn { width: 100%; }
  .form-wrap { padding: 28px 22px; }
  .plan-card { padding: 28px 22px; }
}
