/* =========================================================
   COFFEE SUTRA — DESIGN SYSTEM
   ========================================================= */
:root{
  --espresso:#241813;
  --dark-coffee:#130E0B;
  --cream:#F5EFE6;
  --beige:#DCCBB8;
  --caramel:#A66A3F;
  --gold:#C9A063;
  --white:#FFFFFF;

  --text-body: var(--espresso);
  --text-muted:#7A6A5C;

  --font-serif:'Fraunces', Georgia, serif;
  --font-sans:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:2px;
  --radius-md:4px;
  --container:1280px;
  --gutter:clamp(20px, 5vw, 64px);

  --ease:cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}

body{
  margin:0;
  font-family:var(--font-sans);
  color:var(--text-body);
  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;}
input{font-family:inherit;}

h1,h2,h3,h4{
  font-family:var(--font-serif);
  font-weight:500;
  line-height:1.08;
  margin:0;
  letter-spacing:-0.01em;
}
h2{font-size:clamp(2rem, 4vw, 2.9rem); font-weight:450;}
h3{font-size:1.15rem; font-weight:500;}

p{margin:0; line-height:1.6;}

:focus-visible{outline:2px solid var(--caramel); outline-offset:3px;}

.section-sub{
  color:var(--text-muted);
  font-size:1.02rem;
  max-width:46ch;
  margin-top:10px;
}
.demo-note{
  font-size:.78rem;
  color:var(--text-muted);
  margin-top:6px;
  font-style:italic;
}

.section-head{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-bottom:38px;
}
.section-head.center{
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.text-link{
  font-size:.9rem;
  font-weight:600;
  border-bottom:1px solid currentColor;
  padding-bottom:2px;
  white-space:nowrap;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  font-size:.92rem;
  font-weight:600;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  transition:background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
  white-space:nowrap;
}
.btn:active{transform:scale(.98);}
.btn-primary{background:var(--espresso); color:var(--cream);}
.btn-primary:hover{background:var(--caramel);}
.btn-ghost{background:transparent; color:var(--espresso); border-color:var(--espresso);}
.btn-ghost:hover{background:var(--espresso); color:var(--cream);}
.btn-dark{background:var(--dark-coffee); color:var(--cream);}
.btn-dark:hover{background:var(--caramel);}
.btn-light{background:var(--gold); color:var(--dark-coffee);}
.btn-light:hover{background:var(--cream);}

.pill{
  display:inline-block;
  background:var(--gold);
  color:var(--dark-coffee);
  font-weight:600;
  font-size:.82rem;
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:18px;
}
.pill-light{background:var(--cream); color:var(--dark-coffee);}

/* =========================================================
   PROMO BAR
   ========================================================= */
.promo-bar{
  background:var(--dark-coffee);
  color:var(--cream);
  font-size:.82rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:9px 40px 9px 16px;
  position:relative;
  text-align:center;
  flex-wrap:wrap;
}
.promo-strong{color:var(--gold);}
.promo-link{font-weight:700; border-bottom:1px solid var(--gold);}
.promo-close{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  background:none; border:none; color:var(--cream); font-size:1.2rem; line-height:1;
  padding:4px 8px; opacity:.7;
}
.promo-close:hover{opacity:1;}
.promo-bar.hidden{display:none;}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(245,239,230,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(36,24,19,.1);
}
.header-inner{
  max-width:var(--container);
  margin:0 auto;
  padding:16px var(--gutter);
  display:flex;
  align-items:center;
  gap:32px;
}
.logo{
  font-family:var(--font-serif);
  font-size:1.4rem;
  font-weight:600;
  letter-spacing:-0.01em;
  margin-right:auto;
}
.logo.light{color:var(--cream); margin:0;}

.main-nav{
  display:flex;
  gap:26px;
  flex:1;
  justify-content:center;
}
.main-nav a{
  font-size:.88rem;
  font-weight:500;
  position:relative;
  padding:4px 0;
}
.main-nav a::after{
  content:'';
  position:absolute; left:0; right:0; bottom:0;
  height:1px; background:var(--espresso);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s var(--ease);
}
.main-nav a:hover::after{transform:scaleX(1);}

.header-actions{display:flex; align-items:center; gap:6px;}
.icon-btn{
  position:relative;
  background:none; border:none; color:var(--espresso);
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease);
}
.icon-btn:hover{background:rgba(36,24,19,.08);}
.badge{
  position:absolute; top:2px; right:2px;
  background:var(--caramel); color:var(--cream);
  font-size:.62rem; font-weight:700;
  min-width:15px; height:15px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding:0 2px;
}

