/* HalalShopBD — page-specific sections (compact) */

/* ---------- homepage hero: main banner + side tiles + category chips ---------- */
.hero { padding-block: 10px 4px; background: var(--soft); }
.hero-grid { display: grid; gap: 10px; }
.hero-main { position: relative; overflow: hidden; isolation: isolate; padding: 20px 16px; border-radius: 20px; background: var(--grad-dark); color: rgba(255, 255, 255, .84); box-shadow: var(--sh-lg); }
.hero-main::after { content: ''; position: absolute; z-index: -1; width: 340px; aspect-ratio: 1; right: -120px; bottom: -170px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .05); }
.hero-main > .eyebrow-light, .hero-offer > .chip { align-self: flex-start; justify-self: start; }
.search .ic-wrap { color: var(--p-500); }
.eyebrow-light { display: inline-block; padding: 2px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: .76rem; font-weight: 600; }
.hero-main h1 { color: #fff; margin: 8px 0 6px; }
.hl { background: linear-gradient(120deg, #c4b5fd, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-main > p { font-size: .95rem; max-width: 540px; }
.search { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 14px; padding: 4px 4px 4px 14px; max-width: 540px; background: var(--input-bg); border: 1.5px solid var(--p-200); border-radius: 14px; box-shadow: var(--sh); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--p-500); box-shadow: 0 0 0 4px rgba(124, 58, 237, .16), var(--sh); }
.search > .ic { color: var(--p-500); }
.search input { flex: 1; min-width: 0; height: 40px; border: 0; outline: 0; background: none; font-size: .95rem; color: var(--ink); }
.search .btn { min-height: 40px; padding-inline: 16px; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); text-align: left; }
.search-suggest a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; transition: background .15s; }
.search-suggest a:hover, .search-suggest a:focus { background: var(--p-50); }
.search-suggest strong { display: block; color: var(--ink); line-height: 1.35; font-size: .92rem; }
.search-suggest small { color: var(--p-600); font-weight: 600; }
.search-suggest p { padding: 8px; font-size: .88rem; color: var(--muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; font-size: .8rem; align-items: center; color: rgba(255, 255, 255, .65); }
.hero-tags a { padding: 1px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 500; transition: background .2s, transform .2s var(--ease); }
.hero-tags a:hover { background: rgba(255, 255, 255, .2); transform: translateY(-1px); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; }
.hero-stats strong { display: block; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.hero-stats small { color: rgba(255, 255, 255, .65); font-size: .78rem; }
.hero-side { display: grid; gap: 10px; }
.hero-offer { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 6px; align-content: center; padding: 16px; border-radius: 20px; color: rgba(255, 255, 255, .92); background: linear-gradient(135deg, #ff9a2e, #ff4f6d); box-shadow: 0 10px 26px rgba(255, 94, 58, .3); }
.hero-offer::after { content: ''; position: absolute; z-index: -1; width: 200px; aspect-ratio: 1; right: -60px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
/* offer tile loop: slow gradient drift + a drifting soft glow + the decorative circle floats (all warm tones, text stays readable) */
.hero-offer { background: linear-gradient(120deg, #ff9a2e, #ff6a3d 35%, #ff4f6d 65%, #ff8a2e); background-size: 260% 260%; animation: offer-grad 14s ease-in-out infinite; }
@keyframes offer-grad { 0%, 100% { background-position: 0% 40%; } 50% { background-position: 100% 60%; } }
.hero-offer::after { animation: offer-float 11s ease-in-out infinite alternate; }
@keyframes offer-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-46px, 34px) scale(1.18); } }
.hero-offer::before { content: ''; position: absolute; z-index: -1; width: 190px; aspect-ratio: 1; left: -70px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 200, .42), transparent 68%); animation: offer-glow 9s ease-in-out infinite alternate; }
@keyframes offer-glow { from { transform: translate(0, 0); opacity: .55; } to { transform: translate(150px, -30px); opacity: 1; } }
.hero-offer h3, .hero-offer p { text-shadow: 0 1px 2px rgba(150, 40, 0, .18); }
.hero-offer h3 { color: #fff; font-size: 1.12rem; }
.hero-offer p { font-size: .82rem; }
.hero-offer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.hero-offer .btn-white { color: #e8462e; }
.hero-pick { display: none; grid-template-columns: 116px 1fr; gap: 12px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh); }
.hero-pick-media { display: block; border-radius: 12px; overflow: hidden; }
.hero-pick .cover { border-radius: 12px; }
.hero-pick .cover-off { font-size: .68rem; top: 6px; right: 6px; }
.hero-pick-body { display: grid; gap: 3px; min-width: 0; justify-items: start; }
.hero-pick-tag { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; color: var(--p-600); }
.hero-pick .pcard-title { min-height: 0; font-size: .95rem; }
.hero-pick .btn { margin-top: 4px; }
.cat-strip { margin-top: 10px; }

/* trust strip */
.trust-strip { padding-block: 8px 4px; background: var(--soft); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trust-row li { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.trust-row .tr-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--p-100); color: var(--p-600); }
.trust-row strong { display: block; font-size: .84rem; color: var(--ink); line-height: 1.3; }
.trust-row small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.35; }

/* promo banner slider */
.promo { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 8px; align-content: center; min-height: 170px; padding: 20px 18px; border-radius: var(--r-lg); color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, var(--g1), var(--g2)); }
.promo::after { content: ''; position: absolute; width: 260px; aspect-ratio: 1; right: -80px; top: -100px; border-radius: 50%; background: rgba(255, 255, 255, .12); z-index: -1; transition: transform .8s var(--ease); }
.promo:hover::after { transform: scale(1.12); }
.promo > * { justify-self: start; }
.promo h3 { color: #fff; font-size: clamp(1.08rem, 2.4vw, 1.4rem); max-width: 460px; }
.promo p { max-width: 440px; font-size: .9rem; }
.promo .btn { margin-top: 4px; }
.promo-slider .slide { flex-basis: 100%; }

/* how to buy */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; counter-reset: step; }
.step { position: relative; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); counter-increment: step; transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.step::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 8px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; }
.step h3 { margin-bottom: 2px; font-size: .95rem; }
.step p { font-size: .84rem; line-height: 1.5; }

/* email delivery explainer */
.split { display: grid; gap: 20px; align-items: center; }
.split h2 + p { margin-top: 8px; }
.check-list { display: grid; gap: 8px; margin-top: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; font-size: .93rem; }
.check-list .ic { margin-top: 3px; padding: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--p-100); color: var(--p-600); }
.mail-demo { max-width: 400px; width: 100%; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.mail-bar { display: flex; gap: 6px; padding: 10px 14px; background: var(--p-50); border-bottom: 1px solid var(--line); }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--p-200); }
.mail-body { display: grid; gap: 10px; padding: 18px; }
.mail-from { display: flex; align-items: center; gap: 10px; }
.mail-from strong { display: block; color: var(--ink); line-height: 1.3; font-size: .93rem; }
.mail-from small { color: var(--muted); font-size: .8rem; }
.mail-body h3 { font-size: 1.05rem; }
.mail-body p { font-size: .88rem; }
.mail-time { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ok); font-weight: 600; }

/* CTA band */
.cta-band, .final-cta { display: grid; gap: 8px; justify-items: center; padding: 22px 18px; border-radius: 20px; text-align: center; color: rgba(255, 255, 255, .86); background: var(--grad-dark); box-shadow: var(--sh-lg); }
.cta-band h2, .final-cta h2 { color: #fff; max-width: 640px; }
.cta-band p, .final-cta p { max-width: 540px; font-size: .95rem; }
.cta-band-btns, .final-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; width: 100%; }
.final-cta .price-now { color: #fff; font-size: 1.9rem; }
.final-cta del { color: rgba(255, 255, 255, .65); font-size: 1rem; }

/* offers page */
.offer-hero .countdown { margin-top: 10px; }
.offer-note { display: flex; align-items: flex-start; gap: 8px; max-width: 760px; margin: 0 auto 16px; padding: 10px 14px; border-radius: var(--r); background: var(--warn-bg); border: 1px solid var(--warn-bd); color: var(--warn-tx); font-weight: 500; font-size: .9rem; }
.offer-note .ic { margin-top: 3px; }

/* filters (all courses) */
.filters { display: grid; gap: 10px; margin-bottom: 14px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.filters-top { display: grid; gap: 8px; }
.filters .search { margin: 0; max-width: none; box-shadow: none; padding-right: 14px; }
.select { min-height: 46px; padding: 6px 12px; border: 1.5px solid var(--p-200); border-radius: 12px; background: var(--input-bg); color: var(--ink); font-weight: 500; font-size: .92rem; }
.filter-chip { flex: none; min-height: 36px; padding: 4px 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); font-weight: 500; font-size: .86rem; color: var(--body); transition: all .25s var(--ease); }
.filter-chip:hover { border-color: var(--p-400); color: var(--p-600); }
.filter-chip:active { transform: scale(.95); }
.filter-chip.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(109, 40, 217, .28); }
.result-count { margin-bottom: 10px; font-weight: 600; font-size: .9rem; color: var(--ink); }

