/* =========================================================
   স্বর্ণবাজার — প্রিমিয়াম থিম
   ফন্ট: SolaimanLipi (fonts/ ফোল্ডারে SolaimanLipi.ttf রাখুন)
   ========================================================= */

@font-face {
  font-family: 'SolaimanLipi';
  src: local('SolaimanLipi'), url('../../fonts/SolaimanLipi.woff2') format('woff2'), url('../../fonts/SolaimanLipi.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBF8F2;
  --s1: #FFFFFF;
  --s2: #F6F1E6;
  --s3: #EFE6D3;
  --b1: #E7DDC8;
  --b2: #EFE8DA;
  --b3: #D8CBAE;
  --t1: #1F1B14;
  --t2: #3A342A;
  --t3: #4A4336;
  --mu: #665E4F;
  --dim: #746C5C;
  --gold: #8F6A1C;
  --gold-hi: #6E5013;
  --gold-soft: #8A6619;
  --gold-line: #D9C08A;
  --gold-bg: #F7EDD5;
  --ink: #241A0C;
  --up: #1B7F4E;
  --up-bg: #E6F4EC;
  --up-line: #B9DEC9;
  --down: #B83F28;
  --down-bg: #FBEAE5;
  --down-line: #EDC1B6;
  --silver: #C3CBD5;
  --diamond: #5FA8C0;
  --metal: linear-gradient(180deg, #EBD08A 0%, #C9A04A 55%, #B48A38 100%);
  --radius: 18px;
  --font: 'SolaimanLipi', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 20px 50px rgba(74, 52, 14, 0.10);
  --shadow-sm: 0 4px 14px rgba(74, 52, 14, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--mu); }
.dim { color: var(--dim); }
.up { color: var(--up); }
.down { color: var(--down); }
.gold { color: var(--gold); }
.right { text-align: right; }
.bold { font-weight: 700; }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 12px; }
.between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wrap { flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 12px;
  border: 1px solid var(--b3); background: var(--s1); color: var(--t1);
  font-weight: 600; text-decoration: none; transition: border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { color: var(--t1); border-color: var(--gold-line); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--metal); border: 0; color: #1A1405; font-weight: 700; box-shadow: 0 8px 24px rgba(201, 160, 74, .22); }
.btn-gold:hover { color: #1A1405; box-shadow: 0 10px 30px rgba(201, 160, 74, .38); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold-hi); }
.btn-outline:hover { background: var(--gold-bg); color: var(--gold-hi); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; border-radius: 9px; }
.btn-block { display: flex; width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--b1); background: var(--s1); color: var(--t2); position: relative; }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ---------- Segmented controls ---------- */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--b1); }
.seg button { border: 0; background: transparent; color: var(--mu); padding: 8px 14px; border-radius: 9px; font-size: 14px; white-space: nowrap; }
.seg button.active { background: var(--gold-bg); color: var(--gold-hi); font-weight: 700; }
.seg.seg-lg button { padding: 12px 14px; font-size: 16px; }
.seg.block { display: grid; width: 100%; }

/* ---------- Cards ---------- */
.card { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card-premium {
  background: #FFFFFF;
  border: 1px solid var(--b1); border-top-color: var(--gold-line);
  border-radius: 22px; padding: 28px; box-shadow: var(--shadow);
}
.card-gold { border-color: var(--gold-line); }
.card-inset { background: var(--s2); border-radius: 14px; padding: 16px; }
.card h2, .card h3 { font-size: 19px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--b1); border: 1px solid var(--b1); border-radius: 14px; overflow: hidden; }
.stat-strip > div { background: var(--s2); padding: 14px 16px; }
.stat-strip .label { color: var(--dim); font-size: 12px; }
.stat-strip .value { font-size: 18px; font-weight: 700; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; border-radius: 7px; padding: 2px 9px; white-space: nowrap; }
.badge-gold { background: var(--gold-bg); color: var(--gold-hi); }
.badge-up { background: var(--up-bg); color: var(--up); }
.badge-down { background: var(--down-bg); color: var(--down); }
.badge-line { border: 1px solid var(--gold-line); color: var(--gold-soft); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--b1); font-size: 13px; white-space: nowrap; }
.pill-live { background: var(--up-bg); border-color: var(--up-line); color: var(--up); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 0 rgba(79, 201, 142, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 201, 142, .55); } 70% { box-shadow: 0 0 0 8px rgba(79, 201, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 201, 142, 0); } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } html { scroll-behavior: auto; } }

