/* ==========================================================================
   Birwadkar Foods — Design tokens
   Palette: warm off-white ground, spiced-orange accent, konkan-green accent,
   charcoal-brown text. Chosen from the brief; kept deliberately narrow.
   Type: "Fraunces" (warm, ink-trap serif — reads like tea-tin lettering)
         for display, "Work Sans" for body/UI — humanist, not neutral-cold.
   ========================================================================== */

:root{
  --cream: #FAF5EC;
  --cream-deep: #F1E6D3;
  --paper: #FFFDF9;
  --charcoal: #2B2320;
  --charcoal-soft: #55483F;
  --orange: #C1622B;
  --orange-deep: #9C4A1D;
  --green: #2F6B3F;
  --green-deep: #1F4D2C;
  --line: rgba(43,35,32,0.14);
  --shadow: 0 12px 30px -18px rgba(43,35,32,0.35);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 26px;

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

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--charcoal);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-display); margin:0; color:var(--charcoal); font-weight:600; }
p{ margin:0; }
.container{ max-width:1180px; margin:0 auto; padding:0 28px; }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; border:1px solid transparent;
  font-size:0.95rem; font-weight:600; letter-spacing:0.01em;
  transition:transform 220ms var(--ease), background 220ms var(--ease), box-shadow 220ms var(--ease);
  text-decoration:none; white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{ background:var(--orange); color:var(--paper); }
.btn-primary:hover{ background:var(--orange-deep); box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; border-color:var(--charcoal); color:var(--charcoal); }
.btn-ghost:hover{ background:var(--charcoal); color:var(--paper); }
.btn-outline-light{ background:transparent; border-color:rgba(255,253,249,0.6); color:var(--paper); }
.btn-outline-light:hover{ background:var(--paper); color:var(--charcoal); }
.btn-small{ padding:9px 16px; font-size:0.85rem; }
.btn[disabled]{ opacity:0.5; cursor:not-allowed; }
.btn-block{ width:100%; }

/* ---------- Navbar ---------- */
.navbar{
  position:fixed; top:0; left:0; right:0; z-index:50;
  padding:22px 0;
  transition:padding 320ms var(--ease);
}
.navbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 8px 6px 20px;
  border-radius:999px;
  transition:background 320ms var(--ease), box-shadow 320ms var(--ease), padding 320ms var(--ease), border-color 320ms var(--ease);
  border:1px solid transparent;
  background:rgba(193,98,43,0.10);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.navbar.scrolled{ padding:12px 0; }
.navbar.scrolled .navbar-inner{
  background:rgba(193,98,43,0.16);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 10px 34px -20px rgba(43,35,32,0.45);
  border-color:rgba(193,98,43,0.22);
  padding:8px 8px 8px 22px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand img{ height:34px; width:auto; }
.brand-name{ font-family:var(--font-display); font-size:1.15rem; font-weight:600; color:var(--charcoal); }
.nav-links{ display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0; }
.nav-links a{
  text-decoration:none; font-size:0.95rem; font-weight:500; color:var(--charcoal-soft);
  position:relative; padding:4px 0; transition:color 200ms var(--ease);
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:2px; background:var(--orange);
  transition:right 260ms var(--ease);
}
.nav-links a:hover{ color:var(--charcoal); }
.nav-links a:hover::after{ right:0; }
.nav-right{ display:flex; align-items:center; gap:14px; }
.icon-btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:var(--paper);
  transition:background 200ms var(--ease), transform 200ms var(--ease);
}
.icon-btn:hover{ background:var(--cream-deep); }
.icon-btn:active{ transform:scale(0.94); }
.cart-badge{
  position:absolute; top:-4px; right:-4px; min-width:19px; height:19px; padding:0 4px;
  border-radius:999px; background:var(--orange); color:var(--paper);
  font-size:0.68rem; font-weight:700; display:flex; align-items:center; justify-content:center;
  transform:scale(0); transition:transform 220ms var(--ease);
}
.cart-badge.show{ transform:scale(1); }
.hamburger{ display:none; }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .hamburger{ display:inline-flex; }
}

