/* ================================================================
   Brownscow - Complete Stylesheet v2.0
   Brown Saddle LLC - https://brownscow.com
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* -- CSS Variables ---------------------------------------------- */
:root {
  --br9: #1a0d00; --br8: #2d1a00; --br7: #4a2e0a;
  --br6: #6b4423; --br4: #a0703a; --br2: #d4a574;
  --br1: #eddcc6; --cream: #f5f0e8; --cream-d: #ede5d4;
  --gold: #c8952a; --gold-l: #e8b84b;
  --white: #fff; --text: #1a0d00; --muted: #6b5c48;
  --border: #e0d4c0; --green: #22c55e; --red: #ef4444;
  --fh: 'Playfair Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --r: 12px; --rl: 20px;
  --sh: 0 2px 16px rgba(0,0,0,.08);
  --shl: 0 8px 40px rgba(0,0,0,.12);
  --nav: 68px;
}

/* -- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); color: var(--text); background: var(--cream); line-height: 1.6; padding-top: var(--nav); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--fb); }
button { cursor: pointer; }

/* -- Typography --------------------------------------------------- */
h1,h2,h3,h4,h5 { font-family: var(--fh); line-height: 1.2; color: var(--br9); }
h1 { font-size: clamp(2rem,4vw,3.2rem); }
h2 { font-size: clamp(1.5rem,3vw,2.2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.75; }
.eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); display: block; }

/* -- Layout ------------------------------------------------------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { max-width: 560px; margin: 0 auto; }

/* -- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.4rem; border-radius: 50px; font-size: .9rem; font-weight: 600;
  border: 2px solid transparent; transition: all .2s; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--br9); color: #fff; border-color: var(--br9); }
.btn-primary:hover { background: var(--br7); border-color: var(--br7); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #b07d1a; }
.btn-outline { background: transparent; color: var(--br9); border-color: var(--br9); }
.btn-outline:hover { background: var(--br9); color: #fff; }
.btn-white { background: #fff; color: var(--br9); }
.btn-white:hover { background: var(--cream); }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: .9rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* -- Forms --------------------------------------------------------- */
.form-group { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
label { font-size: .87rem; font-weight: 600; color: var(--br8); }
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea {
  width: 100%; padding: .75rem 1rem; border: 2px solid var(--border);
  border-radius: var(--r); font-size: .95rem; background: #fff;
  transition: border-color .2s; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--br7); }
textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* -- Alerts -------------------------------------------------------- */
.alert { padding: .9rem 1.2rem; border-radius: var(--r); font-size: .9rem; margin-bottom: 1rem; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.alert-info    { background: #eff6ff; border: 1px solid #93c5fd; color: #1e3a8a; }
.alert-warning { background: #fffbeb; border: 1px solid #fcd34d; color: #92400e; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav);
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  height: 100%; display: flex; align-items: center; gap: 2rem;
  overflow: hidden; min-width: 0;
}
.nav-logo { font-family: var(--fh); font-size: 1.35rem; font-weight: 700; color: var(--br9); flex-shrink: 0; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: .2rem; margin-right: auto; }
.nav-links a { padding: .4rem .85rem; border-radius: 8px; font-size: .87rem; font-weight: 500; color: var(--muted); transition: all .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--cream); color: var(--br9); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-cart-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--cream); border: none; font-size: 1rem; color: var(--br9); text-decoration: none; }
.nav-cart-btn:hover { background: var(--border); }
.cart-badge { position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; background: var(--gold); color: #fff; font-size: .62rem; font-weight: 700; border-radius: 50%; display: none; align-items: center; justify-content: center; }
.cart-badge.show { display: flex; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; width: 38px; height: 38px; background: none; border: none; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--br9); border-radius: 2px; transition: all .3s; }

