:root {
  --primary: #F7311E;
  --primary-dark: #D61F0E;
  --primary-soft: #FFECEA;
  --accent: #FAAF00;
  --text: #1A1A1A;
  --muted: #6B6F76;
  --bg: #F6F6F8;
  --surface: #FFFFFF;
  --border: #E4E5E9;
  --success: #0E9F6E;
  --warning: #D97706;
  --danger: #DC2626;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Hind Siliguri', system-ui, sans-serif; font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
main { min-height: 60vh; padding-top: 20px; padding-bottom: 48px; outline: none; }

/* Top bar & header */
.topbar { background: #17181A; color: #fff; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar a { font-weight: 600; white-space: nowrap; }
.header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 46px; width: auto; }
.search { flex: 1; display: flex; border: 2px solid var(--primary); border-radius: 12px; overflow: hidden; background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; outline: none; background: transparent; }
.search button { border: 0; background: var(--primary); color: #fff; padding: 0 18px; display: flex; align-items: center; }
.search button:hover { background: var(--primary-dark); }
.header-actions { display: flex; gap: 8px; }
.hbtn { position: relative; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.hbtn:hover { background: var(--primary-soft); color: var(--primary-dark); }
.cart-count { position: absolute; top: 0; left: 24px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--primary); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.cart-count[hidden] { display: none; }
.catbar { border-top: 1px solid var(--border); }
.catbar-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catbar-in a { padding: 9px 12px; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 2px solid transparent; color: var(--muted); }
.catbar-in a:hover, .catbar-in a.active { color: var(--primary); border-bottom-color: var(--primary); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 28px; }
.hero-main { position: relative; overflow: hidden; border-radius: 20px; background: linear-gradient(120deg, #F7311E, #FF6A3D); color: #fff; padding: 40px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; }
.hero-main h1 { font-size: 38px; line-height: 1.2; margin: 0 0 10px; max-width: 60%; }
.hero-main p { margin: 0 0 22px; max-width: 55%; opacity: .95; font-size: 17px; }
.hero-main img { position: absolute; right: -30px; bottom: -30px; width: 46%; border-radius: 50%; border: 8px solid rgba(255,255,255,.25); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.hero-side { display: grid; gap: 16px; }
.promo { border-radius: 20px; padding: 22px; display: flex; align-items: center; gap: 14px; background: #FFF6DF; }
.promo.alt { background: #E9F7F1; }
.promo img { width: 96px; height: 96px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.promo h3 { margin: 0 0 4px; font-size: 18px; }
.promo p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.promo a { color: var(--primary-dark); font-weight: 700; font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 22px; font-weight: 700; font-size: 15px; background: var(--primary); color: #fff; transition: background .15s; }
.btn:hover { background: var(--primary-dark); }
.btn.light { background: #fff; color: var(--primary-dark); }
.btn.light:hover { background: var(--primary-soft); }
.btn.outline { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn.outline:hover { background: var(--primary-soft); }
.btn.block { width: 100%; }
.btn:disabled { background: #C9CBD1; color: #fff; border-color: transparent; cursor: not-allowed; }
.hero .btn { align-self: flex-start; }

/* Sections */
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 32px 0 14px; }
.sec h2 { margin: 0; font-size: 22px; }
.sec a { color: var(--primary); font-weight: 600; font-size: 14px; }
.page-title { font-size: 26px; margin: 4px 0 18px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--primary); }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 10px; text-align: center; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.07); border-color: var(--primary-soft); }
.cat img { width: 64px; height: 64px; margin: 0 auto 8px; object-fit: contain; }
.cat b { display: block; font-size: 15px; font-weight: 600; }
.cat small { color: var(--muted); font-size: 12px; }

/* Product grid & cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.thumb { position: relative; aspect-ratio: 1; background: #F5F5F7; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); font-size: 54px; font-weight: 700; opacity: .75; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #17181A; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; }
.badge.wtb { top: auto; bottom: 10px; left: auto; right: 10px; background: #fff; color: #17181A; border: 1px solid var(--border); }
.per { font-size: 13px; font-weight: 600; color: var(--muted); }
.qty.wt span { min-width: 84px; font-size: 14px; }
.wt-box { display: grid; gap: 8px; margin-bottom: 14px; }
.wt-box .chip { cursor: pointer; font-weight: 600; }
.wt-box .chip:disabled { opacity: .4; cursor: not-allowed; background: #fff; border-color: var(--border); color: var(--muted); }
.wt-total { font-size: 16px; }
.wt-total b { color: var(--primary-dark); font-size: 19px; }
.badge.ws {top: auto; bottom: 10px; background: #0E9F6E; color: #fff; }
.ws-box { border: 1.5px dashed #0E9F6E; background: #F0FAF6; border-radius: 14px; padding: 14px 16px; margin-bottom: 20px; display: grid; gap: 10px; }
.ws-head { display: flex; gap: 10px; align-items: center; }
.ws-head span { font-size: 26px; }
.ws-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ws-row label { font-weight: 600; font-size: 14px; }
.ws-row input { width: 100px; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 12px; outline: none; }
.ws-row input:focus { border-color: #0E9F6E; }
.btn.wa { background: #25D366; color: #fff; }
.btn.wa:hover { background: #1EB257; }
.badge.out {background: #17181A; color: #fff; left: auto; right: 10px; }
.card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-name { font-size: 14px; font-weight: 500; line-height: 1.35; min-height: 38px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-name:hover { color: var(--primary); }
.unit { font-size: 12px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 8px; }
.price { font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.card .btn { margin-top: auto; padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; font-weight: 600; }
.qty button:hover:not(:disabled) { background: var(--primary-soft); color: var(--primary); }
.qty button:disabled { color: #C9CBD1; cursor: not-allowed; }
.qty span { min-width: 36px; text-align: center; font-weight: 700; }
.card .qty { margin-top: auto; width: 100%; justify-content: space-between; border-color: var(--primary); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.trust div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: flex; gap: 12px; align-items: center; }
.trust span { font-size: 28px; }
.trust b { display: block; font-size: 15px; }
.trust small { color: var(--muted); }

/* Filters toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar select { border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; background: #fff; font: inherit; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.pd-img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #F5F5F7; position: relative; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-img .ph { font-size: 120px; }
.pd h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
.pd .price { font-size: 30px; }
.pd .old { font-size: 17px; }
.save { background: var(--accent); color: #17181A; font-weight: 700; font-size: 13px; padding: 2px 10px; border-radius: 6px; }
.stock { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 6px; margin: 6px 0 18px; }
.stock.in { color: var(--success); }
.stock.out { color: var(--danger); }
.pd-desc { color: #3D4047; margin: 0 0 20px; }
.pd-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.pd-info { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }

/* Cart & checkout */
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.panel h3 { margin: 0 0 14px; font-size: 18px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.line:last-child { border-bottom: 0; }
.line .thumb { width: 80px; border-radius: 10px; overflow: hidden; }
.line .ph { font-size: 30px; }
.line-name { font-weight: 600; }
.line-name:hover { color: var(--primary); }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 0; text-decoration: underline; }
.link-btn:hover { color: var(--danger); }
.sum { display: flex; justify-content: space-between; margin: 8px 0; }
.sum.total { font-size: 19px; font-weight: 700; border-top: 1px dashed var(--border); padding-top: 12px; margin-top: 12px; }
.sum.total span:last-child { color: var(--primary-dark); }
.note { background: #FFF6DF; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 12px 0; }
.sticky { position: sticky; top: 140px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field textarea { border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 13px; background: #fff; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.err { color: var(--danger); font-size: 13px; min-height: 0; }
.pay { display: flex; gap: 12px; align-items: center; border: 2px solid var(--primary); border-radius: 12px; padding: 12px 14px; background: var(--primary-soft); }
.pay span { font-size: 26px; }
.mini { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin: 6px 0; }
.mini span:first-child { color: var(--muted); }

/* Orders */
.order { margin-bottom: 16px; }
.order-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.order-head b { font-size: 17px; }
.status { font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.st-pending { background: #FFF6DF; color: var(--warning); }
.st-confirmed { background: #E8F0FF; color: #2456C8; }
.st-shipped { background: #F1E9FF; color: #6D3BD2; }
.st-delivered { background: #E9F7F1; color: var(--success); }
.st-cancelled { background: #F1F1F3; color: var(--muted); }
.steps { display: flex; gap: 6px; margin: 12px 0; }
.steps i { flex: 1; height: 6px; border-radius: 3px; background: var(--border); }
.steps i.on { background: var(--success); }
.order-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 10px; }

/* Empty / states */
.empty { text-align: center; padding: 60px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.empty .big { font-size: 56px; }
.empty h2 { margin: 8px 0; }
.empty p { color: var(--muted); margin: 0 0 18px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: #E9F7F1; color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 40px; }
.skeleton { background: linear-gradient(90deg, #ECEDF0 0%, #F6F6F8 50%, #ECEDF0 100%); background-size: 200% 100%; animation: sh 1.2s infinite; border-radius: var(--radius); min-height: 280px; }
@keyframes sh { to { background-position: -200% 0; } }

/* Footer */
.footer { background: #17181A; color: #C9CBD1; padding: 40px 0 0; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer-logo { height: 52px; width: auto; border-radius: 6px; margin-bottom: 10px; }
.footer h4 { color: #fff; margin: 0 0 10px; }
.footer a { display: block; margin-bottom: 6px; }
.footer a:hover { color: #fff; }
.copyright { border-top: 1px solid #2C2E33; margin-top: 30px; padding-top: 14px; padding-bottom: 18px; font-size: 13px; }

/* Bottom nav (mobile only) */
.bottom-nav { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: #17181A; color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .pd { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  body { padding-bottom: 64px; }
  .topbar-in span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-in { flex-wrap: wrap; gap: 10px; }
  .logo img { height: 38px; }
  .header-actions { display: none; }
  .search { order: 3; flex-basis: 100%; }
  .hero-main { padding: 24px; min-height: 230px; }
  .hero-main h1 { font-size: 26px; max-width: 70%; }
  .hero-main p { font-size: 15px; max-width: 62%; }
  .hero-main img { width: 50%; right: -40px; bottom: -40px; }
  .hero-side { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cats { gap: 8px; }
  .cat { padding: 12px 6px; }
  .cat img { width: 46px; height: 46px; }
  .cat b { font-size: 13px; }
  .cat small { display: none; }
  .trust { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 18px; }
  .pd { padding: 14px; }
  .pd h1 { font-size: 22px; }
  .line { grid-template-columns: 64px 1fr; }
  .line .thumb { width: 64px; }
  .line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .toast { bottom: 80px; }
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); z-index: 30; }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); padding: 8px 0; position: relative; }
  .bottom-nav a.active { color: var(--primary); }
  .bottom-nav .cart-count { left: 50%; top: 4px; margin-left: 4px; }
}

/* ---------- আসল ডেটার জন্য নতুন অংশ ---------- */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 7px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-bottom: 18px; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banner { scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: var(--primary-soft); min-width: 0; }
.banner img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; }
@media (max-width: 960px) { .banners { grid-auto-columns: 88%; } }
.trust { margin-top: 0; margin-bottom: 8px; }
.flash-head { align-items: center; }
.countdown { background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.hrow { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.hrow .card { scroll-snap-align: start; }
@media (max-width: 680px) { .hrow { grid-auto-columns: 46%; gap: 10px; } }
.cats .cat b { font-size: 14px; }
.per { font-size: 13px; font-weight: 600; color: var(--muted); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); padding: 0; background: #fff; }
.tb.on { border-color: var(--primary); }
.tb img { width: 100%; height: 100%; object-fit: cover; }
.wt-box .chip:disabled { opacity: .4; cursor: not-allowed; }
.desc { margin-top: 20px; }
.desc p { white-space: pre-line; color: #3D4047; margin: 0; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { flex: 1; min-width: 0; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.coupon .btn { padding: 9px 14px; }
.ok { color: var(--success); font-weight: 700; }
.auth { max-width: 440px; margin: 20px auto; }
.auth .otp { font-size: 26px; letter-spacing: 14px; text-align: center; }
.auth .link-btn { display: block; margin: 14px auto 0; color: var(--primary); }
.auth .btn.block { margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 680px) { .field-row { grid-template-columns: 1fr; } }
.field select { border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 13px; background: #fff; font: inherit; }
.field select:disabled { background: #F3F3F5; }
.field.invalid select { border-color: var(--danger); }
.pay { cursor: pointer; margin-bottom: 10px; border: 1.5px solid var(--border); background: #fff; }
.pay.on { border: 2px solid var(--primary); background: var(--primary-soft); }
.pay input { accent-color: var(--primary); }
.online { border: 1px dashed var(--border); border-radius: 12px; padding: 12px; margin-top: 4px; }
.online .note { margin: 0 0 12px; }
.shot { width: 90px; height: 90px; object-fit: cover; border-radius: 10px; margin-top: 8px; }
.page-head { display: flex; justify-content: space-between; align-items: center; }
a.btn { text-align: center; }
.armed { background: var(--danger) !important; color: #fff !important; border-color: var(--danger) !important; }
.rich { color: #3D4047; line-height: 1.7; }
.rich p { margin: 0 0 8px; }
.rich ul, .rich ol { margin: 0 0 10px; padding-left: 20px; }
.rich li { margin-bottom: 4px; }
.rich li p { margin: 0; }
.rich strong, .rich b { color: var(--text); }

/* ================= নতুন হোমপেজ ডিজাইন ================= */
main { padding-top: 16px; }
.home-hero { display: grid; grid-template-columns: 250px 1fr; gap: 16px; margin-bottom: 16px; }
.side-skel { min-height: 300px; }
.side-cats { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 10px; display: flex; flex-direction: column; }
.side-cats h3 { margin: 4px 8px 6px; font-size: 15px; color: var(--muted); font-weight: 600; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.side-cats a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.side-cats a img, .side-cats .ci-ph { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.side-cats a span:nth-child(2) { flex: 1; }
.side-cats i { font-style: normal; color: var(--muted); }
.side-cats .hl { color: var(--primary-dark); font-weight: 600; }
.slider { position: relative; border-radius: 18px; overflow: hidden; background: var(--primary-soft); min-height: 220px; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 100%; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.slide img { width: 100%; height: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
.sarrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 24px; line-height: 1; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.sarrow.left { left: 12px; } .sarrow.right { right: 12px; }
.dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.6); transition: width .2s; }
.dots button.on { width: 22px; background: #fff; }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 18px; }
.perks div { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-right: 1px solid var(--border); }
.perks div:last-child { border-right: 0; }
.perks span { font-size: 22px; }
.perks p { margin: 0; }
.perks b { display: block; font-size: 14px; }
.perks small { color: var(--muted); font-size: 12px; }

.cat-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 22px; }
.cat-strip a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.cat-strip .ci { width: 76px; height: 76px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s; }
.cat-strip a:hover .ci { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.08); border-color: var(--primary-soft); }
.cat-strip .ci img { width: 46px; height: 46px; object-fit: contain; }
.cat-strip b { font-size: 13px; font-weight: 600; }

.flash-band { background: linear-gradient(135deg, #F7311E, #FF7A45); border-radius: 18px; padding: 14px 14px 16px; margin-bottom: 22px; }
.flash-top { display: flex; align-items: center; gap: 12px; margin: 0 4px 12px; color: #fff; }
.flash-top h2 { margin: 0; font-size: 21px; }
.flash-top .countdown { background: rgba(0,0,0,.22); color: #fff; }
.flash-top a { margin-left: auto; color: #fff; font-weight: 600; font-size: 14px; }

section.block { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; margin-bottom: 22px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.block-head h2 { margin: 0; font-size: 20px; }
.block-head a { color: var(--primary); font-weight: 600; font-size: 14px; }
section.block .card { border-color: #EFEFF2; }
.more { text-align: center; margin-top: 16px; }

.rowwrap { position: relative; }
.rowwrap .hrow { scrollbar-width: none; grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; padding-bottom: 2px; }
.rowwrap .hrow::-webkit-scrollbar { display: none; }
.rarrow { position: absolute; top: 38%; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; font-size: 22px; line-height: 1; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.rarrow.left { left: -10px; } .rarrow.right { right: -10px; }

.call-band { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #17181A; color: #fff; border-radius: 18px; padding: 22px 26px; margin-bottom: 10px; }
.call-band h3 { margin: 0 0 4px; font-size: 20px; }
.call-band p { margin: 0; color: #C9CBD1; }
.call-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* পরিষ্কার কার্ড */
.grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.card { border-radius: 14px; }
.thumb { background: #fff; border-bottom: 1px solid #F1F1F4; }
.thumb img { object-fit: contain; padding: 8px; }
.card-body { padding: 10px 12px 12px; gap: 2px; }
.card-name { font-size: 14px; min-height: 38px; }
.card .unit { font-size: 12px; min-height: 18px; }
.price-row { margin: 4px 0 8px; }
.price { font-size: 17px; }
.card-action .btn, .card-action .qty { width: 100%; }
.card .btn { padding: 7px 10px; font-size: 13px; }
.badge { font-size: 11px; padding: 1px 7px; top: 8px; left: 8px; }
.badge.ws, .badge.wtb { bottom: 8px; }
.badge.out { right: 8px; }

@media (max-width: 960px) {
  .home-hero { grid-template-columns: 1fr; }
  .side-cats, .side-skel { display: none; }
  .perks { grid-template-columns: 1fr 1fr; }
  .perks div:nth-child(2) { border-right: 0; }
  .perks div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .rowwrap .hrow { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
}
@media (max-width: 680px) {
  .slide img { aspect-ratio: 2 / 1; }
  .sarrow { display: none; }
  .cat-strip { grid-template-columns: repeat(6, 76px); overflow-x: auto; scrollbar-width: none; }
  .cat-strip .ci { width: 64px; height: 64px; }
  .cat-strip .ci img { width: 38px; height: 38px; }
  .cat-strip b { font-size: 12px; }
  .perks div { padding: 10px; }
  .rowwrap .hrow { grid-auto-columns: 44%; gap: 10px; }
  .rarrow { display: none; }
  section.block { padding: 12px; border-radius: 14px; }
  .block-head h2, .flash-top h2 { font-size: 17px; }
  .flash-top { flex-wrap: wrap; gap: 8px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .call-band { padding: 18px; }
}

/* রিলস */
.rowwrap .hrow.reels { grid-auto-columns: 170px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 0; padding: 0; background: #111; text-align: left; }
.reel img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .2s; }
.reel:hover img { transform: scale(1.04); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.8)); }
.reel .play { position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.reel-info { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.reel-info b { font-size: 12.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel-info small { font-size: 11px; opacity: .85; }
@media (max-width: 680px) { .rowwrap .hrow.reels { grid-auto-columns: 38%; } }
.rarrow[hidden] { display: none; }

/* ফ্ল্যাশ সেল — একাধিক গ্রুপ */
.flash-band.light .flash-top { color: var(--text); }
.flash-band.light .flash-top .countdown { background: var(--primary); }
.flash-band.light .flash-top a { color: var(--primary-dark); }
.flash-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 12px; align-items: stretch; }
.flash-banner { display: block; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.3); }
.flash-banner img { width: 100%; height: 100%; object-fit: cover; }
.flash-body .rowwrap .hrow { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
.flash-tabs { margin-bottom: 14px; }
.flash-hero { display: flex; gap: 18px; align-items: center; background: linear-gradient(135deg, #F7311E, #FF7A45); color: #fff; border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.flash-hero img { width: 180px; height: 180px; object-fit: cover; border-radius: 14px; }
.flash-hero h1 { margin: 0 0 6px; font-size: 26px; }
.flash-hero p { margin: 0 0 10px; opacity: .95; }
.flash-hero .countdown { background: rgba(0,0,0,.22); }
@media (max-width: 960px) {
  .flash-body { grid-template-columns: 1fr; }
  .flash-banner img { aspect-ratio: 3 / 1; height: auto; }
  .flash-body .rowwrap .hrow { grid-auto-columns: calc((100% - 2 * 12px) / 3); }
}
@media (max-width: 680px) {
  .flash-body .rowwrap .hrow { grid-auto-columns: 44%; }
  .flash-hero { flex-direction: column; align-items: flex-start; }
  .flash-hero img { width: 100%; height: auto; aspect-ratio: 2 / 1; }
  .flash-hero h1 { font-size: 21px; }
}
.flash-note { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; font-size: 13px; padding: 4px 12px; border-radius: 999px; margin: -8px 0 14px; }

/* সাব / চাইল্ড ক্যাটাগরি */
.subcat-wrap { margin: -6px 0 16px; }
.subcat-wrap > .unit { display: block; margin-bottom: 8px; font-weight: 600; }
.subcats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.subcats.row { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.subcats.row::-webkit-scrollbar { display: none; }
.subcat { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px 8px 8px; font-size: 14px; white-space: nowrap; transition: border-color .15s, background .15s; }
.subcats.row .subcat { flex: 0 0 auto; }
.subcat:hover { border-color: var(--primary); }
.subcat.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-dark); }
.subcat b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.sc-ic { width: 36px; height: 36px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 700; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.sc-ic img { width: 100%; height: 100%; object-fit: cover; }
.subcat.all .sc-ic { background: #F1F1F4; color: var(--text); }
.cat-block .block-head h2 { display: flex; align-items: center; gap: 10px; }
.cb-ic { width: 32px; height: 32px; object-fit: contain; }

/* মেনুর ড্রপডাউন */
.catbar-in { overflow: visible; }
.dd { position: relative; }
.dd > a { display: inline-block; }
.caret { font-size: 10px; opacity: .6; }
.dd-panel { display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 240px; max-height: 70vh; overflow-y: auto; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.14); padding: 8px; }
.dd:hover .dd-panel:not(:empty), .dd:focus-within .dd-panel:not(:empty) { display: block; }
.dd-panel a { display: block; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--text); border: 0; white-space: nowrap; }
.dd-panel a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.dd-title { display: block; padding: 4px 10px 6px; font-size: 13px; color: var(--muted); }
.dd-panel .dd-all { color: var(--primary); font-weight: 600; border-top: 1px solid var(--border); margin-top: 4px; border-radius: 0 0 8px 8px; }
@media (max-width: 680px) { .catbar-in { overflow-x: auto; } .dd-panel, .caret { display: none !important; } }

/* সার্চ সাজেশন */
.search { position: relative; overflow: visible; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.16); overflow: hidden; max-height: 70vh; overflow-y: auto; }
.sug { display: flex; align-items: center; gap: 10px; padding: 8px 12px; font-size: 14px; border-bottom: 1px solid #F3F3F5; }
.sug img, .sug-ic { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fafafa; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.sug-txt { display: flex; flex-direction: column; min-width: 0; }
.sug-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sug small { color: var(--primary-dark); font-weight: 600; font-size: 12px; }
.sug.cat small { color: var(--muted); font-weight: 400; }
.sug mark { background: #FFF1B8; color: inherit; border-radius: 3px; }
.sug:hover, .sug.on { background: var(--primary-soft); }
.sug.all { justify-content: center; color: var(--primary); font-weight: 700; border-bottom: 0; }
.sug-note { padding: 14px; text-align: center; color: var(--muted); font-size: 14px; }
.search button { border-radius: 0 9px 9px 0; } .search input { border-radius: 10px 0 0 10px; }
@media (min-width: 681px) { .catbar-in { flex-wrap: wrap; } }
.ws-intro { background: #F0FAF6; border: 1px dashed #0E9F6E; border-radius: 12px; padding: 10px 14px; margin: -6px 0 14px; font-size: 14px; }
.search .mic { background: #fff !important; color: var(--muted); border-radius: 0 !important; padding: 0 12px; border-left: 1px solid var(--border) !important; }
.search .mic:hover { color: var(--primary); }
.scanbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.75); display: flex; align-items: center; justify-content: center; padding: 16px; }
.scan-panel { position: relative; width: min(420px, 100%); background: #000; border-radius: 16px; overflow: hidden; color: #fff; text-align: center; }
.scan-panel video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.scan-frame { position: absolute; left: 10%; right: 10%; top: 32%; height: 22%; border: 3px solid #fff; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; }
.scan-panel p { margin: 10px 12px 4px; font-weight: 600; }
.scan-actions { display: flex; gap: 8px; padding: 10px 12px 14px; }
.scan-actions button { flex: 1; border: 0; border-radius: 10px; padding: 11px 8px; font: inherit; font-weight: 600; background: #fff; color: #111; cursor: pointer; }
.scan-actions [data-close] { background: var(--primary); color: #fff; }
.search .mic.on { color: #fff; background: var(--primary) !important; animation: micpulse 1s infinite; }
@keyframes micpulse { 50% { opacity: .6; } }

/* ===== দাম (অনুবাদ থেকে বাদ) ===== */
.tk { white-space: nowrap; }

/* ===== কার্ট: WhatsApp অর্ডার ===== */
#wa-order { margin-top: 10px; }
.wa-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; }

/* ===== রিল প্লেয়ার (Shorts-এর মতো) ===== */
body.no-scroll { overflow: hidden; }
.reel-player { position: fixed; inset: 0; z-index: 100; background: #000; }
.reel-feed { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.reel-feed::-webkit-scrollbar { display: none; }
.reel-slide { height: 100%; scroll-snap-align: start; scroll-snap-stop: always; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 20px; }
.reel-stage { position: relative; height: min(88vh, 780px); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #111; flex-shrink: 0; }
.reel-stage > img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.reel-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-spin { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: reelspin .8s linear infinite; }
@keyframes reelspin { to { transform: rotate(360deg); } }
.reel-meta { width: 300px; max-height: min(88vh, 780px); overflow-y: auto; color: #fff; display: flex; flex-direction: column; gap: 8px; }
.reel-meta h3 { margin: 0; font-size: 17px; line-height: 1.45; }
.reel-meta small { opacity: .75; }
.reel-prods { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.reel-prod { display: flex; gap: 10px; align-items: center; background: #fff; color: var(--text); border-radius: 12px; padding: 8px; }
.reel-prod:hover { outline: 2px solid var(--primary); }
.reel-prod img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; background: #fafafa; flex-shrink: 0; }
.reel-prod > span { font-size: 13px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rp-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel-prod b { color: var(--primary-dark); }
.reel-close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 18px; backdrop-filter: blur(6px); }
.reel-close:hover { background: rgba(255,255,255,.3); }
.reel-navs { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.reel-nav { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 16px; backdrop-filter: blur(6px); }
.reel-nav:hover:not(:disabled) { background: rgba(255,255,255,.32); }
.reel-nav:disabled { opacity: .3; cursor: default; }
.reel-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 7px 14px; border-radius: 99px; pointer-events: none; animation: hintup 1.2s ease-in-out infinite alternate; }
@keyframes hintup { to { transform: translate(-50%, -6px); } }
@media (max-width: 760px) {
  /* মোবাইল: পুরো স্ক্রিনে ভিডিও, নিচে শিরোনাম আর পণ্য (পাশাপাশি স্ক্রল) */
  .reel-slide { flex-direction: column; justify-content: flex-start; gap: 0; padding: 0; }
  .reel-stage { width: 100%; height: auto; flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: 0; }
  .reel-meta { width: 100%; max-height: none; overflow: visible; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); gap: 4px; background: #000; flex-shrink: 0; }
  .reel-meta h3 { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .reel-prods { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 8px; margin-top: 4px; }
  .reel-prods::-webkit-scrollbar { display: none; }
  .reel-prod { flex: 0 0 auto; width: 215px; padding: 6px; }
  .reel-prod img { width: 44px; height: 44px; }
  .reel-navs { right: 10px; top: 42%; }
  .reel-nav { width: 40px; height: 40px; }
  .reel-close { top: calc(10px + env(safe-area-inset-top)); right: 10px; }
  .reel-hint { bottom: auto; top: 18px; }
}

/* ===== আমার অ্যাকাউন্ট ===== */
.profile-card { display: flex; align-items: center; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-info h2 { margin: 0 0 4px; font-size: 20px; }
.profile-info .unit { margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 14px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat small { color: var(--muted); font-size: 13px; }
.stat b { font-size: 22px; }
.stat.due { border-color: #F5C2BD; background: var(--primary-soft); }
.stat.due b { color: var(--primary-dark); }
.stat.ok b { color: var(--success); }
.stat.pts b { color: var(--warning); }
.acc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.ledger h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.ledger th, .ledger td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.ledger th { color: var(--muted); font-weight: 600; font-size: 13px; background: var(--bg); }
.ledger td:nth-child(n+3), .ledger th:nth-child(n+3) { text-align: right; }
.ledger tfoot td { font-weight: 800; border-bottom: 0; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stat b { font-size: 18px; } }

/* ===== তথ্য পেজ ===== */
.info-page { max-width: 820px; line-height: 1.75; }
.info-page h3 { margin: 22px 0 6px; font-size: 17px; }
.info-page h4 { margin: 10px 0 2px; font-size: 14px; color: var(--muted); }
.info-page ul, .info-page ol { padding-left: 22px; margin: 6px 0; }
.info-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 820px; }
.info-links a { border: 1px solid var(--border); background: var(--surface); border-radius: 99px; padding: 6px 14px; font-size: 13px; }
.info-links a:hover { border-color: var(--primary); color: var(--primary); }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.contact-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.contact-card span { font-size: 28px; }
.contact-card.wa { border-color: #25D366; }
.contact-card:hover { border-color: var(--primary); }

/* ===== ফুটার ===== */
.footer-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.f-about p { line-height: 1.6; margin: 0 0 10px; }
.f-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.f-contact a, .f-contact span { margin: 0; }
@media (max-width: 900px) { .footer-in { grid-template-columns: 1fr 1fr; } .f-about { grid-column: 1 / -1; } }
@media (max-width: 760px) { .footer { padding-bottom: 76px; } }

/* ===== পপআপ ===== */
.popup { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; animation: popin .2s ease-out; }
@keyframes popin { from { opacity: 0; } }
.popup-box { position: relative; background: var(--surface); border-radius: 20px; max-width: 520px; width: 100%; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.popup-app .popup-box { max-width: 360px; padding: 26px 22px 18px; text-align: center; }
.popup-app h2 { margin: 12px 0 10px; font-size: 21px; }
.popup-logo { height: 42px; width: auto; }
.popup-perks { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; display: grid; gap: 8px; font-size: 14.5px; }
.popup-perks li { background: var(--bg); border-radius: 10px; padding: 9px 12px; }
.popup-app .link-btn { display: block; margin: 12px auto 0; }
.popup-img { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.popup-x { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 20px; line-height: 1; }
.popup-app .popup-x { background: var(--bg); color: var(--text); }

/* ===== অ্যাকাউন্ট v2 ===== */
.btn.small { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }
img.avatar { object-fit: cover; background: var(--bg); }
.avatar.big { width: 96px; height: 96px; font-size: 40px; }
.profile-card .btn.small { margin-left: auto; align-self: flex-start; }
.bday-chip { display: inline-block; margin-top: 6px; background: #FFF3D6; color: #8A5A00; border-radius: 99px; padding: 3px 12px; font-size: 13px; font-weight: 600; }
.nudge { display: block; margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #FFF7E0; color: #7A5200; font-size: 14px; font-weight: 600; border: 1px dashed #F1C76A; }
.nudge:hover { background: #FFEFC2; }
a.stat { color: inherit; }
a.stat:hover { border-color: var(--primary); }
.stat-link { font-size: 12.5px; color: var(--primary); font-weight: 600; }
.stat b.due, .stat.due b { color: var(--primary-dark); }
.stat b.ok { color: var(--success); }
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.acc-grid a { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.acc-grid a:hover { border-color: var(--primary); }
.acc-grid span { font-size: 24px; }
.acc-grid small { color: var(--muted); font-size: 12.5px; }
@media (max-width: 760px) { .acc-grid { grid-template-columns: 1fr 1fr; } .profile-card { flex-wrap: wrap; } }
.block-head h3 { margin: 0; }

/* লেজার */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 99px; padding: 6px 14px; font-size: 13.5px; }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ledger-list { font-size: 14px; }
.lg-row { display: grid; grid-template-columns: 140px 1fr 110px 120px 130px; gap: 10px; align-items: start; padding: 10px 6px; }
.lg-head { color: var(--muted); font-size: 12.5px; font-weight: 600; background: var(--bg); border-radius: 8px; }
.lg-item { border-bottom: 1px solid var(--border); }
.lg-item:last-child { border-bottom: 0; }
.lg-head span:nth-child(n+3), .lg-num { text-align: right; }
.lg-date { color: var(--muted); font-size: 13px; }
.lg-desc { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lg-desc small { color: var(--muted); }
.lg-more { align-self: flex-start; font-size: 12.5px; color: var(--primary); text-decoration: none; }
.lg-num.ok { color: var(--success); }
.lg-bal { font-weight: 700; white-space: nowrap; }
.lg-bal.due { color: var(--primary-dark); }
.lg-bal.ok { color: var(--success); }
.lg-detail { margin: 0 6px 10px; padding: 10px 12px; background: var(--bg); border-radius: 10px; font-size: 13.5px; }
.lg-detail .mini { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.lg-detail .mini.total { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 6px; font-weight: 700; }
@media (max-width: 760px) {
  .lg-head { display: none; }
  .lg-row { grid-template-columns: 1fr auto; grid-template-areas: 'desc bal' 'date date' 'bill paid'; row-gap: 4px; }
  .lg-desc { grid-area: desc; }
  .lg-date { grid-area: date; }
  .lg-bal { grid-area: bal; }
  .lg-row .lg-num:not(.lg-bal) { text-align: left; font-size: 13px; }
  .lg-row .lg-num:not(.lg-bal)::before { content: attr(data-l) ': '; color: var(--muted); }
  .lg-row .lg-num:nth-of-type(3) { grid-area: bill; }
  .lg-row .lg-num.ok { grid-area: paid; text-align: right; }
}
.ledger-sum { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .ledger-sum { grid-template-columns: 1fr 1fr; } }
.crumbs a { color: var(--primary); }

/* নিয়মিত পণ্য */
.reg-item { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--border); cursor: pointer; }
.reg-item.off { opacity: .55; cursor: default; }
.reg-item input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--primary); }
.reg-item .thumb { width: 64px; height: 64px; }
.reg-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.reg-info small { color: var(--muted); font-size: 12.5px; }
.reg-info small.danger { color: var(--danger); }
.reg-qty { display: flex; align-items: center; gap: 4px; }
.reg-qty input { width: 70px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; font: inherit; text-align: center; }
.reg-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; position: sticky; bottom: 0; background: var(--surface); }
@media (max-width: 760px) { .reg-foot { bottom: 64px; } .reg-item { grid-template-columns: auto 52px 1fr; } .reg-item .thumb { width: 52px; height: 52px; } .reg-qty { grid-column: 3; } }

/* প্রোফাইল এডিট */
.profile-form { max-width: 560px; display: grid; gap: 14px; }
.profile-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.profile-form input:not([type=radio]):not([type=file]), .profile-form select, .profile-form textarea { padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.profile-form input:disabled { background: var(--bg); color: var(--muted); }
.pf-photo { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pf-photo label { display: inline-flex; cursor: pointer; }
.pf-gender { border: 0; padding: 0; margin: 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pf-gender legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; width: 100%; }
.profile-form label.radio { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; cursor: pointer; }
.radio input { accent-color: var(--primary); width: 18px; height: 18px; }

/* হোম: শুভেচ্ছা ও জন্মদিন */
.hello { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(120deg, #FFF0EE, #FFF7E0); border: 1px solid #F8D9D3; border-radius: 18px; padding: 16px 18px; margin-bottom: 22px; }
.hello.g-female { background: linear-gradient(120deg, #FFEAF3, #FFF4E8); border-color: #F6CFE0; }
.hello.g-male { background: linear-gradient(120deg, #EAF3FF, #FFF4E8); border-color: #CFE0F6; }
.hello > div:not(.hello-links):not(.confetti) { flex: 1; min-width: 200px; }
.hello h2 { margin: 0 0 2px; font-size: 19px; }
.hello p { margin: 0; color: var(--muted); font-size: 14px; }
.hello p a { color: var(--primary); font-weight: 600; }
.hello-links { display: flex; gap: 8px; flex-wrap: wrap; }
.hello .btn.outline.due { border-color: var(--primary-dark); color: var(--primary-dark); }
.hello.bday { background: linear-gradient(120deg, #FFE3EC, #FFF3C4 60%, #E3F1FF); border: 0; padding: 22px; }
.hello.bday h2 { font-size: 22px; }
.confetti { font-size: 40px; animation: bounce 1.4s ease-in-out infinite; }
@keyframes bounce { 50% { transform: translateY(-6px) rotate(-4deg); } }

/* ===== ওয়ালেট: ক্যাশ ব্যালেন্স কার্ড আর সোনালি দোকানপাট পয়েন্ট ===== */
.wallet-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin: 14px 0; }
@media (max-width: 760px) { .wallet-row { grid-template-columns: 1fr; } }
.wallet { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; min-height: 170px; padding: 18px 20px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #0B2E22, #11553D 55%, #1C7A57); box-shadow: 0 14px 30px rgba(11, 46, 34, .28); }
.wallet.due { background: linear-gradient(135deg, #3A0D0A, #7A1810 55%, #B4231A); box-shadow: 0 14px 30px rgba(122, 24, 16, .3); }
.wallet::before { content: ''; position: absolute; right: -70px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.08); }
.wallet::after { content: ''; position: absolute; right: 40px; bottom: -120px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.05); }
a.wallet:hover { transform: translateY(-2px); transition: transform .15s; color: #fff; }
.w-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; position: relative; z-index: 1; }
.w-chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #F7E2A2, #E8C66A 50%, #C9A23E); border: 1px solid #F7E2A2; }
.w-brand { font-size: 12px; letter-spacing: 1.5px; opacity: .75; font-weight: 600; }
.wallet small { opacity: .8; font-size: 13px; position: relative; z-index: 1; }
.w-amt { font-size: 34px; line-height: 1.15; position: relative; z-index: 1; }
.w-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; font-size: 12px; opacity: .85; position: relative; z-index: 1; }
.w-link { background: rgba(255,255,255,.16); padding: 4px 12px; border-radius: 99px; font-weight: 600; opacity: 1; }

.coin { font-family: Arial, sans-serif; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; font-weight: 800; color: #8A5400; font-size: 15px; background: radial-gradient(circle at 30% 25%, #FFF4B8, #F7C948 45%, #C98A0B); border: 2px solid #FFE38A; box-shadow: inset 0 0 0 3px rgba(150,95,0,.18), 0 2px 6px rgba(150,95,0,.35); }
.coin.big { width: 56px; height: 56px; font-size: 24px; }
.gold-card { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 22px; color: #FFE7A3; background: linear-gradient(135deg, #2B1D00, #5A3B00 55%, #8C5E05); border: 1px solid #B98A2A; box-shadow: 0 14px 30px rgba(90, 59, 0, .3); display: flex; flex-direction: column; justify-content: center; }
.gold-card::before { content: ''; position: absolute; left: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 215, 100, .12); }
.g-row { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.g-row > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.g-row small { font-size: 12px; letter-spacing: 1px; font-weight: 600; }
.g-row b { font-size: 30px; color: #FFD45C; line-height: 1.15; }
.g-rate { background: #FFD45C; color: #2B1D00; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gold-card p { margin: 10px 0 0; font-size: 12.5px; opacity: .85; position: relative; z-index: 1; }
.gold-txt { color: #B07800; font-weight: 600; }

/* চেকআউট: পয়েন্ট ব্যবহার */
.pts-use { margin-top: 14px; border: 1px solid #EBC75C; border-radius: 16px; padding: 12px; background: linear-gradient(135deg, #FFFBEF, #FFF4D6); display: grid; gap: 10px; }
.pts-use.on { background: linear-gradient(135deg, #FFF6D8, #FFE9A8); }
.pts-head { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.pts-head > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; color: #5A3B00; }
.pts-head small { color: #7A5A12; font-size: 12px; }
.pts-head input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 44px; height: 26px; border-radius: 13px; background: #E2D3A6; position: relative; flex-shrink: 0; transition: background .15s; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s; }
.pts-head input:checked + .switch { background: #C98A0B; }
.pts-head input:checked + .switch::after { left: 21px; }
.pts-head input:focus-visible + .switch { outline: 2px solid #C98A0B; outline-offset: 2px; }
.pts-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pts-chip { border: 1px solid #D9B04A; background: #fff; color: #5A3B00; border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 13px; }
.pts-chip.on { background: #B07800; border-color: #B07800; color: #fff; }
#f-pts-n { width: 80px; padding: 6px 8px; border: 1px solid #D9B04A; border-radius: 10px; font: inherit; text-align: center; }

/* মোবাইলে ফ্ল্যাশ সেলের ব্যানার নয় — রঙিন পটভূমিতে শুধু পণ্য */
@media (max-width: 760px) { .flash-banner { display: none; } .flash-hero > img { display: none; } }

/* ===== আউটলেট ===== */
@media (max-width: 760px) { .hide-sm { display: none !important; } }
.outlet-hero { background: linear-gradient(135deg, #E8261A, #FF7A45); color: #fff; border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.outlet-hero h1 { margin: 0 0 4px; font-size: 24px; }
.outlet-hero p { margin: 0 0 12px; opacity: .95; }
.outlet-hero .unit { color: #fff; margin-left: 10px; }
.outlets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.outlet { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: grid; gap: 12px; }
.outlet.nearest { border: 2px solid var(--success); }
.near-tag { position: absolute; top: -1px; right: 16px; background: var(--success); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 0 0 8px 8px; }
.o-top { display: flex; gap: 12px; }
.o-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.o-top h3 { margin: 0 0 2px; font-size: 17px; }
.o-top p { margin: 0; color: var(--muted); font-size: 14px; }
.o-status { display: flex; align-items: center; gap: 6px; margin-top: 4px !important; font-weight: 600; font-size: 13px !important; }
.o-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.o-status.open { color: var(--success) !important; } .o-status.open i { background: var(--success); }
.o-status.closed { color: var(--danger) !important; } .o-status.closed i { background: var(--danger); }
.o-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.o-tags span { background: var(--bg); border-radius: 99px; padding: 2px 10px; font-size: 12px; color: var(--muted); }
.o-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.o-actions .btn { padding: 10px 12px; font-size: 14px; }
.btn.o-call { background: var(--success); }
.btn.o-call:hover { background: #0B7A55; }
.o-hours { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.o-hours summary { cursor: pointer; font-weight: 600; }
.o-hours table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.o-hours td { padding: 6px 8px; }
.o-hours td:last-child { text-align: right; font-weight: 600; }
.o-hours tr.today td { background: var(--primary-soft); font-weight: 700; }
.o-hours td.off { color: var(--danger); }
.o-hours p { margin: 8px 0 2px; }
.o-break-row td { padding: 0 8px 8px !important; text-align: left !important; }
.o-break { display: inline-block; background: #FFF3C4; color: #6B4A00; border: 1px solid #F1D98A; border-radius: 8px; padding: 4px 10px; font-weight: 600; font-size: 13px; }

/* ===== সোশ্যাল: ইউটিউব, ফেসবুক পেজ, ফেসবুক গ্রুপ ===== */
.social-band { background: linear-gradient(135deg, #1A1B1F, #2A2C33); color: #fff; border-radius: 20px; padding: 18px; margin-bottom: 22px; display: grid; gap: 14px; }
.sb-head h2 { margin: 0; font-size: 20px; }
.sb-head p { margin: 2px 0 0; opacity: .75; font-size: 14px; }
.sb-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.sb-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: #fff; transition: transform .15s; }
.sb-item:hover { transform: translateY(-2px); color: #fff; }
.sb-item.yt { background: linear-gradient(135deg, #CC0000, #FF2D2D); }
.sb-item.fb { background: linear-gradient(135deg, #0B5FD0, #1877F2); }
.sb-item.fg { background: linear-gradient(135deg, #3B3FBF, #6366F1); }
.sb-ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; font-family: Arial, sans-serif; flex-shrink: 0; }
.sb-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.sb-item b { font-size: 15px; }
.sb-item small { opacity: .9; font-size: 12.5px; }
.sb-go { font-size: 20px; opacity: .85; }
.yt-sub { background: #FF0000; color: #fff !important; border-radius: 99px; padding: 5px 14px; font-size: 13px; font-weight: 700; }
.yt-sub:hover { background: #CC0000; }
.f-socials { display: flex; gap: 8px; margin-top: 12px; }
.f-soc { width: 36px; height: 36px; border-radius: 50%; display: inline-flex !important; align-items: center; justify-content: center; color: #fff !important; font-weight: 900; font-family: Arial, sans-serif; margin: 0 !important; }
.f-soc.yt { background: #FF0000; } .f-soc.fb { background: #1877F2; } .f-soc.fg { background: #6366F1; }

/* অফার গ্রুপের আলাদা রং */
.flash-band.fc0 { background: linear-gradient(135deg, #E8261A, #FF7A45); }
.flash-band.fc1 { background: linear-gradient(135deg, #5B21B6, #9333EA); }
.flash-band.fc2 { background: linear-gradient(135deg, #0F766E, #14B8A6); }
.flash-band.fc3 { background: linear-gradient(135deg, #B45309, #F59E0B); }
.reel-stage { cursor: pointer; }
.reel-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; padding-left: 4px; box-shadow: 0 0 0 3px rgba(255,255,255,.35); }

/* ===== অভিযোগ ===== */
.cp-hero { display: flex; gap: 16px; align-items: center; background: linear-gradient(135deg, #0B6B3A, #25D366); color: #fff; border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.cp-ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.cp-hero h1 { margin: 0 0 4px; font-size: 22px; }
.cp-hero p { margin: 0; opacity: .95; }
.cp-num { margin-top: 6px !important; font-size: 15px; }
.cp-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .cp-grid { grid-template-columns: 1fr; } .cp-hero { flex-direction: column; text-align: center; } }
.cp-form { display: grid; gap: 10px; }
.cp-form h3 { margin: 8px 0 0; font-size: 16px; }
.cp-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.cp-type { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); }
.cp-type input { position: absolute; opacity: 0; pointer-events: none; }
.cp-type:has(input:checked) { border-color: #25D366; background: #EAFBF1; }
.cp-type:has(input:focus-visible) { outline: 2px solid #25D366; outline-offset: 2px; }
.cp-t-ic { font-size: 22px; }
.cp-type span:last-child { display: flex; flex-direction: column; }
.cp-type small { color: var(--muted); font-size: 12px; }
.cp-form select, .cp-form input:not([type=radio]), .cp-form textarea { padding: 11px 12px; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; }
.cp-voice { display: grid; gap: 10px; }
.cp-voice h3 { margin: 0; }
.cp-voice ol { margin: 0; padding-left: 20px; line-height: 1.8; }
.order-acts { display: inline-flex; align-items: center; gap: 12px; }
.acc-complaint { border-color: #BFEBD0 !important; background: #F1FBF5 !important; }
.contact-card.cp { grid-column: 1 / -1; border-color: #25D366; background: #F1FBF5; margin: 6px 0 4px; }
.f-complaint { color: #25D366 !important; font-weight: 600; }

/* ===== স্টক আউট — স্পষ্ট চিহ্ন ===== */
.card.is-out .thumb img, .card.is-out .thumb .ph { opacity: .4; filter: grayscale(.6); }
.out-stamp { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: var(--danger); color: #fff; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(220,38,38,.35); white-space: nowrap; letter-spacing: .2px; }
.out-note { color: var(--danger); font-weight: 700; font-size: 12px; }
.card.is-out .price-row { opacity: .5; }
.btn.out-btn, .btn.out-btn:disabled { background: #FDECEA; color: var(--danger); border: 1.5px dashed #F3B4AE; }

/* ===== কার্টে যোগ হওয়ার বার্তা ===== */
.cart-toast { position: fixed; top: 14px; left: 50%; z-index: 80; display: flex; align-items: center; gap: 12px; width: min(440px, calc(100% - 24px)); background: #17181A; color: #fff; padding: 9px 9px 9px 9px; border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.28); transform: translate(-50%, -140%); transition: transform .35s cubic-bezier(.2,1.3,.4,1); }
.cart-toast.show { transform: translate(-50%, 0); }
.ct-img { position: relative; width: 46px; height: 46px; flex: none; border-radius: 10px; background: #2A2C30; display: grid; place-items: center; font-size: 22px; }
.ct-img img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; }
.ct-img i { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--success); border: 2px solid #17181A; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.ct-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-txt b { font-size: 14px; }
.ct-txt small { color: #C9CCD2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-go { flex: none; background: #fff; color: var(--primary-dark); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.cart-btn.bump { animation: bump .5s ease; }
@keyframes bump { 30% { transform: scale(1.18); } 60% { transform: scale(.95); } }

/* ===== অপশন বেছে নেওয়ার পপআপ ===== */
body.no-scroll { overflow: hidden; }
.vsheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.vs-back { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fadein .2s; }
.vs-panel { position: relative; width: min(520px, 100%); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 22px 22px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); animation: slideup .25s ease; }
@media (min-width: 700px) { .vsheet { align-items: center; } .vs-panel { border-radius: 22px; } }
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
.vs-grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--border); }
.vs-head { display: flex; align-items: center; gap: 12px; }
.vs-head img, .vs-ph { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; flex: none; background: #F5F5F7; display: grid; place-items: center; font-size: 26px; }
.vs-head div { flex: 1; display: flex; flex-direction: column; }
.vs-head small { color: var(--muted); }
.vs-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--bg); cursor: pointer; font-size: 15px; }
.vs-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.vs-row { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.vs-row.on { border-color: var(--primary); background: var(--primary-soft); }
.vs-row.out { opacity: .55; }
.vs-info { flex: 1; display: flex; flex-direction: column; }
.vs-info span { display: flex; align-items: baseline; gap: 6px; color: var(--primary-dark); font-weight: 800; }
.vs-info s { color: var(--muted); font-weight: 400; font-size: 13px; }
.vs-info em { color: var(--success); font-style: normal; font-size: 12px; }
.vs-add { padding: 8px 14px; font-size: 14px; }
.vs-out { background: #FDECEA; color: var(--danger); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.vs-foot { display: flex; gap: 10px; }
.vs-foot .btn { flex: 1; }
.btn.ghost { background: #fff; color: var(--text); border: 1.5px solid var(--border); }

/* ===== এলাকা ===== */
.region-bar { display: flex; align-items: center; gap: 8px; width: 100%; margin: 14px 0 0; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; cursor: pointer; font-weight: 600; text-align: left; }
.region-bar span { flex: 1; }
.region-bar b { color: var(--primary); }
.region-ask { margin: 14px 0 0; background: #fff; border: 1.5px solid var(--primary-soft); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ra-title { font-size: 17px; }
.region-ask > small { color: var(--muted); }
.ra-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ra-choices button { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1.5px solid var(--border); background: #fff; border-radius: 14px; padding: 12px 8px; cursor: pointer; }
.ra-choices button span { font-size: 24px; }
.ra-choices button small { color: var(--muted); }
.ra-choices button.on, .ra-choices button:hover { border-color: var(--primary); background: var(--primary-soft); }
.ra-gps { align-self: center; border: 0; background: none; color: var(--primary); font-weight: 700; cursor: pointer; padding: 4px; }
.ra-err { color: var(--danger); }

/* ===== এলাকার ক্যাটাগরির রঙিন সারি ===== */
.shelf { background: var(--tint); border-radius: 20px; padding: 14px 0 12px; margin: 18px 0 0; }
.shelf-head { display: flex; align-items: center; gap: 8px; padding: 0 14px 10px; }
.shelf-head h2 { flex: 1; margin: 0; font-size: 19px; }
.shelf-emoji { font-size: 26px; }
.shelf-head a { background: rgba(255,255,255,.9); color: var(--primary); font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.shelf .rowwrap { padding: 0 6px; }
.shelf-skel { min-width: 170px; height: 280px; border-radius: 14px; }

/* ===== ডেইলি টিপস ===== */
.tip-card { margin: 18px 0 0; background: linear-gradient(135deg, #FFF7E0, #FFEFD6); border: 1px solid #F7DFA8; border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tip-top { display: flex; align-items: center; justify-content: space-between; }
.tip-badge { background: #FFE7A3; color: #8A5A00; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.tip-nav { display: flex; gap: 6px; }
.tip-nav button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.85); color: #8A5A00; font-size: 18px; cursor: pointer; }
.tip-body { display: flex; align-items: center; gap: 12px; }
.tip-emoji { font-size: 36px; }
.tip-body p { margin: 0; font-weight: 500; }
.tip-cta { color: var(--primary); font-weight: 700; font-size: 13px; }

/* ===== ভাষা বোতাম ===== */
.lang-btn { border: 1.5px solid var(--primary) !important; color: var(--primary); border-radius: 999px; padding: 4px 12px !important; font-weight: 800; background: #fff; cursor: pointer; }
.lang-m { display: none; }
@media (max-width: 680px) { .lang-m { display: inline-flex; margin-left: auto; align-items: center; } }
.vs-foot .btn { white-space: nowrap; padding: 12px 10px; font-size: 14px; }
/* সাইজের ছবি */
.chip-img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 6px; }
.vs-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.chip:has(.chip-img) { display: inline-flex; align-items: center; padding-left: 5px; }
/* ডেলিভারি এলাকা */
.region-bar span { display: flex; flex-direction: column; line-height: 1.3; }
.region-bar small { color: var(--muted); font-weight: 500; font-size: 12px; }
.area-panel { gap: 10px; }
.area-field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.area-field select { padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: inherit; }
.area-eta { margin: 0; color: var(--success); font-weight: 700; min-height: 1.5em; }
a.link { color: var(--primary); font-weight: 700; }
.region-bar .ra-where { color: var(--text); }
/* কার্টে স্টক শেষ */
.stock-warn { background: #FDECEA; color: var(--danger); border: 1px solid #F5C2BC; border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.line.line-bad { background: #FFF6F5; }
.line-warn { color: var(--danger); font-weight: 700; font-size: 13px; }
.sugg-title { margin: 16px 0 8px; font-size: 17px; }

/* কার্ডের সারিবদ্ধতা — সব কার্ডে দাম আর বোতাম একই উচ্চতায় */
.card-body { display: flex; flex-direction: column; }
.card-name { min-height: calc(2 * 1.35em); }
.card .unit { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 18px; }
.card-note { display: block; min-height: 18px; font-size: 12px; font-weight: 700; color: var(--danger); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.price-row { min-height: 26px; flex-wrap: nowrap; white-space: nowrap; }
.card-action { margin-top: auto; }
.hrow .card, .grid .card { height: 100%; }

/* ---------- লাইন আইকন (js/icons.js) — ইমোজির বদলে, পাতলা আর ব্র্যান্ডের রঙে ---------- */
.ico { display: inline-block; vertical-align: -0.2em; flex: none; }
h1 .ico, h2 .ico, h3 .ico { vertical-align: -0.15em; color: var(--primary); margin-right: 2px; }
.perks span, .acc-grid span, .contact-card span, .ws-head span, .pay span, .cp-t-ic, .region-bar > .ico, .shelf-emoji, .tip-badge .ico, .empty .big { color: var(--primary); line-height: 0; }
.acc-grid span { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); align-items: center; justify-content: center; margin-bottom: 6px; }
.perks span { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); align-items: center; justify-content: center; }
.shelf-emoji { display: inline-flex; width: 40px; height: 40px; border-radius: 12px; background: #fff; align-items: center; justify-content: center; font-size: 0; }
.empty .big { display: flex; justify-content: center; opacity: .85; }
.o-ic, .vs-ph, .sc-ic { color: var(--primary); }
.sug-ic { color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.ci-ph { color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.countdown { display: inline-flex; align-items: center; gap: 5px; }
.sb-ic .ico, .f-soc .ico { color: #fff; }
.ct-img .ico { color: #fff; }
.btn .ico { vertical-align: -0.22em; }
.btn.outline .ico, .link-btn .ico { color: var(--primary); }
.card-note .ico { color: var(--primary); vertical-align: -0.15em; }
.popup-perks li .ico, .f-contact .ico, .footer .ico { color: var(--primary); }
.tip-emoji { color: var(--primary); line-height: 0; display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: #fff; align-items: center; justify-content: center; }
.topbar .ico, .hbtn > .ico { vertical-align: -0.2em; }

/* ---------- অফারের বাক্স: পরিষ্কার সাদা, পাতলা বর্ডার, শুধু শিরোনামে লাল (আগের গাঢ় রঙিন বাক্সের বদলে) ---------- */
.flash-band, .flash-band.fc0, .flash-band.fc1, .flash-band.fc2, .flash-band.fc3 { background: var(--surface, #fff); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 16px; padding: 14px 14px 16px; }
.flash-band .flash-top { color: var(--text); }
.flash-band .flash-top h2 { display: inline-flex; align-items: center; gap: 6px; }
.flash-band .flash-top h2 .ico { color: var(--primary); }
.flash-band .flash-top .countdown { background: var(--primary-soft); color: var(--primary-dark, var(--primary)); }
.flash-band .flash-top .countdown .ico { color: var(--primary); }
.flash-band .flash-top a { color: var(--primary); }
.flash-band .flash-banner { background: var(--primary-soft); }
/* ১–৩টা প্রোডাক্টের অফার: বাক্স শুধু যতটুকু লাগে ততটুকু চওড়া */
.flash-band.compact { width: fit-content; max-width: 100%; }
.flash-band.compact .hrow { grid-auto-columns: 200px !important; }
.flash-band.compact .rarrow { display: none; }
.flash-band.compact .flash-top { gap: 16px; }
/* সবচেয়ে বেশি বিক্রি হওয়া ৬টা সাব-ক্যাটাগরি: গোল ঘরে সেই ক্যাটাগরির সেরা প্রোডাক্টের ছবি */
.top-cats .cat-strip { margin-bottom: 0; }
.cat-strip .ci.photo { overflow: hidden; background: #fff; color: var(--primary); }
.cat-strip .ci.photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-strip b { line-height: 1.3; }
/* স্পেশাল অফার (একটা কিনলে আরেকটা ফ্রি) — ফ্ল্যাশ সেল থেকে আলাদা (১৯ নভেম্বর) */
.flash-top h2 .offer-sub { display: block; font-size: 13px; font-weight: 500; opacity: .8; margin-top: 2px; }
/* Android: "অ্যাপে খুলুন" বোতাম (১৯ নভেম্বর) */
.open-app { position: fixed; left: 12px; bottom: 76px; z-index: 60; display: flex; align-items: center; background: #F7311E; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.open-app a { color: #fff; font-weight: 600; font-size: 14px; padding: 9px 4px 9px 14px; display: flex; gap: 6px; align-items: center; text-decoration: none; }
.open-app button { background: none; border: 0; color: #fff; font-size: 18px; padding: 6px 12px 6px 8px; cursor: pointer; }
.popup-hint { display: block; text-align: center; color: #888; margin-top: -4px; }