/* Mobile menu */
.mobile-menu{
  position:fixed; inset:0; z-index:60; background:var(--paper);
  display:flex; flex-direction:column; padding:26px 28px;
  transform:translateY(-8px); opacity:0; pointer-events:none;
  transition:opacity 260ms var(--ease), transform 260ms var(--ease);
}
.mobile-menu.open{ opacity:1; transform:translateY(0); pointer-events:auto; }
.mobile-menu-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:40px; }
.mobile-menu nav{ display:flex; flex-direction:column; gap:6px; }
.mobile-menu nav a{
  text-decoration:none; color:var(--charcoal); font-family:var(--font-display);
  font-size:1.9rem; padding:14px 0; border-bottom:1px solid var(--line);
}
.close-btn{ background:none; border:none; font-size:1.6rem; color:var(--charcoal); width:44px; height:44px; }

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:170px 0 90px; overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.eyebrow{ color:var(--green-deep); font-weight:600; font-size:0.85rem; margin-bottom:18px; display:block; }
.hero h1{
  font-size:clamp(2.4rem, 4.6vw, 3.7rem); line-height:1.06; letter-spacing:-0.01em;
}
.hero p.lead{
  margin-top:22px; max-width:46ch; color:var(--charcoal-soft); font-size:1.08rem;
}
.hero-ctas{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; }
.hero-art{ position:relative; }
.hero-art img{
  width:100%; border-radius:var(--radius-l); box-shadow:var(--shadow);
  object-fit:cover; aspect-ratio:4/5;
}
.hero-leaf{
  position:absolute; bottom:-30px; left:-30px; width:150px; opacity:0.9;
  animation:sway 7s ease-in-out infinite;
}
@keyframes sway{ 0%,100%{ transform:rotate(-4deg);} 50%{ transform:rotate(3deg);} }

.reveal{ opacity:0; transform:translateY(18px); transition:opacity 640ms var(--ease), transform 640ms var(--ease); }
.reveal.in{ opacity:1; transform:none; }

@media (max-width: 900px){
  .hero{ padding:150px 0 60px; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; max-width:340px; margin:0 auto; }
}

/* ---------- Section shell ---------- */
.section{ padding:96px 0; }
.section-tight{ padding:72px 0; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ font-size:clamp(1.9rem,3vw,2.5rem); }
.section-head p{ margin-top:14px; color:var(--charcoal-soft); font-size:1.02rem; }
.bg-deep{ background:var(--cream-deep); }
.bg-charcoal{ background:var(--charcoal); color:var(--cream); }
.bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4{ color:var(--paper); }
.bg-charcoal .section-head p{ color:rgba(250,245,236,0.72); }

