/* ===================================================================
   ZESTY FLOWERS -- style.css
   ASCII-safe: no characters above 0x7F
   =================================================================== */

/* --- RESET & BASE ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- CUSTOM PROPERTIES -------------------------------------------- */
:root {
  --orange:      #FF6B00;
  --orange-lt:   #FF9240;
  --orange-pale: #FFF0E6;
  --orange-dark: #CC5500;
  --accent:      #FFB347;
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --text-light:  #9CA3AF;
  --bg:          #FFFBF7;
  --bg-alt:      #FFF5ED;
  --bg-dark:     #1C1410;
  --border:      #E5D5C8;
  --white:       #FFFFFF;
  --success:     #22C55E;
  --error:       #EF4444;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.14);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
  --font-body:   'Inter', system-ui, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --max-w:       1280px;
}

/* --- TYPOGRAPHY --------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
h1,h2,h3,h4,h5 {
  font-family: var(--font-serif);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- LAYOUT ------------------------------------------------------- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.section--dark { background: var(--bg-dark); color: var(--white); }
.section--alt  { background: var(--bg-alt); }
.section--orange { background: var(--orange); color: var(--white); }

/* --- BUTTONS ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
  justify-content: center;
  cursor: pointer;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
}
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--secondary {
  background: var(--white);
  color: var(--orange);
  border: 2px solid var(--white);
}
.btn--secondary:hover { background: var(--orange-pale); color: var(--orange-dark); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--outline-orange {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn--outline-orange:hover { background: var(--orange); color: var(--white); }
.btn--dark {
  background: var(--bg-dark);
  color: var(--white);
  border: 2px solid var(--bg-dark);
}
.btn--dark:hover { background: #2D2016; }
.btn--sm  { padding: 0.45rem 1.1rem; font-size: 0.85rem; }
.btn--lg  { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn--full { width: 100%; display: flex; }

/* --- HEADER ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,251,247,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.logo-accent { color: var(--orange); }

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--orange); background: var(--orange-pale); }
.nav-link--cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 0.45rem 1rem;
}
.nav-link--cta:hover { background: var(--orange-dark); color: var(--white) !important; }

/* Header controls */
.header-controls { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Cart button */
.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border);
  color: var(--text);
  transition: all var(--transition);
}
.cart-btn:hover { border-color: var(--orange); color: var(--orange); }
.cart-icon { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: -5px; right: -5px;
  background: var(--error);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
  transition: transform var(--transition);
}
.cart-badge.pop { transform: scale(1.3); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: transparent;
}
.ham-bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open .ham-bar:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bar:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- MOBILE DRAWER ----------------------------------------------- */
.drawer-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
}
.drawer-backdrop.open { display: block; }
.mobile-drawer {
  position: fixed; top: 0; right: -100%; z-index: 1010;
  width: min(320px, 85vw); height: 100dvh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 1.5rem;
  overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 2px solid var(--border);
  margin-left: auto; margin-bottom: 1.5rem;
  color: var(--text);
}
.drawer-close svg { width: 18px; height: 18px; }
.drawer-list { display: flex; flex-direction: column; gap: 0.25rem; }
.drawer-list a {
  display: block; padding: 0.7rem 0.5rem;
  font-size: 1.05rem; font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: color var(--transition);
}
.drawer-list a:hover { color: var(--orange); }
.drawer-divider { margin: 0.75rem 0; border-top: 2px solid var(--border); }

