/* A Q J Creation — "Kora & Bottle Green"
   Ground: khus-stone, Ink: teak, Primary: bottle green, Accent: haldi/cane gold.
   Type: Rozha One (display, Devanagari-ready) + Mukta (body). */
:root {
  --ground: #E4E1D4;
  --paper: #F4F2EA;
  --ink: #24190F;
  --ink-2: #5A4A3A;
  --green: #1E3D2F;
  --green-2: #173126;
  --haldi: #D49A1E;
  --haldi-2: #B98213;
  --cane: #CFA867;
  --line: rgba(36, 25, 15, .14);
  --danger: #A2381F;
  --r-sm: 6px; --r: 12px; --r-lg: 22px;
  --display: "Rozha One", Georgia, serif;
  --body: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --qb-h: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 var(--body); padding-bottom: var(--qb-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
body.no-scroll { overflow: hidden; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -.005em; }
.page-h { font-size: clamp(32px, 6vw, 48px); margin: 28px 0 6px; }
.sec-h { font-size: clamp(26px, 4.4vw, 38px); }
p { margin: 0 0 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 15px; }
.btn-lg { min-height: 54px; font-size: 17px; padding: 12px 26px; }
.btn-block { display: flex; width: 100%; }
.btn-haldi { background: var(--haldi); color: var(--ink); }
.btn-haldi:hover { background: var(--haldi-2); }
.btn-green { background: var(--green); color: var(--paper); }
.btn-green:hover { background: var(--green-2); }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--green); color: var(--paper); }
.btn-ghost-light { border-color: rgba(244, 242, 234, .55); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--green); }
.link { background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--cane); cursor: pointer; }
.link-sm { font-size: 14px; font-weight: 500; }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(228, 225, 212, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-name { white-space: nowrap; font-family: var(--display); font-size: 22px; line-height: 1; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--body); font-size: 12.5px; color: var(--ink-2); margin-top: 4px; letter-spacing: .01em; }
.mainnav { display: none; }
.mainnav a { text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: var(--r-sm); white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current] { background: rgba(30, 61, 47, .09); color: var(--green); }
.top-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: rgba(30, 61, 47, .09); }
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.cart-count:not(:empty), .qb-count:not(:empty) {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--haldi); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 19px; text-align: center;
}
.hide-sm { display: none; }

@media (max-width: 959px) {
  .mainnav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(36, 25, 15, .12); }
  .mainnav.open a { padding: 12px 8px; border-bottom: 1px solid var(--line); font-size: 18px; }
}
@media (min-width: 960px) {
  .mainnav { display: flex; gap: 0; font-size: 16px; }
  .menu-btn { display: none; }
  .hide-sm { display: grid; }
}

/* ---------- hero ---------- */
.hero { background: var(--green); color: var(--paper); overflow: hidden; }
.hero-in { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 0; }
.hero-place { color: var(--cane); font-weight: 500; margin-bottom: 10px; }
.hero h1 { font-size: clamp(42px, 10.5vw, 84px); line-height: 1.02; max-width: 11ch; }
.hero-lede { font-size: 18.5px; line-height: 1.65; max-width: 46ch; margin: 18px 0 24px; color: rgba(244, 242, 234, .88); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; color: rgba(244, 242, 234, .8); font-size: 15.5px; }
.hero-facts b { color: var(--paper); }
.hero-art { position: relative; margin: 0 auto; width: min(100%, 440px); padding-bottom: 28px; }
.jaali-arch { width: 78%; margin-left: auto; display: block; }
.weave-sweep { transform-box: fill-box; transform-origin: 0 100%; }
@media (prefers-reduced-motion: no-preference) {
  .weave-sweep { animation: weave 1.6s cubic-bezier(.65, 0, .25, 1) .15s both; }
  @keyframes weave { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
.hero-piece {
  position: absolute; left: 0; bottom: 0; width: 70%; background: var(--paper); color: var(--ink);
  border-radius: 999px 999px var(--r) var(--r); padding: 26px 14px 12px; text-decoration: none;
  box-shadow: 0 24px 50px rgba(5, 15, 10, .35);
}
.hero-piece img { mix-blend-mode: multiply; border-radius: 999px 999px 4px 4px; }
.hero-piece-cap { display: flex; justify-content: space-between; gap: 8px; padding: 8px 4px 0; font-size: 14px; line-height: 1.3; }
.hero-piece-cap b { white-space: nowrap; }
@media (min-width: 880px) {
  .hero-in { grid-template-columns: 1.05fr .95fr; align-items: end; padding-top: 64px; }
  .hero-copy { padding-bottom: 72px; }
  .hero-facts { grid-auto-flow: column; gap: 22px; }
  .hero-art { width: 100%; max-width: 500px; padding-bottom: 0; }
  .hero-piece { bottom: 40px; }
}

/* ---------- categories ---------- */
.cats { padding-top: 48px; }
.cat-row { display: flex; gap: 10px; overflow-x: auto; padding: 18px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; font-weight: 500; white-space: nowrap;
}
.cat:hover { border-color: var(--green); }
.cat-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ground); color: var(--green); display: grid; place-items: center; }
.cat-ic svg { width: 26px; height: 26px; }
@media (min-width: 960px) { .cat-row { flex-wrap: wrap; overflow: visible; } }