/* ---------- Category filter ---------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:38px; }
.filter-pill{
  padding:10px 20px; border-radius:999px; border:1px solid var(--line);
  background:var(--paper); font-size:0.9rem; font-weight:600; color:var(--charcoal-soft);
  transition:all 220ms var(--ease);
}
.filter-pill:hover{ border-color:var(--orange); color:var(--charcoal); }
.filter-pill.active{ background:var(--charcoal); color:var(--paper); border-color:var(--charcoal); }

/* ---------- Product grid / cards ---------- */
.product-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:26px;
}
.product-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-m);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform 300ms var(--ease), box-shadow 300ms var(--ease), opacity 260ms var(--ease), transform 260ms var(--ease);
}
.product-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.product-media{ position:relative; aspect-ratio:1/1; overflow:hidden; background:#FFFFFF; }
.product-media img{ width:100%; height:100%; object-fit:contain; background:#FFFFFF; transition:transform 500ms var(--ease); }
.product-card:hover .product-media img{ transform:scale(1.04); }
.product-category-tag{
  position:absolute; top:12px; left:12px; background:rgba(250,245,236,0.92);
  padding:5px 12px; border-radius:999px; font-size:0.72rem; font-weight:600; color:var(--green-deep);
}
.product-body{ padding:20px 20px 22px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-body h3{ font-size:1.15rem; }
.product-desc{ color:var(--charcoal-soft); font-size:0.92rem; flex:1; }
.product-foot{ display:flex; align-items:center; justify-content:space-between; margin-top:6px; gap:10px; }
.price{ font-family:var(--font-display); font-size:1.2rem; font-weight:600; color:var(--orange-deep); }
.price-enquire{ font-size:0.88rem; font-weight:600; color:var(--green-deep); }
.qty-stepper{ display:flex; align-items:center; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.qty-stepper button{ width:32px; height:32px; border:none; background:var(--paper); font-size:1rem; color:var(--charcoal); }
.qty-stepper button:hover{ background:var(--cream-deep); }
.qty-stepper span{ min-width:26px; text-align:center; font-weight:600; font-size:0.9rem; }
.product-actions{ display:flex; align-items:center; gap:10px; }

.product-grid.filtering .product-card{ opacity:0; transform:scale(0.97); }

/* ---------- Product modal ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(43,35,32,0.55); z-index:80;
  opacity:0; pointer-events:none; transition:opacity 260ms var(--ease);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal-card{
  background:var(--paper); border-radius:var(--radius-l); max-width:880px; width:100%;
  max-height:88vh; overflow:auto; display:grid; grid-template-columns:1fr 1fr;
  transform:translateY(16px) scale(0.98); transition:transform 300ms var(--ease);
  position:relative;
}
.modal-overlay.open .modal-card{ transform:none; }
.modal-media{ background:var(--cream-deep); }
.modal-media img{ width:100%; height:100%; object-fit:cover; min-height:280px; }
.modal-body{ padding:34px; display:flex; flex-direction:column; gap:14px; }
.modal-close{
  position:absolute; top:16px; right:16px; width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line); background:var(--paper); font-size:1.1rem; z-index:2;
}
.highlight-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.highlight-list li{ display:flex; gap:10px; font-size:0.92rem; color:var(--charcoal-soft); }
.highlight-list li::before{ content:"—"; color:var(--orange); flex-shrink:0; }

@media (max-width: 720px){
  .modal-card{ grid-template-columns:1fr; }
  .modal-media img{ min-height:200px; }
}

/* ---------- About / brand story ---------- */
.about-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:22px; }
.about-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-m);
  padding:26px; display:flex; flex-direction:column; gap:10px;
}
.about-card h4{ font-size:1.05rem; }
.about-card p{ color:var(--charcoal-soft); font-size:0.92rem; }

.story-banner{
  border-radius:var(--radius-l); padding:70px 40px; text-align:center; margin-top:60px;
  background:linear-gradient(180deg, var(--green-deep), var(--green));
  color:var(--paper);
}
.story-banner h3{ color:var(--paper); font-size:clamp(1.6rem,3vw,2.2rem); max-width:760px; margin:0 auto; }

.founder-row{
  display:grid; grid-template-columns:0.8fr 1.2fr; gap:36px; align-items:center; margin-top:60px;
}
.founder-row img{ border-radius:var(--radius-m); aspect-ratio:1/1; object-fit:cover; }
@media (max-width:760px){ .founder-row{ grid-template-columns:1fr; } }

/* ---------- Export ---------- */
.export-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px; }
.export-card{
  padding:24px; border-radius:var(--radius-m); background:rgba(250,245,236,0.06);
  border:1px solid rgba(250,245,236,0.16);
}
.export-card h4{ font-size:1.02rem; margin-bottom:8px; }
.export-card p{ color:rgba(250,245,236,0.68); font-size:0.9rem; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; }
.contact-detail{ display:flex; gap:14px; margin-bottom:22px; align-items:flex-start; }
.contact-detail strong{ display:block; font-size:0.92rem; }
.contact-detail span{ color:var(--charcoal-soft); font-size:0.92rem; }
.form-field{ margin-bottom:16px; }
.form-field label{ display:block; font-size:0.86rem; font-weight:600; margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 15px; border-radius:var(--radius-s); border:1px solid var(--line);
  background:var(--paper); font-family:inherit; font-size:0.95rem; color:var(--charcoal);
  transition:border-color 200ms var(--ease);
}
.form-field select{ appearance:auto; cursor:pointer; }
.form-field .location-other{ margin-top:8px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--orange); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:760px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }
.password-field{ position:relative; }
.password-field input{ padding-right:44px !important; }
.pw-toggle{
  position:absolute; top:50%; right:4px; transform:translateY(-50%);
  width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center;
  background:transparent; border:none; border-radius:50%; color:var(--charcoal-soft);
  cursor:pointer; transition:background 200ms var(--ease), color 200ms var(--ease);
}
.pw-toggle:hover{ background:var(--cream-deep); color:var(--charcoal); }
.pw-toggle svg{ display:block; pointer-events:none; }
.field-error{ color:var(--orange-deep); font-size:0.78rem; margin-top:5px; display:none; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea{ border-color:var(--orange-deep); }
.form-field.invalid .field-error{ display:block; }

/* ---------- Footer ---------- */
footer{ background:var(--charcoal); color:rgba(250,245,236,0.72); padding:64px 0 30px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; }
.footer-brand p{ margin-top:14px; font-size:0.9rem; max-width:32ch; color:rgba(250,245,236,0.6); }
.footer-col h5{ font-family:var(--font-body); font-size:0.85rem; font-weight:700; color:var(--paper); margin-bottom:14px; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer-col a{ text-decoration:none; font-size:0.9rem; color:rgba(250,245,236,0.68); transition:color 200ms; }
.footer-col a:hover{ color:var(--paper); }
.footer-bottom{
  margin-top:50px; padding-top:24px; border-top:1px solid rgba(250,245,236,0.14);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:0.82rem; color:rgba(250,245,236,0.5);
}
.social-row{ display:flex; gap:12px; margin-top:16px; }
.social-row a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(250,245,236,0.25); display:flex; align-items:center; justify-content:center; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

/* ---------- Cart drawer ---------- */
.cart-overlay{
  position:fixed; inset:0; background:rgba(43,35,32,0.5); z-index:90;
  opacity:0; pointer-events:none; transition:opacity 260ms var(--ease);
}
.cart-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; height:100%; width:420px; max-width:92vw;
  background:var(--paper); z-index:95; display:flex; flex-direction:column;
  transform:translateX(100%); visibility:hidden; transition:transform 340ms var(--ease), visibility 0s linear 340ms;
  box-shadow:none;
}
.cart-drawer.open{ transform:translateX(0); visibility:visible; transition:transform 340ms var(--ease), visibility 0s; box-shadow:-20px 0 50px -20px rgba(0,0,0,0.3); }
.cart-head{ display:flex; justify-content:space-between; align-items:center; padding:22px 24px; border-bottom:1px solid var(--line); }
.cart-head h3{ font-size:1.2rem; }
.cart-items{ flex:1; overflow-y:auto; padding:10px 24px; }
.cart-item{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); }
.cart-item img{ width:70px; height:70px; object-fit:cover; border-radius:var(--radius-s); flex-shrink:0; }
.cart-item-info{ flex:1; display:flex; flex-direction:column; gap:6px; }
.cart-item-top{ display:flex; justify-content:space-between; gap:8px; }
.cart-item-name{ font-weight:600; font-size:0.95rem; }
.remove-btn{ background:none; border:none; color:var(--charcoal-soft); font-size:0.8rem; text-decoration:underline; padding:0; align-self:flex-start; }
.cart-item-row{ display:flex; justify-content:space-between; align-items:center; }
.cart-empty{ padding:60px 10px; text-align:center; color:var(--charcoal-soft); }
.cart-foot{ padding:22px 24px 26px; border-top:1px solid var(--line); }
.cart-line{ display:flex; justify-content:space-between; margin-bottom:8px; font-size:0.92rem; color:var(--charcoal-soft); }
.cart-total{ display:flex; justify-content:space-between; font-family:var(--font-display); font-size:1.25rem; margin:12px 0 18px; }

