/* Landing page base — template looks are set by .t-organic / .t-classic / .t-fashion / .t-bold
   Base tokens stay on the plain .lp class so the template classes further down can override them.
   Light/dark follows the visitor's device; --bg and --tx come from the page itself. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
.lp {
    --on-c: #fff; --accent: var(--c);
    --btn-bg: var(--c); --btn-fg: var(--on-c);
    --card: #fff; --soft: color-mix(in srgb, var(--tx) 4%, var(--card));
    --line: color-mix(in srgb, var(--tx) 11%, transparent);
    --muted: color-mix(in srgb, var(--tx) 68%, transparent);
    --alt: color-mix(in srgb, var(--tx) 3.5%, transparent);
    --radius: 18px; --btn-radius: 12px; --head-font: 'Hind Siliguri', sans-serif;
    --ease: cubic-bezier(.22, .8, .3, 1);
    --edge: 0 0 0 1px color-mix(in srgb, var(--tx) 5%, transparent);
    --shadow-sm: var(--edge), 0 1px 2px rgba(20,24,18,.04), 0 6px 16px rgba(20,24,18,.06);
    --shadow-md: var(--edge), 0 2px 4px rgba(20,24,18,.04), 0 12px 28px rgba(20,24,18,.08);
    --shadow-lg: var(--edge), 0 4px 8px rgba(20,24,18,.04), 0 20px 44px rgba(20,24,18,.10), 0 44px 84px rgba(20,24,18,.07);
    --shadow-c: 0 4px 10px color-mix(in srgb, var(--btn-bg) 26%, transparent), 0 14px 30px color-mix(in srgb, var(--btn-bg) 28%, transparent);
    margin: 0; background: var(--bg); color: var(--tx); overflow-x: clip; overflow-wrap: break-word;
    font-family: 'Hind Siliguri', system-ui, sans-serif; font-size: 17px; line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 24px); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

/* Both languages are in the page; only one shows. Bangla is the default. */
html:not([data-lang="en"]) .l-en, html[data-lang="en"] .l-bn { display: none !important; }

.admin-bar { background: #111; color: #fff; font-size: 13px; text-align: center; padding: 6px; }
.admin-bar a { color: #ffd166; }

.lp-top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--card) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.lp-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 66px; }
.lp-logo { font-weight: 700; font-size: 20px; text-decoration: none; color: var(--accent); min-width: 0; }
.lp-logo img { height: 42px; width: auto; }
.lp-top-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 1px 3px rgba(20,24,18,.08); }
.lang-switch button { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; line-height: 1; min-width: 44px; height: 32px; padding: 0 10px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
html:not([data-lang="en"]) .lang-switch [data-set-lang="bn"], html[data-lang="en"] .lang-switch [data-set-lang="en"] { background: var(--card); color: var(--accent); box-shadow: var(--shadow-sm); }
.lp-account svg { width: 16px; height: 16px; flex-shrink: 0; }
.lp-call { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 7px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; transition: background .25s var(--ease); }

.lp-offer { background: var(--c); color: var(--on-c); text-align: center; padding: 9px 12px; font-weight: 600; display: flex; gap: 6px 18px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 15px; }
.countdown b { background: rgba(0,0,0,.2); padding: 1px 7px; border-radius: 6px; font-variant-numeric: tabular-nums; }

.lp-hero { padding: clamp(28px, 5vw, 64px) 0; }
.lp-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.lp-hero h1 { font-family: var(--head-font); font-size: clamp(28px, 1.6vw + 22px, 44px); line-height: 1.25; margin: 0 0 14px; }
.lp-hero .lead { font-size: clamp(16px, .3vw + 15px, 19px); color: var(--muted); margin: 0 0 18px; }
.lp-hero-media img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 1; background: var(--card); box-shadow: var(--shadow-lg); }
.lp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.lp-price strong { font-size: clamp(30px, 1vw + 26px, 38px); color: var(--accent); line-height: 1; }
.lp-price del { font-size: 20px; color: var(--muted); }
.lp-price small { color: var(--muted); }
.lp-chip { display: inline-block; background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 5px 14px; border-radius: 999px; font-size: 15px; margin-bottom: 18px; }

