/* =====================================================
   Veran Honey — Brand Stylesheet
   Palette: deep maroon #570600, honey gold #F4CA2E,
            warm cream #FFF8E7, ink #2A1505
   Type: "Fraunces" (display, characterful, low-contrast
         serif with honey-drip curves) + "Jost" (body/UI)
   Signature: the honey-drip divider (clip-path wave) used
         between sections, echoed in the cart icon & buttons
   ===================================================== */

:root{
  --maroon: #570600;
  --maroon-dark: #3c0400;
  --gold: #F4CA2E;
  --gold-soft: #FBE49A;
  --cream: #FFF8E7;
  --ink: #2A1505;
  --muted: #8a6a55;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(87,6,0,0.12);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Jost', Arial, sans-serif;
  font-size:16px;
  line-height:1.6;
}
h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  color:var(--maroon);
  margin:0 0 .5em;
  line-height:1.1;
}
a{color:var(--maroon); text-decoration:none;}
img{max-width:100%; display:block;}
.container{max-width:1180px; margin:0 auto; padding:0 24px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px;
  border-radius:999px;
  font-family:'Jost', sans-serif;
  font-weight:600;
  letter-spacing:.02em;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--maroon); color:var(--gold-soft);}
.btn-primary:hover{box-shadow:var(--shadow);}
.btn-gold{background:var(--gold); color:var(--maroon);}
.btn-gold:hover{box-shadow:0 10px 24px rgba(244,202,46,.45);}
.btn-outline{background:transparent; border-color:var(--maroon); color:var(--maroon);}
.btn-outline:hover{background:var(--maroon); color:var(--gold-soft);}
.btn-block{width:100%; justify-content:center;}
.btn-sm{padding:8px 16px; font-size:.85rem;}

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--cream);
  border-bottom:1px solid rgba(87,6,0,0.1);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 24px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  font-family:'Fraunces', serif;
  font-size:1.5rem; font-weight:700;
  color:var(--maroon);
}
.logo .drop{
  width:22px;height:26px;background:var(--gold);
  clip-path:path('M11 0 C 17 10, 22 16, 22 20 A 11 11 0 1 1 0 20 C 0 16, 5 10, 11 0 Z');
  flex-shrink:0;
}
nav.main-nav{display:flex; gap:28px; align-items:center;}
nav.main-nav a{
  font-weight:500; color:var(--ink); font-size:.95rem;
  position:relative;
}
nav.main-nav a:hover{color:var(--maroon);}
.cart-link{
  display:flex; align-items:center; gap:6px;
  background:var(--maroon); color:var(--gold-soft);
  padding:9px 16px; border-radius:999px; font-weight:600; font-size:.9rem;
}
.cart-badge{
  background:var(--gold); color:var(--maroon);
  border-radius:999px; padding:1px 8px; font-size:.75rem; font-weight:700;
}

/* ---------- Mobile nav / hamburger ---------- */
.mobile-bar{display:none; align-items:center; gap:14px;}
.cart-link--mobile{padding:8px 12px;}

.mobile-toggle{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; padding:0;
  background:transparent; border:none; cursor:pointer;
}
.mobile-toggle span{
  display:block; width:100%; height:2.5px; background:var(--maroon);
  border-radius:2px; transition:transform .25s ease, opacity .25s ease;
}
.mobile-toggle.is-active span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
.mobile-toggle.is-active span:nth-child(2){opacity:0;}
.mobile-toggle.is-active span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

.mobile-nav{
  display:flex; flex-direction:column;
  max-height:0; overflow:hidden;
  background:var(--cream);
  border-top:1px solid rgba(87,6,0,0.1);
  transition:max-height .3s ease;
}
.mobile-nav.is-open{max-height:340px;}
.mobile-nav a{
  padding:16px 24px; color:var(--ink); font-weight:500;
  border-bottom:1px solid rgba(87,6,0,0.08);
}
.mobile-nav a:hover{color:var(--maroon); background:#fff6df;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  background:linear-gradient(180deg, var(--cream) 0%, #fff1c9 100%);
  overflow:hidden;
  padding:72px 0 0;
}
.hero-inner{
  display:grid; grid-template-columns:1.1fr .9fr; gap:48px;
  align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.78rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--maroon); font-weight:700; margin-bottom:18px;
}
.eyebrow::before{content:''; width:8px;height:8px;border-radius:50%;background:var(--gold);}
.hero h1{font-size:3.1rem; max-width:560px;}
.hero p.lead{font-size:1.15rem; color:var(--ink); max-width:480px; opacity:.85; margin-bottom:28px;}
.hero-actions{display:flex; gap:16px; flex-wrap:wrap;}
.hero-art{
  position:relative; display:flex; align-items:center; justify-content:center;
}