/* ---------- course sales landing page ---------- */
.lp-hero { background: var(--grad-dark); color: rgba(255, 255, 255, .86); padding-block: 14px 30px; }
.lp-hero-in { display: grid; gap: 18px; align-items: center; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.lp-hero h1 { color: #fff; font-size: clamp(1.4rem, 3.6vw, 2.2rem); }
.lp-sub { margin-top: 6px; font-size: .97rem; }
.lp-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: .86rem; }
.lp-rating b { color: #fff; }
.lp-rating .join { background: rgba(110, 231, 168, .16); color: #a7f3c9; }
.lp-points { display: grid; gap: 5px; margin-top: 10px; }
.lp-points li { display: flex; align-items: flex-start; gap: 8px; color: #fff; font-size: .92rem; }
.lp-points .mk { display: inline-grid; place-items: center; flex: none; width: 19px; height: 19px; margin-top: 3px; border-radius: 50%; background: rgba(110, 231, 168, .18); color: #6ee7a8; }
.lp-points .mk .ic { width: 12px; height: 12px; stroke-width: 3; }
.buy-box { margin-top: 14px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); color: var(--body); box-shadow: var(--sh-lg); max-width: 500px; }
.buy-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.buy-price .price-now { font-size: 1.75rem; }
.buy-price del { font-size: 1rem; }
.buy-price--center { justify-content: center; }
.save-pill { padding: 1px 10px; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok); font-size: .8rem; font-weight: 700; }
/* offer alert (left) + countdown (right), one row at every width */
.buy-cd { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; gap: 8px; margin-block: 10px; }
.buy-cd .countdown { flex: none; align-self: center; }
.offer-alert { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 12px; background: var(--err-bg); border: 1px solid rgba(225, 29, 72, .14); }
.oa-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #ef4444; color: #fff; box-shadow: 0 4px 10px rgba(239, 68, 68, .3); }
.oa-ic .ic { width: 17px; height: 17px; animation: oa-spin 3s linear infinite; } /* decorative only; the countdown is computed separately */
@keyframes oa-spin { to { transform: rotate(360deg); } }
.oa-tx { display: grid; gap: 1px; min-width: 0; line-height: 1.3; }
.oa-tx b { color: var(--ink); font-size: .9rem; font-weight: 600; }
.oa-tx small { color: var(--err); font-size: .74rem; font-weight: 500; }
@media (max-width: 399px) { .offer-alert { gap: 6px; padding: 5px 7px 5px 5px; } .oa-ic { width: 28px; height: 28px; } .oa-ic .ic { width: 15px; height: 15px; } .oa-tx b { font-size: .8rem; } .oa-tx small { font-size: .66rem; } }
.buy-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .78rem; color: var(--muted); text-align: center; }
.buy-note .ic { color: var(--ok); }
.lp-hero-media { display: grid; gap: 10px; max-width: 320px; width: 100%; margin-inline: auto; }
.lp-hero-media .cover { box-shadow: 0 24px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .25); }
.lp-play { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s var(--ease); }
.lp-play:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.lp-play:active { transform: scale(.97); }
.lp-stats { position: relative; z-index: 2; margin-top: -18px; }
.lp-stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-stat { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
.lp-stat .ibox { width: 36px; height: 36px; border-radius: 10px; }
.lp-stat .ibox .ic { width: 18px; height: 18px; }
.lp-stat strong { display: block; color: var(--ink); line-height: 1.3; font-size: .92rem; }
.lp-stat small { color: var(--muted); font-size: .76rem; }
.lp-split { display: grid; gap: 18px; align-items: start; }
.lp-split h2 { margin-bottom: 8px; }
.lp-split p + p { margin-top: 8px; }
.glance { padding: 16px; }
.glance h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.glance h3 .ic { color: var(--p-500); }
.glance li { display: flex; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.glance li:last-child { border: 0; padding-bottom: 0; }
.glance .ic { color: var(--p-500); }
.glance span { flex: 1; }
.glance b { color: var(--ink); text-align: right; }
.learn-grid { display: grid; gap: 8px; }
.learn-grid li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 500; font-size: .93rem; box-shadow: var(--sh-sm); transition: transform .25s var(--ease), border-color .25s; }
.learn-grid li:hover { transform: translateY(-2px); border-color: var(--p-200); }
.learn-grid li { align-items: center; }
/* number badge: soft gradient tile, used by learn cards, bonuses and numbered description steps */
.nb { display: inline-grid; place-items: center; flex: none; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px; background: linear-gradient(135deg, var(--p-50), var(--p-100)); border: 1px solid var(--p-200); color: var(--p-600); font-weight: 700; font-size: .82rem; line-height: 1; font-variant-numeric: tabular-nums; }
.nb--cta { background: var(--grad-cta); border: 0; color: #fff; box-shadow: 0 4px 10px rgba(255, 94, 58, .28); }
.learn-grid li:nth-child(3n+2) .nb { background: linear-gradient(135deg, var(--ok-bg), var(--ok-bg)); border-color: var(--ok-bd); color: var(--ok-tx); }
.learn-grid li:nth-child(3n) .nb { background: linear-gradient(135deg, var(--warn-bg), var(--warn-bg2)); border-color: var(--warn-bd); color: var(--orange-tx); }
.bonus-box { padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 2px dashed var(--p-400); box-shadow: var(--sh); }
.bonus-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bonus-head > .ic { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--grad-cta); background-size: 200% 100%; color: #fff; }
.bonus-head p { font-size: .84rem; color: var(--muted); }
.bonus-box ol { display: grid; gap: 8px; }
.bonus-box li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--p-50); }
.bonus-tx { display: grid; flex: 1; min-width: 0; }
.bonus-n { font-size: .72rem; font-weight: 700; color: var(--p-600); }
.bonus-box li strong { color: var(--ink); line-height: 1.4; font-size: .93rem; }
.bonus-v { flex: none; font-size: .8rem; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.bonus-total { margin-top: 10px; font-weight: 600; color: var(--ink); text-align: center; font-size: .93rem; }
.bonus-total b { color: var(--ok); }
.preview-video { position: relative; display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; font-weight: 600; box-shadow: var(--sh-lg); overflow: hidden; transition: transform .3s var(--ease); }
.preview-video:hover { transform: scale(1.01); }
.preview-video:active { transform: scale(.99); }
.preview-play { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: #6d28d9; box-shadow: 0 0 0 10px rgba(255, 255, 255, .22); animation: pulse 2.2s infinite; }
.preview-play .ic { width: 26px; height: 26px; fill: currentColor; }
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(255, 255, 255, .08); } }
.instructor { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 800px; margin-inline: auto; padding: 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh); }
.instructor h2 { font-size: 1.3rem; }
.instructor-role { margin: 0 0 6px; color: var(--p-600); font-weight: 600; font-size: .92rem; }
.instructor p:last-child { font-size: .93rem; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--bar-bg); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(46, 16, 101, .1); }
.buybar .price-now { font-size: 1.1rem; }
.buybar .btn { flex: 1; max-width: 210px; }

/* ---------- FAQ page ---------- */
.faq-search { max-width: 540px; margin: 14px auto 0; }
.faq-group { margin-bottom: 16px; }
.faq-group h2 { margin-bottom: 10px; font-size: 1.12rem; }

