/* =========================================================================
   MAKSASALI — Design tokens
   Palette:  honey gold, deep amber, espresso, hive cream, peanut tan, sage
   Type:     Fraunces (display) / Inter (body) / JetBrains Mono (utility)
   Signature: honeycomb hex grid + a bee that physically flies the order
              from cart to WhatsApp
   ========================================================================= */
:root{
  --honey:        #E8A33D;
  --honey-dark:   #C97A1E;
  --amber-deep:   #9C5A16;
  --espresso:     #2B1B10;
  --espresso-70:  rgba(43,27,16,.7);
  --cream:        #FBF3E1;
  --cream-soft:   #FFFCF4;
  --peanut:       #C99A6B;
  --sage:         #55643C;
  --sage-dark:    #3C4829;
  --white:        #FFFDF9;
  --danger:       #B4432E;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, Segoe UI, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 12px 32px rgba(43,27,16,.10);
  --shadow-pop:  0 18px 44px rgba(43,27,16,.18);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--cream);
  color:var(--espresso);
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0 0 .4em; line-height:1.12; font-weight:600; }
p{ margin:0 0 1em; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
button{ font-family:inherit; cursor:pointer; }

/* Respect reduced motion everywhere */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

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

/* ---------------------------------------------------------------------
   Honeycomb texture — used sparingly: page bg watermark + section dividers
   --------------------------------------------------------------------- */
.honeycomb-bg{
  background-image:
    radial-gradient(circle at 1px 1px, rgba(43,27,16,.05) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
}
.hex-divider{
  height:34px;
  background-image: linear-gradient(150deg,var(--cream) 12%, transparent 12.5%, transparent 87%, var(--cream) 87.5%, var(--cream)),
                     linear-gradient(30deg, var(--cream) 12%, transparent 12.5%, transparent 87%, var(--cream) 87.5%, var(--cream)),
                     linear-gradient(150deg,var(--honey) 12%, transparent 12.5%, transparent 87%, var(--honey) 87.5%, var(--honey)),
                     linear-gradient(30deg, var(--honey) 12%, transparent 12.5%, transparent 87%, var(--honey) 87.5%, var(--honey));
  background-size: 34px 60px;
  background-position: 0 0, 0 0, 17px 30px, 17px 30px;
  opacity:.9;
}

/* ---------------------------------------------------------------------
   Top announcement + Nav
   --------------------------------------------------------------------- */
.announce{
  background:var(--espresso); color:var(--cream);
  text-align:center; font-size:13px; letter-spacing:.04em; padding:8px 12px;
}
.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(251,243,225,.92); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(43,27,16,.08);
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-display); font-weight:700; font-size:22px; color:var(--espresso); }
.brand .dot{ color:var(--honey-dark); }
.nav-links{ display:flex; gap:28px; align-items:center; font-size:15px; font-weight:500; }
.nav-links a:hover{ color:var(--honey-dark); }
.nav-actions{ display:flex; align-items:center; gap:16px; }
.cart-btn{ position:relative; display:flex; align-items:center; gap:8px; background:var(--espresso); color:var(--cream); padding:10px 16px; border-radius:999px; font-weight:600; font-size:14px; border:none; }
.cart-count{ background:var(--honey); color:var(--espresso); border-radius:999px; padding:1px 7px; font-size:12px; font-weight:700; }
.burger{ display:none; background:none; border:none; font-size:26px; }

@media (max-width:860px){
  .nav-links{ display:none; }
  .burger{ display:block; }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg,var(--cream-soft) 0%, var(--cream) 100%);
  padding:64px 0 40px;
}
.hero .container{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:center; }
.eyebrow{ display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:var(--honey-dark); margin-bottom:16px;}
.hero h1{ font-size:clamp(38px,5vw,60px); color:var(--espresso); }
.hero h1 em{ font-style:normal; color:var(--honey-dark); }
.hero p.lead{ font-size:18px; color:var(--espresso-70); max-width:46ch; }
.hero-ctas{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--honey-dark); color:var(--white); box-shadow:var(--shadow-soft); }
.btn-primary:hover{ box-shadow:var(--shadow-pop); }
.btn-ghost{ background:transparent; border-color:var(--espresso); color:var(--espresso); }
.btn-whatsapp{ background:#25D366; color:#04220f; }
.trust-row{ display:flex; gap:26px; margin-top:34px; flex-wrap:wrap; }
.trust-row .stat b{ display:block; font-family:var(--font-display); font-size:24px; color:var(--espresso); }
.trust-row .stat span{ font-size:12.5px; color:var(--espresso-70); text-transform:uppercase; letter-spacing:.05em; }

/* Hero visual: honeycomb frame holding the ad slot (photo/video rotator) */
.hero-visual{ position:relative; }
.hive-frame{
  position:relative; border-radius:32px; overflow:hidden; aspect-ratio:4/5;
  background:var(--espresso); box-shadow:var(--shadow-pop);
}
.hive-frame::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(20,12,6,.55) 100%);
}
.ad-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.1s ease; }
.ad-slide.active{ opacity:1; }
.ad-slide img, .ad-slide video{ width:100%; height:100%; object-fit:cover; }
.ad-caption{ position:absolute; left:20px; right:20px; bottom:18px; color:#fff; z-index:2; }
.ad-caption .tag{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--honey); font-weight:700; }
.ad-caption h3{ margin:4px 0 0; font-size:22px; }
.ad-dots{ position:absolute; right:18px; bottom:18px; display:flex; gap:6px; z-index:3; }
.ad-dots button{ width:8px; height:8px; border-radius:50%; border:none; background:rgba(255,255,255,.45); }
.ad-dots button.active{ background:var(--honey); width:20px; border-radius:6px; }