.sub-nav{
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter) 12px;
  display:flex;
  gap:22px;
  overflow-x:auto;
  scrollbar-width:none;
}
.sub-nav::-webkit-scrollbar{display:none;}
.sub-nav a{
  font-size:.78rem;
  color:var(--text-muted);
  white-space:nowrap;
  font-weight:500;
}
.sub-nav a:hover{color:var(--espresso);}

.hamburger{
  display:none;
  background:none; border:none;
  width:34px; height:34px;
  flex-direction:column; justify-content:center; gap:5px;
}
.hamburger span{
  display:block; height:1.5px; background:var(--espresso); width:100%;
  transition:transform .25s var(--ease), opacity .25s var(--ease);
}

/* search flyout */
.search-flyout{
  position:absolute; top:100%; left:0; right:0;
  background:var(--white);
  border-bottom:1px solid rgba(36,24,19,.1);
  box-shadow:0 12px 24px rgba(19,14,11,.08);
  max-height:0; overflow:hidden;
  transition:max-height .3s var(--ease);
}
.search-flyout.open{max-height:420px;}
.search-flyout-inner{
  max-width:var(--container); margin:0 auto;
  padding:18px var(--gutter);
  display:flex; align-items:center; gap:12px;
  color:var(--text-muted);
}
.search-flyout-inner input{
  flex:1; border:none; outline:none; font-size:1.1rem;
  background:transparent; color:var(--espresso);
  font-family:var(--font-serif);
}
.search-flyout-inner button{
  background:none; border:none; font-size:1.4rem; color:var(--text-muted);
}
.search-results{
  max-width:var(--container); margin:0 auto;
  padding:0 var(--gutter) 14px;
  display:grid; gap:2px; max-height:280px; overflow-y:auto;
}
.search-results a{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 12px; border-radius:var(--radius-sm);
  font-size:.9rem;
}
.search-results a:hover{background:var(--cream);}
.search-results .sr-empty{color:var(--text-muted); font-size:.85rem; padding:10px 12px;}

/* mobile menu */
.mobile-menu{
  position:fixed; top:0; left:0; bottom:0; width:min(320px, 82vw);
  background:var(--cream);
  z-index:110;
  transform:translateX(-100%);
  transition:transform .3s var(--ease);
  padding:20px;
  overflow-y:auto;
}
.mobile-menu.open{transform:translateX(0);}
.mobile-menu-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:28px;}
.mobile-menu-head button{background:none; border:none; font-size:1.6rem;}
.mobile-nav{display:flex; flex-direction:column; gap:18px;}
.mobile-nav a{font-size:1rem; font-weight:500;}
.mobile-nav hr{border:none; border-top:1px solid rgba(36,24,19,.12); margin:4px 0;}

.scrim{
  position:fixed; inset:0; background:rgba(19,14,11,.5);
  z-index:105; opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease);
}
.scrim.show{opacity:1; pointer-events:auto;}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height:88vh;
  display:flex; align-items:flex-end;
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  clip-path:inset(0 0 0 0);
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  transform:scale(1.12);
  animation:heroReveal 1.6s var(--ease) forwards;
}
@keyframes heroReveal{
  from{transform:scale(1.12); filter:brightness(.7);}
  to{transform:scale(1); filter:brightness(.62);}
}
.hero-media::after{
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(0deg, rgba(19,14,11,.86) 0%, rgba(19,14,11,.25) 46%, rgba(19,14,11,.15) 100%);
}
.hero-copy{
  position:relative;
  z-index:2;
  max-width:var(--container);
  margin:0 auto;
  width:100%;
  padding:0 var(--gutter) 72px;
  color:var(--cream);
}
.hero-eyebrow{
  font-size:.85rem;
  color:var(--beige);
  margin-bottom:14px;
  max-width:32ch;
}
.hero-headline{
  font-size:clamp(3rem, 8vw, 6rem);
  color:var(--white);
  max-width:14ch;
}
.hero-lede{
  font-family:var(--font-serif);
  font-style:italic;
  font-size:1.25rem;
  max-width:38ch;
  margin-top:22px;
  color:var(--beige);
}
.hero-sub{
  font-size:.95rem;
  max-width:42ch;
  margin-top:10px;
  color:rgba(245,239,230,.75);
}
.hero-actions{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}
.hero .btn-ghost{color:var(--cream); border-color:rgba(245,239,230,.5);}
.hero .btn-ghost:hover{background:var(--cream); color:var(--espresso);}