@media (max-width:520px){
  .cart-drawer{ width:100%; }
}

/* ---------- Checkout ---------- */
.checkout-overlay{
  position:fixed; inset:0; background:rgba(43,35,32,0.55); z-index:100;
  opacity:0; pointer-events:none; transition:opacity 260ms var(--ease);
  overflow-y:auto; padding:40px 16px;
}
.checkout-overlay.open{ opacity:1; pointer-events:auto; }
.checkout-card{
  max-width:960px; margin:0 auto; background:var(--paper); border-radius:var(--radius-l);
  display:grid; grid-template-columns:1.2fr 0.8fr; overflow:hidden;
  transform:translateY(20px); transition:transform 320ms var(--ease); position:relative;
}
.checkout-overlay.open .checkout-card{ transform:none; }
.checkout-form{ padding:40px; }
.checkout-summary{ background:var(--cream-deep); padding:40px; }
.summary-line{ display:flex; justify-content:space-between; font-size:0.92rem; margin-bottom:10px; color:var(--charcoal-soft); }
.summary-total{ display:flex; justify-content:space-between; font-family:var(--font-display); font-size:1.3rem; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
@media (max-width:760px){ .checkout-card{ grid-template-columns:1fr; } .checkout-form, .checkout-summary{ padding:28px; } }

/* ---------- Payment state screens ---------- */
.state-screen{ text-align:center; padding:50px 20px; }
.state-icon{ width:64px; height:64px; margin:0 auto 20px; }
.state-screen h3{ font-size:1.5rem; margin-bottom:10px; }
.state-screen p{ color:var(--charcoal-soft); margin-bottom:24px; }
.order-summary-box{ text-align:left; background:var(--cream-deep); border-radius:var(--radius-m); padding:20px 24px; margin:20px 0; }
.order-summary-box .cart-line{ margin-bottom:6px; }

/* Toast */
.toast{
  position:fixed; bottom:26px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--charcoal); color:var(--paper); padding:14px 22px; border-radius:999px;
  font-size:0.9rem; opacity:0; pointer-events:none; transition:opacity 220ms var(--ease), transform 220ms var(--ease);
  z-index:200; box-shadow:var(--shadow);
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }

