:root {
  --forest: #2c4a2a;
  --forest-deep: #213820;
  --leaf: #86bb57;
  --green: #47862a;
  --green-dark: #33651d;
  --green-soft: #e9f1df;
  --cream: #f7f5ee;
  --sand: #efede2;
  --ink: #232a20;
  --muted: #666d60;
  --line: #e2e0d5;
  --gold: #dcc28a;
  --price: #d9632a;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 14px 34px rgba(35, 42, 32, .1);
  --shadow-soft: 0 6px 18px rgba(35, 42, 32, .07);
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
/* Anything marked hidden stays hidden, whatever display its class sets. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: .97rem; color: var(--ink); background: var(--cream); line-height: 1.7; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.18; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.mt { margin-top: 56px; }
.muted { color: var(--muted); font-size: .9rem; }
.lead { font-size: 1.08rem; font-weight: 300; color: var(--muted); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 600; color: var(--green); }
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--leaf); }
.link { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--green-dark); }
.sr, .skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* A short leaf-green rule under the main headings of a page. */
.section > .wrap > h2::after, .section-head h2::after { content: ''; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--leaf); margin-top: 14px; }
.center > h2::after { margin-inline: auto; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: var(--white); border: 2px solid var(--green); border-radius: 8px; padding: 13px 28px; font: 600 .82rem var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; text-align: center; box-shadow: 0 8px 18px rgba(71, 134, 42, .24); transition: background .18s, border-color .18s, transform .18s, box-shadow .18s; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(51, 101, 29, .28); }
.btn-ghost { background: transparent; color: var(--green-dark); box-shadow: none; }
.btn-ghost:hover { background: var(--green-soft); color: var(--green-dark); border-color: var(--green); box-shadow: none; }
.btn-light { background: var(--white); color: var(--forest); border-color: var(--white); box-shadow: 0 8px 18px rgba(0, 0, 0, .14); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--forest-deep); }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .85); box-shadow: none; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--white); }
.btn-small { padding: 8px 18px; font-size: .72rem; border-radius: 999px; box-shadow: none; }
.btn-block { display: block; width: 100%; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: var(--forest); box-shadow: 0 4px 18px rgba(20, 32, 18, .22); }
.header-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 104px; }
/* Shown to a logged-in customer: who they are and Logout, tucked into the top right corner of the banner,
   above the menu, without making the banner any taller. */