/* =========================================================
   CATEGORIES
   ========================================================= */
.categories{
  max-width:var(--container);
  margin:80px auto;
  padding:0 var(--gutter);
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:2px;
  background:rgba(36,24,19,.12);
}
.cat-card{
  background:var(--cream);
  position:relative;
  overflow:hidden;
  display:flex; flex-direction:column;
}
.cat-card img{
  height:280px; width:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.cat-card:hover img{transform:scale(1.06);}
.cat-body{padding:22px 20px 26px;}
.cat-body h3{margin-bottom:6px;}
.cat-body p{color:var(--text-muted); font-size:.9rem; margin-bottom:14px;}
.cat-link{font-size:.82rem; font-weight:700; border-bottom:1px solid var(--espresso); padding-bottom:2px;}

/* =========================================================
   WHY US
   ========================================================= */
.why-us{
  max-width:var(--container);
  margin:100px auto;
  padding:0 var(--gutter);
  display:grid;
  grid-template-columns:.85fr 1fr;
  gap:60px;
  align-items:center;
}
.why-us-media img{
  width:100%; height:640px; object-fit:cover;
  border-radius:var(--radius-md);
}
.why-us-copy h2{margin-bottom:4px;}
.feature-list{
  list-style:none; margin:38px 0 0; padding:0;
  display:grid; gap:0;
}
.feature-list li{
  padding:20px 0;
  border-top:1px solid rgba(36,24,19,.14);
}
.feature-list li:last-child{border-bottom:1px solid rgba(36,24,19,.14);}
.feature-list h3{margin-bottom:6px;}
.feature-list p{color:var(--text-muted); font-size:.92rem;}

/* =========================================================
   BESTSELLERS / CAROUSEL
   ========================================================= */
.bestsellers{padding:60px 0 100px;}
.carousel-wrap{
  position:relative;
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--gutter);
}
.carousel{
  display:flex; gap:22px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding-bottom:6px;
}
.carousel::-webkit-scrollbar{display:none;}
.carousel-nav{
  position:absolute; top:38%; transform:translateY(-50%);
  width:44px; height:44px; border-radius:50%;
  background:var(--white); border:1px solid rgba(36,24,19,.15);
  font-size:1.4rem; color:var(--espresso);
  display:flex; align-items:center; justify-content:center;
  z-index:5;
  box-shadow:0 6px 16px rgba(19,14,11,.08);
}
.carousel-nav.prev{left:6px;}
.carousel-nav.next{right:6px;}
@media(max-width:720px){.carousel-nav{display:none;}}

/* product card (shared) */
.product-card{
  background:var(--white);
  border:1px solid rgba(36,24,19,.1);
  border-radius:var(--radius-md);
  overflow:hidden;
  display:flex; flex-direction:column;
  flex:0 0 auto;
  width:280px;
  scroll-snap-align:start;
  transition:border-color .25s var(--ease);
}
.product-card:hover{border-color:var(--caramel);}
.product-media{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  cursor:pointer;
}
.product-media img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease);}
.product-card:hover .product-media img{transform:scale(1.07);}
.product-wish{
  position:absolute; top:10px; right:10px;
  width:34px; height:34px; border-radius:50%;
  background:rgba(245,239,230,.92); border:none;
  display:flex; align-items:center; justify-content:center;
  color:var(--espresso);
}
.product-wish.active{color:var(--caramel);}
.product-wish.active svg path{fill:var(--caramel); stroke:var(--caramel);}
.product-body{padding:16px 16px 18px; display:flex; flex-direction:column; gap:6px; flex:1;}
.product-cat{font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted);}
.product-name{font-size:1.02rem; cursor:pointer;}
.product-desc{font-size:.84rem; color:var(--text-muted); flex:1;}
.product-rating{font-size:.8rem; color:var(--caramel);}
.product-rating span{color:var(--text-muted);}
.product-price-row{display:flex; align-items:baseline; gap:8px; margin-top:4px;}
.product-price{font-weight:700; font-size:1.05rem;}
.product-per-cup{font-size:.76rem; color:var(--text-muted);}
.product-add{
  margin-top:10px;
  width:100%;
  padding:11px;
  background:var(--espresso); color:var(--cream);
  border:none; border-radius:var(--radius-sm);
  font-weight:600; font-size:.86rem;
  transition:background .2s var(--ease);
}
.product-add:hover{background:var(--caramel);}

