/* Cooking Drawer — brand stylesheet
   Palette: cream #FFF8F0 · warm sand #F3E2D3 · terracotta #C96F4A ·
   warm olive #7D8471 · charcoal #33302B */

:root{
  --blush:#F3E2D3;
  --cream:#FFF8F0;
  --rose:#7D8471;
  --rose-dark:#5F6656;
  --plum:#33302B;
  --terra:#C96F4A;
  --terra-dark:#A8562F;
  --card:#FFFFFF;
  --line:#EBD9C8;
  --soft:#FBF1E4;
}

*{box-sizing:border-box;margin:0;padding:0}

html{scroll-behavior:smooth}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  background:var(--cream);
  color:var(--plum);
  line-height:1.65;
  font-size:17px;
}

h1,h2,h3,.wordmark{
  font-family:"Playfair Display",Georgia,"Times New Roman",serif;
  line-height:1.25;
  color:var(--plum);
}

a{color:var(--terra-dark)}
a:hover{color:var(--terra)}

img{max-width:100%;display:block}

.wrap{max-width:1100px;margin:0 auto;padding:0 20px}

/* ---------- Header ---------- */
header.site{
  background:var(--cream);
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:50;
}
.header-inner{
  display:flex;align-items:center;gap:14px;
  max-width:1100px;margin:0 auto;padding:10px 20px;
}
.logo-badge{
  width:46px;height:46px;border-radius:50%;
  object-fit:cover;border:2px solid var(--blush);
  flex:0 0 auto;
}
.wordmark{font-size:1.45rem;font-weight:700;letter-spacing:.2px;text-decoration:none;color:var(--plum);white-space:nowrap}
.wordmark span{color:var(--terra)}
.tagline-small{display:block;font-family:inherit;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--rose-dark)}
nav.main{margin-left:auto}
nav.main ul{list-style:none;display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}
nav.main a{
  text-decoration:none;color:var(--plum);font-size:.92rem;font-weight:600;padding:4px 2px;
}
nav.main a:hover{color:var(--terra)}
nav.main a.active{color:var(--terra);border-bottom:2px solid var(--terra)}
.nav-toggle{
  display:none;margin-left:auto;background:var(--blush);border:1px solid var(--line);
  border-radius:8px;padding:8px 12px;font-size:1rem;cursor:pointer;color:var(--plum);
}

/* ---------- Disclosure strip ---------- */
.disclosure-strip{
  background:var(--blush);
  color:var(--plum);
  font-size:.85rem;text-align:center;
  padding:8px 16px;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;background:var(--blush);
  border-bottom:1px solid var(--line);
}
.hero img.hero-img{width:100%;height:340px;object-fit:cover;opacity:.92}
.hero-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;
  max-width:1100px;margin:0 auto;padding:0 20px;
}
.hero-card{
  background:rgba(255,248,240,.9);
  padding:26px 30px;border-radius:18px;max-width:560px;
  box-shadow:0 6px 24px rgba(51,48,43,.12);
}
.hero-card h1{font-size:2.4rem;margin-bottom:6px}
.hero-card .tagline{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-size:1.25rem;color:var(--terra-dark);margin-bottom:10px}
.hero-card p{font-size:1rem}

/* ---------- Page hero (guide & premium pages) ---------- */
.page-hero{
  margin:-36px -20px 30px;
  border-radius:0 0 20px 20px;overflow:hidden;
  border-bottom:1px solid var(--line);
  background:var(--blush);
}
.page-hero img{width:100%;height:300px;object-fit:cover}

/* ---------- Sections ---------- */
main{padding:36px 0 8px}
section{margin-bottom:54px}
h1.page-title{font-size:2.1rem;margin-bottom:10px}
h2{font-size:1.55rem;margin:0 0 14px}
h3{font-size:1.15rem;margin-bottom:6px}
p.lede{font-size:1.08rem;max-width:760px;margin-bottom:18px}
p{margin-bottom:14px;max-width:820px}
ul.tight,ol.tight{margin:0 0 16px 22px;max-width:800px}
ul.tight li,ol.tight li{margin-bottom:7px}

.steps{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:10px}
.step-box{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:22px 24px;box-shadow:0 2px 10px rgba(51,48,43,.05)}
.step-box h3{color:var(--terra-dark)}
.step-box ol{margin-left:20px}
.step-box ol li{margin-bottom:6px}

/* ---------- Cards ---------- */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.grid-wide{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:22px}

.cat-card{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:0 0 22px;text-decoration:none;color:var(--plum);display:block;overflow:hidden;
  box-shadow:0 2px 10px rgba(51,48,43,.05);
  transition:transform .18s ease, box-shadow .18s ease;
}
.cat-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(51,48,43,.12);color:var(--plum)}
.cat-thumb{width:100%;height:150px;object-fit:cover;margin-bottom:16px}
.cat-card h3{color:var(--terra-dark);margin:0 22px 8px}
.cat-card p{font-size:.95rem;margin:0 22px}

