/* =========================================================
   ROLLING PIN — Accra
   Brand: #7f2a00 (brown) · #af0009 (red) · Gotham Rounded
   Gotham Rounded is a licensed font; Nunito is used as the
   free web substitute. Swap the @font-face in if you buy it.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,400&family=Yellowtail&display=swap');

:root{
  --brown:      #7f2a00;
  --brown-deep: #5a1d00;
  --brown-ink:  #2e1000;
  --red:        #af0009;
  --red-bright: #d0141d;

  --cream:      #fff7ee;
  --sand:       #f6e6d3;
  --sand-deep:  #ecd5ba;
  --blush:      #f7ded6;
  --butter:     #fbe9c6;
  --mint:       #e6ede0;

  --ink:        #33170a;
  --muted:      #8a6a56;
  --line:       #e5d2bd;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 48px;

  --wrap: 1240px;
  --pad: clamp(18px, 5vw, 56px);

  --sans: 'Nunito', 'Gotham Rounded', system-ui, -apple-system, sans-serif;
  --script: 'Yellowtail', cursive;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--sans);
  font-weight:400;
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; }

.wrap{ max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }
.wide{ max-width:1560px; margin-inline:auto; padding-inline:var(--pad); }

/* ---------- Type ---------- */
.display{
  font-weight:900;
  line-height:.92;
  letter-spacing:-.035em;
  margin:0;
}
h1.display{ font-size:clamp(3rem, 8.5vw, 7.4rem); }
h2.display{ font-size:clamp(2.3rem, 5.6vw, 4.6rem); }
h3.display{ font-size:clamp(1.6rem, 3vw, 2.5rem); }

.script{
  font-family:var(--script);
  font-weight:400;
  letter-spacing:0;
  line-height:1;
}

.eyebrow{
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--red);
  margin:0 0 14px;
}
.eyebrow.on-dark{ color:var(--butter); }

.lede{ font-size:1.06rem; line-height:1.7; color:var(--muted); max-width:52ch; }
.lede.on-dark{ color:rgba(255,247,238,.78); }

.outline-word{
  color:transparent;
  -webkit-text-stroke:2px currentColor;
  text-stroke:2px currentColor;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 30px;
  border-radius:999px;
  font-weight:800; font-size:.9rem;
  letter-spacing:.02em;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-red{    background:var(--red);   color:#fff; box-shadow:0 8px 22px -10px rgba(175,0,9,.8); }
.btn-red:hover{ background:var(--red-bright); }
.btn-brown{  background:var(--brown); color:var(--cream); }
.btn-brown:hover{ background:var(--brown-deep); }
.btn-cream{  background:var(--cream); color:var(--brown); }
.btn-ghost{  border:2px solid currentColor; color:var(--brown); padding:13px 28px; }
.btn-ghost.on-dark{ color:var(--cream); }
.btn-ghost:hover{ background:var(--brown); color:var(--cream); border-color:var(--brown); }
.btn-ghost.on-dark:hover{ background:var(--cream); color:var(--brown); border-color:var(--cream); }
.btn-sm{ padding:10px 20px; font-size:.8rem; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:var(--brown);
  color:var(--cream);
  transition:box-shadow .25s ease;
}
.site-header.scrolled{ box-shadow:0 10px 30px -18px rgba(0,0,0,.7); }

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:24px; height:78px;
}

.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand img{ height:40px; width:auto; filter:brightness(0) invert(1); }
.brand .brand-name{
  font-weight:900; font-size:1.05rem; letter-spacing:-.02em; line-height:1;
  text-transform:uppercase;
}
.brand .brand-name small{
  display:block; font-family:var(--script); font-size:.85rem;
  text-transform:none; letter-spacing:0; color:var(--butter); font-weight:400;
  margin-top:2px;
}

.nav{ display:flex; align-items:center; gap:30px; }
.nav a{
  font-size:.88rem; font-weight:700; letter-spacing:.01em;
  position:relative; padding:6px 0; opacity:.9;
}
.nav a::after{
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--butter); transition:width .22s ease;
}
.nav a:hover{ opacity:1; }
.nav a:hover::after, .nav a.active::after{ width:100%; }
.nav a.active{ opacity:1; }

.header-actions{ display:flex; align-items:center; gap:14px; }

