/* Fonts served from this site (no extra connection to Google): Outfit, Anek Bangla, Source Serif 4, IBM Plex Mono, all SIL Open Font License. */
@font-face{font-family:"Poppins";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/poppins-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/poppins-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/poppins-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Poppins";font-style:italic;font-weight:400;font-display:swap;src:url(/assets/fonts/poppins-latin-400-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:optional;src:url(/assets/fonts/outfit-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit";font-style:normal;font-weight:100 900;font-display:optional;src:url(/assets/fonts/outfit-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Noto Sans Bengali";font-style:normal;font-weight:100 900;font-display:optional;src:url(/assets/fonts/noto-sans-bengali-bengali.woff2) format("woff2");unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:"Anek Bangla";font-style:normal;font-weight:100 800;font-display:optional;src:url(/assets/fonts/anek-bangla-bengali.woff2) format("woff2");unicode-range:U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1}
@font-face{font-family:"Anek Bangla";font-style:normal;font-weight:100 800;font-display:optional;src:url(/assets/fonts/anek-bangla-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Anek Bangla";font-style:normal;font-weight:100 800;font-display:optional;src:url(/assets/fonts/anek-bangla-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:optional;src:url(/assets/fonts/source-serif-4-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:200 900;font-display:optional;src:url(/assets/fonts/source-serif-4-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:200 900;font-display:optional;src:url(/assets/fonts/source-serif-4-latin-italic.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Source Serif 4";font-style:italic;font-weight:200 900;font-display:optional;src:url(/assets/fonts/source-serif-4-latin-ext-italic.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-500.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fonts/ibm-plex-mono-latin-600.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* The Ultimate Barista - sales page. Brand tokens match /assets/style.css. */
:root {
  --bg: #FCFBF8; --paper: #F5EFE6; --line: #E6DACA;
  --espresso: #36180B; --ink: #2A1A12; --muted: #6E5A4E;
  --caramel: #B07040; --caramel-soft: #F0E2D3;
  --green: #065830; --green-deep: #04432A; --green-tint: #E3EFE7; --on-dark: #F7F1E6;
  --font-ui: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-bn: "Noto Sans Bengali", "Poppins", "Anek Bangla", system-ui, sans-serif;
  --wrap: 1120px; --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible, .gallery:focus-visible { outline: 3px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }

/* Language: Bangla by default, English on toggle. */
html[data-lang="bn"] .en, html:not([data-lang="bn"]) .bn { display: none !important; }
.bn, html[data-lang="bn"] body { font-family: var(--font-bn); }
html[data-lang="bn"] body { font-size: 18px; line-height: 1.7; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 780px; }
.center { text-align: center; margin-top: 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(252, 251, 248, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { height: 44px; width: auto; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.lang { font: 600 14px var(--font-ui); background: transparent; color: var(--espresso); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.lang .en { font-family: var(--font-bn); }
.lang:hover { border-color: var(--caramel); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; background: var(--green); color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: 17px; border: 2px solid var(--green); transition: background .15s, transform .15s; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); transform: translateY(-1px); }
.btn.btn-sm { min-height: 40px; padding: 7px 16px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green-tint); }
.btn.cream { background: var(--on-dark); color: var(--espresso); border-color: var(--on-dark); }
.btn.cream:hover { background: #fff; }
.btn.ghost.light { color: var(--on-dark); border-color: rgba(247, 241, 230, .6); }
.btn.ghost.light:hover { background: rgba(247, 241, 230, .12); }

/* Type */
.eyebrow { margin: 0 0 10px; color: var(--caramel); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
html[data-lang="bn"] .eyebrow { letter-spacing: 0; font-size: 16px; text-transform: none; }
h1, h2, h3 { color: var(--espresso); margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(42px, 7.4vw, 78px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
html[data-lang="bn"] h2 { letter-spacing: 0; line-height: 1.3; }
h3 { font-size: 20px; font-weight: 700; }
html[data-lang="bn"] h3 { line-height: 1.35; }
.intro { color: var(--muted); max-width: 64ch; margin: 0 0 24px; }
.body { margin: 0 0 16px; }
.en.body, p.en.lede { font-family: var(--font-body); }
.body.strong { font-weight: 700; color: var(--espresso); }
.small { font-size: 14px; color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper), var(--bg)); padding: 40px 0 28px; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 64px 0 36px; } .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.sub { margin: 10px 0 0; font-family: var(--font-bn); font-weight: 700; font-size: clamp(22px, 3vw, 30px); color: var(--green); line-height: 1.35; }
.sub .en { font-family: var(--font-ui); }
.lede { margin: 18px 0 0; font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 58ch; }
.buy-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.price b { display: block; font-size: 40px; font-weight: 800; color: var(--espresso); line-height: 1; }
.price small { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-book { display: flex; justify-content: center; }
.cover { width: min(70vw, 400px); border-radius: 6px; box-shadow: 0 2px 4px rgba(54, 24, 11, .12), 0 24px 48px -12px rgba(54, 24, 11, .45); transform: rotate(-2deg); }
@media (min-width: 900px) { .cover { transform: rotate(-3deg) translateY(-6px); } }

.stats { list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 2px dotted var(--caramel); display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(5, 1fr); } }
.stats li { display: flex; flex-direction: column; color: var(--muted); font-size: 15px; }
.stats b { font-size: 34px; font-weight: 800; color: var(--espresso); line-height: 1.1; }
.stats li:last-child { grid-column: 1 / -1; }
@media (min-width: 640px) { .stats li:last-child { grid-column: auto; } }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section.paper { background: var(--paper); }

/* Compare */
.compare { display: grid; gap: 16px; margin-top: 28px; max-width: 900px; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; } }
.road { border-radius: var(--r); padding: 24px; }
.road ul { margin: 12px 0 0; padding: 0; list-style: none; }
.road li { padding: 8px 0 8px 28px; position: relative; border-top: 1px solid rgba(54, 24, 11, .08); }
.road li::before { position: absolute; left: 0; top: 8px; font-weight: 800; }
.road-old { background: #fff; border: 2px dashed var(--line); }
.road-old h3 { color: var(--muted); }
.road-old li { color: var(--muted); }
.road-old li::before { content: "×"; color: #A4532E; }
.road-new { background: var(--green-tint); border: 2px solid var(--green); }
.road-new li::before { content: "✓"; color: var(--green); }

/* Paths */
.paths { display: grid; gap: 16px; }
@media (min-width: 720px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; position: relative; }
.path-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--caramel-soft); color: var(--caramel); font: 800 18px var(--font-bn); margin-bottom: 12px; }
.path p { margin: 8px 0 0; color: var(--muted); }

/* Parts */
.parts { list-style: none; counter-reset: part; margin: 8px 0 0; padding: 0; display: grid; gap: 0 40px; }
@media (min-width: 820px) { .parts { grid-template-columns: 1fr 1fr; } }
.parts li { counter-increment: part; position: relative; padding: 16px 0 16px 56px; border-bottom: 1px dotted var(--caramel); color: var(--muted); }
.parts li::before { content: counter(part, bengali); position: absolute; left: 0; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--on-dark); display: grid; place-items: center; font: 700 17px var(--font-bn); }
html:not([data-lang="bn"]) .parts li::before { content: counter(part); font-family: var(--font-ui); }
.parts b { display: block; color: var(--espresso); font-size: 19px; }
.note-line { margin: 26px 0 0; padding: 16px 20px; background: var(--caramel-soft); border-radius: var(--r); color: var(--espresso); }

/* Gallery */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 22px; margin: 0 auto; max-width: calc(var(--wrap) + 32px); scrollbar-color: var(--caramel) transparent; }
@media (min-width: 760px) { .gallery { padding: 8px 32px 22px; max-width: calc(var(--wrap) + 64px); } }
.gallery figure { flex: 0 0 auto; width: min(66vw, 250px); margin: 0; scroll-snap-align: start; }
.gallery img { border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 12px 24px -12px rgba(54, 24, 11, .35); background: #fff; transition: transform .15s; }
.gallery a:hover img { transform: translateY(-3px); }
.gallery figcaption { margin-top: 10px; font-size: 15px; color: var(--espresso); font-weight: 600; line-height: 1.4; }

/* Methods (dark) */
.section.dark { background: var(--espresso); color: var(--on-dark); }
.dark h2 { color: var(--on-dark); }
.dark .eyebrow { color: #E0A878; }
.dark .intro { color: rgba(247, 241, 230, .82); margin-top: 22px; }
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid rgba(224, 168, 120, .55); border-radius: 999px; padding: 6px 14px; font: 600 15px var(--font-ui); color: var(--on-dark); }
.recipes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
@media (min-width: 760px) { .recipes { grid-template-columns: repeat(4, 1fr); } }
.recipes div { background: rgba(247, 241, 230, .07); border: 1px solid rgba(247, 241, 230, .14); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; color: rgba(247, 241, 230, .85); line-height: 1.35; }
.recipes b { font-size: 38px; font-weight: 800; color: #E0A878; line-height: 1.1; }
.local { margin: 22px 0 0; padding-left: 16px; border-left: 3px solid #E0A878; color: var(--on-dark); font-weight: 600; }

/* Features */
.features { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 680px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border-top: 3px solid var(--green); background: #fff; border-radius: 0 0 var(--r) var(--r); padding: 20px 22px; box-shadow: 0 1px 0 var(--line); }
.feature p { margin: 8px 0 0; color: var(--muted); }

/* Trust */
.trust { display: grid; gap: 32px; }
@media (min-width: 900px) { .trust { grid-template-columns: 1.4fr .9fr; align-items: start; gap: 48px; } }
.author { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.author h3 { font-family: var(--font-bn); font-size: 24px; }
.author ul { list-style: none; margin: 12px 0; padding: 0; }
.author li { padding: 6px 0; border-bottom: 1px dotted var(--line); font-size: 15px; color: var(--espresso); font-family: var(--font-ui); }
.b2b { margin-top: 40px; }
.b2b-box { display: grid; gap: 14px; align-items: center; background: var(--green-tint); border: 2px solid var(--green); border-radius: var(--r); padding: 24px; }
@media (min-width: 760px) { .b2b-box { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.b2b-box h3 { color: var(--green-deep); }
.b2b-box p { margin: 6px 0 0; color: var(--ink); }

/* Steps */
.steps { list-style: none; counter-reset: st; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 56px 20px 20px; position: relative; }
.steps li::before { content: counter(st, bengali); position: absolute; top: 16px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: var(--on-dark); display: grid; place-items: center; font: 700 16px var(--font-bn); }
html:not([data-lang="bn"]) .steps li::before { content: counter(st); font-family: var(--font-ui); }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 10px; }
summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; color: var(--espresso); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 24px; color: var(--caramel); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Final */
.final { background: var(--green); color: var(--on-dark); padding: 56px 0; }
.final-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .final-grid { grid-template-columns: 220px 1fr; gap: 48px; } }
.final img { width: 180px; border-radius: 4px; box-shadow: 0 18px 36px -10px rgba(0, 0, 0, .45); transform: rotate(-3deg); }
@media (max-width: 759px) { .final img { margin: 0 auto; width: 150px; } }
.final h2 { color: var(--on-dark); font-size: clamp(26px, 3.6vw, 38px); }
.price.light b { display: inline; color: var(--on-dark); font-size: 34px; }
.price.light small { display: inline; color: rgba(247, 241, 230, .85); }
.final .ctas { margin-top: 18px; }

/* Footer */
.foot { background: var(--paper); padding: 32px 0 40px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.foot img { width: 96px; height: auto; }
.tag { margin: 0; font-weight: 700; color: var(--espresso); font-family: var(--font-ui); }
.tag em { color: var(--caramel); }
.foot .small { margin: 4px 0 0; font-family: var(--font-ui); }
.foot a { color: var(--muted); }

/* Sticky buy bar (phones) */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 251, 248, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(54, 24, 11, .25); transform: translateY(110%); transition: transform .2s; }
.buybar.show { transform: none; }
.buybar-price { font-weight: 800; font-size: 24px; color: var(--espresso); }
.buybar .btn { min-height: 46px; padding: 10px 22px; }
@media (min-width: 900px) { .buybar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 72px; } }

/* ---------- shared product sales pages ---------- */
.hero-grid.solo { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto; text-align: left; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: #FFF4E5; border: 1px solid #F2D3A8; color: #7A4824; font-weight: 600; font-size: 15px; }
.pill::before { content: "★"; color: var(--caramel); }
.h1-rich { font-size: clamp(34px, 6vw, 60px); line-height: 1.15; }
html[data-lang="bn"] .h1-rich { line-height: 1.3; letter-spacing: 0; }
.h1-rich .accent { display: block; color: var(--green); }
.rich-sub { margin-top: 16px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 36px; font-weight: 600; color: var(--espresso); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.hero-ctas { margin-top: 26px; }
.btn.btn-xl { min-height: 58px; padding: 14px 30px; font-size: 18px; box-shadow: 0 12px 24px -12px rgba(6, 88, 48, .6); }
@media (max-width: 560px) { .hero-ctas .btn, .offer-box .btn-xl { width: 100%; } }
.trust-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.trust-chips li::before { content: "●"; color: var(--green); font-size: 9px; margin-right: 7px; vertical-align: 2px; }
.small-note { margin-top: 16px; font-size: 15px; }
.problems { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .problems { grid-template-columns: 1fr 1fr; } }
.problems li { position: relative; background: #fff; border: 1px solid var(--line); border-left: 4px solid #C2553A; border-radius: 10px; padding: 16px 16px 16px 46px; color: var(--ink); }
.problems li::before { content: "✕"; position: absolute; left: 16px; top: 15px; color: #C2553A; font-weight: 800; }
.timeline { list-style: none; counter-reset: tl; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .timeline { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); } }
.timeline li { counter-increment: tl; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 54px 18px 18px; display: grid; gap: 6px; }
.timeline li::before { content: counter(tl, bengali); position: absolute; top: 14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--espresso); color: var(--on-dark); display: grid; place-items: center; font: 700 15px var(--font-bn); }
html:not([data-lang="bn"]) .timeline li::before { content: counter(tl); font-family: var(--font-ui); }
.timeline b { color: var(--espresso); font-size: 18px; }
.timeline span { color: var(--muted); }
.inside-grid { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 680px) { .inside-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .inside-grid { grid-template-columns: repeat(3, 1fr); } }
.inside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.inside-card p { margin: 6px 0 0; color: var(--muted); }
.syllabus { margin-top: 22px; display: grid; gap: 8px; }
.syllabus ol { margin: 0; padding: 0 20px 16px 40px; color: var(--muted); }
.offer { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .offer { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.stack { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.stack li { position: relative; padding-left: 32px; color: var(--on-dark); }
.stack li::before { content: "✓"; position: absolute; left: 0; color: #E0A878; font-weight: 800; }
.offer-box { background: var(--bg); color: var(--ink); border-radius: 18px; padding: 28px; text-align: center; display: grid; gap: 10px; justify-items: center; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border: 2px solid #E0A878; }
.offer-label { margin: 0; color: var(--caramel); font-weight: 700; letter-spacing: .06em; }
.offer-price { margin: 0; font: 800 56px/1 var(--font-ui); color: var(--espresso); }
.offer-price .bn { font-family: var(--font-bn); }
.offer-note { margin: 0; color: var(--muted); font-size: 15px; }
.payrow { margin: 6px 0 0; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--muted); font-weight: 600; }
.payrow img { height: 30px; width: auto; }
.fit { display: grid; gap: 16px; }
@media (min-width: 760px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit > div { border-radius: var(--r); padding: 24px; }
.fit ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.fit li { position: relative; padding-left: 28px; }
.fit-yes { background: var(--green-tint); border: 2px solid var(--green); }
.fit-yes li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.fit-no { background: #fff; border: 2px dashed var(--line); }
.fit-no h3, .fit-no li { color: var(--muted); }
.fit-no li::before { content: "✕"; position: absolute; left: 0; color: #C2553A; font-weight: 800; }
.final-grid.solo { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.final-grid.solo .ctas { justify-content: center; }
.final-help a { color: var(--on-dark); }

/* Regular price crossed out, with the saving */
.was-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
s.was { font-size: 20px; font-weight: 600; color: var(--muted); text-decoration-thickness: 2px; }
.save { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e7f4ea; color: #1f7a3a; font-size: 13px; font-weight: 700; }
.price.light .was-wrap { display: inline-flex; margin: 0 10px 0 0; vertical-align: middle; }
.price.light s.was { color: rgba(247, 241, 230, .7); }
.buybar-price .was-wrap { display: inline-flex; margin: 0 8px 0 0; gap: 6px; vertical-align: middle; }
.buybar-price s.was { font-size: 15px; }
.buybar-price .save { display: none; }
.was-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.was-line .was-wrap { margin: 0; }
.was-line > b { font-size: 30px; font-weight: 800; color: var(--espresso); }
.offer-was { margin: 0 0 4px; }
.offer-was .was-wrap { justify-content: center; }
@media (max-width: 520px) { .buybar-price s.was { font-size: 16px; text-decoration-thickness: 1.5px; } .buybar-price .was-wrap { margin-right: 6px; } }

/* ---------- floating WhatsApp button and refund note (31 Oct 2026) ---------- */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 31; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 16px; border-radius: 999px; background: #0B7A3E; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; line-height: 1.2; box-shadow: 0 10px 24px -10px rgba(4, 67, 42, .55), 0 2px 6px rgba(0, 0, 0, .12); transition: background .15s, transform .15s, bottom .2s; }
.wa-float:hover { background: #08602F; transform: translateY(-2px); color: #fff; }
.wa-float:focus-visible { outline: 3px solid var(--espresso); outline-offset: 3px; }
.wa-ico { display: inline-flex; }
@media (max-width: 899px) {
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .buybar.show ~ .wa-float { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media print { .wa-float { display: none; } }
.refund-line { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-align: center; }
.refund-line a { font-weight: 700; }
.section.dark .refund-line, .offer-box .refund-line { color: inherit; opacity: .85; }

/* ---------- cart link and button on sales pages (public/assets/cart.js) ---------- */
.cart-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--espresso); text-decoration: none; font: 700 14px/1 var(--font-ui); }
.cart-link b { min-width: 18px; padding: 2px 6px; border-radius: 999px; background: var(--green); color: var(--on-dark); font-size: 12px; text-align: center; }
.cart-add.in-cart { border-color: var(--green); background: var(--green-tint); }
.offer-box .cart-add { width: 100%; max-width: 360px; }

/* Books: "already discounted · this is the total price" tag (13 Nov 2026). */
.save.final-tag { font-size: 13px; }