/* =========================================================
   SHOP
   ========================================================= */
.shop{max-width:var(--container); margin:0 auto 110px; padding:0 var(--gutter);}
.shop-search{
  display:flex; align-items:center; gap:8px;
  border:1px solid rgba(36,24,19,.2);
  border-radius:100px;
  padding:9px 16px;
  color:var(--text-muted);
  min-width:240px;
}
.shop-search input{border:none; outline:none; background:none; flex:1; font-size:.88rem; color:var(--espresso);}
.filter-bar{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-bottom:36px;
}
.filter-chip{
  padding:9px 18px;
  border-radius:100px;
  border:1px solid rgba(36,24,19,.2);
  background:transparent;
  font-size:.85rem; font-weight:500;
  transition:all .2s var(--ease);
}
.filter-chip:hover{border-color:var(--espresso);}
.filter-chip.active{background:var(--espresso); color:var(--cream); border-color:var(--espresso);}
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:24px;
}
.product-grid .product-card{width:100%;}
.no-results{text-align:center; color:var(--text-muted); padding:60px 0;}

/* =========================================================
   SUBSCRIPTION
   ========================================================= */
.subscription{
  background:var(--espresso); color:var(--cream);
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center;
  overflow:hidden;
}
.subscription-copy{padding:90px var(--gutter); max-width:620px; margin-left:auto;}
.subscription-copy h2{color:var(--white); margin-bottom:6px;}
.subscription-copy .section-sub{color:var(--beige);}
.sub-options{display:grid; gap:12px; margin:32px 0 28px;}
.sub-option{
  text-align:left;
  background:rgba(245,239,230,.05);
  border:1px solid rgba(245,239,230,.25);
  border-radius:var(--radius-md);
  padding:16px 18px;
  color:var(--cream);
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.sub-option h3{color:var(--cream); margin-bottom:4px;}
.sub-option p{color:var(--beige); font-size:.85rem;}
.sub-option:hover{border-color:var(--gold);}
.sub-option.active{background:rgba(201,160,99,.14); border-color:var(--gold);}
.subscription-media img{width:100%; height:100%; object-fit:cover; min-height:480px;}

/* =========================================================
   FIRST ORDER
   ========================================================= */
.first-order{
  background:var(--beige);
  padding:90px var(--gutter);
}
.first-order-inner{max-width:560px; margin:0 auto; text-align:center;}
.first-order-inner p{margin-top:10px; font-size:1.05rem; color:var(--espresso);}
.signup-form{
  display:flex; gap:10px; margin-top:30px; flex-wrap:wrap; justify-content:center;
}
.signup-form input{
  flex:1; min-width:220px;
  padding:13px 18px; border-radius:var(--radius-sm);
  border:1px solid rgba(36,24,19,.25);
  background:var(--white);
  font-size:.9rem;
}
.form-msg{
  margin-top:16px; font-size:.88rem; font-weight:600; color:var(--caramel);
}

/* =========================================================
   EDUCATION
   ========================================================= */
.education{max-width:var(--container); margin:110px auto; padding:0 var(--gutter);}
.edu-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;
}
.edu-card{display:block;}
.edu-card img{
  width:100%; aspect-ratio:4/3; object-fit:cover;
  border-radius:var(--radius-md);
  transition:transform .5s var(--ease);
}
.edu-card:hover img{transform:scale(1.03);}
.edu-body{padding-top:16px;}
.edu-tag{
  font-size:.72rem; text-transform:uppercase; letter-spacing:.07em;
  color:var(--caramel); font-weight:700;
}
.edu-body h3{margin:8px 0 6px;}
.edu-body p{color:var(--text-muted); font-size:.88rem; margin-bottom:12px;}