/* Flying bee decoration, ambient not overdone */
.bee{
  position:absolute; width:26px; height:26px; z-index:5;
  animation: bee-float 7s ease-in-out infinite;
  filter:drop-shadow(0 4px 6px rgba(0,0,0,.25));
}
.bee.b1{ top:8%; left:-6%; animation-delay:0s; }
.bee.b2{ top:60%; right:-4%; animation-delay:1.8s; animation-duration:9s; }
@keyframes bee-float{
  0%{ transform:translate(0,0) rotate(0deg); }
  25%{ transform:translate(40px,-18px) rotate(6deg); }
  50%{ transform:translate(85px,4px) rotate(-4deg); }
  75%{ transform:translate(40px,20px) rotate(5deg); }
  100%{ transform:translate(0,0) rotate(0deg); }
}

/* ---------------------------------------------------------------------
   Category strip
   --------------------------------------------------------------------- */
.section{ padding:68px 0; }
.section-head{ display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:32px; gap:20px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(28px,3.4vw,38px); }
.section-head p{ color:var(--espresso-70); margin:0; max-width:50ch; }
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.cat-card{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:1/1.05;
  background:var(--peanut); box-shadow:var(--shadow-soft); transition:transform .25s ease;
}
.cat-card:hover{ transform:translateY(-6px); }
.cat-card img{ width:100%; height:100%; object-fit:cover; }
.cat-card .overlay{ position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(20,12,6,.72) 100%); }
.cat-card .label{ position:absolute; left:20px; bottom:18px; color:#fff; }
.cat-card .label span{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--honey); font-weight:700; }
.cat-card .label h3{ margin:2px 0 0; font-size:22px; }