/* Mobile nav */
.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1001; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-overlay.show { opacity: 1; pointer-events: all; }
.mobile-nav { position: fixed; top: 0; left: -100%; width: min(300px,80vw); height: 100vh; background: #fff; z-index: 1002; overflow-y: auto; transition: left .3s; box-shadow: 4px 0 20px rgba(0,0,0,.1); padding-bottom: 2rem; }
.mobile-nav.open { left: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.mobile-nav-logo { font-family: var(--fh); font-weight: 700; font-size: 1.2rem; color: var(--br9); }
.mobile-nav-logo span { color: var(--gold); }
.mobile-nav-close { background: var(--cream); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.mobile-nav a { display: block; padding: .875rem 1.5rem; border-bottom: 1px solid var(--cream); font-weight: 500; color: var(--muted); }
.mobile-nav a:hover { color: var(--br9); background: var(--cream); }
.mobile-nav .mobile-nav-btns { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: calc(100vh - var(--nav));
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--br9) 0%, var(--br7) 60%, var(--br6) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/misc/hero.jpg');
  background-size: cover; background-position: center; opacity: .22;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; padding: 4rem 1.5rem; margin: 0 auto; }
.hero-content .eyebrow { color: var(--gold-l); margin-bottom: .75rem; }
.hero-content h1 { color: #fff; font-size: clamp(2.4rem,5vw,3.8rem); margin-bottom: 1.25rem; }
.hero-content p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); flex-wrap: wrap; }
.hero-stat span:first-child { display: block; font-size: 1.8rem; font-weight: 700; color: #fff; font-family: var(--fh); }
.hero-stat span:last-child { font-size: .82rem; color: rgba(255,255,255,.65); }

/* ================================================================
   RECIPE CARD
   ================================================================ */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.recipe-card { background: #fff; border-radius: var(--rl); overflow: hidden; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.recipe-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.recipe-card-image { position: relative; height: 220px; overflow: hidden; background: var(--br1); flex-shrink: 0; }
.recipe-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-card:hover .recipe-card-image img { transform: scale(1.05); }
.recipe-card-badge { position: absolute; top: .75rem; right: .75rem; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .6rem; border-radius: 50px; }
.recipe-card-lock { position: absolute; bottom: .75rem; left: .75rem; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; padding: .25rem .65rem; border-radius: 50px; display: flex; align-items: center; gap: .3rem; }
.recipe-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.recipe-card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .3rem; display: block; }
.recipe-card-title { font-family: var(--fh); font-size: 1.05rem; font-weight: 600; margin-bottom: .45rem; color: var(--br9); }
.recipe-card-desc { font-size: .85rem; color: var(--muted); line-height: 1.55; margin-bottom: .75rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recipe-card-meta { display: flex; align-items: center; gap: .75rem; font-size: .78rem; color: var(--muted); flex-wrap: wrap; }
.recipe-card-meta span { display: flex; align-items: center; gap: .25rem; }
.recipe-card-footer { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; border-top: 1px solid var(--border); }
.rating { color: var(--gold); font-size: .85rem; font-weight: 600; }

/* ================================================================
   PRODUCT CARD
   ================================================================ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1.5rem; }
.product-card { background: #fff; border-radius: var(--rl); overflow: hidden; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.product-card-image { position: relative; height: 220px; overflow: hidden; background: var(--cream); }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-card-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: .75rem; left: .75rem; background: var(--br9); color: #fff; font-size: .7rem; font-weight: 700; padding: .2rem .65rem; border-radius: 50px; }
.product-card-body { padding: 1.25rem; }
.product-card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .35rem; display: block; }
.product-card-name { font-weight: 600; font-size: .98rem; margin-bottom: .4rem; color: var(--br9); }
.product-card-desc { font-size: .83rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: .75rem; }
.product-price-row { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; flex-wrap: wrap; }
.product-price { font-size: 1.15rem; font-weight: 700; color: var(--br9); }
.product-price-orig { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.product-save { font-size: .75rem; font-weight: 600; color: var(--green); }
.product-stars { display: flex; align-items: center; gap: .35rem; margin-bottom: .5rem; }
.product-stars .stars { color: var(--gold); font-size: .85rem; }
.product-stars .revs { font-size: .78rem; color: var(--muted); }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.how-step { text-align: center; padding: 2rem 1.5rem; }
.how-step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: #fff; font-family: var(--fh); font-size: 1.4rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
.how-step h3 { margin-bottom: .5rem; }

/* Subscribe banner */
.sub-banner { background: linear-gradient(135deg, var(--br9), var(--br7)); border-radius: var(--rl); padding: 3rem 2rem; text-align: center; }
.sub-banner h2 { color: #fff; margin-bottom: .75rem; }
.sub-banner p { color: rgba(255,255,255,.8); margin-bottom: 1.75rem; }
.sub-banner .btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testi-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); }
.testi-stars { color: var(--gold); font-size: .9rem; margin-bottom: .75rem; }
.testi-text { font-style: italic; color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1rem; }
.testi-author { font-weight: 600; font-size: .85rem; color: var(--br7); }

/* Category pills/grid */
.cat-pill-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.cat-pill { padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 600; border: 2px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; text-decoration: none; }
.cat-pill:hover, .cat-pill.active { border-color: var(--br9); background: var(--br9); color: #fff; }
.filter-btn { padding: .4rem 1rem; border-radius: 50px; font-size: .82rem; font-weight: 600; border: 2px solid var(--border); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter-btn:hover, .filter-btn.active { border-color: var(--br9); background: var(--br9); color: #fff; }
.search-box { position: relative; flex: 1; max-width: 320px; }
.search-box input { padding-left: 2.5rem; }
.search-box-icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.filters-bar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; align-items: center; }

/* ================================================================
   RECIPE DETAIL
   ================================================================ */
.recipe-hero { position: relative; height: 420px; overflow: hidden; }
.recipe-hero img { width: 100%; height: 100%; object-fit: cover; }
.recipe-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.25) 60%, transparent 100%); }
.recipe-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem; max-width: 1200px; margin: 0 auto; color: #fff; }
.recipe-hero-content h1 { color: #fff; font-size: clamp(1.8rem,3vw,2.8rem); }
.recipe-meta-bar { display: flex; gap: 1.5rem; margin-top: .75rem; flex-wrap: wrap; }
.recipe-meta-item { display: flex; align-items: center; gap: .4rem; font-size: .88rem; opacity: .9; }
.breadcrumb { padding: 1rem 0; font-size: .82rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--br7); }
.breadcrumb span { margin: 0 .4rem; }
.preview-notice { background: linear-gradient(135deg,#fffbeb,#fff9f0); border: 1px solid #f59e0b; border-radius: var(--r); padding: .875rem 1.25rem; margin: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.preview-notice p { color: #92400e; margin: 0; font-size: .9rem; }
.recipe-body { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; padding: 2rem 0; align-items: start; }
.recipe-ingredients { background: #fff; border-radius: var(--rl); padding: 2rem; box-shadow: var(--sh); position: sticky; top: calc(var(--nav) + 1rem); }
.recipe-ingredients h3 { margin-bottom: 1.25rem; border-bottom: 2px solid var(--border); padding-bottom: .75rem; }
.ingredient-list li { padding: .5rem 0; border-bottom: 1px solid var(--cream-d); font-size: .9rem; display: flex; align-items: flex-start; gap: .5rem; }
.ingredient-list li::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: .45em; flex-shrink: 0; }
.recipe-steps h3 { margin-bottom: 1.5rem; }
.step-item { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--br9); color: #fff; font-weight: 700; font-size: .9rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content { padding-top: .3rem; font-size: .95rem; color: var(--muted); line-height: 1.7; }
.step-item.locked { filter: blur(3px); user-select: none; pointer-events: none; }
.lock-gate { background: #fff; border: 2px solid var(--border); border-radius: var(--rl); padding: 2.5rem; text-align: center; margin: 1rem 0 2rem; }
.lock-gate h4 { margin-bottom: .5rem; font-size: 1.1rem; font-family: var(--fh); }
.lock-gate p { margin-bottom: 1.25rem; font-size: .9rem; }

/* ================================================================
   STORE PAGE
   ================================================================ */
.store-hero { background: var(--br9); padding: 4rem 0 3rem; color: #fff; text-align: center; }
.store-hero h1 { color: #fff; }
.store-hero p { color: rgba(255,255,255,.75); margin-top: .5rem; }
.trust-bar { background: var(--cream-d); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; gap: 2rem; align-items: center; justify-content: center; padding: 1rem 0; flex-wrap: wrap; }
.trust-item { font-size: .83rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }

/* ================================================================
   PRODUCT DETAIL
   ================================================================ */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding: 3rem 0; }
.product-detail-images { position: sticky; top: calc(var(--nav) + 1rem); }
.product-main-image { height: 420px; border-radius: var(--rl); overflow: hidden; }
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-cat { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: .5rem; display: block; }
.product-detail-name { font-size: 1.75rem; font-family: var(--fh); margin-bottom: .75rem; }
.product-detail-rating { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; font-size: .88rem; }
.product-detail-price { font-size: 2rem; font-weight: 700; color: var(--br9); font-family: var(--fh); }
.product-detail-orig { font-size: 1rem; text-decoration: line-through; color: var(--muted); margin-left: .5rem; }
.product-detail-save { font-size: .85rem; color: var(--green); font-weight: 600; margin-left: .5rem; }
.product-detail-desc { color: var(--muted); line-height: 1.75; margin: 1.25rem 0; }
.product-features { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.product-features li { padding: .4rem 0; font-size: .9rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--cream-d); }
.product-features li::before { content: 'checkmark'; color: var(--green); font-weight: 700; }
.product-actions { display: flex; flex-direction: column; gap: .75rem; }
.shipping-info { background: var(--cream); border-radius: var(--r); padding: 1rem 1.25rem; margin-top: 1.25rem; }
.shipping-info-item { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); padding: .25rem 0; }

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-section { min-height: 60vh; padding: 2rem 0 4rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-empty-state { text-align: center; padding: 5rem 2rem; }
.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-item-row { background: #fff; border-radius: var(--rl); padding: 1.25rem; margin-bottom: .875rem; display: flex; gap: 1rem; align-items: center; box-shadow: var(--sh); }
.cart-item-img { width: 90px; height: 75px; border-radius: var(--r); overflow: hidden; flex-shrink: 0; background: var(--cream); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; color: var(--br9); }
.cart-item-unit { font-size: .82rem; color: var(--muted); }
.cart-item-controls { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.qty-row { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.qty-row button { width: 30px; height: 30px; border: none; background: var(--cream); font-size: 1.1rem; font-weight: 600; }
.qty-row button:hover { background: var(--border); }
.qty-row span { width: 36px; text-align: center; font-size: .9rem; font-weight: 600; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 30px; }
.cart-item-price { font-weight: 700; font-size: .98rem; color: var(--br9); }
.cart-remove-btn { background: none; border: none; color: var(--red); font-size: .78rem; cursor: pointer; padding: .1rem .3rem; }
.cart-remove-btn:hover { text-decoration: underline; }
.cart-summary-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); position: sticky; top: calc(var(--nav) + 1rem); }
.cart-summary-card h3 { margin-bottom: 1.25rem; }
.cart-sum-line { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.cart-sum-total { display: flex; justify-content: space-between; font-size: 1.15rem; font-weight: 700; padding: .75rem 0; border-top: 2px solid var(--br9); margin-top: .25rem; }

/* ================================================================
   CHECKOUT
   ================================================================ */
.checkout-wrap { max-width: 1000px; margin: 0 auto; padding: 3rem 1.5rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.checkout-card { background: #fff; border-radius: var(--rl); padding: 2rem; box-shadow: var(--sh); }
.checkout-card h2 { margin-bottom: 1.5rem; font-size: 1.2rem; }
.pay-card-visual { background: linear-gradient(135deg, var(--br9), var(--br7)); border-radius: 16px; padding: 1.5rem; color: #fff; margin-bottom: 1.5rem; min-height: 155px; position: relative; }
.pay-card-number { font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 1rem; font-family: monospace; }
.pay-card-footer { display: flex; gap: 2rem; font-size: .85rem; }
.pay-card-label { display: block; font-size: .6rem; opacity: .6; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .15rem; }
.pay-card-brand { position: absolute; top: 1.25rem; right: 1.25rem; font-weight: 700; font-size: .85rem; }
.order-summary-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); position: sticky; top: calc(var(--nav) + 1rem); }
.order-line { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid var(--border); }
.order-total { display: flex; justify-content: space-between; font-size: 1.1rem; font-weight: 700; padding: .75rem 0; border-top: 2px solid var(--br9); margin-top: .25rem; }
.order-guarantee { background: #f0fdf4; border-radius: var(--r); padding: .75rem 1rem; margin: 1rem 0; display: flex; gap: .5rem; font-size: .83rem; color: #166534; }

/* ================================================================
   AUTH PAGES
   ================================================================ */
.auth-wrap { min-height: calc(100vh - var(--nav)); display: grid; grid-template-columns: 1fr 1fr; }
.auth-form-side { display: flex; flex-direction: column; justify-content: center; padding: 3rem 4rem; max-width: 540px; width: 100%; }
.auth-visual-side { background: linear-gradient(135deg, var(--br9), var(--br7)); display: flex; flex-direction: column; justify-content: center; padding: 3rem; position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); overflow: hidden; }
.auth-visual-bg { position: absolute; inset: 0; background-image: url('../images/misc/auth_bg.jpg'); background-size: cover; background-position: center; opacity: .15; }
.auth-visual-content { position: relative; z-index: 1; }
.auth-logo-link { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: 2.5rem; color: #fff; }
.auth-logo-link span { color: var(--gold-l); }
.auth-heading { font-size: 1.9rem; margin-bottom: .4rem; }
.auth-subheading { color: var(--muted); margin-bottom: 2rem; font-size: .95rem; }
.auth-switch { text-align: center; margin-top: 1.5rem; font-size: .88rem; color: var(--muted); }
.auth-switch a { color: var(--br7); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: .8rem; color: var(--muted); }
.demo-box { background: var(--cream); border-radius: var(--r); padding: 1rem; text-align: center; margin-bottom: 1.25rem; }
.demo-box p { font-size: .85rem; margin: .15rem 0; color: var(--muted); }
.auth-visual-quote { color: rgba(255,255,255,.9); font-style: italic; font-size: 1.15rem; line-height: 1.7; margin-bottom: 1.5rem; font-family: var(--fh); }
.auth-visual-author { color: rgba(255,255,255,.6); font-size: .85rem; }
.auth-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .65rem; }
.auth-feature { display: flex; align-items: center; gap: .75rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.auth-feature-check { width: 22px; height: 22px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; color: #fff; flex-shrink: 0; }
.input-pw-wrap { position: relative; }
.input-pw-wrap input { padding-right: 3rem; }
.toggle-pw-btn { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: .95rem; cursor: pointer; opacity: .6; }

/* ================================================================
   SUBSCRIBE PAGE
   ================================================================ */
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: start; }
.plan-card { background: #fff; border-radius: var(--rl); padding: 2rem; border: 2px solid var(--border); position: relative; }
.plan-card.featured { border-color: var(--br9); box-shadow: 0 20px 60px rgba(26,13,0,.15); transform: translateY(-8px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 700; padding: .25rem 1rem; border-radius: 50px; white-space: nowrap; }
.plan-badge-popular { background: var(--br9); color: #fff; }
.plan-badge-value { background: var(--green); color: #fff; }
.plan-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.plan-name { font-size: 1.15rem; margin-bottom: .75rem; }
.plan-price-amount { font-size: 2.6rem; font-weight: 700; font-family: var(--fh); color: var(--br9); }
.plan-price-period { font-size: .9rem; color: var(--muted); }
.plan-save { font-size: .8rem; color: var(--gold); font-weight: 600; margin-top: .25rem; }
.plan-features-list { list-style: none; padding: 0; margin: 1.5rem 0; border-top: 1px solid var(--border); padding-top: 1rem; }
.plan-features-list li { padding: .4rem 0; font-size: .88rem; display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--cream-d); }
.plan-features-list li.yes::before { content: 'OK'; color: var(--green); font-weight: 700; font-size: .75rem; flex-shrink: 0; }
.plan-features-list li.no { color: var(--muted); }
.plan-features-list li.no::before { content: '--'; color: var(--border); flex-shrink: 0; font-size: .75rem; }

/* ================================================================
   ACCOUNT
   ================================================================ */
.account-hero { background: linear-gradient(135deg, var(--br9), var(--br8)); padding: 3rem 0; }
.account-hdr { display: flex; align-items: center; gap: 1.5rem; }
.account-avatar { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 1.75rem; font-weight: 700; font-family: var(--fh); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-hdr-info h1 { color: #fff; font-size: 1.75rem; margin-bottom: .2rem; }
.account-hdr-info p { color: rgba(255,255,255,.7); font-size: .9rem; margin: 0; }
.acc-badge { display: inline-block; padding: .2rem .75rem; border-radius: 50px; font-size: .78rem; font-weight: 700; margin-top: .35rem; }
.acc-badge-premium { background: var(--gold); color: #fff; }
.acc-badge-free { background: rgba(255,255,255,.2); color: rgba(255,255,255,.8); }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 3rem 0; }
.account-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); }
.account-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 2px solid var(--border); color: var(--br9); font-family: var(--fb); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-box { background: var(--cream); border-radius: var(--r); padding: 1rem; text-align: center; }
.stat-num { font-family: var(--fh); font-size: 2rem; font-weight: 700; color: var(--br8); display: block; }
.stat-lbl { font-size: .78rem; color: var(--muted); }
.detail-row { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.detail-row:last-child { border-bottom: none; }
.detail-lbl { color: var(--muted); }
.quick-links { display: flex; flex-direction: column; gap: .4rem; }
.quick-link { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: var(--r); background: var(--cream); text-decoration: none; color: var(--text); font-size: .9rem; font-weight: 500; transition: background .2s; }
.quick-link:hover { background: var(--cream-d); }
.quick-link-arrow { margin-left: auto; opacity: .45; font-size: .8rem; }
.quick-link.danger { color: var(--red); }

/* ================================================================
   POLICY / LEGAL PAGES
   ================================================================ */
.policy-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 3rem; padding: 3rem 0; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--nav) + 1rem); background: var(--cream); border-radius: var(--r); padding: 1.25rem; }
.policy-nav h4 { margin-bottom: .75rem; font-size: .78rem; color: var(--muted); }
.policy-nav a { display: block; padding: .4rem .5rem; font-size: .85rem; color: var(--muted); border-radius: 6px; margin-bottom: .15rem; }
.policy-nav a:hover { background: #fff; color: var(--br7); }
.policy-body section { margin-bottom: 2.5rem; scroll-margin-top: calc(var(--nav) + 1rem); }
.policy-body h2 { font-size: 1.3rem; margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.policy-body h3 { font-size: .98rem; margin: 1rem 0 .4rem; color: var(--br9); }
.policy-body p, .policy-body li { font-size: .93rem; line-height: 1.8; }
.policy-body ul, .policy-body ol { padding-left: 1.5rem; margin: .5rem 0; }
.policy-body li { margin-bottom: .35rem; }

/* ================================================================
   CONTACT / ABOUT / BLOG / FAQ
   ================================================================ */
.page-hero { background: linear-gradient(135deg, var(--br9), var(--br7)); padding: 5rem 0 4rem; color: #fff; text-align: center; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.75); margin-top: .75rem; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 3rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; background: var(--cream); border-radius: var(--r); padding: 1.25rem; }
.contact-card-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-card strong { display: block; font-size: .88rem; margin-bottom: .2rem; color: var(--br9); }
.contact-card p { font-size: .85rem; margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: .5rem; }
.value-card p { font-size: .88rem; margin: 0; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.team-card { background: var(--cream); border-radius: var(--rl); padding: 1.5rem; text-align: center; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1.25rem; margin: 0 auto 1rem; }
.team-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.team-role { font-size: .8rem; color: var(--gold); font-weight: 600; display: block; margin-bottom: .4rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.blog-card { background: #fff; border-radius: var(--rl); overflow: hidden; box-shadow: var(--sh); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shl); }
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 1.25rem; }
.blog-card-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); display: block; margin-bottom: .35rem; }
.blog-card-title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; color: var(--br9); }
.blog-card-excerpt { font-size: .85rem; color: var(--muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-top: .75rem; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: .5rem; overflow: hidden; background: #fff; }
.faq-item summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.25rem; color: var(--gold); }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { padding: 0 1.25rem 1.25rem; color: var(--muted); font-size: .93rem; line-height: 1.75; margin: 0; }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.job-card { background: #fff; border-radius: var(--rl); padding: 1.75rem; box-shadow: var(--sh); }
.job-type { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); display: block; margin-bottom: .35rem; }
.job-card h3 { margin-bottom: .4rem; }
.job-card p { font-size: .88rem; margin-bottom: 1rem; }
.job-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.job-tag { background: var(--cream); padding: .2rem .65rem; border-radius: 50px; font-size: .75rem; color: var(--muted); }
.sitemap-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; padding: 3rem 0; }
.sitemap-col h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; color: var(--br7); border-bottom: 2px solid var(--border); padding-bottom: .5rem; }
.sitemap-col ul { display: flex; flex-direction: column; gap: .4rem; }
.sitemap-col a { font-size: .88rem; color: var(--muted); }
.sitemap-col a:hover { color: var(--br7); text-decoration: underline; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--br9); color: rgba(255,255,255,.75); padding: 4rem 0 0; margin-top: 5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { font-family: var(--fh); font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: .75rem; display: block; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: .85rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-addr { font-size: .82rem; line-height: 1.7; }
.footer-addr a { color: var(--gold-l); }
.footer h4 { color: rgba(255,255,255,.95); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-family: var(--fb); }
.footer ul { display: flex; flex-direction: column; gap: .4rem; }
.footer ul a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer ul a:hover { color: rgba(255,255,255,.95); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.footer-bottom p { font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-bottom-links a:hover { color: #fff; }

/* Cookie notice - shows only once */
.cookie-notice {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; max-width: 700px;
  background: var(--br9); color: rgba(255,255,255,.85); border-radius: var(--rl);
  padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  z-index: 9000; box-shadow: 0 8px 40px rgba(0,0,0,.35);
  transition: transform .4s, opacity .4s;
}
.cookie-notice.hidden { transform: translateY(200%); opacity: 0; pointer-events: none; }
.cookie-notice p { font-size: .87rem; margin: 0; flex: 1; }
.cookie-notice a { color: var(--gold-l); text-decoration: underline; }
.cookie-btns { display: flex; gap: .5rem; }

/* Cart toast */
.cart-toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--br9); color: #fff; padding: .75rem 1.25rem;
  border-radius: 50px; font-size: .88rem; font-weight: 500;
  box-shadow: 0 4px 20px rgba(0,0,0,.2); z-index: 9999;
  transform: translateY(150%); transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.cart-toast.show { transform: translateY(0); }

/* Pagination */
.pagination { display: flex; gap: .5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: .5rem .875rem; border-radius: var(--r); font-size: .88rem; font-weight: 600; border: 2px solid var(--border); background: #fff; color: var(--muted); transition: all .2s; text-decoration: none; }
.pagination a:hover { border-color: var(--br9); color: var(--br9); }
.pagination .current { background: var(--br9); border-color: var(--br9); color: #fff; }

/* Utilities */
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.bg-cream{background:var(--cream)}.bg-white{background:#fff}

/* ================================================================
   RESPONSIVE
   ================================================================ */
/* Old MQ removed - see comprehensive responsive section below */

/* =============================================================
   RESPONSIVE OVERHAUL - Full mobile/tablet/desktop support
   ============================================================= */

/* -- Global mobile-safe base ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img  { max-width: 100%; height: auto; }

/* -- Container fluid on small screens ------------------------- */
.container, .container-sm {
  width: 100%;
  padding-left:  clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

/* -- Category grid (homepage) ---------------------------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

/* -- Nav: never overflow --------------------------------------- */
/* nav-inner overflow already set in base - see above */
.nav-logo { white-space: nowrap; flex-shrink: 0; }
.nav-actions { flex-shrink: 0; display: flex; align-items: center; gap: .5rem; }
.nav-actions .btn { white-space: nowrap; }

/* -- Hero section ---------------------------------------------- */
.hero { min-height: min(600px, 80vh); }
.hero-content { padding: clamp(2rem,6vw,5rem) clamp(1rem,4vw,2rem); }
.hero h1 { font-size: clamp(1.6rem, 5vw, 3.5rem); }

/* -- Section spacing ------------------------------------------- */
.section    { padding: clamp(2.5rem,6vw,5rem) 0; }
.section-sm { padding: clamp(1.5rem,4vw,3rem) 0; }

/* -- Recipe / product cards min-width safety ------------------- */
.recipe-grid  { grid-template-columns: repeat(auto-fill, minmax(min(280px,100%), 1fr)); }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(min(240px,100%), 1fr)); }

/* -- Cart items row ------------------------------------------- */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: nowrap;
  min-width: 0;
}
.cart-item-info  { flex: 1; min-width: 0; overflow: hidden; }
.cart-item-name  { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-item-controls { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }

/* -- Pay card ------------------------------------------------- */
.pay-card-visual { max-width: 100%; overflow: hidden; }

/* -- Policy nav (sidebar) ------------------------------------- */
.policy-nav { word-break: break-word; }
.policy-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.policy-table th, .policy-table td {
  border: 1px solid var(--border);
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

/* -- Footer bottom links -------------------------------------- */
.footer-bottom { flex-wrap: wrap; gap: .5rem; }
.footer-links  { display: flex; flex-wrap: wrap; gap: .5rem .75rem; }

/* =============================================================
   BREAKPOINT: Tablet   1024px
   ============================================================= */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary-card { position: static; }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: none; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-detail-images { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
  .auth-visual-side { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-form-side { max-width: 480px; margin: 0 auto; padding: 2.5rem 1.5rem; }
  .account-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .recipe-body { grid-template-columns: 1fr; }
  .recipe-ingredients { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   BREAKPOINT: Mobile   768px
   ============================================================= */
@media (max-width: 768px) {
  /* Nav */
  .nav-inner { padding: 0 1rem; gap: .5rem; }
  .nav-actions .btn-outline { display: none; } /* hide My Account text btn, keep cart */
  .nav-actions { gap: .375rem; }
  .nav-cart-btn { width: 34px; height: 34px; }

  /* Hero */
  .hero { min-height: min(480px, 70vh); }
  .hero-content { padding: 2rem 1rem; }
  .hero h1 { font-size: clamp(1.4rem, 6vw, 2rem); line-height: 1.2; }
  .hero-stats { gap: 1rem; margin-top: 2rem; }
  .hero-stat span:first-child { font-size: 1.4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .625rem; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Category grid */
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .625rem; }
  .cat-grid > a { padding: .875rem .5rem; }
  .cat-grid > a > div:first-child { height: 60px; }

  /* Section */
  .section    { padding: 2rem 0; }
  .section-sm { padding: 1.25rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: clamp(1.3rem, 5vw, 2rem); }

  /* Grids  1 column */
  .how-grid, .testi-grid, .values-grid, .blog-grid,
  .careers-grid, .contact-grid { grid-template-columns: 1fr; }

  /* Recipe body */
  .recipe-body { grid-template-columns: 1fr; }
  .recipe-ingredients { position: static; }
  .recipe-hero { height: 280px; }

  /* Product detail */
  .product-detail-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-main-image { height: 280px; }

  /* Cart */
  .cart-item-row { gap: .5rem; }
  .cart-item-img { width: 64px; height: 56px; }

  /* Checkout */
  .checkout-wrap { padding: 1rem; }
  .checkout-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Auth */
  .auth-form-side { padding: 2rem 1rem; }

  /* Plans */
  .plans-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .plan-card.featured { transform: none; }

  /* Policy */
  .policy-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .policy-nav  { position: static; }
  .policy-table { font-size: .78rem; }
  .policy-table th, .policy-table td { padding: .4rem .5rem; }

  /* Account */
  .account-grid { grid-template-columns: 1fr; }
  .stat-grid    { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-links { justify-content: center; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* Sitemap */
  .sitemap-grid { grid-template-columns: 1fr 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Cookie notice */
  .cookie-notice { left: .75rem; right: .75rem; bottom: .75rem; }

  /* Sub banner */
  .sub-banner { margin: 0; border-radius: 0; }

  /* Team */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Trust bar */
  .trust-items { gap: 1rem; flex-wrap: wrap; }

  /* Preview notice on recipe */
  .preview-notice { flex-direction: column; align-items: flex-start; }
}

/* =============================================================
   BREAKPOINT: Small mobile   480px
   ============================================================= */
@media (max-width: 480px) {
  /* Nav: keep logo + cart + hamburger, hide everything else */
  .nav-inner { padding: 0 .875rem; }
  .nav-actions .btn-sm { padding: .35rem .7rem; font-size: .78rem; }

  /* Category: 2 columns on very small screens */
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .cat-grid > a { padding: .75rem .4rem; border-radius: 10px; }
  .cat-grid > a > div:first-child { height: 50px; }
  .cat-grid .cat-label { font-size: .75rem; }

  /* Hero */
  .hero-content { padding: 1.5rem .875rem; }
  .hero h1 { font-size: 1.35rem; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.5rem; }
  .hero-stat span:first-child { font-size: 1.25rem; }
  .hero-actions .btn { max-width: 100%; }

  /* Recipe / product cards: full width */
  .recipe-grid  { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }

  /* Cart */
  .cart-item-row { flex-wrap: wrap; }
  .cart-item-img { width: 54px; height: 48px; }
  .cart-item-controls { flex-direction: row; width: 100%; justify-content: space-between; }

  /* Plans stacked */
  .plans-grid { grid-template-columns: 1fr; }

  /* Sitemap: 1 column */
  .sitemap-grid { grid-template-columns: 1fr; }

  /* Team: 2 col */
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Account stat grid: 2 col */
  .stat-grid { grid-template-columns: 1fr 1fr; }

  /* Blog 1 col */
  .blog-grid { grid-template-columns: 1fr; }

  /* Headings */
  h1 { font-size: clamp(1.25rem, 6vw, 1.75rem); }
  h2 { font-size: clamp(1.1rem, 5vw, 1.5rem); }

  /* Buttons */
  .btn-lg { padding: .75rem 1.25rem; font-size: .95rem; }
  .sub-banner .btns { flex-direction: column; align-items: center; }
  .sub-banner .btns .btn { width: 100%; max-width: 280px; }

  /* Order summary */
  .order-line, .order-total { font-size: .88rem; }
}

/* =============================================================
   BREAKPOINT: Extra small   360px
   ============================================================= */
@media (max-width: 360px) {
  .nav-inner { padding: 0 .625rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .375rem; }
  .hero h1 { font-size: 1.2rem; }
  .container { padding-left: .75rem; padding-right: .75rem; }
}