.kicker { color: var(--gold-soft); font-size: 14px; letter-spacing: .16em; margin-bottom: 12px; }
.section { padding: 80px 0; }
.section-alt { background: var(--s2); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.section-sub { color: var(--mu); margin-bottom: 36px; font-size: 17px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--mu); }
.input, .select {
  width: 100%; background: var(--bg); border: 1px solid var(--b3); border-radius: 12px;
  color: var(--t1); padding: 12px 14px; font-size: 16px; outline: none; transition: border-color .2s;
}
.input:focus, .select:focus { border-color: var(--gold); }
.amount-box { display: flex; align-items: center; gap: 10px; background: var(--bg); border: 1px solid var(--b3); border-radius: 14px; padding: 4px 18px; transition: border-color .2s; }
.amount-box:focus-within { border-color: var(--gold); }
.amount-box .sym { font-size: 24px; color: var(--mu); }
.amount-box input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--t1); font-size: 30px; font-weight: 700; padding: 10px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--b1); background: transparent; color: var(--t2); border-radius: 9px; padding: 8px 14px; font-size: 14px; }
.chip:hover { border-color: var(--gold-line); }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--b1); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt:has(input:checked) { border-color: var(--gold); background: var(--gold-bg); }
.opt input { accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.kv { display: flex; justify-content: space-between; gap: 12px; }
.kv + .kv { margin-top: 8px; }
.kv .k { color: var(--mu); }
.total { border-top: 1px solid var(--b1); margin-top: 12px; padding-top: 12px; font-size: 18px; font-weight: 700; }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.alert-down { background: var(--down-bg); border: 1px solid var(--down-line); color: var(--down); }
.alert-down a { color: var(--down); font-weight: 700; text-decoration: underline; }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--b1); }
.site-header .container { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--t1); font-size: 24px; font-weight: 700; }
.brand:hover { color: var(--t1); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--t2); font-weight: 500; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-hi); }
.header-actions { display: flex; gap: 10px; }
.menu-toggle { display: none; margin-left: auto; }
.mobile-only { display: none !important; }
@media (max-width: 900px) { .site-header.open .main-nav .mobile-only { display: flex !important; } }
.ticker { background: var(--s2); border-bottom: 1px solid var(--b1); font-size: 14px; }
.ticker .container { display: flex; align-items: center; gap: 28px; min-height: 48px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ticker .container::-webkit-scrollbar { display: none; }
.ticker .stamp { margin-left: auto; color: var(--dim); }

/* ---------- Hero ---------- */
.hero-wrap { background: radial-gradient(900px 420px at 78% 30%, rgba(212, 176, 98, .18), rgba(251, 248, 242, 0) 70%); }
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding: 88px 0 64px; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-badge { display: inline-flex; padding: 6px 14px; border: 1px solid var(--gold-line); border-radius: 999px; color: var(--gold-soft); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.18; letter-spacing: -.01em; margin-bottom: 20px; }
.hero h1 span { color: var(--gold); }
.hero .lead { color: var(--t3); font-size: 19px; max-width: 560px; margin-bottom: 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 36px; color: var(--mu); font-size: 14px; }
.hero-stats b { display: block; color: var(--t1); font-size: 24px; }
.quick-buy { flex: 1 1 400px; max-width: 470px; min-width: 0; }
.partners { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); padding: 20px 0; color: var(--dim); font-size: 14px; margin-bottom: 24px; }
.partners b { color: var(--t2); font-size: 17px; }

