:root{
  /* Brand palette from the logo: strong forest green, warm cookie beige, balanced cream */
  --cream: #F6EFE2;
  --bg: #F5EFE7;
  --panel: #F2E7D3;
  --panel2: #ECE0CB;
  --forest: #1F4A2F;
  --forest-2: #264E34;
  --text: #162F1F;
  --muted: rgba(22,47,27,.72);
  --muted2: rgba(22,47,27,.45);
  --border: rgba(22,47,27,.12);
  --gold: #C69A60;
  --gold-rgba: 198,154,96;
  --shadow: 0 18px 60px rgba(0,0,0,.06);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.04);
  --brand: var(--forest);
  --brand2: var(--forest-2);
  --radius:18px;
  --radius2:24px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  /* space for fixed navbar (responsive) */
  padding-top: calc(var(--topbar-h, 72px) + env(safe-area-inset-top));

  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
  background: var(--bg);
  color:var(--text);
}


img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.skip-link{
  position:absolute;left:-999px;top:10px;
  background:#fff;color:#000;padding:10px 14px;border-radius:10px;z-index:999;
}
.skip-link:focus{left:10px}

.wrap{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Topbar */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  background: var(--bg);
  border-bottom:1px solid rgba(22,47,27,.14);
}

:root{--topbar-h:72px}

.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}

.brand{
  display:flex;
  align-items:center; /* خلي اللوجو جنب الاسم في نفس السطر */
  gap:12px;
  min-height:40px;
}
.brand-mark{
  width:48px;
  height:48px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  flex:0 0 auto;
  background: var(--cream);
  border:1px solid rgba(21,63,41,.12);
  color:var(--brand);
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
}
.brand-logo{height:56px; display:block}
.brand-mark{font-size:18px}
.brand-mark{filter:saturate(1.15)}
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  padding-top:1px;
}
.brand-name{
  font-family:Fraunces,serif;
  font-weight:650;
  letter-spacing:.2px;
  color:var(--brand);
  font-size:2rem;
}
.brand-tag{color:var(--muted);font-size:12px;margin-top:4px}
.nav{display:flex;gap:18px;align-items:center}
.nav a{
  position:relative;
  padding:10px 0;
  color:var(--forest);
  font-weight:600;
}
.nav a::after{
  content:"";
  position:absolute;left:0;bottom:4px;
  height:2px;width:0;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  transition: width .25s ease;
}
.nav a:hover{color:var(--brand2)}
.nav a:hover::after{width:100%}

.topbar-actions{display:flex;align-items:center}
.cart-btn{
  border: none;
  background: var(--brand2);
  color: #ffffff;
  border-radius:14px;
  padding:10px 14px;
  cursor:pointer;
  display:inline-flex;align-items:center;gap:10px;
  box-shadow: 0 10px 30px rgba(22,47,27,.18);
}
.cart-badge{
  min-width:24px;
  height:20px;
  padding:0 7px;
  border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background: var(--brand);
  color:#ffffff;
  font-weight:800;
  font-size:12px;
}

/* Buttons */
.btn{
  border:none;
  border-radius:14px;
  padding:12px 16px;
  cursor:pointer;
  font-weight:700;
  letter-spacing:.1px;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:active{transform: translateY(1px)}
.btn-primary{
  background: var(--brand);
  color:#ffffff;
  box-shadow: 0 12px 30px rgba(21,63,41,.12);
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-ghost{
  background: rgba(31,79,44,.08);
  color:var(--forest);
  border:1px solid rgba(22,47,27,.16);
}
.btn-ghost:hover{background: rgba(31,79,44,.12)}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed}

.w-full{width:100%}

/* =========================
   Shared / typography
   ========================= */
h1,h2,h3,h4{margin:0}
p{margin:0}
.muted{color:var(--muted)}
.muted.small{font-size:12px}
.small-title{font-size:13px; letter-spacing:.2px; color:var(--muted); text-transform:uppercase}

.section{padding:62px 0}
.section-alt{background:rgba(31,79,44,.04); border-top:1px solid rgba(22,47,27,.06); border-bottom:1px solid rgba(22,47,27,.06)}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:22px}
.section-head h2{font-size:28px; font-weight:800; letter-spacing:.2px; color:var(--forest)}
.section-head .muted{max-width:520px; color:var(--muted)}