.lp-btn {
    display: inline-block; background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font-weight: 700; font-size: 18px;
    padding: 14px 32px; border-radius: var(--btn-radius); border: 0; cursor: pointer; font-family: inherit; text-align: center;
    box-shadow: var(--shadow-c); transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.lp-btn:active { transform: translateY(0) scale(.98); }
.lp-btn:disabled { opacity: .7; cursor: wait; }

.lp-section { padding: clamp(34px, 5vw, 60px) 0; }
.lp-section.alt { background: var(--alt); }
.lp-title { font-family: var(--head-font); text-align: center; font-size: clamp(22px, 1vw + 19px, 30px); margin: 0 0 clamp(20px, 3vw, 30px); line-height: 1.35; }
.lp-video { aspect-ratio: 16/9; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lp-video iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.lp-benefits { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.lp-benefits li { background: var(--card); border-radius: var(--radius); padding: 15px 18px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tick { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--c); color: var(--on-c); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.lp-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.lp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.lp-desc { background: var(--card); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.lp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.lp-review { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.lp-review p { margin: 8px 0 10px; }
.stars { color: #f5a623; letter-spacing: 2px; }
.stars span { color: color-mix(in srgb, var(--tx) 20%, transparent); }
.lp-shots { columns: 3 220px; column-gap: 16px; margin-top: 20px; }
.lp-shots img { width: 100%; margin-bottom: 16px; border-radius: 12px; break-inside: avoid; box-shadow: var(--shadow-sm); }
.lp-faq { background: var(--card); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease); }
.lp-faq[open] { box-shadow: var(--shadow-md); }
.lp-faq summary { padding: 15px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; list-style: none; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; flex-shrink: 0; color: var(--accent); font-size: 22px; line-height: 1.2; transition: transform .3s var(--ease); }
.lp-faq[open] summary::after { transform: rotate(45deg); }
.lp-faq div { padding: 0 18px 16px; color: var(--muted); }

.lp-order-sec { background: var(--alt); }
.lp-order { max-width: 620px; margin: 0 auto; }
.lp-card { background: var(--card); border-radius: calc(var(--radius) + 4px); padding: clamp(16px, 4vw, 30px); box-shadow: var(--shadow-lg); }
.lp-card h3 { margin: 0 0 12px; font-size: 19px; }
.lp-card h3.next { margin-top: 24px; }
.lp-products { display: grid; gap: 10px; }
.lp-product { display: flex; align-items: center; gap: 12px; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.lp-product:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent), 0 8px 20px color-mix(in srgb, var(--c) 16%, transparent); background: color-mix(in srgb, var(--c) 7%, var(--card)); }
.lp-product input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.lp-product img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.lp-product .info { display: flex; flex-direction: column; min-width: 0; }
.lp-product .info span { color: var(--accent); font-weight: 700; }
.lp-product del { color: var(--muted); font-weight: 400; margin-left: 6px; }
.lp-qty-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 600; }
.lp-qty { display: flex; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1.5px var(--line); }
.lp-qty button { width: 44px; border: 0; background: var(--soft); color: inherit; font-size: 20px; cursor: pointer; transition: background .2s var(--ease); }
.lp-qty input { width: 52px; text-align: center; border: 0; background: transparent; color: inherit; font-size: 17px; height: 44px; -moz-appearance: textfield; appearance: textfield; font-family: inherit; }
.lp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.lp-field { display: block; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.lp-field input, .lp-field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 0; border-radius: 12px; background: var(--soft); color: inherit; font: inherit; font-size: max(16px, 1em); font-weight: 400; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.lp-field input::placeholder, .lp-field textarea::placeholder { color: var(--muted); opacity: .8; }
.lp-field input:focus, .lp-field textarea:focus { outline: none; background: var(--card); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.lp-area { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-area label { box-shadow: inset 0 0 0 1.5px var(--line); border-radius: 12px; padding: 11px 12px; font-size: 15px; cursor: pointer; display: flex; gap: 8px; align-items: center; transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.lp-area label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--c) 7%, var(--card)); }
.lp-area input { accent-color: var(--accent); flex-shrink: 0; }
.lp-summary { background: var(--soft); border-radius: 14px; padding: 12px 16px; margin: 18px 0; }
.lp-summary div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.lp-summary .total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; font-size: 20px; }
.lp-submit { width: 100%; font-size: 20px; }
.lp-note { text-align: center; font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.lp-alert { max-width: 620px; margin: 0 auto 14px; background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.lp-footer { text-align: center; padding: 28px 0; font-size: 14px; color: var(--muted); }
.lp-sticky { position: fixed; bottom: 0; left: 0; right: 0; display: none; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line), 0 -8px 26px rgba(20,24,18,.10); z-index: 50; }
.lp-sticky a { flex: 1; min-width: 0; text-align: center; text-decoration: none; padding: 12px 6px; border-radius: 12px; font-weight: 700; color: #fff; line-height: 1.3; }
.lp-sticky .call, .lp-sticky .wa { flex: 0 0 auto; padding-inline: 12px; white-space: nowrap; }
.lp-sticky .call { background: #374151; }
.lp-sticky .wa { background: #1fa855; }
.lp-sticky .order { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-c); }

/* Only devices with a mouse get hover lift, so taps don't leave cards stuck raised */
@media (hover: hover) {
    .lp-btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 6px 14px color-mix(in srgb, var(--btn-bg) 28%, transparent), 0 20px 40px color-mix(in srgb, var(--btn-bg) 32%, transparent); }
    .lp-benefits li:hover, .lp-review:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
    .lp-gallery img:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
    .lp-call:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
    .lp-qty button:hover { background: var(--line); }
}

/* ---------- Organic ---------- */
.t-organic { --head-font: 'Noto Serif Bengali', Georgia, serif; --radius: 24px; --btn-radius: 999px; --alt: color-mix(in srgb, var(--c) 8%, transparent); }
.t-organic .lp-hero { background: radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--c) 18%, transparent), transparent 55%); }
.t-organic .lp-hero-media img { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; border: 8px solid var(--card); box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 14%, transparent), 0 28px 60px color-mix(in srgb, var(--c) 24%, transparent); }
.t-organic .lp-title::after { content: '🌿'; display: block; font-size: 22px; margin-top: 4px; }
.t-organic .tick { background: color-mix(in srgb, var(--c) 16%, var(--card)); color: var(--accent); }

/* ---------- Classic (BD ads style) ---------- */
.t-classic { --radius: 14px; --btn-radius: 12px; --hero-head: #b91c1c; --btn-bg: #dc2626; }
.t-classic .lp-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, var(--bg)), var(--bg)); }
.t-classic .lp-hero h1 { color: var(--hero-head); }
.t-classic .lp-title { background: var(--c); color: var(--on-c); padding: 12px 18px; border-radius: var(--radius); font-size: clamp(19px, .8vw + 17px, 25px); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 28%, transparent); }
.t-classic .lp-btn { animation: pulse 2.4s var(--ease) infinite; }
.t-classic .lp-benefits li { box-shadow: var(--shadow-sm), inset 3px 0 0 var(--c); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* ---------- Fashion ---------- */
.t-fashion { font-family: 'Jost', 'Hind Siliguri', sans-serif; --head-font: 'Jost', 'Hind Siliguri', sans-serif; --radius: 6px; --btn-radius: 4px; }
.t-fashion .lp-logo { letter-spacing: .12em; text-transform: uppercase; }
.t-fashion .lp-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; padding: 0; color: #fff;
    background: linear-gradient(0deg, rgba(0,0,0,.68), rgba(0,0,0,.05) 60%), var(--hero) center/cover no-repeat; }
