:root {
  --forest: #174f35;
  --forest-dark: #103a28;
  --leaf: #2f7d51;
  --cream: #fbf7ee;
  --paper: #fffdf8;
  --gold: #d99a32;
  --ink: #1d2c24;
  --muted: #66736c;
  --line: #dfe5df;
  --danger: #b42318;
  --shadow: 0 18px 50px rgba(23, 79, 53, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Playfair Display", serif; line-height: 1.08; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.04em; }
h1 em { color: var(--gold); font-weight: inherit; }
h2 { margin-bottom: 16px; font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.025em; }
h3 { line-height: 1.25; }

.skip-link { position: fixed; z-index: 9999; top: 10px; left: 10px; padding: 10px 16px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.announcement { padding: 7px 20px; color: #fff; background: var(--forest-dark); font-size: 13px; text-align: center; letter-spacing: .03em; }
.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255, 253, 248, .94); border-bottom: 1px solid rgba(23, 79, 53, .1); backdrop-filter: blur(16px); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; width: min(1240px, calc(100% - 40px)); min-height: 82px; margin: auto; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 20px; }
.brand img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 16px rgba(23,79,53,.18); }
.brand strong { color: var(--forest); }
.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: 32px; }
nav a { color: #405047; text-decoration: none; font-size: 15px; font-weight: 600; }
nav a:hover { color: var(--leaf); }
.cart-trigger { display: flex; align-items: center; gap: 8px; padding: 11px 15px; border: 0; border-radius: 999px; color: #fff; background: var(--forest); cursor: pointer; font-weight: 700; }
.cart-count { display: grid; min-width: 24px; height: 24px; padding: 0 5px; place-items: center; color: var(--forest); background: #fff; border-radius: 50%; font-size: 12px; }

.hero { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 700px; background: var(--cream); }
.hero-copy { align-self: center; max-width: 760px; padding: 90px clamp(30px, 6vw, 100px); }
.eyebrow { margin-bottom: 13px; color: var(--leaf); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero-text { max-width: 650px; margin-bottom: 30px; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 23px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font-weight: 700; transition: transform .2s, background .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--forest); }
.button-primary:hover { background: var(--forest-dark); }
.button-light { color: var(--forest); background: #fff; }
.text-link { color: var(--forest); text-underline-offset: 5px; font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 45px; color: #4e6156; font-size: 13px; font-weight: 600; }
.hero-visual { position: relative; min-height: 600px; overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16,58,40,.25)), url("https://images.unsplash.com/photo-1628088062854-d1870b4553da?auto=format&fit=crop&w=1200&q=85") center/cover; }
.floating-card { position: absolute; bottom: 42px; left: 35px; display: flex; align-items: center; gap: 13px; padding: 15px 19px; background: rgba(255,255,255,.94); border-radius: 16px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.floating-icon { display: grid; width: 45px; height: 45px; place-items: center; background: #e9f4eb; border-radius: 50%; font-size: 22px; }
.floating-card small { display: block; color: var(--muted); }

.product-section, .promise-section { padding: 100px max(24px, calc((100% - 1200px) / 2)); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p:last-child { max-width: 390px; margin: 0; color: var(--muted); }
.section-heading.centered { display: block; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.product-card { grid-column: span 2; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s, box-shadow .25s; }
.product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.product-image { position: relative; height: 265px; background-color: #e8e2d3; background-position: center; background-size: cover; }
.product-image--jaggery { background-image: url("../images/products/pure-palm-jaggery.jpg"); }
.product-image--butter { background-image: url("https://images.unsplash.com/photo-1589985270826-4b7bb135bc9d?auto=format&fit=crop&w=900&q=80"); }
.product-image--white-butter { background-image: url("https://images.unsplash.com/photo-1486297678162-eb2a19b0a32d?auto=format&fit=crop&w=900&q=80"); }
.product-image--ghee { background-image: url("https://images.unsplash.com/photo-1631452180519-c014fe946bc7?auto=format&fit=crop&w=900&q=80"); }
.product-image--buffalo-ghee { background-image: url("https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=900&q=80"); }
.product-image--peanut-oil { background-image: url("https://images.unsplash.com/photo-1474979266404-7eaacbcd87c5?auto=format&fit=crop&w=900&q=80"); }
.product-image--coconut-oil { background-image: url("https://images.unsplash.com/photo-1525904097878-94fb15835963?auto=format&fit=crop&w=900&q=80"); }
.product-image--sesame-oil { background-image: url("https://images.unsplash.com/photo-1601050690597-df0568f70950?auto=format&fit=crop&w=900&q=80"); }
.product-image--lamp-oil { background-image: url("https://images.unsplash.com/photo-1604608672516-f1b9b1d37076?auto=format&fit=crop&w=900&q=80"); }
.product-image--turmeric { background-image: url("https://images.unsplash.com/photo-1615485500704-8e990f9900f7?auto=format&fit=crop&w=900&q=80"); }
.product-image--soap { background-image: url("https://images.unsplash.com/photo-1600857544200-b2f666a9a2ec?auto=format&fit=crop&w=900&q=80"); }
.product-badge { position: absolute; top: 16px; left: 16px; padding: 6px 11px; color: var(--forest); background: rgba(255,255,255,.92); border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.product-stock-badge { position: absolute; right: 16px; bottom: 16px; padding: 6px 10px; color: #8a3b12; background: #fff0dc; border-radius: 999px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.product-content { padding: 22px; }
.product-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-content h3 { margin-bottom: 8px; font-family: "Playfair Display", serif; font-size: 24px; }
.product-content > p { min-height: 52px; margin-bottom: 22px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.product-benefits { display: flex; flex-wrap: wrap; gap: 7px; min-height: 54px; margin: -8px 0 18px; padding: 0; list-style: none; }
.product-benefits li { height: max-content; padding: 5px 9px; color: var(--forest); background: #edf5ef; border-radius: 999px; font-size: 10px; font-weight: 700; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 17px; border-top: 1px solid var(--line); }
.product-buy strong { display: block; color: var(--forest); font-size: 22px; }
.product-buy small { color: var(--muted); }
.product-buy .delivery-note { color: var(--leaf); font-size: 10px; font-weight: 750; }
.add-button { padding: 10px 15px; color: var(--forest); background: #edf5ef; border: 0; border-radius: 12px; cursor: pointer; font-weight: 800; }
.add-button:hover { color: #fff; background: var(--forest); }
.add-button:disabled { color: var(--muted); background: #e8ebe8; cursor: not-allowed; }
.contact-button { text-align: center; text-decoration: none; }
.product-buy .contact-price { font-size: 15px; }
.combo-section { padding: 70px 6vw; background: #edf5ef; }
.combo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.combo-card { display: grid; grid-template-rows: 220px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 14px 38px rgba(18,65,43,.09); transition: transform .2s, box-shadow .2s; }
.combo-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(18,65,43,.14); }
.combo-visual { overflow: hidden; background: #dfeae2; }
.combo-visual > img { width: 100%; height: 100%; object-fit: cover; }
.combo-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.combo-collage > img { min-width: 0; }
.combo-body { display: flex; flex-direction: column; gap: 15px; padding: 24px; }
.combo-card h3 { margin: 2px 0 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.15; }
.combo-items { display: grid; gap: 7px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; }
.combo-items li { display: flex; justify-content: space-between; gap: 10px; }
.combo-footer { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.combo-price { display: flex; flex-direction: column; gap: 2px; }
.combo-price strong { display: block; color: var(--forest); font-size: 24px; }
.combo-price s { color: var(--muted); font-size: 12px; }
.combo-saving { display: inline-flex; width: fit-content; padding: 5px 9px; color: #176b39; background: #e4f7e9; border-radius: 999px; font-size: 11px; font-weight: 800; }
.combo-footer button { min-height: 48px; padding: 12px 18px; color: #fff; background: var(--forest); border: 0; border-radius: 14px; box-shadow: 0 7px 16px rgba(22,89,58,.2); cursor: pointer; font: inherit; font-size: 13px; font-weight: 850; transition: background .2s, transform .2s; }
.combo-footer button:hover { background: var(--forest-dark); transform: translateY(-1px); }
.combo-footer button:active { transform: translateY(1px); }

.story { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; background: var(--forest); }
.story-photo { position: relative; min-height: 520px; background: url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1200&q=85") center/cover; }
.story-stat { position: absolute; right: 28px; bottom: 28px; width: 190px; padding: 20px; background: var(--cream); border-radius: 18px; }
.story-stat strong, .story-stat span { display: block; }
.story-stat strong { color: var(--forest); font-family: "Playfair Display", serif; font-size: 30px; }
.story-stat span { color: var(--muted); font-size: 12px; }
.story-copy { align-self: center; max-width: 650px; padding: 70px clamp(35px, 7vw, 110px); color: #fff; }
.story-copy .eyebrow { color: #e6b760; }
.story-copy p:not(.eyebrow) { color: #d3dfd8; }
.story-copy .text-link { color: #fff; }
.promise-section { background: var(--cream); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 45px; }
.promise-grid article { padding: 28px; background: var(--paper); border: 1px solid rgba(23,79,53,.1); border-radius: 18px; }
.promise-grid article > span { font-size: 30px; }
.promise-grid h3 { margin: 15px 0 8px; }
.promise-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 65px max(24px, calc((100% - 1200px) / 2)); color: #fff; background: var(--gold); }
.contact-band .eyebrow { color: var(--forest-dark); }
.contact-band h2 { margin-bottom: 8px; }
.contact-band p:last-child { margin-bottom: 0; }

footer { display: grid; grid-template-columns: 1fr auto; gap: 35px; padding: 55px max(24px, calc((100% - 1200px) / 2)); color: #d5dfd9; background: var(--forest-dark); font-size: 13px; }
.footer-brand strong { color: #fff; font-family: "Playfair Display", serif; font-size: 24px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #fff; }
footer > p { grid-column: 1 / -1; margin: 0; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.12); }

.drawer-backdrop { position: fixed; z-index: 80; inset: 0; background: rgba(9,25,16,.5); backdrop-filter: blur(3px); }
.cart-drawer { position: fixed; z-index: 90; top: 0; right: 0; display: flex; width: min(470px, 100%); height: 100%; flex-direction: column; padding: 28px; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .3s ease; }
.cart-drawer.open { transform: none; }
.drawer-header, .dialog-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.drawer-header h2, .dialog-header h2 { margin: 0; font-size: 30px; }
.icon-button { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--ink); background: #f0f2ef; border: 0; border-radius: 50%; cursor: pointer; font-size: 25px; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item h3 { margin: 0; font-size: 16px; }
.cart-item p { margin: 0; color: var(--muted); font-size: 13px; }
.cart-item-price { color: var(--forest); font-weight: 800; }
.quantity-control { display: flex; width: max-content; align-items: center; margin-top: 7px; border: 1px solid var(--line); border-radius: 999px; }
.quantity-control button { width: 32px; height: 30px; background: transparent; border: 0; cursor: pointer; }
.quantity-control span { min-width: 24px; text-align: center; font-size: 13px; font-weight: 700; }
.remove-item { align-self: end; padding: 0; color: var(--danger); background: none; border: 0; cursor: pointer; font-size: 12px; text-decoration: underline; }
.cart-empty { display: flex; flex: 1; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.cart-empty > span { font-size: 55px; }
.cart-empty h3 { margin: 14px 0 4px; }
.cart-empty p { color: var(--muted); }
.cart-summary { padding-top: 20px; border-top: 1px solid var(--line); }
.cart-summary > div { display: flex; justify-content: space-between; font-size: 20px; }
.cart-summary p { color: var(--muted); font-size: 12px; }
.full-width { width: 100%; }

.checkout-dialog { width: min(570px, calc(100% - 24px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; color: var(--ink); background: var(--paper); border: 0; border-radius: 24px; box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.checkout-dialog::backdrop { background: rgba(9,25,16,.65); backdrop-filter: blur(5px); }
.checkout-dialog form { margin: 0; }
.dialog-header, .dialog-body, .dialog-footer { padding: 24px 28px; }
.dialog-body { display: grid; gap: 17px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #cfd8d1; border-radius: 11px; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(47,125,81,.12); }
.field-error { display: block; min-height: 16px; color: var(--danger); }
.delivery-quote { display: block; min-height: 18px; color: var(--muted); }
.delivery-quote.success { color: var(--leaf); }
.delivery-quote.error { color: var(--danger); }
.coupon-field label span { color: var(--muted); font-weight: 500; }
.coupon-field > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.coupon-field .button { min-height: 44px; padding: 8px 16px; }
.payment-box { display: flex; gap: 13px; padding: 15px; background: #edf5ef; border-radius: 12px; }
.payment-box > span { color: var(--forest); font-size: 25px; }
.payment-box p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.checkout-breakdown { display: grid; gap: 8px; }
.checkout-breakdown > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 14px; }
.checkout-total { padding-top: 17px; color: var(--ink) !important; border-top: 1px solid var(--line); font-size: 18px !important; }
.dialog-footer { padding-top: 0; text-align: center; }
.dialog-footer small { display: block; margin-top: 9px; color: var(--muted); }
.form-message { padding: 12px; color: var(--danger); background: #fff1f0; border-radius: 10px; font-size: 13px; }
.success-content { padding: 38px 32px; text-align: center; }
.success-mark { display: grid; width: 66px; height: 66px; margin: 0 auto 20px; place-items: center; color: #fff; background: var(--leaf); border-radius: 50%; box-shadow: 0 0 0 9px rgba(47,125,81,.11); font-size: 34px; font-weight: 800; }
.success-content h2 { margin-bottom: 10px; font-size: 32px; }
.success-content > p:not(.eyebrow) { color: var(--muted); }
.success-order-number { margin: 24px 0 12px; padding: 17px; background: var(--cream); border: 1px dashed #b9c9bd; border-radius: 13px; }
.success-order-number span, .success-order-number strong { display: block; }
.success-order-number > span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.success-order-number strong { color: var(--forest); font-size: 29px; }
.success-reminder { font-size: 11px; }
.success-actions { display: grid; gap: 9px; margin-top: 21px; }
.success-close { color: var(--forest); background: #e8f0ea; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; max-width: calc(100% - 50px); padding: 13px 18px; color: #fff; background: var(--forest-dark); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .25s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .combo-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 30px; }
  .hero-visual { min-height: 500px; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: span 3; }
  .story { grid-template-columns: 1fr; }
  .story-copy { max-width: none; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .combo-grid { grid-template-columns: 1fr; }
  .announcement { font-size: 11px; }
  .nav-shell { width: calc(100% - 24px); min-height: 70px; }
  .brand img { width: 42px; height: 42px; }
  .brand { font-size: 17px; }
  .brand small { display: none; }
  .cart-trigger { padding: 9px 11px; }
  .hero { min-height: 0; }
  .hero-copy { padding: 55px 22px; }
  .hero-text { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .trust-row { margin-top: 32px; }
  .hero-visual { min-height: 390px; }
  .product-section, .promise-section { padding: 70px 18px; }
  .section-heading { align-items: start; flex-direction: column; }
  .product-grid { display: block; }
  .product-card + .product-card { margin-top: 20px; }
  .product-image { height: 240px; }
  .product-content > p { min-height: 0; }
  .story-photo { min-height: 410px; }
  .story-copy { padding: 60px 24px; }
  .promise-grid { grid-template-columns: 1fr; }
  .contact-band { align-items: flex-start; flex-direction: column; padding-top: 55px; padding-bottom: 55px; }
  footer { grid-template-columns: 1fr; }
  footer > p { grid-column: auto; }
  .cart-drawer { padding: 22px 18px; }
  .dialog-header, .dialog-body, .dialog-footer { padding-right: 20px; padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