/* =========================
   Hero
   ========================= */
.hero{padding:42px 0 18px}
.hero-grid{display:grid; grid-template-columns: 1.12fr .88fr; gap:26px; align-items:center}
.hero-copy{padding:14px 0}
.pill{display:inline-flex; gap:10px; align-items:center; padding:9px 12px; border-radius:999px; border:1px solid rgba(22,47,27,.1); background:var(--brand); color:#ffffff; font-weight:650; font-size:13px; margin-bottom:14px}
.headline-accent{display:inline-block; color:var(--brand)}
.hero h1{font-size:44px; line-height:1.05; font-weight:900; letter-spacing:-.4px}
.lead{margin-top:14px; color:var(--muted); font-size:16px; line-height:1.7; max-width:560px}
.hero-cta{display:flex; gap:12px; margin-top:22px; flex-wrap:wrap}
.hero-feature-row{list-style:none; padding:0; margin:26px 0 0; display:grid; grid-template-columns: 1fr; gap:10px}
.hero-feature{display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:14px; border:1px solid rgba(22,47,27,.1); background:rgba(31,79,44,.08)}
.hero-feature-icon{width:34px; height:34px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:rgba(31,79,44,.16); border:1px solid rgba(22,47,27,.18)}
.hero-feature-title{display:block; font-weight:800}
.hero-feature-sub{display:block; color:var(--muted); font-size:12.5px; margin-top:2px}

.hero-visual{display:flex; justify-content:flex-end}
.cookie-hero-card{position:relative; width:min(420px, 100%); aspect-ratio: 1/1; border-radius:28px; overflow:hidden; background: linear-gradient(180deg, rgba(255,248,236,.8), rgba(255,255,255,.98)); border:1px solid rgba(22,47,27,.08); box-shadow: var(--shadow)}
.cookie-hero-glow{position:absolute; inset:-40% -40% auto -40%; height:60%; background: radial-gradient(circle at 40% 40%, rgba(var(--gold-rgba),.28), transparent 60%); filter: blur(14px)}
.cookie-art{position:absolute; inset:0; display:flex; align-items:center; justify-content:center}
.cookie-sheen{position:absolute; width:82%; height:82%; border-radius:50%; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 35%), radial-gradient(circle at 60% 70%, rgba(var(--gold-rgba),.18), transparent 45%); border:1px solid rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(var(--gold-rgba),.06)}
.cookie-label{position:absolute; top:16%; left:50%; transform:translateX(-50%); font-weight:900; font-size:12px; letter-spacing:.38em; color:rgba(21,63,41,.6)}
.cookie-mark{position:absolute; width:74px; height:74px; border-radius:24px; display:flex; align-items:center; justify-content:center; font-size:32px; background: rgba(255,248,236,.95); border:1px solid rgba(22,47,27,.12); box-shadow: 0 20px 50px rgba(0,0,0,.04)}
.cookie-badges{position:absolute; bottom:18px; left:18px; right:18px; display:flex; gap:10px; flex-wrap:wrap}
.badge{flex:1 1 180px; padding:10px 12px; border-radius:16px; background:rgba(255,246,227,.88); border:1px solid rgba(198,154,96,.25); color:var(--text); font-weight:700; font-size:13px}
.badge-accent{background:rgba(31,79,44,.08); border-color:rgba(31,79,44,.18); color:var(--text)}

/* =========================
   Best Sellers
   ========================= */
.best-wrap{display:flex; flex-direction:column; gap:26px}
.best-header{display:grid; grid-template-columns: 1fr; gap:22px}
.best-main-card{width:100%}
.main-card-wrapper{display:grid; grid-template-columns: 1fr 1fr; gap:18px; align-items:stretch; border-radius:24px; border:1px solid rgba(22,47,27,.1); background: linear-gradient(180deg, rgba(255,248,236,.8), rgba(255,246,227,.6)); box-shadow: var(--shadow-soft); overflow:hidden}
.main-card-img-holder{position:relative; padding:18px; min-height:80px; background: radial-gradient(circle at 30% 20%, rgba(198,154,96,.16), transparent 55%), rgba(255,248,236,.6)}

/* Featured image should perfectly match the left image panel */
.main-card-img-holder .custom-hover-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.custom-hover-img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:20px;
  filter:saturate(1.05) contrast(1.02);
  display:block;
}