/* ---------- Jar frame: holds a real product photo, clipped to a jar
   silhouette, with a lid on top and an optional caption underneath.
   Use .jar-frame--hero (homepage hero), .jar-frame--card (grid thumbnails),
   .jar-frame--detail (product page). Falls back to the gold gradient
   background if no image is supplied or the image fails to load. ---------- */
.jar-frame{
  position:relative;
  border-radius:30px 30px 60px 60px;
  background:radial-gradient(circle at 35% 20%, #fff7da, var(--gold) 55%, #d8a512 100%);
  box-shadow:var(--shadow);
  overflow:hidden;
  isolation:isolate;
}
.jar-frame::before{ /* lid */
display: none;
  content:'';
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:62%; height:14%; background:var(--gold); border-radius:10px 10px 0 0;
  z-index:2;
}
.jar-frame img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  z-index:1;
}
.jar-frame .jar-caption{
  position:absolute; bottom:24px; left:0; right:0; text-align:center;
  font-family:'Fraunces', serif; font-style:italic; color:var(--maroon-dark);
  font-size:.85rem; padding:0 20px; z-index:2;
  text-shadow:0 1px 6px rgba(255,255,255,.5);
}

.jar-frame--hero{width:100%; max-width:340px; aspect-ratio:3/4;}
.jar-frame--card{width:90px; height:120px; margin:0 auto;}
.jar-frame--card::before{height:18%;}
.jar-frame--detail{width:100%; max-width:260px; aspect-ratio:3/4; margin:0 auto;}

/* drip divider */
.drip-divider{
  width:100%; height:46px; display:block;
  margin-top:48px;
}

/* ---------- Trust strip ---------- */
.trust-strip{
  background:var(--maroon); color:var(--gold-soft);
  padding:14px 0;
}
.trust-strip .container{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px;
  font-size:.85rem; letter-spacing:.02em;
}
.trust-strip span{display:flex; align-items:center; gap:8px;}
.trust-strip span::before{content:'●'; color:var(--gold); font-size:.6rem;}

/* ---------- Sections ---------- */
section{padding:72px 0;}
.section-head{text-align:center; max-width:620px; margin:0 auto 48px;}
.section-head .eyebrow{justify-content:center; display:flex;}
.section-head p{opacity:.8;}