/* ---------- blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s, opacity .55s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.cover-link { display: block; border-radius: var(--r); }
.post-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 10px 6px 6px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .8rem; color: var(--muted); }
.post-meta span:not(.chip) { display: inline-flex; align-items: center; gap: 5px; }
.post-body h3 { font-size: 1rem; }
.post-body h3 a { transition: color .2s; }
.post-body h3 a:hover { color: var(--p-600); }
.post-body p { font-size: .88rem; flex: 1; }
.post-hero .post-meta { justify-content: center; margin-top: 8px; color: rgba(255, 255, 255, .8); }
.post-wrap { max-width: 760px; margin-inline: auto; }
.post-wrap .cover { margin-top: -26px; box-shadow: var(--sh-lg); aspect-ratio: 16 / 7; }
.post-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }

/* long-form text (blog + legal) */
.prose { font-size: 1rem; line-height: 1.8; }
.prose h2 { margin: 22px 0 6px; font-size: 1.18rem; }
.prose h3 { margin: 16px 0 6px; }
.prose p { margin-bottom: 10px; }
.prose ul { margin: 0 0 12px; display: grid; gap: 6px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ''; position: absolute; left: 5px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--p-500); }
.prose a { color: var(--p-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 800px; margin-inline: auto; }
.legal-updated { display: inline-block; margin-bottom: 12px; padding: 2px 12px; border-radius: var(--r-pill); background: var(--p-100); color: var(--p-700); font-size: .8rem; font-weight: 600; }

/* ---------- about ---------- */
.stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat-card { padding: 14px 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); text-align: center; }
.stat-card strong { display: block; font-size: clamp(1.35rem, 3.4vw, 1.8rem); line-height: 1.2; background: linear-gradient(120deg, #8b5cf6, #6d28d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-card span { font-size: .86rem; }
.about-art { display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 16 / 11; padding: 20px; border-radius: 20px; background: var(--grad-dark); color: #fff; text-align: center; box-shadow: var(--sh-lg); }
.about-art .ic { width: 52px; height: 52px; }
.about-art strong { font-size: 1.25rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 18px; align-items: start; }
.contact-grid h2 { margin-bottom: 12px !important; }
.info-list { display: grid; gap: 8px; }
.info-card { display: flex; align-items: center; gap: 12px; padding: 11px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); transition: transform .25s var(--ease), border-color .25s; }
.info-card:hover { transform: translateX(3px); border-color: var(--p-200); }
.info-card strong { display: block; color: var(--ink); line-height: 1.3; font-size: .93rem; }
.info-card a, .info-card span > span { color: var(--body); word-break: break-word; font-size: .9rem; }
.info-card a:hover { color: var(--p-600); }
.form-row { display: grid; gap: 0 12px; }

/* ---------- thank you ---------- */
.ty-hero { padding-block: 18px 48px; background: var(--grad-dark); color: rgba(255, 255, 255, .86); }
.ty-hero h1 { color: #fff; font-size: clamp(1.4rem, 3.8vw, 2.1rem); margin: 12px 0 4px; }
.ty-check { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #22c55e; color: #fff; box-shadow: 0 0 0 10px rgba(34, 197, 94, .22); animation: pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.ty-check .ic { width: 32px; height: 32px; stroke-width: 3; }
@keyframes pop { from { transform: scale(0); } }
.ty-id { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 6px 4px 14px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.ty-id span { font-size: .8rem; opacity: .8; }
.ty-id strong { font-size: 1.02rem; letter-spacing: .03em; }
.ty-id .icon-btn { width: 34px; height: 34px; color: #fff; }
.ty-id .icon-btn:hover { background: rgba(255, 255, 255, .18); }
.ty-body { padding-top: 0; }
.ty-grid { display: grid; gap: 12px; margin-top: -36px; align-items: start; }
.ty-main { display: grid; gap: 12px; }
.ty-main h2 { font-size: 1.08rem; margin-top: 4px; }
.ty-mail { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--ok-bg); border: 1px solid var(--ok-bd); }
.ty-mail > .ic { width: 24px; height: 24px; color: var(--ok); margin-top: 2px; }
.ty-mail strong { color: var(--ink); }
.ty-mail p { font-size: .9rem; word-break: break-word; }
.ty-mail small { color: var(--muted); font-size: .8rem; }
.ty-bump { display: flex; align-items: center; gap: 8px; color: var(--orange-tx); font-weight: 600; font-size: .92rem; }
.ty-steps { display: grid; gap: 6px; counter-reset: s; font-size: .93rem; }
.ty-downloads { display: grid; gap: 8px; }
.ty-steps li { position: relative; padding-left: 34px; counter-increment: s; }
.ty-steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--p-100); color: var(--p-700); font-weight: 700; font-size: .8rem; }
.ty-side { display: grid; gap: 12px; }
.ty-side h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.kv { display: grid; gap: 6px; font-size: .9rem; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; }
.kv b { color: var(--ink); text-align: right; word-break: break-word; }
.kv-total { margin-top: 2px; padding-top: 8px; border-top: 1.5px dashed var(--p-200); font-size: 1.05rem; }
.kv-total b { color: var(--p-600); }
.paid-pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 2px 12px; border-radius: var(--r-pill); background: var(--ok-bg); color: var(--ok-tx); font-weight: 700; font-size: .82rem; }
/* thank-you: status hero variants + compact order / payment cards (verified window.HS_ORDER only) */
.ty-check.is-warn { background: #f59e0b; box-shadow: 0 0 0 10px rgba(245, 158, 11, .22); }
.ty-check.is-err { background: #ef4444; box-shadow: 0 0 0 10px rgba(239, 68, 68, .22); }
.ty-check.is-none { background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); }
.ty-check.is-warn .ic, .ty-check.is-err .ic, .ty-check.is-none .ic { stroke-width: 2.4; }
.ty-mail.is-warn { background: var(--warn-bg); border-color: var(--warn-bd); }
.ty-mail.is-warn > .ic { color: var(--warn-tx); }
.ty-items { display: grid; gap: 8px; }
.ty-card { padding: 14px 16px; }
.ty-side .ty-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.ty-card .kv { gap: 5px; }
.ty-card .kv > div { align-items: center; min-height: 26px; }
.ty-card .kv > div > span:first-child { flex: none; max-width: 52%; color: var(--muted); }
.ty-card .kv small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.3; }
.ty-card .kv b small { text-align: right; }
.kv-val { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; }
.kv code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .84rem; font-weight: 700; letter-spacing: .02em; word-break: break-all; }
.kv-copy { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--p-600); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.kv-copy .ic { width: 14px; height: 14px; }
.kv-copy:hover, .kv-copy:focus-visible { background: var(--p-50); border-color: var(--p-200); }
.kv-copy:active { transform: scale(.92); }
.kv-save b { color: var(--ok-tx); }
.ty-card .kv-total { margin-top: 2px; padding-top: 7px; }
.ty-card .kv-total > span:first-child { color: var(--ink); font-weight: 700; }
.pay-st { padding: 2px 10px; font-size: .8rem; }
.pay-st::before { display: none; } /* the badge has its own status icon */
.pay-st .ic { width: 13px; height: 13px; }
.ty-inv { margin-top: 10px; }
.ty-grid.ty-grid--solo { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
@media (max-width: 559px) { .ty-card { padding: 12px; } .kv-copy { width: 32px; height: 32px; } }
.ty-help { display: grid; gap: 8px; }
.ty-help h3 { margin-bottom: 0; }
.ty-help p { font-size: .9rem; }

/* ---------- Login / Register (demo) ---------- */
.auth { padding-block: 14px 24px; background: var(--soft); }
.auth-card { max-width: 440px; margin: 0 auto; padding: 20px 16px; }
#register-form { max-width: 480px; }
.auth-head { text-align: center; margin-bottom: 12px; }
.auth-head .ibox { margin-bottom: 6px; }
.auth-head h1 { font-size: 1.35rem; }
.auth-head p { font-size: .9rem; color: var(--muted); }
.auth-note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 12px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--ok-tx); font-size: .85rem; }
.auth-note .ic { margin-top: 3px; }
.auth-note a { font-weight: 700; text-decoration: underline; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.label-row label { margin-bottom: 0; }
.label-row a { font-size: .82rem; font-weight: 600; color: var(--p-600); }
.pass-wrap { position: relative; }
.pass-wrap .input { padding-right: 46px; }
.pass-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); transition: color .2s, background .2s; }
.pass-toggle:hover { color: var(--p-600); background: var(--p-50); }
.auth-check, .field .auth-check { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; font-size: .88rem; font-weight: 500; color: var(--body); cursor: pointer; }
.field .auth-check { margin-bottom: 0; }
.auth-check input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--p-600); }
.auth-check a { color: var(--p-600); font-weight: 600; }
.auth-alt { margin-top: 12px; text-align: center; font-size: .9rem; }
.auth-alt a { color: var(--p-600); font-weight: 700; }
@media (min-width: 560px) { .auth { padding-block: 22px 32px; } .auth-card { padding: 26px 28px; } }