/* Fix image sizing for featured + grid cards */
.main-card-img-holder .custom-hover-img{
  object-fit: cover;
  object-position: center;
}

.card-media .custom-hover-img{
  height: 160px;
  object-fit: cover;
  object-position: center;
}

.main-card-badge{position:absolute; top:26px; left:26px; padding:8px 10px; border-radius:999px; background: rgba(198,154,96,.18); border:1px solid rgba(198,154,96,.3); font-weight:900; font-size:12px; color:var(--forest)}
.main-card-info{padding:22px 18px; display:flex; flex-direction:column; justify-content:space-between}
.main-card-info h3{font-size:20px; font-weight:900; color:var(--text)}
.main-card-desc{margin-top:10px; color:var(--muted); line-height:1.6; font-size:14px}
.main-card-footer{display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:18px}
.main-card-price{font-weight:900; font-size:18px; color:var(--forest)}

.best-grid{margin-top:10px}
.best-cards-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px}
.cookie-card{border-radius:22px; border:1px solid rgba(22,47,27,.1); background:rgba(255,248,236,.6); overflow:hidden; box-shadow: 0 10px 30px rgba(0,0,0,.04); transition: transform .18s ease, border-color .18s ease, background .18s ease}
.cookie-card:hover{transform: translateY(-4px); border-color: rgba(198,154,96,.3); background:rgba(255,246,227,.8)}

/* =========================
   Hover interaction booster
   ========================= */

/* When user moves mouse over ANY interactive-looking element, show a smooth glow + motion.
   Keep it lightweight: only runs on hover/active states (no JS). */
.where-hoverable, :where(a,button,input,select,textarea,[role='button'],[role='link'],summary,.choice,.cookie-card,.step,.stepper-btn,.social-btn,.icon-btn,.cart-btn,.btn,.nav a)
{
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, filter .16s ease;
}

:where(a,button,input,select,textarea,[role='button'],[role='link'],summary,.choice,.cookie-card,.step,.stepper-btn,.social-btn,.icon-btn,.cart-btn,.btn,.nav a):hover{
  border-color: rgba(var(--gold-rgba),.35);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgba),.10), 0 18px 60px rgba(0,0,0,.06);
  transform: translateY(-2px);
}


:where(a,button,input,select,textarea,[role='button'],[role='link'],summary,.choice,.cookie-card,.step,.stepper-btn,.social-btn,.icon-btn,.cart-btn,.btn,.nav a):active{
  transform: translateY(0);
  filter: brightness(1.05);
}

/* For users that prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  :where(a,button,input,select,textarea,[role='button'],[role='link'],summary,.choice,.cookie-card,.step,.stepper-btn,.social-btn,.icon-btn,.cart-btn,.btn,.nav a){
    transition: none !important;
  }
  :where(a,button,input,select,textarea,[role='button'],[role='link'],summary,.choice,.cookie-card,.step,.stepper-btn,.social-btn,.icon-btn,.cart-btn,.btn,.nav a):hover{
    transform:none !important;
    box-shadow:none !important;
  }
}

.card-media{padding:14px 14px 0}
.card-media .custom-hover-img{border-radius:18px; height:160px; width:100%}
.card-meta-row{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px}
.card-prod-title{font-size:14.5px; font-weight:900}
.card-prod-price{font-weight:900; color:var(--text)}
.card-prod-desc{padding:0 14px 12px; font-size:13px; line-height:1.5}
.hover-trigger .custom-hover-img{transition: transform .25s ease, filter .25s ease}
.hover-trigger:hover .custom-hover-img{transform: scale(1.03); filter: saturate(1.15) contrast(1.05)}

/* =========================
   Builder
   ========================= */
.builder{padding:62px 0}
.builder-grid{display:grid; grid-template-columns: 1.25fr .75fr; gap:18px; align-items:start}
.panel{border-radius:26px; border:1px solid rgba(22,47,27,.1); background: linear-gradient(180deg, rgba(255,248,236,.8), rgba(255,246,227,.6)); box-shadow: var(--shadow-soft); padding:20px}
.panel-head h2{font-size:22px; font-weight:950; color:var(--text)}
.panel-head .muted{margin-top:8px; color:var(--muted)}

