/* =========================================================
   Doctor Skin Wala — "Jamun & Haldi" theme
   Mobile-first. Palette: jamun (plum) + haldi (gold) + gulab (rose)
   ========================================================= */
:root {
  --jamun: #3D1235;
  --jamun-2: #5A1E4E;
  --jamun-3: #7A3369;
  --ink: #2B1428;
  --muted: #76596F;
  --gulab: #C23F68;
  --gulab-2: #A82F56;
  --gulab-soft: #F8DDE5;
  --gulab-wash: #FCEEF2;
  --haldi: #E9A72B;
  --haldi-2: #D18E12;
  --haldi-soft: #FBEBC8;
  --neem: #2F6B4F;
  --neem-soft: #DCEFE4;
  --amber-soft: #F5E2CF;
  --bg: #FFF8F9;
  --paper: #FFFFFF;
  --line: #EED9DF;
  --wa: #1E9E4F;
  --wa-2: #17863F;
  --f-display: 'Tiro Devanagari Hindi', 'Georgia', serif;
  --f-body: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 26px;
  --shadow: 0 10px 30px -12px rgba(61, 18, 53, .28);
  --shadow-sm: 0 4px 14px -6px rgba(61, 18, 53, .22);
  --bnav-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.chat-open { overflow: hidden; }
@media (min-width: 760px) { html.chat-open { overflow: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  padding-bottom: calc(var(--bnav-h) + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; display: block; }
a { color: var(--gulab-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--jamun); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .hero__h { font-family: var(--f-display); font-weight: 400; color: inherit; margin: 0 0 .5em; letter-spacing: -.01em; }
.h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.1rem); line-height: 1.12; }
.h2 { font-size: clamp(1.65rem, 2vw + 1rem, 2.4rem); line-height: 1.15; }
.h3 { font-size: 1.3rem; line-height: 1.25; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin: 0 0 1.2rem; }
.link { font-weight: 600; color: var(--gulab-2); text-decoration: underline; text-decoration-color: rgba(194, 63, 104, .35); }
.link:hover { text-decoration-color: currentColor; }
.link--light { color: var(--haldi); text-decoration-color: rgba(233, 167, 43, .45); }
.crumb { font-size: .92rem; color: var(--muted); margin: 0 0 .6rem; }
.crumb a { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.25em; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--sm { min-height: 38px; padding: .45em 1em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .7em 1.5em; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-2); }
.btn--gold { background: var(--haldi); color: var(--ink); }
.btn--gold:hover { background: #F2B947; }
.btn--rose { background: var(--gulab); color: #fff; }
.btn--rose:hover { background: var(--gulab-2); }
.btn--plum { background: var(--jamun); color: #fff; }
.btn--plum:hover { background: var(--jamun-2); }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row-btns--c { justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 249, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--jamun); margin-right: auto; }
.brand__mark { width: 36px; height: 36px; color: var(--jamun); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-display); font-size: 1.32rem; letter-spacing: -.01em; }
.brand__sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.mainnav { display: none; gap: 4px; }
.mainnav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; }
.mainnav a:hover { background: var(--gulab-wash); }
.mainnav a.is-on { background: var(--jamun); color: #fff; }
@media (min-width: 980px) { .mainnav { display: flex; } }
.topbar__act { display: flex; gap: 8px; }
.iconbtn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--jamun); }
.iconbtn svg { width: 21px; height: 21px; fill: currentColor; }
.iconbtn--call { background: var(--jamun); border-color: var(--jamun); color: #fff; }
.cartbtn__n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gulab); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* ---------- Flash / alerts ---------- */
.flash { padding: 12px 0; font-weight: 500; }
.flash--ok { background: var(--neem-soft); color: var(--neem); }
.flash--err { background: var(--gulab-soft); color: var(--gulab-2); }
.alert { border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 16px; font-size: .98rem; }
.alert p { margin: 0 0 4px; } .alert p:last-child { margin: 0; }
.alert--err { background: var(--gulab-wash); color: var(--gulab-2); border: 1px solid var(--gulab-soft); }
.alert--ok { background: var(--neem-soft); color: var(--neem); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--jamun); color: #fff; padding: 36px 0 44px; }
.hero__art { position: absolute; right: -120px; bottom: -80px; width: 640px; height: 640px; color: var(--haldi); opacity: .22; pointer-events: none; }
.hero__in { position: relative; display: grid; gap: 30px; }
.hero__by { margin: 0 0 14px; color: var(--haldi); font-size: 1rem; font-weight: 500; }
.hero__h { font-size: clamp(2.5rem, 6vw + .8rem, 4.6rem); line-height: 1.04; margin-bottom: .35em; max-width: 13ch; }
.hero__p { font-size: 1.15rem; color: rgba(255, 255, 255, .82); max-width: 46ch; margin: 0 0 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__btns .btn { flex: 1 1 200px; }
@media (min-width: 900px) {
  .hero { padding: 72px 0 84px; }
  .hero__in { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
  .hero__btns .btn { flex: 0 0 auto; }
}

/* Hero ask card — the signature moment */
.ask { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 22px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); }
.ask__bubbles { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.b { margin: 0; padding: 10px 14px; max-width: 86%; font-size: .98rem; line-height: 1.4; border-radius: 18px; }
.b--u { align-self: flex-end; background: var(--jamun); color: #fff; border-bottom-right-radius: 5px; }
.b--a { align-self: flex-start; background: var(--gulab-wash); border: 1px solid var(--gulab-soft); border-bottom-left-radius: 5px; }
.ask__h { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; line-height: 1.2; margin: 0 0 12px; }
.ask textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r); padding: 12px 14px; resize: vertical; min-height: 92px; background: var(--bg); }
.ask textarea:focus { outline: none; border-color: var(--gulab); box-shadow: 0 0 0 4px var(--gulab-wash); }
.ask__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.ask__chips button, .chat__chips button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 13px; font-size: .92rem; cursor: pointer; color: var(--jamun); font-weight: 500; }
.ask__chips button:hover, .chat__chips button:hover { background: var(--gulab-wash); border-color: var(--gulab-soft); }
.ask__note { margin: 10px 0 0; text-align: center; font-size: .88rem; color: var(--muted); }
.is-shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .b { opacity: 0; transform: translateY(8px); animation: bubbleIn .5s ease forwards; }
  .b--u { animation-delay: .35s; }
  .b--a { animation-delay: 1.15s; }
  @keyframes bubbleIn { to { opacity: 1; transform: none; } }
}
@media (min-width: 900px) { .ask { padding: 28px; transform: rotate(.6deg); } }