/* =========================================================
   DICTIONARY
   ========================================================= */
.dictionary{
  background:var(--dark-coffee); color:var(--cream);
  padding:100px var(--gutter);
}
.dictionary .section-head h2{color:var(--white);}
.dictionary .section-sub{color:var(--beige);}
.dict-search{
  max-width:600px; margin:0 auto 24px;
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(245,239,230,.3);
  border-radius:100px;
  padding:13px 22px;
  color:var(--beige);
}
.dict-search input{
  flex:1; background:none; border:none; outline:none;
  color:var(--cream); font-size:.95rem;
}
.dict-terms{
  max-width:var(--container); margin:0 auto 30px;
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
.dict-chip{
  padding:8px 16px; border-radius:100px;
  border:1px solid rgba(245,239,230,.25);
  background:transparent; color:var(--beige);
  font-size:.82rem;
  transition:all .2s var(--ease);
}
.dict-chip:hover, .dict-chip.active{background:var(--gold); color:var(--dark-coffee); border-color:var(--gold);}
.dict-result{
  max-width:640px; margin:0 auto;
  min-height:140px;
  border-top:1px solid rgba(245,239,230,.2);
  padding-top:28px;
  text-align:center;
}
.dict-placeholder{color:rgba(245,239,230,.5); font-size:.9rem;}
.dict-term-title{font-family:var(--font-serif); font-size:1.7rem; margin-bottom:10px; color:var(--gold);}
.dict-term-def{color:var(--cream); font-size:1rem; line-height:1.7;}

/* =========================================================
   RECIPES
   ========================================================= */
.recipes{max-width:var(--container); margin:110px auto; padding:0 var(--gutter);}
.recipe-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:26px;}
.recipe-card{
  cursor:pointer;
  border:1px solid rgba(36,24,19,.12);
  border-radius:var(--radius-md);
  overflow:hidden;
  background:var(--white);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.recipe-card:hover{transform:translateY(-4px); box-shadow:0 16px 30px rgba(19,14,11,.1);}
.recipe-card img{width:100%; aspect-ratio:16/11; object-fit:cover;}
.recipe-body{padding:18px 18px 20px;}
.recipe-meta{
  display:flex; gap:14px; font-size:.78rem; color:var(--text-muted); margin:6px 0 10px;
}
.recipe-body h3{margin-bottom:2px;}

/* =========================================================
   BLOG
   ========================================================= */
.blog{max-width:var(--container); margin:110px auto; padding:0 var(--gutter);}
.blog-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:28px;}
.blog-card img{width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:var(--radius-md); transition:transform .5s var(--ease);}
.blog-card:hover img{transform:scale(1.03);}
.blog-body{padding-top:16px;}
.blog-meta{font-size:.76rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:.04em;}
.blog-body h3{margin:8px 0 6px;}
.blog-body p{color:var(--text-muted); font-size:.88rem; margin-bottom:12px;}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials{background:var(--beige); padding:90px 0 70px;}
.testi-wrap{
  position:relative; max-width:760px; margin:0 auto; padding:0 var(--gutter);
  overflow:hidden;
}
.testi-track{display:flex; transition:transform .5s var(--ease);}
.testi-card{
  flex:0 0 100%;
  text-align:center;
  padding:0 30px;
}
.testi-stars{color:var(--caramel); letter-spacing:2px; margin-bottom:18px; font-size:1rem;}
.testi-quote{
  font-family:var(--font-serif); font-style:italic;
  font-size:1.4rem; line-height:1.5;
  color:var(--espresso);
}
.testi-name{margin-top:22px; font-weight:700;}
.testi-role{color:var(--text-muted); font-size:.85rem;}
.testi-wrap .carousel-nav{background:var(--cream);}
.testi-dots{display:flex; justify-content:center; gap:8px; margin-top:26px;}
.testi-dots button{
  width:8px; height:8px; border-radius:50%; border:none; background:rgba(36,24,19,.25);
  padding:0;
}
.testi-dots button.active{background:var(--caramel); width:22px; border-radius:5px; transition:all .25s var(--ease);}

/* =========================================================
   CAFE EXPERIENCE
   ========================================================= */