/* --- TOAST -------------------------------------------------------- */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--bg-dark); color: var(--white);
  padding: 0.8rem 1.5rem; border-radius: 50px;
  font-size: 0.9rem; font-weight: 500;
  z-index: 9999; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  max-width: 90vw; text-align: center; white-space: nowrap;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* --- HERO SECTIONS ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(28,20,16,0.7) 0%, rgba(28,20,16,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 700px;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero variants */
.hero--sm { min-height: 340px; }
.hero--xs { min-height: 240px; }

/* --- PAGE HERO (alt style) ---------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #3D2010 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; }

/* --- GRIDS -------------------------------------------------------- */
/* Recipe Grid */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* Category Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
/* 2-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col--reverse .two-col__img { order: 2; }

/* --- RECIPE CARD -------------------------------------------------- */
.recipe-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.recipe-card__img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.recipe-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.recipe-card:hover .recipe-card__img { transform: scale(1.05); }

/* Premium badge */
.recipe-card__premium {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
  background: var(--error);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.recipe-card__cat {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: rgba(28,20,16,0.75);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.recipe-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.recipe-card__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recipe-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recipe-card__meta {
  display: flex; gap: 1rem; font-size: 0.78rem; color: var(--text-muted);
}
.recipe-card__meta span { display: flex; align-items: center; gap: 0.3rem; }
.recipe-card__stars { color: var(--orange); font-size: 0.75rem; }

/* --- PRODUCT CARD ------------------------------------------------- */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__img-wrap { aspect-ratio: 1; overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.product-card__cat { font-size: 0.73rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.product-card__name { font-weight: 700; font-size: 0.95rem; color: var(--text); }
.product-card__short { font-size: 0.83rem; color: var(--text-muted); flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.75rem; }
.product-card__price { font-size: 1.2rem; font-weight: 700; color: var(--orange); }

/* --- BLOG CARD ---------------------------------------------------- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__img-wrap { aspect-ratio: 16/9; overflow: hidden; }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; gap: 0.75rem; }
.blog-card__cat { color: var(--orange); font-weight: 600; }
.blog-card__title { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.blog-card__excerpt { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.blog-card__link { margin-top: 1rem; color: var(--orange); font-weight: 600; font-size: 0.85rem; }

/* --- CATEGORY CARD ------------------------------------------------ */
.cat-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,20,16,0.75) 0%, transparent 60%);
}
.cat-card__label {
  position: relative; z-index: 1;
  padding: 1rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
}

/* --- PHOTO MOSAIC ------------------------------------------------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
}
.photo-mosaic__tile { overflow: hidden; position: relative; }
.photo-mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-mosaic__tile:hover img { transform: scale(1.06); }
.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: 0.5rem;
  height: 200px;
}
.photo-strip__tile { overflow: hidden; border-radius: 8px; }
.photo-strip__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-strip__tile:hover img { transform: scale(1.07); }

/* --- RECIPE GALLERY ----------------------------------------------- */
.recipe-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.recipe-gallery__item { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.recipe-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.recipe-gallery__caption {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: -0.25rem;
}

/* --- SECTION HEADINGS --------------------------------------------- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head__eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-head h2 { margin-bottom: 0.75rem; }
.section-head p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* --- FORM ELEMENTS ------------------------------------------------ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.12);
}
.form-input.error { border-color: var(--error); }
.form-error { color: var(--error); font-size: 0.8rem; margin-top: 0.3rem; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }

/* --- ALERT / NOTICE ----------------------------------------------- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.alert--error   { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert--success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #166534; }
.alert--info    { background: var(--orange-pale); border: 1px solid #FED7AA; color: var(--orange-dark); }

/* --- PAYWALL ----------------------------------------------------- */
.paywall-card {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 2rem 0;
}
.paywall-card__lock { font-size: 3.5rem; margin-bottom: 1.5rem; line-height: 1; }
.paywall-card h2 { color: var(--white); font-size: 1.8rem; margin-bottom: 1rem; }
.paywall-card p { opacity: 0.9; margin-bottom: 1.5rem; font-size: 1rem; }
.paywall-features {
  display: flex; flex-direction: column; gap: 0.5rem;
  text-align: left; max-width: 360px; margin: 0 auto 2rem;
}
.paywall-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.paywall-features li::before { content: '* '; color: var(--accent); font-weight: 700; }
.paywall-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Ingredient preview */
.ingredient-preview { margin-bottom: 0.5rem; }
.ingredient-preview .more { color: var(--text-muted); font-style: italic; font-size: 0.9rem; }

/* Free / premium pill */
.recipe-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.recipe-pill--free    { background: rgba(34,197,94,0.15); color: #166534; }
.recipe-pill--premium { background: rgba(239,68,68,0.12); color: #991B1B; }

/* --- MEMBERSHIP BANNER ------------------------------------------- */
.member-banner {
  background: var(--orange-pale);
  border: 1px solid #FED7AA;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.member-banner p { margin: 0; font-size: 0.9rem; flex: 1; min-width: 200px; }
.member-banner p strong { color: var(--orange-dark); }

/* --- SUBSCRIPTION PRICING CARDS ----------------------------------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 700px; margin: 0 auto; }
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--white);
  padding: 0.2rem 1.2rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap;
}
.pricing-card h3 { margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 700; color: var(--orange); line-height: 1; }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-features { text-align: left; margin-bottom: 2rem; }
.pricing-features li { padding: 0.4rem 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '*'; color: var(--success); font-weight: 700; }

/* --- CART --------------------------------------------------------- */
.cart-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-row__img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
.cart-row__name { font-weight: 600; }
.qty-ctrl { display: flex; align-items: center; gap: 0.5rem; }
.qty-ctrl button {
  width: 30px; height: 30px;
  border: 2px solid var(--border); border-radius: 6px;
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.qty-ctrl button:hover { border-color: var(--orange); color: var(--orange); }
.qty-ctrl span { min-width: 2ch; text-align: center; font-weight: 600; }
.cart-remove { color: var(--error); font-size: 0.85rem; font-weight: 600; background: none; border: none; cursor: pointer; }
.cart-remove:hover { text-decoration: underline; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; padding: 1rem 0; }
.cart-empty { text-align: center; padding: 4rem 1rem; }
.cart-empty h2 { margin-bottom: 1rem; }

/* --- CHECKOUT ----------------------------------------------------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.checkout-sidebar {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky; top: 100px;
}
.order-summary-item {
  display: flex; justify-content: space-between;
  padding: 0.4rem 0; font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.order-total { font-size: 1.15rem; font-weight: 700; border-top: 2px solid var(--border); padding-top: 0.75rem; margin-top: 0.25rem; }

/* --- ACCOUNT ----------------------------------------------------- */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2.5rem; align-items: start; }
.account-sidebar {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky; top: 100px;
}
.account-sidebar h4 { margin-bottom: 1rem; font-size: 1rem; }
.account-nav a {
  display: block; padding: 0.6rem 0.75rem;
  border-radius: 8px; font-size: 0.9rem;
  color: var(--text-muted); font-weight: 500;
  transition: all var(--transition);
}
.account-nav a:hover, .account-nav a.active { background: var(--orange-pale); color: var(--orange); }

/* --- TEAM CARDS --------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.team-card { text-align: center; }
.team-card__avatar {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1rem;
  border: 4px solid var(--orange-pale);
}
.team-card__name { font-weight: 700; margin-bottom: 0.25rem; }
.team-card__role { color: var(--orange); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.team-card__bio { font-size: 0.85rem; color: var(--text-muted); }

/* --- STATS ROW ---------------------------------------------------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat__number { font-size: 2.5rem; font-weight: 700; color: var(--orange); font-family: var(--font-serif); display: block; }
.stat__label  { font-size: 0.9rem; color: var(--text-muted); }

/* --- FAQ ---------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; font-weight: 600; cursor: pointer;
  font-size: 1rem;
}
.faq-question:hover { color: var(--orange); }
.faq-icon { font-size: 1.4rem; color: var(--orange); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding-bottom: 1.25rem; display: none; color: var(--text-muted); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* --- RECIPE DETAIL ------------------------------------------------ */
.recipe-hero { position: relative; height: 480px; overflow: hidden; }
.recipe-hero img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(28,20,16,0.7) 100%);
}
.recipe-hero__content {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: var(--max-w); padding: 0 1.5rem;
  color: var(--white); z-index: 1;
}
.recipe-hero__eyebrow {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem;
}
.recipe-hero h1 { color: var(--white); font-size: clamp(1.8rem,3vw,2.8rem); }

.recipe-meta-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.recipe-meta-tile {
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center; flex: 1; min-width: 100px;
}
.recipe-meta-tile__value { font-size: 1.4rem; font-weight: 700; color: var(--orange); display: block; }
.recipe-meta-tile__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.recipe-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.recipe-sidebar { position: sticky; top: 100px; }

.ingredients-list { padding-left: 0; }
.ingredients-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.ingredients-list li::before { content: '-'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

.method-steps { counter-reset: step; }
.step {
  display: flex; gap: 1.25rem;
  margin-bottom: 2rem; counter-increment: step;
}
.step-number {
  width: 40px; height: 40px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
  margin-top: 0.15rem;
}
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p { color: var(--text-muted); }

/* --- PRODUCT DETAIL ----------------------------------------------- */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.product-detail__img { border-radius: var(--radius-lg); overflow: hidden; }
.product-detail__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-features { margin-top: 1.5rem; }
.product-features li {
  padding: 0.5rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; display: flex; gap: 0.5rem; align-items: flex-start;
}
.product-features li::before { content: '*'; color: var(--success); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

/* --- ADD TO CART BUTTON ------------------------------------------ */
.atc-btn {
  background: var(--orange); color: var(--white);
  border: 2px solid var(--orange); border-radius: 50px;
  padding: 0.85rem 2rem; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.atc-btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --- LEGAL PAGES -------------------------------------------------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--text); }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--text-muted); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { padding: 0.25rem 0; }
.legal-content a { color: var(--orange); text-decoration: underline; }
.legal-effective { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; font-style: italic; }

/* --- CONTACT FORM ------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--orange-pale); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}

/* --- SITEMAP ----------------------------------------------------- */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.sitemap-section h3 { font-size: 1rem; color: var(--orange); margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--border); }
.sitemap-section a { display: block; font-size: 0.9rem; color: var(--text-muted); padding: 0.25rem 0; transition: color var(--transition); }
.sitemap-section a:hover { color: var(--orange); }

/* --- PAYMENT SUCCESS --------------------------------------------- */
.success-card {
  text-align: center; max-width: 540px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem 2rem; box-shadow: var(--shadow-lg);
}
.success-card__icon { font-size: 4rem; margin-bottom: 1.5rem; }
.success-card h1 { margin-bottom: 1rem; }
.success-card p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- BREADCRUMB --------------------------------------------------- */
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; }
.breadcrumb a { color: var(--orange); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: ' / '; }

/* --- PAGINATION --------------------------------------------------- */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; }
.page-btn {
  width: 40px; height: 40px;
  border: 2px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* --- MISC --------------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.pill--orange { background: var(--orange-pale); color: var(--orange); }
.pill--dark   { background: rgba(28,20,16,0.08); color: var(--text); }
.pill--green  { background: rgba(34,197,94,0.1); color: #166534; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- COOKIE NOTICE ------------------------------------------------ */
.cookie-notice {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 8888;
  background: var(--bg-dark); color: var(--white);
  padding: 1rem 1.5rem;
  border-top: 3px solid var(--orange);
  display: none;
}
.cookie-notice.visible { display: block; }
.cookie-notice-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.cookie-notice-inner p { margin: 0; font-size: 0.88rem; flex: 1; min-width: 200px; opacity: 0.9; }
.cookie-notice-inner a { color: var(--accent); text-decoration: underline; }

/* --- RESPONSIVE --------------------------------------------------- */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .main-nav { display: none; }
  .header-controls .btn { display: none; }
  .cart-btn { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--reverse .two-col__img { order: unset; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-sidebar { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-sidebar { position: static; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic { height: 300px; grid-template-columns: 1fr 1fr 1fr; }
  .photo-mosaic__tile:nth-child(6) { display: none; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); height: 150px; }
  .photo-strip__tile:nth-child(5), .photo-strip__tile:nth-child(6) { display: none; }
  .recipe-gallery { grid-template-columns: repeat(2, 1fr); }
  .recipe-gallery__item:nth-child(3) { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 440px; }
  .recipe-hero { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 60px 1fr auto; }
  .cart-row > :nth-child(4), .cart-row > :nth-child(5) { grid-column: 2; }
}

@media (max-width: 480px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; height: 220px; }
  .photo-mosaic__tile:nth-child(1) { grid-row: span 1; }
  .photo-strip { grid-template-columns: repeat(3, 1fr); height: 120px; }
  .photo-strip__tile:nth-child(4), .photo-strip__tile:nth-child(5), .photo-strip__tile:nth-child(6) { display: none; }
  .recipe-gallery { grid-template-columns: 1fr; }
  .recipe-gallery__item:nth-child(2), .recipe-gallery__item:nth-child(3) { display: none; }
  h1 { font-size: 1.8rem; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* Star colours */
.star.full  { color: var(--orange); }
.star.half  { color: var(--accent); }