.icon-btn{
  width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center;
  background:rgba(255,247,238,.12); color:var(--cream);
  transition:background .18s ease;
}
.icon-btn:hover{ background:rgba(255,247,238,.25); }
.icon-btn-sm{ width:38px; height:38px; }
.icon-glyph{ width:17px; height:17px; display:block; }

.cart-btn{ position:relative; }
.cart-count{
  position:absolute; top:-4px; right:-4px;
  min-width:20px; height:20px; padding:0 5px;
  border-radius:999px; background:var(--red);
  color:#fff; font-size:.68rem; font-weight:900;
  display:grid; place-items:center;
  border:2px solid var(--brown);
}
.cart-count[data-empty="true"]{ display:none; }

.burger{ display:none; }

/* announcement bar */
.topbar{
  background:var(--red); color:#fff;
  font-size:.74rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  padding:9px 0; text-align:center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  background:var(--brown);
  color:var(--cream);
  position:relative;
  overflow:hidden;
  padding-block: clamp(50px, 7vw, 90px) clamp(60px, 8vw, 110px);
}
.hero::after{
  content:''; position:absolute; inset:auto 0 -1px 0; height:90px;
  background:var(--cream);
  border-radius:60% 60% 0 0 / 100% 100% 0 0;
}
.hero-grid{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns: 1fr minmax(280px, 460px) 1fr;
  align-items:center;
  gap:36px;
}
.hero-title{ grid-column:1 / -1; text-align:center; position:relative; z-index:3; pointer-events:none; }
.hero-title h1{ font-size:clamp(3.2rem, 11vw, 9.5rem); }
.hero-title .script{ font-size:clamp(2.6rem, 8vw, 6.6rem); color:var(--butter); display:block; margin:-.1em 0; }

.hero-photo{
  grid-column:2; grid-row:2;
  border-radius:var(--r-xl);
  overflow:hidden;
  aspect-ratio: 4/5;
  box-shadow:0 40px 80px -40px rgba(0,0,0,.65);
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; }

.hero-side{ grid-row:2; }
.hero-side.left{ grid-column:1; }
.hero-side.right{ grid-column:3; justify-self:end; text-align:right; }
.hero-side h4{
  margin:0 0 10px; font-size:.95rem; font-weight:900; letter-spacing:-.01em;
}
.hero-side p{ margin:0 0 22px; font-size:.9rem; line-height:1.65; color:rgba(255,247,238,.72); max-width:30ch; }
.hero-side.right p{ margin-left:auto; }

.hero-stat{ display:flex; gap:26px; margin-top:26px; }
.hero-side.right .hero-stat{ justify-content:flex-end; }
.hero-stat div strong{ display:block; font-size:1.7rem; font-weight:900; letter-spacing:-.03em; }
.hero-stat div span{ font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,247,238,.6); }

.hero-badge{
  position:absolute; left:4%; top:24%;
  width:132px; height:132px; z-index:4;
  animation:spin 26s linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.hero-badge text{ font-size:8.6px; font-weight:800; letter-spacing:.16em; fill:var(--butter); }

/* =========================================================
   FEATURE STRIP
   ========================================================= */
.features{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0; padding-block:clamp(40px,5vw,64px);
}
.feature{
  display:flex; gap:18px; align-items:flex-start;
  padding:8px 30px;
  border-left:1px solid var(--line);
}
.feature:first-child{ border-left:none; padding-left:0; }
.feature svg{ flex-shrink:0; width:38px; height:38px; color:var(--red); }
.feature h4{ margin:0 0 6px; font-size:1rem; font-weight:900; letter-spacing:-.01em; }
.feature p{ margin:0; font-size:.85rem; line-height:1.6; color:var(--muted); }

/* =========================================================
   SECTION HEADS
   ========================================================= */
.sec{ padding-block:clamp(52px, 7vw, 96px); }
.sec-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:30px; margin-bottom:38px; flex-wrap:wrap;
}
.sec-head .dotted{ position:relative; padding-left:.5em; }
.sec-head .dotted::before{
  content:'.'; position:absolute; left:-.15em; color:var(--red);
}

.tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.tab{
  padding:9px 20px; border-radius:999px;
  font-size:.82rem; font-weight:800;
  background:var(--sand); color:var(--brown);
  transition:background .18s ease, color .18s ease;
}
.tab:hover{ background:var(--sand-deep); }
.tab.active{ background:var(--brown); color:var(--cream); }