.cafe-exp{
  max-width:var(--container); margin:110px auto; padding:0 var(--gutter);
  display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center;
}
.cafe-media{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
}
.cafe-media img{width:100%; height:220px; object-fit:cover; border-radius:var(--radius-md);}
.cafe-media img:first-child{grid-column:1/3; height:280px;}
.cafe-copy h2{margin-bottom:18px;}
.cafe-copy p{color:var(--text-muted); margin-bottom:28px; max-width:44ch;}

/* =========================================================
   VISIT US
   ========================================================= */
.visit{
  max-width:var(--container); margin:0 auto 110px; padding:0 var(--gutter);
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.map-card{
  border-radius:var(--radius-md); overflow:hidden;
  border:1px solid rgba(36,24,19,.12);
  aspect-ratio:4/3.4;
}
.map-card iframe{width:100%; height:100%; border:0;}
.visit-eyebrow{color:var(--caramel); font-weight:700; font-size:.82rem; letter-spacing:.03em; margin-bottom:10px;}
.visit-info h2{margin-bottom:18px;}
.visit-rating{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  font-size:.9rem; color:var(--text-muted); margin-bottom:20px;
}
.visit-rating .stars{color:var(--caramel); letter-spacing:1px;}
.visit-rating strong{color:var(--espresso);}
.visit-rating .dot{opacity:.5;}
.visit-address, .visit-line{margin-bottom:8px; font-size:.94rem; color:var(--text-body);}
.visit-actions{display:flex; gap:12px; flex-wrap:wrap; margin-top:26px;}

/* =========================================================
   WHOLESALE
   ========================================================= */
.wholesale{background:var(--espresso); color:var(--cream); padding:100px var(--gutter);}
.wholesale-inner{max-width:640px; margin:0 auto; text-align:center;}
.wholesale-inner h2{color:var(--white); margin-bottom:16px;}
.wholesale-inner p{color:var(--beige); max-width:46ch; margin:0 auto;}
.wholesale-tags{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
  margin:30px 0 34px;
}
.wholesale-tags span{
  border:1px solid rgba(245,239,230,.3);
  border-radius:100px; padding:8px 16px;
  font-size:.82rem; color:var(--beige);
}

/* =========================================================
   SOCIAL
   ========================================================= */
.social{max-width:var(--container); margin:110px auto; padding:0 var(--gutter);}
.social-grid{
  display:grid; grid-template-columns:repeat(6, 1fr); gap:4px;
}
.social-item{position:relative; aspect-ratio:1/1; overflow:hidden; cursor:pointer;}
.social-item img{width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease);}
.social-overlay{
  position:absolute; inset:0; background:rgba(19,14,11,.55);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  opacity:0; transition:opacity .25s var(--ease);
  color:var(--cream); font-size:.75rem; font-weight:600;
}
.social-item:hover .social-overlay{opacity:1;}
.social-item:hover img{transform:scale(1.08);}

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter{background:var(--beige); padding:90px var(--gutter);}
.newsletter-inner{max-width:560px; margin:0 auto; text-align:center;}
.newsletter-inner p{margin-top:10px; color:var(--text-body);}
#newsletterForm{display:flex; gap:10px; margin-top:28px; flex-wrap:wrap; justify-content:center;}
#newsletterForm input{
  flex:1; min-width:180px; padding:13px 18px;
  border:1px solid rgba(36,24,19,.25); border-radius:var(--radius-sm);
  background:var(--white); font-size:.9rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{background:var(--dark-coffee); color:var(--beige);}
.footer-top{
  max-width:var(--container); margin:0 auto;
  padding:80px var(--gutter) 50px;
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px;
}
.footer-brand p{margin-top:10px; color:rgba(245,239,230,.55); font-size:.88rem;}
.footer-col{display:flex; flex-direction:column; gap:12px;}
.footer-col h4{color:var(--cream); font-family:var(--font-sans); font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:4px;}
.footer-col a{font-size:.88rem; color:rgba(245,239,230,.7); transition:color .2s;}
.footer-col a:hover{color:var(--gold);}
.footer-social{display:flex; gap:10px; margin-top:6px;}
.footer-social a{
  width:32px; height:32px; border-radius:50%; border:1px solid rgba(245,239,230,.25);
  display:flex; align-items:center; justify-content:center; font-size:.68rem;
}
.footer-bottom{
  border-top:1px solid rgba(245,239,230,.12);
  padding:22px var(--gutter);
  text-align:center;
  font-size:.8rem;
  color:rgba(245,239,230,.5);
}