/* phones: tighter homepage hero and trust strip (desktop unchanged) */
@media (max-width: 559px) {
  .hero { padding-block: 8px 2px; }
  .hero-grid, .hero-side { gap: 8px; }
  .hero-main { padding: 16px 14px; border-radius: 16px; }
  .hero-offer { padding: 14px; border-radius: 16px; }
  .search { margin-top: 12px; }
  .hero-stats { margin-top: 12px; gap: 6px 18px; }
  .trust-strip { padding-block: 6px 2px; }
  .trust-row { gap: 6px; }
  .trust-row li { padding: 8px; gap: 8px; }
  .trust-row .tr-ic { width: 30px; height: 30px; }
}
@media (min-width: 560px) {
  .hero-side { grid-template-columns: 1fr 1fr; }
  .hero-pick { display: grid; grid-template-columns: 96px 1fr; }
  .trust-row li { padding: 12px; }
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .filters-top { grid-template-columns: 1fr auto; }
  .promo { padding: 26px 28px; min-height: 190px; }
  .cta-band, .final-cta { padding: 28px 28px; }
  .lp-hero-media { max-width: 360px; }
}
@media (min-width: 900px) {
  .hero { padding-block: 12px 4px; }
  .hero-grid { grid-template-columns: 1.75fr 1fr; gap: 14px; }
  .hero-main { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
  .hero-side { grid-template-columns: 1fr; gap: 14px; }
  .hero-pick { grid-template-columns: 116px 1fr; }
  .cat-strip { margin-top: 14px; flex-wrap: wrap; justify-content: center; overflow: visible; }
  .trust-strip { padding-block: 10px 4px; }
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .promo-slider .slide { flex-basis: calc(50% - 6px); }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .step { padding: 18px; }
  .lp-hero { padding-block: 22px 42px; }
  .lp-hero-in { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .lp-hero-media { max-width: 420px; }
  .lp-stats { margin-top: -26px; }
  .lp-stats-in { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .lp-split { grid-template-columns: 1.4fr 1fr; gap: 24px; }
  .lp-split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .learn-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .instructor { grid-template-columns: auto 1fr; justify-items: start; text-align: left; padding: 26px 28px; gap: 22px; }
  .buybar { display: none; }
  .has-buybar .wa-float { bottom: 14px; }
  .has-buybar .cb-fab { bottom: 14px; }
  .has-buybar .cb-tip { bottom: 74px; }
  .has-buybar .cb-panel { bottom: 74px; height: min(540px, calc(100vh - 100px)); }
  .has-buybar .site-footer { padding-bottom: 0; }
  .stats-row { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  .ty-grid { grid-template-columns: 1.35fr 1fr; gap: 18px; }
}

/* Google sign-in button (UI only; see HS.googleAuth) */
.auth-or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--muted); font-size: .82rem; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .95rem; transition: border-color .2s, box-shadow .2s, transform .15s; }
.btn-google:hover { border-color: var(--p-200); box-shadow: var(--sh-sm); }
.btn-google:active { transform: scale(.98); }
.g-logo { width: 20px; height: 20px; flex: none; }
[data-theme="dark"] .btn-google { background: #fff; color: #1f1f1f; border-color: #fff; }

/* ---------- Login / Register: Google-only sign-in ---------- */
.btn-google-lg { min-height: 54px; gap: 12px; padding: 10px 18px; border-radius: 14px; font-size: 1.02rem; font-weight: 700; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .25s, transform .2s var(--ease); }
.btn-google-lg .g-logo { width: 24px; height: 24px; }
@media (hover: hover) { .btn-google-lg:hover { transform: translateY(-2px); box-shadow: var(--sh); } }
.btn-google:focus-visible { outline: 3px solid var(--p-400); outline-offset: 2px; }
.auth-info { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--p-50); border: 1px solid var(--p-100); font-size: .86rem; line-height: 1.55; }
.auth-info b { color: var(--ink); }
.auth-info .ic-wrap, .auth-privacy .ic-wrap { flex: none; margin-top: 2px; color: var(--p-500); }
.auth-info .ic, .auth-privacy .ic { width: 16px; height: 16px; }
.auth-perks { display: grid; gap: 4px; margin-top: 12px; font-size: .88rem; color: var(--body); }
.auth-perks li { display: flex; align-items: center; gap: 8px; }
.auth-perks .ic-wrap { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-tx); }
.auth-perks .ic { width: 12px; height: 12px; stroke-width: 3; }
.auth-steps { display: grid; gap: 6px; margin-top: 14px; font-size: .88rem; }
.auth-steps li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.auth-steps li > span { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: .76rem; font-weight: 700; }
.auth-privacy { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.55; color: var(--muted); }
.auth-privacy a { color: var(--p-600); font-weight: 600; }

/* ---------- My Account (my-account.html) ---------- */
.acct { padding-block: 10px 20px; background: var(--soft); }
/* reuses the .crumbs component (built for dark page heroes); recoloured here for the light account page */
.acct .crumbs { justify-content: flex-start; align-items: center; margin-bottom: 10px; color: var(--muted); }
.acct .crumbs a { display: inline-flex; align-items: center; gap: 4px; color: var(--p-600); font-weight: 600; }
.acct .crumbs a:hover { color: var(--p-700); }
.acct .crumbs .ic { width: 14px; height: 14px; }
.acct .crumbs span { color: var(--ink); font-weight: 600; }
/* A. header */
.acct-top { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; margin-bottom: 12px; padding: 16px 14px 14px; }
.acct-top::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad-btn); }
.acct-top > .avatar-xl { width: 60px; height: 60px; font-size: 1.5rem; }
.avatar-guest { background: var(--p-100); color: var(--p-600); box-shadow: none; }
.avatar-guest .ic { width: 45%; height: 45%; }
.acct-who { min-width: 0; }
.acct-who h1 { font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.acct-who p { font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.acct-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.acct-badges .chip .ic { width: 12px; height: 12px; }
.acct-top-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.acct-top-act > * { flex: 1 1 auto; }
.acct-guest-note { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 8px; font-size: .82rem; color: var(--muted); }
.acct-guest-note .ic { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--p-500); }
/* status pill */
.st { display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border-radius: var(--r-pill); font-size: .76rem; font-weight: 700; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-ok { background: var(--ok-bg); color: var(--ok-tx); }
.st-warn { background: var(--warn-bg2); color: var(--warn-tx); }
.st-err { background: var(--err-bg); color: var(--err); }
.st-muted { background: var(--p-50); color: var(--muted); }
/* B. navigation: 3x2 tab grid on phones, one row on tablets, sidebar on desktop */
.acct-layout { display: grid; gap: 12px; }
.acct-layout > * { min-width: 0; }
.acct-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.acct-nav a, .acct-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; padding: 6px 4px; border-radius: 10px; font-size: .78rem; font-weight: 600; line-height: 1.25; text-align: center; color: var(--body); transition: background .2s, color .2s, box-shadow .2s; }
.acct-nav .ic { width: 18px; height: 18px; color: var(--p-500); }
.acct-nav a:hover { background: var(--p-50); color: var(--p-700); }
.acct-nav a[aria-current="page"] { background: var(--grad-btn); background-size: 200% 100%; color: #fff; box-shadow: 0 6px 14px rgba(109, 40, 217, .25); }
.acct-nav a[aria-current="page"] .ic { color: #fff; }
.acct-nav .acct-nav-out, .acct-nav .acct-nav-out .ic { color: var(--err); }
.acct-nav .acct-nav-out:hover { background: var(--err-bg); }
/* panels */
.acct-panel { display: grid; gap: 12px; animation: acct-in .22s var(--ease); }
.acct-panel[hidden] { display: none; }
.panel-head h2 { font-size: 1.12rem; }
.panel-head p { font-size: .85rem; color: var(--muted); }
/* C. summary cards */
.acct-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acct-stat { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; min-width: 0; padding: 12px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.acct-stat .ibox { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; box-shadow: none; }
.acct-stat .ibox .ic { width: 18px; height: 18px; }
.acct-stat > span:not(.ibox) { font-size: .78rem; line-height: 1.3; color: var(--muted); }
.acct-stat b { font-size: 1.2rem; line-height: 1.25; color: var(--ink); overflow-wrap: anywhere; }
.acct-stat small { grid-column: 1 / -1; margin-top: 4px; font-size: .74rem; color: var(--muted); }
/* empty states (extends .empty) */
.acct-empty { display: grid; justify-items: center; gap: 4px; padding: 18px 14px; }
.acct-empty .ibox { margin-bottom: 4px; }
.acct-empty h3 { font-size: 1rem; }
.acct-empty p { max-width: 420px; margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.acct-help { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; }
.acct-help p { flex: 1 1 200px; font-size: .86rem; }
.acct-help b { color: var(--ink); }
.acct-note { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; color: var(--muted); }
.acct-note .ic { flex: none; width: 15px; height: 15px; margin-top: 3px; color: var(--ok); }
/* D. purchased course card (rendered only from backend data) */
.acct-courses { display: grid; gap: 10px; }
.acct-courses > .empty { grid-column: 1 / -1; }
.oc-card { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.oc-card > .cover { border-radius: 10px; }
.oc-body { min-width: 0; }
.oc-body h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .94rem; line-height: 1.35; }
.oc-meta { display: grid; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.oc-meta b { color: var(--ink); font-weight: 600; }
.oc-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
/* E/F. order + download tables (stack into cards below 760px, so they never scroll sideways) */
.acct-table-wrap { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.acct-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.acct-table th { padding: 10px 12px; text-align: left; white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--p-50); border-bottom: 1px solid var(--line); }
.acct-table td { padding: 10px 12px; vertical-align: middle; border-bottom: 1px solid var(--line); }
.acct-table td b { color: var(--ink); }
.acct-table tr:last-child td { border-bottom: 0; }
.acct-table td.td-empty { padding: 10px; }
.tbl-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--p-600); }
.tbl-link .ic { width: 14px; height: 14px; }
@media (max-width: 759px) {
  .acct-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .acct-table, .acct-table tbody, .acct-table tr, .acct-table td { display: block; width: 100%; }
  .acct-table tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .acct-table tr:last-child { border-bottom: 0; }
  .acct-table td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; overflow-wrap: anywhere; }
  .acct-table td::before { content: attr(data-label); flex: none; font-size: .8rem; font-weight: 600; color: var(--muted); text-align: left; }
  .acct-table td.td-empty { display: block; padding: 10px; }
  .acct-table td.td-empty::before { content: none; }
  .acct-table tr:has(.td-empty) { padding: 0; }
}
/* G. profile */
.acct-profile { display: grid; gap: 12px; padding: 16px 14px; }
.acct-profile[hidden] { display: none; }
.acct-profile h3 { font-size: 1rem; }
.acct-profile > .btn { justify-self: start; }
.prof-photo { display: flex; align-items: center; gap: 12px; }
.prof-photo .avatar-xl { width: 64px; height: 64px; font-size: 1.6rem; }
.prof-photo b { display: block; color: var(--ink); font-size: .92rem; }
.prof-photo small { color: var(--muted); font-size: .8rem; }
.acct-kv > div { padding: 8px 0; border-top: 1px solid var(--line); }
.acct-kv > div > span { color: var(--muted); }
.field-help { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.input[readonly] { background: var(--p-50); color: var(--muted); cursor: not-allowed; }
.form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 560px) {
  .acct-courses { grid-template-columns: 1fr 1fr; }
  .acct-nav { grid-template-columns: repeat(6, 1fr); }
  .acct-top-act > * { flex: 0 0 auto; }
  .acct-top-act .btn-google { width: auto; padding-inline: 18px; }
}
@media (min-width: 760px) {
  .acct-top { grid-template-columns: auto 1fr auto; gap: 10px 16px; padding: 20px; }
  .acct-top > .avatar-xl { width: 72px; height: 72px; font-size: 1.85rem; }
  .acct-who h1 { font-size: 1.3rem; }
  .acct-top-act { grid-column: auto; }
  .acct-profile { padding: 20px; }
}
@media (min-width: 900px) {
  .acct { padding-block: 14px 28px; }
  .acct-layout { grid-template-columns: 236px minmax(0, 1fr); gap: 18px; align-items: start; }
  .acct-side { position: sticky; top: calc(var(--sticky-h) + 14px); }
  .acct-nav { grid-template-columns: 1fr; gap: 2px; padding: 8px; }
  .acct-nav a, .acct-nav button { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 42px; padding: 8px 12px; font-size: .92rem; text-align: left; }
  .acct-nav .acct-nav-out { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
  .acct-stats { gap: 12px; }
  .acct-stat { padding: 14px; }
}
@media (min-width: 1100px) { .acct-stats { grid-template-columns: repeat(4, 1fr); } .acct-courses { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Course landing page: gallery, buttons, headings, lists (2026-11-14) ---------- */
/* hero media gallery: main preview keeps the old square cover size; thumbnails scroll sideways */
.lp-gallery { gap: 8px; }
.lg-main { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--r); background: #0b0716; border: 1px solid rgba(255, 255, 255, .25); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); touch-action: pan-y; }
.lg-main > .cover { border-radius: 0; box-shadow: none; border: 0; }
.lg-zoomable { display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in; }
.lg-main img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.lg-main video, .lg-main iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.lg-count { position: absolute; top: 8px; right: 8px; z-index: 2; padding: 1px 9px; border-radius: var(--r-pill); background: rgba(10, 6, 24, .62); color: #fff; font-size: .74rem; font-weight: 600; pointer-events: none; }
.lg-main.is-video .lg-count { top: 8px; left: 8px; right: auto; }
.lg-zoom { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(10, 6, 24, .62); color: #fff; pointer-events: none; }
.lg-zoom .ic { width: 16px; height: 16px; }
.lg-cap { position: absolute; left: 0; right: 46px; bottom: 0; z-index: 1; padding: 22px 10px 9px; background: linear-gradient(transparent, rgba(10, 6, 24, .72)); color: #fff; font-size: .8rem; line-height: 1.35; pointer-events: none; }
.lg-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 2px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lg-thumbs::-webkit-scrollbar { display: none; }
.lg-thumb { position: relative; flex: 0 0 56px; height: 56px; overflow: hidden; padding: 0; border-radius: 10px; border: 2px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); opacity: .72; scroll-snap-align: start; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.lg-thumb:hover { opacity: 1; transform: translateY(-2px); }
.lg-thumb[aria-current="true"] { opacity: 1; border-color: #fff; box-shadow: 0 0 0 2px var(--cta-1); }
.lg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lg-tcover { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; }
.lg-tcover .ic { width: 22px; height: 22px; }
.lg-tplay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 6, 24, .28); }
.lg-tplay .ic { width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: #fff; color: #6d28d9; fill: currentColor; }

/* image lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 56px 12px 24px; background: rgba(8, 5, 20, .93); animation: lb-in .2s var(--ease); touch-action: pan-y; }
@keyframes lb-in { from { opacity: 0; } }
.lb-fig { display: grid; justify-items: center; gap: 10px; margin: 0; max-width: 100%; }
.lb-fig img { max-width: min(92vw, 900px); max-height: calc(100vh - 140px); border-radius: 12px; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); user-select: none; -webkit-user-drag: none; }
.lb-fig figcaption { color: rgba(255, 255, 255, .85); font-size: .88rem; text-align: center; }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, transform .2s var(--ease); }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn:active { transform: scale(.92); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.92); }

/* hero buttons: [অর্ডার করুন] [ডেমো দেখুন] side by side at every width */
/* row 1: full-width order button; row 2: demo + WhatsApp, equal halves, side by side at every width */
.buy-actions { display: grid; gap: 8px; }
.buy-actions .btn { width: 100%; white-space: nowrap; }
.buy-actions .btn-order { min-height: 48px; }
.buy-sub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.buy-sub--solo { grid-template-columns: 1fr; }
.buy-sub .btn { min-height: 42px; padding-inline: 8px; font-size: .9rem; }
.btn-wa-order { background-color: var(--ok-bg); border-color: #22a45a; color: var(--ok-tx); }
.btn-wa-order .ic { color: #16a34a; }
@media (hover: hover) { .btn-wa-order:hover { background-color: #22a45a; color: #fff; } .btn-wa-order:hover .ic { color: #fff; } }
@media (max-width: 399px) { .buy-sub .btn { gap: 5px; padding-inline: 6px; font-size: .8rem; } .buy-sub .btn .ic { width: 14px; height: 14px; } }
.btn-demo { background-color: var(--p-50); border-color: var(--p-400); color: var(--p-700); }
.btn-demo .ic { fill: currentColor; width: 14px; height: 14px; }
.buy-dl { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 600; color: var(--p-600); }
.buy-dl .ic { width: 15px; height: 15px; }

/* section headings: icon tile + eyebrow + title with an accent underline; colour family per section */
.acc-purple { --acc: #8b5cf6; --acc2: #6d28d9; --acc-tx: var(--p-600); }
.acc-green { --acc: #22c55e; --acc2: #059669; --acc-tx: var(--ok-tx); }
.acc-orange { --acc: #ff9a2e; --acc2: #ff5e3a; --acc-tx: var(--orange-tx); }
.acc-pink { --acc: #ec4899; --acc2: #a855f7; --acc-tx: #be185d; }
.acc-teal { --acc: #14b8a6; --acc2: #0ea5e9; --acc-tx: #0f766e; }
.acc-amber { --acc: #fbbf24; --acc2: #f97316; --acc-tx: #b45309; }
[data-theme="dark"] .acc-pink { --acc-tx: #f9a8d4; }
[data-theme="dark"] .acc-teal { --acc-tx: #5eead4; }
[data-theme="dark"] .acc-amber { --acc-tx: #fcd34d; }
.lp-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--sec-head-gap); }
.lp-head-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; box-shadow: 0 6px 14px rgba(46, 16, 101, .18); transform: rotate(-4deg); }
.lp-head-ic .ic { width: 19px; height: 19px; }
.lp-head-tx { min-width: 0; }
.lp-eyebrow { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .02em; color: var(--acc-tx); line-height: 1.4; }
.lp-head h2 { position: relative; padding-bottom: 6px; font-size: clamp(1.1rem, 2.1vw, 1.42rem); line-height: 1.3; }
.lp-head h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--acc), var(--acc2)); }
.lp-head h2 .hl { font-style: normal; color: var(--acc-tx); }
.lp-head p { margin-top: 4px; font-size: .86rem; color: var(--muted); }
.lp-head--center { flex-direction: column; gap: 6px; text-align: center; }
.lp-head--center .lp-head-ic { transform: none; }
.lp-head--center h2::after { left: 50%; transform: translateX(-50%); }
/* heading left, compact action button right (reviews: "রিভিউ দিন"); stays on one row on phones */
.lp-head--split .lp-head-tx { flex: 1 1 0; }
.lp-head--split > .btn { flex: none; align-self: center; }
.lp-score-line { display: inline-flex; align-items: center; gap: 5px; }
.lp-score-line b { color: var(--ink); }
@media (max-width: 399px) { .lp-head--split { gap: 8px; } .lp-head--split .lp-head-ic { width: 32px; height: 32px; border-radius: 10px; } .lp-head--split > .btn { padding-inline: 10px; } }

/* overview text + description lists */
.lp-prose p { font-size: .97rem; }
.lp-prose p + p, .lp-prose p + ul, .lp-prose p + ol, .lp-prose ul + p, .lp-prose ol + p { margin-top: 8px; }
.lp-aside { display: grid; gap: 12px; }
/* bullets: small coloured ring markers, cycling purple / green / orange */
.lp-bullets { display: grid; gap: 6px; }
.lp-bullets li { position: relative; padding-left: 20px; font-size: .93rem; line-height: 1.55; }
.lp-bullets li::before { content: ''; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--p-500); box-shadow: 0 0 0 3px var(--p-100); }
.lp-bullets li:nth-child(3n+2)::before { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.lp-bullets li:nth-child(3n)::before { background: var(--cta-2); box-shadow: 0 0 0 3px var(--warn-bg2); }
/* numbered steps in descriptions */
.lp-steps { display: grid; gap: 8px; counter-reset: st; }
.lp-steps li { position: relative; padding-left: 38px; min-height: 28px; font-size: .93rem; line-height: 1.55; counter-increment: st; }
.lp-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--grad); color: #fff; font-weight: 700; font-size: .82rem; box-shadow: 0 4px 10px rgba(109, 40, 217, .25); }
/* icon list (features): coloured rounded markers */
.lp-ilist { display: grid; gap: 8px; }
.lp-ilist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; font-size: .92rem; transition: transform .25s var(--ease), border-color .25s; }
.lp-ilist li:hover { transform: translateX(3px); border-color: var(--p-200); }
.lp-ilist .mk { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; }
.lp-ilist .mk .ic { width: 13px; height: 13px; stroke-width: 3; }

/* section-specific touches */
.lp-benefits .feature { position: relative; overflow: hidden; }
.lp-benefits .feature::after { content: ''; position: absolute; right: -26px; top: -26px; width: 70px; height: 70px; border-radius: 50%; background: var(--p-50); z-index: 0; }
.lp-benefits .feature > * { position: relative; z-index: 1; }
.lp-trust .trust-card { border-top: 3px solid var(--p-200); }
.lp-trust .trust-card:nth-child(1) { border-top-color: #14b8a6; }
.lp-trust .trust-card:nth-child(2) { border-top-color: #f59e0b; }
.lp-trust .trust-card:nth-child(3) { border-top-color: #8b5cf6; }
.lp-trust .trust-card:nth-child(4) { border-top-color: #22c55e; }

@media (min-width: 900px) {
  .lg-thumb { flex-basis: 62px; height: 62px; }
  .lp-head-ic { width: 42px; height: 42px; }
}

/* ---------- Reviews: two-column section (list left, inline form right), compact card, reviews page (2026-11-14) ---------- */
.lp-rv-grid { display: grid; gap: 12px; align-items: start; }
.lp-rv-list { display: grid; gap: 8px; min-width: 0; }
.lp-rv-list .more-row { margin-top: 2px; }
/* card: [avatar name / time] ... [5 ★ / product]; text below only when present (5px gap) */
.rv { display: grid; gap: 5px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); }
.rv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; min-width: 0; }
.rv-who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rv-who > span:last-child { display: grid; min-width: 0; }
.rv-av { width: 34px; height: 34px; font-size: .88rem; }
.rv-who strong { overflow: hidden; color: var(--ink); font-size: .9rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.rv-who time { color: var(--muted); font-size: .74rem; line-height: 1.3; }
.rv-meta { display: grid; justify-items: end; flex: none; max-width: 48%; text-align: right; }
.rv-rate { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-size: .92rem; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.rv-star { color: var(--cta-1); font-size: 1rem; line-height: 1; }
.rv-prod { max-width: 100%; overflow: hidden; color: var(--muted); font-size: .72rem; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.rv-score { display: inline-flex; align-items: center; gap: 6px; }
/* contributor label only (not a purchase check) */
.rv-badge { padding: 1px 7px; border-radius: 6px; background: var(--ok-bg); color: var(--ok-tx); font-size: .66rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
/* text: 2 lines, expandable per card */
.rv-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--body); font-size: .9rem; line-height: 1.55; }
.rv-text.open { display: block; overflow: visible; -webkit-line-clamp: unset; }
.rv-more { justify-self: start; margin-top: -3px; padding: 0; color: var(--p-600); font-size: .8rem; font-weight: 600; line-height: 1.4; }
.rv-more:hover { text-decoration: underline; }
/* inline review form */
.lp-rv-form { padding: 14px; }
.rf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rf-head h3 { font-size: 1rem; line-height: 1.3; }
.rf-head p { font-size: .8rem; color: var(--muted); }
.rf-av .avatar { width: 38px; height: 38px; }
.rf .field { margin-bottom: 10px; }
.rf-label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.req { color: var(--err); }
.opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.rf-stars { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.rf-star, .field .rf-star { position: relative; margin: 0; padding: 2px; border-radius: 8px; cursor: pointer; }
.rf-star input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rf-star svg { display: block; width: 32px; height: 32px; fill: var(--p-100); stroke: var(--p-200); stroke-width: 1.2; transition: transform .15s var(--ease), fill .15s; }
.rf-star.on svg { fill: var(--star); stroke: #e8930c; }
.rf-star:hover svg { transform: scale(1.12); }
.rf-star:has(input:focus-visible) { outline: 3px solid var(--p-400); outline-offset: 1px; }
.rf-rate-tx { margin-left: 6px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.field.invalid .rf-star svg { stroke: var(--err); }
.rf textarea.input { min-height: 52px; height: 52px; resize: vertical; }
@media (min-width: 900px) { .lp-rv-grid { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; } .lp-rv-form { position: sticky; top: calc(var(--sticky-h) + 14px); } }
/* reviews page */
.rv-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.rv-tools .chip-row { min-width: 0; }
.rv-page-list { display: grid; gap: 8px; }
@media (min-width: 760px) { .rv-page-list { grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; } }

/* ---------- Landing page gallery on mobile/tablet (<900px): main preview left, square thumbnails in a column right ----------
   The thumb column takes no height of its own (height 0 + min-height 100%), so it matches the main preview and scrolls vertically. */
@media (max-width: 899px) {
  .lp-hero-in { gap: 12px; }
  .lp-gallery.has-thumbs { max-width: none; grid-template-columns: minmax(0, 1fr) 64px; gap: 6px; align-items: stretch; }
  .lp-gallery.has-thumbs .lg-main { box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
  .lp-gallery.has-thumbs .lg-thumbs { flex-direction: column; height: 0; min-height: 100%; padding: 3px; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y proximity; }
  .lp-gallery.has-thumbs .lg-thumb { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 1 / 1; }
  .lp-gallery.has-thumbs .lg-thumb:hover { transform: none; }
}
@media (min-width: 560px) and (max-width: 899px) { .lp-gallery.has-thumbs { max-width: 480px; grid-template-columns: minmax(0, 1fr) 78px; } }

/* ---------- Related products (landing page, before the footer): shared [data-slider], 1 / 2 / 3 cards per view ---------- */
.rel-slider .slide { flex-basis: 100%; }
.rel-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: stretch; height: 100%; padding: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-sm); transition: border-color .25s, box-shadow .25s; }
.rel-card:hover { border-color: var(--p-200); box-shadow: var(--sh); }
/* image fills the whole left column: from the title to the bottom of the button (height follows the content) */
.rel-media { display: block; position: relative; min-height: 100%; overflow: hidden; border-radius: 10px; }
.rel-media .cover { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 10px; }
.rel-media .cover img { width: 100%; height: 100%; object-fit: cover; }
.rel-media .cover-off { top: 4px; right: 4px; padding: 0 5px; font-size: .62rem; }
.rel-body { display: grid; gap: 5px; align-content: center; min-width: 0; }
.rel-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; line-height: 1.35; }
.rel-title a:hover { color: var(--p-600); }
.rel-stats { display: flex; flex-wrap: nowrap; align-items: center; gap: 7px; min-width: 0; overflow: hidden; font-size: .78rem; line-height: 1.3; white-space: nowrap; }
.rs-join { color: var(--ok-tx); font-weight: 700; }
.rs-rate { display: inline-flex; align-items: center; gap: 3px; }
.rs-rate b { color: var(--ink); font-weight: 700; }
.rel-body .pcard-price { margin: 0; padding: 0; }
.rel-body .pcard-price .price-now { font-size: 1rem; }
.rel-body .btn { margin-top: 2px; min-height: 34px; padding-block: 5px; font-size: .84rem; }
.rel-body .acts { margin-top: 2px; }
.rel-body .acts .btn { margin-top: 0; }
.rel-body .cart-add { width: 34px; min-height: 34px; border-radius: 9px; }
.rel-body .cart-add .ic { width: 16px; height: 16px; }
@media (min-width: 560px) { .rel-slider .slide { flex-basis: calc(50% - 6px); } }
@media (min-width: 900px) { .rel-slider .slide { flex-basis: calc((100% - 24px) / 3); } .rel-card { grid-template-columns: 116px minmax(0, 1fr); } }

/* homepage review slider uses the compact review card; cards in one row share the height */
.slide > .rv { height: 100%; align-content: start; }

/* ---------- Cart (cart.html) + checkout (checkout.html) ---------- */
.shop-sec { padding-top: 12px; }
.shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.shop-head h1 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.3; }
.shop-crumbs { display: flex; gap: 6px; font-size: .78rem; color: var(--muted); }
.shop-crumbs a:hover { color: var(--p-600); }
.shop-crumbs span::before { content: '/'; margin-right: 6px; opacity: .6; }
.shop-count { font-size: .8rem; padding: 3px 11px; }
.shop-back, .shop-more { display: inline-flex; align-items: center; gap: 6px; color: var(--p-600); font-weight: 600; font-size: .86rem; }
.shop-back .ic, .shop-more .ic { width: 15px; height: 15px; }
.shop-back:hover, .shop-more:hover { text-decoration: underline; }
.shop-back { flex: none; }
.shop-more { margin-top: 8px; }
.shop-grid { display: grid; gap: 10px; align-items: start; }
.shop-main { display: grid; gap: 10px; min-width: 0; }
.shop-side { min-width: 0; }
.cko-side { display: grid; gap: 8px; align-content: start; }
.shop-empty { max-width: 520px; margin: 6px auto 0; }
.shop-empty .ibox { margin-bottom: 8px; }
.shop-empty h2 { font-size: 1.15rem; margin-bottom: 4px; }

/* cart item row: square image | name, category, price | remove (digital products: no quantity) */
.ci-list { display: grid; }
.ci-list.card { padding: 4px 12px; }
.ci { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); transition: opacity .18s, transform .18s; }
.ci:last-child { border-bottom: 0; }
.ci-out { opacity: 0; transform: translateX(14px); }
.ci-img .cover { border-radius: 10px; }
.ci-img .cover-ic { border-radius: 10px; width: 40%; }
.ci-info { display: grid; gap: 1px; min-width: 0; }
.ci-title { color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-title:hover { color: var(--p-600); }
.ci-info small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-price { display: flex; align-items: baseline; gap: 6px; }
.ci-price b { color: var(--p-600); font-size: .98rem; }
.ci-price del { color: var(--muted); font-size: .78rem; }
.ci-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--muted); border: 1px solid var(--line); background: var(--surface); transition: color .2s, background .2s, border-color .2s, transform .15s; }
.ci-x .ic { width: 16px; height: 16px; }
.ci-x:hover, .ci-x:focus-visible { color: var(--err); background: var(--err-bg); border-color: transparent; }
.ci-x:active { transform: scale(.92); }

/* summary card (reuses the popup's .co-rows / .co-save / .co-total) */
.sum-card { padding: 14px; display: grid; gap: 8px; }
.sum-h { font-size: 1rem; }
.sum-card .cko-h { margin-bottom: 0; }
.sum-card .co-rows { margin-top: 0; }
.co-rows small { display: block; color: var(--muted); font-size: .74rem; font-weight: 400; line-height: 1.35; }
.co-rows del { color: var(--muted); font-weight: 400; font-size: .8rem; margin-right: 4px; }
.co-rows > div > span:last-child { white-space: nowrap; text-align: right; }
.cko-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; color: var(--muted); font-size: .78rem; text-align: center; }
.cko-secure .ic { width: 14px; height: 14px; color: var(--ok); flex: none; }

/* free-gift progress */
.gp { padding: 6px 9px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-bd); transition: background .4s, border-color .4s; }
.gp-top { display: flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--ink); }
.gp-ic { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--cta-1), var(--cta-2)); }
.gp-ic .ic { width: 13px; height: 13px; }
.gp-amt { flex: 1; min-width: 0; line-height: 1.35; }
.gp-amt b { color: var(--orange-tx); }
.gp-of { font-weight: 700; font-size: .82rem; color: var(--warn-tx); white-space: nowrap; }
.gp-bar { height: 7px; margin: 5px 0 4px; border-radius: 99px; background: rgba(255, 154, 46, .18); }
.gp-bar i { position: relative; display: block; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, var(--cta-1), var(--cta-2), var(--cta-1)) 0 0 / 200% 100%; box-shadow: 0 0 8px rgba(255, 94, 58, .45); transition: width .7s var(--ease); animation: gpFlow 3.2s linear infinite; }
/* shine: a soft light band sweeping left → right over the filled part only */
.gp-bar i::after { content: ''; position: absolute; inset: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-120%); animation: gpShine 2.6s ease-in-out infinite; }
@keyframes gpFlow { to { background-position: -200% 0; } }
@keyframes gpShine { 0% { transform: translateX(-120%); } 70%, 100% { transform: translateX(260%); } }
.gp-msg { margin: 0; font-size: .78rem; font-weight: 600; color: var(--warn-tx); line-height: 1.35; }
.gp-msg span { font-weight: 400; }
.gp-done { background: var(--ok-bg); border-color: var(--ok-bd); }
.gp-done .gp-ic { background: var(--ok); }
.gp-done .gp-amt b, .gp-done .gp-of, .gp-done .gp-msg { color: var(--ok-tx); }
.gp-done .gp-bar { background: rgba(15, 157, 88, .15); }
.gp-done .gp-bar i { background-image: linear-gradient(90deg, #22c55e, var(--ok), #4ade80, #22c55e); box-shadow: 0 0 9px rgba(34, 197, 94, .55); }
@media (prefers-reduced-motion: reduce) { .gp-bar i, .gp-bar i::after { animation: none; } .gp-bar i::after { display: none; } .gp-bar i { transition: none; } }

/* checkout */
.cko-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cko-title small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: .76rem; }
.cko-title small .ic { width: 13px; height: 13px; color: var(--ok); }
.cko-sec { padding: 8px 10px; }
#cko-form.shop-sec { padding-top: 10px; }
.cko-grid, .cko-grid .shop-main { gap: 8px; }
.cko-grid .sum-card { padding: 10px; gap: 6px; }
.cko-progress .cko-h { margin-bottom: 4px; }
.cko-h { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; font-size: .95rem; line-height: 1.25; }
.cko-h .chip { margin-left: auto; }
.cko-n { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 5px; border-radius: 7px; background: var(--p-100); color: var(--p-700); font-size: .74rem; font-weight: 700; flex: none; }
.cko-sec .ci-list { margin-top: -2px; }
.cko-sec .ci { grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 4px 0; }
.cko-sec .ci-info { gap: 0; }
.cko-sec .ci-title { font-size: .88rem; line-height: 1.3; }
.cko-sec .ci-price { line-height: 1.3; }
.cko-sec .ci-price b { font-size: .92rem; }
.cko-sec .ci-x { width: 28px; height: 28px; border-radius: 8px; color: var(--err); border-color: color-mix(in srgb, var(--err) 35%, transparent); }
.cko-sec .ci-x:hover, .cko-sec .ci-x:focus-visible { color: var(--err); background: var(--err-bg); border-color: color-mix(in srgb, var(--err) 55%, transparent); }
.cko-sec .ci-x .ic { width: 14px; height: 14px; }
.cko-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cko-pair--solo { grid-template-columns: 1fr; }
.cko-card { padding: 8px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cko-bump .cb-item { flex: 1; } /* when the free card is taller, the offer content sits centred instead of leaving a gap at the bottom */
.cko-card .cko-h { margin-bottom: 0; }
/* order bump card */
.cko-bump { border: 1.5px solid var(--warn-bd); background: var(--warn-bg); transition: background .3s ease, border-color .3s ease, box-shadow .3s ease; }
.cko-bump.is-on { border-color: var(--cta-2); background: var(--warn-bg2); box-shadow: 0 4px 14px rgba(255, 94, 58, .14); }
.cko-bump .cko-n { background: linear-gradient(135deg, var(--cta-1), var(--cta-2)); color: #fff; }
.cb-item { display: flex; gap: 8px; align-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* checkbox: 22px orange box, white tick when checked (the only control; the whole row is its label) */
.cb-check { appearance: none; -webkit-appearance: none; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 0; border: 2px solid var(--cta-2); border-radius: 6px; background: var(--surface); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.cb-check::after { content: ''; width: 6px; height: 11px; margin-top: -2px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.cb-check:checked { background: linear-gradient(135deg, var(--cta-1), var(--cta-2)); border-color: transparent; }
.cb-check:checked::after { transform: rotate(45deg) scale(1); }
.cb-check:focus-visible { outline: 3px solid var(--p-400); outline-offset: 2px; }
.cb-item:active .cb-check { transform: scale(.9); }
.cb-item .cover { width: 50px; flex: none; border-radius: 9px; }
.cb-item .cover-ic { width: 46%; border-radius: 8px; }
.cb-info { display: grid; gap: 0; flex: 1; min-width: 0; line-height: 1.3; }
.cb-item strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: .86rem; line-height: 1.25; }
.cb-note { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.cb-price { white-space: nowrap; }
.cb-price b { color: var(--orange-tx); font-size: .92rem; }
.cb-price del { margin-left: 5px; color: var(--muted); font-size: .76rem; }
/* free product card */
.cko-gift { transition: background .4s, border-color .4s; }
.cko-gift:not(.is-locked) { background: var(--ok-bg); border-color: var(--ok-bd); }
.cg-ic { display: grid; place-items: center; width: 22px; height: 22px; margin-left: auto; border-radius: 50%; color: var(--muted); background: var(--soft); transition: color .3s, background .3s; }
.cg-ic .ic { width: 13px; height: 13px; }
.cko-gift:not(.is-locked) .cg-ic { color: #fff; background: var(--ok); }
.cko-gift.cg-pop .cg-ic { animation: cgPop .7s var(--ease); }
@keyframes cgPop { 0%, 100% { transform: none; } 30% { transform: scale(1.35) rotate(-12deg); } 55% { transform: scale(.9) rotate(6deg); } 78% { transform: scale(1.08); } }
.cko-gift.is-locked .cg-title, .cko-gift.is-locked .cg-note { opacity: .65; }
.cko-gift .cko-n { background: var(--ok-bg); color: var(--ok-tx); }
.cg-title { display: block; color: var(--ink); font-size: .84rem; font-weight: 600; line-height: 1.3; }
.cg-note { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.cko-gift:not(.is-locked) .cg-note { color: var(--ok-tx); font-weight: 600; }
.cg-select { width: 100%; min-width: 0; min-height: 36px; font-size: .84rem; padding: 3px 8px; text-overflow: ellipsis; }
.cg-select:disabled { opacity: .6; cursor: not-allowed; }
.cg-select:focus { outline: none; border-color: var(--p-500); box-shadow: 0 0 0 3px rgba(124, 58, 237, .14); }
/* customer form */
.cko-fields { display: grid; gap: 0 10px; }
.cko-fields .field { margin-bottom: 6px; }
.cko-fields .field label { margin-bottom: 2px; font-size: .86rem; }
.cko-fields .input { min-height: 40px; padding-block: 6px; font-size: .95rem; }
.cf-hint { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; line-height: 1.3; }
.field.invalid .cf-hint { display: none; }
/* 05 আপনার তথ্য: soft purple highlight, same padding as the other cards (.cko-sec), fields on a tight grid */
/* thin animated gradient border: transparent 1.5px border + conic gradient painted under the opaque tint (padding-box);
   the angle --ga turns 0 → 360deg in 6s (CSS only, no colour jump). Without @property support or with reduced motion
   it stays a static gradient. Border 3px (whole px, same in every browser); padding is 2px smaller than .cko-sec so
   border + padding (and the card height / content position) stay exactly as in the other cards. */
@property --ga { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.cko-info { --ga: 0deg; border: 3px solid transparent;
  background: linear-gradient(var(--p-50), var(--p-50)) padding-box, conic-gradient(from var(--ga), #8b5cf6, #3b82f6, #22c55e, #f59e0b, #8b5cf6) border-box;
  box-shadow: 0 4px 14px rgba(124, 58, 237, .1), 0 0 14px rgba(139, 92, 246, .22), 0 0 6px rgba(59, 130, 246, .12); animation: ciBorder 6s linear infinite; }
@keyframes ciBorder { to { --ga: 360deg; } }
.cko-sec.cko-info { padding: 6px 8px; }
@media (min-width: 900px) { .cko-sec.cko-info { padding: 7px 10px; } }
@media (max-width: 559px) { .cko-sec.cko-info { padding: 5px 7px; box-shadow: 0 3px 10px rgba(124, 58, 237, .1), 0 0 10px rgba(139, 92, 246, .2), 0 0 4px rgba(59, 130, 246, .1); } }
@media (prefers-reduced-motion: reduce) { .cko-info { animation: none; } }
.cf-ic { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.cf-ic .ic { width: 13px; height: 13px; }
.cko-badge { margin-left: auto; padding: 1px 8px; border-radius: var(--r-pill); background: var(--p-100); color: var(--p-700); font-size: .7rem; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.cko-info .cko-fields { gap: 6px 10px; }
.cko-info .cko-fields .field { margin-bottom: 0; }
.cko-info .input { background: var(--input-bg); border-color: var(--p-200); }
.cko-info .input:focus { border-color: var(--p-500); }
.cko-info .field.invalid .input { border-color: var(--err); } /* errors stay red, also while focused */
.cko-info .cf-hint { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.cko-info .cf-hint .ic { width: 12px; height: 12px; flex: none; color: var(--p-400); }
.cko-info .field-err { margin-top: 2px; font-size: .76rem; line-height: 1.3; }
/* payment methods: names only, 4 in a row */
/* accepted payment methods: display only (no selection), logo/mark left of the name, all four on one row at every width */
.cko-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.cpm { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 32px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); color: var(--ink); font-size: .84rem; font-weight: 600; line-height: 1.2; }
.cpm i { width: 14px; height: 14px; flex: none; border-radius: 4px; background: var(--pc); }
.cpm img { width: 18px; height: 18px; flex: none; object-fit: contain; }
.cpm span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cko-safe { display: flex; align-items: center; gap: 7px; margin-top: 6px; line-height: 1.3; }
.cko-safe .ic { width: 18px; height: 18px; flex: none; color: var(--ok); }
.cko-safe b { display: block; color: var(--ok-tx); font-size: .8rem; }
.cko-safe small { display: block; color: var(--muted); font-size: .72rem; }
.cko-btn { font-size: 1.05rem; }
.cko-btn [data-pay-total] { font-weight: 700; }
/* mobile sticky total + action (reuses .buybar, which hides from 900px) */
/* Mobile cart summary bar. */
.shop-bar { top: auto; bottom: 0; transform: none; transition: opacity .15s, visibility .15s; }
.shop-bar .sb-total { display: grid; line-height: 1.2; }
.shop-bar .sb-total small { color: var(--muted); font-size: .74rem; }
.shop-bar .sb-total b { color: var(--ink); font-size: 1.12rem; }
.shop-bar .btn { max-width: 220px; }

@media (min-width: 560px) {
  .cko-fields { grid-template-columns: 1fr 1fr; }
  .cko-fields .cf-name { grid-column: 1 / -1; }
  .ci { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .cb-item .cover { width: 52px; }
}
@media (min-width: 900px) {
  .shop-sec { padding-top: 16px; padding-bottom: 28px; }
  .shop-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
  .cko-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .shop-side { position: sticky; top: calc(var(--sticky-h) + 14px); }
  .shop-main, .cko-pair { gap: 12px; }
  .ci-list.card { padding: 4px 16px; }
  .cko-sec { padding: 9px 12px; }
  .cko-grid, .cko-grid .shop-main, .cko-pair, .cko-side { gap: 10px; }
  .cko-grid .sum-card { padding: 11px 12px; }
  .cko-card { padding: 8px 11px; }
  .sum-card { padding: 16px; }
}
@media (min-width: 1000px) { .shop-sec .container { max-width: 1100px; } }
@media (max-width: 559px) {
  .cko-sec, .cko-card { padding: 7px 9px; }
  .cko-pair { grid-template-columns: 1fr; gap: 8px; }
  .cko-grid .sum-card { padding: 9px; }
  .cko-card .cko-h { font-size: .88rem; gap: 6px; }
  .cko-card .cko-n { min-width: 22px; height: 20px; font-size: .68rem; }
  .cb-check { width: 20px; height: 20px; }
  .cb-item .cover { width: 50px; }
  .cko-sec .ci { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; }
  .cko-pay { gap: 4px; }
  .cpm { gap: 4px; padding: 4px 3px; font-size: .78rem; }
  .cpm i { width: 12px; height: 12px; }
  .ci { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 9px; }
}
@media (max-width: 359px) {
  .cpm { gap: 3px; padding-inline: 2px; font-size: .72rem; }
  .cpm i { width: 10px; height: 10px; border-radius: 3px; }
}

/* product page buy box: the shared .acts block (order + basket / চেকআউটে যান), large size */
.buy-actions .acts .btn { width: auto; }
.buy-actions .acts-buy .btn-order { min-height: 48px; }

/* checkout: compact "add more products" picker (products from data.js not yet in the cart) */
.ck-more { margin-top: 4px; }
.ck-more[hidden] { display: none; }
.ck-more-btn { margin-top: 0; padding: 4px 0; border: 0; background: none; font: inherit; font-weight: 600; font-size: .86rem; cursor: pointer; }
.ck-more-btn .ck-more-cv { transition: transform .2s; }
.ck-more-btn[aria-expanded="true"] .ck-more-cv { transform: rotate(180deg); }
.ck-more-list { display: grid; gap: 2px; margin-top: 6px; max-height: 232px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.ck-more-list[hidden] { display: none; }
.ckm-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto 26px; align-items: center; gap: 8px; width: 100%; padding: 5px 6px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.ckm-row:hover, .ckm-row:focus-visible { background: var(--surface); }
.ckm-row .cover { border-radius: 7px; }
.ckm-row .cover-ic { width: 50%; }
.ckm-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .84rem; font-weight: 600; }
.ckm-p { font-size: .84rem; color: var(--p-600); white-space: nowrap; }
.ckm-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--p-100); color: var(--p-700); }
.ckm-plus .ic { width: 14px; height: 14px; }
.ckm-row:active .ckm-plus { transform: scale(.9); }

/* ---------- checkout coupon box (summary card, above the rows) ---------- */
.cpn { margin: 0 0 12px; }
.cko-grid .cpn { margin-bottom: 2px; }
.cko-grid .cpn-l { margin-bottom: 4px; }
.cko-grid .cpn-row .input, .cko-grid .cpn-btn { min-height: 40px; }
.cpn-l { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cpn-l .ic { width: 16px; height: 16px; color: var(--p-600); }
.cpn-row { display: flex; gap: 8px; }
.cpn-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 1px; }
.cpn-row .input::placeholder { text-transform: none; letter-spacing: 0; }
.cpn-row .input.is-bad { border-color: var(--err); }
.cpn-btn { flex: none; white-space: nowrap; }
.cpn-msg { margin: 4px 0 0; font-size: 12.5px; color: var(--err); }
.cpn-msg:empty { display: none; }
.cpn-on { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px dashed var(--ok-bd); border-radius: 12px; background: var(--ok-bg); }
.cpn-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: #fff; background: var(--ok); }
.cpn-ic .ic { width: 18px; height: 18px; }
.cpn-txt { display: grid; flex: 1; min-width: 0; line-height: 1.3; }
.cpn-txt b { font-size: 15px; letter-spacing: 1.5px; color: var(--ok-tx); }
.cpn-txt small { font-size: 12.5px; color: var(--body); }
.cpn-x { display: inline-flex; align-items: center; gap: 3px; flex: none; padding: 5px 8px; border: 0; border-radius: 8px; font: inherit; font-size: 12.5px; color: var(--err); background: transparent; cursor: pointer; }
.cpn-x:hover { background: var(--err-bg); }
.cpn-x .ic { width: 14px; height: 14px; }

/* ---------- checkout: free product preview + compact summary ---------- */
/* price trio: original (struck) → ৳0 (green bold) → FREE badge; wraps as a unit when space is short */
.fp { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 2px 6px; }
.fp del { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 400; }
.fp b { color: var(--ok-tx); font-weight: 800; font-size: .95rem; }
.free-tag { display: inline-block; padding: 1px 6px; border-radius: 6px; font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .5px; line-height: 1.5; color: #fff; background: var(--ok); }
.cg-sel { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 10px; background: var(--surface); border: 1px solid var(--ok-bd); animation: fade .25s; }
.cg-sel[hidden] { display: none; }
.cg-sel .cover { width: 38px; flex: none; border-radius: 8px; }
.cg-sel .cover-ic { width: 50%; border-radius: 6px; }
.cg-sel-in { display: grid; gap: 1px; min-width: 0; }
.cg-sel-in strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink); font-size: .8rem; line-height: 1.3; }
.cg-sel-in .fp { justify-content: flex-start; }
.cg-note[hidden] { display: none; }
/* summary: only rows that apply; amounts right-aligned, labels may wrap */
.sum-card .co-rows { gap: 6px; }
.sum-card .co-rows > div { align-items: baseline; }
.sum-card .co-rows > div > span:first-child { min-width: 0; }
/* checkout summary groups: name left (max 2 lines), price right on the same row */
.sum-card .co-rows > .sg { display: block; }
.sg { padding: 6px 8px; border-radius: 10px; }
.sg-main { padding: 0 0 6px; border-bottom: 1px dashed var(--line); border-radius: 0; }
.sg-h { display: flex; align-items: center; gap: 5px; margin: 0 0 2px; font-size: .76rem; font-weight: 700; line-height: 1.3; color: var(--muted); }
.sg-h .ic { width: 13px; height: 13px; }
.sg-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sg-row + .sg-row { margin-top: 3px; }
.sg-n { min-width: 0; color: var(--ink); font-size: .86rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-p { flex: none; white-space: nowrap; color: var(--ink); font-weight: 600; text-align: right; }
.sg-offer { background: var(--warn-bg2); border: 1px solid var(--cta-2); }
.sg-offer .sg-h, .sg-offer .sg-p { color: var(--orange-tx); }
.sg-offer .sg-p { font-weight: 800; }
.sg-gift { background: var(--ok-bg); border: 1px solid var(--ok-bd); }
.sg-gift .sg-h { color: var(--ok-tx); }
.sg-gift .fp { flex-wrap: nowrap; }
.sum-card .co-gift > span:last-child { white-space: normal; }
.sum-card .co-total { margin-top: 2px; }

.landing-hero { border-top: 4px solid var(--landing-accent, #6d28d9); }
#landing-root section > .container { display: grid; gap: 14px; }
#landing-root .btn { justify-self: start; }
#landing-root img { max-width: 100%; height: auto; }
