:root {
  /* My ANONDO colour (Admin > Settings > General: App colour). Default bKash-style pink; .theme-gold = solid gold */
  --brand: #e2136e; --brand-2: #b5105a; --brand-3: #f0457f; --brand-rgb: 226 19 110; --brand-soft: #fdeaf3; --brand-tint: #fdf2f8;
  --bg: #f3f4f7;
  --bg-2: #fff;
  --card: #fff;
  --card-2: #f5f7fa;
  --line: #e6e8ec;
  --text: #222;
  --muted: #6b7280;
  --brand: #439ddf;
  --brand-d: #1f71be;
  --brand-l: #eaf4fc;
  --accent: #f96a02;
  --navy: #3f3e3a;
  --gold: #b7791f;
  --gold-2: #8a5a12;
  --gold-3: #e2c27a;
  --gold-l: #fdf6e7;
  --gold-line: #f1e3bf;
  --gold-grad: linear-gradient(135deg, #f6d27a, #d9a441);
  --red: #e4434b;
  --green: #16a34a;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 4px 14px rgba(0, 0, 0, .04);
  --font: "Poppins", "Noto Sans Bengali", system-ui, Arial, sans-serif;
  --display: "Poppins", "Noto Sans Bengali", system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 150px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
img, svg { display: block; max-width: 100%; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.8; flex: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 6px; color: var(--gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.bn, .hero-bn { font-family: "Noto Sans Bengali", var(--font); letter-spacing: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-grad); color: #1a1205; box-shadow: 0 6px 20px rgba(227, 179, 65, .25); }
.btn-gold:hover { box-shadow: 0 8px 28px rgba(227, 179, 65, .4); }
.btn-ghost { border: 1px solid var(--gold-3); color: var(--gold-2); }
.btn-ghost:hover { background: rgba(227, 179, 65, .08); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; }
.icon-btn:hover { background: var(--card-2); }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 13px; white-space: nowrap; }
.chip.active, .chip:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(227, 179, 65, .08); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 500; }

/* Top bar */
.topbar { background: var(--navy); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.topbar-inner { display: flex; gap: 18px; align-items: center; height: 34px; }
.topbar-inner span, .topbar-inner a { display: inline-flex; align-items: center; gap: 6px; }
.topbar [data-lucide], .topbar svg.lucide { width: 14px; height: 14px; color: var(--gold); }
.topbar b { color: var(--text); font-weight: 600; }
.topbar-right { margin-left: auto; gap: 16px !important; }
.topbar-right a:hover { color: var(--gold-2); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: #fff; backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.menu-btn { display: none; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-logo { height: 50px; width: auto; border-radius: 6px; }
.brand-logo + .brand-text { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .06em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-tag { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); margin-top: 4px; }
.search { flex: 1; display: flex; height: 46px; border: 1.5px solid var(--gold-3); border-radius: 999px; overflow: hidden; background: var(--bg-2); }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(227, 179, 65, .15); }
.search select { background: var(--card-2); border: 0; border-right: 1px solid var(--line); padding: 0 12px; outline: none; color: var(--gold-2); }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 14px; outline: none; }
.search button { width: 56px; background: var(--gold-grad); color: #1a1205; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.action { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; }
.action:hover { background: var(--card-2); }
.action [data-lucide], .action svg.lucide { width: 22px; height: 22px; }
.count { position: absolute; top: 0; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #1a1205; font-size: 11px; display: grid; place-items: center; font-weight: 700; }

.count:empty, .count[data-zero] { display: none; }
.catnav { border-top: 1px solid var(--line); }
.catnav-inner { display: flex; gap: 16px; height: 46px; align-items: center; justify-content: space-between; }
.catnav-side { display: flex; gap: 4px; align-items: center; min-width: 0; }
.catnav-left { overflow-x: auto; scrollbar-width: none; }
.catnav-left::-webkit-scrollbar { display: none; }
.catnav-right { flex: none; padding-left: 12px; border-left: 1px solid var(--line); }
.catnav a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; white-space: nowrap; font-size: 13.5px; color: #374151; }
.catnav a:hover { color: var(--gold-2); background: var(--card); }
.catnav [data-lucide], .catnav svg.lucide { width: 16px; height: 16px; color: var(--gold); }
.catnav-gold { background: var(--gold-grad); color: #1a1205 !important; font-weight: 700; }
.catnav-gold svg.lucide, .catnav-gold [data-lucide] { color: #1a1205 !important; }

/* Ticker */
.ticker { display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--gold-line); height: 40px; overflow: hidden; }
.ticker-label { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px; height: 100%; background: var(--gold-grad); color: #1a1205; font-weight: 700; font-size: 13px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #b3122b; box-shadow: 0 0 0 0 rgba(179, 18, 43, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 8px rgba(179, 18, 43, 0); } }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: inline-flex; gap: 40px; white-space: nowrap; animation: ticker 40s linear infinite; padding-left: 20px; font-size: 13.5px; }
.ticker-move span b { color: var(--gold-2); }
.ticker-move .up { color: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(700px 400px at 85% 20%, rgba(227, 179, 65, .18), transparent 60%),
  radial-gradient(500px 300px at 10% 90%, rgba(227, 179, 65, .08), transparent 60%), var(--bg); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { font-family: var(--display); font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; margin: 6px 0 16px; font-weight: 700; }
.hero-sub { color: #4b5563; font-size: 17px; max-width: 540px; margin: 0 0 6px; }
.hero-bn { color: var(--gold-2); font-size: 18px; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg.lucide { color: var(--gold); }

.rate-card { background: #fff; border: 1px solid var(--gold-line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04); }
.rate-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rate-card h2 { margin: 0; font-size: 17px; font-family: var(--display); }
.unit-toggle { display: flex; background: #f7f8fa; border-radius: 999px; padding: 3px; border: 1px solid var(--line); }
.unit-toggle button { padding: 5px 12px; font-size: 12px; border-radius: 999px; color: var(--muted); }
.unit-toggle .active { background: var(--gold-grad); color: #1a1205; font-weight: 600; }
.rate-list { list-style: none; margin: 0; padding: 0; }
.rate-list li { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px dashed var(--line); }
.rate-list li:last-child { border-bottom: 0; }
.rate-list .k { display: flex; align-items: center; gap: 10px; }
.rate-list .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); display: grid; place-items: center; color: #1a1205; font-size: 10px; font-weight: 800; }
.rate-list .v { font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.rate-list .v small { color: var(--green); font-weight: 500; font-size: 11.5px; margin-left: 6px; }
.rate-foot { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

/* Sections */
.section { padding: 56px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); }
.karat-filter, .tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs { margin-bottom: 20px; border-bottom: 1px solid var(--line); gap: 2px; }
.tabs button { padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.tabs button.active, .tabs button:hover { color: var(--gold-2); border-color: var(--gold); }
.tabs-inline { margin: 0; border: 0; }

/* Product grid & cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: #d7d9de; transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; background: radial-gradient(circle at 50% 40%, #fffdf6, #f6ead0 70%); }
.card-media svg { width: 72%; height: 72%; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); transition: transform .3s; }
.card:hover .card-media svg { transform: scale(1.05); }
.card-media .shop-icon { width: 46%; height: 46%; color: var(--gold-2); stroke-width: 1.2; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold-grad); color: #1a1205; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }
.badge.off { background: var(--red); color: #fff; }
.karat-tag { position: absolute; top: 10px; right: 46px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--gold-3); color: var(--gold-2); background: rgba(255, 255, 255, .92); }
.wish { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); }
.wish svg.lucide { width: 17px; height: 17px; }
.wish.on svg.lucide { fill: var(--red); color: var(--red); }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-title { font-weight: 500; font-size: 14.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; cursor: pointer; }
.meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; }
.stars { color: var(--gold); letter-spacing: 1px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.price b { font-size: 18px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.price s { color: #9ca3af; font-size: 13px; }
.card-actions { display: flex; gap: 8px; margin-top: 6px; }
.card-actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }
.weight { font-size: 12.5px; color: #4b5563; }
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Savings */
.savings { background: transparent; }
.savings-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.savings h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 14px; line-height: 1.15; }
.savings-copy > p { color: #4b5563; max-width: 520px; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 14px; }
.steps b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--display); }
.calc { background: var(--card); border: 1px solid var(--gold-line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.calc h3 { margin: 0 0 16px; font-family: var(--display); }
.calc label { display: block; font-size: 12.5px; color: var(--muted); margin: 14px 0 6px; }
.calc-amount { display: flex; align-items: center; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
.calc-amount span { color: var(--gold); font-weight: 700; font-size: 20px; }
.calc-amount input { flex: 1; background: transparent; border: 0; outline: none; height: 48px; font-size: 20px; font-weight: 700; width: 100%; }
.calc input[type=range] { width: 100%; accent-color: var(--gold); margin-top: 10px; }
.calc select, .field input, .field select, .field textarea { width: 100%; height: 44px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; outline: none; }
.calc select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.plan-pick button { border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 13px; }
.plan-pick button small { display: block; color: var(--muted); font-size: 10.5px; margin-top: 2px; }
.plan-pick .active { border-color: var(--gold); background: rgba(227, 179, 65, .08); color: var(--gold-2); }
.calc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; padding: 16px; border-radius: 14px; background: #f7f8fa; border: 1px dashed var(--gold-line); }
.calc-result small { display: block; color: var(--muted); font-size: 11.5px; }
.calc-result b { font-size: 17px; font-variant-numeric: tabular-nums; }
.fine { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-size: 13.5px; transition: border-color .2s, transform .2s; }
.cat:hover { border-color: var(--gold-3); transform: translateY(-2px); }
.cat span.ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #fffdf6, #f6ead0); border: 1px solid var(--gold-line); }
.cat svg.lucide { width: 24px; height: 24px; color: var(--gold-2); }

/* Deals */
.deals { background: #fff; border-block: 1px solid var(--line); }
.countdown { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 13px; }
.countdown b { background: var(--gold-grad); color: #1a1205; padding: 6px 8px; border-radius: 8px; min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; font-size: 15px; }
.bar { height: 6px; border-radius: 3px; background: #e5e7eb; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold-grad); }
.sold { font-size: 11.5px; color: var(--muted); }

/* Promos */
.promo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo { border-radius: 18px; padding: 26px; min-height: 160px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--gold-line); position: relative; overflow: hidden; }
.promo small { color: var(--gold); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; font-weight: 600; }
.promo strong { font-family: var(--display); font-size: 21px; line-height: 1.2; max-width: 80%; }
.promo span { margin-top: auto; display: inline-flex; gap: 6px; align-items: center; color: var(--gold-2); font-size: 13.5px; }
.promo-a { background: radial-gradient(circle at 90% 10%, rgba(227, 179, 65, .35), transparent 50%), var(--gold-l); }
.promo-b { background: radial-gradient(circle at 90% 10%, rgba(63, 178, 127, .25), transparent 50%), #eefaf3; }
.promo-c { background: radial-gradient(circle at 90% 10%, rgba(91, 129, 255, .25), transparent 50%), #eef3ff; }

/* Features */
.features { padding: 30px 0; }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-row div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feature-row svg.lucide { grid-row: span 2; width: 28px; height: 28px; color: var(--gold); }
.feature-row span { color: var(--muted); font-size: 12.5px; }

/* Footer */
.footer { background: var(--navy); border-top: 1px solid var(--line); padding: 48px 0 0; margin-top: 30px; color: #4b5563; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.2fr; gap: 28px; }
.footer h4 { color: var(--gold-2); font-family: var(--display); margin: 0 0 14px; font-size: 15px; }
.footer a { display: block; margin-bottom: 9px; color: #4b5563; }
.footer a:hover { color: var(--gold-2); }
.footer a .bn { display: block; font-size: 13px; color: #4b5563; }
.footer p { display: flex; gap: 8px; align-items: center; margin: 0 0 9px; }
.footer-brand { display: block; }
.footer-brand p { display: block; color: var(--muted); }
.footer-brand .brand-tag { margin: 6px 0 12px; }
.footer svg.lucide { width: 16px; height: 16px; color: var(--gold); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pay-badges span { font-size: 11.5px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 6px; color: #4b5563; background: #f7f8fa; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 30px; padding: 18px 16px; text-align: center; color: var(--muted); font-size: 12.5px; }

/* Overlay, drawers, modal */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; }
.drawer-left { left: 0; right: auto; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-100%); width: min(320px, 88%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 18px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.drawer-foot { padding: 16px; border-top: 1px solid var(--line); background: #f7f8fa; }
.menu-link { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.menu-link svg.lucide { color: var(--gold); }
.menu-link.gold { color: var(--gold-2); font-weight: 600; }

.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 64px; height: 64px; border-radius: 10px; background: radial-gradient(circle, #fffdf6, #f6ead0); display: grid; place-items: center; }
.line-img svg { width: 80%; height: 80%; }
.line-img svg.lucide { width: 28px; height: 28px; color: var(--gold-2); }
.line-name { font-size: 13.5px; line-height: 1.3; }
.line-sub { font-size: 12px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 6px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.line-right b { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.remove { color: var(--muted); }
.remove svg.lucide { width: 16px; height: 16px; }
.sum-row { display: flex; justify-content: space-between; margin-bottom: 6px; color: #4b5563; font-size: 14px; }
.sum-row.total { font-size: 17px; color: var(--text); font-weight: 700; margin: 10px 0 14px; }
.sum-row.total b { color: var(--gold-2); }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.cart-empty svg.lucide { width: 48px; height: 48px; color: var(--gold-3); margin: 0 auto 12px; }

.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.modal.open { pointer-events: auto; opacity: 1; }
.modal-box { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--gold-line); border-radius: 20px; box-shadow: var(--shadow); transform: translateY(12px); transition: transform .25s; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255, 255, 255, .92); }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-media { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fffdf6, #f6ead0 75%); min-height: 360px; border-radius: 20px 0 0 20px; }
.pd-media svg { width: 70%; }
.pd-media svg.lucide { width: 40%; height: 40%; color: var(--gold-2); stroke-width: 1.1; }
.pd-info { padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; }
.pd-info h3 { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.25; }
.pd-price { font-size: 26px; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pd-price s { font-size: 15px; color: #9ca3af; font-weight: 400; margin-left: 8px; }
.breakdown { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.breakdown td { padding: 7px 0; border-bottom: 1px dashed var(--line); color: #4b5563; }
.breakdown td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.breakdown tr:last-child td { color: var(--text); font-weight: 700; border: 0; }
.opt-label { font-size: 12.5px; color: var(--muted); }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-actions { display: flex; gap: 10px; margin-top: 4px; }
.pd-actions .btn { flex: 1; }
.note { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.note svg.lucide { color: var(--gold); width: 16px; height: 16px; margin-top: 2px; }

.form-wrap { padding: 28px 24px; }
.form-wrap h3 { margin: 0 0 4px; font-family: var(--display); font-size: 22px; }
.form-wrap > p { color: var(--muted); margin: 0 0 18px; font-size: 13.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.field.full { grid-column: 1/-1; }
.field textarea { height: 80px; padding: 10px 12px; resize: vertical; }
.pay-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pay-opts label { border: 1px solid var(--line); border-radius: 10px; padding: 10px 8px; text-align: center; cursor: pointer; color: var(--text); font-size: 13px; }
.pay-opts input { display: none; }
.pay-opts input:checked + span { color: var(--gold-2); }
.pay-opts label:has(input:checked) { border-color: var(--gold); background: rgba(227, 179, 65, .08); }
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.order-box { background: #f7f8fa; border: 1px solid var(--line); border-radius: 14px; padding: 16px; align-self: start; }
.order-box h4 { margin: 0 0 10px; font-family: var(--display); }
.success { text-align: center; padding: 48px 24px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: var(--gold-grad); color: #1a1205; }
.success .tick svg.lucide { width: 36px; height: 36px; }
.success h3 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.success p { color: #4b5563; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: #222; border: 1px solid var(--gold-3); color: var(--text); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: all .25s; z-index: 90; font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.bottom-nav { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .hero-inner, .savings-inner { grid-template-columns: 1fr; gap: 32px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .pd, .checkout-grid { grid-template-columns: 1fr; }
  .pd-media { min-height: 260px; border-radius: 20px 20px 0 0; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  body { padding-bottom: 64px; }
  .hide-sm { display: none !important; }
  .topbar-inner { justify-content: space-between; }
  .header-inner { flex-wrap: wrap; height: auto; padding-top: 8px; padding-bottom: 10px; gap: 8px 6px; }
  .menu-btn { display: inline-grid; }
  .brand { flex: 1; }
  .brand-name { font-size: 22px; }
  .brand-logo { height: 40px; }
  .search { order: 3; flex-basis: 100%; height: 42px; }
  .search select { display: none; }
  .catnav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: 13.5px; }
  .price b { font-size: 16px; }
  .card-actions { flex-direction: column; gap: 6px; }
  .karat-tag { right: auto; left: 10px; top: auto; bottom: 10px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat { padding: 14px 4px; font-size: 12.5px; }
  .section { padding: 40px 0; }
  .hero-inner { padding-top: 32px; padding-bottom: 40px; }
  .hero-sub { font-size: 15.5px; }
  .calc-result { grid-template-columns: 1fr 1fr; }
  .calc-result div:last-child { grid-column: 1/-1; }
  .feature-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .pay-opts { grid-template-columns: 1fr 1fr; }
  .countdown b { min-width: 32px; font-size: 13px; padding: 5px 6px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; bottom: 0; left: 0; right: 0; height: 62px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 50; }
  .bottom-nav a, .bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); }
  .bottom-nav svg.lucide { width: 21px; height: 21px; }
  .bottom-nav .bn-gold { color: var(--gold-2); }
  .bottom-nav .bn-gold svg.lucide { width: 40px; height: 40px; padding: 9px; margin-top: -18px; border-radius: 50%; background: var(--gold-grad); color: #1a1205; box-shadow: 0 4px 14px rgba(227, 179, 65, .4); }
  .bottom-nav .count { left: 50%; top: 4px; margin-left: 4px; }
  .toast { bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Laravel additions ---------- */
.product-img { width: 100%; height: 100%; object-fit: cover; }
.line-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.pd-media .product-img { border-radius: inherit; }
.rate-list .v small.down, .ticker-move .down { color: var(--red); }
.pd-desc { color: #4b5563; font-size: 14px; margin: 0; }
.field em, [data-err] { font-style: normal; color: var(--red); font-size: 12px; min-height: 0; }
.pay-opts.pay-3 { grid-template-columns: repeat(3, 1fr); }
.pay-opts label.disabled { opacity: .4; cursor: not-allowed; }
.form-grid.one { grid-template-columns: 1fr; }
.form-wrap.narrow { max-width: 480px; margin: auto; }
.note svg.lucide { flex: none; }

/* Order page */
.order-page { padding: 40px 0 60px; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.order-head h1 { font-family: var(--display); margin: 4px 0; font-size: clamp(24px, 3vw, 34px); }
.order-head p { color: var(--muted); margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line); }
.pill.ok { color: var(--green); border-color: rgba(63, 178, 127, .5); background: rgba(63, 178, 127, .08); }
.pill.warn { color: var(--gold-2); border-color: var(--gold-3); background: rgba(227, 179, 65, .08); }
.pill.bad { color: var(--red); border-color: rgba(229, 72, 77, .5); background: rgba(229, 72, 77, .08); }
.order-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.panel h3 { margin: 0 0 14px; font-family: var(--display); font-size: 17px; }
.panel + .panel { margin-top: 16px; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.alert.bad { background: rgba(229, 72, 77, .1); border: 1px solid rgba(229, 72, 77, .4); }
.alert.ok { background: rgba(63, 178, 127, .1); border: 1px solid rgba(63, 178, 127, .4); }
.steps-track { display: flex; gap: 6px; margin: 6px 0 4px; }
.steps-track span { flex: 1; height: 6px; border-radius: 3px; background: #e5e7eb; }
.steps-track span.on { background: var(--gold-grad); }
.steps-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* Fake gateway */
.gw { min-height: 70vh; display: grid; place-items: center; padding: 40px 16px; }
.gw-box { width: min(420px, 100%); background: #fff; color: #222; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.gw-top { padding: 22px; color: #fff; text-align: center; }
.gw-top.bkash { background: #e2136e; }
.gw-top.nagad { background: #f6921e; }
.gw-top b { font-size: 24px; display: block; }
.gw-body { padding: 22px; }
.gw-body .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.gw-body .amt { font-size: 28px; font-weight: 700; text-align: center; margin: 14px 0; }
.gw-actions { display: grid; gap: 10px; margin-top: 18px; }
.gw-actions button { padding: 12px; border-radius: 10px; font-weight: 600; border: 1px solid #ddd; }
.gw-actions .pay { background: #222; color: #fff; border: 0; }
.gw-sim { text-align: center; font-size: 12px; color: #888; margin-top: 12px; }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pay-opts.pay-3 { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- Listing pages (/gold, /shop) ---------- */
.card-title a, a.card-media { color: inherit; }
.card-title a:hover { color: var(--gold-2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs span:last-child { color: #374151; }
.list-hero { padding: 26px 0 22px; border-bottom: 1px solid var(--line); background: #fff; }
.list-hero-gold { background: radial-gradient(600px 260px at 85% 0%, rgba(227, 179, 65, .16), transparent 60%), var(--gold-l); }
.list-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.list-hero h1 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); margin: 0 0 6px; }
.list-sub { color: var(--muted); margin: 0; max-width: 560px; }
.mini-rates { display: flex; gap: 8px; flex-wrap: wrap; }
.mini-rates div { background: var(--gold-l); border: 1px solid var(--gold-line); border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; line-height: 1.25; }
.mini-rates small { color: var(--muted); font-size: 11px; }
.mini-rates b { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.list-section { padding-top: 24px; }
.list-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 140px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-height: calc(100vh - 160px); overflow-y: auto; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.filters-head b { font-family: var(--display); font-size: 16px; }
.filters-close, .filters-apply, .filters-open { display: none !important; }
.f-group { padding: 12px 0; border-top: 1px solid var(--line); }
.f-group:first-child { border-top: 0; }
.f-group h4 { margin: 0 0 8px; font-size: 13px; color: var(--gold); letter-spacing: .06em; text-transform: uppercase; }
.f-cat { display: flex; justify-content: space-between; width: 100%; padding: 7px 8px; border-radius: 8px; color: #374151; font-size: 14px; text-align: left; }
.f-cat:hover { background: var(--card-2); }
.f-cat.active { background: rgba(227, 179, 65, .1); color: var(--gold-2); font-weight: 600; }
.f-cat small, .f-check small { color: var(--muted); }
.f-check { display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 14px; cursor: pointer; }
.f-check span { flex: 1; }
.f-check input { accent-color: var(--gold); width: 16px; height: 16px; }
.f-range { display: flex; align-items: center; gap: 6px; }
.f-range input { width: 100%; min-width: 0; height: 38px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; outline: none; }
.f-range input:focus { border-color: var(--gold); }
.list-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.list-count { color: var(--muted); font-size: 14px; margin-right: auto; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select { height: 38px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--text); outline: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-chips:empty { display: none; }
.active-chips .chip { display: inline-flex; align-items: center; gap: 4px; }
.active-chips svg.lucide { width: 14px; height: 14px; }
.list-grid { grid-template-columns: repeat(3, 1fr); }
.empty .btn { margin-top: 10px; }

/* ---------- Product page ---------- */
.pdp { padding-top: 24px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.pdp-media { position: sticky; top: 140px; aspect-ratio: 1; border-radius: 20px; border: 1px solid var(--gold-line); display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fffdf6, #f6ead0 75%); }
.pdp-media > svg { width: 68%; height: 68%; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .5)); }
.pdp-media > svg.lucide { width: 38%; height: 38%; color: var(--gold-2); stroke-width: 1.1; filter: none; }
.pdp-media .product-img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .badge { top: 14px; left: 14px; }
.pdp-media .pdp-off { left: auto; right: 14px; }
.pdp-info { display: flex; flex-direction: column; gap: 14px; }
.pdp-info h1 { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 0; }
.pdp-info .meta { flex-wrap: wrap; font-size: 13.5px; }
.stock { padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.stock.in { color: var(--green); background: rgba(63, 178, 127, .1); }
.stock.out { color: var(--red); background: rgba(229, 72, 77, .1); }
.pdp-price { font-size: 32px; font-weight: 700; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.pdp-price s { font-size: 17px; color: #9ca3af; font-weight: 400; margin-left: 10px; }
.pdp-note { color: #4b5563; margin: -6px 0 0; font-size: 14px; }
.pdp-note.save { color: var(--green); }
.pdp-opt { display: flex; flex-direction: column; gap: 8px; }
.pdp-buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pdp-buy .btn { flex: 1; min-width: 140px; padding: 13px 18px; }
.qty-lg { margin: 0; height: 48px; border-radius: 999px; padding: 0 6px; }
.qty-lg button { width: 36px; height: 36px; font-size: 18px; }
.qty-lg span { min-width: 30px; font-size: 16px; font-weight: 600; }
.pdp-trust { list-style: none; margin: 4px 0 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 1px dashed var(--gold-line); border-radius: 14px; font-size: 13.5px; color: #4b5563; }
.pdp-trust li { display: flex; gap: 8px; align-items: center; }
.pdp-trust svg.lucide { color: var(--gold); flex: none; }
.pdp-tabs { margin-top: 40px; }
.pdp-tab { padding: 6px 2px 0; color: #4b5563; max-width: 760px; }
.pdp-tab .kv { margin-top: 12px; }
.related-head { margin-top: 44px; }

@media (max-width: 1100px) {
  .list-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .list-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 88%); max-height: none; border-radius: 0; z-index: 70; transform: translateX(-100%); transition: transform .3s ease; display: flex; flex-direction: column; }
  .filters.open { transform: none; }
  #filterBody { flex: 1; overflow-y: auto; }
  .filters-close, .filters-apply, .filters-open { display: inline-flex !important; }
  .filters-apply { margin-top: 12px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 20px; }
  .pdp-media { position: relative; top: auto; max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 720px) {
  .list-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-rates { width: 100%; }
  .mini-rates div { flex: 1; min-width: 70px; }
  .sort { width: 100%; justify-content: space-between; }
  .sort select { flex: 1; }
  .pdp-trust { grid-template-columns: 1fr; }
  .pdp-price { font-size: 28px; }
}

/* Homepage slider: silver → gold → diamond */
.slider { position: relative; overflow: hidden; background: #000; }
.slider-track { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.slide { position: relative; flex: 0 0 100%; min-height: clamp(260px, 42vw, 520px); display: flex; align-items: center; background-size: cover; background-position: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .25) 65%, transparent); }
.slide > .container { position: relative; width: 100%; }
.slide-silver { background-image: radial-gradient(700px 380px at 80% 40%, rgba(235, 240, 248, .55), transparent 60%), linear-gradient(135deg, #1b1d21, #4a4f58 55%, #a9b0ba); }
.slide-gold { background-image: radial-gradient(700px 380px at 80% 40%, rgba(255, 214, 120, .5), transparent 60%), linear-gradient(135deg, #140e04, #5a3f0f 55%, #e3b341); }
.slide-diamond { background-image: radial-gradient(700px 380px at 80% 40%, rgba(190, 235, 255, .55), transparent 60%), linear-gradient(135deg, #060c14, #1d3a55 55%, #9fd8f5); }
.slide-copy { max-width: 620px; padding: 40px 0 56px; }
.slide-tag { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; margin-bottom: 14px; }
.slide-silver .slide-tag { color: #dfe4ea; }
.slide-gold .slide-tag { color: var(--gold-2); }
.slide-diamond .slide-tag { color: #aee3ff; }
.slide h2 { font-family: var(--display); font-size: clamp(28px, 4.4vw, 54px); line-height: 1.1; margin: 0 0 12px; }
.slide p { color: #ddd6ca; font-size: clamp(15px, 1.6vw, 18px); margin: 0 0 22px; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.slider-arrow:hover { background: rgba(0, 0, 0, .7); }
.slider-prev { left: 16px; }
.slider-next { right: 16px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .4); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.active { width: 26px; background: var(--gold-2); }
@media (max-width: 720px) { .slider-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) { .slider-track { transition: none; } }

/* Business sections: silver → gold → diamond → e-commerce */
.slide-ecommerce { background-image: radial-gradient(700px 380px at 80% 40%, rgba(120, 220, 170, .4), transparent 60%), linear-gradient(135deg, #04110b, #14412c 55%, #3fb27f); }
.slide-ecommerce .slide-tag { color: #a7f0cb; }
.slide h1 { font-family: var(--display); font-size: clamp(28px, 4.4vw, 54px); line-height: 1.1; margin: 0 0 12px; }
.biz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.biz-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 20px; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; border: 1px solid var(--line); transition: transform .2s; }
.biz-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), rgba(0, 0, 0, .1)); }
.biz-card > * { position: relative; }
.biz-card:hover { transform: translateY(-3px); }
.biz-step { position: absolute; top: 16px; left: 20px; font-family: var(--display); font-size: 34px; color: rgba(255, 255, 255, .35); }
.biz-card h3 { margin: 0 0 4px; font-family: var(--display); font-size: 24px; }
.biz-card p { margin: 0 0 10px; color: #ddd6ca; font-size: 14px; }
.biz-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); font-weight: 600; font-size: 14px; }
.biz-more svg.lucide { width: 16px; height: 16px; }
.cms-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cms-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cms-block > svg.lucide, .cms-block > [data-lucide] { width: 28px; height: 28px; color: var(--gold); }
.cms-block h2 { font-family: var(--display); font-size: 20px; margin: 10px 0 8px; }
.cms-block p { margin: 0; color: #374151; }
.cms-band { background: var(--bg-2); }
.cms-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.cms-video iframe, .cms-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cert { display: block; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 4; }
.cert img { width: 100%; height: 100%; object-fit: contain; }
.cms-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cms-page { max-width: 860px; display: grid; gap: 24px; }
.cms-page-image { width: 100%; border-radius: var(--radius); }
.cms-prose { color: #374151; font-size: 16px; line-height: 1.75; }
.cms-prose h2, .cms-prose h3 { color: var(--text); font-family: var(--display); }
.cms-prose a { color: var(--gold-2); text-decoration: underline; }
.cms-prose table { width: 100%; border-collapse: collapse; }
.cms-prose td, .cms-prose th { border: 1px solid var(--line); padding: 8px; }
.cms-empty { color: var(--muted); }
.list-hero h1 { margin: 0; font-family: var(--display); }
.drawer-pages { margin-top: 8px; border-top: 1px solid var(--line); }
.lang-switch { font-weight: 600; color: var(--gold-2); }
@media (max-width: 1100px) { .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cms-blocks { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .biz-grid { grid-template-columns: 1fr; } .biz-card { min-height: 190px; } }

.cat-side-silver svg.lucide { color: #9ca3af; }
.cat-side-diamond svg.lucide { color: #3b9bd6; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); }
.social a:hover { border-color: #fff; color: #fff; }

/* ---------- Light ANONDO theme: header, menu bar, footer ---------- */
body { font-size: 14px; line-height: 1.5; }
main { padding-bottom: 30px; }
.eyebrow { color: var(--gold); }
.link { color: var(--brand); }
.btn { border-radius: var(--radius); padding: 11px 20px; }
.btn-gold { background: var(--brand); color: #fff; box-shadow: none; }
.btn-gold:hover { background: var(--brand-d); box-shadow: none; }
.btn-ghost { border: 1.5px solid var(--brand); color: var(--brand); background: #fff; }
.btn-ghost:hover { background: var(--brand-l); }
.chip.active, .chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-l); }

.topbar { color: #cfd6e4; font-size: 12px; border: 0; }
.topbar b { color: #fff; }
.topbar [data-lucide], .topbar svg.lucide { color: #f6d27a; }
.topbar-right a:hover, .lang-switch { color: #fff; }

.header { background: #fff; backdrop-filter: none; border: 0; box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 76px; }
.brand-logo { height: 56px; width: auto; border-radius: 0; }
.search { border: 2px solid var(--brand); border-radius: var(--radius); background: #fff; height: 44px; }
.search:focus-within { border-color: var(--brand-d); box-shadow: 0 0 0 3px var(--brand-l); }
.search select { background: #f7f7f9; color: var(--text); }
.search button { background: var(--brand); color: #fff; width: 58px; }
.search button:hover { background: var(--brand-d); }
.action { flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); padding: 4px 8px; }
.action:hover { background: none; color: var(--brand); }
.action [data-lucide], .action svg.lucide { color: var(--navy); }
.count { background: var(--brand); color: #fff; top: -4px; left: auto; right: 2px; }

.catnav { background: var(--brand); border: 0; }
.catnav-inner { height: 44px; }
.catnav a { color: #fff; font-weight: 500; padding: 6px 10px; }
.catnav a:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.catnav [data-lucide], .catnav svg.lucide { color: #fff; }
.catnav-right { border-left: 1px solid rgba(255, 255, 255, .3); }
.catnav-gold { background: var(--gold-grad); color: #4a3206 !important; border-radius: 20px; font-weight: 600; }
.catnav-gold svg.lucide, .catnav-gold [data-lucide] { color: #4a3206 !important; }

.footer { color: #b9c2d3; border: 0; font-size: 13px; }
.footer h4 { color: #fff; font-family: var(--font); }
.footer a { color: #b9c2d3; }
.footer a:hover { color: #fff; }
.footer a .bn { color: #dfe4ee; }
.footer svg.lucide { color: #f6d27a; }
.footer-logo { width: 170px; height: auto; margin-bottom: 10px; }
.footer-brand p { color: #b9c2d3; }
.pay-badges span { background: #fff; color: var(--navy); border: 0; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); color: #b9c2d3; }
.bottom-nav { border-top: 1px solid var(--line); }
.bottom-nav .bn-gold { color: var(--brand); }
.toast { background: #222; color: #fff; border: 0; }
.drawer, .modal-box { background: #fff; }
.menu-link.gold { color: var(--gold-2); }

/* Product cards */
.card { border-radius: var(--radius); }
.card:hover { border-color: #d7d9de; transform: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .09); }
.card-media { background: #fafafa; }
.card-media svg { filter: drop-shadow(0 8px 14px rgba(120, 80, 10, .25)); }
.card-media .shop-icon { color: var(--brand); }
.gold-grid .card-media, .list-grid .card-media:not([data-shop]) { background: radial-gradient(circle at 50% 40%, #fffdf6, #f6ead0); }
.badge { background: #f2b230; color: #3d2603; border-radius: 4px; }
.karat-tag { border-color: var(--gold-3); color: var(--gold-2); }
.card-title { font-weight: 400; font-size: 13.5px; }
.price b { color: var(--accent); font-size: 17px; }
.card-actions .btn-gold { background: #fff; color: var(--brand); border: 1px solid var(--brand); border-radius: 6px; }
.card-actions .btn-gold:hover { background: var(--brand); color: #fff; }
.card-actions .btn-ghost { border-width: 1px; border-color: var(--line); color: var(--muted); border-radius: 6px; }
.weight { color: var(--muted); }
.pd-media[data-shop], .pdp-media[data-shop] { background: #fafafa; }

/* Homepage hero: categories | slider | rate card */
.home-hero { display: grid; grid-template-columns: 240px minmax(0, 1fr) 260px; gap: 16px; padding-top: 18px; margin-bottom: 22px; }
.cat-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 0; max-height: 420px; overflow-y: auto; scrollbar-width: thin; }
.cat-side h2 { margin: 10px 16px 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.cat-side a { display: flex; align-items: center; gap: 10px; padding: 7px 16px; font-size: 13.5px; color: var(--text); }
.cat-side a:hover { background: var(--brand-l); color: var(--brand); }
.cat-side svg.lucide, .cat-side [data-lucide] { width: 16px; height: 16px; color: var(--gold); flex: none; }
.home-slider { min-width: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.home-slider .slider, .home-slider .slider-track { height: 100%; }
.home-slider .slide { min-height: 420px; }
.home-slider .slide-copy { padding-left: 34px; }
.hero-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; min-width: 0; }
.hero-side .rate-card { background: #fff; border: 1px solid var(--gold-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; }
.hero-side .rate-card h2 { font-size: 14px; font-family: var(--font); color: #7a5214; }
.hero-side .rate-list li { padding: 7px 2px; border-bottom-color: var(--line); font-size: 13px; }
.hero-side .rate-list .v { font-size: 14px; color: var(--accent); }
.unit-toggle { background: var(--card-2); }
.unit-toggle .active { background: var(--gold-grad); color: #4a3206; }
.side-promo { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #5c3d0b, #b8862b); box-shadow: var(--shadow); }
.side-promo small { opacity: .85; font-size: 12px; }
.side-promo strong { font-size: 17px; line-height: 1.3; }
.side-promo span { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.side-promo svg.lucide { width: 16px; height: 16px; }
.side-promo { position: relative; overflow: hidden; min-height: 190px; }
.side-promo > :not(.side-art) { position: relative; z-index: 1; }
.side-promo svg.side-art { position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; opacity: .22; stroke-width: 1.2; }
.side-silver { background: linear-gradient(135deg, #3b4048, #8a929d 60%, #c9ced6); }
.side-orange { background: linear-gradient(135deg, #f96a02, #ffa800); }
.side-price { font-size: 30px !important; font-variant-numeric: tabular-nums; }
.side-price small { font-size: 13px; font-weight: 500; opacity: .9; margin-left: 2px; }
.side-promo em { font-style: normal; font-size: 13px; opacity: .9; }

/* Gold unit: rate bar + ticker */
.rate-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--gold-line); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; margin: 0 0 14px; }
.rate-bar li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; background: #fff; border: 0; }
.rate-bar .v { color: var(--accent); font-size: 19px; }
.biz-part .unit-toggle { margin-left: auto; }
.biz-part .ticker { margin: 0; }

.ticker { margin: 16px 0; background: #fff; border: 1px solid var(--gold-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.ticker-label { background: linear-gradient(135deg, #5c3d0b, #b8862b); color: #fff; }
.ticker-move span b { color: var(--accent); }
.feature-row { margin-bottom: 18px; }
.feature-row div { border: 0; box-shadow: var(--shadow); }
.feature-row svg.lucide { color: var(--brand); background: var(--brand-l); border-radius: 50%; padding: 10px; width: 46px; height: 46px; }

/* Sections are white cards on the grey page */
.section { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 18px; }
.section-head h2, .savings h2, .calc h3, .rate-card h2, .pdp-info h1, .pd-info h3, .list-hero h1, .order-head h1, .panel h3, .form-wrap h3, .success h3, .drawer-head, .filters-head b, .order-box h4 { font-family: var(--font); font-weight: 700; }
.sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec-head h3 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.sec-head h3 svg.lucide { color: var(--brand); width: 20px; height: 20px; }
.sec-head .more, .biz-head .more { margin-left: auto; color: var(--brand); font-weight: 600; font-size: 13px; border: 1px solid var(--brand); padding: 5px 14px; border-radius: 20px; white-space: nowrap; }
.sec-head .more:hover, .biz-head .more:hover { background: var(--brand); color: #fff; }
.gnote { font-size: 12.5px; color: var(--muted); }
.karat-filter { margin-left: auto; }
.karat-filter + .more { margin-left: 0; }
.tabs button.active, .tabs button:hover { color: var(--brand); border-color: var(--brand); }
.cat { border-radius: var(--radius); }
.cat:hover { border-color: var(--brand); color: var(--brand); }
.cat span.ic { background: var(--brand-l); border: 0; }
.cat svg.lucide { color: var(--brand); }
.countdown b { background: #222; color: #fff; border-radius: 4px; }
.savings { background: #fff; }
.calc { background: #fff; border: 1px solid var(--line); box-shadow: none; border-radius: var(--radius); }
.calc-result { background: var(--gold-l); border-color: var(--gold-line); }
.plan-pick .active { border-color: var(--brand); background: var(--brand-l); color: var(--brand); }
.steps b { border-color: var(--brand); color: var(--brand); font-family: var(--font); }

/* Business section block: slide → Q&A → products → videos → reviews */
.biz-block { padding: 0 0 4px; overflow: hidden; margin-bottom: 26px; border-top: 4px solid var(--brand); }
.biz-block > * { margin-left: 20px; margin-right: 20px; }
.biz-head { display: flex; align-items: center; gap: 14px; padding: 18px 0; }
.biz-head h2 { margin: 0; font-size: 22px; }
.biz-head p { margin: 2px 0 0; color: var(--muted); }
.biz-num { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 18px; }
.biz-silver .biz-num { background: linear-gradient(135deg, #9ca3af, #4b5563); }
.biz-gold .biz-num { background: linear-gradient(135deg, #d9a441, #8a5a12); }
.biz-ecommerce .biz-num { background: linear-gradient(135deg, #f96a02, #ffa800); }
.biz-upcoming .biz-num { background: linear-gradient(135deg, #00baa3, #248ece); }
.biz-silver { border-top-color: #9ca3af; }
.biz-gold { border: 1px solid var(--gold-line); border-top: 4px solid #d9a441; }
.biz-diamond { border-top-color: #3b9bd6; }
.biz-diamond .biz-num { background: linear-gradient(135deg, #7cc8f0, #1d3a55); }
.biz-ecommerce { border-top-color: #f96a02; }
.biz-upcoming { border-top-color: #00baa3; }
.biz-gold .biz-head h2 { color: #7a5214; }
.slide-upcoming { background-image: radial-gradient(700px 380px at 80% 40%, rgba(120, 230, 220, .4), transparent 60%), linear-gradient(135deg, #032b2b, #0e5c6b 55%, #248ece); }
.slide-upcoming .slide-tag { color: #b5f5ee; }
.section-slider { border-radius: var(--radius); box-shadow: var(--shadow); }
.section-slider .slide { min-height: clamp(260px, 32vw, 400px); }
.section-slider .slide-copy { padding-left: 34px; }
.home-slider .section-slider { box-shadow: none; }
.biz-block > .section-slider:first-child { margin-top: 20px; }
.slide { color: #fff; }
.slide h1, .slide h2, .slide .slide-title { font-family: var(--font); font-weight: 700; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.12; margin: 0 0 12px; color: #fff; }
.slide .btn-gold { background: #fff; color: var(--brand); }
.slide .btn-gold:hover { background: var(--brand-l); }
.biz-card { color: #fff; }
.biz-part { padding: 18px 0; border-top: 1px solid var(--line); }
.biz-block > .faq-grid { margin-top: 20px; margin-bottom: 18px; }
.biz-empty { display: flex; align-items: center; gap: 8px; margin: 0; padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.biz-empty svg.lucide { color: var(--muted); }

.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.faq { background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius); }
.faq[open] { background: #fff; border-color: var(--brand); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; gap: 10px; padding: 14px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.lucide { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq[open] summary svg.lucide { transform: rotate(180deg); color: var(--brand); }
.faq-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-l); color: var(--brand); font-size: 13px; }
.faq-a { padding: 0 14px 16px 50px; color: #4b5563; line-height: 1.7; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.video-item { margin: 0; }
.video-item figcaption { margin-top: 8px; font-weight: 500; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.review { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #f5a623; letter-spacing: 2px; }
.review-stars span { color: #e5e7eb; }
.review blockquote { margin: 0; color: #374151; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review figcaption img, .review-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.review-avatar { display: grid; place-items: center; background: var(--brand-l); color: var(--brand); font-weight: 700; }
.review figcaption b, .review figcaption small { display: block; }
.review figcaption small { color: var(--muted); }

.section-page { padding-top: 16px; }
.cms-pager { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.list-hero { background: #fff; }
.list-hero-gold { background: linear-gradient(180deg, #fffaf0, #fff); }
.mini-rates div { background: var(--gold-l); }
.mini-rates b, .pdp-price, .pd-price, .line-right b, .sum-row.total b { color: var(--accent); }

@media (max-width: 1100px) {
  .home-hero { grid-template-columns: 220px minmax(0, 1fr); }
  .hero-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .faq-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 12px; }
  .cat-side { display: none; }
  .home-slider .slide { min-height: 300px; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-side { grid-template-columns: 1fr; }
  .header-inner { height: auto; }
  .brand-logo { height: 42px; }
  .biz-block > * { margin-left: 14px; margin-right: 14px; }
  .section { padding: 14px; }
  .biz-block { padding: 0; }
  .karat-filter { margin-left: 0; width: 100%; }
  .faq-a { padding-left: 14px; }
  .home-slider .slide-copy, .section-slider .slide-copy { padding-left: 8px; }
}

/* My ANONDO: bKash-style account screen */
.catnav-my { background: var(--brand); border-radius: 20px; font-weight: 600; }
.catnav-my:hover { background: var(--brand-2) !important; }
.my-anondo { max-width: 760px; padding-top: 20px; padding-bottom: 20px; }
.ma-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px rgb(var(--brand-rgb) / .25); }
.ma-user { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ma-user b { display: block; font-size: 18px; margin-bottom: 6px; }
.ma-avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.ma-avatar img { width: 40px; height: 40px; }
.ma-balance { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 600; font-size: 13px; }
.ma-taka { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; }
.ma-brand { font-weight: 800; letter-spacing: .08em; text-align: right; font-size: 20px; opacity: .95; }
.ma-brand small { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .06em; opacity: .85; }
.ma-group { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 18px 14px; margin-top: 16px; }
.ma-group h2 { margin: 0 6px 14px; font-size: 15px; color: var(--brand); }
.ma-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
.ma-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px; font-size: 12.5px; font-weight: 500; text-align: center; color: var(--text); line-height: 1.3; }
.ma-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); transition: transform .15s, background .15s; }
.ma-icon svg.lucide { width: 24px; height: 24px; }
.ma-tile:hover .ma-icon { background: var(--brand); color: #fff; transform: translateY(-2px); }
.ma-note { display: flex; gap: 8px; align-items: flex-start; margin: 16px 4px 0; color: var(--muted); font-size: 13px; }
.ma-note svg.lucide { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 520px) {
  .ma-card { padding: 18px; }
  .ma-brand { display: none; }
  .ma-icon { width: 48px; height: 48px; }
}

/* Accounts & KYC */
.ma-phone { display: block; opacity: .85; margin: -2px 0 8px; font-size: 13px; }
.ma-user small { display: block; opacity: .9; }
.ma-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ma-logout { color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.ma-logout:hover { background: rgba(255, 255, 255, .15); }
.ma-balance .ma-taka svg.lucide { width: 14px; height: 14px; }
.ma-kyc { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.ma-kyc-pending { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.ma-kyc b, .ma-kyc small { display: block; }
.ma-kyc small { opacity: .85; }
.ma-kyc > svg.lucide:last-child { margin-left: auto; }
a.ma-tile { color: var(--text); }
.account-page { max-width: 620px; padding-top: 20px; padding-bottom: 20px; }
.ma-card-sm { padding: 18px; }
.account-box { padding: 22px; }
.account-box .field input { height: 46px; font-size: 16px; }
.account-box .field input[type=file] { height: auto; padding: 10px; background: var(--card-2); }
.otp-input { letter-spacing: .5em; text-align: center; font-size: 22px !important; font-weight: 700; }
.account-title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 20px; }
.account-title svg.lucide { color: var(--brand); }
.warn-box { background: #fffbeb; border: 1px solid #fde68a; }
.kyc-state { display: flex; gap: 8px; align-items: flex-start; padding: 14px; border-radius: 10px; margin: 0; }
.kyc-state.ok { background: #ecfdf5; color: #166534; }
.kyc-state.wait { background: #eff6ff; color: #1e40af; }
.kyc-state.bad { background: #fef2f2; color: #991b1b; margin-bottom: 12px; }
.kyc-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kyc-docs figure { margin: 0; }
.kyc-docs img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f4f6; border-radius: 8px; border: 1px solid #e5e7eb; }
.kyc-docs figcaption { font-size: 12px; font-weight: 600; margin-top: 4px; }

/* Activation, referral link, wallet screens */
.ma-activate { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 16px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.ma-activate.ma-kyc-pending { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.ma-activate-text { display: flex; gap: 12px; align-items: flex-start; min-width: 0; flex: 1 1 280px; }
.ma-activate-text b, .ma-activate-text small { display: block; }
.ma-activate-text small { opacity: .85; }
.ma-activate-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ma-btn-light { background: #fff; color: var(--brand); border: 1px solid #f9c4dc; }
.ma-btn-light:hover { background: var(--brand-soft); }
.ma-btn-wa { background: #25d366; color: #fff; }
.ma-btn-wa:hover { background: #1ebe5a; }
.ma-refer { display: grid; gap: 10px; margin-top: 16px; padding: 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.ma-refer b { display: flex; align-items: center; gap: 8px; color: var(--brand); }
.ma-refer small { color: var(--muted); }
.ma-refer-link { display: flex; gap: 8px; }
.ma-refer-link input { flex: 1; min-width: 0; height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; background: var(--card-2); font-size: 13px; }
.ma-avatar-icon { color: var(--brand); }
.ma-avatar-icon svg.lucide { width: 26px; height: 26px; }
.ma-card-sm .ma-logout { align-self: center; }
.account-page .alert { margin: 14px 0 0; }
.calc-amount input { font-size: 20px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; }
.fee-box { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px 14px; border-radius: 10px; background: var(--card-2); font-size: 14px; }
.fee-box b { text-align: right; font-variant-numeric: tabular-nums; }
.operator-opts { grid-template-columns: repeat(3, 1fr); }
.bank-only { grid-template-columns: 1fr 1fr; }
.bank-only[hidden] { display: none; }
.tx-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.tx-row:last-of-type { border-bottom: 0; }
.tx-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.tx-icon svg.lucide { width: 19px; height: 19px; }
.tx-main b, .tx-main small { display: block; }
.tx-main small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx-ref { font-family: ui-monospace, monospace; font-size: 11.5px !important; }
.tx-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tx-side .pos { color: var(--green); }
.tx-side .neg { color: #b91c1c; }
.tx-failed .tx-side b { text-decoration: line-through; opacity: .6; }
@media (max-width: 520px) {
  .operator-opts { grid-template-columns: 1fr 1fr; }
  .bank-only { grid-template-columns: 1fr; }
}

/* Agent badge on the profile card */
.ma-agent { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: linear-gradient(135deg, #f6d27a, #d9a441); color: #4a3206; font-size: 12.5px; }
.ma-agent svg.lucide { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #fff; color: #b7791f; box-sizing: content-box; }
.ma-agent b { font-weight: 700; }
.tx-main .pill { margin-left: 6px; font-size: 11px; padding: 2px 8px; vertical-align: middle; }

/* Withdraw: balance summary */
.balance-summary h2 { margin: 0 0 10px; font-size: 15px; color: var(--brand); }
.balance-summary > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.balance-summary .pos { color: var(--green); }
.balance-summary .neg { color: #b91c1c; }
.balance-summary .total { border: 0; margin-top: 4px; padding-top: 12px; border-top: 2px solid var(--line); font-size: 16px; font-weight: 700; }
.balance-summary .total b { color: var(--brand); font-size: 20px; }

/* ---------- My ANONDO: separate app-like layout ---------- */
.acc-body { background: #f4f2f6; min-height: 100vh; padding-bottom: 0; }
.acc-top { position: sticky; top: 0; z-index: 40; background: linear-gradient(90deg, var(--brand-2), var(--brand) 60%, var(--brand-3)); color: #fff; box-shadow: 0 2px 12px rgb(var(--brand-rgb) / .25); }
.acc-top-inner { max-width: 1180px; margin: 0 auto; padding: 0 16px; height: 64px; display: flex; align-items: center; gap: 12px; }
.acc-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; font-size: 17px; }
.acc-logo img { height: 42px; width: auto; border-radius: 8px; }
.acc-top-links { margin-left: auto; display: flex; gap: 6px; }
.acc-top-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .14); }
.acc-top-links a:hover { background: rgba(255, 255, 255, .26); }
.acc-top-links svg.lucide { width: 16px; height: 16px; }
.acc-burger { display: none; color: #fff; padding: 6px; }
.acc-shell { max-width: 1180px; margin: 0 auto; padding: 22px 16px 40px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; align-items: start; }
.acc-shell.acc-guest { grid-template-columns: minmax(0, 1fr); }
.acc-side { position: sticky; top: 86px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px; }
.acc-side-head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-side-head .ma-avatar { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--brand-soft); }
.acc-side-head .ma-avatar img { width: 30px; height: 30px; }
.acc-side-head b, .acc-side-head small { display: block; }
.acc-side-head b { font-size: 14px; line-height: 1.25; }
.acc-side-head small { color: var(--muted); font-size: 12px; }
.acc-side-close { display: none; margin-left: auto; }
.acc-side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 500; }
.acc-side nav a svg.lucide { width: 19px; height: 19px; color: var(--brand); }
.acc-side nav a:hover { background: var(--brand-tint); }
.acc-side nav a.active { background: var(--brand); color: #fff; }
.acc-side nav a.active svg.lucide { color: #fff; }
.acc-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.acc-logout button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 10px; color: #b91c1c; font-weight: 500; font-size: 14px; }
.acc-logout button:hover { background: #fef2f2; }
.acc-logout svg.lucide { width: 19px; height: 19px; }
.acc-main { min-width: 0; }
.acc-main > .container { max-width: 820px; padding: 0; margin: 0; }
.acc-guest .acc-main > .container { margin: 0 auto; max-width: 560px; }
.acc-main .my-anondo { padding-top: 0; }
.acc-main .account-page { padding-top: 0; }
.acc-main .crumbs { margin-bottom: 12px; }
.acc-scrim, .acc-bottom { display: none; }
.ma-balance.shown { background: #fff7fb; }

@media (max-width: 900px) {
  .acc-shell { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 90px; }
  .acc-burger { display: inline-grid; }
  .acc-logo img { height: 34px; }
  .acc-logo span { display: none; }
  .acc-side { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86%); z-index: 70; border-radius: 0 16px 16px 0; overflow-y: auto; transform: translateX(-105%); transition: transform .25s ease; }
  .acc-side-close { display: inline-grid; }
  .acc-menu-open .acc-side { transform: none; }
  .acc-menu-open .acc-scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 60; }
  .acc-bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: 64px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
  .acc-bottom a, .acc-bottom button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); }
  .acc-bottom svg.lucide { width: 22px; height: 22px; }
  .acc-bottom .active { color: var(--brand); font-weight: 600; }
  .acc-body .toast { bottom: 80px; }
}
.ma-user .ma-agent b { display: inline; font-size: inherit; margin: 0; }
.ma-agent { border-radius: 14px; line-height: 1.4; }
.acc-main .ma-side form { display: none; } /* log out lives in the menu */

/* Profile photo, settings, refer page */
.ma-avatar { overflow: hidden; }
.ma-avatar img.ma-photo { width: 100%; height: 100%; object-fit: cover; }
.ma-side .ma-logout { display: inline-flex; align-items: center; gap: 6px; }
.ma-side .ma-logout svg.lucide { width: 14px; height: 14px; }
.settings-page .account-box { margin-top: 14px; }
.set-h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 15px; color: var(--brand); }
.set-h svg.lucide { width: 18px; height: 18px; }
.set-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.set-info dt { color: var(--muted); }
.set-info dd { margin: 0; display: flex; gap: 10px; align-items: center; }
.set-photo { display: flex; gap: 18px; align-items: center; }
.set-photo > img { width: 92px; height: 92px; border-radius: 50%; object-fit: contain; background: var(--brand-soft); padding: 14px; box-shadow: 0 0 0 3px var(--brand-soft); }
.set-photo > img.ma-photo { object-fit: cover; padding: 0; }
.set-photo .btn { cursor: pointer; }
.set-remove { display: flex; gap: 6px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--muted); }
.settings-page .field select { height: 46px; font-size: 15px; }
.settings-page .fine svg.lucide { width: 14px; height: 14px; display: inline; vertical-align: -2px; }
.set-save { margin-top: 14px; }
.err { color: var(--red); font-style: normal; font-size: 12px; }
.refer-hero { text-align: center; padding: 26px 20px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 24px rgb(var(--brand-rgb) / .25); }
.refer-hero > svg.lucide { width: 46px; height: 46px; padding: 10px; margin: 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.refer-hero h1 { margin: 10px 0 4px; font-size: 22px; }
.refer-hero p { margin: 0; opacity: .9; }
.refer-code { display: inline-block; margin-top: 16px; padding: 10px 22px; border-radius: 12px; background: #fff; color: var(--brand); }
.refer-code small { display: block; color: var(--muted); font-size: 12px; }
.refer-code b { font-size: 24px; letter-spacing: .12em; }
.share-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.share-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; color: #fff; font-weight: 600; font-size: 14px; }
.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.sms { background: #6b7280; }
.share-btn.more { background: var(--brand); }
.refer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.refer-stats a { display: flex; flex-direction: column; align-items: center; padding: 14px; border-radius: 12px; background: var(--brand-tint); color: var(--text); }
.refer-stats b { font-size: 26px; color: var(--brand); }
.refer-stats span { font-size: 13px; color: var(--muted); }
.ma-refer-link .btn svg.lucide { width: 15px; height: 15px; }

/* Silver / Gold / Diamond Saving */
.saving-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.saving-tabs a { text-align: center; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-weight: 600; color: var(--muted); }
.saving-tabs a.active { color: #fff; }
.saving-tabs .tab-silver.active { background: linear-gradient(135deg, #4b5563, #9ca3af); }
.saving-tabs .tab-gold.active { background: linear-gradient(135deg, #8a5a12, #d9a441); }
.saving-tabs .tab-diamond.active { background: linear-gradient(135deg, #1d3a55, #3b9bd6); }
.saving-rate { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 16px; color: #fff; }
.saving-rate small, .saving-rate b, .saving-rate span { display: block; position: relative; z-index: 1; }
.saving-rate small { opacity: .85; }
.saving-rate b { font-size: 28px; line-height: 1.2; }
.saving-rate b em { font-style: normal; font-size: 14px; font-weight: 500; opacity: .9; }
.saving-rate span { opacity: .9; font-size: 13px; max-width: 520px; }
.saving-rate > svg.lucide { position: absolute; right: 10px; bottom: -14px; width: 110px; height: 110px; opacity: .2; stroke-width: 1.2; }
.rate-silver { background: linear-gradient(135deg, #3b4048, #8a929d 60%, #c9ced6); }
.rate-gold { background: linear-gradient(135deg, #5c3d0b, #b8862b 60%, #e3b341); }
.rate-diamond { background: linear-gradient(135deg, #0f2740, #1d5a8a 60%, #5bb6e8); }
.saving-page .account-box { margin-top: 14px; }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plan-card { cursor: pointer; }
.plan-card input { position: absolute; opacity: 0; pointer-events: none; }
.plan-card > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.plan-card b { font-size: 20px; color: var(--text); }
.plan-card small { color: var(--muted); }
.plan-card em { display: flex; gap: 6px; align-items: flex-start; font-style: normal; font-size: 12.5px; color: #9a3412; background: #fff7ed; border-radius: 8px; padding: 6px 8px; margin-top: 4px; }
.plan-card em svg.lucide { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.plan-card .plan-date { font-style: normal; font-size: 12px; color: var(--muted); margin-top: auto; }
.plan-card input:checked + span { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.plan-card input:checked + span b { color: var(--brand); }
.quick-amounts .chip.active { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.saving-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-top: 12px; }
.saving-item header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.saving-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 12px; }
.saving-figures div { background: var(--card-2); border-radius: 10px; padding: 10px; }
.saving-figures small { display: block; color: var(--muted); font-size: 12px; }
.saving-figures b { font-size: 16px; }
.saving-figures i { display: block; font-style: normal; font-size: 12px; }
.saving-figures .pos { color: var(--green); }
.saving-figures .neg { color: #b91c1c; }
.countdown-box small { color: var(--muted); }
.countdown-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 10px; }
.countdown-big b { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 24px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown-big small { color: rgba(255, 255, 255, .85) !important; font-size: 11px; font-weight: 500; }
.saving-item .bar { height: 8px; }
.saving-item .bar i { background: linear-gradient(90deg, var(--brand), var(--brand-3)); }
.saving-sold { opacity: .7; }
@media (max-width: 620px) {
  .plan-cards { grid-template-columns: 1fr; }
  .countdown-big b { font-size: 20px; }
}

/* Header: login / my account */
.action-account img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background: var(--brand-soft); padding: 3px; box-shadow: 0 0 0 2px var(--brand); }
.action-account img.ma-photo { object-fit: cover; padding: 0; }
.action-account svg.lucide { color: var(--brand) !important; }
.action-account span { white-space: nowrap; }
@media (max-width: 720px) { .action-account span { display: none; } }

/* Login: ANONDO banner + form */
.acc-guest .acc-main > .auth-wrap { margin: 0 auto; }
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-width: 1080px; min-height: 600px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(181, 16, 90, .15); }
.auth-banner { position: relative; display: flex; flex-direction: column; padding: 36px; color: #fff; overflow: hidden;
  background: radial-gradient(600px 400px at 90% 10%, rgba(246, 210, 122, .35), transparent 60%), radial-gradient(500px 360px at 0% 100%, rgba(255, 255, 255, .12), transparent 60%), linear-gradient(150deg, var(--brand-2), var(--brand) 55%, var(--brand-3)); }
.auth-banner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); pointer-events: none; }
.auth-banner-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; position: relative; z-index: 1; }
.auth-logo { width: 150px; height: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.auth-banner-top p { margin: 0; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; opacity: .9; }
.auth-slides { position: relative; flex: 1; min-height: 230px; margin: 26px 0 14px; z-index: 1; }
.auth-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 18px; background-size: cover; background-position: center; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s ease, transform .6s ease; overflow: hidden; }
.auth-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .05)); }
.auth-slide > * { position: relative; }
.auth-slide.on { opacity: 1; transform: none; }
.auth-slide-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 16px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.auth-slide-icon svg.lucide { width: 28px; height: 28px; color: #fff; }
.auth-slide h2 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; color: #fff; }
.auth-slide p { margin: 0; font-size: 15px; opacity: .92; color: #fff; }
.auth-dots { display: flex; gap: 8px; position: relative; z-index: 1; }
.auth-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .3s, background .3s; }
.auth-dots button.on { width: 28px; background: #fff; }
.auth-features { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.auth-features li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 500; }
.auth-features svg.lucide { width: 18px; height: 18px; flex: none; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.auth-card h1 { margin: 0 0 6px; font-size: 26px; color: var(--text); }
.auth-sub { margin: 0 0 24px; color: var(--muted); }
.auth-card .field input { height: 52px; font-size: 17px; }
.phone-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.phone-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.phone-input b { display: grid; place-items: center; padding: 0 14px; background: var(--brand-tint); color: var(--brand); font-size: 16px; border-right: 1px solid var(--line); }
.phone-input input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; letter-spacing: .04em; }
.auth-btn { height: 52px; font-size: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important; }
.auth-btn:hover { filter: brightness(1.05); }
.auth-back { display: inline-flex; align-items: center; gap: 6px; justify-content: center; }
.auth-trust { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.auth-trust span { display: inline-flex; align-items: center; gap: 6px; }
.auth-trust svg.lucide { width: 16px; height: 16px; color: var(--green); }
.slide-silver.auth-slide { background-image: linear-gradient(135deg, #3b4048, #8a929d 60%, #c9ced6); }
.slide-gold.auth-slide { background-image: linear-gradient(135deg, #5c3d0b, #b8862b 60%, #e3b341); }
.slide-diamond.auth-slide { background-image: linear-gradient(135deg, #0f2740, #1d5a8a 60%, #5bb6e8); }
.slide-ecommerce.auth-slide { background-image: linear-gradient(135deg, #a33a00, #f96a02 60%, #ffa800); }
.slide-upcoming.auth-slide { background-image: linear-gradient(135deg, #032b2b, #0e5c6b 55%, #248ece); }
@media (max-width: 900px) {
  .auth-wrap { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .auth-banner { padding: 22px; }
  .auth-logo { width: 110px; }
  .auth-slides { min-height: 170px; margin: 16px 0 10px; }
  .auth-features { display: none; }
  .auth-card { padding: 26px 20px 30px; }
  .auth-card h1 { font-size: 22px; }
}
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin-bottom: 18px; border-radius: 12px; background: #f6f1f4; }
.auth-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.auth-tabs button.on { background: #fff; color: var(--brand); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-tabs svg.lucide { width: 17px; height: 17px; }
.auth-card form[hidden] { display: none; }
.phone-input b svg.lucide { width: 18px; height: 18px; }

/* Dashboard tiles: own colour per service, staggered entrance, bounce on hover */
.ma-icon { --c1: var(--brand-soft); --c2: var(--brand); position: relative; background: var(--c1); color: var(--c2); animation: tile-in .45s ease both; animation-delay: calc(var(--d, 0) * 60ms); }
.ma-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--c2); opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s; }
.ma-tile:hover .ma-icon, .ma-tile:focus-visible .ma-icon { background: linear-gradient(135deg, var(--c2), color-mix(in srgb, var(--c2) 70%, #000)); color: #fff; transform: translateY(-3px); }
.ma-tile:hover .ma-icon::after { opacity: .35; transform: scale(1); }
.ma-tile:hover .ma-icon svg.lucide { animation: icon-bounce .5s ease; }
.ma-tile:active .ma-icon { transform: scale(.94); }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes icon-bounce { 30% { transform: translateY(-4px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(6deg); } }
.ic-send { --c1: var(--brand-soft); --c2: var(--brand); }
.ic-smartphone { --c1: #e0f2fe; --c2: #0284c7; }
.ic-banknote { --c1: #dcfce7; --c2: #16a34a; }
.ic-credit-card { --c1: #ede9fe; --c2: #7c3aed; }
.ic-circle-plus { --c1: #ccfbf1; --c2: #0d9488; }
.ic-arrow-down-to-line { --c1: #ffedd5; --c2: #ea580c; }
.ic-receipt-text { --c1: #f1f5f9; --c2: #475569; }
.ic-piggy-bank { --c1: #f3f4f6; --c2: #6b7280; }
.ic-coins { --c1: #fef3c7; --c2: #b7791f; }
.ic-gem { --c1: #dbeafe; --c2: #2563eb; }
.ic-landmark { --c1: #e0e7ff; --c2: #4338ca; }
.ic-hand-coins { --c1: #fce7f3; --c2: #be185d; }
.ic-gift { --c1: #fee2e2; --c2: #dc2626; }
.ic-user-plus { --c1: var(--brand-soft); --c2: #db2777; }
.ic-users { --c1: #e0f2fe; --c2: #0369a1; }
.ic-handshake { --c1: #fef9c3; --c2: #a16207; }
.ic-receipt { --c1: #ecfccb; --c2: #4d7c0f; }
@media (prefers-reduced-motion: reduce) { .ma-icon, .ma-tile:hover .ma-icon svg.lucide { animation: none; } }

/* ---------- Dashboard v2: full width, stats, quick actions, side column ---------- */
.acc-shell { max-width: 1440px; gap: 26px; }
.acc-top-inner { max-width: 1440px; }
.acc-main > .container.my-anondo { max-width: none; }
.dash-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.dash-stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); text-align: left; color: var(--text); transition: transform .15s, box-shadow .15s; }
.dash-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .08); }
.dash-stat > svg.lucide { width: 48px; height: 48px; padding: 12px; border-radius: 14px; flex: none; color: #fff; }
.dash-stat small { display: block; color: var(--muted); font-size: 12.5px; }
.dash-stat b { display: block; font-size: 22px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.stat-balance > svg.lucide { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.stat-saving > svg.lucide { background: linear-gradient(135deg, #d9a441, #8a5a12); }
.stat-team > svg.lucide { background: linear-gradient(135deg, #3b9bd6, #1d3a55); }
.stat-balance.shown b { color: var(--brand); }
.dash-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.dash-q { display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; border-radius: 16px; color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); transition: transform .15s, filter .15s; }
.dash-q:hover { transform: translateY(-2px); filter: brightness(1.06); }
.dash-q svg.lucide { width: 24px; height: 24px; }
.q-add { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.q-send { background: linear-gradient(135deg, var(--brand-3), var(--brand)); }
.q-cash { background: linear-gradient(135deg, #22c55e, #15803d); }
.q-bill { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.dash-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; margin-top: 2px; }
.dash-main .ma-group, .dash-aside .ma-group { margin-top: 16px; }
.dash-main .ma-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 18px 6px; }
.dash-aside { position: sticky; top: 86px; }
.dash-h { display: flex; justify-content: space-between; align-items: center; }
.dash-h .link { font-size: 13px; }
.dash-tx { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.dash-tx:last-child { border-bottom: 0; }
.dash-tx .tx-icon { width: 36px; height: 36px; }
.dash-tx b { font-size: 13.5px; }
.dash-tx small { display: block; color: var(--muted); font-size: 12px; }
.dash-tx .pos { color: var(--green); }
.dash-tx .neg { color: #b91c1c; }
.dash-refer { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #f6b73c, var(--brand)); box-shadow: var(--shadow); }
.dash-refer > svg.lucide:first-child { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .2); }
.dash-refer b, .dash-refer small { display: block; }
.dash-refer small { opacity: .9; }
.dash-refer > svg.lucide:last-child { margin-left: auto; }
@media (max-width: 1200px) { .dash-body { grid-template-columns: minmax(0, 1fr); } .dash-aside { position: static; } }
@media (max-width: 720px) {
  .dash-stats { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .dash-stat { padding: 14px; }
  .dash-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .dash-q { flex-direction: column; height: 74px; gap: 4px; font-size: 11.5px; border-radius: 14px; }
  .dash-main .ma-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 4px; }
}

/* Pay Bill */
.bill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.bill-cat { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
.bill-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.bill-cat > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; }
.bill-cat svg.lucide { width: 28px; height: 28px; }
.bill-cat b { font-size: 14px; }
.bill-cat small { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 999px; background: #f3f4f6; color: var(--muted); font-size: 11px; }
.bill-amber > span { background: #fef3c7; color: #d97706; }
.bill-orange > span { background: #ffedd5; color: #ea580c; }
.bill-sky > span { background: #e0f2fe; color: #0284c7; }
.bill-violet > span { background: #ede9fe; color: #7c3aed; }
.bill-soon > span { background: #f3f4f6; color: #6b7280; }
.bill-soon { opacity: .8; }
.biller-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.biller-list label { cursor: pointer; }
.biller-list input { position: absolute; opacity: 0; pointer-events: none; }
.biller-list span { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--text); }
.biller-list svg.lucide { width: 18px; height: 18px; color: var(--brand); }
.biller-list input:checked + span { border-color: var(--brand); background: var(--brand-tint); font-weight: 600; }

/* Send Money confirm */
.send-confirm { display: flex; align-items: center; gap: 16px; padding: 16px; margin-bottom: 14px; border-radius: 16px; background: linear-gradient(135deg, var(--brand-tint), #fff); border: 1px solid #f9c4dc; }
.send-confirm img { width: 64px; height: 64px; border-radius: 50%; object-fit: contain; background: #fff; padding: 8px; box-shadow: 0 0 0 3px var(--brand-soft); }
.send-confirm img.ma-photo { object-fit: cover; padding: 0; }
.send-confirm small, .send-confirm b, .send-confirm span { display: block; }
.send-confirm small { color: var(--muted); }
.send-confirm b { font-size: 19px; }
.send-confirm span { color: var(--muted); font-size: 13px; }

/* Savings tiles: illustrated icons on a soft tile */
.ma-art { width: 68px; height: 68px; border-radius: 18px; }
.ma-art .saving-art { width: 54px; height: 54px; transition: transform .25s ease; }
.art-silver { background: linear-gradient(160deg, #f8fafc, #e5e7eb); }
.art-gold { background: linear-gradient(160deg, #fffbeb, #fde9b5); }
.art-diamond { background: linear-gradient(160deg, #f0f9ff, #d4ecfb); }
.art-fdr { background: linear-gradient(160deg, #f5f7ff, #e0e7ff); }
.ma-art::after { border-radius: 20px; }
.ma-tile:hover .ma-art { background-image: none; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, .1); }
.ma-tile:hover .art-silver { background-color: #eef0f3; }
.ma-tile:hover .art-gold { background-color: #fdf0c8; }
.ma-tile:hover .art-diamond { background-color: #dff1fc; }
.ma-tile:hover .art-fdr { background-color: #e7ebff; }
.ma-tile:hover .ma-art .saving-art { transform: scale(1.12) rotate(-4deg); }

/* Inbox, bell, QR, help */
.acc-bell { position: relative; padding: 7px 10px !important; }
.acc-bell svg.lucide { width: 19px !important; height: 19px !important; }
.acc-bell b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #facc15; color: #4a3206; font-size: 11px; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--brand); animation: bell-pop .4s ease; }
@keyframes bell-pop { from { transform: scale(0); } }
.acc-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 11px; display: grid; place-items: center; }
.acc-side nav a.active .acc-badge { background: #fff; color: var(--brand); }
.acc-bottom a { position: relative; }
.acc-bottom .acc-badge { position: absolute; top: 6px; left: calc(50% + 6px); margin: 0; min-width: 17px; height: 17px; font-size: 10px; }
.inbox-tabs { display: flex; gap: 8px; margin-bottom: 12px; overflow-x: auto; }
.inbox-tabs a { padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--muted); font-weight: 500; font-size: 14px; white-space: nowrap; }
.inbox-tabs a.on { background: var(--brand); color: #fff; }
.inbox-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px 6px; border-bottom: 1px solid var(--line); }
.inbox-item:last-of-type { border-bottom: 0; }
.inbox-item.unread { background: linear-gradient(90deg, var(--brand-tint), transparent); border-radius: 12px; }
.inbox-item.unread .inbox-text b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); margin-right: 8px; vertical-align: middle; }
.inbox-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); }
.inbox-icon svg.lucide { width: 21px; height: 21px; }
.kind-announcement .inbox-icon { background: #fef3c7; color: #b45309; }
.kind-kyc .inbox-icon { background: #dcfce7; color: #16a34a; }
.kind-message .inbox-icon { background: #e0f2fe; color: #0284c7; }
.inbox-text header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.inbox-text b { font-size: 14.5px; }
.inbox-text time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.inbox-text p { margin: 4px 0 0; color: #4b5563; font-size: 13.5px; line-height: 1.55; }
.inbox-text footer { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.inbox-text footer:empty { display: none; }
.inbox-text .link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.inbox-text .link svg.lucide { width: 14px; height: 14px; }
.qr-card { max-width: 440px; margin: 0 auto; padding: 28px 24px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); text-align: center; border-top: 6px solid var(--brand); }
.qr-avatar { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; object-fit: contain; background: var(--brand-soft); padding: 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--brand-soft); }
.qr-avatar.ma-photo { object-fit: cover; padding: 0; }
.qr-card h1 { margin: 12px 0 2px; font-size: 20px; }
.qr-card > p { margin: 0; color: var(--muted); }
.qr-box { display: grid; place-items: center; width: 248px; height: 248px; margin: 18px auto 10px; padding: 14px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px rgb(var(--brand-rgb) / .12); }
.qr-box img, .qr-box canvas { width: 220px !important; height: 220px !important; }
.qr-hint { display: flex !important; justify-content: center; align-items: center; gap: 6px; margin: 0 0 14px !important; font-size: 13.5px; }
.qr-hint svg.lucide { width: 16px; height: 16px; color: var(--brand); }
.qr-card .ma-refer-link { margin-bottom: 10px; }
.help-contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 14px; }
.help-c { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; color: #fff; box-shadow: var(--shadow); }
.help-c svg.lucide { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .2); }
.help-c b, .help-c small { display: block; }
.help-c small { opacity: .9; }
.hc-call { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.hc-wa { background: linear-gradient(135deg, #25d366, #128c4a); }
.hc-mail { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.help-faq { margin-top: 10px; }
.ic-qr-code { --c1: #f1f5f9; --c2: #0f172a; }
.ic-inbox { --c1: var(--brand-soft); --c2: var(--brand); }
.ic-life-buoy { --c1: #fee2e2; --c2: #dc2626; }

/* Savings tiles: round */
.ma-art { width: 66px; height: 66px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .9), 0 4px 12px rgba(0, 0, 0, .08); }
.ma-art::after { border-radius: 50%; }
.ma-art .saving-art { width: 46px; height: 46px; }
.art-silver { background: radial-gradient(circle at 30% 25%, #ffffff, #e5e7eb 70%, #d1d5db); }
.art-gold { background: radial-gradient(circle at 30% 25%, #fffdf3, #fde9b5 70%, #f6d27a); }
.art-diamond { background: radial-gradient(circle at 30% 25%, #ffffff, #d4ecfb 70%, #a7d8f5); }
.art-fdr { background: radial-gradient(circle at 30% 25%, #ffffff, #e0e7ff 70%, #c7d2fe); }

/* Cash Out (bKash style) */
.co-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px rgb(var(--brand-rgb) / .25); }
.co-head small { display: block; opacity: .9; font-size: 13px; }
.co-balance { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 7px 16px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700; font-size: 15px; }
.co-balance svg.lucide { width: 17px; height: 17px; }
.co-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 13px; font-weight: 500; }
.co-link svg.lucide { width: 16px; height: 16px; }
.co-page .account-box { margin-top: 14px; }
.co-methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.co-method { cursor: pointer; }
.co-method input { position: absolute; opacity: 0; pointer-events: none; }
.co-method > span { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; }
.co-method i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; font-style: normal; font-weight: 800; font-size: 22px; }
.co-method b { font-size: 13.5px; color: var(--text); }
.co-method input:checked + span { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.m-bkash i, .co-badge.m-bkash { background: linear-gradient(135deg, #e2136e, #c40f5f); }
.m-nagad i, .co-badge.m-nagad { background: linear-gradient(135deg, #f7941d, #ec1c24); }
.m-rocket i, .co-badge.m-rocket { background: linear-gradient(135deg, #8c3494, #5b1e66); }
.m-bank i, .co-badge.m-bank { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.m-bkash input:checked + span { border-color: #e2136e; }
.m-nagad input:checked + span { border-color: #f7941d; }
.m-rocket input:checked + span { border-color: #8c3494; }
.m-bank input:checked + span { border-color: #2563eb; }
.co-amount { display: flex; align-items: center; gap: 8px; padding: 6px 16px; border-bottom: 3px solid var(--brand); background: var(--brand-tint); border-radius: 12px 12px 4px 4px; }
.co-amount span { font-size: 30px; font-weight: 700; color: var(--brand); }
.co-amount input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; height: 60px !important; font-size: 34px !important; font-weight: 700; outline: none; box-shadow: none !important; }
.co-next { height: 52px; font-size: 16px; background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important; }
.co-to { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--brand-tint); }
.co-badge { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: #fff; font-size: 24px; font-weight: 800; flex: none; }
.co-to small, .co-to b, .co-to span { display: block; }
.co-to small { color: var(--muted); }
.co-to b { font-size: 20px; letter-spacing: .03em; }
.co-to span { color: var(--muted); font-size: 13px; }
.co-sum { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 16px 0; padding: 0 4px; font-size: 15px; }
.co-sum dt { color: var(--muted); }
.co-sum dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.co-sum .co-total { padding-top: 10px; border-top: 1px dashed var(--line); font-size: 18px; color: var(--text); font-weight: 700; }
.co-sum dd.co-total { color: var(--brand); }
.co-pin { text-align: center; }
@media (max-width: 520px) { .co-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-amount input { font-size: 28px !important; } }

/* Withdraw: all balances */
.wd-total { padding: 22px; border-radius: 18px; color: #fff; text-align: center; background: radial-gradient(500px 200px at 90% 0%, rgba(246, 210, 122, .35), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px rgb(var(--brand-rgb) / .25); }
.wd-total small, .wd-total span { display: block; opacity: .9; }
.wd-total b { display: block; font-size: 38px; line-height: 1.2; margin: 4px 0; }
.wd-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border-left: 5px solid var(--brand); }
.wd-silver { border-left-color: #9ca3af; }
.wd-gold { border-left-color: #d9a441; }
.wd-diamond { border-left-color: #3b9bd6; }
.wd-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); grid-row: span 2; }
.wd-icon svg.lucide { width: 26px; height: 26px; }
.wd-icon.ma-art { width: 56px; height: 56px; animation: none; }
.wd-icon.ma-art .saving-art { width: 40px; height: 40px; }
.wd-info b, .wd-info small { display: block; }
.wd-info b { font-size: 15.5px; }
.wd-info small { color: var(--muted); font-size: 12.5px; }
.wd-amount b { font-size: 20px; font-variant-numeric: tabular-nums; }
.wd-actions { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wd-locked { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.wd-locked svg.lucide { width: 14px; height: 14px; }
.countdown-mini { display: inline-flex; gap: 4px; }
.countdown-mini b { display: inline-flex; align-items: baseline; gap: 1px; padding: 2px 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font-size: 12px; }
.countdown-mini b small { font-size: 9px; color: var(--muted); }
.wd-note { display: flex; gap: 6px; align-items: flex-start; margin-top: 14px; }
.wd-note svg.lucide { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.wd-sources { grid-column: 1 / -1; list-style: none; margin: 6px 0 2px; padding: 10px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; border-radius: 12px; background: var(--card-2); }
.wd-sources li { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: center; font-size: 13px; }
.wd-sources svg.lucide { grid-row: span 2; width: 30px; height: 30px; padding: 6px; border-radius: 10px; background: #fff; color: var(--brand); }
.wd-sources span { color: var(--muted); font-size: 12px; }
.wd-sources b { font-variant-numeric: tabular-nums; }
.src-bonus svg.lucide { color: #dc2626; }
.src-received svg.lucide { color: #0284c7; }
.src-savings_sold svg.lucide { color: #b7791f; }

/* Hidden radios inside card-style choices stay inside their card (they were widening the page) */
.co-method, .plan-card, .biller-list label { position: relative; }
.co-method input, .plan-card input, .biller-list input { inset: 0; width: 100%; height: 100%; margin: 0; }

/* Cash Out: full width on PC — form + side column */
.acc-main > .container.co-page, .acc-main > .container.withdraw-page { max-width: 1180px; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.co-side { position: sticky; top: 86px; }
.co-side .account-box { padding: 18px; }
.co-side .co-sum { margin: 0; font-size: 14px; }
.co-steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: #4b5563; font-size: 14px; }
.co-steps li::marker { color: var(--brand); font-weight: 700; }
.co-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 12px; background: #fff; }
@media (max-width: 1100px) { .co-layout { grid-template-columns: minmax(0, 1fr); } .co-side { position: static; } }
/* Dashboard: one wide column now that recent activity lives in the Inbox */
.dash-body { grid-template-columns: minmax(0, 1fr); }
.dash-main .ma-grid { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); }
.my-anondo > .dash-refer { margin-top: 14px; }
.wd-total .wd-loss { color: #fecaca; }
.wd-profit-split { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 8px 0 14px; font-size: 13.5px; opacity: .95; }
.wd-profit-split b { font-size: 14px; }
.wd-available { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.wd-available b { font-size: 18px; margin: 0; display: inline; }
.wd-amount { text-align: right; }
.wd-amount small { display: block; font-size: 12.5px; font-weight: 600; }
.wd-up { color: var(--green); }
.wd-down { color: #b91c1c; }
.saving-figures .units { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.wd-withdraw-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px 24px; border-radius: 999px; background: #fff; color: var(--brand); font-weight: 700; font-size: 16px; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.wd-withdraw-btn svg.lucide { width: 20px; height: 20px; }
.wd-hint { margin: 4px 0 0; font-size: 13px; opacity: .9; }

/* Withdraw: one DPS-style box per investment (ID + balance), then the profit-only metal balances */
.wd-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 4px; font-size: 18px; }
.wd-h svg.lucide { width: 20px; height: 20px; color: var(--brand); }
.wd-h span { margin-left: auto; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wd-dps-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 10px; }
.wd-dps { display: grid; gap: 12px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--brand); min-width: 0; }
.wd-dps.wd-silver { border-top-color: #9ca3af; }
.wd-dps.wd-gold { border-top-color: #d9a441; }
.wd-dps.wd-diamond { border-top-color: #3b9bd6; }
.wd-dps.is-closed { opacity: .72; }
.wd-dps header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.wd-dps header .wd-icon { width: 46px; height: 46px; grid-row: auto; }
.wd-dps header .wd-icon.ma-art .saving-art { width: 32px; height: 32px; }
.wd-dps-title b, .wd-dps-title small { display: block; }
.wd-dps-title small { color: var(--muted); font-size: 12.5px; }
.wd-dps-title code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: #111827; letter-spacing: .02em; overflow-wrap: anywhere; }
.wd-dps-balance { padding: 12px 14px; border-radius: 14px; background: var(--card-2); }
.wd-dps-balance small, .wd-dps-balance span { display: block; font-size: 12.5px; }
.wd-dps-balance small { color: var(--muted); }
.wd-dps-balance b { display: block; font-size: 24px; line-height: 1.25; font-variant-numeric: tabular-nums; }
.wd-dps-balance span { font-weight: 700; }
.wd-dps-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; font-size: 13.5px; }
.wd-dps-facts dt { color: var(--muted); font-size: 12px; }
.wd-dps-facts dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.wd-dps-facts dd i { display: block; font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.wd-dps footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 10px; border-top: 1px dashed var(--line); }
.wd-dps-split { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.wd-dps-split svg.lucide { width: 14px; height: 14px; color: var(--green); }
.wd-empty { flex-wrap: wrap; grid-column: 1 / -1; }
.wd-card .wd-actions .btn svg.lucide { width: 16px; height: 16px; }

/* My investments page + link from Withdraw */
.wd-invest-link { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--text); border-left: 5px solid var(--brand); }
.wd-invest-link > svg.lucide:first-child { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.wd-invest-link b, .wd-invest-link small { display: block; }
.wd-invest-link small { color: var(--muted); font-size: 12.5px; }
.wd-invest-link > svg.lucide:last-child { margin-left: auto; color: var(--muted); }
.inv-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 26px rgb(var(--brand-rgb) / .25); }
.inv-summary small { display: block; opacity: .85; font-size: 12.5px; }
.inv-summary b { font-size: 22px; font-variant-numeric: tabular-nums; }
.inv-summary .wd-up { color: #bbf7d0; }
.inv-summary .wd-down { color: #fecaca; }
.inv-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.ic-briefcase { --c1: var(--brand-soft); --c2: var(--brand-2); }
@media (max-width: 720px) { .inv-summary { grid-template-columns: 1fr 1fr; } }

/* Withdraw: three profit cards (with deposit numbers) and the seven balances */
.wd-profits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 12px; }
.wd-pcard { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); border-top: 5px solid var(--brand); min-width: 0; }
.wd-pcard.wd-silver { border-top-color: #9ca3af; }
.wd-pcard.wd-gold { border-top-color: #d9a441; }
.wd-pcard.wd-diamond { border-top-color: #3b9bd6; }
.wd-pcard header { display: flex; gap: 12px; align-items: center; }
.wd-pcard header b, .wd-pcard header small { display: block; }
.wd-pcard header small { color: var(--muted); font-size: 12.5px; }
.wd-pcard .wd-icon { grid-row: auto; width: 48px; height: 48px; flex: none; }
.wd-pamount { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wd-pamount small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.wd-deposits { list-style: none; margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--card-2); display: grid; gap: 4px; font-size: 12.5px; }
.wd-deposits li { display: flex; gap: 8px; align-items: center; min-width: 0; }
.wd-deposits code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; font-size: 12px; }
.wd-deposits span { font-weight: 600; font-variant-numeric: tabular-nums; }
.wd-deposits em { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); }
.wd-deposits .wd-none { color: var(--muted); }
.wd-form { display: flex; gap: 8px; align-items: center; margin-top: auto; }
.wd-form label { flex: 1; display: flex; align-items: center; gap: 4px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.wd-form input { border: 0; outline: 0; width: 100%; min-width: 0; padding: 8px 0; font: inherit; background: transparent; }
.wd-buckets { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin-top: 12px; }
.wd-bucket { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.wd-bucket.wd-new { outline: 2px solid var(--green); }
.wd-bicon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.wd-bicon svg.lucide { width: 20px; height: 20px; }
.wd-bal_cashout { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.wd-bal_cashout .wd-bicon { background: rgba(255, 255, 255, .18); color: #fff; }
.wd-bal_cashout small, .wd-bal_cashout .wd-up { color: rgba(255, 255, 255, .85) !important; }
.wd-bal_cashout .wd-bbtn { background: #fff; color: var(--brand); }
.wd-bal_gold .wd-bicon { background: #fbf1dc; color: #b7862b; }
.wd-bal_silver .wd-bicon { background: #f1f2f4; color: #6b7280; }
.wd-bal_diamond .wd-bicon { background: #e6f2fb; color: #2b7fb5; }
.wd-binfo b, .wd-binfo small, .wd-bamount b, .wd-bamount small { display: block; }
.wd-binfo small, .wd-bamount small { font-size: 12px; color: var(--muted); }
.wd-bamount { text-align: right; }
.wd-bamount b { font-size: 17px; font-variant-numeric: tabular-nums; }
.wd-bbtn { grid-column: 1 / -1; justify-self: start; }

/* Checkout: pay part of the order from My ANONDO balances */
.use-bal { margin: 12px 0 4px; padding: 12px; border-radius: 12px; background: #fff; border: 1px dashed var(--brand); display: grid; gap: 8px; }
.use-bal > b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.use-bal > b svg.lucide { width: 16px; height: 16px; color: var(--brand); }
.use-bal label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 13.5px; cursor: pointer; }
.use-bal label small { display: block; color: var(--muted); font-size: 11.5px; }
.use-bal label em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.use-bal input { accent-color: var(--brand); width: 17px; height: 17px; }
.wd-dps-parts { list-style: none; flex-basis: 100%; margin: 6px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--card-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 4px 14px; font-size: 12.5px; }
.wd-dps-parts li { display: flex; justify-content: space-between; gap: 8px; }
.wd-dps-parts i { font-style: normal; color: var(--muted); }
.wd-dps-parts b { font-variant-numeric: tabular-nums; }
.wd-old { font-size: 12.5px; color: #b45309; font-weight: 600; }

/* ===== Checkout page (/checkout): form on the left, sticky order summary on the right ===== */
.co { padding-top: 18px; }
.co-steps { display: flex; gap: 8px; list-style: none; margin: 6px 0 20px; padding: 0; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: 14px; }
.co-steps li + li::before { content: ""; width: 34px; height: 2px; background: var(--line); margin-right: 2px; }
.co-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line); font-size: 12.5px; }
.co-steps .done span { background: var(--green); color: #fff; border-color: var(--green); }
.co-steps .on { color: var(--text); }
.co-steps .on span { background: var(--gold-grad); color: #3a2600; border-color: transparent; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; }
.co-main { display: grid; gap: 16px; min-width: 0; }
.co-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.co-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 17px var(--display); }
.co-card h2 > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--gold-l); color: var(--gold-2); font-size: 13px; border: 1px solid var(--gold-line); }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.co-fields .full { grid-column: 1 / -1; }
.co-fields .field { margin: 0; }
.co-hint { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.co-hint svg.lucide { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--gold); }
.co-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.co-pay label { position: relative; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-pay input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.co-pay svg.lucide { width: 22px; height: 22px; color: var(--gold); flex: none; }
.co-pay b, .co-pay small { display: block; }
.co-pay small { font-size: 12px; color: var(--muted); }
.co-pay label:has(input:checked) { border-color: var(--gold); background: var(--gold-l); box-shadow: 0 0 0 3px rgba(227, 179, 65, .18); }
.co-pay label.disabled { opacity: .5; cursor: not-allowed; }
.co-side { position: sticky; top: 90px; }
.co-summary h2 { justify-content: space-between; }
.co-edit { border: 0; background: none; padding: 0; color: var(--gold-2); font: 600 13px var(--display); cursor: pointer; }
.co-lines { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; max-height: 280px; overflow: auto; }
.co-lines li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.co-thumb { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); }
.co-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.co-thumb svg.lucide { width: 24px; height: 24px; color: var(--gold); }
.co-thumb b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: #374151; color: #fff; font-size: 11px; }
.co-name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.co-name small { display: block; color: var(--muted); font-size: 12px; }
.co-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.co-bal { margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--brand-tint); border: 1px dashed var(--brand); display: grid; gap: 9px; }
.co-bal h3 { display: flex; gap: 6px; align-items: center; margin: 0 0 2px; font: 600 14px var(--display); }
.co-bal h3 svg.lucide { width: 16px; height: 16px; color: var(--brand); }
.co-bal label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; cursor: pointer; }
.co-bal small { display: block; font-size: 11.5px; color: var(--muted); }
.co-bal em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-bal input { accent-color: var(--brand); width: 17px; height: 17px; }
.co-sums { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.co-sums div { display: flex; justify-content: space-between; gap: 10px; }
.co-sums div[hidden] { display: none; }
.co-sums dt { color: var(--muted); }
.co-sums dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.co-minus { color: var(--green); }
.co-total { margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line); }
.co-total dt { color: var(--text); font-weight: 600; font-size: 16px; }
.co-total dd { font-size: 22px; color: var(--gold-2); }
.co-place { margin-top: 14px; padding: 14px; font-size: 16px; }
.co-safe { display: flex; gap: 6px; align-items: center; justify-content: center; margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.co-safe svg.lucide { width: 14px; height: 14px; color: var(--green); }
.co-empty { text-align: center; padding: 50px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.co-empty svg.lucide { width: 44px; height: 44px; color: var(--gold); }
.co-loading { color: var(--muted); }
.co [data-err] { color: #dc2626; font-size: 12.5px; font-style: normal; }
@media (max-width: 960px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-side { position: static; }
}
@media (max-width: 560px) {
  .co-fields, .co-pay { grid-template-columns: 1fr; }
  .co-card { padding: 16px; }
  .co-steps li + li::before { width: 16px; }
}
.co-lines { padding: 8px 8px 2px 0; }

/* Login like Gold Kinen / bKash: step dots, 5-digit PIN shown as dots */
.auth-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.auth-steps li { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 700; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); }
.auth-steps li.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.auth-pin { position: relative; }
.auth-pin .pin-input { position: absolute; inset: auto 0 0; height: 64px !important; opacity: 0; z-index: 2; cursor: text; }
.pin-dots { display: flex; gap: 12px; justify-content: center; padding: 14px 0; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; height: 64px; align-items: center; }
.auth-pin:focus-within .pin-dots { border-color: var(--brand); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .15); }
.pin-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #d1d5db; transition: background .15s, border-color .15s, transform .15s; }
.pin-dots i.on { background: var(--brand); border-color: var(--brand); transform: scale(1.1); }
.auth-alt { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.auth-alt form { margin: 0; }
.auth-alt .link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--brand); font-weight: 600; }
.pin-card { max-width: 440px; margin: 30px auto; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pin-card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--brand-soft); color: var(--brand); margin-bottom: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Download app: footer badges, phone banner and the how-to sheet */
.app-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.app-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 10px; background: #111; color: #fff !important; border: 1px solid #333; line-height: 1.1; font-weight: 600; font-size: 14px; }
.app-badge small { display: block; font-size: 9.5px; font-weight: 500; opacity: .8; letter-spacing: .04em; }
.app-badge svg.lucide { width: 22px; height: 22px; }
.app-badge:hover { background: #222; }
.app-banner { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(0, 0, 0, .22); border: 1px solid var(--brand-soft); animation: app-up .3s ease-out; }
.acc-body .app-banner { bottom: calc(76px + env(safe-area-inset-bottom)); } /* above the My ANONDO bottom menu */
.app-banner img { width: 42px; height: 42px; border-radius: 11px; }
.app-banner div { flex: 1; min-width: 0; line-height: 1.25; }
.app-banner b { display: block; font-size: 14.5px; }
.app-banner small { color: #6b7280; font-size: 12px; }
.app-banner-get { border: 0; border-radius: 999px; padding: 9px 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 14px; }
.app-banner-x { border: 0; background: none; font-size: 22px; color: #9ca3af; padding: 0 2px; line-height: 1; }
@keyframes app-up { from { transform: translateY(30px); opacity: 0; } }
.app-sheet { position: fixed; inset: 0; z-index: 200; display: grid; place-items: end center; background: rgba(17, 24, 39, .45); padding: 12px; }
@media (min-width: 640px) { .app-sheet { place-items: center; } }
.app-sheet-card { width: 100%; max-width: 380px; padding: 22px 20px 18px; border-radius: 20px; background: #fff; text-align: center; color: #111; }
.app-sheet-card h3 { margin: 8px 0 10px; font-size: 18px; }
.app-sheet-card ol { text-align: left; margin: 0 0 16px; padding-left: 22px; line-height: 1.9; font-size: 15px; }
.app-sheet-icon { width: 60px; height: 60px; border-radius: 16px; }
.app-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #e0f2fe; color: #0369a1; font-size: 13px; }
.app-sheet-close { width: 100%; border: 0; border-radius: 12px; padding: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 15px; }

/* Money amount box (Add Money, Send Money, Recharge, Bill Pay, Saving): one clean field, big number, ৳ badge */
.calc-amount { gap: 12px; height: 64px; padding: 0 16px 0 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.calc-amount:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / .12); }
.calc-amount span { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 22px; }
.calc-amount input, .account-box .calc-amount input, .field .calc-amount input {
  height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; outline: none !important;
  background: transparent !important; font-size: 24px !important; font-weight: 700; letter-spacing: .01em; color: var(--text); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.calc-amount input::placeholder { color: #b6bcc6; font-weight: 600; font-size: 19px; }
.calc-amount input::-webkit-outer-spin-button, .calc-amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-amount:has(input:invalid:not(:placeholder-shown)) { border-color: #f59e0b; }
.calc-amount span { font-family: "Noto Sans Bengali", system-ui, sans-serif; font-size: 26px; font-weight: 700; line-height: 1; }

/* Add Money: pay-with choices (5 like the SSLCommerz page) */
.am-methods { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.m-card i { background: linear-gradient(135deg, #0f172a, #334155); }
.m-netbank i { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.m-card input:checked + span { border-color: #0f172a; }
.m-netbank input:checked + span { border-color: #2563eb; }
.co-method input:checked + span::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #16a34a; color: #fff; font-size: 11px; font-weight: 700; }
.co-method > span { position: relative; }
.am-secure { display: flex; gap: 6px; align-items: flex-start; }
.am-secure svg.lucide { width: 15px; height: 15px; color: #16a34a; flex: none; margin-top: 2px; }
@media (max-width: 620px) { .am-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }


/* Solid gold theme (like Gold Kinen; matches the ANONDO logo) */
.theme-gold { --brand: #b8862e; --brand-2: #8a6418; --brand-3: #d9a441; --brand-rgb: 184 134 46; --brand-soft: #f8efdc; --brand-tint: #fcf8ef; }
/* Emerald theme */
.theme-green { --brand: #0f8a5f; --brand-2: #0b6646; --brand-3: #1fb37f; --brand-rgb: 15 138 95; --brand-soft: #e3f4ec; --brand-tint: #f2faf6; }

/* My ANONDO sidebar: scrolls by itself when the menu is taller than the screen (so Settings, Help and Log out are reachable) */
@media (min-width: 901px) {
  .acc-side { max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(var(--brand-rgb) / .35) transparent; }
  .acc-side::-webkit-scrollbar { width: 6px; }
  .acc-side::-webkit-scrollbar-thumb { background: rgb(var(--brand-rgb) / .35); border-radius: 6px; }
}
.co-pay { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* Main balance with a Lock button beside it */
.stat-with-lock { gap: 10px; }
.stat-with-lock .stat-tap { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; padding: 0; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; }
.stat-with-lock .stat-tap > svg.lucide { width: 48px; height: 48px; padding: 12px; border-radius: 14px; flex: none; color: #fff; }
.stat-lock { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 8px 14px; border-radius: 999px; background: var(--brand); color: #fff !important; font-weight: 700; font-size: 13.5px; box-shadow: 0 6px 14px rgb(var(--brand-rgb) / .25); }
.stat-lock svg.lucide { width: 15px; height: 15px; }

/* Balance lock page */
.lock-head { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.lock-head div { padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lock-head div:first-child { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.lock-head small { display: block; font-size: 12px; opacity: .8; }
.lock-head b { font-size: 20px; font-variant-numeric: tabular-nums; }
.lock-plans { display: flex; flex-wrap: wrap; gap: 10px; }
.lock-plans label { position: relative; cursor: pointer; }
.lock-plans input { position: absolute; opacity: 0; }
.lock-plans span { display: block; min-width: 120px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.lock-plans b { font-size: 20px; }
.lock-plans small { display: block; color: var(--muted); font-size: 12px; }
.lock-plans input:checked + span { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / .12); }
.lock-preview { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--brand-tint); border: 1px dashed var(--brand); }
.lock-preview div { display: flex; justify-content: space-between; gap: 10px; }
.lock-preview span { color: var(--muted); }
.lock-preview b { font-variant-numeric: tabular-nums; }
.lock-total { padding-top: 8px; border-top: 1px dashed var(--line); font-size: 17px; }
.lock-total b { color: var(--brand-2); }
.lock-up { color: var(--green); }
.lock-tiers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.lock-tiers li { padding: 4px 10px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.lock-tiers b { color: var(--text); }
.lock-list { display: grid; gap: 10px; margin-top: 10px; }
.lock-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.lock-item.is-paid { opacity: .75; }
.lock-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.lock-info b, .lock-info small, .lock-right b, .lock-right small { display: block; }
.lock-info small, .lock-right small { color: var(--muted); font-size: 12px; }
.lock-right { text-align: right; }
@media (max-width: 560px) { .lock-head { grid-template-columns: 1fr 1fr; } .lock-head div:first-child { grid-column: 1 / -1; } }
.stat-with-lock .stat-tap > svg.lucide { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.stat-tap.shown b { color: var(--brand); }
.co-split { display: grid; gap: 6px; margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); }
.co-split[hidden] { display: none; }
.co-split div { display: flex; justify-content: space-between; gap: 10px; }
.co-split dt { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.co-split dt svg.lucide { width: 15px; height: 15px; }
.co-split dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.co-sums .co-split { display: grid; } .co-sums .co-split[hidden] { display: none; }

/* ===== Royal blue + gold (Gold Kinen-like fintech look): calm blue, gold accents, clean icons ===== */
.theme-royal { --brand: #1557c0; --brand-2: #0b3a8a; --brand-3: #2f7ae5; --brand-rgb: 21 87 192; --brand-soft: #e8f0fd; --brand-tint: #f4f8fe; }

/* One icon style everywhere in My ANONDO: thin outline icon in a soft rounded square (no rainbow circles) */
.acc-body svg.lucide { stroke-width: 1.8; }
.ma-grid .ma-icon:not(.ma-art) { --c1: var(--brand-soft); --c2: var(--brand); width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(160deg, #fff, var(--brand-soft)); border: 1px solid rgb(var(--brand-rgb) / .14); box-shadow: 0 4px 12px rgb(var(--brand-rgb) / .08); }
.ma-grid .ma-icon:not(.ma-art)::after { border-radius: 22px; }
.ma-grid .ma-icon svg.lucide { width: 25px; height: 25px; }
.ma-tile > span:last-child { font-size: 13px; font-weight: 500; color: var(--text); }
.ma-group { border: 1px solid #edf0f5; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.ma-group h2 { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 15.5px; }
.ma-group h2::before { content: ""; width: 4px; height: 16px; border-radius: 4px; background: linear-gradient(180deg, #f6d27a, #d9a441); }

/* Header and balance cards: brand gradient with a thin gold line, like a bank card */
.acc-top { box-shadow: 0 2px 14px rgb(var(--brand-rgb) / .22); }
.acc-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #d9a441, #f6d27a, #d9a441); opacity: .9; }
.ma-card, .wd-total, .lock-head div:first-child { position: relative; overflow: hidden; }
.ma-card::after, .lock-head div:first-child::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 210, 122, .35), transparent 70%); pointer-events: none; }
.dash-stat { border: 1px solid #edf0f5; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.dash-stat > svg.lucide, .stat-with-lock .stat-tap > svg.lucide { border-radius: 16px; }
.stat-lock { background: linear-gradient(135deg, #f6d27a, #d9a441); color: #3a2600 !important; box-shadow: 0 6px 14px rgba(217, 164, 65, .35); }

/* Sidebar: soft active pill with a gold edge instead of a solid block */
.acc-side { border: 1px solid #edf0f5; }
.acc-side nav a.active { background: var(--brand-soft); color: var(--brand-2); box-shadow: inset 3px 0 0 #d9a441; font-weight: 600; }
.acc-side nav a.active svg.lucide { color: var(--brand); }
.acc-side nav a.active .acc-badge { background: var(--brand); color: #fff; }

/* Buttons in My ANONDO follow the brand */
.acc-body .btn-gold { background: linear-gradient(135deg, var(--brand-3), var(--brand-2)); color: #fff; border: 0; box-shadow: 0 8px 18px rgb(var(--brand-rgb) / .25); }
.acc-body .btn-gold:hover { filter: brightness(1.05); }

/* Quick actions in one family: the main action (Add Money) in gold, the rest clean white with brand icons */
.dash-quick a, .dash-quick button { border: 1px solid #edf0f5; }
.q-add { background: linear-gradient(135deg, #f6d27a, #d9a441) !important; color: #3a2600 !important; border-color: transparent !important; box-shadow: 0 8px 18px rgba(217, 164, 65, .3) !important; }
.q-add svg.lucide { color: #3a2600 !important; }
.q-send, .q-cash, .q-bill { background: #fff !important; color: var(--brand-2) !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important; }
.q-send svg.lucide, .q-cash svg.lucide, .q-bill svg.lucide { color: var(--brand) !important; }
.q-send:hover, .q-cash:hover, .q-bill:hover { background: var(--brand-tint) !important; border-color: rgb(var(--brand-rgb) / .25); }
.dash-refer { background: linear-gradient(110deg, var(--brand-2), var(--brand) 55%, var(--brand-3)) !important; }
.dash-refer > svg.lucide:first-child { background: linear-gradient(135deg, #f6d27a, #d9a441) !important; color: #3a2600 !important; }

/* ===== Checkout, refined: brand blue + gold, icons in fields, card-style payment, trust row, phone bar ===== */
.co { background: linear-gradient(180deg, var(--brand-tint), transparent 340px); }
.co-steps { gap: 0; padding: 6px; border-radius: 999px; background: #fff; border: 1px solid #edf0f5; display: inline-flex; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.co-steps li { padding: 6px 14px; border-radius: 999px; }
.co-steps li + li::before { display: none; }
.co-steps .on { background: var(--brand-soft); color: var(--brand-2); }
.co-steps .on span { background: var(--brand); color: #fff; }
.co-steps .done span { background: #16a34a; }
.co-card { border: 1px solid #edf0f5; border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .04); }
.co-card h2 > span { background: var(--brand); color: #fff; border: 0; border-radius: 9px; }
.co-card h2 .co-h-ico { margin-left: auto; width: 20px; height: 20px; color: var(--brand); opacity: .55; }
.co-in { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 0 12px; border: 1.5px solid #e4e8ef; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / .12); }
.co-in > svg.lucide { width: 18px; height: 18px; flex: none; color: #9aa4b2; }
.co-in:focus-within > svg.lucide { color: var(--brand); }
.co-in input, .co-in select, .co-in textarea { flex: 1; min-width: 0; height: 46px; border: 0 !important; box-shadow: none !important; outline: none; background: transparent !important; padding: 0 !important; font: inherit; font-size: 15px; }
.co-in-area { align-items: flex-start; }
.co-in-area > svg.lucide { margin-top: 13px; }
.co-in textarea { height: auto; min-height: 70px; padding: 12px 0 !important; resize: vertical; }
.co .field { font-size: 13px; font-weight: 600; color: #475467; }
.co-pay label { padding: 14px 16px; border-radius: 14px; border: 1.5px solid #e4e8ef; background: #fff; }
.co-pay label > svg.lucide { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.co-pay label:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / .1); }
.co-pay label:has(input:checked) > svg.lucide { background: var(--brand); color: #fff; }
.co-pay label > span:not(.co-dot) { flex: 1; min-width: 0; }
.co-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfd5df; display: grid; place-items: center; }
.co-pay label:has(input:checked) .co-dot { border-color: var(--brand); }
.co-pay label:has(input:checked) .co-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.co-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.co-trust li { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #edf0f5; }
.co-trust svg.lucide { width: 34px; height: 34px; padding: 7px; border-radius: 10px; flex: none; background: linear-gradient(135deg, #fbf1dc, #f6e3b4); color: #9a6b12; }
.co-trust b, .co-trust small { display: block; line-height: 1.25; }
.co-trust b { font-size: 13px; }
.co-trust small { font-size: 11.5px; color: var(--muted); }
.co-summary { border-top: 4px solid var(--brand); }
.co-summary h2 { font-size: 17px; }
.co-edit { color: var(--brand); }
.co-thumb { width: 58px; height: 58px; border-radius: 14px; background: var(--brand-tint); border-color: #e7ecf4; }
.co-thumb svg.lucide { color: #c9971e; }
.co-thumb b { background: var(--brand-2); }
.co-total dd { color: var(--brand-2); font-size: 24px; }
.co-place { border-radius: 14px; background: linear-gradient(135deg, var(--brand-3), var(--brand-2)) !important; color: #fff !important; border: 0; box-shadow: 0 10px 22px rgb(var(--brand-rgb) / .28); font-weight: 700; }
.co-place:hover { filter: brightness(1.06); }
.co-bal { background: var(--brand-tint); border-color: rgb(var(--brand-rgb) / .35); }
.co-bal h3 svg.lucide { color: var(--brand); }
.co-bal input { accent-color: var(--brand); }
.co-split { background: #fff8e6; border: 1px dashed #e8c66e; }
.co-mbar { display: none; }
@media (max-width: 960px) {
  .co-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e7ecf4; box-shadow: 0 -8px 24px rgba(16, 24, 40, .08); }
  .co-mbar small { display: block; font-size: 12px; color: var(--muted); }
  .co-mbar b { font-size: 19px; color: var(--brand-2); font-variant-numeric: tabular-nums; }
  .co-mbar .btn { flex: 1; max-width: 230px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-3), var(--brand-2)) !important; color: #fff !important; border: 0; font-weight: 700; padding: 13px; }
  .co { padding-bottom: 90px; }
  .co-side .co-place { display: none; }
  body:has(.co-mbar) .bottom-nav, body:has(.co-mbar) .mobile-nav { display: none; }
}
@media (max-width: 420px) { .co-trust { grid-template-columns: 1fr 1fr; } .co-trust li { padding: 10px; } }
/* Checkout polish: light hints in fields, the app bar stays away from the order bar, compact steps on phones */
.co-in input, .co-in select, .co-in textarea { font-weight: 500; color: var(--text); }
.co-in input::placeholder, .co-in textarea::placeholder { color: #a3acb9; font-weight: 400; }
body:has(.co-mbar) .app-banner { display: none; }
@media (max-width: 560px) {
  .co-steps { display: flex; width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .co-steps li { padding: 5px 9px; font-size: 13px; gap: 6px; }
  .co-steps span { width: 22px; height: 22px; font-size: 11px; }
}

/* ===== Footer: deep blue with gold, app band, visible logo, tidy columns ===== */
.ft { position: relative; margin-top: 40px; padding: 0; color: #c7d2e6; font-size: 14px;
  background: radial-gradient(700px 300px at 85% 0%, rgba(246, 210, 122, .10), transparent 60%), linear-gradient(180deg, #0b2a5c, #071a3d); border: 0; }
.ft::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #d9a441, #f6d27a, #d9a441); }
.ft-app { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ft-app-text { display: flex; align-items: center; gap: 14px; }
.ft-app-text img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.ft-app-text b { display: block; color: #fff; font-size: 17px; }
.ft-app-text span { color: #9fb0cc; font-size: 13px; }
.ft .app-badges { margin: 0; }
.ft .app-badge { background: #000; border-color: rgba(255, 255, 255, .25); }
.ft .footer-grid { padding: 34px 16px 10px; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.4fr; gap: 28px; }
.ft .footer-logo { width: 190px; height: auto; border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); margin-bottom: 14px; }
.ft .footer-brand p { color: #9fb0cc; line-height: 1.6; max-width: 300px; }
.ft h4 { position: relative; color: #fff; font-size: 15px; margin: 4px 0 16px; padding-bottom: 10px; }
.ft h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: #d9a441; }
.ft a { color: #c7d2e6; margin-bottom: 10px; transition: color .15s, transform .15s; }
.ft a:hover { color: #f6d27a; transform: translateX(3px); }
.ft a .bn { color: #8fa1c0; font-size: 12.5px; }
.ft .social { display: flex; gap: 8px; margin-top: 14px; }
.ft .social a { display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.ft .social a:hover { background: #d9a441; transform: none; }
.ft .social a:hover svg.lucide { color: #071a3d; }
.ft svg.lucide { color: #f6d27a; }
.ft-contact a, .ft-contact p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; color: #e3e9f4; }
.ft-contact svg.lucide { width: 34px; height: 34px; padding: 8px; flex: none; border-radius: 10px; background: rgba(246, 210, 122, .12); }
.ft-contact small { display: block; color: #8fa1c0; font-size: 11.5px; }
.ft-contact span { line-height: 1.35; word-break: break-word; }
.ft .footer-bottom { margin-top: 18px; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(0, 0, 0, .18); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; color: #8fa1c0; font-size: 12.5px; }
.ft .pay-badges { margin: 0; align-items: center; }
.ft .pay-badges > span { border: 0; background: none; padding: 0 4px 0 0; color: #8fa1c0; }
.ft .pay-badges b { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e3e9f4; }
@media (max-width: 900px) { .ft .footer-grid { grid-template-columns: 1fr 1fr; } .ft .footer-brand, .ft-contact { grid-column: 1 / -1; } }
@media (max-width: 560px) { .ft-app { flex-direction: column; align-items: flex-start; } .ft-bottom { flex-direction: column; align-items: flex-start; } body:has(.bottom-nav) .ft { padding-bottom: 64px; } }
/* Footer payment logos (official files from admin) on small white tiles */
.ft .pay-logo { display: inline-grid; place-items: center; height: 28px; min-width: 46px; padding: 3px 8px; border-radius: 6px; background: #fff; font-style: normal; }
.ft .pay-logo img { max-height: 20px; max-width: 72px; object-fit: contain; display: block; }

/* Bangla text: Noto Sans Bengali, a little more line height so letters with marks are not cramped */
:lang(bn), .bn, .hero-bn { line-height: 1.65; }
html[lang="bn"] body { letter-spacing: 0; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3, html[lang="bn"] h4 { font-weight: 700; letter-spacing: 0; }

/* ===== Footer, Gold Kinen style: logo | Company | Support | Policies | legal + social, then helpline / email / address / apps ===== */
.ft-top { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding: 46px 16px 26px; }
.ft-brand .ft-mark { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.ft-brand p { margin: 14px 0 0; color: #9fb0cc; font-size: 13px; line-height: 1.6; max-width: 220px; }
.ft-col h4, .ft-mid h4 { margin: 0 0 18px; color: #fff; font-size: 19px; font-weight: 700; padding: 0; }
.ft-col h4::after, .ft-mid h4::after { display: none; }
.ft-col a { display: block; margin: 0 0 15px; color: #dbe4f3; font-size: 14.5px; }
.ft-col a:hover, .ft-col a.on { color: #f6d27a; transform: none; }
.ft-legal p { margin: 0 0 14px; color: #fff; font-size: 14.5px; line-height: 1.5; }
.ft-legal small { display: block; color: #dbe4f3; font-size: 14px; }
.ft-social { display: flex; gap: 14px; margin-top: 22px; }
.ft-social a { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; border-radius: 9px; color: #fff; }
.ft-social a:hover { color: #f6d27a; background: rgba(255, 255, 255, .08); transform: none; }
.ft-mid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1.3fr; gap: 30px; padding: 8px 16px 30px; align-items: start; }
.ft-mid > div:first-child { grid-column: 2; }
.ft-mid a, .ft-mid p { display: block; margin: 0 0 6px; color: #fff; font-size: 15.5px; line-height: 1.7; }
.ft-mid a:hover { color: #f6d27a; transform: none; }
.ft-mid .ft-wa { font-size: 13px; color: #9fb0cc; }
.ft-mid .app-badges { justify-content: flex-start; align-self: center; }
.ft .app-badge { padding: 7px 14px 7px 10px; border-radius: 10px; background: #000; border: 1px solid rgba(255, 255, 255, .35); }
.ft-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 16px 18px; }
.ft-pay > span { color: #9fb0cc; font-size: 12.5px; margin-right: 4px; }
.ft-pay b { font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #e3e9f4; }
.ft-copy { border-top: 1px solid rgba(96, 140, 230, .45); padding: 16px; text-align: center; color: #dbe4f3; font-size: 14px; }
.ft-app, .ft .footer-grid, .ft .footer-bottom { display: none; }
@media (max-width: 980px) {
  .ft-top, .ft-mid { grid-template-columns: 1fr 1fr 1fr; }
  .ft-brand, .ft-legal { grid-column: 1 / -1; }
  .ft-mid > div:first-child { grid-column: auto; }
  .ft-mid .app-badges { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ft-top, .ft-mid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ft-col h4, .ft-mid h4 { font-size: 17px; margin-bottom: 12px; }
  .ft-col a { margin-bottom: 11px; }
}
.ft-mid .app-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; line-height: 1.1; font-size: 15px; } .ft-mid .app-badge small { display: block; font-size: 10px; }

/* Calm hover on My ANONDO icons: lift a little, brand border + soft glow; no dark fill, no ring, no bounce */
.ma-grid .ma-tile .ma-icon { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.ma-grid .ma-tile:hover .ma-icon:not(.ma-art), .ma-grid .ma-tile:focus-visible .ma-icon:not(.ma-art) {
  transform: translateY(-3px); color: var(--brand); background: linear-gradient(160deg, #fff, rgb(var(--brand-rgb) / .16));
  border-color: rgb(var(--brand-rgb) / .45); box-shadow: 0 10px 22px rgb(var(--brand-rgb) / .18);
}
.ma-grid .ma-tile:hover .ma-icon::after { opacity: 0 !important; }
.ma-grid .ma-tile:hover .ma-icon svg.lucide { animation: none !important; transform: scale(1.06); transition: transform .2s ease; }
.ma-grid .ma-tile:hover .ma-art { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(16, 24, 40, .12); }
.ma-grid .ma-tile:hover > span:last-child { color: var(--brand); }
.ma-grid .ma-tile:active .ma-icon { transform: translateY(-1px) scale(.97); }
/* Quick buttons and stat cards: gentle lift only */
.dash-q:hover, .dash-stat:hover { transform: translateY(-2px); filter: none; box-shadow: 0 10px 24px rgb(var(--brand-rgb) / .12) !important; }
/* Footer social: soft gold pill */
.ft-social a { transition: background .2s, color .2s, transform .2s; }
.ft-social a:hover { background: rgba(246, 210, 122, .14); color: #f6d27a; transform: translateY(-2px); }

/* Locked balance: its own card in the balance row */
.dash-stats:has(.stat-locked) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat-locked .stat-tap > svg.lucide { background: linear-gradient(135deg, #f6d27a, #b8862e) !important; color: #fff; }
.stat-locked em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--green); }
@media (max-width: 1100px) { .dash-stats:has(.stat-locked) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dash-stats:has(.stat-locked) { grid-template-columns: 1fr; } }

/* ===== Government-form look (registration & address): green header, bordered numbered rows, Bangla labels with English ===== */
.gf-card { max-width: 860px; margin: 22px auto; padding: 22px; border-radius: 6px; background: #fff; border: 1px solid #cfd8d3; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.gf-title { display: flex; align-items: center; gap: 14px; padding: 4px 0 14px; border-bottom: 3px double #006a4e; }
.gf-title img { width: 48px; height: 48px; border-radius: 10px; }
.gf-title b { display: block; font-size: 21px; color: #006a4e; }
.gf-title small { color: #5b6b63; font-size: 12.5px; }
.gf-lead { margin: 12px 0 16px; color: #374151; font-size: 14px; }
.gf { margin: 0 0 16px; border: 1px solid #b9c7bf; border-radius: 4px; overflow: hidden; background: #fff; }
.gf-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 14px; background: #006a4e; color: #fff; font-weight: 700; font-size: 15px; border-bottom: 3px solid #f42a41; }
.gf-head svg.lucide { width: 18px; height: 18px; color: #fff; }
.gf-head small { font-weight: 400; opacity: .85; font-size: 12px; }
.gf-row { display: grid; grid-template-columns: 250px minmax(0, 1fr); border-top: 1px solid #dbe3de; }
.gf-row:first-of-type { border-top: 0; }
.gf-label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: #f3f6f4; border-right: 1px solid #dbe3de; font-weight: 600; font-size: 14.5px; color: #1f2937; }
.gf-label small { display: block; font-weight: 400; font-size: 11.5px; color: #6b7280; }
.gf-no { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid #006a4e; border-radius: 4px; color: #006a4e; font-size: 12.5px; font-weight: 700; background: #fff; }
.gf-star { color: #d10a24; font-weight: 700; }
.gf-field { padding: 8px 12px; display: grid; gap: 6px; align-content: center; }
.gf-field input, .gf-field select { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #9fb3a8; border-radius: 3px; background: #fff; font: inherit; font-size: 14.5px; }
.gf-field input:focus, .gf-field select:focus { outline: none; border-color: #006a4e; box-shadow: 0 0 0 3px rgba(0, 106, 78, .15); }
.gf-field em { color: #d10a24; font-style: normal; font-size: 12.5px; }
.gf-short input { max-width: 120px; }
.gf-readonly { background: #f3f6f4 !important; color: #374151; }
.gf-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.gf-radios label { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; cursor: pointer; }
.gf-radios input { width: 17px; height: 17px; accent-color: #006a4e; }
.gf-radios small { color: #6b7280; font-size: 11.5px; }
.gf-note { margin: 8px 0 0; font-size: 12.5px; color: #4b5563; }
.gf-submit { background: #006a4e !important; color: #fff !important; border: 0; border-radius: 4px; box-shadow: none; }
.gf-submit:hover { background: #00563f !important; }
@media (max-width: 640px) {
  .gf-card { margin: 12px 0; padding: 14px; }
  .gf-row { grid-template-columns: 1fr; }
  .gf-label { border-right: 0; border-bottom: 1px dashed #dbe3de; padding: 8px 12px; }
}
.dash-stats:has(.stat-board) { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stat-board .stat-tap > svg.lucide { background: linear-gradient(135deg, #0b3a8a, #2f7ae5) !important; color: #fff; }
.stat-board em { display: block; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.ma-agent-no { padding: 1px 7px; border-radius: 6px; background: rgba(246, 210, 122, .25); color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* Statement: summary, filters, day groups with times, downloads */
.st-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.st-sum > div { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid #edf0f5; }
.st-sum svg.lucide { width: 40px; height: 40px; padding: 9px; border-radius: 12px; flex: none; }
.st-in svg.lucide { background: #dcfce7; color: #15803d; } .st-out svg.lucide { background: #fee2e2; color: #b91c1c; } .st-count svg.lucide { background: var(--brand-soft); color: var(--brand); }
.st-sum small { display: block; color: var(--muted); font-size: 12px; } .st-sum b { font-size: 19px; font-variant-numeric: tabular-nums; }
.st-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 10px; align-items: end; margin-bottom: 14px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #edf0f5; }
.st-filter label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: #475467; }
.st-filter input, .st-filter select { height: 40px; padding: 0 10px; border: 1.5px solid #e4e8ef; border-radius: 10px; font: inherit; font-weight: 500; background: #fff; }
.st-actions { display: flex; gap: 6px; }
.st-dl { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; border-top: 1px dashed #e4e8ef; padding-top: 10px; }
.st-dl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgb(var(--brand-rgb) / .3); color: var(--brand-2); font-weight: 600; font-size: 13.5px; background: var(--brand-tint); }
.st-dl-btn:hover { background: var(--brand-soft); }
.st-dl-btn svg.lucide { width: 16px; height: 16px; }
.st-day { display: flex; align-items: center; gap: 8px; margin: 16px 0 6px; padding-bottom: 6px; border-bottom: 1px solid #eef0f3; font-size: 13.5px; color: #475467; }
.st-day:first-child { margin-top: 0; }
.st-day svg.lucide { width: 16px; height: 16px; color: var(--brand); }
.st-day span { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; }
.tx-icon.tx-in { background: #dcfce7; color: #15803d; } .tx-icon.tx-out { background: #fee2e2; color: #b91c1c; }
.tx-ref svg.lucide { width: 12px; height: 12px; vertical-align: -1px; }
.tx-bal { display: block; font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .st-filter { grid-template-columns: 1fr 1fr; } .st-actions { grid-column: 1 / -1; } .st-sum { grid-template-columns: 1fr; } }

/* Amount box limited to the balance (account.js) */
.limit-note { display: block; margin-top: 6px; color: #b91c1c; font-style: normal; font-size: 13px; font-weight: 600; }
.calc-amount.shake, .co-amount.shake { animation: amt-shake .35s; border-color: #f87171 !important; }
@keyframes amt-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Saving details (like a bank DPS page) */
.saving-link { display: flex; align-items: center; gap: 8px; color: inherit; }
.saving-link small { display: inline-flex; align-items: center; color: var(--brand); font-weight: 600; font-size: 12px; }
.saving-link small svg.lucide { width: 14px; height: 14px; }
.sd-page { max-width: 760px; }
.sd-hero { padding: 22px; border-radius: 18px; background: var(--brand-tint); border: 1px solid rgb(var(--brand-rgb) / .15); margin-bottom: 14px; }
.sd-hero.sd-gold { background: linear-gradient(135deg, #fff8e6, #fdf0cf); border-color: #f1d9a0; }
.sd-hero.sd-silver { background: linear-gradient(135deg, #f5f7fa, #e8edf3); border-color: #d7dee8; }
.sd-hero.sd-diamond { background: linear-gradient(135deg, #eef6ff, #e3f0ff); border-color: #c9defa; }
.sd-hero small { color: #475467; font-size: 14px; }
.sd-big { display: block; font-size: 36px; line-height: 1.2; margin: 4px 0; color: var(--brand-2); font-variant-numeric: tabular-nums; }
.sd-upd { color: #475467; font-size: 13.5px; }
.sd-bar { height: 12px; border-radius: 99px; background: rgb(0 0 0 / .08); margin: 16px 0 12px; overflow: hidden; }
.sd-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-3, var(--brand))); }
.sd-done { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; }
.sd-done svg.lucide { width: 24px; height: 24px; color: var(--brand); }
.sd-left { margin: 8px 0 0; color: #475467; font-size: 13.5px; }
.sd-h { font-size: 14px; color: #6b7280; font-weight: 600; margin: 0 0 12px; }
.sd-org-row { display: flex; gap: 14px; align-items: center; }
.sd-org-row > div { flex: 1; display: grid; gap: 2px; }
.sd-org-row > div b { font-size: 16px; }
.sd-org-row > div span { color: #475467; font-size: 13.5px; }
.sd-logo { width: 56px; height: 56px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; border: 1px solid #edf0f5; }
.sd-acc { display: flex; gap: 14px; align-items: center; }
.sd-acc > svg.lucide { width: 34px; height: 34px; padding: 6px; border: 1.5px solid var(--brand); border-radius: 8px; color: var(--brand); flex: none; }
.sd-acc small { color: #6b7280; }
.sd-copy { display: flex; align-items: center; gap: 6px; }
.sd-copy input { border: 0; background: none; font: 600 18px/1.3 inherit; font-family: inherit; color: inherit; width: 100%; max-width: 260px; padding: 0; }
.sd-copy button { border: 0; background: none; color: var(--brand); cursor: pointer; padding: 4px; }
.sd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 !important; overflow: hidden; }
.sd-grid > div { padding: 16px 18px; border-bottom: 1px solid #eef0f3; }
.sd-grid > div:nth-child(odd) { border-right: 1px solid #eef0f3; }
.sd-grid small { display: block; color: #6b7280; font-size: 13px; }
.sd-grid b { display: block; font-size: 18px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.sd-grid b.pos { color: #15803d; } .sd-grid b.neg { color: #b91c1c; }
.sd-grid i { display: block; font-style: normal; color: #6b7280; font-size: 12px; }
.sd-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #f8fafc; color: #475467; font-size: 13.5px; margin: 0 0 14px; }
.sd-note svg.lucide { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 1px; }
.sd-split { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sd-split li { display: flex; gap: 8px; align-items: center; }
.sd-split li span { flex: 1; color: #475467; }
.sd-split li i { font-style: normal; color: #15803d; font-weight: 600; min-width: 80px; text-align: right; }
.sd-timeline { list-style: none; margin: 0; padding: 0; }
.sd-timeline li { display: grid; grid-template-columns: 76px 22px 1fr; gap: 8px; padding-bottom: 22px; position: relative; }
.sd-timeline li::before { content: ""; grid-column: 2; grid-row: 1; width: 12px; height: 12px; margin: 6px auto 0; border-radius: 50%; background: #c4c9d2; position: relative; z-index: 1; }
.sd-timeline li:not(:last-child)::after { content: ""; position: absolute; left: calc(76px + 8px + 10px); top: 22px; bottom: 2px; width: 3px; border-radius: 2px; background: #e5e7eb; }
.sd-timeline li.done::before { background: var(--brand); }
.sd-timeline li.done:not(:last-child)::after { background: rgb(var(--brand-rgb) / .3); }
.sd-timeline li.now::before { background: #fff; border: 3px solid var(--brand); width: 14px; height: 14px; }
.sd-timeline time { grid-column: 1; color: #6b7280; font-size: 13px; }
.sd-timeline time b { display: block; color: var(--ink, #111827); font-size: 16px; font-weight: 600; }
.sd-timeline li > div { grid-column: 3; }
.sd-timeline li > div b { display: block; font-size: 17px; }
.sd-timeline li > div span { color: #6b7280; font-size: 13.5px; }
.sd-actions { display: grid; gap: 10px; margin-top: 6px; }
@media (max-width: 560px) { .sd-big { font-size: 30px; } .sd-grid b { font-size: 16px; } .sd-grid > div { padding: 14px; } }

/* Top bar: keep items on one line; language as a বাং | EN toggle */
.topbar-inner span, .topbar-inner a { white-space: nowrap; }
.lang-toggle { display: inline-flex; gap: 2px !important; padding: 2px; border-radius: 8px; background: #eef1f5; }
.lang-toggle a { padding: 1px 9px; border-radius: 6px; font-weight: 600; font-size: 12px; line-height: 20px; color: #6b7280 !important; }
.lang-toggle a.active { background: #fff; color: var(--brand-d) !important; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }
.rate-credit { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.rate-credit a { color: var(--brand-d); text-decoration: underline; }