/* ---------- Price cards ---------- */
.price-card .name { font-weight: 600; }
.price-card .price { font-size: 30px; font-weight: 700; margin: 4px 0; }
.price-card .note { color: var(--dim); font-size: 13px; margin-top: 10px; }
.chart-box svg { width: 100%; display: block; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { background: var(--s1); border: 1px solid var(--b1); border-radius: var(--radius); padding: 26px; }
.steps .num { color: var(--gold); font-size: 34px; font-weight: 700; }
.steps h3 { font-size: 19px; margin: 6px 0; }
.steps p { color: var(--mu); }

.plan .tag { font-size: 13px; letter-spacing: .08em; font-weight: 700; color: var(--gold-soft); }
.plan h3 { font-size: 24px; margin: 8px 0 10px; }
.plan ul { margin: 18px 0 0; padding-left: 20px; color: var(--t2); }

.private { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--gold-line); background: linear-gradient(120deg, #17130B 0%, #0A0A0B 55%, #141009 100%); padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; box-shadow: inset 0 1px 0 rgba(235, 208, 138, .18); }
.private h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.private h2 span { color: var(--gold); }
.private-grid { flex: 1 1 340px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--b1); border: 1px solid var(--b1); border-radius: 18px; overflow: hidden; }
.private-grid li { background: var(--s2); padding: 22px; }
.private-grid b { display: block; color: var(--gold); font-size: 28px; }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.trust h3 { font-size: 18px; margin: 12px 0 6px; }
.trust p { color: var(--mu); }

.site-footer { border-top: 1px solid var(--b1); background: #060607; color: var(--mu); font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 56px 0 32px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; }
.site-footer .col b { color: var(--t1); }
.site-footer .legal { border-top: 1px solid var(--b2); padding: 20px 0 32px; color: var(--dim); font-size: 13px; }

/* ---------- App layout (dashboard, wallet, trade) ---------- */
.app-header .container { max-width: 1400px; gap: 18px; }
.search { flex: 1 1 260px; max-width: 420px; display: flex; align-items: center; gap: 10px; background: var(--s1); border: 1px solid var(--b1); border-radius: 12px; padding: 0 14px; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; padding: 11px 0; color: var(--t1); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border: 1px solid var(--b3); border-radius: 14px; background: var(--s1); color: var(--t1); }
.avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--metal); color: #1A1405; display: grid; place-items: center; font-weight: 700; }
.app { max-width: 1400px; margin: 0 auto; padding: 24px; display: flex; gap: 24px; align-items: flex-start; }
.sidebar { flex: 0 0 240px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 22px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-label { color: var(--dim); font-size: 12px; letter-spacing: .12em; padding: 0 12px 6px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; color: var(--t2); }
.side-link:hover { background: var(--s1); color: var(--t1); }
.side-link.active { background: linear-gradient(90deg, rgba(212, 176, 98, .16), rgba(212, 176, 98, .02)); box-shadow: inset 2px 0 0 var(--gold); color: var(--gold-hi); font-weight: 700; }
.side-link .count { margin-left: auto; }
.rm-card { border: 1px solid var(--gold-line); border-radius: 16px; padding: 18px; background: linear-gradient(160deg, #1C1810, #0B0A08); box-shadow: inset 0 1px 0 rgba(235, 208, 138, .2); }
.app-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
.page-head h1 { font-size: 34px; }
.split { display: flex; flex-wrap: wrap; gap: 22px; }
.split > .grow { flex: 999 1 540px; min-width: 0; }
.split > .side { flex: 1 1 320px; min-width: 0; }
.split > .half { flex: 1 1 400px; min-width: 0; }

.big-value { font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.donut-wrap { position: relative; width: 190px; height: 190px; margin: 18px auto; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; }
.legend .lbl { flex: 1; }

.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--b2); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { color: var(--dim); font-size: 12px; font-weight: 500; text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--b1); white-space: nowrap; }
table.data td { padding: 14px 8px; border-bottom: 1px solid var(--b2); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: rgba(212, 176, 98, .07); }
table.data .num { text-align: right; }
.asset { display: flex; align-items: center; gap: 12px; }
.asset .ic { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; }
.ic-g24 { background: linear-gradient(160deg, #EBD08A, #B48A38); }
.ic-g22 { background: linear-gradient(160deg, #C9A35A, #7E6430); }
.ic-dia { background: linear-gradient(160deg, #BFE6F2, #4C8EA6); }
.ic-ag { background: linear-gradient(160deg, #E4E8EE, #8D96A3); }

.progress { height: 8px; border-radius: 4px; background: var(--b2); margin: 8px 0; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #B48A38, #EBD08A); }
.progress.silver > span { background: var(--silver); }
.progress.thin { height: 6px; }

.lot { background: var(--s2); border: 1px solid var(--b1); border-radius: 14px; padding: 18px; }
.lot .w { font-size: 22px; font-weight: 700; margin: 8px 0; }

/* Wallet card */
.wallet-card { position: relative; overflow: hidden; background: linear-gradient(135deg, #1C1810 0%, #0B0A08 60%, #17130B 100%); border: 1px solid #6B5728; border-radius: 20px; padding: 24px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(235, 208, 138, .25); }
.wallet-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(212, 176, 98, .15); }
.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.method { padding: 14px 8px; border-radius: 12px; border: 1px solid var(--b1); background: transparent; color: var(--t2); font-weight: 600; text-align: center; }
.method.active { border: 1.5px solid var(--gold); background: var(--gold-bg); color: var(--t1); }
.metal-btn { padding: 14px 12px; border-radius: 12px; text-align: left; border: 1px solid var(--b1); background: transparent; color: var(--t1); }
.metal-btn.active { border: 1.5px solid var(--gold); background: var(--gold-bg); }
.metal-btn small { display: block; color: var(--mu); font-size: 13px; }
.timer { font-size: 26px; font-weight: 700; color: var(--gold-hi); font-variant-numeric: tabular-nums; }

/* Auth */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-side { flex: 1 1 480px; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; background: radial-gradient(700px 400px at 30% 30%, rgba(212, 176, 98, .14), rgba(9, 9, 10, 0) 70%), #0B0A08; border-right: 1px solid var(--b1); }
.auth-side h1 { font-size: clamp(32px, 4vw, 48px); }
.auth-main { flex: 1 1 480px; display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp input { text-align: center; font-size: 22px; font-weight: 700; padding: 12px 0; }

/* Receipt */
.receipt-page { background: #EAE3D3; min-height: 100vh; padding: 40px 16px; }
.receipt-tools { max-width: 800px; margin: 0 auto 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.receipt {
  max-width: 800px; margin: 0 auto; background: #FBF8F1; color: #1B1F24; padding: 52px 56px;
  box-shadow: inset 0 0 0 14px #FBF8F1, inset 0 0 0 15px #C9A04A, inset 0 0 0 18px #FBF8F1, inset 0 0 0 19px #E2D2A6, 0 30px 80px rgba(74, 52, 14, .18);
  font-size: 15px;
}
.receipt a { color: #7A5B0E; }
.receipt .muted { color: #5A626C; }
.receipt .r-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-bottom: 2px solid #1B1F24; padding-bottom: 20px; margin-bottom: 24px; }
.receipt .r-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin-bottom: 24px; }
.receipt .r-grid .l { font-size: 12px; color: #5A626C; }
.receipt table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.receipt th { text-align: left; font-size: 13px; color: #5A626C; font-weight: 500; padding: 10px 6px; border-bottom: 1px solid #CFC7B5; }
.receipt td { padding: 14px 6px; border-bottom: 1px solid #CFC7B5; }
.receipt .totals { margin-left: auto; width: 100%; max-width: 330px; }
.receipt .totals .kv .k { color: #5A626C; }
.receipt .vault { background: #F2ECDD; border: 1px solid #DCCFAE; border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; font-size: 14px; margin: 24px 0; }
.receipt .qr-box { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; border: 1.5px dashed #B9AC8C; border-radius: 16px; padding: 22px; }
.receipt #qr { width: 168px; height: 168px; background: #fff; padding: 8px; flex-shrink: 0; }
.receipt #qr svg { width: 100%; height: 100%; display: block; }
.receipt .r-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 36px; font-size: 12px; color: #5A626C; }
.sign { width: 170px; border-top: 1px solid #1B1F24; padding-top: 6px; text-align: center; }

/* Verify */
.verify { max-width: 460px; margin: 0 auto; padding: 20px 18px 40px; display: flex; flex-direction: column; gap: 16px; }
.ok-banner { background: var(--up-bg); border: 1px solid var(--up-line); border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .sidebar { display: none; }
  .mobile-tabs { display: flex !important; }
}
.mobile-tabs { display: none; gap: 8px; overflow-x: auto; padding: 12px 24px; border-bottom: 1px solid var(--b1); scrollbar-width: none; }
.mobile-tabs::-webkit-scrollbar { display: none; }
.mobile-tabs a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--b1); color: var(--t2); font-size: 14px; }
.mobile-tabs a.active { border-color: var(--gold); color: var(--gold-hi); background: var(--gold-bg); }

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .main-nav, .site-header .header-actions { display: none; }
  .site-header.open .main-nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; box-shadow: var(--shadow); border-bottom: 1px solid var(--b1); padding: 8px 24px 16px; }
  .site-header.open .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--b2); }
  .site-header.open .main-nav .mobile-only { display: flex; margin-top: 12px; border-bottom: 0; color: #1A1405; }
  .site-header.open .main-nav .mobile-only.btn-outline { color: var(--gold-hi); }
  .app-header .search, .app-header .pills { display: none; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private { padding: 36px 24px; }
  .receipt { padding: 36px 26px; }
  .receipt .vault { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container, .app { padding-left: 16px; padding-right: 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 48px 0 40px; gap: 36px; }
  .card, .card-premium { padding: 20px; }
  .grid-3, .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .receipt .r-grid { grid-template-columns: 1fr; }
  .user-chip .who { display: none; }
  .page-head h1 { font-size: 28px; }
  .ticker .stamp { display: none; }
}

/* ---------- Print (রসিদ প্রিন্ট) ---------- */
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .receipt-page { background: #fff; padding: 0; }
  .receipt { box-shadow: inset 0 0 0 14px #FBF8F1, inset 0 0 0 15px #C9A04A; max-width: none; }
}

/* ---------- গাঢ় প্রিমিয়াম অংশ (হালকা পেজের ভেতরে) ---------- */
.dark, .private, .wallet-card, .rm-card, .auth-side, .site-footer, .hero-banner {
  --s1: #141310; --s2: #0F0E0C; --b1: #2E291F; --b2: #221F18; --b3: #463D2B;
  --t1: #F6F0E2; --t2: #DDD4C2; --t3: #CCC3B0; --mu: #ADA491; --dim: #968D7C;
  --gold: #D9B56A; --gold-hi: #EED490; --gold-soft: #E2C27E; --gold-line: #5E4D24; --gold-bg: #2A2312;
  --up: #5AD39A; --up-bg: #11241C; --up-line: #24543D;
  color: var(--t1);
}
.site-footer { background: var(--ink); }
.site-footer a { color: var(--t2); }
.site-footer a:hover { color: var(--gold-hi); }

/* =========================================================
   দোকান (স্টোরফ্রন্ট) কম্পোনেন্ট
   ========================================================= */
.util-bar { background: var(--ink); color: #DDD4C2; font-size: 13px; }
.util-bar .container { display: flex; align-items: center; gap: 22px; min-height: 40px; flex-wrap: wrap; }
.util-bar a { color: #DDD4C2; }
.util-bar a:hover { color: #EED490; }
.util-bar .push { margin-left: auto; }
.util-bar .lang { display: inline-flex; border: 1px solid #463D2B; border-radius: 7px; overflow: hidden; }
.util-bar .lang button { border: 0; background: transparent; color: #ADA491; padding: 2px 10px; font-size: 12px; }
.util-bar .lang button.active { background: #2A2312; color: #EED490; font-weight: 700; }

.cart-btn { position: relative; }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--down); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[data-n="0"] { display: none; }

/* Hero banner */
.store-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.store-hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.2; margin: 14px 0 18px; }
.store-hero h1 .line { display: block; }
.store-hero h1 .gold-text { background: linear-gradient(180deg, #C9A04A, #8F6A1C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-banner { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(520px 320px at 60% 40%, rgba(217, 181, 106, .28), rgba(20, 19, 16, 0) 70%), linear-gradient(160deg, #1E1810 0%, #0F0E0C 70%); min-height: 440px; padding: 28px; box-shadow: 0 30px 70px rgba(36, 26, 12, .28); }
.hero-banner svg.bars { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-chip { position: absolute; background: rgba(255, 255, 255, .96); color: #1F1B14; border-radius: 14px; padding: 10px 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-size: 13px; line-height: 1.35; }
.float-chip b { font-size: 17px; display: block; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--mu); font-size: 14px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }

/* Feature band */
.feature-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--s1); border: 1px solid var(--b1); border-radius: 20px; box-shadow: var(--shadow-sm); }
.feature-band > div { padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.feature-band > div + div { border-left: 1px solid var(--b2); }
.feature-band .fi { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--gold-bg); color: var(--gold); display: grid; place-items: center; }
.feature-band b { display: block; }
.feature-band span { color: var(--mu); font-size: 14px; }

/* Purity split */
.purity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.purity-art { border-radius: 24px; background: linear-gradient(160deg, #F7EDD5, #EFE2C2); border: 1px solid var(--gold-line); aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 24px; }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { flex-shrink: 0; margin-top: 3px; }

/* Product catalog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--b1); background: var(--s1); color: var(--t2); padding: 9px 18px; border-radius: 999px; font-size: 15px; }
.filters button.active { background: var(--ink); border-color: var(--ink); color: #EED490; font-weight: 700; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.product { background: var(--s1); border: 1px solid var(--b1); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.product-art { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(260px 160px at 50% 45%, #FFF8E6, #F2E7CE); display: grid; place-items: center; }
.product-art.silver { background: radial-gradient(260px 160px at 50% 45%, #FFFFFF, #E9ECF0); }
.product-art svg { width: 78%; height: 78%; }
.product-art .tag { position: absolute; top: 12px; left: 12px; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 18px; }
.product-meta { color: var(--mu); font-size: 13px; }
.product-price { font-size: 24px; font-weight: 700; margin-top: 4px; }
.product-price small { font-size: 13px; color: var(--dim); font-weight: 500; }
.product-foot { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 12px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--b3); border-radius: 11px; overflow: hidden; }
.stepper button { width: 40px; height: 44px; border: 0; background: var(--s2); color: var(--t1); font-size: 18px; font-weight: 700; }
.stepper button:hover { background: var(--gold-bg); }
.stepper output, .stepper span { min-width: 34px; text-align: center; font-weight: 700; }
.product-foot .btn { flex: 1; }
.price-note { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--gold-bg); border: 1px solid var(--gold-line); color: var(--t2); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* Delivery */
.delivery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.big-stats { display: flex; flex-wrap: wrap; gap: 36px; margin: 24px 0; }
.big-stats b { display: block; font-size: 40px; line-height: 1.1; color: var(--gold); }
.divisions { display: flex; flex-wrap: wrap; gap: 8px; }
.divisions span { padding: 7px 14px; border-radius: 999px; background: var(--s1); border: 1px solid var(--b1); font-size: 14px; }
.charge-table { width: 100%; border-collapse: collapse; background: var(--s1); border: 1px solid var(--b1); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.charge-table th { background: var(--ink); color: #EED490; text-align: left; font-weight: 600; padding: 14px 18px; font-size: 15px; }
.charge-table td { padding: 13px 18px; border-top: 1px solid var(--b2); }
.charge-table td.num, .charge-table th.num { text-align: right; }
.charge-table tbody tr:nth-child(even) td { background: #FCFAF5; }

/* App download */
.app-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; border-radius: 28px; padding: 44px 48px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #3a3a3a; line-height: 1.15; }
.store-badge:hover { color: #fff; border-color: #777; }
.store-badge small { display: block; font-size: 11px; opacity: .8; }
.store-badge b { font-size: 16px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #463D2B; display: grid; place-items: center; }
.footer-reg { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: #ADA491; padding: 18px 0; border-top: 1px solid #2E291F; }

/* Cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 15, 6, .45); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--s1); z-index: 100; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease, visibility .3s; visibility: hidden; }
.drawer-open .drawer { transform: translateX(0); visibility: visible; box-shadow: -20px 0 60px rgba(36, 26, 12, .2); }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--b1); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-foot { border-top: 1px solid var(--b1); padding: 18px 22px 22px; background: var(--s2); }
.cart-item { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--b2); }
.cart-item .thumb { width: 64px; height: 52px; border-radius: 10px; background: #F7EDD5; display: grid; place-items: center; flex-shrink: 0; }
.cart-item .thumb svg { width: 80%; height: 80%; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .stepper button { width: 32px; height: 34px; font-size: 15px; }
.empty-cart { text-align: center; padding: 60px 10px; color: var(--mu); }
.link-btn { border: 0; background: none; color: var(--down); font-size: 13px; padding: 4px 0; }

/* Checkout */
.steps-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--mu); }
.steps-bar .st { display: inline-flex; align-items: center; gap: 8px; }
.steps-bar .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--b3); font-weight: 700; font-size: 13px; }
.steps-bar .st.done .n, .steps-bar .st.now .n { background: var(--ink); border-color: var(--ink); color: #EED490; }
.steps-bar .st.now { color: var(--t1); font-weight: 700; }
.steps-bar .sep { width: 28px; height: 1px; background: var(--b3); }
.opt-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--b1); border-radius: 14px; cursor: pointer; background: var(--s1); }
.opt-card:has(input:checked) { border-color: var(--gold); background: var(--gold-bg); box-shadow: 0 0 0 1px var(--gold) inset; }
.opt-card input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }

@media (max-width: 980px) {
  .store-hero, .purity, .delivery { grid-template-columns: 1fr; }
  .hero-banner { min-height: 360px; }
  .feature-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-band > div:nth-child(3) { border-left: 0; }
  .feature-band > div:nth-child(n+3) { border-top: 1px solid var(--b2); }
}
@media (max-width: 600px) {
  .feature-band { grid-template-columns: 1fr; }
  .feature-band > div + div { border-left: 0; border-top: 1px solid var(--b2); }
  .check-list { grid-template-columns: 1fr; }
  .util-bar .hide-sm { display: none; }
  .app-cta { padding: 32px 22px; }
  .products { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: 16px; }
  .product-price { font-size: 19px; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .stepper { justify-content: space-between; }
}