.builder-steps{display:flex; gap:10px; margin:16px 0 18px}
.wiz-step{flex:1; display:flex; gap:12px; align-items:center; padding:12px 12px; border-radius:16px; border:1px solid rgba(22,47,27,.1); background:rgba(255,248,236,.7); color:var(--text); font-weight:600}
.wiz-dot{width:34px; height:34px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-weight:950; background:rgba(255,248,236,.9); border:1px solid rgba(22,47,27,.12); color:var(--forest)}
.wiz-label{font-weight:850; color:var(--text)}
.wiz-step.active{border-color: rgba(198,154,96,.32); background: rgba(198,154,96,.12); color:var(--text)}
.wiz-step.active .wiz-dot{background: rgba(198,154,96,.2); border-color: rgba(198,154,96,.32); color:var(--forest)}

.alert{margin:12px 0 16px; padding:12px 14px; border-radius:16px; border:1px solid rgba(34,197,94,.25); background: rgba(34,197,94,.08)}

#builderForm{margin-top:8px}
.section-title{font-weight:900; margin:14px 0 10px; font-size:13px; text-transform:uppercase; letter-spacing:.24em; color:var(--forest)}
.qty-row{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 14px; border-radius:18px; border:1px solid rgba(22,47,27,.12); background:rgba(255,248,236,.6)}
.qty-label{font-weight:800; color:var(--text)}
.qty-row-controls{display:flex; align-items:center; gap:10px}
.stepper-btn{border:none; background: rgba(255,255,255,.8); border:1px solid rgba(22,47,27,.12); color:var(--forest); width:40px; height:40px; border-radius:14px; font-size:20px; cursor:pointer; font-weight:900; transition: transform .12s ease, background .2s ease, border-color .2s ease}
.stepper-btn:hover{background: rgba(31,79,44,.1); border-color: rgba(22,47,27,.2)}
.stepper-btn:active{transform: translateY(1px)}
#qty{width:78px; height:40px; border-radius:14px; border:1px solid rgba(22,47,27,.1); background: rgba(255,248,236,.7); color:var(--text); text-align:center; font-weight:900; outline:none}
#qty:focus{border-color: rgba(31,79,44,.3); box-shadow: 0 0 0 4px rgba(198,154,96,.15)}
.hint{margin-top:10px; color:var(--muted); font-size:12.5px}

.wizard-pane{margin-top:18px}
.choice-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:12px}
.choice{position:relative; display:flex; flex-direction:column; gap:6px; padding:14px 14px; border-radius:18px; border:1px solid rgba(22,47,27,.12); background: rgba(255,248,236,.5); cursor:pointer; transition: border-color .2s ease, background .2s ease, transform .12s ease}
.choice:hover{border-color: rgba(31,79,44,.28); background: rgba(255,248,236,.8)}
.choice-main{font-weight:950; letter-spacing:.1px; color:var(--text)}
.choice-sub{font-size:12.5px; color:var(--muted); font-weight:750}
.choice input{position:absolute; opacity:0; pointer-events:none}
.choice:has(input:checked){border-color: rgba(31,79,44,.42); background: rgba(31,79,44,.12)}
.choice:has(input:checked) .choice-sub{color: rgba(22,47,27,.86)}

.wizard-actions{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; flex-wrap:wrap}
.summary-inline{margin-top:14px; padding:12px 14px; border-radius:18px; border:1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); display:grid; gap:8px}
.summary-inline-row{display:flex; align-items:center; justify-content:space-between; gap:12px}
.summary-inline-row b{font-weight:950}
.fineprint{margin-top:14px; color:var(--muted2); font-size:12.5px; line-height:1.5}

