/* Smart Bazar Daily Shop — ডিজাইন সিস্টেম */
@font-face { font-family: 'Hind Siliguri'; font-weight: 400; font-display: swap; src: url('../assets/fonts/HindSiliguri-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 500; font-display: swap; src: url('../assets/fonts/HindSiliguri-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 600; font-display: swap; src: url('../assets/fonts/HindSiliguri-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Hind Siliguri'; font-weight: 700; font-display: swap; src: url('../assets/fonts/HindSiliguri-Bold.ttf') format('truetype'); }

:root {
  --g: #1B7F3B; --g-d: #0F5A28; --g-l: #2FA354; --g-50: #EEF8F1; --g-100: #D8EFDF;
  --red: #D62839; --red-50: #FDECEE; --gold: #C9A227; --gold-l: #F3DE8A; --gold-50: #FBF5DD;
  --ink: #16241B; --ink-2: #44554A; --mut: #7A897F; --line: #E3EAE5; --bg: #F4F7F5; --card: #fff;
  --blue: #2563EB; --purple: #7C3AED; --orange: #EA7A0C;
  --r: 14px; --r-s: 10px; --sh: 0 1px 2px rgba(16, 40, 24, .05), 0 6px 20px rgba(16, 40, 24, .06); --sh-l: 0 10px 40px rgba(16, 40, 24, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a { color: var(--g); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.ic { flex: none; vertical-align: middle; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--mut); } .sm { font-size: 14px; } .xs { font-size: 12.5px; } .b { font-weight: 700; } .c { text-align: center; } .r { text-align: right; }
.row { display: flex; align-items: center; gap: 10px; } .row.sp { justify-content: space-between; } .wrap { flex-wrap: wrap; } .col { display: flex; flex-direction: column; gap: 10px; }
.grow { flex: 1; min-width: 0; } .gap-l { gap: 20px; } .mt { margin-top: 14px; } .mt-l { margin-top: 24px; } .mb { margin-bottom: 14px; }
.hide { display: none !important; }

/* ---------- বাটন ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; cursor: pointer; background: var(--g); color: #fff; transition: transform .08s, box-shadow .2s, background .2s; white-space: nowrap; line-height: 1.2; }
.btn:hover { background: var(--g-d); box-shadow: 0 4px 14px rgba(27, 127, 59, .3); }
.btn:active { transform: translateY(1px); }
.btn.red { background: var(--red); } .btn.red:hover { background: #b81f2f; box-shadow: 0 4px 14px rgba(214, 40, 57, .3); }
.btn.gold { background: linear-gradient(135deg, #E8C85A, #C9A227); color: #3b2f00; } .btn.gold:hover { box-shadow: 0 4px 14px rgba(201, 162, 39, .45); background: linear-gradient(135deg, #EFD26A, #BF991F); }
.btn.ghost { background: transparent; color: var(--g); border-color: var(--g-100); } .btn.ghost:hover { background: var(--g-50); box-shadow: none; }
.btn.light { background: #fff; color: var(--g-d); } .btn.light:hover { background: var(--g-50); }
.btn.line { background: #fff; color: var(--ink); border-color: var(--line); } .btn.line:hover { background: #f6f8f7; box-shadow: none; }
.btn.danger { background: #fff; color: var(--red); border-color: #f4c7cc; } .btn.danger:hover { background: var(--red-50); box-shadow: none; }
.btn.sm { padding: 6px 12px; font-size: 14px; border-radius: 10px; } .btn.lg { padding: 14px 26px; font-size: 18px; border-radius: 14px; } .btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink-2); position: relative; }
.icon-btn:hover { background: var(--g-50); color: var(--g); }

/* ---------- ফর্ম ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > label { font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.field .req::after { content: ' *'; color: var(--red); }
input[type=text], input[type=tel], input[type=number], input[type=password], input[type=email], select, textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--g); box-shadow: 0 0 0 4px rgba(27, 127, 59, .12); }
textarea { min-height: 84px; resize: vertical; }
.hint { font-size: 13px; color: var(--mut); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; } .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.seg { display: inline-flex; background: #eef2ef; padding: 4px; border-radius: 12px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--g-d); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.radio-cards label { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; display: flex; gap: 8px; align-items: center; font-weight: 600; background: #fff; }
.radio-cards input { accent-color: var(--g); }
.radio-cards label:has(input:checked) { border-color: var(--g); background: var(--g-50); }

/* ---------- কার্ড / KPI / ব্যাজ ---------- */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 20px; border: 1px solid rgba(0, 0, 0, .02); }
.card.flat { box-shadow: none; border: 1px solid var(--line); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h3 { font-size: 18px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border-radius: var(--r); padding: 16px 18px; box-shadow: var(--sh); display: flex; gap: 14px; align-items: center; position: relative; overflow: hidden; }
.kpi .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--g-50); color: var(--g); flex: none; }
.kpi.red .ico { background: var(--red-50); color: var(--red); } .kpi.gold .ico { background: var(--gold-50); color: #9a7a10; } .kpi.blue .ico { background: #E8EFFE; color: var(--blue); } .kpi.purple .ico { background: #F0E9FE; color: var(--purple); } .kpi.orange .ico { background: #FDF0E0; color: var(--orange); }
.kpi .v { font-size: 24px; font-weight: 700; line-height: 1.1; } .kpi .l { font-size: 13.5px; color: var(--mut); }
.kpi.link { cursor: pointer; transition: transform .12s, box-shadow .2s; } .kpi.link:hover { transform: translateY(-2px); box-shadow: var(--sh-l); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.b-green { background: #DCF5E4; color: #0d6a2e; } .b-blue { background: #E2ECFE; color: #1d4fc4; } .b-purple { background: #EEE5FD; color: #6027c9; } .b-orange { background: #FEEBD3; color: #b25a00; } .b-red { background: #FDE2E5; color: #b3202f; } .b-gray { background: #ECEFED; color: #55645a; } .b-gold { background: var(--gold-50); color: #86690a; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.alert { padding: 12px 14px; border-radius: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.alert.warn { background: #FFF6E0; color: #7a5a00; border: 1px solid #F3DE8A; } .alert.err { background: var(--red-50); color: #a01d2c; border: 1px solid #f4c7cc; } .alert.info { background: var(--g-50); color: var(--g-d); border: 1px solid var(--g-100); }
.empty { text-align: center; padding: 40px 16px; color: var(--mut); } .empty .ic { opacity: .5; margin-bottom: 8px; }

/* ---------- টেবিল ---------- */
.tbl-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; font-weight: 600; color: var(--mut); padding: 10px 12px; border-bottom: 1.5px solid var(--line); white-space: nowrap; background: #fafcfb; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; } .tbl tbody tr:hover { background: #fafcfb; } .tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
.tbl tr.click { cursor: pointer; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--g-100); color: var(--g-d); display: inline-grid; place-items: center; font-weight: 700; flex: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters input, .filters select { width: auto; min-width: 150px; padding: 8px 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; } .chip { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.chip.on { background: var(--g); color: #fff; border-color: var(--g); } .chip .n { opacity: .75; margin-left: 4px; }

/* ---------- টাইমলাইন ---------- */
.tl { position: relative; padding-left: 28px; } .tl::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-i { position: relative; padding-bottom: 16px; } .tl-i:last-child { padding-bottom: 0; }
.tl-i::before { content: ''; position: absolute; left: -24px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--g); }
.tl-i.pend::before { border-color: var(--line); } .tl-i.pend { color: var(--mut); } .tl-i.bad::before { border-color: var(--red); }
.stepper { display: flex; align-items: center; margin: 6px 0 4px; }
.stepper .st { flex: 1; text-align: center; position: relative; font-size: 12.5px; color: var(--mut); }
.stepper .st i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e9eeeb; color: #fff; margin: 0 auto 4px; font-style: normal; position: relative; z-index: 1; }
.stepper .st::before { content: ''; position: absolute; top: 14px; right: 50%; width: 100%; height: 3px; background: #e9eeeb; } .stepper .st:first-child::before { display: none; }
.stepper .st.done { color: var(--g-d); font-weight: 600; } .stepper .st.done i, .stepper .st.done::before { background: var(--g); }

/* ---------- চার্ট ---------- */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.bars .bar b { width: 100%; max-width: 38px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--g-l), var(--g)); min-height: 3px; transition: height .5s; position: relative; }
.bars .bar b:hover { filter: brightness(1.1); } .bars .bar span { font-size: 11px; color: var(--mut); white-space: nowrap; } .bars .bar em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.hbars { display: flex; flex-direction: column; gap: 10px; } .hbar { display: grid; grid-template-columns: 96px 1fr 84px; gap: 10px; align-items: center; font-size: 14px; }
.hbar .tr { background: #edf2ef; border-radius: 99px; height: 12px; overflow: hidden; } .hbar .tr i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--g), var(--g-l)); }
.donut { --p: 50; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--g) calc(var(--p) * 1%), #e9eeeb 0); display: grid; place-items: center; }
.donut::after { content: attr(data-l); width: 84px; height: 84px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }

/* ---------- টোস্ট / মডাল ---------- */
#toasts { position: fixed; top: 16px; right: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 32px); }
.toast { background: #143d22; color: #fff; padding: 12px 16px; border-radius: 12px; display: flex; gap: 10px; align-items: center; box-shadow: var(--sh-l); animation: tin .25s ease; max-width: 420px; }
.toast.err { background: #a01d2c; } .toast.out { opacity: 0; transform: translateX(20px); transition: .3s; }
@keyframes tin { from { opacity: 0; transform: translateY(-10px); } }
.modal-ov { position: fixed; inset: 0; background: rgba(10, 30, 18, .55); backdrop-filter: blur(3px); z-index: 1000; display: grid; place-items: center; padding: 16px; overflow: auto; animation: fin .15s; }
@keyframes fin { from { opacity: 0; } }
.modal { background: #fff; border-radius: 18px; padding: 24px; width: 100%; max-width: 520px; position: relative; box-shadow: var(--sh-l); max-height: calc(100vh - 32px); overflow: auto; }
.modal.wide { max-width: 760px; } .modal h3 { font-size: 20px; margin-bottom: 14px; padding-right: 30px; }
.modal-x { position: absolute; top: 12px; right: 12px; border: 0; background: #f0f4f1; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }

/* ---------- ব্র্যান্ড / লোগো ---------- */
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); } .logo img { height: 46px; width: auto; }
.logo-mark { display: flex; align-items: center; gap: 10px; } .logo-mark img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.logo-mark b { display: block; font-size: 17px; line-height: 1.1; color: var(--red); } .logo-mark small { display: block; font-size: 12px; color: var(--g-d); font-weight: 600; letter-spacing: .3px; }

/* ================= পাবলিক ল্যান্ডিং ================= */
.notice { background: var(--g-d); color: #e8f7ed; font-size: 14px; padding: 7px 0; } .notice .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.notice a { color: #fff; font-weight: 600; }
.pub-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.pub-head .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.pub-nav { display: flex; gap: 6px; margin-left: auto; align-items: center; } .pub-nav a.nl { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; } .pub-nav a.nl:hover { background: var(--g-50); color: var(--g); }
.menu-btn { display: none; margin-left: auto; }
.hero { background: radial-gradient(1200px 500px at 85% -10%, #d6f2df 0, transparent 60%), linear-gradient(180deg, #f2faf4, #fff); padding: 56px 0 40px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.15; letter-spacing: -.5px; } .hero h1 em { font-style: normal; color: var(--red); } .hero h1 span { color: var(--g); }
.hero p.lead { font-size: 19px; color: var(--ink-2); margin: 16px 0 24px; max-width: 560px; }
.hero-stats { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; } .hero-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; box-shadow: var(--sh); } .hero-stats b { display: block; font-size: 24px; color: var(--g); line-height: 1.1; } .hero-stats span { font-size: 13.5px; color: var(--mut); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-art .blob { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: linear-gradient(135deg, #cdeed7, #f6e7a3); filter: blur(2px); opacity: .9; }
.hero-art img.pack { position: relative; height: 430px; width: auto; border-radius: 26px; box-shadow: var(--sh-l); transform: rotate(3deg); border: 6px solid #fff; }
.hero-tag { position: absolute; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--sh-l); display: flex; gap: 10px; align-items: center; font-weight: 700; }
.hero-tag.t1 { left: 0; bottom: 60px; color: var(--red); } .hero-tag.t2 { right: 0; top: 40px; color: var(--g-d); } .hero-tag small { display: block; font-weight: 500; color: var(--mut); font-size: 12px; }
.sec { padding: 64px 0; } .sec.alt { background: #fff; } .sec-h { text-align: center; margin-bottom: 36px; } .sec-h h2 { font-size: 34px; } .sec-h p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }
.sec-h .kick { display: inline-block; color: var(--red); font-weight: 700; letter-spacing: .5px; font-size: 14px; margin-bottom: 8px; background: var(--red-50); padding: 3px 12px; border-radius: 99px; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.pkg { background: #fff; border-radius: 20px; box-shadow: var(--sh); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .15s, box-shadow .2s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-l); }
.pkg-top { background: linear-gradient(135deg, var(--g), var(--g-d)); color: #fff; padding: 20px 20px 16px; position: relative; }
.pkg-top .badge { background: rgba(255, 255, 255, .2); color: #fff; } .pkg-top h3 { font-size: 22px; margin-top: 10px; } .pkg-top p { font-size: 14px; opacity: .9; margin-top: 4px; }
.pkg-save { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-weight: 700; padding: 6px 12px; border-radius: 99px; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.pkg-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .pkg-price .now { font-size: 34px; font-weight: 700; color: var(--g-d); line-height: 1; } .pkg-price s { color: var(--mut); font-size: 17px; }
.pkg-save2 { color: var(--red); font-weight: 700; font-size: 14.5px; }
.pkg ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.pkg li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 5px; } .pkg li span:last-child { font-weight: 600; white-space: nowrap; color: var(--g-d); }
.pkg li.more { color: var(--mut); border: 0; cursor: pointer; justify-content: center; font-weight: 600; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.prod { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 14px; text-align: center; transition: transform .15s, box-shadow .2s; position: relative; }
.prod:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.prod .im { height: 130px; display: grid; place-items: center; background: linear-gradient(180deg, #f8fbf9, #eef5f0); border-radius: 12px; margin-bottom: 10px; } .prod .im img { max-height: 116px; width: auto; object-fit: contain; }
.prod .im .ph { color: var(--g-l); opacity: .7; } .prod h4 { font-size: 15px; min-height: 40px; }
.prod .pr { display: flex; justify-content: center; align-items: baseline; gap: 8px; margin-top: 6px; } .prod .pr b { font-size: 20px; color: var(--g-d); } .prod .pr s { color: var(--mut); font-size: 14px; }
.prod .off { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 99px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: #fff; border-radius: 18px; padding: 24px 20px; border: 1px solid var(--line); text-align: center; position: relative; }
.step .n { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step .i { width: 64px; height: 64px; border-radius: 20px; background: var(--g-50); color: var(--g); display: grid; place-items: center; margin: 6px auto 12px; } .step h4 { margin-bottom: 4px; } .step p { font-size: 14.5px; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; } .ticks li { display: flex; gap: 10px; align-items: flex-start; } .ticks .ic { color: var(--g); margin-top: 3px; }
.dealer-sec { background: linear-gradient(135deg, #0d4a22, #146f35 60%, #1b7f3b); color: #fff; position: relative; overflow: hidden; }
.dealer-sec::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(243, 222, 138, .12); }
.dealer-sec .sec-h p, .dealer-sec .sec-h h2 { color: #fff; } .dealer-sec .sec-h .kick { background: rgba(255, 255, 255, .15); color: var(--gold-l); }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 34px; position: relative; }
.perk { background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; padding: 18px; } .perk .ic { color: var(--gold-l); margin-bottom: 8px; } .perk b { display: block; font-size: 22px; color: var(--gold-l); } .perk span { font-size: 14.5px; opacity: .9; }
.apply { background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: var(--sh-l); position: relative; max-width: 900px; margin: 0 auto; }
.apply h3 { font-size: 24px; } .req-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.req-list span { background: var(--g-50); color: var(--g-d); padding: 5px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.footer { background: #0c2416; color: #b8cbbe; padding: 48px 0 24px; } .footer h4 { color: #fff; margin-bottom: 12px; } .footer a { color: #d6e6da; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; } .footer .copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 30px; padding-top: 16px; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--sh-l); }

/* ================= আইডি কার্ড ================= */
.idwrap { perspective: 1400px; width: 100%; max-width: 440px; margin: 0 auto; }
.idcard { position: relative; width: 100%; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .8, .2, 1); cursor: pointer; }
.idcard.flip { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; border-radius: 20px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; color: #fff; padding: 18px 20px; box-shadow: 0 18px 40px rgba(10, 50, 25, .35); display: flex; flex-direction: column; justify-content: space-between; }
.face.back { transform: rotateY(180deg); }
.card-cust .face { background: radial-gradient(500px 260px at 100% 0, rgba(243, 222, 138, .35), transparent 60%), linear-gradient(135deg, #17803a 0%, #0c5a2a 55%, #0a4a22 100%); }
.card-dealer .face { background: radial-gradient(500px 260px at 100% 0, rgba(243, 222, 138, .28), transparent 60%), linear-gradient(135deg, #1d1d1d 0%, #0e2b18 60%, #0a3b1c 100%); }
.face::before { content: ''; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(255, 255, 255, .06); }
.face::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #C9A227, #F3DE8A, #C9A227); }
.idc-top { display: flex; justify-content: space-between; align-items: flex-start; position: relative; z-index: 1; }
.idc-brand { display: flex; align-items: center; gap: 8px; } .idc-brand img { width: 38px; height: 38px; border-radius: 50%; background: #fff; padding: 2px; object-fit: cover; } .idc-brand b { display: block; font-size: 15px; line-height: 1.1; } .idc-brand small { font-size: 10.5px; opacity: .8; letter-spacing: .4px; }
.idc-type { background: linear-gradient(135deg, #F3DE8A, #C9A227); color: #3b2f00; font-weight: 700; font-size: 12px; padding: 3px 12px; border-radius: 99px; }
.idc-mid { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; position: relative; z-index: 1; }
.idc-name { font-size: 21px; font-weight: 700; line-height: 1.15; } .idc-no { font-family: 'Courier New', monospace; letter-spacing: 2px; font-size: 14.5px; color: var(--gold-l); margin-top: 3px; font-weight: 700; }
.idc-meta { display: flex; gap: 18px; font-size: 11.5px; margin-top: 8px; opacity: .92; } .idc-meta b { display: block; font-size: 13px; } .idc-meta small { opacity: .7; display: block; font-size: 10.5px; }
.idc-qr { background: #fff; padding: 4px; border-radius: 10px; flex: none; line-height: 0; }
.idc-avatar { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #F3DE8A, #C9A227); color: #3b2f00; display: grid; place-items: center; font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.face.back h5 { margin: 0 0 6px; color: var(--gold-l); font-size: 13.5px; } .face.back ul { margin: 0; padding-left: 18px; font-size: 11.5px; line-height: 1.55; opacity: .95; position: relative; z-index: 1; }
.face.back .sign { font-size: 11px; opacity: .85; position: relative; z-index: 1; }
.card-mini { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #17803a, #0c5a2a); color: #fff; }

/* ================= পোর্টাল শেল ================= */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-art { background: linear-gradient(160deg, #0d4a22, #1b7f3b 70%, #2fa354); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art::after { content: ''; position: absolute; right: -100px; bottom: -100px; width: 380px; height: 380px; border-radius: 50%; background: rgba(243, 222, 138, .14); }
.auth-art h2 { font-size: 34px; margin-bottom: 10px; } .auth-art .pk { position: relative; z-index: 1; } .auth-art img.hp { width: 260px; border-radius: 22px; border: 5px solid rgba(255, 255, 255, .85); box-shadow: var(--sh-l); align-self: flex-end; transform: rotate(3deg); position: relative; z-index: 1; }
.auth-form { display: grid; place-items: center; padding: 30px 20px; } .auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 28px; margin-bottom: 6px; }
.demo-quick { margin-top: 22px; background: var(--gold-50); border: 1px dashed #d9bf55; border-radius: 16px; padding: 16px; } .demo-quick h4 { font-size: 15px; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; color: #7a5f08; }
.demo-quick .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .demo-quick .btn { flex-direction: column; padding: 10px 6px; font-size: 14px; gap: 4px; }
.shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side { background: linear-gradient(180deg, #0c2f19, #0a2413); color: #cfe3d5; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo-mark { padding: 6px 8px 16px; } .side .logo-mark b { color: #fff; } .side .logo-mark small { color: var(--gold-l); }
.side .role-tag { margin: 0 8px 12px; padding: 6px 12px; border-radius: 10px; background: rgba(243, 222, 138, .14); color: var(--gold-l); font-size: 13px; font-weight: 600; }
.side a.nav { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #cfe3d5; font-weight: 500; position: relative; }
.side a.nav:hover { background: rgba(255, 255, 255, .07); color: #fff; } .side a.nav.on { background: linear-gradient(135deg, var(--g), var(--g-d)); color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.side a.nav .cnt { margin-left: auto; background: var(--red); color: #fff; font-size: 12px; min-width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; padding: 0 6px; font-weight: 700; }
.side .sep { height: 1px; background: rgba(255, 255, 255, .1); margin: 8px 6px; } .side .grow { flex: 1; }
.main { min-width: 0; display: flex; flex-direction: column; }
.ptop { height: 68px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 24px; position: sticky; top: 0; z-index: 30; }
.ptop h2 { font-size: 21px; } .ptop .sub { color: var(--mut); font-size: 14px; } .ptop .menu-btn { display: none; margin-left: 0; }
.userchip { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 99px; background: #f3f7f4; border: 1px solid var(--line); } .userchip .avatar { width: 34px; height: 34px; }
.content { padding: 24px; max-width: 1280px; width: 100%; margin: 0 auto; flex: 1; padding-bottom: 90px; }
.page-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; } .page-h h1 { font-size: 26px; } .page-h p { color: var(--mut); }
.two { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; } .two.eq { grid-template-columns: 1fr 1fr; } .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.overlay-nav { display: none; }

/* গ্রাহক শেল */
.cshell { min-height: 100vh; display: flex; flex-direction: column; }
.chead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; } .chead .container { display: flex; align-items: center; gap: 18px; height: 68px; }
.cnav { display: flex; gap: 4px; margin-left: 12px; } .cnav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-2); display: inline-flex; gap: 8px; align-items: center; } .cnav a:hover { background: var(--g-50); } .cnav a.on { background: var(--g-50); color: var(--g); }
.cbody { flex: 1; padding: 24px 0 100px; }
.bnav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 35; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
.bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--mut); padding: 6px 2px; border-radius: 12px; position: relative; font-weight: 600; } .bnav a.on { color: var(--g); background: var(--g-50); }
.bnav a .cnt { position: absolute; top: 2px; right: 22%; background: var(--red); color: #fff; font-size: 11px; min-width: 18px; height: 18px; border-radius: 99px; display: grid; place-items: center; }
.cart-cnt { position: absolute; top: -6px; right: -6px; background: var(--red); color: #fff; font-size: 11px; min-width: 19px; height: 19px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; }
.shop-hero { background: linear-gradient(135deg, var(--g), var(--g-d)); color: #fff; border-radius: 20px; padding: 22px 24px; display: flex; align-items: center; gap: 18px; margin-bottom: 20px; position: relative; overflow: hidden; }
.shop-hero::after { content: ''; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(243, 222, 138, .18); }
.shop-hero h2 { font-size: 22px; } .shop-hero p { opacity: .92; font-size: 15px; } .shop-hero .dealer-pill { background: rgba(255, 255, 255, .16); border-radius: 12px; padding: 8px 12px; font-size: 14px; margin-top: 8px; display: inline-flex; gap: 8px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; } .qty button { width: 36px; height: 36px; border: 0; background: #f4f8f5; cursor: pointer; display: grid; place-items: center; color: var(--g-d); } .qty button:hover { background: var(--g-100); } .qty span { min-width: 34px; text-align: center; font-weight: 700; }
.cart-line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); } .cart-line:last-child { border: 0; }
.sumbox { background: var(--g-50); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; } .sumbox .r2 { display: flex; justify-content: space-between; } .sumbox .tot { font-size: 21px; font-weight: 700; color: var(--g-d); border-top: 1px dashed #b7d9c2; padding-top: 10px; margin-top: 4px; }
.save-tag { color: var(--red); font-weight: 700; }

/* ডেমো বার */
.demobar { position: fixed; left: 14px; bottom: 14px; z-index: 900; }
.demobar > button { background: #1c1c1c; color: #F3DE8A; border: 0; border-radius: 99px; padding: 10px 16px; font-weight: 700; cursor: pointer; display: flex; gap: 8px; align-items: center; box-shadow: var(--sh-l); font-size: 14px; }
.demobar .menu { position: absolute; bottom: 52px; left: 0; background: #fff; border-radius: 16px; box-shadow: var(--sh-l); padding: 8px; min-width: 240px; border: 1px solid var(--line); display: none; }
.demobar.open .menu { display: block; } .demobar .menu a, .demobar .menu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink); font-weight: 600; text-align: left; } .demobar .menu a:hover, .demobar .menu button:hover { background: var(--g-50); }
.demobar .menu .cur { background: var(--gold-50); } .demobar .menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; } .demobar .menu .t { font-size: 12px; color: var(--mut); padding: 4px 12px; }

/* ================= রেসপন্সিভ ================= */
@media (max-width: 1000px) {
  .hero .container, .split { grid-template-columns: 1fr; } .hero h1 { font-size: 40px; } .hero-art { min-height: 340px; } .hero-art img.pack { height: 340px; } .hero-art .blob { width: 340px; height: 340px; }
  .steps { grid-template-columns: repeat(2, 1fr); } .two, .two.eq, .three { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; }
  .shell { grid-template-columns: 1fr; } .side { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 200; transform: translateX(-100%); transition: transform .25s; } .shell.nav-open .side { transform: none; box-shadow: var(--sh-l); }
  .shell.nav-open .overlay-nav { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 150; }
  .ptop .menu-btn { display: inline-grid; } .ptop { padding: 0 14px; } .content { padding: 16px 14px 90px; }
  .footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; } .pub-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-l); } .pub-nav.open { display: flex; } .menu-btn { display: inline-grid; }
  .hero { padding: 32px 0 20px; } .hero h1 { font-size: 33px; } .hero p.lead { font-size: 17px; } .sec { padding: 44px 0; } .sec-h h2 { font-size: 27px; }
  .steps { grid-template-columns: 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; } .apply { padding: 20px 16px; }
  .cnav { display: none; } .bnav { display: flex; } .chead .container { height: 60px; } .cbody { padding-top: 16px; }
  .kpi { padding: 12px; gap: 10px; } .kpi .v { font-size: 20px; } .kpi .ico { width: 40px; height: 40px; }
  .hbar { grid-template-columns: 78px 1fr 70px; } .hero-tag { display: none; } .page-h h1 { font-size: 22px; } .demobar { bottom: 74px; }
  .userchip .nm { display: none; } .modal { padding: 20px 16px; } .shop-hero { flex-direction: column; align-items: flex-start; }
  .idc-name { font-size: 18px; } .face { padding: 14px 16px; } .demo-quick .btns { grid-template-columns: 1fr; }
}
@media print {
  body * { visibility: hidden; } .print-area, .print-area * { visibility: visible; } .print-area { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 430px; }
  .idcard { transform: none !important; } .face { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; } .face.back { display: none; }
}