/* =========================================================
   PRODUCT CARDS
   ========================================================= */
.prod-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(230px,1fr));
  gap:26px 22px;
}

.card{ position:relative; }
.card-media{
  position:relative;
  border-radius:var(--r-md);
  overflow:hidden;
  aspect-ratio:1;
  background:var(--sand);
  margin-bottom:14px;
}
.card-media img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-media img{ transform:scale(1.07); }

.card-tag{
  position:absolute; top:12px; left:12px; z-index:2;
  background:var(--red); color:#fff;
  font-size:.63rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase;
  padding:6px 12px; border-radius:999px;
}

.card-add{
  position:absolute; right:12px; bottom:12px; z-index:2;
  width:44px; height:44px; border-radius:50%;
  background:var(--cream); color:var(--brown);
  display:grid; place-items:center;
  font-size:1.35rem; font-weight:700; line-height:1;
  box-shadow:0 8px 20px -8px rgba(0,0,0,.5);
  transform:translateY(8px); opacity:0;
  transition:transform .22s ease, opacity .22s ease, background .18s ease, color .18s ease;
}
.card:hover .card-add{ transform:translateY(0); opacity:1; }
.card-add:hover{ background:var(--red); color:#fff; }
.card-add.added{ background:var(--brown); color:var(--cream); opacity:1; transform:none; }

.card-name{
  margin:0 0 4px; font-size:.92rem; font-weight:700; line-height:1.35;
}
.card-cat{ font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:0 0 6px; }
.card-price{ font-size:.95rem; font-weight:900; color:var(--brown); }

/* card tint variants — cycles through soft brand-adjacent backgrounds */
.card:nth-child(4n+1) .card-media{ background:var(--sand); }
.card:nth-child(4n+2) .card-media{ background:var(--blush); }
.card:nth-child(4n+3) .card-media{ background:var(--butter); }
.card:nth-child(4n+4) .card-media{ background:var(--mint); }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee{
  background:var(--brown); color:var(--cream);
  padding:15px 0; overflow:hidden; white-space:nowrap;
  border-block:1px solid rgba(255,247,238,.14);
}
.marquee.red{ background:var(--red); }
.marquee.cream{ background:var(--sand); color:var(--brown); border-color:var(--sand-deep); }
.marquee-track{
  display:inline-flex; gap:0;
  animation:slide 34s linear infinite;
}
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes slide{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
.marquee span{
  font-size:.76rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  padding-inline:26px; display:inline-flex; align-items:center; gap:26px;
}
.marquee span::after{ content:'✦'; opacity:.5; }

/* =========================================================
   CATEGORY WORD LIST (Bakerville "Classic cookies" block)
   ========================================================= */
.wordlist{ position:relative; }
.wordlist-row{
  display:block; position:relative;
  padding-block:6px;
  font-weight:900; letter-spacing:-.04em; line-height:1.02;
  font-size:clamp(2.2rem, 6.4vw, 5.2rem);
  color:var(--brown);
  transition:color .2s ease, padding-left .3s cubic-bezier(.2,.7,.3,1);
}
.wordlist-row .num{
  font-size:.9rem; font-weight:800; letter-spacing:.1em;
  color:var(--red); vertical-align:super; margin-right:.5em;
}
.wordlist-row:hover{ color:var(--red); padding-left:2.2rem; }
.wordlist-row .peek{
  position:absolute; right:2%; top:50%;
  width:180px; height:130px; border-radius:var(--r-sm);
  object-fit:cover;
  transform:translateY(-50%) rotate(-4deg) scale(.85);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .35s cubic-bezier(.2,.7,.3,1);
  box-shadow:0 20px 40px -20px rgba(0,0,0,.5);
  z-index:3;
}
.wordlist-row:hover .peek{ opacity:1; transform:translateY(-50%) rotate(-4deg) scale(1); }

/* =========================================================
   SPLIT / EDITORIAL
   ========================================================= */
.split{
  display:grid; grid-template-columns:1.05fr 1fr;
  gap:clamp(30px,5vw,72px); align-items:center;
}
.split.reverse > *:first-child{ order:2; }

.frame{
  border-radius:var(--r-lg); overflow:hidden;
  aspect-ratio:4/3; background:var(--sand);
}
.frame img{ width:100%; height:100%; object-fit:cover; }
.frame.tall{ aspect-ratio:3/4; }

.photo-band{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:16px;
  padding-inline:var(--pad);
}
.photo-band .frame{ aspect-ratio:4/3; border-radius:var(--r-md); }

/* =========================================================
   FEATURE / TESTIMONIAL
   ========================================================= */
.spotlight{
  background:var(--sand);
  border-radius:var(--r-xl);
  padding:clamp(34px, 5vw, 66px);
  text-align:center;
}
.spotlight .frame{
  max-width:520px; margin:30px auto 0; aspect-ratio:16/11; border-radius:var(--r-lg);
}
.quote{
  display:flex; gap:18px; align-items:flex-start;
  max-width:560px; margin:34px auto 0; text-align:left;
}
.quote-avatar{
  width:54px; height:54px; border-radius:50%; object-fit:cover; flex-shrink:0;
}
.quote p{ margin:0 0 8px; font-size:.95rem; line-height:1.65; font-style:italic; }
.quote cite{ font-size:.76rem; font-style:normal; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }
.quote-mark{ font-family:var(--script); font-size:3rem; color:var(--red); line-height:.6; }

/* =========================================================
   SOCIAL CTA
   ========================================================= */
.social-cta{
  background:var(--brown); color:var(--cream);
  border-radius:var(--r-xl);
  padding:clamp(38px,5.5vw,76px);
  text-align:center;
  position:relative; overflow:hidden;
}
.social-cta h2{ margin-bottom:8px; }
.social-cta .handle{ color:var(--butter); }
.social-cta .lede{ margin:18px auto 30px; }
.social-links{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.social-links .btn svg{ width:18px; height:18px; }

.ig-strip{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px; margin-top:38px;
}
.ig-strip .frame{ aspect-ratio:1; border-radius:var(--r-sm); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background:var(--brown-ink); color:var(--cream);
  padding-block:clamp(46px,6vw,80px) 30px;
  margin-top:clamp(50px,7vw,90px);
}
.footer-grid{
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:40px; padding-bottom:44px;
  border-bottom:1px solid rgba(255,247,238,.14);
}
.footer-grid h5{
  margin:0 0 18px; font-size:.72rem; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase; color:var(--butter);
}
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.footer-grid a{ font-size:.88rem; opacity:.8; transition:opacity .18s ease; }
.footer-grid a:hover{ opacity:1; }
.footer-brand img{ height:52px; filter:brightness(0) invert(1); margin-bottom:18px; }
.footer-brand p{ font-size:.88rem; line-height:1.7; color:rgba(255,247,238,.7); max-width:34ch; margin:0 0 20px; }
.footer-note{
  display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap;
  padding-top:24px; font-size:.76rem; color:rgba(255,247,238,.55);
}

/* =========================================================
   PAGE HEAD (inner pages)
   ========================================================= */
.page-head{
  background:var(--brown); color:var(--cream);
  padding-block:clamp(46px,6vw,84px) clamp(58px,7vw,96px);
  position:relative; overflow:hidden;
}
.page-head::after{
  content:''; position:absolute; inset:auto 0 -1px 0; height:70px;
  background:var(--cream); border-radius:60% 60% 0 0 / 100% 100% 0 0;
}
.page-head .wrap{ position:relative; z-index:2; }
.crumb{ font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--butter); margin:0 0 16px; }

/* =========================================================
   SHOP
   ========================================================= */
.shop-layout{ display:grid; grid-template-columns:230px 1fr; gap:44px; align-items:start; }

/* Grid children default to min-width:auto, so their widest unbreakable content
   sets a floor on the track. The nowrap category chips would otherwise push the
   whole shop page far wider than a phone screen. min-width:0 lets them shrink so
   the chip row scrolls internally instead. */
.shop-layout > *{ min-width:0; }
.cat-list{ max-width:100%; }

.shop-side{ position:sticky; top:104px; }
.shop-side h5{
  margin:0 0 14px; font-size:.72rem; font-weight:800;
  letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
}
.cat-list{ list-style:none; margin:0 0 30px; padding:0; display:grid; gap:2px; }
.cat-list button{
  width:100%; text-align:left; padding:9px 14px; border-radius:10px;
  font-size:.87rem; font-weight:700; color:var(--ink);
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  transition:background .16s ease, color .16s ease;
}
.cat-list button span{ font-size:.72rem; color:var(--muted); font-weight:700; }
.cat-list button:hover{ background:var(--sand); }
.cat-list button.active{ background:var(--brown); color:var(--cream); }
.cat-list button.active span{ color:var(--butter); }

.search-box{
  display:flex; align-items:center; gap:10px;
  background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:11px 18px; margin-bottom:24px;
}
.search-box input{
  border:none; outline:none; font-family:inherit; font-size:.88rem;
  width:100%; background:none; color:var(--ink);
}
.search-box svg{ width:17px; height:17px; color:var(--muted); flex-shrink:0; }

.shop-bar{
  display:flex; justify-content:space-between; align-items:center;
  gap:20px; flex-wrap:wrap; margin-bottom:26px;
}
.result-count{ font-size:.84rem; color:var(--muted); }

.cat-block{ margin-bottom:56px; scroll-margin-top:110px; }
.cat-block-head{
  display:flex; align-items:baseline; gap:14px; margin-bottom:6px;
}
.cat-block-head h3{ margin:0; font-size:1.55rem; font-weight:900; letter-spacing:-.03em; }
.cat-block-head .count{ font-size:.76rem; color:var(--muted); font-weight:700; }
.cat-block > p{ margin:0 0 24px; font-size:.88rem; color:var(--muted); }

.empty{
  text-align:center; padding:70px 20px; color:var(--muted);
}
.empty strong{ display:block; font-size:1.2rem; color:var(--ink); margin-bottom:8px; }

/* =========================================================
   CART DRAWER
   ========================================================= */
.drawer-scrim{
  position:fixed; inset:0; z-index:90;
  background:rgba(46,16,0,.5); backdrop-filter:blur(3px);
  opacity:0; pointer-events:none; transition:opacity .28s ease;
}
.drawer-scrim.open{ opacity:1; pointer-events:auto; }

.drawer{
  position:fixed; top:0 ; right:0; bottom:0; z-index:100;
  width:min(420px, 100%);
  background:var(--cream);
  display:flex; flex-direction:column;
  transform:translateX(100%);
  transition:transform .32s cubic-bezier(.3,.8,.3,1);
  box-shadow:-20px 0 60px -30px rgba(0,0,0,.6);
}
.drawer.open{ transform:none; }

.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 24px; background:var(--brown); color:var(--cream);
}
.drawer-head h3{ margin:0; font-size:1.1rem; font-weight:900; letter-spacing:-.02em; }
.drawer-close{ color:var(--cream); font-size:1.5rem; line-height:1; padding:4px 8px; }

.drawer-body{ flex:1; overflow-y:auto; padding:22px 24px; }
.drawer-foot{ padding:22px 24px; border-top:1px solid var(--line); background:#fff; }

.line{
  display:grid; grid-template-columns:66px 1fr auto; gap:14px;
  padding:14px 0; border-bottom:1px solid var(--line); align-items:center;
}
.line:last-child{ border-bottom:none; }
.line-img{ width:66px; height:66px; border-radius:12px; object-fit:cover; background:var(--sand); }
.line-name{ margin:0 0 3px; font-size:.87rem; font-weight:700; line-height:1.3; }
.line-price{ font-size:.78rem; color:var(--muted); margin:0 0 8px; }
.qty{ display:inline-flex; align-items:center; gap:0; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:#fff; }
.qty button{ width:28px; height:28px; font-size:1rem; font-weight:800; color:var(--brown); display:grid; place-items:center; }
.qty button:hover{ background:var(--sand); }
.qty span{ min-width:26px; text-align:center; font-size:.82rem; font-weight:800; }
.line-total{ font-weight:900; font-size:.9rem; color:var(--brown); text-align:right; }
.line-remove{ display:block; font-size:.7rem; color:var(--muted); margin-top:6px; text-align:right; }
.line-remove:hover{ color:var(--red); }

.totals{ display:grid; gap:9px; margin-bottom:16px; }
.totals div{ display:flex; justify-content:space-between; font-size:.87rem; color:var(--muted); }
.totals div.grand{ font-size:1.12rem; font-weight:900; color:var(--brown); padding-top:10px; border-top:1px solid var(--line); }
.drawer-foot .btn{ width:100%; justify-content:center; }

.cart-empty{ text-align:center; padding:60px 10px; color:var(--muted); }
.cart-empty svg{ width:54px; height:54px; color:var(--sand-deep); margin-bottom:16px; }

/* =========================================================
   CART PAGE / CHECKOUT
   ========================================================= */
.checkout-layout{ display:grid; grid-template-columns:1.4fr .9fr; gap:44px; align-items:start; }
.checkout-layout > *{ min-width:0; }   /* same reason as .shop-layout above */

.panel{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--r-md); padding:clamp(22px,3vw,34px);
}
.panel + .panel{ margin-top:22px; }
.panel h3{ margin:0 0 20px; font-size:1.15rem; font-weight:900; letter-spacing:-.02em; }

.field{ margin-bottom:16px; }
.field label{
  display:block; font-size:.74rem; font-weight:800;
  letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:7px;
}
.field input, .field select, .field textarea{
  width:100%; padding:13px 16px; font-family:inherit; font-size:.9rem;
  border:1px solid var(--line); border-radius:12px; background:var(--cream);
  color:var(--ink); outline:none; transition:border-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--brown); }
.field textarea{ min-height:88px; resize:vertical; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }

.mode-toggle{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px; }
.mode-toggle label{
  border:2px solid var(--line); border-radius:14px; padding:16px;
  cursor:pointer; transition:border-color .18s ease, background .18s ease;
}
.mode-toggle input{ position:absolute; opacity:0; }
.mode-toggle label strong{ display:block; font-size:.92rem; margin-bottom:3px; }
.mode-toggle label span{ font-size:.76rem; color:var(--muted); }
/* .selected is set in JS so this still works on browsers without :has() */
.mode-toggle label.selected,
.mode-toggle label:has(input:checked){ border-color:var(--brown); background:var(--sand); }

.summary{ position:sticky; top:104px; }
.summary .line{ grid-template-columns:52px 1fr auto; }
.summary .line-img{ width:52px; height:52px; }

.pay-note{
  display:flex; gap:12px; align-items:flex-start;
  background:var(--butter); border-radius:14px; padding:14px 16px;
  font-size:.8rem; line-height:1.55; color:var(--brown); margin-top:16px;
}
.pay-note svg{ width:18px; height:18px; flex-shrink:0; margin-top:2px; }

/* =========================================================
   CONTACT
   ========================================================= */
.info-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:22px; }
.info-card{
  background:var(--sand); border-radius:var(--r-md); padding:28px;
}
.info-card svg{ width:26px; height:26px; color:var(--red); margin-bottom:14px; }
.info-card h4{ margin:0 0 8px; font-size:1rem; font-weight:900; }
.info-card p{ margin:0; font-size:.88rem; line-height:1.65; color:var(--muted); }
.info-card a{ color:var(--brown); font-weight:700; }