/* ==========================================================================
   v2 storefront additions — WhatsApp-order catalogue
   ========================================================================== */
body.no-scroll{ overflow:hidden; }
.ship-strip{
  display:flex; flex-wrap:wrap; gap:8px 24px; align-items:center; justify-content:center;
  background:var(--green-deep); color:var(--paper); padding:12px 20px; border-radius:var(--radius-m);
  margin-bottom:34px; font-size:0.92rem; font-weight:500; text-align:center;
}
.ship-strip strong{ color:#FFD9B8; }
.category-block{ margin-bottom:56px; }
.category-block[hidden]{ display:none; }
.category-title{ display:flex; align-items:baseline; gap:12px; margin-bottom:22px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.category-title h3{ font-size:1.5rem; }
.category-title span{ color:var(--charcoal-soft); font-size:0.88rem; }
.product-card{ will-change:transform; }
.product-media.placeholder{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; padding:18px; text-align:center;
  background:linear-gradient(160deg, var(--cream-deep), #fff7ea);
}
.product-media.placeholder img{ width:56px; height:auto; opacity:0.85; object-fit:contain; transition:none; }
.product-card:hover .product-media.placeholder img{ transform:none; }
.product-media.placeholder .ph-name{ font-family:var(--font-display); font-size:0.95rem; color:var(--green-deep); line-height:1.25; }
.product-media.placeholder.cat-Coffee{ background:linear-gradient(160deg,#EADBC8,#F6EEE3); }
.product-media.placeholder.cat-Premix{ background:linear-gradient(160deg,#E3EBDD,#F4F8F0); }
.pack-size{ display:inline-block; align-self:flex-start; font-size:0.78rem; font-weight:600; color:var(--green-deep); background:rgba(47,107,63,0.10); padding:4px 10px; border-radius:999px; }
.product-desc{ font-size:0.84rem; color:#7a6d63; flex:0; }
.mrp-label{ display:block; font-size:0.68rem; font-weight:600; letter-spacing:0.06em; text-transform:uppercase; color:var(--charcoal-soft); line-height:1; margin-bottom:3px; }
.product-actions{ flex-direction:column; align-items:stretch; }
.add-row{ display:flex; gap:10px; align-items:center; }
.add-row .btn{ flex:1; padding:11px 14px; font-size:0.9rem; }
.in-cart-note{ font-size:0.76rem; color:var(--green-deep); font-weight:600; min-height:1em; }

/* Cart additions */
.cart-item-media{ width:70px; height:70px; border-radius:var(--radius-s); flex-shrink:0; background:#FFFFFF; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cart-item-media img{ width:100%; height:100%; object-fit:contain; }
.cart-item-media.placeholder img{ width:36px; height:auto; object-fit:contain; opacity:.85; }
.cart-item-size{ font-size:0.8rem; color:var(--charcoal-soft); }
.cart-item-unit{ font-size:0.8rem; color:var(--charcoal-soft); }
.cart-item-line{ font-weight:700; font-family:var(--font-display); }
.ship-progress{ margin:0 24px; padding:14px 0 6px; }
.ship-msg{ font-size:0.88rem; font-weight:600; color:var(--orange-deep); margin-bottom:8px; }
.ship-msg.unlocked{ color:var(--green-deep); }
.bar{ height:8px; border-radius:999px; background:var(--cream-deep); overflow:hidden; }
.bar > i{ display:block; height:100%; width:0; background:linear-gradient(90deg,var(--orange),var(--green)); border-radius:999px; transition:width 420ms var(--ease); }
.free-tag{ color:var(--green-deep); font-weight:700; }
.cart-note{ font-size:0.76rem; color:var(--charcoal-soft); margin-top:10px; text-align:center; }

/* Checkout */
.checkout-card{ grid-template-columns:1.25fr 0.75fr; }
.checkout-form h3{ font-size:1.6rem; }
.steps{ display:flex; gap:8px; margin:18px 0 26px; padding:0; list-style:none; }
.steps li{ flex:1; font-size:0.78rem; font-weight:600; color:var(--charcoal-soft); border-top:3px solid var(--line); padding-top:8px; transition:all 220ms var(--ease); }
.steps li.active{ color:var(--orange-deep); border-color:var(--orange); }
.steps li.done{ color:var(--green-deep); border-color:var(--green); }
.step-panel{ animation:fadeUp 320ms var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(10px);} to{ opacity:1; transform:none; } }
.step-actions{ display:flex; gap:12px; margin-top:22px; flex-wrap:wrap; }
.step-actions .btn{ flex:1; min-width:140px; }
.opt{ font-weight:400; color:var(--charcoal-soft); }
.review-box{ background:var(--cream); border:1px solid var(--line); border-radius:var(--radius-m); padding:16px 18px; margin-bottom:16px; }
.review-box h4{ font-size:0.95rem; margin-bottom:8px; font-family:var(--font-body); font-weight:700; }
.review-box p{ font-size:0.9rem; color:var(--charcoal-soft); }
.review-table{ width:100%; border-collapse:collapse; font-size:0.86rem; }
.review-table th{ text-align:left; font-weight:600; color:var(--charcoal-soft); padding:6px 4px; border-bottom:1px solid var(--line); font-size:0.74rem; text-transform:uppercase; letter-spacing:0.04em; }
.review-table td{ padding:9px 4px; border-bottom:1px solid var(--line); vertical-align:top; }
.review-table .num{ text-align:right; white-space:nowrap; }
.table-scroll{ overflow-x:auto; }
.how-it-works{ font-size:0.84rem; color:var(--charcoal-soft); background:#FFF3E8; border:1px solid #F1D6BE; border-radius:var(--radius-m); padding:14px 16px; margin-bottom:16px; }
.how-it-works ol{ margin:8px 0 0; padding-left:20px; display:flex; flex-direction:column; gap:4px; }
.checkout-summary{ position:relative; }
.checkout-summary h4{ font-size:1.1rem; margin-bottom:16px; }
.sum-item{ display:flex; justify-content:space-between; gap:12px; font-size:0.86rem; margin-bottom:10px; }
.sum-item small{ display:block; color:var(--charcoal-soft); }
.summary-divider{ border-top:1px solid var(--line); margin:14px 0; }
.wa-btn{ background:#1F7A3E; }
.wa-btn:hover{ background:#175c2f; }
.sent-screen{ text-align:center; padding:20px 4px; }
.sent-screen h3{ margin-bottom:10px; }
.sent-screen p{ color:var(--charcoal-soft); margin-bottom:14px; font-size:0.95rem; }
.sent-screen .how-it-works{ text-align:left; }
.dialog-body{ padding:34px; display:flex; flex-direction:column; gap:12px; max-width:560px; }
.dialog-body p{ color:var(--charcoal-soft); font-size:0.95rem; }
.modal-card.single{ grid-template-columns:1fr; max-width:560px; }
.contact-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-l); padding:34px; display:flex; flex-direction:column; gap:16px; justify-content:center; }
.contact-card p{ color:var(--charcoal-soft); }
.floating-wa{ display:none; }
.toast{ max-width:90vw; text-align:center; }

/* Mobile-first refinements */
@media (max-width:900px){
  .section{ padding:64px 0; }
  .container{ padding:0 18px; }
  .navbar-inner{ padding:6px 8px 6px 14px; }
  .brand-name{ font-size:1.02rem; }
}
@media (max-width:560px){
  .product-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .product-body{ padding:12px 12px 14px; gap:8px; }
  .product-body h3{ font-size:0.98rem; }
  .product-foot{ flex-direction:column; align-items:flex-start; gap:8px; }
  .price{ font-size:1.05rem; }
  .qty-stepper button{ width:34px; height:34px; }
  .add-row{ flex-direction:column; align-items:stretch; }
  .add-row .qty-stepper{ align-self:center; }
  .product-category-tag{ font-size:0.64rem; top:8px; left:8px; padding:3px 9px; }
  .checkout-overlay{ padding:0; }
  .checkout-card{ border-radius:0; min-height:100%; }
  .checkout-form, .checkout-summary{ padding:24px 18px; }
  .review-table th:nth-child(3), .review-table td:nth-child(3){ display:none; }
}
.brand-name{ white-space:nowrap; }
@media (max-width:420px){ .brand-name{ font-size:0.95rem; } .brand img{ height:28px; } }


/* ---- additions: order steps, policies, enquiry, confirm checkbox ---- */
.order-steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:0 0 24px;padding:0}
.order-steps li{counter-increment:s;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:22px 20px 20px;position:relative}
.order-steps li::before{content:counter(s);display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--orange,#e8741f);color:#fff;font-weight:700;margin-bottom:10px}
.order-steps strong{display:block;margin-bottom:6px}
.order-steps span{color:var(--charcoal-soft,#555);font-size:.95rem}
.order-note{text-align:center;font-size:1rem}
.policy-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.policy-card{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:28px;scroll-margin-top:90px}
.policy-card h3{margin-bottom:12px}
.policy-card ul{padding-left:20px;margin:12px 0}
.policy-card li{margin-bottom:8px}
.enquiry-card{background:#fff;color:#2b2b2b;border-radius:16px;padding:28px;max-width:760px;margin:40px auto 0}
.enquiry-card h3{margin-bottom:8px}
.enquiry-card p{margin-bottom:16px}
.enquiry-card .form-field{margin-bottom:12px}
.enquiry-card input,.enquiry-card select,.enquiry-card textarea{width:100%}
.confirm-check{display:flex;gap:10px;align-items:flex-start;margin:16px 0 6px;font-size:.95rem;cursor:pointer}
.confirm-check input{margin-top:4px;width:18px;height:18px;flex:none}
.confirm-error.show,.field-error.show{display:block}
.ref-line{font-size:.85rem;color:var(--charcoal-soft,#555);margin:10px 0}
.text-btn.inline{display:inline;padding:0 0 0 8px;font-size:.85rem}
html{scroll-behavior:smooth}
section[id]{scroll-margin-top:76px}
#enquiryError{display:block;margin:0 0 10px}
#enquiryError[hidden],#enquiryNote[hidden]{display:none}

/* ---- payment section on Final Review ---- */
.pay-box{background:#fff;border:2px solid var(--orange,#e8741f);border-radius:18px;padding:22px 18px;margin:18px 0;text-align:center}
.pay-box h4{font-family:"Fraunces",serif;font-size:1.4rem;margin-bottom:12px}
.pay-amount-wrap{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:14px}
.pay-amount-label{font-size:.85rem;color:var(--charcoal-soft,#555);text-transform:uppercase;letter-spacing:.06em}
.pay-amount{font-family:"Fraunces",serif;font-size:2.6rem;line-height:1.1;color:var(--green,#2f6b3a)}
.copy-note{font-size:.85rem;color:var(--green,#2f6b3a);min-height:1.2em}
.qr-frame{max-width:340px;margin:0 auto;border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,.1);background:#fff}
.qr-frame img{display:block;width:100%;height:auto}
.qr-text{margin:12px 0 4px;font-weight:600}
.pay-warn{font-size:.92rem;color:var(--orange-deep,#b45309)}
.after-pay{background:var(--cream-deep,#f6ecd9);border-radius:14px;padding:18px;margin:14px 0}
.after-pay h4{font-family:"Fraunces",serif;font-size:1.2rem;margin-bottom:8px}
.after-pay ol{padding-left:20px;margin:0 0 10px}
.after-pay li{margin-bottom:6px}
.verify-note{font-size:.92rem;border-top:1px solid rgba(0,0,0,.1);padding-top:10px}
@media(max-width:640px){.pay-amount{font-size:2.2rem}.qr-frame{max-width:100%}.step-actions .btn{width:100%}}

/* ---------- Button alignment fixes ----------
   Spacing uses margins instead of flex `gap`, so buttons never touch or
   misalign in browsers that ignore flex-gap. Layout/design is unchanged. */
.btn{ box-sizing:border-box; min-height:44px; line-height:1.2; text-align:center; white-space:normal; }

/* Product cards: qty stepper + Add to Cart */
.product-actions{ gap:0; }
.add-row{ display:flex; flex-direction:row; flex-wrap:wrap; align-items:stretch; gap:0; margin:-5px; }
.add-row > *{ margin:5px; box-sizing:border-box; }
.add-row .qty-stepper{ flex:1 1 104px; align-self:auto; justify-content:space-between; min-height:44px; }
.add-row .qty-stepper span{ flex:1; }
.add-row .btn{ flex:2 1 140px; min-width:0; }

/* Contact card buttons */
.contact-card{ gap:0; }
.contact-card > * + *{ margin-top:16px; }
.contact-card > .btn{ width:100%; }
.contact-card > .btn + .btn{ margin-top:12px; }

/* Hero buttons */
.hero-ctas{ gap:0; margin:27px -7px -7px; }
.hero-ctas > .btn{ margin:7px; }

/* Checkout step buttons */
.step-actions{ gap:0; margin:16px -6px -6px; }
.step-actions > *{ margin:6px; }
.step-actions .btn{ box-sizing:border-box; }

/* Cart item controls */
.cart-item-row{ display:flex; align-items:center; justify-content:space-between; }
.cart-item-info{ gap:0; }
.cart-item-info > * + *{ margin-top:6px; }
.cart-item-info > .cart-item-row{ margin-top:10px; }