@media (max-width:860px){ .cat-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------
   Products
   --------------------------------------------------------------------- */
.product-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.product-card{
  background:var(--white); border-radius:var(--radius-md); overflow:hidden;
  box-shadow:var(--shadow-soft); display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}
.product-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-pop); }
.product-thumb{
  position:relative; aspect-ratio:1/1; background:var(--cream);
  clip-path:polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  margin:16px auto 0; width:88%; overflow:hidden;
}
.product-thumb img{ width:100%; height:100%; object-fit:cover; }
.badge{ position:absolute; top:8px; left:8px; background:var(--sage); color:#fff; font-size:11px; font-weight:700; padding:4px 9px; border-radius:999px; text-transform:uppercase; letter-spacing:.04em; }
.product-body{ padding:16px 18px 20px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-body .unit{ font-size:12.5px; color:var(--espresso-70); text-transform:uppercase; letter-spacing:.04em; }
.product-body h3{ font-size:17px; margin:0; }
.price-row{ display:flex; align-items:baseline; gap:8px; margin-top:auto; padding-top:10px; }
.price{ font-family:var(--font-mono); font-weight:700; font-size:17px; color:var(--honey-dark); }
.price-old{ font-family:var(--font-mono); font-size:13px; color:var(--espresso-70); text-decoration:line-through; }
.add-btn{
  margin-top:12px; width:100%; background:var(--espresso); color:var(--cream);
  border:none; border-radius:999px; padding:11px; font-weight:700; font-size:14px;
  display:flex; align-items:center; justify-content:center; gap:8px; transition:background .15s ease;
}
.add-btn:hover{ background:var(--honey-dark); color:var(--espresso); }

@media (max-width:1000px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .product-grid{ grid-template-columns:1fr 1fr; gap:14px; } }

/* ---------------------------------------------------------------------
   Trust / story band
   --------------------------------------------------------------------- */
.band{ background:var(--espresso); color:var(--cream); }
.band .container{ padding:64px 24px; display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.band h2{ color:#fff; }
.band p{ color:rgba(251,243,225,.78); }
.feature-list{ list-style:none; margin:22px 0 0; padding:0; display:grid; gap:14px; }
.feature-list li{ display:flex; gap:12px; align-items:flex-start; }
.feature-list .ico{ width:34px; height:34px; border-radius:10px; background:var(--honey); color:var(--espresso); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-weight:700; }

/* ---------------------------------------------------------------------
   Lead capture strip
   --------------------------------------------------------------------- */
.lead-strip{ background:var(--honey); color:var(--espresso); }
.lead-strip .container{ padding:40px 24px; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.lead-strip h3{ margin:0 0 4px; font-size:22px; }
.lead-strip p{ margin:0; opacity:.85; }
.lead-form{ display:flex; gap:10px; flex-wrap:wrap; }
.lead-form input{ padding:12px 16px; border-radius:999px; border:2px solid var(--espresso); font-size:14px; min-width:200px; }
.lead-form button{ background:var(--espresso); color:var(--cream); border:none; padding:12px 22px; border-radius:999px; font-weight:700; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer{ background:var(--espresso); color:rgba(251,243,225,.7); padding:52px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; }
.footer-grid h4{ color:#fff; font-size:14px; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.footer-grid a{ display:block; padding:5px 0; font-size:14px; }
.footer-grid a:hover{ color:var(--honey); }
.footer-bottom{ margin-top:36px; padding-top:20px; border-top:1px solid rgba(251,243,225,.12); font-size:13px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } .band .container{ grid-template-columns:1fr; } .hero .container{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------
   Cart drawer
   --------------------------------------------------------------------- */
.drawer-overlay{ position:fixed; inset:0; background:rgba(20,12,6,.5); z-index:90; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.drawer-overlay.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(420px,92vw); background:var(--cream-soft);
  z-index:91; transform:translateX(100%); transition:transform .3s ease; display:flex; flex-direction:column;
  box-shadow:-14px 0 40px rgba(0,0,0,.2);
}
.drawer.open{ transform:translateX(0); }
.drawer-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 22px; border-bottom:1px solid rgba(43,27,16,.1); }
.drawer-items{ flex:1; overflow-y:auto; padding:14px 22px; display:flex; flex-direction:column; gap:14px; }
.drawer-item{ display:flex; gap:12px; align-items:center; }
.drawer-item img{ width:56px; height:56px; object-fit:cover; border-radius:10px; }
.drawer-item .info{ flex:1; }
.drawer-item .info h4{ margin:0; font-size:14px; }
.qty-controls{ display:flex; align-items:center; gap:8px; margin-top:4px; }
.qty-controls button{ width:24px; height:24px; border-radius:50%; border:1px solid var(--espresso); background:none; font-weight:700; }
.drawer-foot{ padding:18px 22px 22px; border-top:1px solid rgba(43,27,16,.1); }
.drawer-total{ display:flex; justify-content:space-between; font-weight:700; margin-bottom:14px; font-family:var(--font-mono); }
.close-btn{ background:none; border:none; font-size:22px; }

/* ---------------------------------------------------------------------
   Bee-to-WhatsApp checkout transition overlay
   --------------------------------------------------------------------- */
.bee-transit{
  position:fixed; inset:0; background:var(--cream); z-index:200;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.bee-transit.active{ opacity:1; pointer-events:auto; }
.bee-transit .fly-path{ position:relative; width:min(560px,86vw); height:120px; }
.bee-transit .flying-bee{ position:absolute; top:50%; left:0; width:46px; height:46px; transform:translateY(-50%); animation:fly-across 1.7s cubic-bezier(.5,0,.5,1) forwards; }
@keyframes fly-across{
  0%{ left:0; transform:translateY(-50%) rotate(0deg) scale(1); }
  40%{ transform:translateY(-70%) rotate(-8deg) scale(1.05); }
  70%{ transform:translateY(-30%) rotate(6deg) scale(1.05); }
  100%{ left:calc(100% - 46px); transform:translateY(-50%) rotate(0deg) scale(1); }
}
.bee-transit .trail{ position:absolute; top:50%; left:0; right:0; height:2px; border-top:3px dashed rgba(201,122,30,.35); }
.bee-transit p{ margin-top:22px; font-family:var(--font-display); font-size:18px; color:var(--espresso); }
.bee-transit .sub{ font-family:var(--font-body); font-size:13px; color:var(--espresso-70); }

/* Utility */
.mono{ font-family:var(--font-mono); }
.center{ text-align:center; }
.stack-gap{ display:flex; flex-direction:column; gap:14px; }