.hours-table{ width:100%; border-collapse:collapse; }
.hours-table td{ padding:11px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.hours-table td:last-child{ text-align:right; font-weight:800; color:var(--brown); }
.hours-table tr:last-child td{ border-bottom:none; }

.map-frame{
  border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--line);
  aspect-ratio:16/8; background:var(--sand);
}
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* =========================================================
   FLOATING CART BAR
   Shows the moment there's something in the bag. Left side
   reviews, right side goes straight to checkout.
   ========================================================= */
.fab-cart{
  position:fixed; z-index:50;
  left:50%; bottom:20px;
  transform:translateX(-50%);
  width:min(460px, calc(100% - 32px));
  display:flex; align-items:stretch; gap:6px;
  padding:6px;
  background:var(--brown); color:var(--cream);
  border-radius:999px;
  box-shadow:0 18px 40px -18px rgba(46,16,0,.75);
  animation:fabUp .32s cubic-bezier(.2,.8,.3,1);
}
.fab-cart[hidden]{ display:none; }

@keyframes fabUp{ from{ opacity:0; transform:translate(-50%, 130%); } }

.fab-view{
  flex:1; display:flex; align-items:center; justify-content:center; gap:10px;
  padding:13px 16px; border-radius:999px;
  color:var(--cream); font-size:.88rem; font-weight:700;
  transition:background .16s ease;
}
.fab-view:hover{ background:rgba(255,247,238,.12); }
.fab-view svg{ flex-shrink:0; }
.fab-text b{ font-weight:900; }

