/* Bangla fonts, split by character (unicode-range):
   - Noto Serif Bengali (SIL OFL, fonts/NotoSerifBengali-OFL.txt): Bangla letters, signs and ৳, NOT digits.
     Subset to the Bangla block and converted to WOFF2 (allowed by the OFL).
   - Ruposhi Bangla UI (Okkhor52 Originals, fonts/RuposhiBangla-LICENSE.txt): Bangla digits ০-৯ only.
     Original, unmodified TTF files as its EULA requires.
   English text keeps Jost. font-display: swap shows text immediately. */
@font-face { font-family: 'Noto Serif Bengali'; src: url('fonts/NotoSerifBengali-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0980-09E5, U+09F0-09FF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Serif Bengali'; src: url('fonts/NotoSerifBengali-SemiBold.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; unicode-range: U+0980-09E5, U+09F0-09FF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Serif Bengali'; src: url('fonts/NotoSerifBengali-Bold.woff2') format('woff2'); font-weight: 700 900; font-style: normal; font-display: swap; unicode-range: U+0980-09E5, U+09F0-09FF, U+0964-0965, U+200C-200D, U+25CC; }
@font-face { font-family: 'Ruposhi Bangla'; src: url('fonts/RuposhiBanglaUI-Regular.ttf') format('truetype'); font-weight: 400 600; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; }
@font-face { font-family: 'Ruposhi Bangla'; src: url('fonts/RuposhiBanglaUI-Bold.ttf') format('truetype'); font-weight: 700 900; font-style: normal; font-display: swap; unicode-range: U+09E6-09EF; }
/* ==========================================================================
   Storefront + admin styles. Mobile-first; desktop tweaks at the bottom.
   ========================================================================== */
:root {
  /* Palette & type from the prayer-mat design (variable names kept so every page inherits it) */
  --bg: #F6F1E8;
  --surface: #FBF8F2;
  --green: #6B5A43;          /* accent: buttons, links */
  --green-dark: #2B2620;     /* ink: headings, dark bands */
  --gold: #8A7B66;           /* strong rule / ornaments */
  --gold-soft: #E9E1D2;      /* panel */
  --ink: #2B2620;
  --body: #4A4238;
  --muted: #5E564B;
  --line: #B9AD98;
  --on-dark: #F6F1E8;
  --on-dark-muted: #D2C8B7;
  --danger: #B3261E;
  --radius: 0px;
  --shadow: 0 30px 60px rgba(43, 38, 32, 0.18);
  --bn: 'Hind Siliguri', sans-serif;
  --en: 'Cormorant Garamond', 'Hind Siliguri', serif;
  --bar-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.65 var(--bn);
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--en); line-height: 1.25; margin: 0; color: var(--green-dark); font-weight: 500; }
h1 { font-size: clamp(28px, 7vw, 46px); }
h2 { font-size: clamp(24px, 5.5vw, 34px); }
h3 { font-size: 19px; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head p { color: var(--muted); margin-top: 8px; }
.eyebrow { display: inline-block; color: var(--gold); font-weight: 600; font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.ornament { width: 72px; height: 10px; margin: 12px auto 0; background: radial-gradient(circle, var(--gold) 3px, transparent 3.5px) center/18px 10px repeat-x; opacity: .7; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  border: 2px solid var(--green); background: var(--green); color: #fff;
  font: 600 17px/1.2 var(--bn); text-decoration: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--green-dark); box-shadow: var(--shadow); }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.gold:hover { background: #a3834a; }
.btn.outline { background: transparent; color: var(--green); }
.btn.outline:hover { background: var(--green); color: #fff; }
.btn.block { width: 100%; }
.btn.sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn.wa { background: #25D366; border-color: #25D366; }
.btn:disabled { opacity: .6; cursor: progress; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font: 700 22px var(--en); color: var(--green-dark); text-decoration: none; }
.header-call { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 24px; align-items: center; }
.hero h1 { margin-bottom: 12px; }
.hero .sub { font-size: 19px; color: var(--muted); margin-bottom: 22px; }
.hero-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 200px; }
.hero-media { position: relative; border-radius: 28px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--gold-soft) 70%); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 1 / 1; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.hero-badge { position: absolute; left: 14px; top: 14px; background: var(--green); color: #fff; font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; }

/* ---------- Trust bar ---------- */
.trust { background: var(--green); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.trust svg { flex: none; color: var(--gold); }

/* ---------- Prices ---------- */
.price { font-weight: 700; color: var(--green-dark); font-size: 22px; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.save { background: var(--gold-soft); color: #8a6a2f; font-weight: 600; font-size: 13px; padding: 3px 10px; border-radius: 999px; }

/* ---------- Product cards ---------- */
.products { display: grid; gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card.featured { border: 2px solid var(--gold); }
.card-tag { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--gold); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.card-media { aspect-ratio: 4 / 3; background: linear-gradient(180deg, #fff, var(--gold-soft)); display: flex; align-items: center; justify-content: center; gap: 4%; padding: 14px; }
.card-media img { max-height: 100%; width: auto; object-fit: contain; min-width: 0; }
.card-media.multi img { max-width: 48%; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-feats { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; font-size: 15px; }
.card-feats li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-right: 8px; }
.card-foot { margin-top: auto; display: grid; gap: 12px; }
.card-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* ---------- Feature sections ---------- */
.feature { display: grid; gap: 28px; align-items: center; }
.feature-media { border-radius: 24px; background: var(--surface); border: 1px solid var(--line); padding: 20px; }
.icon-grid { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.icon-grid li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1.4; }
.icon-grid small { font-weight: 400; color: var(--muted); font-size: 13px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--green); display: grid; place-items: center; }
.specs { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.specs th { width: 45%; color: var(--muted); font-weight: 500; background: #FCFAF5; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.alt { background: rgba(241, 232, 214, .45); }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.aud .icon { margin: 0 auto 10px; width: 52px; height: 52px; border-radius: 50%; }
.aud h3 { font-family: var(--bn); font-size: 17px; }
.aud p { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 18px 16px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #DCE6E0; padding: 40px 0 calc(var(--bar-h) + 32px); text-align: center; }
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 8px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.footer-links .btn { min-height: 44px; }
.fine { font-size: 13px; opacity: .7; margin-top: 12px; }

/* ---------- Floating WhatsApp + sticky bar ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(var(--bar-h) + 14px); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; height: var(--bar-h);
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.25);
  display: flex; align-items: center; gap: 12px; padding: 0 16px; padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar .bar-price { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-bar .bar-price small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar .price { font-size: 20px; }
.sticky-bar .btn { margin-left: auto; flex: none; min-height: 48px; padding: 10px 20px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; gap: 20px; padding: 20px 0 40px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel h2 { font-size: 21px; margin-bottom: 14px; font-family: var(--bn); }
.choice { display: grid; gap: 10px; }
.choice label { display: flex; align-items: center; gap: 12px; padding: 12px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice label:has(input:checked) { border-color: var(--green); background: #F3F8F5; }
.choice input { accent-color: var(--green); width: 20px; height: 20px; flex: none; }
.choice img { width: 56px; height: 56px; object-fit: contain; background: var(--gold-soft); border-radius: 10px; flex: none; }
.choice .c-name { font-weight: 600; line-height: 1.35; }
.choice .c-price { font-size: 15px; color: var(--muted); }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 46px; border: 0; background: none; font-size: 22px; color: var(--green); cursor: pointer; }
.qty button:disabled { color: var(--line); cursor: not-allowed; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; font-size: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label, .field legend { font-weight: 600; font-size: 15px; }
.req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font: 16px var(--bn); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.field input[type=radio] { width: 20px; height: 20px; padding: 0; flex: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 14px; display: none; }
.field.invalid .err { display: block; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.field .choice { grid-template-columns: 1fr 1fr; }
.hint { font-size: 14px; color: var(--muted); }
.bkash-box { background: #FDF2F6; border: 2px dashed #D12053; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.bkash-box strong.num { font-size: 22px; letter-spacing: .04em; color: #D12053; display: inline-flex; align-items: center; gap: 8px; }
.pay-num { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 8px 0; }
.pay-num + .pay-num { border-top: 1px dashed rgba(209, 32, 83, .35); }
.pay-num-label { font-weight: 600; font-size: 15px; }
.copy-btn { border: 1px solid #D12053; background: #fff; color: #D12053; border-radius: 999px; font: 600 13px var(--bn); padding: 4px 12px; cursor: pointer; }
.cod-box { background: #F3F8F5; border: 1px solid #CFE3D7; border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 16px; }
.summary-row.total { border-top: 2px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 20px; color: var(--green-dark); }
.summary-row .free { color: var(--green); font-weight: 600; }
.summary-item { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.summary-item img { width: 64px; height: 64px; object-fit: contain; background: var(--gold-soft); border-radius: 10px; }
.form-error { background: #FDECEA; color: var(--danger); border-radius: 12px; padding: 12px 14px; margin-bottom: 12px; font-weight: 500; }
.secure { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Thank you ---------- */
.thanks { max-width: 560px; margin: 0 auto; padding: 36px 0 60px; text-align: center; }
.check-circle { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.order-id { display: inline-block; background: var(--gold-soft); color: var(--green-dark); font: 700 20px var(--en); padding: 8px 18px; border-radius: 12px; margin: 10px 0 18px; letter-spacing: .03em; }
.thanks .panel { text-align: left; margin: 20px 0; }

/* ---------- Reveal on scroll (only when JS is on and motion is allowed) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.25,.46,.45,.94), transform .9s cubic-bezier(.25,.46,.45,.94); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
  .card:hover { transform: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); justify-items: center; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(4, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature.flip .feature-media { order: 2; }
  .checkout-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .checkout-grid aside { position: sticky; top: 80px; }
  .sticky-bar { display: none; }
  .wa-float { bottom: 24px; right: 24px; }
  .site-footer { padding-bottom: 40px; }
  .thanks { padding-top: 60px; }
}

/* ==========================================================================
   ADMIN DASHBOARD
   ========================================================================== */
body.admin { background-image: none; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-card { width: 100%; max-width: 380px; }
.admin-top { gap: 12px; }
.admin-top .hint { margin-left: auto; font-size: 13px; }
.admin-actions { display: flex; gap: 8px; }
.admin-main { padding-top: 20px; padding-bottom: 60px; max-width: 1400px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.stat span { font-size: 13px; color: var(--muted); }
.stat strong { font: 700 24px var(--en); color: var(--green-dark); }
.stat small { font-size: 12px; color: var(--muted); }
.stats .stat:last-child { grid-column: span 2; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; padding: 14px; }
.filters input, .filters select { font: 15px var(--bn); padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.filters [data-f="q"] { grid-column: 1 / -1; }
.date-f { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 10px; border-bottom: 2px solid var(--line); white-space: nowrap; background: var(--bg); position: sticky; top: 0; }
.orders td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; background: var(--surface); }
.orders td.addr { min-width: 200px; max-width: 280px; }
.orders code { font-size: 13px; background: var(--gold-soft); padding: 2px 6px; border-radius: 6px; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge.warn { background: #FFF4D6; color: #8A5A00; margin-left: 4px; }
.badge-select { font: 600 13px var(--bn); border-radius: 999px; padding: 6px 10px; border: 0; cursor: pointer; }
.st-New.badge-select { background: #E3ECFB; color: #1E4C9A; }
.st-Confirmed.badge-select { background: #E6F2EA; color: #1F6B3E; }
.st-Shipped.badge-select { background: #EDE6FB; color: #5B32A8; }
.st-Delivered.badge-select { background: var(--green); color: #fff; }
.st-Returned.badge-select { background: #FDEBDD; color: #A04B0F; }
.st-Fake.badge-select { background: #FBE3E1; color: var(--danger); }
.st-Cancelled.badge-select { background: #ECECEC; color: #555; }
tr.st-Fake td, tr.st-Cancelled td { opacity: .7; }
.acts { white-space: nowrap; }
.act { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: 15px; cursor: pointer; margin-right: 4px; }
.act.wa { background: #25D366; color: #fff; border-color: #25D366; font: 700 12px var(--bn); }
.empty-state { text-align: center; color: var(--muted); padding: 40px 0; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--green-dark); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 500; z-index: 60; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
.toast.err { background: var(--danger); }

/* Small screens: every order becomes a card */
@media (max-width: 899px) {
  .admin-top .hint { display: none; }
  .orders thead { display: none; }
  .orders, .orders tbody, .orders tr, .orders td { display: block; width: 100%; }
  .orders tr { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; padding: 6px 0; overflow: hidden; }
  .orders td { display: grid; grid-template-columns: 96px 1fr; gap: 8px; border: 0; padding: 6px 14px; max-width: none; }
  .orders td::before { content: attr(data-l); color: var(--muted); font-size: 12px; padding-top: 2px; }
  .orders td.acts { padding-top: 10px; }
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(5, 1fr); }
  .stats .stat:last-child { grid-column: auto; }
  .filters { grid-template-columns: 2fr repeat(3, 1fr); }
  .filters [data-f="q"] { grid-column: auto; }
}
@media (min-width: 1100px) {
  .filters { grid-template-columns: 2fr repeat(5, 1fr) auto auto; align-items: end; }
}
.orders td:first-child strong { white-space: nowrap; }

/* ==========================================================================
   DESIGN LAYER — prayer-mat design language applied to the storefront:
   square edges, hairline rules, serif display type, dark bands, framed photos.
   (Bangla text never gets letter-spacing: it breaks conjunct letters.)
   ========================================================================== */
body { color: var(--ink); }
p, .hint, .card-body p, .sub { color: var(--body); }
h1 { font-size: clamp(32px, 7.4vw, 60px); line-height: 1.15; }
h2 { font-size: clamp(28px, 6vw, 46px); line-height: 1.15; }
h3 { font-size: 22px; }
.logo { font-family: var(--en); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 22px; color: var(--ink); }
.site-header { background: rgba(246, 241, 232, .95); border-bottom: 1px solid transparent; }
.site-header .wrap { height: 68px; }
.header-call { color: var(--ink); font-size: 15px; }
.eyebrow { color: var(--muted); font-weight: 500; font-size: 15px; letter-spacing: 0; }
.ornament { display: none; }
.section-head { text-align: left; margin-left: 0; }

/* Buttons: square, solid accent or hairline outline */
.btn { border-radius: 0; border-width: 1px; font-weight: 500; min-height: 52px; padding: 14px 32px; }
.btn:hover { box-shadow: none; opacity: .88; background: var(--green); }
.btn.outline { border-color: var(--ink); color: var(--ink); }
.btn.outline:hover { background: transparent; color: var(--ink); opacity: .7; }
.btn.wa:hover { background: #25D366; }
.btn.sm { min-height: 44px; padding: 10px 22px; }

/* Hero: framed photo with deep soft shadow */
.hero { padding: 24px 0 64px; }
.hero .sub { font-size: 19px; }
.hero-media { border-radius: 0; border: 0; background: #fff; box-shadow: var(--shadow); max-width: 440px; width: 100%; margin: 0 auto; aspect-ratio: auto; }
.hero-media img { padding: 0; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-badge { border-radius: 0; background: var(--ink); top: 0; left: 0; font-weight: 500; }
.hero-cta .btn { flex: 0 1 auto; }

/* Diamond divider */
.divider { display: flex; align-items: center; gap: 20px; }
.divider span:not(.diamond) { flex: 1; height: 1px; background: var(--line); }
.divider .diamond { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }

/* Trust bar on the dark ink band */
.trust { background: var(--ink); color: var(--on-dark); }
.trust ul { padding: 18px 16px; }
.trust svg { color: var(--on-dark-muted); }

/* Prices & tags */
.price { color: var(--ink); font-weight: 600; }
.save, .card-tag { border-radius: 0; background: var(--gold-soft); color: var(--ink); font-weight: 500; }
.card-tag { background: var(--ink); color: var(--on-dark); }

/* Product cards: hairline frame, white photo well */
.card { border: 1px solid var(--line); border-radius: 0; background: var(--surface); }
.card:hover { box-shadow: var(--shadow); }
.card.featured { border: 1px solid var(--ink); }
.card-media { background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 1 / 1; padding: 18px; }
.card-feats li::before { color: var(--gold); }

/* Feature sections: details as columns with a top rule */
.alt { background: transparent; }
.feature-media { border-radius: 0; border: 0; background: #fff; box-shadow: var(--shadow); padding: 0; }
.feature-media img { width: 100%; }
.icon-grid { gap: 20px 24px; }
.icon-grid li { background: transparent; border: 0; border-top: 1px solid var(--gold); border-radius: 0; padding: 18px 0 0; font: 600 21px/1.3 var(--en); color: var(--ink); }
.icon-grid small { font: 400 15px/1.55 var(--bn); color: var(--body); }
.icon { background: transparent; border: 1px solid var(--line); border-radius: 0; color: var(--ink); }
.specs { background: transparent; border: 0; border-radius: 0; }
.specs th, .specs td { background: transparent; border-bottom: 0; border-top: 1px solid var(--line); padding: 16px 0; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 1px solid var(--line); }
.specs td { text-align: right; }

/* Close-up photo strip */
.closeup-frame { height: clamp(260px, 42vw, 520px); overflow: hidden; background: var(--gold-soft); }
.closeup-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.caption { margin: 14px 0 0; font-size: 15px; color: var(--muted); }

/* "Who it's for" on a dark band */
.dark { background: var(--ink); color: var(--on-dark); }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark .eyebrow, .dark .section-head p { color: var(--on-dark-muted); }
.dark .aud { background: transparent; border: 1px solid rgba(246, 241, 232, .3); border-radius: 0; text-align: left; padding: 24px 20px; }
.dark .aud .icon { margin: 0 0 14px; border-color: rgba(246, 241, 232, .3); color: var(--on-dark); border-radius: 0; width: 44px; height: 44px; }
.dark .aud h3 { font-family: var(--bn); font-size: 19px; font-weight: 600; }
.dark .aud p { color: var(--on-dark-muted); }

/* FAQ: ruled list instead of boxes */
.faq { gap: 0; margin: 0; max-width: 820px; }
.faq details { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 44px 20px 0; font-size: 17px; }
.faq summary::after { right: 4px; color: var(--ink); font-weight: 300; }
.faq .ans { padding: 0 0 20px; color: var(--body); }

/* Closing order band */
.order-band { background: var(--gold-soft); text-align: center; }
.order-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.order-band h2 { max-width: 760px; }
.order-band p { max-width: 540px; margin: 0; font-size: 18px; }
.order-band .row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer: light, like the design */
.site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); text-align: left; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.site-footer .logo { color: var(--ink); margin: 0; }
.site-footer a { color: var(--ink); }
.site-footer p { color: var(--muted); margin: 0; }
.footer-links { margin: 0; justify-content: flex-start; }
.footer-links .btn.outline { color: var(--ink) !important; border-color: var(--ink) !important; }
.fine { width: 100%; opacity: 1; }

/* Sticky bar, checkout & thank-you inherit the square, hairline look */
.sticky-bar { background: var(--surface); border-top: 1px solid var(--line); }
.panel { border-radius: 0; border-color: var(--line); background: var(--surface); }
.choice label { border-radius: 0; border-width: 1px; }
.choice label:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { accent-color: var(--green); }
.choice img, .summary-item img { border-radius: 0; background: #fff; border: 1px solid var(--line); }
.field input, .field select, .field textarea { border-radius: 0; border-width: 1px; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qty { border-radius: 0; border-width: 1px; }
.qty button { color: var(--ink); }
.cod-box { border-radius: 0; background: #fff; border-color: var(--line); }
.bkash-box { border-radius: 0; }
.copy-btn { border-radius: 0; }
.form-error { border-radius: 0; }
.check-circle { background: var(--ink); }
.order-id { border-radius: 0; background: var(--gold-soft); font-family: var(--en); }
.wa-float { box-shadow: 0 10px 24px -8px rgba(43, 38, 32, .45); }
:focus-visible { outline-color: var(--green); }

@media (min-width: 900px) {
  .hero { padding: 40px 0 96px; }
  .hero-grid { gap: 56px; }
  .site-footer { padding-bottom: 32px; }
}

/* Admin keeps its functional look but adopts the palette */
body.admin .stat, body.admin .filters, body.admin .act, body.admin .orders tr { border-radius: 0; }
body.admin .stat strong { font-weight: 600; }

/* ==========================================================================
   MOTION COMPONENTS — stats counters & slider
   ========================================================================== */
.stats-strip { border-bottom: 1px solid var(--line); }
.stats-strip ul { list-style: none; margin: 0; padding: 32px 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.stats-strip li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--gold); padding-top: 14px; }
.stats-strip .num { font: 500 clamp(40px, 11vw, 60px)/1 var(--en); color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-strip .lbl { font-size: 15px; color: var(--body); }
@media (min-width: 720px) { .stats-strip ul { grid-template-columns: repeat(var(--cols, 3), 1fr); padding: 48px 16px; } }

.slider { position: relative; }
.slider-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; overscroll-behavior-x: contain; padding-bottom: 4px; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.slider-track > * { flex: 0 0 86%; scroll-snap-align: start; }
@media (min-width: 720px) { .slider-track > * { flex-basis: calc((100% - 32px) / 3); } }
.slider-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 16px; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid var(--ink); background: transparent; transform: rotate(45deg); cursor: pointer; transition: background .2s; }
.slider-dots button.on { background: var(--ink); }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button { width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.slider-arrows button:hover:not(:disabled) { background: var(--ink); color: var(--on-dark); }
.slider-arrows button:disabled { opacity: .3; cursor: default; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; user-select: none; }
.quote-mark { font: 500 56px/0.6 var(--en); color: var(--gold); }
.quote p { margin: 0; font-size: 17px; color: var(--ink); }
.quote-who { margin-top: auto; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.quote-who strong { display: block; color: var(--ink); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }

/* ==========================================================================
   REVIEWS & SELLING POINTS
   ========================================================================== */
.stars { color: #B8873A; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.stars .off { color: var(--line); }
.verified { display: block; margin-top: 6px; font-size: 12px; color: #2F6B45; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 24px; counter-reset: none; }
.points li { border-top: 1px solid var(--line); padding: 18px 0 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
.points li:last-child { border-bottom: 1px solid var(--line); }
.pt-num { grid-row: span 2; font: 500 22px/1.2 var(--en); color: var(--gold); }
.points h3 { font: 600 18px/1.35 var(--bn); color: var(--ink); }
.points p { margin: 4px 0 0; font-size: 15px; }
@media (min-width: 720px) {
  .points { grid-template-columns: 1fr 1fr; }
  .points li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

.star-picker { display: flex; gap: 6px; margin: 6px 0 4px; }
.star-picker label { cursor: pointer; font-size: 38px; line-height: 1; color: var(--line); transition: color .15s, transform .15s; }
.star-picker label.on { color: #B8873A; }
.star-picker label:hover { transform: scale(1.08); }
.star-picker input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-picker label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }

/* Admin: tabs + review cards */
.admin-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.admin-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 18px; font: 600 15px var(--bn); color: var(--muted); cursor: pointer; }
.admin-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.admin-tabs .count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; background: #B3261E; color: #fff; font-size: 12px; border-radius: 10px; }
.review-list { display: grid; gap: 12px; }
.review-card { background: var(--surface); border: 1px solid var(--line); padding: 16px; display: grid; gap: 8px; }
.review-card.st-Approved { border-left: 4px solid #2F6B45; }
.review-card.st-Rejected { opacity: .6; }
.review-card.st-Pending { border-left: 4px solid #B8873A; }
.review-meta { font-size: 13px; color: var(--muted); }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.act.rv { width: auto; padding: 0 10px; font: 600 12px var(--bn); background: #FFF6E5; border-color: #E8D3A8; color: #6B4E12; }

/* ==========================================================================
   WARMLUNE THEME for checkout / thank-you / review / admin
   (the shared order system re-skinned with the product page's colours)
   ========================================================================== */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --green: #C8305F;          /* primary: buttons, links, focus */
  --green-dark: #231A1D;     /* ink */
  --gold: #C8305F;
  --gold-soft: #FBE4EC;
  --ink: #231A1D;
  --body: #4A3F43;
  --muted: #7A6C71;
  --line: #EDE3E7;
  --radius: 16px;
  --shadow: 0 18px 40px -24px rgba(200, 48, 95, .35);
  --bn: 'Noto Serif Bengali', 'Ruposhi Bangla', 'Jost', system-ui, sans-serif;
  --en: 'Jost', 'Noto Serif Bengali', 'Ruposhi Bangla', system-ui, sans-serif;
}
body { background: #fff; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.logo { letter-spacing: .06em; font-family: var(--en); font-weight: 600; text-transform: uppercase; font-size: 20px; }
h1, h2, h3 { font-weight: 600; }
.btn { border-radius: 999px; }
.btn:hover { background: #A9264F; opacity: 1; }
.btn.outline { border-color: var(--ink); color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; }
.panel, .choice label, .field input, .field select, .field textarea, .qty, .cod-box, .bkash-box, .copy-btn, .form-error, .order-id,
.choice img, .summary-item img { border-radius: 14px; }
.qty, .copy-btn { border-radius: 999px; }
.choice label:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: #FDF1F5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.cod-box { background: #F3F8F5; border-color: #CFE3D7; }
.check-circle { background: var(--green); }
.order-id { background: #FBE4EC; color: var(--ink); font-family: var(--en); }
.sticky-bar .btn { border-radius: 999px; }
body.admin .stat, body.admin .filters, body.admin .act, body.admin .orders tr, .review-card { border-radius: 14px; }
.admin-tabs button.on { border-bottom-color: var(--green); color: var(--green); }

/* Language toggle in checkout / thank-you headers */
.site-header .wrap { gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; margin-left: auto; }
.lang button { border: 0; background: none; border-radius: 999px; padding: 5px 11px; font: 600 13px var(--en); cursor: pointer; color: var(--ink); }
.lang button.on { background: var(--ink); color: #fff; font-family: var(--bn); }
.lang + .header-call { margin-left: 4px; }
@media (max-width: 420px) { .lang + .header-call span { display: none; } }

/* Brand logo (symbol + wordmark from the WarmLune logo) */
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.logo-img { width: 40px; height: 40px; flex: none; }
.logo-word { height: 16px; width: auto; }
@media (min-width: 900px) { .logo-img { width: 46px; height: 46px; } .logo-word { height: 20px; } }

@media (max-width: 899px) { .logo-img { width: 32px; height: 32px; } .logo-word { height: 13px; } }
@media (max-width: 360px) { .logo-word { height: 11px; } }
@media (max-width: 340px) { .logo-word { display: none; } .logo-img { width: 36px; height: 36px; } }

/* Wallet picker: 2 per row on phones, 4 on wider screens */
.pay-choice { grid-template-columns: 1fr 1fr; }
@media (min-width: 560px) { .pay-choice { grid-template-columns: repeat(4, 1fr); } }

/* Admin: abandoned cart */
.ab-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.ab-tools select { padding: 8px 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
.ab-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.ab-head a { font-weight: 600; }
.ab-card.ab-New { border-left: 4px solid #C8305F; }
.ab-card.ab-Called, .ab-card.ab-NoAnswer { border-left: 4px solid #B8873A; }
.ab-card.ab-Recovered, .ab-card.ab-Ordered { border-left: 4px solid #2F6B45; opacity: .75; }
.ab-card.ab-NotInterested { opacity: .55; }
.ab-card .review-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ab-card .act { width: auto; padding: 0 12px; margin: 0; }
.badge.ok { background: #E3F4EA; color: #2F6B45; }

/* Policy pages (delivery / refund / privacy) */
.policy { max-width: 760px; padding-top: 28px; padding-bottom: 48px; }
.policy h1 { font-size: clamp(26px, 6vw, 34px); color: var(--ink); margin-bottom: 4px; }
.policy .updated { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.policy h2 { font-size: 19px; color: var(--ink); margin: 26px 0 8px; font-family: var(--bn); font-weight: 700; }
.policy p, .policy li { font-size: 16px; line-height: 1.75; }
.policy ul, .policy ol { padding-left: 22px; margin: 6px 0 10px; }
.policy li + li { margin-top: 4px; }
.policy a { color: #C8305F; }
.policy-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.policy-nav a { color: #C8305F; }
.policy-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: none; }