/* Side summary */
.side{position:sticky; top:92px}
.side-card{border-radius:26px; border:1px solid rgba(22,47,27,.1); background: linear-gradient(180deg, rgba(255,248,236,.7), rgba(255,246,227,.5)); box-shadow: var(--shadow-soft); padding:18px}
.side-card-top{display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.side-title{font-weight:950; font-size:12px; text-transform:uppercase; letter-spacing:.24em; color:var(--forest)}
.side-sub{margin-top:8px; font-weight:900; color:var(--text)}
.side-price-label{color:var(--muted); font-size:12.5px}
.side-price-value{margin-top:6px; font-weight:950; font-size:18px; color:var(--text)}
.divider{height:1px; background: rgba(22,47,27,.08); margin:16px 0}
.side-list{display:grid; gap:10px}
.side-row{display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; color:var(--text)}
.side-row b{font-weight:950}
.side-note{font-size:12.5px; line-height:1.55; color:var(--muted)}

/* =========================
   How it works
   ========================= */
.steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.step{display:flex; gap:14px; align-items:flex-start; padding:16px 16px; border-radius:22px; border:1px solid rgba(22,47,27,.1); background: rgba(255,248,236,.6); color:var(--text)}
.step-num{width:44px; height:44px; border-radius:18px; background: rgba(198,154,96,.12); border:1px solid rgba(198,154,96,.2); display:flex; align-items:center; justify-content:center; font-weight:950; color:var(--forest)}
.step-title{font-weight:950; margin-top:2px; color:var(--text)}
.step-sub{margin-top:6px; font-size:13px; color:var(--muted)}

/* ========================
   FAQ
   ========================= */
.faq{display:grid; gap:10px}
.faq-details{border-radius:20px; border:1px solid rgba(22,47,27,.1); background: rgba(255,248,236,.5); overflow:hidden; color:var(--text)}
.faq-details summary{cursor:pointer; padding:16px 16px; font-weight:900; outline:none; list-style:none; position:relative; color:var(--forest)}
.faq-details summary::-webkit-details-marker{display:none}
.faq-details summary::after{content:"+"; position:absolute; right:16px; top:50%; transform: translateY(-50%); color:var(--forest); font-weight:800}
.faq-details[open]{background: rgba(255,246,227,.7)}
.faq-details[open] summary::after{content:"−"; color:var(--forest)}
.faq-body{padding:0 16px 16px; line-height:1.65; color:var(--muted)}

/* =========================
   Reviews
   ========================= */
.section-reviews{padding-bottom:86px}
.reviews-grid{display:grid; grid-template-columns: repeat(4, 1fr); gap:14px}
.review-card{border-radius:22px; border:1px solid rgba(22,47,27,.1); background: rgba(255,248,236,.5); padding:16px; box-shadow: 0 10px 30px rgba(0,0,0,.04); color:var(--text)}
.review-top{display:flex; gap:12px; align-items:flex-start}
.avatar{width:44px; height:44px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-weight:950; background: rgba(31,79,44,.08); border:1px solid rgba(31,79,44,.15); color:var(--forest)}
.avatar-accent{background: rgba(31,79,44,.12); border-color: rgba(31,79,44,.2)}
.avatar-accent-2{background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.2)}
.review-meta{display:flex; flex-direction:column; gap:8px}
.review-stars{display:flex; gap:4px; color: #D4A574; font-size:12px}
.review-title{font-weight:950; line-height:1.2; color:var(--text)}
.review-text{margin-top:12px; font-size:13.2px; line-height:1.7; color:var(--muted)}

/* =========================
   Footer
   ========================= */
.footer{padding:26px 0; border-top:1px solid rgba(22,47,27,.16); background: var(--panel2)}
.footer-inner{display:flex; align-items:center; justify-content:space-between; gap:18px}
.footer-left{display:flex; flex-direction:column; gap:8px}
.footer-links{display:flex; gap:18px; flex-wrap:wrap}
.footer-links a{color:var(--forest); font-weight:800; position:relative; padding:6px 0}
.footer-links a::after{content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background: linear-gradient(90deg, var(--brand), var(--brand2)); transition: width .2s ease}
.footer-links a:hover{color:var(--brand2)}
.footer-links a:hover::after{width:100%}
.social{display:flex; gap:10px; align-items:center}
.social-btn{width:40px; height:40px; border-radius:16px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(22,47,27,.16); background: rgba(31,79,44,.1); color:var(--forest); font-weight:600; cursor:pointer; transition: background .2s ease, border-color .2s ease}
.social-btn:hover{border-color: rgba(22,47,27,.28); background: rgba(31,79,44,.2); color:var(--brand2)}

/* ========================
   Cart drawer + overlay + toast
   ========================= */
.overlay{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(2px);
  z-index:100;
  opacity:0;
  transition: opacity .22s ease;
}

.overlay.is-open{opacity:1}

.drawer{
  position:fixed;
  top:0;
  right:0;
  height:100dvh;

  width:min(420px, 92vw);
  background: var(--cream);
  border-left:1px solid rgba(22,47,27,.12);
  box-shadow: var(--shadow);
  z-index:110;
  transform: translateX(100%);
  transition: transform .22s ease;
  will-change: transform;
}

.drawer.is-open{transform: translateX(0)}

.drawer-inner{height:100%; padding:16px}
.drawer-head{display:flex; align-items:flex-start; justify-content:space-between; gap:14px}
.drawer-title{font-weight:950; font-size:18px; color:var(--text)}
.drawer-sub{margin-top:6px; font-size:12.5px; color:var(--muted)}
.icon-btn{width:40px; height:40px; border-radius:16px; background: rgba(255,248,236,.8); border:1px solid rgba(22,47,27,.1); color:var(--forest); cursor:pointer; transition: background .2s ease, border-color .2s ease}
.icon-btn:hover{border-color: rgba(22,47,27,.2); background: rgba(31,79,44,.1)}
.drawer-body{margin-top:16px; padding:0 0 16px; overflow:auto; max-height: calc(100dvh - 230px)}

.drawer-foot{position:absolute; left:0; right:0; bottom:0; padding:16px; background: linear-gradient(180deg, transparent, rgba(246,239,226,.95) 35%, rgba(246,239,226,.95)); border-top:1px solid rgba(22,47,27,.12)}

/* prevent scroll bleed when drawer is open */
body.drawer-open{overflow:hidden}

.totals{display:grid; gap:8px}
.totals-row{display:flex; align-items:center; justify-content:space-between; gap:12px}
.totals-row b{font-weight:950}
.totals-divider{height:1px; background: rgba(255,255,255,.08); margin:6px 0}
.totals-row.grand{font-size:16px}
.drawer-actions{display:flex; gap:12px; margin-top:12px}
.drawer-actions .btn{flex:1}

.cart-item .stepper-btn{background: rgba(255,255,255,.06) !important}
.empty-cart-msg{color:var(--muted)}

.toast{position:fixed; bottom:18px; left:50%; transform: translateX(-50%); background: rgba(20,15,14,.92); border:1px solid rgba(255,255,255,.10); color:rgba(255,255,255,.92); padding:12px 14px; border-radius:18px; box-shadow: var(--shadow-soft); z-index:130}


/* =========================
   Responsive
   ========================= */
@media (max-width: 980px){
  .wrap{padding:0 14px}
  .hero-grid{grid-template-columns: 1fr; gap:18px;}
  .hero-visual{justify-content:flex-start}
  .main-card-wrapper{grid-template-columns: 1fr}
  .best-cards-grid{grid-template-columns: repeat(2,1fr)}
  .builder-grid{grid-template-columns: 1fr}
  .side{position:relative; top:auto}
  .choice-grid{grid-template-columns: repeat(2,1fr)}
  .steps{grid-template-columns: 1fr}
  .reviews-grid{grid-template-columns: repeat(2,1fr)}
  .section-head{flex-direction:column; align-items:flex-start}
  .footer-inner{flex-direction:column; align-items:flex-start}
}

@media (max-width: 680px){
  .hero h1{font-size:40px}
  .hero-feature-row{gap:8px}
  .hero-feature{padding:10px 10px}
  .choice-grid{grid-template-columns: 1fr}
  .best-cards-grid{grid-template-columns: 1fr 1fr}
  .reviews-grid{grid-template-columns: 1fr 1fr}
  .cookie-hero-card{width:100%}
  .builder{padding:44px 0}
}

@media (max-width: 520px){
  .wrap{padding:0 12px}
  .best-cards-grid{grid-template-columns: 1fr}
  .reviews-grid{grid-template-columns: 1fr}
  .choice-grid{grid-template-columns: 1fr}
  .hero h1{font-size:34px}
  .nav{display:none}
  .hero-cta{flex-direction:column; align-items:stretch}
  .btn{width:100%}
  .hero-grid{gap:14px}
  .main-card-wrapper{gap:14px}
  .builder-steps{flex-direction:column}
  .wizard-actions{flex-direction:column; align-items:stretch}
  .drawer{width: min(420px, 100vw)}
}