.fab-go{
  display:flex; align-items:center;
  padding:13px 24px; border-radius:999px;
  background:var(--red); color:#fff;
  font-size:.88rem; font-weight:900; white-space:nowrap;
  transition:background .16s ease;
}
.fab-go:hover{ background:var(--red-bright); }

/* keep the footer clear of the bar */
body.has-fab{ padding-bottom:96px; }

@media (max-width:420px){
  .fab-cart{ bottom:12px; width:calc(100% - 20px); }
  .fab-view{ padding:12px 8px; font-size:.82rem; gap:7px; }
  .fab-go{ padding:12px 18px; font-size:.82rem; }
}

/* =========================================================
   TOAST
   ========================================================= */
.toast{
  position:fixed; left:50%; bottom:28px; z-index:120;
  transform:translate(-50%, 140%);
  background:var(--brown); color:var(--cream);
  padding:14px 26px; border-radius:999px;
  font-size:.86rem; font-weight:700;
  display:flex; align-items:center; gap:10px;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.6);
  transition:transform .34s cubic-bezier(.2,.8,.3,1);
}
.toast.show{ transform:translate(-50%, 0); }
/* lift the toast above the floating cart bar when it's on screen */
body.has-fab .toast{ bottom:104px; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal{ opacity:1; transform:none; }
}

