/* =========================================================
   EROI — Dual-Head Shaver landing page
   Direction: gentle, private, matter-of-fact.
   World: a bathroom shelf in morning light, blush porcelain.
   Design pass by unslop (Damir Sokolovsky, @heydamir), CC BY 4.0
   ========================================================= */

/* Bangla digits and ৳ from Anek Bangla everywhere (Hind Siliguri's ১ and ৳ read oddly).
   Tiny self-hosted subsets, digits ০–৯ and ৳ only. Anek Bangla is SIL Open Font License. */
@font-face { font-family: "LV Num"; src: url("../fonts/lv-num-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+09E6-09EF, U+09F3; }
@font-face { font-family: "LV Num"; src: url("../fonts/lv-num-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+09E6-09EF, U+09F3; }
@font-face { font-family: "LV Num"; src: url("../fonts/lv-num-600.woff2") format("woff2"); font-weight: 600 700; font-display: swap; unicode-range: U+09E6-09EF, U+09F3; }

:root {
  /* Blush porcelain ramp (light) */
  --bg: #fbf5f4;
  --alt: #f6eded;
  --card: #fffdfd;
  --raised: #f4eaea;
  --porcelain: #f6e4e7;
  --porcelain-2: #efd7dc;

  --text: #261a1d;
  --text-2: #5d4b50;
  --muted: #7f6b70;
  --line: rgba(38, 26, 29, 0.08);
  --line-2: rgba(38, 26, 29, 0.14);

  /* One accent, from the product's own rose */
  --accent: #c2406b;
  --accent-hover: #ab3660;
  --accent-ink: #a8325a;
  --accent-tint: #fbeef1;
  --ok: #15803d;
  --err: #dc2626;

  /* Dark ramp for the guarantee band */
  --d-bg: #1e1518;
  --d-text: #f3eaec;
  --d-text-2: #b8a7ac;
  --d-line: rgba(243, 234, 236, 0.1);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "LV Num", "Hind Siliguri", system-ui, sans-serif;
  --font-head: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--text); margin: 0; line-height: 1.3; letter-spacing: 0; }
p { margin: 0; }
b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 32px; }

/* Signature: the teeth of the trimmer's guard comb */
.comb {
  height: 8px; width: 96px;
  background: repeating-linear-gradient(90deg, rgba(194, 64, 107, 0.45) 0 1px, transparent 1px 4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 15px; border-radius: 8px; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 17px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ink { background: var(--text); color: #fff; }
.btn-ink:hover { background: #3a2a2e; }
.btn-secondary { background: var(--card); color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--raised); }
.btn-wa { background: #1f8a55; color: #fff; margin-top: 20px; }
.btn-wa:hover { background: #1a774a; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 245, 244, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
/* wordmark: EROI | ইরোই */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); line-height: 1; color: var(--text); }
.logo-en { font-weight: 600; font-size: 19px; letter-spacing: 0.08em; }
.logo-sep { width: 1.5px; height: 16px; border-radius: 1px; background: var(--accent); opacity: 0.6; }
.logo-bn { font-weight: 500; font-size: 18px; color: var(--accent-ink); transform: translateY(1px); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-2); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.nav-links a:hover { background: var(--raised); color: var(--text); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.hero h1 { font-size: 56px; line-height: 1.2; max-width: 11em; }
.lead { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--text-2); max-width: 32rem; }
.hero .comb { margin-top: 32px; }

.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.price-now { font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--text); }
.price-old { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 16px; font-weight: 600; color: var(--accent-ink); }
.price-note { margin-top: 4px; font-size: 15px; color: var(--muted); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Moment 1: the product standing on a porcelain shelf */
.stage {
  position: relative; margin: 0; aspect-ratio: 5 / 6; border-radius: 20px; overflow: hidden;
  background: var(--porcelain);
}
.shelf {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36%;
  background: var(--porcelain-2);
  border-top: 1px solid rgba(38, 26, 29, 0.06);
}
.shelf::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 32%; height: 7%; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(70, 30, 42, 0.26), rgba(70, 30, 42, 0));
}
/* The colour photos are 1500×1481 with box, shaver and comb side by side.
   .shot shows only the shaver: x 690–1100 of 1500, full height. */
.shot {
  position: absolute; left: 50%; top: 7%; height: 74%; aspect-ratio: 410 / 1481; translate: -50% 0;
  background-repeat: no-repeat; background-size: 365.85% auto; background-position: 63.3% 0;
  /* darken drops the white photo background but keeps the product's own colour (multiply tinted blue toward purple) */
  mix-blend-mode: darken;
  transition: opacity 200ms var(--ease);
}
.shot.is-swapping { opacity: 0; }
.swatches { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0 16px; }
.swatch {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 8px; border-radius: 10px;
  border: 1px solid var(--line-2); background: rgba(255, 253, 253, 0.8); color: var(--text-2);
  font: 500 14px var(--font); cursor: pointer; transition: border-color 160ms var(--ease), background-color 160ms var(--ease), color 160ms var(--ease);
}
.swatch span { width: 18px; height: 18px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(38, 26, 29, 0.12); }
.swatch:hover { background: var(--card); color: var(--text); }
.swatch.is-active { border-color: var(--accent); background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
.swatch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.spec-strip {
  margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.spec { display: flex; flex-direction: column-reverse; gap: 4px; padding: 20px 24px; }
.spec + .spec { border-left: 1px solid var(--line); }
.spec dt { font-size: 14px; color: var(--muted); }
.spec dd { margin: 0; font-family: var(--font-head); font-size: 24px; font-weight: 500; line-height: 1.3; }

/* Hero entrance: one short fade and rise */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.hero-copy > *, .stage { animation: rise 480ms var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 50ms; }
.hero-copy > :nth-child(3), .hero-copy > :nth-child(4) { animation-delay: 100ms; }
.hero-copy > :nth-child(5), .hero-copy > :nth-child(6) { animation-delay: 150ms; }
.stage { animation-delay: 100ms; }
@media (prefers-reduced-motion: reduce) { .hero-copy > *, .stage { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--alt); border-block: 1px solid var(--line); }
.head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
h2 { font-size: 36px; line-height: 1.3; }
.sub { margin-top: 12px; font-size: 18px; color: var(--text-2); }

/* Problem */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.pain-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.pain-list li { padding: 20px 0 24px; border-top: 1px solid var(--line-2); }
.idx { font-size: 14px; color: var(--muted); }
.pain-list h3 { margin-top: 8px; font-size: 20px; }
.pain-list p { margin-top: 4px; color: var(--text-2); }
.solution {
  margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 20px 20px 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
}
.solution p { font-size: 17px; color: var(--text-2); }
.solution b { color: var(--text); }

/* Dual head */
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dual { padding: 32px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.dual-top { display: flex; justify-content: space-between; align-items: center; color: var(--text-2); }
.dual-top .i { width: 18px; height: 18px; }
.meta { font-size: 14px; color: var(--muted); }
.dual h3 { margin-top: 24px; font-size: 24px; }
.dual p { margin-top: 8px; color: var(--text-2); }
.ticks { margin-top: 20px; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.ticks .i { width: 16px; height: 16px; color: var(--accent-ink); }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
.feat { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.feat > .i { width: 18px; height: 18px; margin-top: 4px; color: var(--text-2); }
.feat h3 { font-size: 18px; }
.feat p { margin-top: 4px; color: var(--text-2); font-size: 15px; }

/* Areas */
.areas-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.areas-copy { position: sticky; top: 112px; }
.areas-copy .sub { max-width: 400px; }
.areas-copy .btn { margin-top: 32px; }
.areas-list { display: grid; gap: 8px; }
.area {
  display: flex; align-items: center; gap: 20px; padding: 20px 24px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line); transition: background-color 160ms var(--ease);
}
.area:hover { background: var(--raised); }
.area .idx { min-width: 24px; }
.area h3 { font-size: 20px; }
.area p { color: var(--text-2); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 32px; border-top: 1px solid var(--line-2); }
.step-n {
  position: absolute; top: -16px; left: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2); font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--text-2);
}
.step h3 { font-size: 18px; }
.step p { margin-top: 4px; color: var(--text-2); font-size: 15px; }

/* Videos: vertical cards, 3 in view, the rest slide in (phone: stacked with "আরও ভিডিও") */
.vslider { max-width: 948px; margin: 0 auto; }
.ba-track.video-track { grid-auto-columns: calc((100% - 48px) / 3); }
.video-track .vcard { scroll-snap-align: start; }
.video-track .vfacade img { aspect-ratio: auto; border: 0; border-radius: 0; background: none; }
.vmore-btn { display: none; }
.vcard { border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.vbox { position: relative; aspect-ratio: 9 / 16; background: var(--d-bg); }
.vbox iframe, .vbox video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vfacade { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; cursor: pointer; background: var(--d-bg); overflow: hidden; }
.vfacade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.vfacade::after { content: ""; position: absolute; inset: 0; background: rgba(30, 21, 24, 0.2); transition: background-color 160ms var(--ease); }
.vplay {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 253, 253, 0.92); color: var(--text); transition: transform 160ms var(--ease);
}
.vplay svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.vfacade:hover img { transform: scale(1.03); }
.vfacade:hover::after { background: rgba(30, 21, 24, 0.08); }
.vfacade:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vinfo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.vinfo h3 { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vinfo span { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Before / after: 2 per view, arrows for the rest */
.ba-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 24px) / 2); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ba-track::-webkit-scrollbar { display: none; }
.ba-track img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--raised); }
.ba-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 16px; }
.ba-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.ba-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); background: var(--card); color: var(--text); cursor: pointer; transition: background-color 160ms var(--ease), opacity 160ms var(--ease); }
.ba-btn:hover { background: var(--raised); }
.ba-btn:disabled { opacity: 0.35; cursor: default; }
.ba-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ba-prev .i { transform: scaleX(-1); }