.t-fashion .lp-hero-grid { grid-template-columns: 1fr; padding-bottom: clamp(32px, 6vw, 56px); width: 100%; }
.t-fashion .lp-hero-media { display: none; }
.t-fashion .lp-hero h1 { font-size: clamp(32px, 3vw + 22px, 56px); font-weight: 500; letter-spacing: -.01em; max-width: 720px; }
.t-fashion .lp-hero .lead, .t-fashion .lp-price del, .t-fashion .lp-price small { color: rgba(255,255,255,.85); }
.t-fashion .lp-price strong { color: #fff; }
.t-fashion .lp-chip { background: rgba(255,255,255,.16); }
.t-fashion .lp-btn { text-transform: uppercase; letter-spacing: .1em; font-size: 15px; padding: 16px 36px; }
.t-fashion .lp-hero .lp-btn { background: #fff; color: #111; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.t-fashion .lp-title { text-transform: uppercase; letter-spacing: .14em; font-size: clamp(18px, .6vw + 16px, 22px); font-weight: 500; }
.t-fashion .lp-gallery { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 8px; }
.t-fashion .lp-gallery img { aspect-ratio: 3/4; }
.t-fashion .tick { border-radius: 4px; }
.t-fashion .lp-offer { letter-spacing: .05em; }

/* ---------- Premium dark (stays dark on every device) ---------- */
.t-bold { color-scheme: dark; --on-c: #14110d; --card: #1f1a14; --line: rgba(224,165,38,.22); --muted: rgba(245,240,230,.68); --alt: #1a1612; --head-font: 'Noto Serif Bengali', Georgia, serif;
    --edge: 0 0 0 1px rgba(224,165,38,.14);
    --shadow-sm: var(--edge), 0 8px 20px rgba(0,0,0,.34);
    --shadow-md: var(--edge), 0 14px 32px rgba(0,0,0,.42);
    --shadow-lg: var(--edge), 0 24px 56px rgba(0,0,0,.5);
}
.t-bold .lp-hero-grid { grid-template-columns: 1fr; text-align: center; max-width: 820px; }
.t-bold .lp-hero-media { order: -1; }
.t-bold .lp-hero-media img { max-width: 440px; margin: 0 auto; box-shadow: 0 0 0 1px var(--line), 0 0 70px color-mix(in srgb, var(--c) 28%, transparent); }
.t-bold .lp-price { justify-content: center; }
.t-bold .lp-hero h1, .t-bold .lp-title { color: var(--c); }

/* ---------- Dark devices ---------- */
@media (prefers-color-scheme: dark) {
    .lp:not(.t-bold) {
        color-scheme: dark;
        --accent: color-mix(in srgb, var(--c) 72%, white);
        --card: color-mix(in srgb, var(--bg) 92%, white);
        --edge: 0 0 0 1px rgba(255,255,255,.06);
        --shadow-sm: var(--edge), 0 8px 20px rgba(0,0,0,.30);
        --shadow-md: var(--edge), 0 14px 32px rgba(0,0,0,.38);
        --shadow-lg: var(--edge), 0 24px 56px rgba(0,0,0,.46);
    }
    .lp:not(.t-bold) .lp-sticky { box-shadow: 0 -1px 0 var(--line), 0 -8px 26px rgba(0,0,0,.4); }
    .lp:not(.t-bold) .lang-switch { box-shadow: inset 0 1px 3px rgba(0,0,0,.35); }
    .lp-alert { background: #451a1a; color: #fecaca; }
    .t-classic { --hero-head: #fca5a5; }
    /* the fashion accent is black, which would vanish on a dark page */
    .t-fashion { --c: #f5f5f4; --on-c: #111; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 12px; }
    .lp { font-size: 16px; }
    .lp-top { position: static; }
    .lp-top .wrap { min-height: 58px; }
    .lp-logo img { height: 36px; }
    .lp-hero-grid { grid-template-columns: 1fr; }
    .lp-hero-media { order: -1; }
    .lp-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .t-fashion .lp-gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
    .lp-area { grid-template-columns: 1fr; }
    .lp-sticky { display: flex; }
    .lp-footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
    .lp-call { font-size: 13px; padding: 6px 12px; }
    .t-fashion .lp-hero { min-height: 70vh; min-height: 70svh; }
    .t-fashion .lp-btn { padding: 14px 24px; }
    .t-bold .lp-hero-media img { max-width: min(440px, 80%); }
}

/* Small phones: the call button shrinks to its icon (the sticky bar still has call) */
@media (max-width: 420px) {
    .lp-call .num { display: none; }
    .lp-call { padding: 7px 10px; }
    .lang-switch button { min-width: 38px; padding: 0 8px; font-size: 13px; }
    .lp-btn { padding: 13px 22px; font-size: 17px; }
    .lp-submit { font-size: 18px; }
    .lp-product img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
    .lp *, .lp *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 420px) {
    .lp-logo { font-size: 16px; }
    .lp-logo img { height: 32px; }
    .lp-top-actions { gap: 6px; }
}
