:root { --red: #C8080F; --blue: #0068E0; --navy: #0052B3; --ink: #16181D; --text: #3D4552; --muted: #5B6270; --line: #E4E7EC; --bg: #F4F6F9; --red-soft: #FDECEC; --blue-soft: #EAF2FD; --green: #0B7A55; --green-soft: #E8F6F1; --sun: #FFC531; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Bengali", sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; display: block; }
h1 { font-size: 1.6rem; margin: .75rem 0 1rem; line-height: 1.25; }
h2 { font-size: 1.35rem; margin: 0; line-height: 1.3; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.muted, small { color: var(--muted); }
.center { text-align: center; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.ic { flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Holding page (shop closed) */
body > main:only-child { min-height: 100vh; display: grid; place-content: center; text-align: center; }
body > main:only-child img { width: 180px; margin: 0 auto; }
.soon { color: var(--red); font-weight: 600; }

/* Header */
.topline { background: var(--blue); color: #fff; font-size: .82rem; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topline a { color: #fff; font-weight: 600; }
.lang { display: flex; gap: 4px; flex-shrink: 0; }
.lang a { padding: 3px 8px; border-radius: 6px; font-weight: 500; }
.lang a[aria-current] { background: #fff; color: var(--blue); font-weight: 700; }
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; font-family: system-ui, sans-serif; }
.brand b { color: var(--red); font-size: 1.2rem; letter-spacing: .5px; }
.brand i { color: var(--blue); font-style: normal; font-weight: 600; font-size: .78rem; letter-spacing: 1.5px; }
.search { flex: 1; display: flex; min-width: 0; }
.search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 2px solid var(--blue); border-right: 0; border-radius: 10px 0 0 10px; font: inherit; outline: none; }
.search button { display: flex; align-items: center; gap: 6px; border: 0; background: var(--blue); color: #fff; padding: 0 22px; border-radius: 0 10px 10px 0; font: inherit; font-weight: 600; cursor: pointer; }
.acts { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.acts a { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.cart-link { position: relative; }
.badge { position: absolute; top: -8px; left: 14px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-content: center; }
.round { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue) !important; justify-content: center; }
.menu { border-top: 1px solid var(--line); }
.menu .wrap { position: relative; }
.menu .track { display: flex; gap: 26px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.menu .track::-webkit-scrollbar { display: none; }
.menu-arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.menu-arrow.prev { left: 8px; box-shadow: 14px 0 14px 6px #fff, 0 2px 8px rgba(0, 0, 0, .12); }
.menu-arrow.next { right: 8px; box-shadow: -14px 0 14px 6px #fff, 0 2px 8px rgba(0, 0, 0, .12); }
.menu-arrow:hover { color: var(--red); }
.menu-arrow[hidden] { display: none; }
.menu a { padding: 12px 0; color: var(--ink); font-size: .95rem; }
.menu a.all { display: flex; align-items: center; gap: 8px; color: var(--red); font-weight: 700; }
.mob, .mob-only { display: none !important; }
@media (max-width: 800px) {
    .topline .wrap > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bar { flex-wrap: wrap; gap: 10px; padding: 10px 16px; min-height: 0; }
    .brand img { width: 40px; height: 40px; }
    .search { order: 3; flex-basis: 100%; }
    .search input { height: 44px; }
    .search button { padding: 0 14px; }
    .search button span, .desk { display: none !important; }
    .mob { display: flex !important; }
    .acts { margin-left: auto; gap: 8px; }
    .cart-link { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red) !important; justify-content: center; }
    .badge { top: 2px; left: auto; right: 2px; }
    .menu .track { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
    .menu a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 20px; font-size: .9rem; }
    .menu a.all { background: var(--red); border-color: var(--red); color: #fff; }
    .menu a.all .ic { display: none; }
    .menu-arrow { display: none; }
}

main.wrap { display: flex; flex-direction: column; gap: 32px; padding-top: 20px; padding-bottom: 40px; }
main.wrap > h1 { margin-bottom: -16px; }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.head a { font-weight: 600; white-space: nowrap; }

/* Home: category panel, hero, trust */
.home-top { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 20px; }
.home-top:not(:has(.catpanel)) { grid-template-columns: minmax(0, 1fr); }
.catpanel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 0; display: flex; flex-direction: column; }
.catpanel a { display: flex; justify-content: space-between; align-items: center; padding: 11px 18px; color: var(--ink); border-bottom: 1px solid #F0F2F5; }
.catpanel a:last-child { border-bottom: 0; }
.catpanel .ic { color: var(--muted); }
.home-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; border-radius: 18px; min-height: 360px; padding: 40px 48px; display: flex; align-items: center; }
.hero::before { content: ""; position: absolute; right: -80px; top: -90px; width: 460px; height: 460px; border-radius: 50%; background: #0A5BC4; }
.hero .art { position: absolute; right: 24px; bottom: 16px; width: 44%; max-width: 380px; }
.hero > div { position: relative; max-width: 470px; display: flex; flex-direction: column; gap: 12px; }
.hero h1 { margin: 0; font-size: 2.6rem; line-height: 1.15; }
.hero p { margin: 0; font-size: 1.15rem; }
.tag { align-self: flex-start; background: var(--red); font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 6px; letter-spacing: .3px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trust li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.trust .ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--red-soft); color: var(--red); }
.trust span { display: flex; flex-direction: column; line-height: 1.25; font-size: .85rem; color: var(--muted); }
.trust b { color: var(--ink); font-size: .95rem; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 18px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 8 / 3; object-fit: cover; border-radius: 18px; }
@media (max-width: 1000px) { .home-top { grid-template-columns: minmax(0, 1fr); } .catpanel { display: none; } }
@media (max-width: 800px) {
    .hero { min-height: 200px; padding: 22px; }
    .hero::before { width: 220px; height: 220px; right: -50px; top: -40px; }
    .hero .art { width: 40%; right: 4px; bottom: 8px; }
    .hero > div { max-width: 62%; gap: 8px; }
    .hero h1 { font-size: 1.45rem; }
    .hero p { font-size: .9rem; }
    .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .trust li { padding: 10px; gap: 8px; }
    .trust .ic { width: 32px; height: 32px; padding: 6px; }
    .trust span span, .trust span { font-size: .78rem; }
}

/* Category tiles and promo cards */
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.tiles a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--ink); font-weight: 500; font-size: .9rem; line-height: 1.25; }
.tiles a > span { width: 100%; aspect-ratio: 1; border-radius: 16px; display: grid; place-content: center; transition: transform .15s; }
.tiles a:hover > span { transform: translateY(-3px); }
.promo2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.promo { position: relative; overflow: hidden; border-radius: 18px; min-height: 200px; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.promo .art { position: absolute; right: 8px; bottom: 8px; width: 180px; }
.promo > * { position: relative; max-width: 60%; }
.promo strong { font-size: 1.75rem; line-height: 1.2; }
.promo u { margin-top: 6px; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.promo.red { background: var(--red); color: #fff; }
.promo.cream { background: #FFF3E6; color: var(--ink); }
.promo.cream u { color: #B35A00; }
.promo:hover { color: inherit; }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 10px; } .tiles a { font-size: .8rem; } }
@media (max-width: 800px) {
    .promo2 { gap: 10px; }
    .promo { min-height: 150px; padding: 14px; border-radius: 16px; }
    .promo .art { width: 92px; right: -6px; bottom: -6px; }
    .promo > * { max-width: 100%; }
    .promo strong { font-size: 1.1rem; max-width: 75%; }
    .promo span { font-size: .78rem; max-width: 65%; }
    .promo u { font-size: .85rem; }
}

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card:hover { border-color: #B9CBE6; box-shadow: 0 6px 18px rgba(16, 40, 80, .08); }
.thumb { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid #EEF0F3; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.noimg { display: grid; place-content: center; width: 100%; height: 100%; aspect-ratio: 1; background: #EEF1F5; color: #9AA3B2; }
.card .name { color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35; padding: 10px 12px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2.7em + 10px); }
.buyrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 8px 12px 12px; margin-top: auto; }
.price { display: flex; flex-direction: column; line-height: 1.2; }
.price b { font-size: 1.1rem; }
.price s { color: var(--muted); font-size: .8rem; }
.add { height: 36px; padding: 0 14px; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); border-radius: 8px; font: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; }
.add:hover { background: var(--blue); color: #fff; }
.off { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.out { color: var(--muted); font-size: .85rem; font-weight: 600; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 800px) {
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card .name { font-size: .88rem; }
    .buyrow { flex-direction: column; align-items: stretch; }
    .price { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 6px; }
    .add { height: 40px; background: var(--blue); color: #fff; font-size: .9rem; }
}

/* Home bands */
.steps { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px; text-align: center; }
.steps h2 { font-size: 1.6rem; }
.steps > p { margin: 4px 0 20px; color: var(--text); }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: center; border-radius: 16px; padding: 18px; color: var(--text); font-size: .95rem; }
.steps li > span { grid-row: span 2; position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; display: grid; place-content: center; }
.steps li > span::after { content: counter(step); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-content: center; background: var(--c); }
.steps li b { color: var(--ink); font-size: 1.1rem; align-self: end; }
.steps li > span { color: var(--c); }
.steps .s1 { background: var(--red-soft); --c: var(--red); }
.steps .s2 { background: var(--blue-soft); --c: var(--blue); }
.steps .s3 { background: var(--green-soft); --c: var(--green); }
.band { background: var(--blue-soft); border-radius: 18px; padding: 24px; }
.band h2 { color: var(--navy); }
.band .card { border-color: transparent; }
.delivery { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 18px; min-height: 170px; padding: 28px 40px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.delivery .art { position: absolute; right: 40px; bottom: 4px; width: 320px; }
.delivery strong { position: relative; font-size: 1.9rem; line-height: 1.2; max-width: 600px; }
.delivery em { color: var(--sun); font-style: normal; }
.delivery span { position: relative; font-size: 1.05rem; }
.follow { background: var(--red-soft); border-radius: 18px; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.follow h2 { color: #A00610; }
.follow p { margin: 4px 0 0; color: var(--text); }
.callus { background: var(--red); color: #fff; border-radius: 18px; padding: 26px 36px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.callus a { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--red); font-weight: 700; font-size: 1.3rem; padding: 12px 24px; border-radius: 12px; }
@media (max-width: 800px) {
    main.wrap { gap: 22px; padding-top: 14px; }
    .steps { padding: 18px 14px; }
    .steps h2 { font-size: 1.25rem; }
    .steps ol { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .steps li { grid-template-columns: 52px 1fr; padding: 12px; font-size: .85rem; }
    .steps li > span { width: 52px; height: 52px; }
    .steps li > span .ic { width: 26px; height: 26px; }
    .steps li b { font-size: 1rem; }
    .band { padding: 14px; margin: 0 -16px; border-radius: 0; }
    .delivery { min-height: 130px; padding: 18px; }
    .delivery .art { width: 140px; right: 6px; }
    .delivery strong { font-size: 1.2rem; max-width: 62%; }
    .delivery span { font-size: .85rem; }
    .follow, .callus { padding: 18px; }
    .follow h2, .callus h2 { font-size: 1.15rem; }
}

/* Social buttons */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social { display: flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; justify-content: center; border-radius: 12px; color: #fff !important; font-weight: 700; }
.social.facebook { background: #1877F2; } .social.instagram { background: #C13584; } .social.tiktok { background: #111; } .social.youtube { background: #E62117; }
.socials.big .social { height: 50px; padding: 0 18px; }

/* Lists, crumbs, pages */
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: -20px; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: -16px; }
.list-head h1 { margin: 0; }
.list-head select { height: 42px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: #fff; }
.pages { display: flex; justify-content: center; align-items: center; gap: 16px; }
.pages a { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.gallery img:first-of-type, .gallery .noimg { grid-column: 1 / -1; }
.gallery img { border-radius: 10px; aspect-ratio: 1; object-fit: contain; }
.gallery .off { font-size: .9rem; padding: 5px 10px; }
.info { display: flex; flex-direction: column; gap: 14px; }
.info h1 { margin: 2px 0 8px; }
.info p { margin: 0 0 6px; }
.big-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.big-price b { font-size: 2rem; color: var(--red); }
.big-price s { color: var(--muted); font-size: 1.05rem; }
.big-price em { font-style: normal; font-weight: 700; color: var(--green); }
.instock { color: var(--green); font-weight: 600; }
.instock::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 8px; vertical-align: middle; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.buy label { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.buy input { width: 76px; height: 46px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; text-align: center; }
.desk-flex { display: flex; gap: 10px; flex: 1; }
.desk-flex .btn { flex: 1; }
.perks { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: .95rem; }
.perks li { display: flex; align-items: center; gap: 12px; }
.ibox { width: 40px; height: 40px; border-radius: 10px; display: grid; place-content: center; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); }
.ibox.red { background: var(--red-soft); color: var(--red); } .ibox.green { background: var(--green-soft); color: var(--green); }
.desc { line-height: 1.65; color: var(--text); }
.desc h2 { color: var(--ink); margin-bottom: 8px; }
.desc h3 { color: var(--ink); font-size: 1.05rem; margin: 18px 0 6px; }
.cat-intro { margin: 28px 0 4px; max-width: 900px; line-height: 1.65; color: var(--muted); }
@media (max-width: 800px) {
    .pdp { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .gallery { margin: 0 -16px; border-radius: 0; border-width: 0 0 1px; }
    .big-price b { font-size: 1.7rem; }
    .info h1 { font-size: 1.35rem; }
    .desk-flex, .desk-block { display: none !important; }
}

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: 0 22px; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.btn:hover { background: #A00610; color: #fff; }
.btn.ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--blue); }
.btn.ghost:hover { background: var(--blue-soft); }
.btn.white { align-self: flex-start; background: #fff; color: var(--blue); margin-top: 6px; }
.btn.wide { width: 100%; }
.btn.big { min-height: 56px; font-size: 1.15rem; }
.btn.square { padding: 0; width: 52px; flex-shrink: 0; }
.btn.grow { flex: 1; }
.form { display: grid; gap: 14px; }
.form.narrow { max-width: 440px; }
.form h2 { font-size: 1.2rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form textarea { min-height: 50px; padding: 12px 14px; border: 1.5px solid #D5DAE1; border-radius: 12px; font: inherit; font-weight: 400; font-size: 16px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form select { min-height: 50px; padding: 12px 14px; border: 1.5px solid #D5DAE1; border-radius: 12px; font: inherit; font-weight: 400; font-size: 16px; background: #fff; width: 100%; }
.form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form textarea { resize: vertical; }
.zones { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.zones legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.zones label { display: flex; align-items: center; gap: 10px; border: 1.5px solid #D5DAE1; border-radius: 12px; padding: 12px; font-weight: 400; cursor: pointer; }
.zones label:has(:checked) { border: 2px solid var(--blue); background: var(--blue-soft); }
.zones input { min-height: 0; width: 18px; height: 18px; accent-color: var(--blue); }
.zones span { display: flex; flex-direction: column; line-height: 1.3; }
.totals { border-top: 1px dashed #D5DAE1; padding-top: 12px; }
.totals p { display: flex; justify-content: space-between; margin: 0 0 8px; }
.totals .grand { font-size: 1.2rem; font-weight: 700; padding-top: 8px; border-top: 1px dashed #D5DAE1; }
.totals .grand span { color: var(--red); }
.form:has(#z-in:checked) .t-out, .form:has(#z-out:checked) .t-in { display: none; }
.cod { gap: 10px; justify-content: flex-start !important; align-items: center; background: var(--green-soft); color: #0B5C40; border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.alert { background: var(--red-soft); color: #9B1C1C; padding: 10px 12px; border-radius: 10px; margin: 0; }
.checkout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.checkout .form { grid-row: 1; }
.summary p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 8px; }
.summary .line a { color: var(--ink); font-weight: 500; }
@media (max-width: 800px) {
    .checkout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .checkout .form { grid-row: auto; }
}
.lines { width: 100%; border-collapse: separate; border-spacing: 0; padding: 6px 14px; }
.lines td, .lines th { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.lines tr:last-child > * { border-bottom: 0; }
.lines input { width: 70px; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.num { text-align: right !important; white-space: nowrap; }
.actions { display: flex; gap: 10px; justify-content: flex-end; }
.done { max-width: 640px; }
.done h1 { margin-top: 8px; }
.tick { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-content: center; }
.status { margin: 0; }

/* Footer */
.foot { background: #fff; border-top: 1px solid var(--line); margin-top: 16px; font-size: .92rem; color: var(--text); }
.foot .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 36px; padding-bottom: 24px; }
.foot p { margin: 0 0 6px; }
.foot h3 { margin: 0 0 10px; font-size: 1.02rem; color: var(--ink); }
.promise, .links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.promise { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.promise > div { display: flex; flex-direction: column; gap: 12px; }
.promise .ibox { width: 52px; height: 52px; border-radius: 14px; }
.links > div { display: flex; flex-direction: column; gap: 8px; }
.links a { color: var(--text); }
.links a:hover { color: var(--red); }
.legal { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal b { color: var(--ink); }
.copy { text-align: center; color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) {
    .promise, .links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .promise > div:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .promise > div:not(:first-child) { font-size: .82rem; }
    .foot { padding-bottom: 72px; }
}

/* Phone: tab bar or a page's own action bar, fixed at the bottom */
.tabbar, .stickybar { display: none; }
@media (max-width: 800px) {
    .tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; height: 64px; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
    .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink); font-size: .72rem; font-weight: 600; }
    .tabbar a[aria-current] { color: var(--red); }
    .stickybar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
    .stickybar .btn { min-height: 52px; padding: 0 14px; }
}

/* Pages and team */
.page { max-width: 820px; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.member img, .member .noimg { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 8px; }
.member b { display: block; } .member span { color: var(--red); font-weight: 600; font-size: .9rem; }
html[lang="bn"] .steps li > span::after { content: counter(step, bengali); }

.mini-perks { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: var(--muted); }
.mini-perks li { display: flex; align-items: flex-start; gap: 8px; }
.mini-perks .ic { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); }
.mini-perks a { color: var(--ink); }
.freedel { display: inline-block; align-self: flex-start; background: var(--blue-soft); color: var(--navy); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }

/* Slide-in cart, cart lines and live quantity (v0.14.0) */
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(420px, 100vw); max-width: 100vw; padding: 0; border: 0; display: none; flex-direction: column; background: #fff; box-shadow: -8px 0 32px rgba(0,0,0,.18); }
.drawer[open] { display: flex; animation: slidein .2s ease-out; }
.drawer::backdrop { background: rgba(10, 20, 40, .45); }
@keyframes slidein { from { transform: translateX(100%); } to { transform: none; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 3px solid var(--red); }
.drawer-head h2 { color: var(--blue); }
.drawer-head .x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.drawer-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer-body > p { margin: 16px; }
.drawer-body .empty { text-align: center; color: var(--muted); padding: 40px 0; }
.drawer-lines { flex: 1; overflow-y: auto; padding: 4px 16px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; }
.drawer-foot .small { font-size: .8rem; margin: 6px 0 0; text-align: center; }
.pay-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-bar > span { display: flex; flex-direction: column; line-height: 1.25; }
.pay-bar b { font-size: 1.3rem; color: var(--red); }
.saved { color: var(--green); font-weight: 600; font-size: .85rem; margin: 6px 0 0; }
.free-hint { display: flex; align-items: center; gap: 8px; background: var(--blue-soft); color: var(--navy); border-radius: 10px; padding: 8px 12px; font-size: .88rem; font-weight: 600; margin: 8px 0; }
.free-hint.yes { background: var(--green-soft); color: var(--green); }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border-bottom: 0; }
.cpic { width: 64px; height: 64px; border-radius: 10px; background: var(--bg); display: grid; place-content: center; overflow: hidden; color: var(--blue); }
.cpic img { width: 64px; height: 64px; object-fit: contain; }
.cinfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cinfo > a { color: var(--ink); font-weight: 500; line-height: 1.3; }
.cprice { font-size: .88rem; }
.cprice s { color: var(--muted); }
.ctotal { white-space: nowrap; }
.live-qty { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.live-qty.busy { opacity: .5; pointer-events: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.stepper button { width: 36px; height: 36px; border: 0; background: var(--blue-soft); color: var(--blue); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; }
.trash { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-content: center; cursor: pointer; }
.cartbox { padding: 6px 18px 14px; }
.cartbox .alert { margin-top: 12px; }
.subtotal { display: flex; justify-content: space-between; font-size: 1.15rem; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed #D5DAE1; }
.subtotal b { color: var(--red); }
.summary h2 { margin-bottom: 4px; }
.summary .alert { margin: 8px 0; }
details.coupon { border: 1px dashed var(--blue); border-radius: 12px; padding: 10px 14px; }
details.coupon summary { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; cursor: pointer; list-style: none; }
details.coupon summary::-webkit-details-marker { display: none; }
details.coupon[open] summary { margin-bottom: 8px; }
.paynow { display: flex; flex-direction: column; justify-content: center; line-height: 1.15; padding-right: 4px; }
.paynow b { color: var(--red); font-size: 1.2rem; white-space: nowrap; }
.paynow i { font-style: normal; }

/* Landing pages (Facebook ads): one column, in the order of the owner's sample */
.lp { max-width: 640px; margin: 0 auto; display: grid; gap: 20px; padding: 16px 0 28px; min-width: 0; }
.lp > * { min-width: 0; }
.lp-top { display: grid; gap: 16px; background: #fff; border-radius: 16px; padding: 20px 16px; }
.lp-title { margin: 0; text-align: center; font-size: 1.75rem; line-height: 1.3; color: var(--navy); }
.lp-hero { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; background: #fff; }
.lp-slogan { margin: 0; text-align: center; color: var(--blue); font-weight: 600; }
.lp-intro { margin: 0; text-align: center; }
.lp-form { display: grid; scroll-margin-top: 90px; }
.lp-panel { display: grid; gap: 16px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.lp-panel h2, .lp-more h2 { text-align: center; color: var(--navy); }
.lp-offers { display: grid; gap: 12px; }
.form label.lp-offer { display: grid; grid-template-columns: 24px 84px minmax(0, 1fr); gap: 10px; align-items: start; padding: 14px 12px; border: 1.5px solid #D5DAE1; border-radius: 16px; font-weight: 400; cursor: pointer; }
.lp-offer:has(> input:checked) { border: 2.5px solid var(--red) !important; }
.form .lp-offer > input { min-height: 0; width: 22px; height: 22px; padding: 0; margin-top: 4px; accent-color: var(--red); }
.lp-thumbs { display: flex; width: 84px; height: 84px; position: relative; }
.lp-thumbs img { width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: #fff; }
.lp-thumbs img + img { position: absolute; right: -4px; bottom: -4px; width: 48px; height: 48px; border: 1px solid var(--line); }
.lp-offer-body { display: grid; gap: 6px; min-width: 0; line-height: 1.35; overflow-wrap: anywhere; color: var(--navy); }
.lp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.lp-price strong { font-size: 1.3rem; color: var(--ink); }
.lp-price s { color: var(--muted); }
.lp-price em { font-style: normal; font-size: .8rem; font-weight: 700; color: #fff; background: var(--green); padding: 3px 10px; border-radius: 99px; }
.lp-qty { grid-column: 2 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--muted); }
.qty-box { display: flex; border: 1.5px solid #D5DAE1; border-radius: 12px; overflow: hidden; background: #fff; }
.qty-box button { width: 44px; min-height: 44px; border: 0; background: #fff; font-size: 1.3rem; color: var(--red); cursor: pointer; }
.form .qty-box input { width: 52px; min-height: 44px; padding: 0; border: 0; border-inline: 1.5px solid #D5DAE1; border-radius: 0; text-align: center; font-weight: 700; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.qty-box input::-webkit-inner-spin-button { appearance: none; }
.lp-summary { display: grid; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; }
.lp-summary p { display: flex; justify-content: space-between; gap: 12px; margin: 0; }
.lp-summary p > span:last-child { flex-shrink: 0; font-weight: 700; color: var(--navy); text-align: right; }
.lp-line { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lp-line #t-name { min-width: 0; overflow-wrap: anywhere; }
.lp-summary .grand { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.lp-summary .grand > span:last-child { font-size: 1.35rem; }
.lp-fields { display: grid; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; }
.lp-fields > label { font-weight: 500; color: var(--muted); }
.lp-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-legend { margin: 4px 0 0; font-size: 1.05rem; color: var(--navy); }
.lp-fields .places { display: grid; gap: 14px; }
.lp-fields .places label { display: grid; gap: 6px; font-weight: 500; color: var(--muted); }
.lp-choice legend { font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.form .lp-choice label { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid #D5DAE1; border-radius: 12px; font-weight: 500; color: var(--navy); cursor: pointer; }
.form .lp-choice label:has(:checked) { border-color: var(--blue); background: var(--blue-soft); }
.form .lp-choice input { min-height: 0; width: 22px; height: 22px; padding: 0; flex-shrink: 0; accent-color: var(--blue); }
.lp-choice span { flex: 1; min-width: 0; }
.lp-choice b { flex-shrink: 0; }
.lp-bkash { font-weight: 700; color: #E2136E; }
.form label.lp-terms { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.form .lp-terms input { min-height: 0; width: 22px; height: 22px; padding: 0; flex-shrink: 0; accent-color: var(--blue); }
.lp-terms a { text-decoration: underline; }
.lp-about { display: grid; gap: 12px; background: #fff; border-radius: 16px; padding: 20px 16px; color: var(--text); }
.lp-about h2 { color: var(--text); font-size: 1.3rem; }
.lp-about p { margin: 0; }
.lp-details { overflow-wrap: anywhere; line-height: 1.8; }
.lp-details h3, .lp-about h3 { margin: 12px 0 4px; font-size: 1.05rem; color: var(--ink); }
.lp-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-benefits li::before { content: "\2714\FE0F  "; }
.lp-more { display: grid; gap: 14px; padding: 20px 12px; background: var(--blue-soft); border-radius: 16px; }
.lp-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.lp-card.lead { grid-template-columns: 1fr; padding: 0; overflow: hidden; }
.lp-card.lead .lp-card-body { padding: 0 14px 14px; }
.lp-card-pic img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.lp-card-body { display: grid; gap: 10px; min-width: 0; justify-items: start; }
.lp-card.lead .lp-buy { width: 100%; }
.lp-card-name { font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.lp-buy { min-height: 46px; }
.lp-acts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lp-acts a { display: flex; align-items: center; gap: 6px; color: var(--navy); font-size: .85rem; font-weight: 600; }
.lp-call { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; color: var(--red); }
.lp-paypage { padding-top: 32px; }
.lp-paypage section { display: grid; gap: 14px; }
.lp-paypage form { display: grid; }
.lp-paypage h1 { margin: 0; }
.lp-paypage p { margin: 0; }