/* ---------- Promise strip ---------- */
.promise { background: var(--paper); border-bottom: 1px solid var(--line); }
.promise__in { display: grid; grid-template-columns: 1fr 1fr; }
.promise p { margin: 0; padding: 18px 14px; font-size: .95rem; color: var(--muted); line-height: 1.4; border-top: 1px solid var(--line); }
.promise p:nth-child(odd) { border-right: 1px solid var(--line); padding-left: 0; }
.promise p:nth-child(-n+2) { border-top: 0; }
.promise strong { display: block; color: var(--jamun); font-size: 1.02rem; margin-bottom: 2px; }
@media (min-width: 900px) {
  .promise__in { grid-template-columns: repeat(4, 1fr); }
  .promise p { border-top: 0; border-right: 1px solid var(--line); padding: 22px 20px; }
  .promise p:first-child { padding-left: 0; }
  .promise p:last-child { border-right: 0; }
}

/* ---------- Sections ---------- */
.sec { padding: 52px 0; }
.sec--tight { padding: 28px 0 52px; }
.sec--first { padding-top: 44px; }
.sec--rose { background: var(--gulab-wash); }
.sec--plum { background: var(--jamun); color: #fff; }
.sec--plum .lead, .sec--plum p { color: rgba(255, 255, 255, .84); }
@media (min-width: 900px) { .sec { padding: 80px 0; } .sec--tight { padding: 36px 0 80px; } }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec__head .h2 { margin: 0; }

.pagehead { padding: 36px 0 18px; }
.pagehead--slim { padding: 28px 0 4px; }
.pagehead .h1 { margin-bottom: .3em; }
@media (min-width: 900px) { .pagehead { padding: 56px 0 26px; } }

/* ---------- Category pills ---------- */
.cats { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 -16px 10px; padding-left: 16px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; background: var(--paper); border: 1px solid var(--line); }
.cat img { width: 44px; height: 44px; border-radius: 50%; background: var(--gulab-wash); padding: 4px; }
.cat:hover { border-color: var(--gulab-soft); }
.cat--soap img { background: var(--haldi-soft); }
.cat--shampoo img { background: var(--neem-soft); }
.cat--oil img { background: var(--amber-soft); }
@media (min-width: 760px) { .cats { margin: 0 0 18px; padding-left: 2px; } }

/* ---------- Product cards (jharokha arch frames) ---------- */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 680px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.pcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.pcard__img { position: relative; display: block; padding: 12px 12px 0; }
.pcard__img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--gulab-wash); border-radius: 50% 50% 12px 12px / 36% 36% 12px 12px; }
.pcard--soap .pcard__img img, .pdp__img.pcard--soap img { background: var(--haldi-soft); }
.pcard--shampoo .pcard__img img, .pdp__img.pcard--shampoo img { background: var(--neem-soft); }
.pcard--oil .pcard__img img, .pdp__img.pcard--oil img { background: var(--amber-soft); }
.pcard__off { position: absolute; top: 18px; left: 18px; background: var(--haldi); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.pcard__name { font-family: var(--f-display); font-weight: 400; font-size: 1.08rem; line-height: 1.25; margin: 0 0 2px; }
.pcard__name a { color: var(--ink); text-decoration: none; }
.pcard__size { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.pcard__row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { margin: 0; font-weight: 700; font-size: 1.12rem; color: var(--jamun); }
.price s { font-weight: 400; font-size: .85em; color: var(--muted); }
.price--lg { font-size: 1.7rem; margin: 6px 0 12px; }
.addbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--jamun); color: #fff; font-weight: 600; cursor: pointer; transition: background-color .15s; }
.addbtn svg { width: 18px; height: 18px; fill: currentColor; }
.addbtn:hover { background: var(--gulab); }
.addbtn.is-added { background: var(--neem); }
.soldout { font-size: .85rem; color: var(--muted); }
.soldout--lg { font-size: 1rem; background: var(--gulab-wash); padding: 10px 14px; border-radius: var(--r-sm); }
@media (max-width: 420px) { .addbtn span { display: none; } .addbtn { padding: 0 10px; } .pcard__body { padding: 10px 11px 12px; } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 7px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.tabs a.is-on { background: var(--jamun); border-color: var(--jamun); color: #fff; }

.search { display: flex; gap: 8px; max-width: 520px; }
.search input { flex: 1; min-width: 0; height: 46px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; background: var(--paper); }
.search input:focus { outline: none; border-color: var(--gulab); }
.search .btn { min-height: 46px; }

.shophelp { margin-top: 40px; display: grid; gap: 6px; justify-items: start; padding: 22px; border-radius: var(--r); background: var(--gulab-wash); border: 1px dashed var(--gulab-soft); }
.shophelp p { margin: 0; }
.shophelp__h { font-family: var(--f-display); font-size: 1.3rem; color: var(--jamun); }

.empty { text-align: center; padding: 40px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); display: grid; gap: 8px; justify-items: center; }
.empty p { margin: 0; color: var(--muted); max-width: 46ch; }
.empty .empty__h { font-family: var(--f-display); font-size: 1.35rem; color: var(--jamun); }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 26px; }
.pdp__img img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--gulab-wash); border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; }
.pdp__size { margin: -4px 0 0; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; background: var(--haldi); color: var(--ink); padding: 2px 9px; border-radius: 999px; vertical-align: middle; }
.buy { display: flex; gap: 12px; margin-bottom: 12px; }
.buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); height: 54px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--jamun); }
.qty input { width: 40px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 36px; }
.qty--sm button { width: 32px; font-size: 1.1rem; }
.qty--sm input { width: 30px; }
.pdp__more { margin-top: 22px; border-top: 1px solid var(--line); }
.pdp__more details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.pdp__more summary { cursor: pointer; font-weight: 600; color: var(--jamun); list-style: none; display: flex; justify-content: space-between; }
.pdp__more summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--gulab); }
.pdp__more details[open] summary::after { content: '−'; }
.pdp__more details div { padding-top: 8px; color: var(--muted); }
@media (min-width: 860px) { .pdp { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .pdp__img { position: sticky; top: 90px; } }

/* ---------- Split / threads ---------- */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; } }
.threads { display: grid; gap: 12px; }
.thread { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border-radius: 20px 20px 20px 6px; padding: 16px 18px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.thread:hover { transform: translateX(4px); }
.thread:nth-child(even) { border-radius: 20px 20px 6px 20px; margin-left: 18px; }
.thread p { margin: 0; }
.thread__topic { font-size: .82rem; color: var(--gulab-2); font-weight: 600; margin-bottom: 2px !important; }
.thread__t { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.3; color: var(--jamun); margin-bottom: 4px !important; }
.thread__b { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.thread__m { margin-top: 8px !important; font-size: .85rem; color: var(--muted); }
.thread--empty { box-shadow: none; border-style: dashed; }
.threads--full .thread:nth-child(even) { margin-left: 0; border-radius: 20px 20px 20px 6px; }

/* ---------- Community page ---------- */
.community { display: grid; gap: 30px; }
@media (min-width: 980px) { .community { grid-template-columns: 1fr 390px; gap: 44px; align-items: start; } .community__form { position: sticky; top: 90px; } }

.qpost { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin-bottom: 26px; }
.qpost__m { color: var(--muted); font-size: .92rem; margin: -4px 0 14px; }
.qpost__b { line-height: 1.7; }
.qpost__img { margin-top: 16px; border-radius: var(--r); max-height: 460px; object-fit: contain; background: var(--bg); }
.replies__h { margin-top: 10px; }
.replies { display: grid; gap: 12px; margin-bottom: 20px; }
.reply { padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.reply--team { background: var(--gulab-wash); border-color: var(--gulab-soft); }
.reply__who { margin: 0 0 4px; font-weight: 700; color: var(--jamun); }
.reply--team .reply__who::after { content: ' ✓'; color: var(--neem); }
.reply__m { margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
.qhelp { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; }

/* ---------- Doctors ---------- */
.docs { display: grid; gap: 14px; }
@media (min-width: 760px) { .docs { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1100px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.doc { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.doc__pic { flex: none; width: 74px; height: 74px; border-radius: 50%; overflow: hidden; background: var(--haldi-soft); display: grid; place-items: center; font-family: var(--f-display); font-size: 2rem; color: var(--jamun); }
.doc__pic img { width: 100%; height: 100%; object-fit: cover; }
.doc__info { min-width: 0; }
.doc__info p { margin: 0; }
.doc__name { font-family: var(--f-display); font-weight: 400; font-size: 1.2rem; margin: 0 0 2px; color: var(--jamun); }
.doc__deg { font-size: .94rem; font-weight: 600; }
.doc__clinic, .doc__meta { font-size: .9rem; color: var(--muted); }
.doc__badge { display: inline-block; margin-top: 6px !important; font-size: .78rem; color: var(--neem); background: var(--neem-soft); padding: 2px 9px; border-radius: 999px; }
.doc__btns { display: flex; gap: 8px; margin-top: 10px; }
.docjoin { display: grid; gap: 8px; align-content: center; justify-items: start; background: var(--jamun); color: #fff; border-radius: var(--r); padding: 22px; text-decoration: none; min-height: 170px; }
.docjoin p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .98rem; }
.docjoin .docjoin__h { font-family: var(--f-display); font-size: 1.4rem; color: #fff; }
.docs--list .empty { grid-column: 1 / -1; }

/* ---------- About ---------- */
.about { display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.about__pic { margin: 0; max-width: 380px; width: 100%; justify-self: center; }
.about__pic img, .about__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 24px 24px / 32% 32% 24px 24px; box-shadow: 0 0 0 6px rgba(233, 167, 43, .35), 0 0 0 7px rgba(233, 167, 43, .7); }
.about__ph { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 10%, #F4C9D3 0%, #C23F68 55%, #5A1E4E 100%); }
.about__ph span { font-family: var(--f-display); font-size: 6rem; color: rgba(255, 255, 255, .9); }
.about__pic figcaption { text-align: center; margin-top: 16px; color: var(--haldi); font-weight: 500; }
.about__body { color: rgba(255, 255, 255, .86); margin-bottom: 18px; max-width: 60ch; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.values { display: grid; gap: 24px; }
.values p { margin: 0; color: var(--muted); }
.values .h3 { color: var(--jamun); margin-bottom: .3em; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* ---------- Contact ---------- */
.contactband { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
@media (min-width: 900px) { .contactband { padding: 44px 52px; } }
.addr { font-style: normal; font-size: 1.08rem; line-height: 1.6; margin-bottom: 20px; max-width: 46ch; }
.contactgrid { display: grid; gap: 22px; }
@media (min-width: 900px) { .contactgrid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; } }
.contactcard__name { font-family: var(--f-display); font-size: 1.5rem; color: var(--jamun); margin: 0 0 6px; }
.contactcard__ph { font-size: 1.3rem; font-weight: 700; margin: 0 0 14px; }
.contactcard__ph a { color: var(--jamun); text-decoration: none; }
.map { width: 100%; height: 240px; border: 0; border-radius: var(--r); margin-top: 18px; background: var(--gulab-wash); }

/* ---------- Cards & forms ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
@media (min-width: 760px) { .card { padding: 30px; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { padding: 0; margin-bottom: 12px; color: var(--jamun); }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .96rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--bg);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gulab); box-shadow: 0 0 0 4px var(--gulab-wash); background: #fff; }
.field input[type=file] { padding: 10px; }
.field2 { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .field2 { grid-template-columns: 1fr 1fr; } }
.hint { margin: 2px 0 0; font-size: .86rem; color: var(--muted); }
.check, .radio { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; font-size: .96rem; cursor: pointer; }
.check input, .radio input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--jamun); flex: none; }
.pay { border: 0; padding: 0; }
.pay .radio { margin: 6px 0; }
.success { text-align: center; display: grid; gap: 10px; justify-items: center; }
.success__ic { width: 60px; height: 60px; color: var(--neem); }
.success .lead { margin: 0 auto 8px; }
.upi { width: 100%; background: var(--haldi-soft); border-radius: var(--r); padding: 16px; display: grid; gap: 8px; justify-items: center; }
.upi p { margin: 0; }
.otable { width: 100%; border-collapse: collapse; text-align: left; margin: 8px 0; font-size: .98rem; }
.otable td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.otable td:last-child { text-align: right; white-space: nowrap; }
.otable__t td { font-weight: 700; color: var(--jamun); font-size: 1.1rem; border-bottom: 0; }

/* ---------- Cart ---------- */
.checkout { display: grid; gap: 24px; }
@media (min-width: 940px) { .checkout { grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; } .checkout__form { position: sticky; top: 90px; } }
.checkout__form.is-disabled { opacity: .6; }
.cartlist { display: grid; gap: 12px; }
.citem { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.citem img { width: 72px; height: 72px; object-fit: cover; border-radius: 50% 50% 10px 10px / 36% 36% 10px 10px; background: var(--gulab-wash); }
.citem p { margin: 0; }
.citem__name { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.25; }
.citem__size { font-size: .86rem; color: var(--muted); margin-bottom: 6px !important; }
.citem__right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.citem__total { font-weight: 700; color: var(--jamun); }
.citem__rm { border: 0; background: none; color: var(--gulab-2); font-size: .86rem; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.totals { margin: 16px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 16px; }
.totals div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.totals div:last-child { border-bottom: 0; }
.totals dt, .totals dd { margin: 0; }
.totals__grand { font-weight: 700; font-size: 1.15rem; color: var(--jamun); }

/* ---------- Prose ---------- */
.prose p { color: var(--muted); max-width: 68ch; }
.prose .h3 { color: var(--jamun); margin-top: 1.5em; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 48px 0 24px; margin-top: 0; font-size: .97rem; }
.foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot a:hover { color: var(--haldi); }
.foot__grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; } }
.foot__name { font-family: var(--f-display); font-size: 1.6rem; color: #fff; margin: 0 0 8px; }
.foot__brand p { max-width: 36ch; }
.foot__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.foot__h { color: var(--haldi); font-weight: 600; margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot__legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .55); }
.foot__legal p { margin: 0 0 6px; max-width: 90ch; }

/* ---------- Floating WhatsApp + Call ---------- */
.fab { position: fixed; right: 14px; bottom: calc(var(--bnav-h) + 14px + env(safe-area-inset-bottom)); z-index: 45; display: grid; gap: 10px; }
.fab__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); color: #fff; }
.fab__btn svg { width: 26px; height: 26px; fill: currentColor; }
.fab__btn--wa { background: var(--wa); width: 58px; height: 58px; }
.fab__btn--wa svg { width: 32px; height: 32px; }
.fab__btn--call { background: var(--jamun); }
@media (min-width: 900px) { .fab { right: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .fab__btn--wa::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(30, 158, 79, .5); animation: ping 2.6s ease-out 1.5s 3; }
  .fab__btn--wa { position: relative; }
  @keyframes ping { 70% { box-shadow: 0 0 0 16px rgba(30, 158, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(30, 158, 79, 0); } }
}

/* ---------- Mobile bottom nav ---------- */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; height: calc(var(--bnav-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -8px 24px -18px rgba(61, 18, 53, .5); }
.bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--muted); font-size: .74rem; font-weight: 600; border: 0; background: none; cursor: pointer; padding: 0; }
.bnav svg { width: 23px; height: 23px; fill: currentColor; }
.bnav .is-on { color: var(--jamun); }
.bnav__ai { position: relative; color: var(--gulab) !important; }
.bnav__ai svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--gulab); fill: #fff; margin-top: -22px; box-shadow: 0 8px 18px -6px rgba(194, 63, 104, .7); border: 4px solid var(--paper); box-sizing: content-box; }
@media (min-width: 900px) { .bnav { display: none; } }

/* ---------- Chat launcher (desktop) ---------- */
.chatlaunch { display: none; }
@media (min-width: 900px) {
  .chatlaunch { position: fixed; left: 24px; bottom: 24px; z-index: 45; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--gulab); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow); }
  .chatlaunch:hover { background: var(--gulab-2); }
  .chatlaunch__dot { width: 10px; height: 10px; border-radius: 50%; background: #8BF0B2; box-shadow: 0 0 0 3px rgba(139, 240, 178, .3); }
}

/* ---------- Chat panel ---------- */
.chat { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; background: var(--bg); opacity: 0; transform: translateY(16px); transition: opacity .2s ease, transform .2s ease; }
.chat.is-open { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .chat { inset: auto; left: 24px; bottom: 90px; width: 390px; height: min(620px, calc(100vh - 120px)); border-radius: 24px; box-shadow: 0 30px 70px -20px rgba(43, 20, 40, .55); overflow: hidden; border: 1px solid var(--line); }
}
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; padding-top: calc(12px + env(safe-area-inset-top)); background: var(--jamun); color: #fff; }
@media (min-width: 760px) { .chat__head { padding-top: 14px; } }
.chat__ava { width: 42px; height: 42px; border-radius: 50%; background: var(--jamun-2); display: grid; place-items: center; }
.chat__ava svg { width: 30px; height: 30px; }
.chat__who { flex: 1; min-width: 0; }
.chat__who p { margin: 0; line-height: 1.2; }
.chat__name { font-family: var(--f-display); font-size: 1.2rem; }
.chat__status { font-size: .82rem; color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: 6px; }
.chat__live { width: 8px; height: 8px; border-radius: 50%; background: #8BF0B2; }
.chat__x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__x svg { width: 20px; height: 20px; fill: currentColor; }
.chat__body { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .98rem; line-height: 1.5; word-wrap: break-word; }
.msg--bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg--user { align-self: flex-end; background: var(--jamun); color: #fff; border-bottom-right-radius: 5px; }
.msg__wa { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--jamun-3); animation: dot 1.2s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; }
.msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chat__form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; background: var(--paper); border-top: 1px solid var(--line); }
.chat__form textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 22px; padding: 10px 16px; min-height: 46px; max-height: 120px; background: var(--bg); line-height: 1.4; }
.chat__form textarea:focus { outline: none; border-color: var(--gulab); }
.chat__send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--gulab); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__send svg { width: 20px; height: 20px; fill: currentColor; }
.chat__foot { margin: 0; padding: 6px 14px calc(8px + env(safe-area-inset-bottom)); font-size: .76rem; color: var(--muted); background: var(--paper); text-align: center; }
@media (min-width: 760px) { .chat__foot { padding-bottom: 10px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--bnav-h) + 86px + env(safe-area-inset-bottom)); transform: translate(-50%, 12px); z-index: 70; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: .95rem; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .2s; width: max-content; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--haldi); margin-left: 8px; font-weight: 600; }
@media (min-width: 900px) { .toast { bottom: 32px; } }

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

img.is-ill { object-fit: contain !important; }
/* grid children ko content se chauda na hone dein */
.community > *, .checkout > *, .split > *, .pdp > *, .about > *, .hero__in > *, .contactgrid > * { min-width: 0; }
@media (max-width: 899px) {
  .fab { gap: 8px; right: 12px; }
  .fab__btn { width: 46px; height: 46px; }
  .fab__btn svg { width: 22px; height: 22px; }
  .fab__btn--wa { width: 52px; height: 52px; }
  .fab__btn--wa svg { width: 28px; height: 28px; }
}