/* Drag compare: before on the left, after on the right of the line */
.cmp { max-width: 948px; margin: 0 auto; }
.ba-track.cmp-track { grid-auto-columns: calc((100% - 24px) / 2); }
.cmp-card { display: grid; gap: 12px; margin: 0; scroll-snap-align: start; min-width: 0; }
.cmp-title { text-align: center; font-family: var(--font-head); font-weight: 500; font-size: 18px; }
.cmp-frame {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; border: 1px solid var(--line);
  background: var(--raised); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.ba-track .cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; aspect-ratio: auto; border: 0; border-radius: 0; background: none; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.cmp-tag {
  position: absolute; top: 14px; z-index: 2; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center;
  font-family: var(--font-head); font-size: 14px; font-weight: 500; line-height: 1; transition: opacity 160ms var(--ease); pointer-events: none;
}
.cmp-tag-before { left: 14px; background: rgba(30, 21, 24, 0.72); color: #fff; }
.cmp-tag-after { right: 14px; background: var(--accent); color: #fff; }
/* The handle layer is as wide as the frame and slides with transform (no layout work per move, so it stays smooth on phones).
   Its line and knob sit on the layer's left edge. */
.cmp-handle {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; outline: none;
  transform: translateX(var(--pos, 50%)); will-change: transform;
}
.cmp-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(30, 21, 24, 0.12); }
/* grab strip around the line: on touch it takes the whole gesture, so the page does not start scrolling mid-drag */
.cmp-grip {
  position: absolute; top: 0; bottom: 0; left: -28px; width: 56px; display: grid; place-items: center;
  pointer-events: auto; touch-action: none; cursor: ew-resize;
}
.cmp-knob {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--accent); box-shadow: 0 4px 16px rgba(30, 21, 24, 0.18); transition: transform 160ms var(--ease);
}
.cmp-knob svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmp-frame.is-dragging .cmp-knob, .cmp-handle:focus-visible .cmp-knob { transform: scale(1.08); }
.cmp-handle:focus-visible .cmp-knob { box-shadow: 0 0 0 3px var(--accent), 0 4px 16px rgba(30, 21, 24, 0.18); }
.cmp-frame.is-dragging .cmp-tag { transition: none; }
.ba-more-title { margin: 64px 0 24px; text-align: center; font-size: 20px; }

details p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ============ Store home (/) ============ */
.store-hero { padding: 72px 0 8px; }
.store-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.15; max-width: 14ch; }
.store-hero .lead { margin-top: 16px; max-width: 56ch; }
.store-hero .comb { margin-top: 28px; }
.store-products { padding-top: 56px; }
.store-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.store-head h2 { font-size: 28px; }
.store-count { font-size: 14px; color: var(--muted); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.p-card {
  position: relative; display: grid; border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden;
  transition: border-color 160ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}
.p-card:hover { border-color: rgba(194, 64, 107, 0.35); box-shadow: 0 16px 40px rgba(38, 26, 29, 0.08); transform: translateY(-2px); }
.p-card:focus-within { border-color: var(--accent); }
/* one product: picture and details side by side */
.p-grid > .p-card:only-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.p-media.stage { border-radius: 0; aspect-ratio: 5 / 6; animation: none; }
.p-badge { position: absolute; top: 16px; left: 16px; z-index: 1; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; background: var(--accent); color: #fff; font-family: var(--font-head); font-size: 14px; font-weight: 500; }
.p-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 4vw, 48px); justify-content: center; }
.p-kicker { font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.p-name { font-size: clamp(26px, 3vw, 34px); line-height: 1.25; }
.p-link { color: inherit; text-decoration: none; }
.p-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 20px; } /* whole card opens the product */
.p-link:focus-visible { outline: none; }
.p-link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -2px; }
.p-desc { font-size: 16px; line-height: 1.7; color: var(--text-2); max-width: 46ch; }
.p-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.p-specs li { height: 30px; padding: 0 12px; border-radius: 8px; display: inline-flex; align-items: center; background: var(--raised); font-size: 14px; color: var(--text-2); }
.p-colors { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; }
.p-dot { width: 28px; height: 28px; border-radius: 50%; padding: 0; cursor: pointer; background: var(--c); border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line-2); transition: box-shadow 160ms var(--ease); }
.p-dot.is-active { box-shadow: 0 0 0 2px var(--accent); }
.p-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.p-colors-label { margin-left: 4px; font-size: 14px; color: var(--muted); }
.p-price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.p-price b { font-family: var(--font-head); font-size: 32px; font-weight: 600; line-height: 1.1; }
.p-price s { font-size: 16px; color: var(--muted); }
.p-note { font-size: 14px; color: var(--muted); }
.p-cta { margin-top: 8px; pointer-events: none; }
.p-card:hover .p-cta { background: var(--accent-hover); }

