/* মায়ের ওম — প্রোডাক্ট পেজ। রং v3 ডিজাইন থেকে নেওয়া। */
:root {
  --brand: #B23A5B;
  --brand-dark: #8E2D49;
  --brand-soft: #FBEFF3;
  --brand-tint: #F7EEF1;
  --ink: #2A2226;
  --muted: #7A6B71;
  --muted-2: #9C8F95;
  --line: #F0E6EA;
  --line-2: #E8E1E4;
  --zebra: #FCF9FA;
  --green: #1F8A5B;
  --green-dark: #1F6B47;
  --green-soft: #F3FAF6;
  --gold: #C98A00;
  --wa: #25A35A;
  --err: #C0392B;
  --bg: #F8F4F6;
  --r: 14px;
  --bar-h: 64px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  /* Poppins এ বাংলা অক্ষর নেই: ইংরেজি অক্ষর আর সংখ্যা Poppins এ, বাংলা লেখা Hind Siliguri তে দেখায় */
  font-family: "Poppins", "Hind Siliguri", "Noto Sans Bengali", system-ui, sans-serif;
  font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); font-weight: 400; }
[hidden] { display: none !important; }

.page { max-width: 480px; margin: 0 auto; background: #fff; min-height: 100vh; }
@media (min-width: 520px) { .page { box-shadow: 0 0 0 1px var(--line); } }

/* হেডার */
.hdr { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 20; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; color: var(--brand); text-decoration: none; }
.brand-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.hdr-call { display: flex; align-items: center; gap: 5px; font-size: 13px; border: 1px solid var(--line-2); border-radius: 10px; padding: 5px 10px; text-decoration: none; white-space: nowrap; }
.announce { background: var(--brand-soft); color: var(--brand-dark); font-size: 13px; text-align: center; padding: 6px 12px; }

/* ছবি */
.gallery { position: relative; background: var(--brand-tint); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
/* height:auto জরুরি: নাহলে img এর height="800" অ্যাট্রিবিউট ধরে ছবি লম্বা হয়ে পুরো স্ক্রিন জুড়ে যায়।
   ছবি 4:5 (লম্বা) মাপে দেখায়; max-height দিয়ে নিচে নাম আর দাম প্রথম স্ক্রিনেই দেখা যায়। ছবি কখনো কাটে না। */
.g-slide { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: max(300px, calc(100vh - 380px)); max-height: max(300px, calc(100svh - 380px)); object-fit: contain; background: #fff; scroll-snap-align: start; }
.g-badge { position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff; border-radius: 8px; padding: 3px 10px; font-size: 13px; font-weight: 500; }
.g-count { position: absolute; bottom: 12px; right: 12px; background: #fff; border-radius: 10px; padding: 2px 9px; font-size: 12px; color: #6B5C62; }
.g-thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; }
.g-thumbs button { flex: none; width: 54px; height: 54px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--brand-tint); cursor: pointer; padding: 0; }
.g-thumbs button.on { border-color: var(--brand); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* সেকশন */
.pd { padding: 18px 16px; }
.dv { border-top: 8px solid var(--bg); }
.title { font-size: 21px; font-weight: 600; line-height: 1.35; }
.subtitle { font-size: 14px; color: var(--muted); margin: 3px 0 12px; }
.sec { font-weight: 600; font-size: 17px; }
.sec-sm { font-weight: 600; font-size: 15px; margin: 16px 0 8px; }
.sub { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.mb { margin-bottom: 16px; }
.mb-s { margin-bottom: 10px; }

/* দাম */
.price-box { background: var(--zebra); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.pb-label { font-size: 12px; color: var(--muted); }
.pb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pb-price { font-size: 28px; font-weight: 600; color: var(--brand); line-height: 1.2; }
.pb-compare { color: var(--muted-2); }
.pb-save { font-size: 12px; color: var(--green-dark); background: #E6F5EC; padding: 2px 9px; border-radius: 10px; }
.pb-per { font-size: 13px; color: #6B5C62; }
.timer { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--brand-dark); }
.timer b { font-variant-numeric: tabular-nums; background: var(--brand); color: #fff; border-radius: 8px; padding: 1px 8px; font-weight: 500; }

/* টেবিল */
.tb { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.rw { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rw:nth-child(odd) { background: var(--zebra); }
.rw:last-child { border-bottom: none; }
.rw > span:last-child { text-align: right; }
.rk { color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { display: flex; gap: 6px; align-items: center; font-size: 13px; background: var(--zebra); border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.chip .i { color: var(--brand); }

/* প্যাকেজ */
.pk { position: relative; width: 100%; text-align: left; border: 1px solid #EDE4E8; border-radius: var(--r); padding: 14px 12px; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; cursor: pointer; background: #fff; }
.pk:last-child { margin-bottom: 0; }
.pk.on { border: 2px solid var(--green); background: var(--green-soft); padding: 13px 11px; }
.pk-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #B9AEB3; flex: none; }
.pk.on .pk-radio { border: 5px solid var(--green); }
.pk-tag { position: absolute; top: -10px; left: 14px; font-size: 11px; padding: 1px 10px; border-radius: 10px; color: #fff; background: var(--green); }
.pk-tag.gold { background: var(--gold); }
.pk-main { flex: 1; min-width: 0; }
.pk-name { font-weight: 600; }
.pk-note { font-size: 12px; color: var(--muted); }
.pk-note.free { color: var(--green); }
.pk-price { text-align: right; }
.pk-price b { display: block; font-size: 18px; font-weight: 600; color: var(--brand); }
.pk-price s { font-size: 12px; color: var(--muted-2); }

/* রং */
.seg { display: inline-flex; gap: 2px; background: #F5EFF2; border-radius: 16px; padding: 3px; margin-bottom: 12px; }
.seg-btn { font-size: 13px; padding: 5px 14px; border-radius: 14px; border: 1px solid transparent; background: none; cursor: pointer; color: #6B5C62; }
.seg-btn.on { background: #fff; color: var(--brand); font-weight: 500; border-color: #EAD3DB; }
.crow { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.crow-label { font-size: 13px; font-weight: 500; min-width: 64px; }
.crow-label small { display: block; font-weight: 400; color: var(--brand); font-size: 12px; }
.dots { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #D9CFD3; cursor: pointer; padding: 0; position: relative; }
.dot.on { outline: 2px solid var(--brand); outline-offset: 2px; }
.dot:disabled { cursor: not-allowed; opacity: .35; }
.dot:disabled::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1.5px; background: #6B5C62; transform: rotate(45deg); }

/* ফর্ম */
.fld { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 12px; padding: 0 12px; background: #fff; position: relative; }
.fld:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(178, 58, 91, .12); }
.fld.bad { border-color: var(--err); }
.fld-ic { color: var(--muted-2); display: flex; }
.fld input, .fld select, .fld textarea { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; padding: 12px 0; font-size: 16px; }
.fld textarea { resize: none; min-height: 64px; }
.fld.area { align-items: flex-start; }
.fld.area .fld-ic { padding-top: 13px; }
.fld.sel select { appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer; text-overflow: ellipsis; }
.fld.sel select:invalid, .fld.sel select:disabled { color: var(--muted-2); }
.fld.sel .chev { position: absolute; right: 10px; pointer-events: none; color: var(--muted); }
::placeholder { color: var(--muted-2); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.err { color: var(--err); font-size: 12px; min-height: 0; margin: 3px 2px 8px; }
.err:empty { margin: 0 0 10px; }
.summary { margin: 4px 0 14px; }
.summary .rw.total { background: var(--brand-soft); font-weight: 600; }
.summary .rw.total span:last-child { color: var(--brand); font-size: 16px; }
.form-alert { background: #FDECEA; color: #8A2A1F; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
.form-alert.ok { background: var(--green-soft); color: var(--green-dark); }
.form-alert a { font-weight: 600; }
.cta { width: 100%; border: 0; background: var(--brand); color: #fff; border-radius: var(--r); padding: 14px; font-size: 16px; font-weight: 600; cursor: pointer; }
.cta:disabled { opacity: .6; cursor: wait; }
.assure { display: flex; justify-content: center; gap: 14px; font-size: 12px; color: #6B5C62; margin-top: 10px; }
.assure span { display: flex; align-items: center; gap: 4px; }
.soldout { background: #FDECEA; color: #8A2A1F; border-radius: 12px; padding: 12px; margin-bottom: 12px; }

/* প্রতিশ্রুতি ও প্রশ্ন */
.promise { border: 1px solid #CFE9DB; background: var(--green-soft); border-radius: var(--r); padding: 12px; display: grid; gap: 8px; color: var(--green-dark); margin-bottom: 18px; }
.promise div { display: flex; gap: 8px; align-items: center; }
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 12px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 12px 12px; color: #5A4B51; font-size: 14px; }

.ftr { background: var(--zebra); border-top: 1px solid var(--line); text-align: center; padding: 18px 16px 22px; font-size: 13px; color: #6B5C62; }
.ftr-brand { font-weight: 600; color: var(--brand); font-size: 15px; }

/* ভাসমান বার */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-width: 480px; margin: 0 auto; background: #fff; border-top: 1px solid var(--line-2); padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -4px 16px rgba(42, 34, 38, .06); transform: translate3d(0, 0, 0); transition: transform .35s cubic-bezier(.22, .61, .36, 1), opacity .25s ease; will-change: transform; }
.bar.hide { transform: translate3d(0, 110%, 0); opacity: 0; pointer-events: none; }
.bar-info { flex: 1; min-width: 0; }
.bar-label { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-price { font-size: 19px; font-weight: 600; color: var(--brand); }
.bar-compare { font-size: 12px; color: var(--muted-2); }
.bar-cta { background: var(--brand); color: #fff; border-radius: 12px; padding: 12px 22px; font-weight: 600; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform .12s, background .2s; }
.bar-cta:active { transform: scale(.96); background: var(--brand-dark); }

/* ভাসমান WhatsApp: ডান-নিচের কোণে, বারের উপরে */
.wa-float { position: fixed; z-index: 31; right: max(16px, calc((100vw - 480px) / 2 + 16px)); bottom: calc(var(--bar-h) + 14px + env(safe-area-inset-bottom)); transition: bottom .35s cubic-bezier(.22, .61, .36, 1), opacity .25s, transform .25s; }
body.bar-off .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
.wa-float.away, .wa-float.closed { opacity: 0; transform: scale(.6); pointer-events: none; }
.wa-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(37, 163, 90, .4); }
.wa-btn .i { width: 28px; height: 28px; }
.wa-close { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: #fff; color: #6B5C62; display: grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); padding: 0; }
.wa-close .i { width: 13px; height: 13px; stroke-width: 2.6; }
#checkout { scroll-margin-top: 64px; }
.fld.flash { animation: flash 1.2s ease; }
@keyframes flash { 0%, 100% { box-shadow: none; } 30% { box-shadow: 0 0 0 4px rgba(178, 58, 91, .22); border-color: var(--brand); } }

/* সাকসেস ও পলিসি পেজ */
.center { text-align: center; }
.ok-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 12px auto 12px; }
.ok-ic .i { width: 40px; height: 40px; }
.btn-line { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 16px; text-decoration: none; margin: 4px; }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.prose h2 { font-size: 17px; margin: 18px 0 6px; }
.prose p, .prose li { color: #4A3D42; margin-bottom: 6px; }
.prose ul { padding-left: 20px; }
body.no-bar { padding-bottom: 0; }

@media (prefers-reduced-motion: reduce) { .bar, .wa-float { transition: none; } }

/* ছবি: জুম আইকন, রঙের পাশে ছোট ছবি, আর বড় করে দেখা */
.g-slide { cursor: zoom-in; }
.g-zoom { position: absolute; bottom: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: #6B5C62; pointer-events: none; }
.g-zoom .i { width: 18px; height: 18px; }
.cpic { flex: none; width: 40px; height: 40px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); padding: 0; background: var(--brand-tint); cursor: zoom-in; }
.cpic img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.lb-on { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 100; background: #111; }
.lb[hidden] { display: none; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track.locked { overflow: hidden; }
.lb-cell { flex: 0 0 100%; height: 100%; scroll-snap-align: start; display: flex; overflow: hidden; touch-action: pan-x pan-y; cursor: zoom-in; }
.lb-cell.zoomed { overflow: auto; cursor: zoom-out; }
.lb-cell img { flex: none; margin: auto; max-width: 100%; max-height: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.lb-cell.zoomed img { max-width: none; max-height: none; }
.lb-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-x .i { width: 22px; height: 22px; }
.lb-count { position: absolute; top: 22px; left: 16px; color: #fff; font-size: 14px; }
.lb-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 13px; pointer-events: none; }

/* ডেলিভারি এলাকা: তিনটা বাটন */
.zones { border: 0; padding: 0; margin: 6px 0 4px; display: grid; gap: 8px; }
.zones legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.zn { display: flex; align-items: center; gap: 10px; border: 1px solid #EDE4E8; border-radius: var(--r); padding: 11px 12px; cursor: pointer; background: #fff; }
.zn input { position: absolute; opacity: 0; pointer-events: none; }
.zn.on { border: 2px solid var(--green); background: var(--green-soft); padding: 10px 11px; }
.zn-radio { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #B9AEB3; flex: none; }
.zn.on .zn-radio { border: 5px solid var(--green); }
.zn:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.zn-main { flex: 1; min-width: 0; }
.zn-main b { display: block; font-weight: 600; font-size: 15px; }
.zn-main small { display: block; font-size: 12px; color: var(--muted); line-height: 1.35; }
.zn-fee { font-weight: 600; color: var(--brand); white-space: nowrap; }
.zn-fee s { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 4px; }
.zones.bad .zn { border-color: #E3A3A3; }