/* =========================================================
   MODALS (quick view / recipe / checkout)
   ========================================================= */
.modal-overlay{
  position:fixed; inset:0; background:rgba(19,14,11,.6);
  z-index:200; display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .25s var(--ease);
  padding:20px;
}
.modal-overlay.open{opacity:1; pointer-events:auto;}
.modal{
  background:var(--cream);
  border-radius:var(--radius-md);
  max-width:900px; width:100%;
  max-height:88vh; overflow-y:auto;
  position:relative;
  transform:translateY(16px); transition:transform .3s var(--ease);
}
.modal-overlay.open .modal{transform:translateY(0);}
.modal-close{
  position:absolute; top:16px; right:16px; z-index:5;
  width:34px; height:34px; border-radius:50%;
  background:var(--white); border:none; font-size:1.3rem;
  display:flex; align-items:center; justify-content:center;
}

.quick-view{display:grid; grid-template-columns:1fr 1fr;}
.qv-media{background:var(--beige);}
.qv-media img{width:100%; height:100%; object-fit:cover; min-height:340px;}
.qv-body{padding:44px 40px;}
.qv-category{font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color:var(--caramel); font-weight:700; margin-bottom:8px;}
.qv-body h3{font-size:1.7rem; margin-bottom:8px;}
.qv-rating{font-size:.85rem; color:var(--caramel); margin-bottom:14px;}
.qv-rating span{color:var(--text-muted);}
.qv-desc{color:var(--text-muted); margin-bottom:16px;}
.qv-price{font-size:1.3rem; font-weight:700; margin-bottom:22px;}
.qv-price small{font-size:.8rem; font-weight:500; color:var(--text-muted);}
.qv-option{margin-bottom:20px;}
.qv-option label{display:block; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; color:var(--text-muted);}
.grind-options{display:flex; gap:8px; flex-wrap:wrap;}
.grind-options button{
  padding:8px 14px; border-radius:100px; border:1px solid rgba(36,24,19,.25);
  background:transparent; font-size:.82rem;
}
.grind-options button.active{background:var(--espresso); color:var(--cream); border-color:var(--espresso);}
.qty-control{display:flex; align-items:center; gap:0; border:1px solid rgba(36,24,19,.25); border-radius:var(--radius-sm); width:fit-content;}
.qty-control button{width:38px; height:38px; background:none; border:none; font-size:1.1rem;}
.qty-control span{width:36px; text-align:center; font-weight:600;}
.qv-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap;}
.qv-wishlist{border:1px solid rgba(36,24,19,.2); border-radius:var(--radius-sm); width:46px; height:46px;}
.qv-wishlist.active{color:var(--caramel); border-color:var(--caramel);}

.recipe-modal{display:grid; grid-template-columns:.9fr 1.1fr; max-width:820px;}
.rm-media img{width:100%; height:100%; object-fit:cover; min-height:300px;}
.rm-body{padding:44px 38px;}
.rm-body h3{font-size:1.6rem; margin-bottom:8px;}
.rm-meta{color:var(--text-muted); font-size:.85rem; margin-bottom:20px;}
.rm-steps{padding-left:20px; display:grid; gap:12px;}
.rm-steps li{color:var(--text-body); line-height:1.6;}