/* ---------- product grid ---------- */
.featured { padding-top: 48px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.featured > .sec-h { margin-bottom: 18px; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.pcard { background: var(--paper); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pcard-img { position: relative; display: block; aspect-ratio: 1; background: #EDEAE0; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.tag { position: absolute; left: 10px; top: 10px; background: var(--green); color: var(--paper); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 99px; }
.tag-out { background: var(--ink-2); }
.pcard-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-family: var(--body); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { text-decoration: underline; text-decoration-color: var(--cane); }
.pcard-mat { font-size: 13.5px; color: var(--ink-2); margin: 4px 0 10px; line-height: 1.35; }
.pcard-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.price { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.2; }
.price s { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.add-btn { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--haldi); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .15s, transform .15s; }
.add-btn svg { width: 22px; height: 22px; fill: currentColor; }
.add-btn:hover { background: var(--haldi-2); }
.add-btn.added { background: var(--green); color: var(--paper); transform: scale(1.08); }
@media (min-width: 720px) { .pcard h3 { font-size: 17px; } .pcard-body { padding: 14px 16px 16px; } }

/* ---------- craft steps ---------- */
.craft { margin-top: 64px; background: var(--paper); padding: 56px 0; }
.craft-in { display: grid; gap: 28px; }
.craft-intro p { max-width: 52ch; margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--haldi-2); }
.steps h3 { font-size: 24px; }
.steps p { margin: 6px 0 0; color: var(--ink-2); max-width: 48ch; }
@media (min-width: 880px) {
  .craft-in { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .craft-intro { position: sticky; top: 100px; align-self: start; }
}

/* ---------- custom band ---------- */
.custom-band { margin-top: 56px; display: grid; gap: 18px; align-items: center; padding-top: 32px; padding-bottom: 32px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.custom-band p { margin-top: 10px; max-width: 56ch; color: var(--ink-2); }
@media (min-width: 880px) { .custom-band { grid-template-columns: 1fr auto; } }

/* ---------- visit ---------- */
.visit { padding: 56px 0 64px; }
.visit-in { display: grid; gap: 24px; }
.visit-addr { font-family: var(--display); font-size: 24px; margin: 14px 0 6px; }
.visit-copy p { max-width: 46ch; }
.visit-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.visit-map { border-radius: var(--r-lg); overflow: hidden; min-height: 300px; background: var(--paper); border: 1px solid var(--line); }
.visit-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
/* showroom photo */
.visit-media { display: grid; gap: 14px; }
.visit-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 40px -22px rgba(36,25,15,.45); }
.visit-photo img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 476; object-fit: cover; transition: transform .8s ease; }
.visit-photo:hover img { transform: scale(1.04); }
.visit-photo figcaption { position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: 7px 14px; border-radius: 999px; background: rgba(30,61,47,.88); color: #fff; font-size: 14px; font-weight: 600; backdrop-filter: blur(4px); }
@media (min-width: 880px) { .visit-in { grid-template-columns: .85fr 1.15fr; align-items: stretch; } .visit-map, .visit-map iframe { min-height: 380px; } .visit-media { grid-template-columns: 1fr 1fr; align-items: stretch; } .visit-photo img { height: 100%; } }
@media (prefers-reduced-motion: reduce) { .visit-photo img { transition: none; } .visit-photo:hover img { transform: none; } }

/* ---------- shop ---------- */
.shop-head { padding-bottom: 18px; }
.shop-tools { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 18px 0 14px; }
.shop-tools input[type=search] { grid-column: 1 / -1; }
.shop-tools input, .shop-tools select, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--paper); border: 1.5px solid #C4BEAB; border-radius: var(--r-sm); font-size: 16px;
}
.field textarea { min-height: 90px; resize: vertical; }
.shop-tools input:focus, .shop-tools select:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(30, 61, 47, .15); }
@media (min-width: 720px) { .shop-tools { grid-template-columns: 1fr 220px auto; } .shop-tools input[type=search] { grid-column: auto; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 7px 16px; border-radius: 99px; border: 1.5px solid var(--line); background: transparent; text-decoration: none; font-weight: 500; white-space: nowrap; }
.chip:hover { border-color: var(--green); }
.chip[aria-current] { background: var(--green); border-color: var(--green); color: var(--paper); }
.empty { text-align: center; padding: 56px 16px; }
.empty h1, .empty h2 { font-size: 30px; margin-bottom: 10px; }
.empty .btn { margin-top: 10px; }

/* ---------- product page ---------- */
.crumbs { padding-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.crumbs a { text-decoration-color: var(--cane); }
.pdp { display: grid; gap: 24px; padding-top: 14px; }
.pdp-main { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumbs button { flex: 0 0 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--paper); cursor: pointer; overflow: hidden; }
.pdp-thumbs button[aria-current] { border-color: var(--green); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.pdp-info h1 { font-size: clamp(32px, 6vw, 46px); }
.pdp-short { font-size: 18px; color: var(--ink-2); margin: 12px 0 16px; max-width: 50ch; }
.pdp-price { font-size: 32px; font-weight: 700; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pdp-price s { font-size: 18px; font-weight: 400; color: var(--ink-2); }
.save { font-size: 15px; font-weight: 700; color: var(--green); background: rgba(30, 61, 47, .1); padding: 2px 10px; border-radius: 99px; }
.specs { margin: 18px 0 20px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 500; }
.buy { display: flex; gap: 10px; margin-bottom: 10px; }
.buy .btn { flex: 1; }
.pdp-info > .btn-block { margin-bottom: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #C4BEAB; border-radius: 999px; background: var(--paper); }
.qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 22px; cursor: pointer; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 34px; height: 34px; font-size: 18px; }
.qty-sm span { min-width: 22px; text-align: center; font-weight: 700; }
.pdp-note { margin: 16px 0; padding: 12px 14px; background: rgba(212, 154, 30, .14); border-left: 4px solid var(--haldi); border-radius: var(--r-sm); font-size: 15.5px; }
.pdp-desc { color: var(--ink-2); max-width: 60ch; line-height: 1.7; }
@media (min-width: 880px) {
  .pdp { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
  .pdp-gallery { position: sticky; top: 88px; }
}

/* ---------- checkout ---------- */
.checkout { padding-bottom: 48px; }
.co-grid { display: grid; gap: 22px; margin-top: 16px; }
.co-summary { order: -1; background: var(--paper); border-radius: var(--r-lg); padding: 18px; align-self: start; }
.sum-head { display: flex; justify-content: space-between; align-items: baseline; }
.sum-head h2 { font-size: 24px; }
.sum-items { list-style: none; padding: 0; margin: 14px 0; }
.sum-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-items li img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-sm); background: #EDEAE0; mix-blend-mode: multiply; }
.sum-items li div { flex: 1; min-width: 0; }
.sum-items li p { margin: 0; font-weight: 500; line-height: 1.3; }
.sum-tot { margin: 8px 0 12px; }
.sum-tot div { display: flex; justify-content: space-between; padding: 4px 0; }
.sum-tot dd { margin: 0; font-weight: 500; }
.sum-tot .grand { border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-size: 20px; font-weight: 700; }
.sum-tot .grand dd { font-weight: 700; }
.co-form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.co-form legend { font-family: var(--display); font-size: 26px; margin-bottom: 12px; padding: 0; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #FBEFEA; }
.f2, .f3 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .f2 { grid-template-columns: 1fr 1fr; } .f3 { grid-template-columns: 1fr 1fr 1fr; } }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid #C4BEAB; border-radius: var(--r); margin-bottom: 10px; background: var(--paper); cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 2px var(--green) inset; }
.pay-opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--ink-2); font-size: 14.5px; }
.form-err { background: #FBEFEA; color: var(--danger); border-left: 4px solid var(--danger); padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.notice { background: var(--paper); border-left: 4px solid var(--haldi); padding: 12px 14px; border-radius: var(--r-sm); margin: 16px 0; }
.co-form .btn-lg { margin-top: 6px; }
.co-form .small { margin-top: 12px; }
@media (min-width: 880px) {
  .co-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .co-summary { order: 0; position: sticky; top: 88px; padding: 24px; }
}

/* ---------- thanks / track ---------- */
.thanks { padding: 36px 16px 56px; }
.thanks-card, .track-card { max-width: 620px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); padding: 28px 20px; }
.thanks-mark { width: 60px; height: 60px; margin-bottom: 14px; }
.thanks h1 { font-size: clamp(28px, 6vw, 38px); margin-bottom: 10px; }
.thanks-no { font-size: 18px; }
.thanks-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.track-form { margin-top: 18px; }
.track-card { margin-top: 24px; }
.track-steps { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; }
.track-steps li { position: relative; padding: 0 0 18px 32px; color: var(--ink-2); }
.track-steps li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #B9B29C; background: var(--paper); }
.track-steps li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: #D2CCB9; }
.track-steps li.done { color: var(--ink); font-weight: 700; }
.track-steps li.done::before { background: var(--green); border-color: var(--green); }
.track-steps li.done:not(:last-child)::after { background: var(--green); }

/* ---------- prose (policies) ---------- */
.prose { padding-bottom: 56px; }
.prose h2 { font-size: 26px; margin: 32px 0 10px; scroll-margin-top: 90px; }
.prose p { max-width: 68ch; line-height: 1.7; }
.prose .chips { flex-wrap: wrap; margin-top: 14px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(244, 242, 234, .8); padding: 44px 0 20px; margin-top: 24px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand { font-family: var(--display); font-size: 28px; color: var(--paper); margin-bottom: 6px; }
.foot-addr { margin-top: 12px; }
.foot-h { color: var(--cane); font-weight: 700; margin-bottom: 8px; }
.foot-grid a { display: block; text-decoration: none; padding: 4px 0; }
.foot-grid a:hover { color: var(--paper); text-decoration: underline; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(244, 242, 234, .15); margin-top: 32px; padding-top: 16px; font-size: 14px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- mobile quickbar ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -6px 20px rgba(5, 15, 10, .2); }
.quickbar a, .quickbar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 9px; color: var(--paper); text-decoration: none; background: none; border: 0; font-size: 13px; font-weight: 500; cursor: pointer; }
.quickbar svg { width: 22px; height: 22px; fill: currentColor; }
.quickbar a + a, .quickbar a + button { border-left: 1px solid rgba(244, 242, 234, .14); }
.quickbar .qb-count:not(:empty) { top: 4px; right: calc(50% - 26px); }
body { --qb-h: 62px; }
@media (min-width: 960px) { .quickbar { display: none; } body { --qb-h: 0px; } }

/* ---------- cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(24, 16, 9, .45); opacity: 0; transition: opacity .3s; }
.drawer-scrim.on { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(100%, 420px); background: var(--paper);
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .3s cubic-bezier(.3, .7, .2, 1); outline: none;
}
.drawer.open { transform: none; box-shadow: -20px 0 50px rgba(24, 16, 9, .25); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer-foot { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.drawer-empty { text-align: center; padding: 48px 0; }
.d-items { list-style: none; padding: 0; margin: 0; }
.d-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.d-items img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); background: #EDEAE0; mix-blend-mode: multiply; }
.d-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-info > a { font-weight: 700; text-decoration: none; line-height: 1.3; }
.d-info .qty { margin-top: 6px; align-self: flex-start; }
.d-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--qb-h) + 16px); z-index: 70; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 99px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.no-scroll .toast { bottom: auto; top: 76px; }
.checkout-page .quickbar { display: none; }
body.checkout-page { --qb-h: 0px; }

/* ---------- Hindi / English toggle ---------- */
.lang-tog {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center;
  height: 36px; padding: 3px; margin-right: 4px; border-radius: 999px; text-decoration: none;
  background: var(--paper); border: 1.5px solid var(--green); color: var(--green);
  font-weight: 700; font-size: 13.5px; line-height: 1; isolation: isolate;
  box-shadow: 0 4px 14px -8px rgba(30, 61, 47, .55);
}
.lang-tog span { position: relative; z-index: 1; display: grid; place-items: center; min-width: 34px; height: 100%; padding: 0 6px; border-radius: 999px; transition: color .25s ease; }
.lang-tog span[lang="hi"] { font-size: 15px; padding-bottom: 1px; }
.lang-tog::before {
  content: ""; position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--green); transition: transform .3s cubic-bezier(.3,.7,.2,1);
}
.lang-tog span.on { color: var(--paper); }
html[lang="en"] .lang-tog::before { transform: translateX(100%); }
.lang-tog:hover { border-color: var(--haldi-2); }
.lang-tog:hover span:not(.on) { color: var(--haldi-2); }
html .lang-tog.switching::before { transform: translateX(var(--to, 0)); }
@media (min-width: 960px) { .lang-tog { height: 38px; margin-right: 8px; } .lang-tog span { min-width: 38px; } }
@media (max-width: 380px) { .brand-name small { display: none; } .brand-name { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .lang-tog::before, .lang-tog span { transition: none; } }

/* ---------- Devanagari ke liye thodi zyada line-height ---------- */
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.32; letter-spacing: 0; }
html[lang="hi"] .hero h1 { line-height: 1.25; }
html[lang="hi"] .btn { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 480px) {
  .topbar-in { gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 18.5px; }
  .brand-name small { font-size: 11.5px; }
  .top-actions { gap: 0; }
  .lang-tog { height: 34px; margin-right: 2px; }
  .lang-tog span { min-width: 30px; padding: 0 4px; }
  .icon-btn { width: 40px; }
}