/* ---------- Product grid ---------- */
.product-grid{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:28px;
}
.product-card{
  background:var(--white); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow);
  display:flex; flex-direction:column;
  transition:transform .2s ease;
}
.product-card:hover{transform:translateY(-4px);}
.product-thumb{
  height:200px;
  background:linear-gradient(160deg, var(--gold-soft), var(--gold));
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.product-body{padding:22px; display:flex; flex-direction:column; gap:10px; flex:1;}
.product-body h3{font-size:1.25rem; margin-bottom:0;}
.product-body p{font-size:.92rem; color:var(--muted); margin:0; flex:1;}
.price-from{font-weight:700; color:var(--maroon); font-size:1rem;}
.size-pills{display:flex; flex-wrap:wrap; gap:6px; margin:4px 0;}
.size-pill{
  font-size:.72rem; padding:3px 10px; border-radius:999px;
  background:var(--cream); border:1px solid var(--gold);
  color:var(--maroon-dark);
}

/* ---------- Product detail ---------- */
.product-detail{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:flex-start;
}
.detail-jar{
  background:linear-gradient(160deg, var(--gold-soft), var(--gold));
  border-radius:var(--radius); padding:60px; display:flex; justify-content:center;
}
.size-options{display:flex; flex-direction:column; gap:10px; margin:18px 0;}
.size-option{
  display:flex; align-items:center; justify-content:space-between;
  border:2px solid #eee0bb; border-radius:10px; padding:12px 16px; cursor:pointer;
  transition:border-color .15s, background .15s;
}
.size-option input{margin-right:12px;}
.size-option.active, .size-option:hover{border-color:var(--gold); background:#fffaf0;}
.size-option .opt-price{font-weight:700; color:var(--maroon);}
.qty-row{display:flex; align-items:center; gap:14px; margin:18px 0;}
.qty-control{display:flex; align-items:center; border:2px solid var(--maroon); border-radius:999px; overflow:hidden;}
.qty-control button{
  background:var(--maroon); color:var(--gold); border:none; width:38px; height:38px;
  font-size:1.1rem; cursor:pointer;
}
.qty-control input{
  width:50px; text-align:center; border:none; font-weight:700; font-size:1rem; color:var(--ink);
}

/* ---------- Cart / Checkout tables ---------- */
.cart-table{width:100%; border-collapse:collapse; background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);}
.cart-table th, .cart-table td{padding:16px; text-align:left; border-bottom:1px solid #f1e6c8;}
.cart-table th{background:var(--maroon); color:var(--gold-soft); font-weight:600; font-size:.85rem;}
.cart-table tr:last-child td{border-bottom:none;}
.cart-item-name{font-weight:600; color:var(--maroon);}
.cart-item-size{font-size:.82rem; color:var(--muted);}
.remove-link{color:#a33; font-size:.82rem;}
.cart-summary{
  background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:24px; max-width:380px; margin-left:auto;
}
.summary-row{display:flex; justify-content:space-between; padding:8px 0; font-size:.95rem;}
.summary-row.total{font-weight:700; font-size:1.1rem; border-top:1px solid #f1e6c8; margin-top:8px; padding-top:14px; color:var(--maroon);}

/* ---------- Forms ---------- */
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.form-group{margin-bottom:18px; display:flex; flex-direction:column; gap:6px;}
.form-group label{font-size:.85rem; font-weight:600; color:var(--maroon-dark);}
.form-group input, .form-group select, .form-group textarea{
  padding:12px 14px; border:2px solid #eee0bb; border-radius:10px;
  font-family:inherit; font-size:.95rem; background:var(--white); color:var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline:none; border-color:var(--maroon);
}
.full-width{grid-column:1/-1;}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--maroon-dark); color:#f4e3c5; padding:56px 0 28px; margin-top:60px;
}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr; gap:36px; margin-bottom:36px;}
footer.site-footer h4{color:var(--gold);}
footer.site-footer a{color:#f4e3c5; opacity:.85;}
footer.site-footer a:hover{opacity:1; color:var(--gold);}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12); padding-top:18px; font-size:.82rem; opacity:.7; text-align:center;}

/* ---------- Alerts ---------- */
.alert{padding:14px 18px; border-radius:10px; margin-bottom:20px; font-size:.92rem;}
.alert-success{background:#e3f5e1; color:#216b26; border:1px solid #b9e3b6;}
.alert-error{background:#fde7e3; color:#9a2c1d; border:1px solid #f5b8ab;}

/* ---------- Empty state ---------- */
.empty-state{text-align:center; padding:60px 20px;}
.empty-state .drop-icon{width:50px;height:60px;margin:0 auto 18px;background:var(--gold);
  clip-path:path('M25 0 C 39 24, 50 36, 50 46 A 25 25 0 1 1 0 46 C 0 36, 11 24, 25 0 Z');}

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero-inner, .product-detail, .form-grid, .footer-grid{grid-template-columns:1fr;}
  nav.main-nav{display:none;}
  .mobile-bar{display:flex;}
  .mobile-toggle{display:flex;}
  .hero h1{font-size:2.2rem;}
  .cart-summary{margin-left:0;}
}

/* floating WA */
.wa-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none; transition: transform 0.3s, box-shadow 0.3s;
}
.wa-btn:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.wa-btn:hover .wa-tooltip { opacity: 1; }