/* =========================================================
   TOUCH DEVICES
   There is no hover on a phone, so anything that only appears
   on :hover has to be visible by default. Tap targets also get
   bumped to ~44px.
   ========================================================= */
@media (hover: none){
  /* the add-to-bag button must never be hover-gated */
  .card-add{
    opacity:1; transform:none;
    width:46px; height:46px;
    background:var(--brown); color:var(--cream);
    box-shadow:0 6px 18px -6px rgba(0,0,0,.55);
  }
  .card-add:active{ background:var(--red); color:#fff; transform:scale(.92); }

  /* bigger quantity steppers */
  .qty button{ width:40px; height:40px; font-size:1.15rem; }
  .qty span{ min-width:34px; font-size:.9rem; }

  /* remove is a text link — give it a real hit area */
  .line-remove{ padding:8px 0 8px 12px; font-size:.75rem; }

  /* header icons */
  .icon-btn{ width:44px; height:44px; }
  .icon-btn-sm{ width:40px; height:40px; }

  /* no point animating a marquee pause or image zoom on touch */
  .card:hover .card-media img{ transform:none; }
  .wordlist-row:hover{ padding-left:0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px){
  .shop-layout{ grid-template-columns:1fr; }
  .shop-side{ position:static; }
  .cat-list{ grid-auto-flow:column; grid-auto-columns:max-content; overflow-x:auto; gap:8px; padding-bottom:8px; }
  .cat-list button{ white-space:nowrap; background:var(--sand); }
  .checkout-layout{ grid-template-columns:1fr; }
  .summary{ position:static; }
}

@media (max-width: 900px){
  .nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,86%);
    background:var(--brown-deep); flex-direction:column; align-items:flex-start;
    justify-content:flex-start; gap:6px; padding:100px 32px 40px;
    transform:translateX(100%); transition:transform .3s cubic-bezier(.3,.8,.3,1);
    z-index:70;
  }
  .nav.open{ transform:none; }
  .nav a{ font-size:1.1rem; padding:12px 0; width:100%; }
  .burger{ display:grid; }

  .hero-grid{ grid-template-columns:1fr; }
  .hero-photo{ grid-column:1; grid-row:2; max-width:400px; margin-inline:auto; }
  .hero-side{ grid-column:1 !important; text-align:center !important; }
  .hero-side.right{ grid-row:4; justify-self:center; }
  .hero-side.left{ grid-row:3; }
  .hero-side p{ margin-inline:auto !important; }
  .hero-stat{ justify-content:center !important; }
  .hero-badge{ display:none; }

  .features{ grid-template-columns:1fr; gap:26px; }
  .feature{ border-left:none; padding-inline:0; }

  .split{ grid-template-columns:1fr; }
  .split.reverse > *:first-child{ order:0; }

  .photo-band{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .field-row{ grid-template-columns:1fr; }
  .wordlist-row .peek{ display:none; }
}

@media (max-width: 560px){
  .prod-grid{ grid-template-columns:repeat(2,1fr); gap:20px 14px; }
  .card-media{ border-radius:var(--r-sm); }
  .photo-band{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .mode-toggle{ grid-template-columns:1fr; }
  .header-inner{ height:66px; }
  .brand img{ height:32px; }
}