.userbar { position: absolute; top: 7px; right: 20px; display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .82); font-size: .7rem; letter-spacing: .04em; white-space: nowrap; }
.userbar strong { color: var(--white); font-weight: 600; }
.userbar a { color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; border: 1px solid rgba(220, 194, 138, .6); border-radius: 999px; padding: 1px 12px; }
.userbar a:hover { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.nav .nav-logout { display: none; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo-badge { display: block; width: 92px; height: 92px; flex: none; border-radius: 50%; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .25)); }
.logo-text { font: 600 1.12rem/1.15 var(--display); color: var(--white); white-space: nowrap; }
.logo-text span { display: block; color: var(--gold); }
.how { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.how li { background: var(--white); border-radius: 22px; padding: 18px 18px 24px; text-align: center; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.how li:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(35, 42, 32, .14); }
.how svg { display: block; width: 100%; max-width: 230px; margin: 0 auto; }
.how h3 { font: 700 1.05rem var(--body); text-transform: uppercase; letter-spacing: .12em; margin: 10px 0 6px; }
.how p { color: var(--muted); margin: 0; font-size: .9rem; }
.logo small { font: 600 .68rem var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.heart { color: var(--leaf); }
.footer-badge { width: 180px; height: 180px; margin-bottom: 14px; }
.post-tile .photo { width: calc(100% + 48px); max-width: none; margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; display: block; }
.post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin: 8px 0 20px; display: block; box-shadow: var(--shadow); }
.post-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 20px 0; }
.post-gallery .photo { width: 100%; border-radius: 12px; display: block; }
.post-files { padding-left: 20px; }
.post-video { display: block; width: 100%; max-height: 520px; background: #000; border-radius: var(--radius); margin: 20px 0; }
/* Eight links have to fit beside the logo, search and cart in the 1160px page width. */
.nav { display: flex; gap: 13px; margin-right: auto; font-weight: 500; font-size: .69rem; text-transform: uppercase; letter-spacing: .05em; }
.nav a { padding: 8px 0; color: rgba(255, 255, 255, .88); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.nav a:hover, .nav a.active { color: var(--white); border-color: var(--gold); }
.search input { width: 112px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .82rem; color: var(--white); background: rgba(255, 255, 255, .1); }
.search input::placeholder { color: rgba(255, 255, 255, .72); }
.search input:focus { background: rgba(255, 255, 255, .18); border-color: var(--gold); outline: none; }
.cart-link { position: relative; display: flex; padding: 6px; color: var(--white); }
.cart-link:hover { color: var(--gold); }
.cart-count { position: absolute; top: -2px; right: -6px; background: var(--gold); color: var(--forest-deep); font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; }

/* Sections */
.section { padding: 68px 0; }
.alt { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.section-head h2 { margin-bottom: 0; }
.hero { padding: 72px 0 64px; background: radial-gradient(900px 420px at 88% 8%, rgba(134, 187, 87, .22), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(220, 194, 138, .2), transparent 70%), var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-art { position: relative; }
/* A leaf-green panel peeking out behind the picture. */
.hero-art::before { content: ''; position: absolute; inset: 22px -16px -16px 22px; border-radius: 30px; background: var(--leaf); opacity: .32; }
.hero-art .art { position: relative; border-radius: 28px; box-shadow: 0 24px 48px rgba(35, 42, 32, .2); display: block; width: 100%; }
/* The home page picture is a tall collage, shown whole instead of cropped to the product-photo shape. */
.hero-art .photo { aspect-ratio: auto; height: auto; }
.hero .lead { margin-top: 6px; }
/* Seals above the tag line: pesticide-free, non-GMO, FSSAI and MSME. */
.hero-seals { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-bottom: 26px; }
.hero-seals .seal { width: 88px; height: 88px; display: block; }
.hero-seals .seal-link { display: block; line-height: 0; }
.hero-seals .seal-fssai { width: auto; height: 72px; display: block; mix-blend-mode: multiply; }
.hero-seals .seal-msme { display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.hero-seals .seal-msme img { height: 56px; width: auto; border-radius: 6px; display: block; }
.hero-seals .seal-msme span { font-size: .62rem; font-weight: 600; color: #33402f; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 640px) {
  .hero-seals { flex-wrap: nowrap; gap: 12px; margin-bottom: 20px; }
  .hero-seals .seal { width: 52px; height: 52px; }
  .hero-seals .seal-fssai { height: 44px; }
  .hero-seals .seal-msme img { height: 34px; }
  .hero-seals .seal-msme span { font-size: .5rem; }
}
.hero .actions { margin-top: 28px; }
.strip { background: var(--white); padding: 22px 0; border-block: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.badge { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: .86rem; color: var(--green); }
.badge svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--green-soft); }
.badge span { color: var(--ink); }
.cta { color: var(--white); background: radial-gradient(rgba(255, 255, 255, .1) 1.5px, transparent 1.6px) 0 0 / 22px 22px, linear-gradient(120deg, #5c9d38, var(--green) 55%, var(--green-dark)); }
.cta h2 { color: var(--white); }
.cta-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-grid > div:first-child { max-width: 56ch; }
.cta-grid p { margin: 0; }
.cta .btn { border-radius: 999px; }

/* The home page's pictures. Each can be replaced from the admin page (Images tab): the page then sets the
   matching --img-... value to the uploaded picture, and the built-in file named here is only the fallback. */

/* Home: the row of sprouts and the numbered reasons under it. */
.why { position: relative; padding-top: 40px; }
.why::before { content: ''; display: block; width: min(1100px, 92%); aspect-ratio: 2560 / 576; margin: 0 auto 44px; background: var(--img-sprouts, url(../images/geng-sprouts.png)) center / contain no-repeat; }
.why .wrap { position: relative; }
.why .wrap::after { content: ''; position: absolute; right: 20px; top: -34px; width: 110px; aspect-ratio: 600 / 664; background: var(--img-leaf, url(../images/geng-leaf-2.png)) center / contain no-repeat; opacity: .85; pointer-events: none; }
.why .grid-4 { counter-reset: reason; }
.why .tile { counter-increment: reason; border: 0; border-top: 3px solid var(--leaf); box-shadow: var(--shadow-soft); padding-top: 20px; }
.why .tile::before { content: '0' counter(reason); display: block; font: 700 2rem var(--display); color: var(--leaf); margin-bottom: 6px; }

/* Home: what we offer, as photographs with the words over them. */
.grid-4.offers { grid-template-columns: 1.35fr 1fr; }
/* A tile left alone on the last row, when a menu item is switched off, takes the whole row. */
.offers .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.offers .tile { position: relative; min-height: 270px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; border: 0; padding: 28px; color: var(--white); background-size: cover; background-position: center; overflow: hidden; box-shadow: var(--shadow); }
.offers .offer-microgreens { background-image: linear-gradient(180deg, rgba(22, 34, 20, .08) 25%, rgba(22, 34, 20, .82)), var(--img-offer-microgreens, url(../images/geng-offer-microgreens.jpg)); }
.offers .offer-seeds { background-image: linear-gradient(180deg, rgba(22, 34, 20, .08) 25%, rgba(22, 34, 20, .82)), var(--img-offer-seeds, url(../images/geng-offer-seeds.jpg)); }
.offers .offer-plans { background-image: linear-gradient(180deg, rgba(22, 34, 20, .08) 25%, rgba(22, 34, 20, .82)), var(--img-offer-plans, url(../images/geng-offer-plans.jpg)); grid-column: 2; grid-row: 1; }
.offers .offer-workshop { background-image: linear-gradient(180deg, rgba(22, 34, 20, .08) 25%, rgba(22, 34, 20, .82)), var(--img-workshop, url(../images/geng-workshop.jpg)); grid-column: 1; grid-row: 2; }
.offers .tile h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.offers .tile p { color: rgba(255, 255, 255, .9); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 500; margin-bottom: 14px; }
.offers .tile .link { background: var(--white); color: var(--forest); text-decoration: none; padding: 8px 20px; border-radius: 999px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; transition: background .15s, color .15s; }
.offers .tile:hover .link { background: var(--gold); color: var(--forest-deep); }

/* Home: the workshop invitation, over a photograph that fades in from the right. */
.workshop-banner { padding: 24px 0 72px; }
.workshop-banner .wrap { width: calc(100% - 40px); padding: 60px 48px; border-radius: 26px; box-shadow: var(--shadow); background: linear-gradient(100deg, rgba(255, 255, 255, .97) 38%, rgba(255, 255, 255, .55) 68%, rgba(255, 255, 255, 0)), var(--img-workshop, url(../images/geng-workshop.jpg)) right center / cover no-repeat; }

/* Grids, tiles, cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: block; }
.tile p { color: var(--muted); margin-bottom: .6em; font-size: .92rem; }
.tile-link { transition: transform .2s, box-shadow .2s; }
.tile-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tag { display: inline-block; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--green); margin-bottom: 8px; }
.photo { aspect-ratio: 5 / 4; object-fit: cover; height: auto; background: var(--green-soft); }
/* The agent account: tables and status pills like the admin page's, the agent id to share, and the totals. */
.data { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: .86rem; }
.data th, .data td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data th { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); white-space: nowrap; background: #f6f9f1; }
.data td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pill { font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #eceff1; color: #37474f; white-space: nowrap; }
.pill-paid { background: var(--green-soft); color: var(--green-dark); }
.pill-due { background: #fff3cd; color: #7a5600; }
.agent-share { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 18px 0; }
.agent-share > div { display: flex; flex-direction: column; gap: 4px; }
.agent-code { font-size: 1.8rem; letter-spacing: .08em; color: var(--green-dark); }
.agent-stats { margin: 18px 0 8px; }
.agent-discount h2, .agent-offers h2 { margin-top: 0; }
/* A commission line taken back because the order was cancelled after payment. */
.data tr.taken-back td { background: #fff7f6; }
.data tr.taken-back td:last-child { color: #9b1c1c; font-weight: 600; }
/* An agent's month against the target. */
.target-bar { display: block; height: 6px; margin: 4px 0; border-radius: 3px; background: #e3e8df; overflow: hidden; min-width: 90px; }
.target-bar span { display: block; height: 100%; background: var(--green, #4c8c2b); border-radius: 3px; }
.agent-target { margin-top: 18px; }
.agent-target .target-bar { height: 10px; border-radius: 5px; margin: 10px 0; }
.agent-target .target-bar span { border-radius: 5px; }
.agent-discount .row, .agent-offers .row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.agent-discount .row label, .agent-offers .row label { flex: 0 1 260px; margin: 0; }
.agent-stats .tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; }
.agent-stats strong { font-size: 1.4rem; color: var(--green-dark); }

/* Bulleted points on the Terms, Privacy and Shipping pages. */
.page-list { padding-left: 1.3em; margin: 0 0 1em; }
.page-list li { margin: 0 0 .45em; overflow-wrap: anywhere; }
.credits { list-style: none; padding: 0; }
.credits li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.credits .thumb { flex: none; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card-art { display: block; overflow: hidden; }
.card-art .art { display: block; width: 100%; transition: transform .4s; }
.card-art .photo, .product-art .photo, .thumb.photo { aspect-ratio: 1; }
/* A drawn picture is square on a card too, so it lines up with the photos beside it. */
.card-art svg.art { aspect-ratio: 1; height: auto; background: #f1f6e9; }
.card:hover .card-art .art { transform: scale(1.05); }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-name { font-weight: 600; font-size: .95rem; line-height: 1.4; }
.card-name:hover { color: var(--green); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.price { font-weight: 600; font-size: 1.05rem; color: var(--price); }
.card .btn { align-self: stretch; margin-top: 4px; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 600; margin-bottom: 12px; }

/* Shop */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 20px; font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; transition: border-color .15s, background .15s, color .15s; }
.chip:hover { border-color: var(--green); color: var(--green-dark); }
.chip.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort { font-size: .88rem; color: var(--muted); }
select, input, textarea { font: inherit; }
.sort select { margin-left: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-weight: 600; transition: border-color .15s; }
.pager a:hover { border-color: var(--green); }
.pager a.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.empty { padding: 40px 0; }
.crumbs { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.crumbs a:hover { color: var(--green); }

/* Product */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-art .art { width: 100%; display: block; border-radius: 22px; box-shadow: var(--shadow); }
.product-price { font-size: 1.6rem; font-weight: 600; color: var(--price); }
.product-price .muted { font-weight: 400; }
.buy { display: flex; gap: 12px; margin: 22px 0 12px; }
.qty-input { width: 76px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; background: var(--white); }
/* MRP and saving, product sizes, front and back photos, and the details that open and close. */
.card-art, .product-art { position: relative; }
.sale-badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--price); color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.card-art .back { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.card:hover .card-art.has-back .back { opacity: 1; }
.mrp { color: var(--muted); font-weight: 400; font-size: .8em; }
.saving { color: var(--green); font-weight: 500; margin-top: -6px; }
.sizes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 16px; }
.sizes .chip { text-transform: none; letter-spacing: 0; font-size: .88rem; padding: 8px 16px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); cursor: pointer; }
.gallery-thumb.active { border-color: var(--green); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-details { margin-top: 22px; border-top: 1px solid var(--line); }
.product-details details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.product-details summary { cursor: pointer; font-weight: 600; }
.product-details details[open] summary { margin-bottom: 10px; }
.promise-strip { margin: 8px 0 18px; }
.benefit-row { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.benefit-row h2 { margin-top: 0; }
.benefit-art .art { width: 100%; display: block; border-radius: 16px; aspect-ratio: 1; height: auto; }
@media (max-width: 640px) { .benefit-row { grid-template-columns: 1fr; gap: 14px; } .benefit-art .art { max-width: 260px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: 7px; }
.ticks li::before { content: ''; position: absolute; left: 4px; top: .5em; width: 11px; height: 6px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }
.numbered { padding-left: 22px; }
.numbered li { margin-bottom: 8px; }
.numbered li::marker { color: var(--green); font-weight: 600; }

/* Plans */
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.plan .btn { margin-top: auto; border-radius: 999px; }
.plan-price { font: 700 2rem var(--display); margin: 0 0 4px; color: var(--forest); }
.plan-price .muted { font-family: var(--body); font-weight: 400; }
.save { position: absolute; top: 16px; right: 16px; background: var(--gold); color: var(--forest-deep); font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.note { margin-top: 28px; background: var(--green-soft); border-left: 4px solid var(--leaf); border-radius: 12px; padding: 18px 22px; }
.note p { margin: 0; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--leaf); box-shadow: var(--shadow-soft); }
.faq summary { font-weight: 600; cursor: pointer; }
.faq summary::marker { color: var(--green); }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* Cart and checkout */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; margin-top: 28px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.panel h2 { font-size: 1.5rem; }
.line { display: grid; grid-template-columns: 84px 1fr auto auto auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.thumb { width: 84px; border-radius: 12px; display: block; }
.line-info { display: flex; flex-direction: column; }
.line-total { min-width: 72px; text-align: right; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.stepper button { width: 34px; height: 34px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--green-dark); }
.stepper span { min-width: 24px; text-align: center; font-weight: 600; }
.remove { border: 0; background: none; font-size: 1.4rem; color: var(--muted); cursor: pointer; line-height: 1; }
.remove:hover { color: #c62828; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.sum-total { font-weight: 600; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }

.status { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); white-space: nowrap; }
.status-pending_payment { background: #fff3cd; color: #7a5600; }
.status-cancelled { background: #fde2e1; color: #9b1c1c; }
.status-open { background: #fff3cd; color: #7a5600; }
.status-off { background: #eceff1; color: #546e7a; }
.agent-offers form { margin: 12px 0 16px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.form label, .panel form label { display: block; font-weight: 500; font-size: .88rem; margin-bottom: 16px; }
.form input:not([type=radio]), .form textarea, .form select, .panel form input, .panel form select, .panel form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.form input:not([type=radio]):focus, .form textarea:focus, .form select:focus, .panel form input:focus, .panel form select:focus, .panel form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(134, 187, 87, .28); outline: none; }
.form fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 16px; padding: 12px 16px; }
/* A group of related fields in a side panel form: GST invoice details, how an agent is paid. */
.panel form fieldset.form-group { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 16px; padding: 10px 14px 4px; min-width: 0; }
.panel form fieldset.form-group legend { font-weight: 600; font-size: .92rem; padding: 0 6px; }
.panel form fieldset.form-group p { font-size: .85rem; margin: 0 0 10px; }
.panel form .choice-row { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; }
.panel form input[type=radio] { display: inline-block; width: auto; margin: 0 6px 0 0; padding: 0; }
.panel form .radio { display: inline-flex; align-items: center; font-weight: 500; }
.agent-payout h2 { margin-top: 0; }
.agent-payout p { margin: 0 0 6px; }
.copyright .gstin { display: block; margin-top: 4px; }
.refund-note { color: #a12a1f; font-weight: 600; }
.sum-row > span:last-child { white-space: nowrap; }
/* FSSAI and MSME badges: each logo on a white pill with its number, leading to the Certificates page. */
.cert-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
.registrations { margin-top: 18px; }
.cert-badge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #dfe6d8; border-radius: 10px;
  padding: 6px 14px 6px 8px; color: #33402f; font-size: .8rem; line-height: 1.3; text-decoration: none; }
.cert-badge:hover { border-color: var(--leaf); }
.cert-badge span { display: flex; flex-direction: column; letter-spacing: .02em; }
.cert-badge strong { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #5b6b57; font-weight: 600; }
.cert-logo { display: block; height: 40px; width: auto; }
.cert-logo-udyam { border-radius: 4px; }
.footer-certs { margin-top: 36px; }
.footer .cert-badge { display: inline-flex; margin: 0; text-transform: none; font-size: .8rem; color: #33402f; }
.footer .cert-badge:hover { color: #33402f; }
.fssai-line { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: #5b6b57; }
.fssai-line img { flex: none; }
.cert-card { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; padding: 24px 0; border-top: 1px solid #e3e9dc; }
.cert-card h2 { margin: 12px 0 4px; }
.cert-card .cert-logo { height: 60px; }
.cert-preview img { display: block; width: 100%; height: auto; border: 1px solid #dfe6d8; border-radius: 6px; box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.cert-number { font-size: 1.05rem; }
.cert-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; font-size: .9rem; }
.cert-facts dt { color: #5b6b57; }
.cert-facts dd { margin: 0; }
.cert-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (max-width: 640px) {
  .cert-card { grid-template-columns: 1fr; }
  .cert-preview { max-width: 260px; }
}
/* A subscription's delivery dates: every Monday, from the first to the last. */
.plan-dates { display: block; font-size: .85rem; color: var(--green-dark, #2e6b1f); margin-top: 2px; }
.plan-dates-box { background: var(--green-soft, #eef5e6); border-radius: 10px; padding: 10px 14px; }
.renewal-note { margin-bottom: 16px; }
.renewal-note p { margin: 0 0 6px; }
.renewal-note p:last-child { margin: 0; }
.link-button { border: 0; background: none; padding: 0; color: var(--green-dark, #2e6b1f); text-decoration: underline; font: inherit; font-size: .85rem; cursor: pointer; }
.renew-btn { margin-top: 6px; }
/* The Nutrition Guide: a note pointing to the PDF, and each variety's taste and nutrients. */
.guide-note { margin: 16px 0 20px; }
.nutrition-box { background: var(--green-soft, #eef5e6); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.nutrition-box p { margin: 0 0 6px; }
.nutrition-box p:last-child { margin: 0; font-size: .85rem; }
.variety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.variety-card { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; font-weight: 400; margin: 0; }
.variety-card:hover { border-color: var(--green); }
.variety-card.chosen { border-color: var(--green); box-shadow: 0 0 0 2px rgba(134, 187, 87, .35); background: #f7fbf2; }
.variety-card[data-variety-card] { flex-direction: column; justify-content: space-between; cursor: default; }
.variety-card .variety-img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 8px; margin-bottom: 4px; background: #eef3e6; }
/* On a phone, a small picture beside the text keeps the list of varieties short. */
@media (max-width: 560px) {
  .variety-card[data-variety-card] { display: grid; grid-template-columns: 92px 1fr; gap: 4px 12px; align-items: start; }
  .variety-card .variety-img { width: 92px; height: 92px; aspect-ratio: auto; margin: 0; }
  .variety-card .grams-stepper { grid-column: 1 / -1; }
}
.variety-body { display: block; font-size: .86rem; line-height: 1.45; }
/* Grams of one variety a week: − and + move in 100 g steps. */
.grams-stepper { display: flex; align-items: center; gap: 6px; margin-top: 10px; }
.grams-stepper .step { width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--forest); font: 600 1.15rem/1 var(--body); cursor: pointer; }
.grams-stepper .step:hover { border-color: var(--green); background: #f3f8ec; }
.grams-stepper input { width: 84px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-align: right; font: 600 .95rem var(--body); background: var(--white); }
.grams-unit { color: var(--muted); font-size: .85rem; margin-right: 4px; }
.bulk-tiers { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 6px; font-size: .92rem; }
.bulk-tiers span { background: var(--green-soft, #eef5e6); border-radius: 999px; padding: 6px 14px; }
.bulk-summary { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 6px 0 16px; background: #fbfdf8; font-size: .9rem; }
.bulk-summary p { margin: 0 0 6px; }
.bulk-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.bulk-lines li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 2px 0; }
.bulk-short { color: #8a5a00; }
.bulk-ok { color: var(--green-dark, #2e6b1f); }
.bulk-price { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin: 8px 0 4px; }
.bulk-price span:nth-child(even), .bulk-price strong:last-child { text-align: right; }
.variety-body strong { font-size: .98rem; }
.variety-body em { color: var(--green); font-style: italic; }
.variety-taste { display: block; color: var(--muted); margin-bottom: 4px; }
.variety-line { display: block; }
.variety-chosen { font-size: .9rem; margin: 4px 0 12px; }
.history-item { margin-bottom: 4px; }
.history-invoice { padding: 0 0 10px; }
.invoice-btn { margin-top: 6px; }
.form legend { font-weight: 500; font-size: .88rem; padding: 0 6px; }
.form .radio { font-weight: 400; margin: 6px 0; }

/* Login and the customer's account */
.mt-small { margin-top: 24px; }
.login-panel { max-width: 480px; margin: 0 auto; padding: 36px 32px; }
.login-panel h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.login-panel .lead { font-size: .98rem; }
#login-note:empty { display: none; }
#login-note.problem { color: #9b1c1c; background: #fde2e1; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
/* What an agent ID typed at checkout brings, or that it is not valid. */
#agent-offer { display: block; margin-top: 6px; }
#agent-offer.problem { color: #9b1c1c; }
#checkout-agent[readonly] { background: #eef0ec; color: #4a5a4a; cursor: not-allowed; }
.login-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-top: 16px; font-size: .88rem; }
.signed-in { background: var(--green-soft); border-left: 4px solid var(--leaf); border-radius: 10px; padding: 12px 16px; font-size: .92rem; }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.history-link { transition: box-shadow .2s, border-color .2s, transform .2s; }
.history-link:hover { border-color: var(--leaf); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.history-end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }

/* Location picker: buttons, a note, and a map when a Google Maps key is configured */
.locate { margin: 0 0 16px; }
.locate .muted { margin: 8px 0 0; }
.map { height: 300px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

/* Footer */
.footer { background: var(--forest-deep); color: #cfd9c8; padding: 60px 0 0; margin-top: 24px; font-size: .86rem; border-top: 4px solid var(--leaf); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.footer h4 { color: var(--gold); font-family: var(--body); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.2em; }
.footer a { display: block; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; transition: color .15s; }
.footer a:hover { color: var(--gold); }
.footer p { line-height: 1.7; }
/* The contact details: an icon, then the number, email or address as written, not in capitals. */
.footer .contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; text-transform: none; letter-spacing: .01em; font-size: .86rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-icon { flex: 0 0 18px; margin-top: 1px; color: var(--gold); }
.contact-icon-wa { color: #25d366; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.social a { margin: 0; padding: 6px 14px; border: 1px solid rgba(220, 194, 138, .5); border-radius: 999px; color: var(--gold); font-size: .68rem; }
.social a:hover { background: var(--gold); color: var(--forest-deep); }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; padding-bottom: 20px; color: #9fb09a; font-size: .78rem; text-align: center; letter-spacing: .04em; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); z-index: 30; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--forest-deep); color: var(--white); padding: 12px 22px; border-radius: 999px; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 40; max-width: calc(100vw - 110px); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1200px) {
  .menu-btn { display: block; order: 3; }
  .cart-link { order: 2; }
  .search { margin-left: auto; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--forest); border-top: 1px solid rgba(255, 255, 255, .14); padding: 8px 20px 16px; font-size: .78rem; box-shadow: 0 12px 20px rgba(20, 32, 18, .25); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

@media (max-width: 900px) {
  .grid-4, .steps, .how { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .product, .two-col { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why .wrap::after { display: none; }
  .workshop-banner .wrap { padding: 40px 28px; background: linear-gradient(100deg, rgba(255, 255, 255, .96) 55%, rgba(255, 255, 255, .7)), var(--img-workshop, url(../images/geng-workshop.jpg)) right center / cover no-repeat; }
}

@media (max-width: 700px) {
  .grid-4.offers { grid-template-columns: 1fr; }
  /* One tile under another: the places the tiles are given on wider screens would otherwise add a narrow second column. */
  .offers .tile, .offers .offer-plans, .offers .offer-workshop, .offers .tile:last-child:nth-child(odd) { grid-column: 1; grid-row: auto; min-height: 220px; }
}

@media (max-width: 560px) {
  .section { padding: 44px 0; }
  .grid-3, .plans { grid-template-columns: 1fr; }
  .grid-4 { gap: 12px; }
  .header-row { gap: 10px; min-height: 76px; }
  /* On a phone the corner has no room, so Logout is in the menu, under Account. */
  .userbar { display: none; }
  .nav .nav-logout { display: block; color: var(--gold); }
  .search { flex: 1; min-width: 0; }
  .search input { width: 100%; }
  .header .logo-badge { width: 60px; height: 60px; }
  .logo-text { font-size: .92rem; }
  .how { gap: 12px; }
  .how li { padding: 12px 10px 16px; border-radius: 18px; }
  .line { grid-template-columns: 64px 1fr auto; }
  .thumb { width: 64px; }
  .line-total { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-body { padding: 12px 12px 16px; }
  .card .btn { padding: 8px 10px; letter-spacing: .04em; }
  .hero-art::before { inset: 14px -8px -8px 14px; }
}

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