.product-card{
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:20px;display:flex;flex-direction:column;gap:6px;overflow:hidden;
  box-shadow:0 2px 10px rgba(51,48,43,.05);
  transition:transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(51,48,43,.12)}
.product-photo{
  margin:-20px -20px 14px;height:220px;
  background:linear-gradient(160deg,var(--blush),var(--soft));
  border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
}
.product-photo img{width:100%;height:100%;object-fit:contain;padding:16px}
.product-card .brand{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--rose-dark);font-weight:700}
.product-card h3{font-size:1.08rem;margin:0}
.product-card .benefit{font-size:.95rem;color:#6E6259;flex:1}
.product-card .price{font-weight:700;font-size:1.05rem}
.product-card .rating{font-size:.88rem;color:#6E6259}
.price-note{font-size:.8rem;color:#97826F}
.btn{
  display:inline-block;background:var(--terra);color:#fff !important;text-decoration:none;
  padding:11px 18px;border-radius:999px;font-weight:700;font-size:.95rem;text-align:center;
  margin-top:8px;
}
.btn:hover{background:var(--terra-dark)}
.btn-ghost{
  display:inline-block;background:transparent;color:var(--terra-dark) !important;
  border:2px solid var(--terra);text-decoration:none;padding:10px 18px;border-radius:999px;
  font-weight:700;font-size:.95rem;text-align:center;margin-top:8px;
}
.find-note{
  display:inline-block;margin-top:8px;padding:10px 16px;border:1px dashed var(--rose);
  border-radius:8px;font-size:.92rem;color:#6E6259;text-align:center;background:var(--soft);
}

.callout{
  background:var(--soft);border-left:4px solid var(--terra);
  border-radius:0 16px 16px 0;padding:18px 22px;margin-bottom:20px;max-width:860px;
}
.callout p{margin:0}

.teaser{
  background:var(--plum);color:var(--cream);border-radius:18px;padding:28px 30px;
  display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;
}
.teaser h2{color:#fff;margin:0 0 6px}
.teaser p{color:var(--blush);margin:0;max-width:640px}
.teaser .btn{background:var(--terra)}

/* ---------- Footer ---------- */
footer.site{
  background:var(--blush);border-top:1px solid var(--line);
  margin-top:48px;padding:34px 0 26px;font-size:.92rem;
}
footer.site .cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:26px;margin-bottom:20px}
footer.site h3{font-size:1.05rem;margin-bottom:8px}
footer.site ul{list-style:none}
footer.site ul li{margin-bottom:5px}
footer.site a{text-decoration:none}
footer.site a:hover{text-decoration:underline}
.footer-disclosure{border-top:1px solid var(--line);padding-top:16px;color:#6E6259;font-size:.85rem}
.footer-disclosure p{max-width:none;margin-bottom:8px}
.copyright{margin-top:10px;font-size:.85rem;color:#6E6259}

/* ---------- Responsive ---------- */
@media (max-width:820px){
  .steps{grid-template-columns:1fr}
  footer.site .cols{grid-template-columns:1fr}
  .hero img.hero-img{height:260px}
  .page-hero img{height:200px}
  .product-photo{height:200px}
  .cat-thumb{height:130px}
  .hero-card h1{font-size:1.8rem}
  .nav-toggle{display:block}
  nav.main{display:none;width:100%}
  nav.main.open{display:block}
  nav.main ul{flex-direction:column;gap:2px;padding:10px 0}
  .header-inner{flex-wrap:wrap}
}

/* ---------- Mobile optimization pass ----------
   Mobile-first fixes: no horizontal scroll, hero stacks image-over-text,
   44px tap targets, explicit product-grid breakpoints.
   (Fixed heights on .hero-img / .page-hero img / .product-photo already
   reserve layout space; width/height attributes in the HTML reinforce it.) */

html,body{overflow-x:clip}

/* Tap targets: primary buttons and menu controls at least 44px tall */
.btn,.btn-ghost{
  min-height:44px;
  display:inline-flex;align-items:center;justify-content:center;
}
.find-note{
  min-height:44px;
  display:inline-flex;align-items:center;justify-content:center;
}
.nav-toggle{min-width:44px;min-height:44px}
nav.main a{padding-top:10px;padding-bottom:10px}

/* Product / category grids: 2 columns on tablets & large phones */
@media (min-width:481px) and (max-width:900px){
  .grid,.grid-wide{grid-template-columns:repeat(2,1fr)}
}

/* Single column on small phones */
@media (max-width:480px){
  .grid,.grid-wide{grid-template-columns:1fr}
}

/* Hero stacking on phones & small tablets:
   image full-width on top, headline card BELOW it on the cream
   background instead of an absolutely-positioned overlay. */
@media (max-width:820px){
  .hero-overlay{position:static !important;padding:0 !important;display:block}
  .hero-card{
    max-width:none;border-radius:0;box-shadow:none;
    background:var(--cream);padding:22px 20px 26px;
  }
  .hero img.hero-img{height:220px}
  nav.main a{display:block;padding:12px 8px}
}
