/* ============================================================
   Shake Stir Strain Recipes -- master stylesheet
   Primary: #A0341F (rust)  Accent: #E8A05B (honey)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }

:root {
  --primary: #A0341F;
  --primary-dark: #7A2615;
  --primary-light: #C25A41;
  --accent: #E8A05B;
  --accent-dark: #C9863E;
  --ink: #1F1410;
  --ink-soft: #4A3A33;
  --paper: #FBF7F2;
  --paper-soft: #F4ECE2;
  --line: #E3D6C7;
  --shadow: 0 14px 38px -18px rgba(31, 20, 16, .35);
  --shadow-soft: 0 6px 22px -10px rgba(31, 20, 16, .18);
  --radius: 14px;
  --radius-lg: 22px;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 400; }
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); }
p { color: var(--ink-soft); }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

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

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; transition: all .2s ease; font-family: var(--sans); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(160, 52, 31, .55); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-soft); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 80;
  background: rgba(251, 247, 242, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(227, 214, 199, .6);
}
.site-header.is-scrolled { background: rgba(251, 247, 242, .96); }
.header-inner { display: flex; align-items: center; gap: 24px; padding: 14px 6%; max-width: 1400px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--primary); flex-shrink: 0; }
.brand-mark-letter { font-family: var(--serif); color: var(--accent); font-size: 22px; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 19px; }
.brand-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.primary-nav { flex: 1; }
.nav-links { display: flex; justify-content: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 14.5px; letter-spacing: .02em; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--primary); transition: right .2s ease; }
.nav-links a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-account { color: var(--ink); font-weight: 500; font-size: 14px; }
.header-cart { position: relative; color: var(--ink); display: inline-flex; align-items: center; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--primary); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; font-weight: 700; }
.hamburger { display: none; flex-direction: column; gap: 4px; width: 36px; height: 36px; background: transparent; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }

/* ---------- Mobile drawer ---------- */
.mobile-overlay { position: fixed; inset: 0; background: rgba(31, 20, 16, .5); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-overlay.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 320px; max-width: 86vw; background: var(--paper); z-index: 95; padding: 24px; transform: translateX(100%); transition: transform .28s ease; }
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-close { background: transparent; border: 0; font-size: 32px; cursor: pointer; color: var(--ink); }
.drawer-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.drawer-links a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: #18110D; color: #E2D5C7; margin-top: 80px; padding: 70px 6% 30px; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 50px; }
.footer-brand h3 { color: #FBF7F2; margin: 18px 0 12px; font-size: 22px; }
.footer-brand p { color: #C9B8A8; font-size: 14.5px; line-height: 1.65; }
.footer-meta { margin-top: 18px; font-size: 13px; color: #97877A; }
.footer-col h4 { color: #FBF7F2; font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #C9B8A8; font-size: 14.5px; }
.footer-col a:hover { color: var(--accent); }
.footer-support p { color: #C9B8A8; font-size: 14px; }
.footer-mail { display: block; color: var(--accent); margin: 14px 0 8px; font-size: 16px; font-weight: 600; }
.footer-mail:hover { color: var(--accent-dark); }
.footer-hours { font-size: 13px; color: #97877A; }
.footer-base { max-width: 1400px; margin: 50px auto 0; padding-top: 26px; border-top: 1px solid #2B1F18; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: #97877A; font-size: 13.5px; }
.footer-legal { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: #97877A; }
.footer-legal a:hover { color: var(--accent); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; bottom: 24px; left: 24px; right: 24px; max-width: 940px; margin: 0 auto; background: var(--ink); color: #F4ECE2; padding: 20px 28px; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); z-index: 70; display: none; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner.is-visible { display: flex; }
.cookie-text { flex: 1; min-width: 240px; font-size: 14px; line-height: 1.55; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-actions .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 30px; right: 30px; background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 12px; box-shadow: var(--shadow); z-index: 200; transform: translateY(20px); opacity: 0; transition: all .25s; font-size: 14.5px; pointer-events: none; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

/* ---------- Layout helpers ---------- */
.section { padding: 90px 6%; }
.section-tight { padding: 60px 6%; }
.container { max-width: 1300px; margin: 0 auto; }
.container-narrow { max-width: 880px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { margin-top: 14px; font-size: 17px; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; max-width: none; text-align: left; margin-bottom: 40px; }
.section-head--split p { max-width: 460px; }
.section-head--split .btn { flex-shrink: 0; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 92vh; padding: 70px 6% 100px; display: flex; align-items: center; overflow: hidden; background: var(--paper-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; width: 100%; max-width: 1400px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { color: var(--ink); margin: 18px 0 22px; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero p { font-size: 18px; max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stat strong { display: block; font-family: var(--serif); font-size: 28px; color: var(--primary); }
.hero-stat span { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .12em; }

.hero-art { position: relative; height: 540px; }
.hero-art .img { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-soft); }
.hero-art .img img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .img-1 { top: 0; left: 0; width: 62%; height: 65%; }
.hero-art .img-2 { top: 30%; right: 0; width: 50%; height: 55%; }
.hero-art .img-3 { bottom: 0; left: 18%; width: 42%; height: 40%; transform: rotate(-3deg); }
.hero-badge { position: absolute; bottom: -22px; right: -16px; background: var(--accent); color: var(--ink); padding: 14px 20px; border-radius: 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transform: rotate(-4deg); }

/* ---------- Photo Mosaic ---------- */
.photo-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; }
.photo-mosaic .tile { overflow: hidden; border-radius: 14px; background: var(--paper-soft); }
.photo-mosaic .tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-mosaic .tile:hover img { transform: scale(1.04); }
.photo-mosaic .tile:nth-child(1) { grid-row: span 2; }
.photo-mosaic .tile:nth-child(6) { grid-row: span 2; }

/* ---------- Photo Strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.photo-strip .tile { aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; background: var(--paper-soft); }
.photo-strip .tile img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recipe Gallery (on recipe-detail) ---------- */
.recipe-gallery-section { padding: 60px 6%; background: var(--paper-soft); }
.recipe-gallery-section h3 { text-align: center; margin-bottom: 8px; }
.recipe-gallery-section .gallery-eyebrow { display: block; text-align: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.recipe-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 30px auto 0; }
.recipe-gallery .photo { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.recipe-gallery .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recipe Cards ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.recipe-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.recipe-card .card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-soft); }
.recipe-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-card:hover .card-img img { transform: scale(1.05); }
.recipe-card .lock-badge { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px -4px rgba(160, 52, 31, .55); }
.recipe-card .cat-badge { position: absolute; bottom: 14px; left: 14px; background: rgba(31, 20, 16, .82); color: var(--accent); padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.recipe-card .card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.recipe-card h3 { font-size: 19px; }
.recipe-card .card-meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.recipe-card .card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.recipe-card .card-meta strong { color: var(--ink); }

/* ---------- Category Cards ---------- */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat-card { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: flex-end; padding: 22px; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 20, 16, .8) 0%, rgba(31, 20, 16, .15) 60%, transparent 100%); z-index: 1; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .content { position: relative; z-index: 2; }
.cat-card h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.cat-card p { color: rgba(255,255,255,.85); font-size: 13.5px; }

/* ---------- Product Cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: all .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .card-img { aspect-ratio: 1/1; overflow: hidden; background: var(--paper-soft); }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card .product-cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.product-card h3 { font-size: 17px; margin: 8px 0; line-height: 1.25; }
.product-card .product-desc { color: var(--ink-soft); font-size: 13.5px; flex: 1; }
.product-card .product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.product-card .price { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.product-card .add-btn { background: var(--ink); color: #fff; border: 0; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.product-card .add-btn:hover { background: var(--primary); }

/* ---------- Paywall ---------- */
.paywall { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 50px 40px; text-align: center; margin: 30px 0; }
.paywall-lock { width: 72px; height: 72px; margin: 0 auto 20px; background: rgba(255,255,255,.14); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.paywall h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.paywall p { color: rgba(255,255,255,.92); max-width: 540px; margin: 0 auto 24px; font-size: 16px; }
.paywall-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 540px; margin: 24px auto 28px; text-align: left; }
.paywall-features li { color: rgba(255,255,255,.95); padding-left: 26px; position: relative; font-size: 14.5px; }
.paywall-features li::before { content: "*"; position: absolute; left: 0; top: -2px; color: var(--accent); font-size: 22px; font-weight: bold; }
.paywall-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.paywall-cta .btn-accent { color: var(--ink); }
.paywall-cta .btn-light:hover { background: var(--paper-soft); color: var(--ink); }

.free-strip { background: var(--accent); padding: 20px 28px; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.free-strip p { color: var(--ink); font-size: 15.5px; }
.free-strip strong { color: var(--primary-dark); }

.members-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.members-pill.is-premium { background: var(--primary); color: #fff; }
.members-pill.is-free { background: #6B7B3F; color: #fff; }

/* ---------- Page Hero ---------- */
.page-hero { padding: 100px 6% 80px; background: var(--paper-soft); position: relative; overflow: hidden; }
.page-hero-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.page-hero h1 { color: var(--ink); margin: 10px 0 18px; }
.page-hero p { font-size: 18px; max-width: 540px; }
.page-hero-img { aspect-ratio: 5/4; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Recipe Detail ---------- */
.recipe-detail-hero { padding: 50px 6% 30px; }
.recipe-hero-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.recipe-hero-info .breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.recipe-hero-info .breadcrumb a { color: var(--ink-soft); }
.recipe-hero-info .category-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.recipe-hero-info .category-eyebrow a { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.recipe-hero-info h1 { margin-bottom: 16px; }
.recipe-hero-info .recipe-desc { font-size: 18px; color: var(--ink-soft); margin-bottom: 28px; }
.recipe-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.recipe-meta-tile { background: var(--paper-soft); padding: 16px; border-radius: var(--radius); }
.recipe-meta-tile span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.recipe-meta-tile strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--primary); margin-top: 4px; }
.recipe-hero-photo { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.recipe-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.recipe-body-section { padding: 60px 6% 80px; }
.recipe-body-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.ingredients-card { background: var(--paper-soft); padding: 30px; border-radius: var(--radius); position: sticky; top: 100px; align-self: flex-start; }
.ingredients-card h2 { font-size: 26px; margin-bottom: 18px; }
.ingredients-card ul { list-style: none; }
.ingredients-card li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 15px; display: flex; gap: 10px; }
.ingredients-card li::before { content: ""; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.steps h2 { font-size: 26px; margin-bottom: 22px; }
.steps ol { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-left: 60px; position: relative; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 20px; }
.steps li p { color: var(--ink); font-size: 16px; line-height: 1.7; }

/* ---------- Subscribe / Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; max-width: 880px; margin: 0 auto; }
.plan-card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 38px 32px; }
.plan-card.is-feature { border-color: var(--primary); position: relative; box-shadow: var(--shadow); }
.plan-feature-tag { position: absolute; top: -14px; left: 32px; background: var(--accent); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.plan-card h3 { font-size: 24px; margin-bottom: 4px; }
.plan-card .plan-tag { font-size: 14px; color: var(--ink-soft); }
.plan-card .plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 10px; }
.plan-card .plan-price strong { font-family: var(--serif); font-size: 48px; color: var(--primary); }
.plan-card .plan-price span { color: var(--ink-soft); font-size: 15px; }
.plan-card ul { list-style: none; margin: 22px 0 28px; }
.plan-card ul li { padding: 8px 0 8px 26px; position: relative; color: var(--ink); font-size: 14.5px; }
.plan-card ul li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 12px; }

/* ---------- Cart / Checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.cart-items { background: #fff; border-radius: var(--radius); padding: 20px; }
.cart-row { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.cart-row .row-name { font-weight: 600; color: var(--ink); }
.cart-row .row-price { color: var(--ink-soft); font-size: 14px; }
.qty-wrap { display: inline-flex; align-items: center; gap: 4px; background: var(--paper-soft); border-radius: 999px; padding: 4px; }
.qty-btn { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; cursor: pointer; font-weight: 700; color: var(--ink); }
.qty-val { min-width: 24px; text-align: center; font-weight: 600; }
.row-line { font-family: var(--serif); font-size: 18px; color: var(--ink); min-width: 70px; text-align: right; }
.row-remove { background: transparent; border: 0; color: var(--ink-soft); cursor: pointer; font-size: 16px; }
.row-remove:hover { color: var(--primary); }
.cart-summary { background: #fff; border-radius: var(--radius); padding: 28px; height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14.5px; color: var(--ink-soft); }
.summary-row.is-total { padding: 16px 0 4px; border-top: 1px solid var(--line); font-size: 18px; color: var(--ink); font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 30px; }
.cart-empty h3 { margin: 16px 0 10px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); max-width: 480px; margin: 0 auto; }
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row label { font-size: 13px; color: var(--ink); font-weight: 600; letter-spacing: .02em; }
.form-row input, .form-row textarea, .form-row select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: #fff; color: var(--ink); transition: border-color .2s; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: 0; border-color: var(--primary); }
.form-row textarea { min-height: 130px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-alert { background: #FFE9E2; border: 1px solid #F5C9BC; color: #7A2615; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }
.form-success { background: #E8F1DA; border: 1px solid #C5D5A1; color: #4A5A22; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }

/* ---------- Misc page sections ---------- */
.callout { background: var(--ink); color: #FBF7F2; padding: 60px 50px; border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.callout h2 { color: #fff; }
.callout p { color: rgba(255,255,255,.85); margin: 16px 0 24px; font-size: 17px; }
.callout-art { position: relative; height: 280px; }
.callout-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { background: #fff; padding: 36px 28px; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--paper-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--primary); }
.feature h3 { font-size: 21px; margin-bottom: 10px; }

.testimonial-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial { background: var(--paper-soft); padding: 32px; border-radius: var(--radius); }
.testimonial blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.5; color: var(--ink); margin-bottom: 18px; }
.testimonial blockquote::before { content: "\201C"; font-size: 40px; color: var(--primary); display: block; line-height: .8; }
.testimonial cite { font-style: normal; font-size: 14px; font-weight: 600; }
.testimonial cite small { display: block; font-weight: 400; color: var(--ink-soft); margin-top: 2px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: left; }
.team-card .team-photo { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; background: var(--paper-soft); }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 21px; margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.team-card p { margin-top: 12px; font-size: 14.5px; }

.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius); padding: 24px 28px; margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.faq-item h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.faq-item p { font-size: 15px; }

.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.sitemap-col h3 { font-size: 18px; margin-bottom: 14px; color: var(--primary); }
.sitemap-col ul { list-style: none; }
.sitemap-col li { margin-bottom: 8px; }
.sitemap-col a { color: var(--ink); font-size: 14.5px; }
.sitemap-col a:hover { color: var(--primary); }

.legal-content { max-width: 820px; margin: 0 auto; background: #fff; padding: 56px 60px; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.legal-content h1 { margin-bottom: 8px; }
.legal-content .legal-updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 30px; }
.legal-content h2 { font-size: 24px; margin: 32px 0 12px; }
.legal-content h3 { font-size: 19px; margin: 22px 0 10px; }
.legal-content p { margin-bottom: 14px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.legal-content ul { padding-left: 24px; margin-bottom: 14px; }
.legal-content li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 6px; }
.legal-content a { color: var(--primary); text-decoration: underline; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: all .25s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .blog-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-card .blog-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.blog-card .blog-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); font-weight: 700; }
.blog-card h3 { font-size: 21px; line-height: 1.25; }
.blog-card .blog-meta { font-size: 13px; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.post-hero { padding: 80px 6% 50px; }
.post-hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.post-hero h1 { margin: 14px 0 22px; }
.post-meta { color: var(--ink-soft); font-size: 14px; }
.post-content { max-width: 760px; margin: 30px auto 80px; }
.post-content img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 30px; }
.post-content p { font-size: 17px; line-height: 1.75; margin-bottom: 20px; color: var(--ink); }

.empty-state { text-align: center; padding: 80px 30px; }
.empty-state h3 { margin: 16px 0 10px; }

.account-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; max-width: 1100px; margin: 0 auto; }
.account-side { background: #fff; padding: 30px; border-radius: var(--radius); height: fit-content; }
.account-side .name { font-family: var(--serif); font-size: 24px; }
.account-side .email { color: var(--ink-soft); font-size: 14px; margin-top: 4px; word-break: break-all; }
.account-side .plan-pill { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.account-side .plan-pill.is-none { background: var(--paper-soft); color: var(--ink-soft); }
.account-main { background: #fff; padding: 36px; border-radius: var(--radius); }
.account-main h2 { font-size: 22px; margin-bottom: 16px; }
.order-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.order-card .meta { font-size: 13px; color: var(--ink-soft); }

.product-detail { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.product-photo { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-info .breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.product-info h1 { font-size: 38px; margin: 12px 0 16px; }
.product-info .price-big { font-family: var(--serif); font-size: 34px; color: var(--primary); margin-bottom: 20px; }
.product-info .long-desc { color: var(--ink-soft); font-size: 16px; margin-bottom: 24px; line-height: 1.75; }
.product-info .features { list-style: none; margin: 24px 0 30px; }
.product-info .features li { padding: 8px 0 8px 28px; position: relative; color: var(--ink); font-size: 15px; }
.product-info .features li::before { content: ""; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; position: absolute; left: 0; top: 16px; }

/* ============================================================
   RESPONSIVE -- 1024 / 768 / 480
   ============================================================ */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .footer-grid .footer-col:nth-child(3) { display: none; }
}

@media (max-width: 1024px) {
  .primary-nav { display: none; }
  .header-account { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .header-inner { padding: 14px 5%; }
  .hero { min-height: auto; padding: 60px 5% 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-art { height: 460px; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .recipe-hero-grid { grid-template-columns: 1fr; }
  .recipe-body-grid { grid-template-columns: 1fr; gap: 40px; }
  .ingredients-card { position: relative; top: auto; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: relative; top: auto; }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .callout { grid-template-columns: 1fr; padding: 50px 36px; }
  .callout-art { height: 220px; }
  .section { padding: 70px 5%; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .account-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-grid .footer-col:nth-child(3) { display: block; }
}

@media (max-width: 768px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-row { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 140px; }
  .photo-mosaic .tile:nth-child(1), .photo-mosaic .tile:nth-child(6) { grid-row: span 1; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .recipe-gallery { grid-template-columns: repeat(2, 1fr); }
  .recipe-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .legal-content { padding: 36px 28px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; text-align: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .paywall { padding: 36px 24px; }
  .paywall-features { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 60px 1fr auto; row-gap: 8px; }
  .cart-row img { width: 60px; height: 60px; }
  .cart-row .qty-wrap, .cart-row .row-line { grid-column: 2 / 4; justify-self: flex-start; }
  .cart-row .row-remove { grid-column: 3; justify-self: flex-end; align-self: flex-start; }
}

@media (max-width: 480px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .recipe-gallery { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .recipe-meta-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .brand-sub { display: none; }
  .legal-content { padding: 30px 22px; }
  .form-card { padding: 30px 24px; }
}