.checkout-modal{max-width:480px; padding:44px 38px;}
.checkout-modal h3{margin-bottom:14px;}
.checkout-modal p{color:var(--text-muted); font-size:.9rem; margin-bottom:20px;}
.checkout-summary{
  border-top:1px solid rgba(36,24,19,.15); border-bottom:1px solid rgba(36,24,19,.15);
  padding:16px 0; margin-bottom:22px; display:grid; gap:8px; font-size:.9rem;
}
.checkout-summary .cs-line{display:flex; justify-content:space-between;}
.checkout-summary .cs-total{font-weight:700; font-size:1rem;}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-overlay{
  position:fixed; inset:0; background:rgba(19,14,11,.5);
  z-index:150; opacity:0; pointer-events:none; transition:opacity .3s var(--ease);
}
.cart-overlay.show{opacity:1; pointer-events:auto;}
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(420px, 92vw);
  background:var(--cream);
  z-index:160;
  transform:translateX(100%);
  transition:transform .35s var(--ease);
  display:flex; flex-direction:column;
}
.cart-drawer.open{transform:translateX(0);}
.cart-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:22px 24px; border-bottom:1px solid rgba(36,24,19,.12);
}
.cart-head h3{font-size:1.3rem;}
.cart-head button{background:none; border:none; font-size:1.5rem;}
.cart-items{flex:1; overflow-y:auto; padding:10px 24px;}
.cart-item{
  display:grid; grid-template-columns:64px 1fr auto; gap:14px;
  padding:16px 0; border-bottom:1px solid rgba(36,24,19,.08);
}
.cart-item img{width:64px; height:64px; object-fit:cover; border-radius:var(--radius-sm);}
.ci-name{font-size:.92rem; font-weight:600;}
.ci-meta{font-size:.76rem; color:var(--text-muted); margin:2px 0 8px;}
.ci-qty{display:flex; align-items:center; gap:0; border:1px solid rgba(36,24,19,.2); border-radius:var(--radius-sm); width:fit-content;}
.ci-qty button{width:26px; height:26px; background:none; border:none; font-size:.95rem;}
.ci-qty span{width:24px; text-align:center; font-size:.85rem;}
.ci-price{font-weight:700; font-size:.9rem; text-align:right;}
.ci-remove{background:none; border:none; color:var(--text-muted); font-size:.76rem; text-decoration:underline; margin-top:8px;}
.cart-empty{padding:60px 24px; text-align:center; color:var(--text-muted);}
.cart-empty p{margin-bottom:18px;}
.cart-footer{border-top:1px solid rgba(36,24,19,.12); padding:20px 24px 26px;}
.coupon-row{display:flex; gap:8px; margin-bottom:8px;}
.coupon-row input{flex:1; padding:10px 12px; border:1px solid rgba(36,24,19,.25); border-radius:var(--radius-sm);}
.coupon-msg{font-size:.8rem; color:var(--caramel); font-weight:600; margin-bottom:10px;}
.cart-line{display:flex; justify-content:space-between; font-size:.88rem; padding:6px 0; color:var(--text-muted);}
.cart-line.total{font-size:1.05rem; font-weight:700; color:var(--espresso); border-top:1px solid rgba(36,24,19,.15); margin-top:6px; padding-top:12px;}
.cart-actions{display:flex; gap:10px; margin-top:16px;}
.cart-actions .btn{flex:1;}

/* =========================================================
   TOAST
   ========================================================= */
.toast{
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--espresso); color:var(--cream);
  padding:13px 24px; border-radius:100px;
  font-size:.86rem; font-weight:600;
  z-index:300;
  opacity:0; pointer-events:none;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1080px){
  .categories{grid-template-columns:repeat(2, 1fr);}
  .edu-grid, .recipe-grid, .blog-grid{grid-template-columns:repeat(2, 1fr);}
  .why-us, .cafe-exp, .visit{grid-template-columns:1fr;}
  .why-us-media img{height:360px;}
  .subscription{grid-template-columns:1fr;}
  .subscription-copy{margin:0; padding:70px var(--gutter);}
  .subscription-media img{min-height:320px;}
  .footer-top{grid-template-columns:1fr 1fr;}
}

@media(max-width:760px){
  .main-nav, .sub-nav{display:none;}
  .hamburger{display:flex;}
  .header-inner{padding:14px var(--gutter);}
  .categories{grid-template-columns:1fr 1fr;}
  .cat-card img{height:200px;}
  .edu-grid, .recipe-grid, .blog-grid{grid-template-columns:1fr;}
  .quick-view, .recipe-modal{grid-template-columns:1fr;}
  .qv-media img, .rm-media img{min-height:220px;}
  .qv-body, .rm-body{padding:30px 24px;}
  .social-grid{grid-template-columns:repeat(3, 1fr);}
  .footer-top{grid-template-columns:1fr 1fr; gap:32px;}
  .hero{min-height:92vh;}
  .visit-actions .btn{flex:1; min-width:130px;}
}

@media(max-width:480px){
  .categories{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;}
  .cart-drawer{width:100vw;}
}