.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.promise .i { width: 24px; height: 24px; color: var(--accent); }
.promise h3 { margin-top: 4px; font-size: 18px; }
.promise p { font-size: 15px; color: var(--text-2); }

.store-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.contact-list a:hover { border-color: rgba(194, 64, 107, 0.35); background: var(--accent-tint); }
.contact-list .i { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-list span { display: grid; font-size: 15px; color: var(--text-2); }
.contact-list b { font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--text); }
.store-page { padding-bottom: 0 !important; }

@media (max-width: 900px) {
  .p-grid > .p-card:only-child { grid-template-columns: 1fr; }
  .p-media.stage { aspect-ratio: 1; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .store-contact { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .store-hero { padding-top: 40px; }
  .p-body { padding: 24px 20px; }
  .p-cta { width: 100%; }
  .promise-grid, .contact-list { grid-template-columns: 1fr; }
  .promise { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { .p-card, .p-card:hover { transition: none; transform: none; } }

/* Policy pages (privacy, refund) */
.policy { max-width: 760px; }
.policy h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.2; }
.policy-date { margin-top: 8px; font-size: 14px; color: var(--muted); }
.policy > p { margin-top: 16px; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.policy h2 { margin-top: 48px; font-size: 22px; }
.policy ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.policy ul { list-style: disc; }
.policy li::marker { color: var(--accent); }
.policy b { color: var(--text); font-weight: 600; }
.policy a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.policy-note { padding: 16px 20px; border-radius: 12px; background: var(--accent-tint); border: 1px solid rgba(194, 64, 107, 0.25); color: var(--text) !important; }
.policy-links { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px !important; }
.policy-foot { padding: 0 0 32px; }
.policy-foot .foot-bottom { margin-top: 0; }
.policy-foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.policy-page { padding-bottom: 0 !important; }
.ba-count { min-width: 64px; text-align: center; font-size: 14px; color: var(--muted); }

/* Body-area photos beside each area */
.area .area-thumb { width: 64px; height: 64px; flex: none; margin-left: auto; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }

/* Real product photos */
.real-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.real-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); aspect-ratio: 600 / 443; }
.real-grid .real-main { grid-row: span 2; aspect-ratio: auto; }
.real-grid img:nth-child(4) { grid-column: 2 / span 2; aspect-ratio: 1216 / 443; }

/* Lightbox (any img[data-zoom]) */
img[data-zoom] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 56px 16px; background: rgba(30, 21, 24, 0.88); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1000px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; background: #fff; cursor: zoom-out; animation: rise 240ms var(--ease) both; }
.lb-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(255, 253, 253, 0.12); color: #fff; transition: background-color 160ms var(--ease);
}
.lb-btn .i { display: block; width: 20px; height: 20px; }
.opt small.is-free { color: var(--ok); }
.lb-btn:hover { background: rgba(255, 253, 253, 0.24); }
.lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-prev .i { transform: scaleX(-1); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 14px; }

/* Compare */
.compare { max-width: 840px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
/* cells stretch to the row's full height, so the pink column has no gaps when a label wraps */
.crow { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: stretch; }
.crow > span { padding: 16px 20px; text-align: center; display: flex; align-items: center; justify-content: center; }
.crow > span:first-child { text-align: left; font-weight: 500; justify-content: flex-start; }
.crow + .crow { border-top: 1px solid var(--line); }
.chead > span { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--text-2); }
.crow .hl { background: #f6dbe3; }
.chead .hl { color: var(--accent-ink); background: #f2cfda; font-weight: 600; }
.crow .i { width: 18px; height: 18px; margin: 0 auto; }
.ok .i { color: var(--text-2); }
.no .i { color: #c5b6ba; }
.ok.hl .i { color: var(--accent-ink); stroke-width: 2; }

/* Box */
.box-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.box-photo { margin: 0; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); padding: 32px; display: grid; place-items: center; }
.box-photo img { width: 100%; height: 100%; object-fit: contain; }
.box-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.box-list li { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 500; }
.box-list .i { color: var(--text-2); }

/* Guarantee band */
.dark { background: var(--d-bg); color: var(--d-text); border: 0; }
.dark h2, .dark h3 { color: var(--d-text); }
.dark .eyebrow { color: #e893af; }
.dark .sub { color: var(--d-text-2); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.g { padding: 8px 24px; }
.g + .g { border-left: 1px solid var(--d-line); }
.g .i { width: 18px; height: 18px; color: var(--d-text-2); }
.g h3 { margin-top: 16px; font-size: 18px; }
.g p { margin-top: 4px; color: var(--d-text-2); font-size: 15px; }

/* ---------- Order ---------- */
.order { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.order-main { display: grid; gap: 16px; }
.block { margin: 0; padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.block legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 500; font-size: 18px; }
.block legend + * { clear: both; }
.num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }

.pack input, .color input, .opt input { position: absolute; opacity: 0; pointer-events: none; }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 10px; }
.pack { position: relative; cursor: pointer; }
/* label sitting on the card's top edge */
.pack-tag {
  position: absolute; top: -10px; right: 12px; z-index: 1; height: 22px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center;
  font-family: var(--font-head); font-size: 12px; font-weight: 500; line-height: 1; white-space: nowrap;
  background: var(--card); color: var(--accent-ink); border: 1px solid rgba(194, 64, 107, 0.45);
}
.pack-tag.main { background: var(--accent); color: #fff; border-color: var(--accent); }
.pack-card {
  display: flex; flex-direction: column; height: 100%; padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card);
  transition: border-color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.pack:hover .pack-card { border-color: rgba(38, 26, 29, 0.24); }
.pack input:checked + .pack-card { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.pack input:focus-visible + .pack-card { outline: 2px solid var(--accent); outline-offset: 2px; }
.pack-name { font-family: var(--font-head); font-weight: 500; font-size: 16px; }
.pack-qty { font-size: 14px; color: var(--muted); }
.pack-price { margin-top: 12px; font-family: var(--font-head); font-weight: 600; font-size: 22px; line-height: 1.2; }
.pack-old { font-size: 14px; color: var(--muted); text-decoration: line-through; }
.pack-perk { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.pack-perk.free { color: var(--ok); font-weight: 500; }

.colors { display: flex; flex-wrap: wrap; gap: 8px; }
.color {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 10px; border-radius: 10px; border: 1px solid var(--line-2);
  cursor: pointer; font-weight: 500; transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.color:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.color:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw { width: 24px; height: 24px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(38, 26, 29, 0.1); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 4px; }
.field.full { grid-column: 1 / -1; }
.field > span { font-size: 14px; font-weight: 500; color: var(--text-2); }
.field > span small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 0 12px; height: 44px; border-radius: 10px;
  border: 1px solid var(--line-2); background: #fff; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field textarea { height: auto; padding: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a8979b; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194, 64, 107, 0.15); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.err { font-style: normal; font-size: 13px; color: var(--err); }
.err:empty { display: none; }

.areas-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt > span {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2);
  cursor: pointer; transition: border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.opt b { font-weight: 500; }
.opt small { font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--text-2); }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Moment 2: the order summary */
.summary { position: sticky; top: 88px; }
.sum-card { padding: 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.sum-prod { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum-prod img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--porcelain); mix-blend-mode: multiply; }
.sum-prod b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 16px; line-height: 1.4; }
.sum-prod small { color: var(--muted); font-size: 14px; }
.sum-lines { margin: 16px 0; display: grid; gap: 8px; }
.sum-lines div { display: flex; justify-content: space-between; }
.sum-lines dt { color: var(--text-2); }
.sum-lines dd { margin: 0; font-weight: 500; }
.sum-save dd { color: var(--ok); }
.sum-card .comb { width: 100%; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 20px; }
.sum-total span { font-weight: 500; }
.sum-total b { font-family: var(--font-head); font-size: 28px; font-weight: 600; line-height: 1.2; color: var(--accent-ink); }
.sum-note { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
#submitBtn[disabled] { opacity: 0.7; cursor: wait; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 800px; }
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; font-family: var(--font-head); font-weight: 500; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 12px; }
.faq summary .i { color: var(--muted); transition: transform 160ms var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--text-2); }

/* ---------- Final CTA ---------- */
.final {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 48px;
  border-radius: 20px; background: var(--porcelain);
}
.final h2 { font-size: 32px; }
.final p { margin-top: 8px; color: var(--text-2); font-size: 17px; }
.final-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--line); background: var(--card); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-size: 15px; margin-bottom: 8px; }
.foot-grid a:not(.logo) { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color 160ms var(--ease); }
.foot-grid a:not(.logo):hover { color: var(--text); }
.foot-grid a.contact { display: flex; align-items: center; gap: 10px; width: fit-content; }
.foot-grid a.contact .i { width: 16px; height: 16px; flex: none; }
.foot-tag { margin-top: 12px; color: var(--muted); font-size: 15px; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- Sticky bar (mobile) ---------- */
.sticky-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 20px; border-radius: 16px; background: var(--card);
  border: 1px solid var(--line-2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.sticky-bar b { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.sticky-bar s { margin-left: 8px; color: var(--muted); font-size: 14px; }
.sticky-bar.hide { transform: translateY(calc(100% + 16px)); opacity: 0; pointer-events: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(30, 21, 24, 0.4); }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 400px; padding: 32px 24px 24px; border-radius: 20px; background: var(--card); text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); animation: rise 300ms var(--ease) both; }
.m-ic { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-ink); }
.m-ic .i { width: 24px; height: 24px; stroke-width: 2; }
.modal-card h3 { margin-top: 16px; font-size: 22px; }
.modal-card p { margin-top: 4px; color: var(--text-2); }
.m-sum { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--raised); text-align: left; font-size: 15px; display: grid; gap: 4px; }
.m-sum div { display: flex; justify-content: space-between; gap: 12px; }
.m-sum span { color: var(--text-2); }
.m-sum b { font-weight: 500; }
.modal-card .btn-secondary { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .g-grid, .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .g:nth-child(3) { border-left: 0; }
  .order { grid-template-columns: 1fr; }
  .summary { position: static; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .hero-grid, .split, .areas-wrap, .box-wrap { grid-template-columns: 1fr; gap: 40px; }
  .stage, .box-photo { max-width: 480px; width: 100%; margin: 0 auto; }
  .ba-track.video-track { gap: 16px; grid-auto-columns: calc((100% - 32px) / 3); }
  .spec-strip { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { border-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .areas-copy { position: static; }
  .final { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .sticky-bar { display: flex; }
  body { padding-bottom: 80px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 56px; }
  .section { padding: 64px 0; }
  .head { margin-bottom: 32px; }
  .hero { padding: 32px 0 40px; }
  .hero h1 { font-size: 38px; }
  .lead, .sub { font-size: 16px; }
  h2 { font-size: 28px; }
  .price-now { font-size: 36px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .spec { padding: 16px; }
  .spec dd { font-size: 20px; }
  .spec dt { font-size: 13px; }
  .pain-list, .feat-grid, .dual-grid, .steps, .box-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  /* phone: no sliding, cards stacked; extra ones open with the "আরও ভিডিও" button */
  .ba-track.video-track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 300px); justify-content: center; gap: 24px; overflow: visible; scroll-snap-type: none; }
  .vslider .ba-nav { display: none; }
  .video-track .vcard.vmore { display: none; }
  .vmore-btn:not([hidden]) { display: flex; width: 100%; max-width: 300px; margin: 24px auto 0; }
  .ba-track, .ba-track.cmp-track { grid-auto-columns: 100%; gap: 12px; }
  .ba-more-title { margin-top: 48px; }
  .cmp-tag { top: 10px; height: 26px; font-size: 13px; }
  .cmp-tag-before { left: 10px; }
  .cmp-tag-after { right: 10px; }
  .area .area-thumb { width: 52px; height: 52px; border-radius: 10px; }
  .real-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .real-grid .real-main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1; }
  .real-grid img:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 600 / 443; }
  .box-photo { padding: 20px; }
  .swatch { padding: 0 10px 0 6px; font-size: 13px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
  .g-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .g { padding: 0 16px 0 0; }
  .g + .g { border-left: 0; }
  .solution { flex-direction: column; align-items: stretch; }
  .dual { padding: 24px; }
  .dual h3 { font-size: 22px; }
  .area { padding: 16px; gap: 16px; }
  .crow { grid-template-columns: 1.4fr 0.8fr 0.9fr 0.9fr; }
  .crow > span { padding: 12px 4px; font-size: 14px; }
  .crow > span:first-child { padding-left: 16px; }
  .chead > span { font-size: 13px; line-height: 1.4; }
  .block { padding: 20px 16px; }
  .packs { grid-template-columns: 1fr; gap: 16px; }
  .pack-card { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; }
  .pack-card .pack-price { margin-top: 4px; }
  .pack-card .pack-old, .pack-card .pack-perk { grid-column: 1 / -1; }
  .pack-card .pack-perk { margin-top: 4px; }
  .fields, .areas-pick { grid-template-columns: 1fr; }
  .sum-card { padding: 20px; }
  .final { padding: 32px 20px; }
  .final h2 { font-size: 26px; }
  .final-cta, .final-cta .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
