/* ==========================================================================
   Bakaina — full-store design preview (preview.html), for client review.
   Layout follows the client's reference (multi-department store); colours are
   Bakaina's own. Change the two brand colours in :root to re-theme everything.
   ========================================================================== */
:root {
  --brand: #02326C; --brand-2: #0A428C; --accent: #FE7401; --accent-2: #E06400; --on-accent: #141414; --accent-text: #A84F05;
  --page: #EEF0F3; --card: #FFFFFF; --text: #23262B; --muted: #6B7078; --line: #E3E5E9; --dark: #23272D;
  --sale: #D42A1E; --star: #F2A516; --new: #2F5BD3;
  --r: 8px; --r-sm: 6px;
  --shadow: 0 1px 3px rgba(20, 30, 50, .07);
  --shadow-up: 0 10px 26px rgba(20, 30, 50, .14);
  --font: 'Poppins', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1460px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 14px/1.55 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px; background: var(--brand); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* Review banner (preview only) */
.review-bar { background: #FFF4EA; color: #7A3E00; font-size: 12.5px; text-align: center; padding: 8px 16px; border-bottom: 1px solid #FFD9B5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 13.5px; transition: background .15s, color .15s, border-color .15s; }
.btn-outline { border: 1.5px solid var(--text); color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-brand { background: var(--brand); color: #fff; } .btn-brand:hover { background: var(--brand-2); }
.btn-accent { background: var(--accent); color: var(--on-accent); } .btn-accent:hover { background: var(--accent-2); }
.link-u { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 13px; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
.link-u:hover { color: var(--brand); }
.round { width: 40px; height: 40px; border-radius: 999px; background: #fff; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); color: var(--text); }
.round:hover { border-color: var(--brand); color: var(--brand); }
.round .icon { width: 18px; height: 18px; }
.round-hit { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Top bar ---------- */
.topbar { display: none; background: #fff; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar a { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 8px; }
.topbar a:hover { color: var(--brand); }
.topbar .icon { width: 14px; height: 14px; }
@media (min-width: 1000px) { .topbar { display: block; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
.hdr-main { display: flex; align-items: center; gap: 8px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--brand); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; }
.m-only { display: inline-flex; }
.d-only { display: none !important; }
.hbtn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--text); font-size: 11px; gap: 2px; border-radius: var(--r-sm); }
.hbtn:hover { color: var(--brand); }
.hbtn .icon { width: 22px; height: 22px; }
.hbadge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center; }
.hbadge[hidden] { display: none; }
.tools { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.search { display: flex; align-items: stretch; width: 100%; border: 2px solid var(--brand); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.search select { border: 0; background: var(--brand); color: #fff; padding: 0 10px; font-size: 12.5px; font-weight: 600; max-width: 130px; cursor: pointer; }
.search input { flex: 1; min-width: 0; min-height: 42px; border: 0; padding: 0 12px; outline: none; font-size: 13.5px; }
.search button { width: 46px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.search button:hover { background: var(--brand-2); }
.search-m { padding: 0 0 10px; }
.cart-sum { display: none; align-items: center; gap: 10px; min-height: 44px; font-size: 13px; color: var(--text); white-space: nowrap; }
.cart-sq { position: relative; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.cart-sq:hover { background: var(--brand-2); }
@media (min-width: 1000px) {
  .m-only { display: none !important; }
  .d-only { display: inline-flex !important; }
  .hdr-main { gap: 28px; min-height: 84px; }
  .hdr-main .search { flex: 1; max-width: 820px; }
  .search-m { display: none; }
  .cart-sum { display: inline-flex; }
  .tools { gap: 10px; }
}

/* ---------- Nav bar + mega menu ---------- */
.navbar { display: none; background: var(--brand); color: #fff; }
.navbar .wrap { display: flex; align-items: center; gap: 6px; min-height: 48px; position: relative; }
.dept { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13.5px; min-width: 230px; }
.dept:hover, .dept[aria-expanded="true"] { background: var(--accent-2); }
.navlink { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; font-weight: 500; font-size: 13.5px; color: #fff; }
.navlink:hover { color: #FFD3A8; }
.navlink .tag { background: var(--sale); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.navright { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.navbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 13px; }
.navbtn:hover { background: var(--accent-2); }
.mega { position: absolute; left: 16px; top: 100%; z-index: 30; width: min(900px, calc(100% - 32px)); background: #fff; color: var(--text); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-up); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 24px; padding: 20px 24px 24px; }
.mega[hidden] { display: none; }
.mega h3 { margin: 0 0 4px; font-size: 14px; }
.mega h3 a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--brand); }
.mega h3 .icon { color: var(--accent); }
.mega ul { list-style: none; margin: 0 0 8px; padding: 0 0 0 28px; }
.mega li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); font-size: 13px; }
.mega li a:hover { color: var(--brand); text-decoration: underline; }
@media (min-width: 1000px) { .navbar { display: block; } }

/* ---------- Mobile drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 20, 35, .5); }
.scrim[hidden], .drawer[hidden] { display: none; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 61; width: min(360px, 90vw); height: 100vh; height: 100dvh; background: #fff; display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(0, 0, 0, .2); }
.drawer.left { left: 0; } .drawer.right { right: 0; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; background: var(--brand); color: #fff; }
.drawer-head h2 { margin: 0; font-size: 16px; }
.drawer-head .round-hit { color: #fff; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 20px; }
.dlist { list-style: none; margin: 0; padding: 0; }
.dlist > li { border-bottom: 1px solid var(--line); }
.dlist a, .dlist button.dl { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 6px 16px; text-align: left; font-weight: 500; }
.dlist .icon { color: var(--brand); }
.dlist .chev { margin-left: auto; transition: transform .2s; }
.dlist button[aria-expanded="true"] .chev { transform: rotate(90deg); }
.dsub { list-style: none; margin: 0; padding: 0 0 8px 48px; }
.dsub[hidden] { display: none; }
.dsub a { min-height: 40px; padding: 4px 16px 4px 0; color: var(--muted); font-weight: 400; font-size: 13.5px; }
.dtitle { margin: 14px 16px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mini-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.mini-item img, .mini-item .ph { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; }
.mini-item h3 { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.35; }
.mini-item p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.drawer-foot { border-top: 1px solid var(--line); padding: 14px 16px 18px; display: grid; gap: 8px; }
.drawer-foot .tot { display: flex; justify-content: space-between; font-weight: 600; }
.drawer-foot .tot strong { color: var(--brand); font-size: 17px; }
.empty-cart { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- Sections ---------- */
.sec { padding: 34px 0; }
.sec-white { background: #fff; }
.shead { text-align: center; max-width: 720px; margin: 0 auto 20px; }
.shead h2 { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: var(--text); line-height: 1.3; }
.shead p { margin: 0; color: var(--muted); font-size: 13.5px; }
@media (min-width: 1000px) { .sec { padding: 52px 0; } .shead h2 { font-size: 28px; } }
.tabs { display: flex; justify-content: center; margin: 0 auto 22px; }
.tabs-in { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); }
.tab { min-height: 40px; padding: 6px 16px; border-radius: 4px; font-weight: 600; font-size: 13px; color: var(--text); }
.tab:hover { color: var(--brand); }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; }

/* ---------- Carousel ---------- */
.car { position: relative; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 2px 8px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; min-width: 0; }
.car-track.cols-8 { grid-auto-columns: 30%; gap: 10px; }
.car-track.mv-track, .car-track.blog-track { grid-auto-columns: 84%; }
.car-next, .car-prev { position: absolute; top: 40%; z-index: 2; display: none; }
.car-next { right: -12px; } .car-prev { left: -12px; }
.car-prev.at-start, .car-next.at-end { visibility: hidden; }
@media (min-width: 700px) { .car-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } .car-track.cols-8 { grid-auto-columns: 18%; } .car-track.mv-track, .car-track.blog-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); } }
@media (min-width: 1000px) {
  .car-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .car-next, .car-prev { display: inline-flex; }
  .car-track.cols-4, .car-track.blog-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  .car-track.mv-track { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .car-track.cols-8 { grid-auto-columns: calc((100% - 7 * 12px) / 8); gap: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: 16px 0 24px; }
.hero-grid { display: grid; gap: 12px; }
.hero-grid > * { min-width: 0; }
.slider { position: relative; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.slides { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1fr; align-items: center; gap: 8px; padding: 24px 20px 52px; }
.slide .copy { order: 2; }
.slide .pic { order: 1; display: flex; justify-content: center; }
.slide .pic img { width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.label { margin: 0 0 6px; color: var(--accent-text); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.slide h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.slide p.txt { margin: 0 0 16px; color: var(--muted); }
.s-arrows { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 6px; }
.s-dots { position: absolute; left: 0; right: 0; bottom: 4px; display: flex; justify-content: center; }
.s-dot { width: 32px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.s-dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: #C9CDD4; transition: background .2s, box-shadow .2s; }
.s-dot[aria-current="true"]::before { background: var(--brand); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--brand); }
.sides { display: grid; gap: 12px; }
.side { display: grid; grid-template-columns: 1fr 42%; align-items: center; gap: 10px; background: #fff; border-radius: var(--r); padding: 16px 16px 16px 20px; box-shadow: var(--shadow); min-height: 160px; }
.side h3 { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.side img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
@media (min-width: 700px) { .sides { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: 2.15fr 1fr; }
  .sides { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr 1fr; padding: 40px 90px 50px 48px; min-height: 400px; }
  .slide .copy { order: 1; } .slide .pic { order: 2; }
  .slide .pic img { max-width: 340px; }
  .slide h2 { font-size: 34px; }
  .s-arrows { display: flex; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--brand); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .icon { width: 28px; height: 28px; color: #FFC58F; }
.trust strong { display: block; font-size: 13px; font-weight: 600; }
.trust span { display: block; font-size: 12px; opacity: .8; }
@media (min-width: 1000px) { .trust ul { grid-template-columns: repeat(4, 1fr); padding: 22px 0; } }

/* ---------- Category tiles ---------- */
.ctile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 6px 12px; text-align: center; font-size: 12.5px; font-weight: 500; min-height: 132px; transition: box-shadow .2s, border-color .2s; }
.ctile:hover { box-shadow: var(--shadow-up); border-color: transparent; }
.ctile .cimg { width: 60px; height: 60px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.ctile .cimg img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; }
.ctile .cimg .icon { width: 34px; height: 34px; color: var(--brand); stroke-width: 1.5; }
.ctile .count { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; line-height: 22px; color: var(--muted); }
.t-peach { background: #FFE9DC; } .t-blue { background: #E2EDFF; } .t-pink { background: #FFE3EC; } .t-mint { background: #DDF5EA; }
.t-yellow { background: #FFF2C9; } .t-lav { background: #ECE6FF; } .t-grey { background: #EDEFF2; }

/* ---------- Product card ---------- */
.pc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s; height: 100%; }
.pc:hover { box-shadow: var(--shadow-up); }
.pc-img { position: relative; display: block; aspect-ratio: 1; background: #F1F5FB; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: rgba(2, 50, 108, .45); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ph .icon { width: 42%; height: 42%; stroke-width: 1.2; }
.pbadge { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; background: #EAF0FF; color: var(--new); border: 1px solid #C9D6FB; }
.pbadge.sale { left: 8px; right: auto; background: var(--sale); color: #fff; border-color: var(--sale); }
.pbadge.sample { background: #F1F2F4; color: #6B7078; border-color: #DADDE2; }
.pc-body { padding: 10px 12px 6px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pc-brand { font-size: 11.5px; color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; align-self: flex-start; min-height: 22px; display: inline-flex; align-items: center; }
.pc-name { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 22px; }
.pc-name a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 44px; }
.pc-name a:hover { color: var(--brand); text-decoration: underline; }
.pc-rate { font-size: 12px; color: var(--muted); }
.pc-rate .st { color: var(--star); letter-spacing: 1px; }
.pc-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pc-price strong { font-size: 15px; font-weight: 700; color: var(--text); }
.pc-price s { font-size: 12.5px; color: #8E939B; }
.pc-price .na { font-size: 13px; color: var(--muted); font-weight: 500; }
.pc-foot { display: flex; align-items: center; border-top: 1px solid var(--line); margin-top: 8px; }
.pc-add { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; font-size: 12.5px; white-space: nowrap; font-weight: 600; color: var(--text); text-align: left; }
.pc-add:hover { color: var(--brand); }
.pc-add[disabled] { color: #A3A7AE; cursor: not-allowed; }
.pc-add .icon { width: 17px; height: 17px; }
.pc-heart { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.pc-heart:hover { color: var(--sale); }
.pc-heart[aria-pressed="true"] { color: var(--sale); }
.pc-heart[aria-pressed="true"] .icon { fill: var(--sale); }
.pc-heart .icon { width: 18px; height: 18px; }
.center { text-align: center; margin-top: 18px; }

/* ---------- Featured category (dark) ---------- */
.fcat { background: var(--dark); color: #fff; }
.fcat .shead h2 { color: #fff; } .fcat .shead p { color: rgba(255, 255, 255, .7); }
.fcat-box { background: #E9EBEF; color: var(--text); border-radius: var(--r); padding: 16px; display: grid; gap: 16px; }
.fcat-box > * { min-width: 0; }
.fcat-side h3 { margin: 0 0 8px; font-size: 15px; }
.fcat-side .pic { display: none; }
.fcat-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fcat-side li a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; background: #fff; border-radius: 999px; font-size: 12.5px; }
.fcat-side li a:hover { color: var(--brand); }
.fcat-side .more { color: var(--new); font-weight: 600; }
.fcat-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 10px; }
.fcat-head h3 { margin: 0; font-size: 15px; }
@media (min-width: 1000px) {
  .fcat-box { grid-template-columns: 220px 1fr; padding: 22px; gap: 22px; }
  .fcat-side .pic { display: block; margin: 8px 0 14px; }
  .fcat-side .pic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
  .fcat-side ul { flex-direction: column; gap: 0; }
  .fcat-side li a { background: none; padding: 0; min-height: 32px; border-radius: 0; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--new); color: #fff; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 10px 0; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 0 18px; position: relative; }
.ticker span::after { content: '•'; position: absolute; right: -4px; opacity: .7; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Brands ---------- */
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); min-height: 120px; padding: 14px 8px; text-align: center; }
.brand-tile:hover { box-shadow: var(--shadow-up); }
.brand-tile .mark { font-size: clamp(15px, 4.2vw, 21px); font-weight: 800; letter-spacing: -.02em; color: var(--text); line-height: 1.1; }
.brand-tile .mark.light { font-weight: 400; font-style: italic; }
.brand-tile .bn { font-size: 12px; color: var(--muted); }
.brand-tile.sample .mark { color: #B3B7BE; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; height: 100%; display: flex; flex-direction: column; }
.quote .qm { font-size: 46px; line-height: .8; color: var(--brand); font-family: Georgia, serif; height: 30px; }
.quote p { margin: 6px 0 14px; font-size: 13px; color: var(--muted); flex: 1; font-family: 'Noto Sans Bengali', 'Poppins', sans-serif; }
.quote .who { font-weight: 600; font-size: 13px; }
.quote .st { color: var(--star); letter-spacing: 1px; font-size: 12px; }

/* ---------- Popular strip ---------- */
.mv { background: var(--dark); color: #fff; padding: 26px 0; }
.mv-tabs { display: flex; gap: 22px; margin: 0 0 12px; }
.mv-tabs button { min-height: 44px; padding: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .55); border-bottom: 2px solid transparent; }
.mv-tabs button:hover { color: #fff; }
.mv-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.mv-empty { margin: 4px 0 6px; color: rgba(255, 255, 255, .7); font-size: 13.5px; }
.mvc { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; background: #fff; color: var(--text); border-radius: var(--r-sm); padding: 8px 10px; height: 100%; }
.mvc img, .mvc .ph { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.mvc h3 { margin: 0; font-size: 12.5px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mvc h3 a { display: block; min-height: 34px; }
.mvc p { margin: 2px 0 0; font-size: 12.5px; font-weight: 600; }
.mvc .num { font-size: 34px; font-weight: 300; color: #C8CCD3; padding-right: 6px; }

/* ---------- Footer ---------- */
.ftr { background: #F7F8FA; border-top: 1px solid var(--line); }
.ftr-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 26px 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.socials { display: flex; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover { border-color: var(--brand); color: var(--brand); }
.socials .icon { width: 18px; height: 18px; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 26px 16px; }
.ftr-cols > * { min-width: 0; }
.ftr h3 { margin: 0 0 6px; font-size: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); font-size: 13px; }
.ftr li a:hover { color: var(--brand); text-decoration: underline; }
.ftr .news-col { grid-column: 1 / -1; }
.ftr .news-col p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.news { display: flex; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.news input { flex: 1; width: 100%; min-width: 0; min-height: 44px; border: 0; padding: 0 12px; outline: none; }
.news button { width: 48px; background: var(--new); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.news-msg { min-height: 20px; margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.ftr-bottom { border-top: 1px solid var(--line); padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 12.5px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--text); }
@media (min-width: 1000px) {
  .ftr-cols { grid-template-columns: repeat(4, 1fr); padding: 34px 16px; }
  .ftr .news-col { grid-column: auto; }
  .ftr-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(16px); z-index: 80; max-width: calc(100vw - 32px); background: var(--text); color: #fff; padding: 11px 16px; border-radius: var(--r); font-size: 13.5px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Blog ---------- */
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; height: 100%; display: flex; flex-direction: column; }
.post-img { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #F1F5FB; }
.post-img img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.post-tag { position: absolute; top: 10px; left: 10px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 4px; }
.post-body { padding: 10px 4px 2px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.post-meta .icon { width: 14px; height: 14px; }
.post h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.35; }
.post-text { margin: 0 0 10px; font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; font-size: 12.5px; font-weight: 600; color: #8E939B; }

/* ---------- Add to Cart + Buy Now ---------- */
.pc-foot-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; border-top: 1px solid var(--line); }
.pc-foot-2 .pc-add { justify-content: center; padding: 0 6px; border: 1.5px solid var(--brand); border-radius: var(--r-sm); color: var(--brand); min-height: 40px; }
.pc-foot-2 .pc-add:hover { background: var(--brand); color: #fff; }
.pc-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 6px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pc-buy:hover { background: var(--accent-2); }
.pc .pc-heart { position: absolute; top: 4px; left: 4px; z-index: 2; }
.pc .pc-heart::before { content: ''; position: absolute; inset: 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.pc .pc-heart .icon { position: relative; }
.pc .pbadge.sale { left: auto; right: 8px; }
.pc .pbadge.sale + .pbadge { top: 34px; }
.l-short { display: none; }
@media (max-width: 420px) { .pc-foot-2 .l-long { display: none; } .pc-foot-2 .l-short { display: inline; } }

/* ---------- Hover: second photo fades in with a gentle zoom (mouse only) ---------- */
.pc-img { overflow: hidden; }
.pc-img img { transition: opacity .45s ease, transform .6s ease; }
.pc-img .pc-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .pc:hover .pc-img .pc-main { transform: scale(1.06); }
  .pc:hover .pc-img .pc-alt { opacity: 1; transform: scale(1.06); }
  .pc:hover .pc-img .pc-main:only-child { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .pc:hover .pc-img img { transform: none !important; }
}

/* ---------- Hover animations: header icons + side banners (mouse only) ---------- */
.hbtn .icon, .cart-sq .icon { transition: transform .3s ease, color .2s ease; }
.cart-sq { transition: background-color .2s ease, transform .2s ease; }
.side { position: relative; overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.side img { transition: transform .6s ease; }
.side::before { content: ''; position: absolute; top: 0; left: -75%; z-index: 1; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.55) 100%); transform: skewX(-25deg); }
.side .link-u::after { content: ''; position: absolute; inset: 0; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
  .hbtn:hover .icon { transform: translateY(-3px); }
  .cart-sq:hover { transform: translateY(-2px); }
  .cart-sq:hover .icon { transform: scale(1.12); }
  .side:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16, 24, 40, .14); }
  .side:hover img { transform: scale(1.05); }
  .side:hover::before { animation: side-shine .85s ease; }
  .side:hover .link-u { color: var(--brand); }
}
@keyframes side-shine { 100% { left: 125%; } }
@media (prefers-reduced-motion: reduce) {
  .side:hover, .side:hover img, .hbtn:hover .icon, .cart-sq:hover, .cart-sq:hover .icon { transform: none !important; }
  .side:hover::before { animation: none; }
}

/* ---------- Mini cart dropdown (desktop) ---------- */
.mc-wrap { position: relative; align-items: center; gap: 10px; }
.mini-cart { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 360px; background: #fff; border-radius: var(--r); box-shadow: 0 18px 40px rgba(16, 24, 40, .22);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.mini-cart::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.mini-cart::after { content: ''; position: absolute; top: -6px; right: 16px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.mc-wrap.open .mini-cart, .mc-wrap:focus-within .mini-cart { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) { .mc-wrap:hover .mini-cart { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.mc-list { list-style: none; margin: 0; padding: 6px 0; max-height: 300px; overflow: auto; }
.mc-list li { display: grid; grid-template-columns: 56px 1fr auto auto 36px; gap: 10px; align-items: center; padding: 10px 16px; }
.mc-list li + li { border-top: 1px solid var(--line); }
.mc-list img, .mc-list .ph { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }
.mc-name { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-name:hover { color: var(--brand); }
.mc-q { font-size: 12px; color: var(--muted); white-space: nowrap; }
.mc-list strong { font-size: 13px; white-space: nowrap; }
.mc-del { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); border-radius: var(--r-sm); }
.mc-del:hover { color: #C62828; background: #FDECEC; }
.mc-del .icon { width: 17px; height: 17px; }
.mini-cart > .mc-tot, .mini-cart > .mc-note { background: #F1F5FB; }
.mc-tot { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 4px; font-size: 14px; }
.mc-tot strong { font-size: 17px; color: var(--brand); }
.mc-note { margin: 0; padding: 0 16px 12px; font-size: 12px; color: var(--muted); }
.mc-btns { display: grid; gap: 8px; padding: 14px 16px 16px; }
.mc-empty { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 26px 16px; color: var(--muted); font-size: 13.5px; }
body.mc-dimmed::after { content: ''; position: fixed; inset: 0; z-index: 35; background: rgba(16, 24, 40, .45); animation: mc-fade .25s ease; pointer-events: none; }
@keyframes mc-fade { from { opacity: 0; } }

/* ---------- Cart page ---------- */
.cp h1 { margin: 4px 0 18px; font-size: 24px; }
.crumb { margin: 0; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.cp-grid { display: grid; gap: 18px; }
.cp-items { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cp-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; padding: 14px; }
.cp-row + .cp-row { border-top: 1px solid var(--line); }
.cp-head { display: none; }
.cp-prod { grid-column: 1 / -1; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.cp-prod img, .cp-prod .ph { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; }
.cp-prod > div { display: grid; gap: 2px; font-size: 14px; font-weight: 500; }
.cp-prod > div > a:first-child:hover { color: var(--brand); }
.cp-price, .cp-sub { display: flex; gap: 6px; font-size: 14px; }
.cp-lbl { color: var(--muted); font-weight: 400; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qty button { width: 44px; height: 44px; font-size: 18px; }
.qty button:disabled { color: #C3C7CE; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.cp-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 0 16px; display: grid; gap: 10px; align-content: start; }
.cp-sum h2 { margin: 12px 16px 0; font-size: 16px; }
.cp-sum .mc-tot { padding-top: 6px; }
.cp-sum .mc-note { padding-bottom: 0; }
.cp-sum .btn, .cp-sum .link-u { margin: 0 16px; }
.cp-empty { text-align: center; padding: 50px 20px; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.cp-empty .icon { width: 40px; height: 40px; }
@media (min-width: 900px) {
  .cp-grid { grid-template-columns: 1fr 320px; align-items: start; }
  .cp-head { display: grid; padding: 12px 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
  .cp-row { grid-template-columns: 1fr 110px 140px 110px 44px; }
  .cp-prod { grid-column: auto; }
  .cp-lbl { display: none; }
}

/* ---------- Premium hover: smooth colour changes on every link, button and tab ---------- */
a, button, .tab, .navlink, .pc-name a, .mvc h3 a { transition: color .3s ease, background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease, text-decoration-color .3s ease; }
.ctile, .brand-tile, .pc, .post, .mvc, .fcat-side li a { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, color .3s ease; }
/* underline that grows from the left (navbar, top bar) */
.navlink, .topbar a { position: relative; }
.navlink::after, .topbar a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.topbar a::after { left: 8px; right: 8px; bottom: 7px; height: 1px; }
/* soft colour links: underline fades in instead of snapping */
.pc-name a, .mega li a, .ftr li a, .crumb a, .post h3, .mvc h3 a, .mc-name { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .navlink:hover::after, .topbar a:hover::after { transform: scaleX(1); }
  .pc-name a:hover, .mega li a:hover, .ftr li a:hover, .crumb a:hover, .mvc h3 a:hover, .mc-name:hover { color: var(--brand); text-decoration-color: currentColor; }
  .post:hover h3 { color: var(--brand); text-decoration-color: currentColor; }
  .ftr li a:hover, .mega li a:hover { transform: translateX(4px); }
  .pc:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
  .ctile:hover, .brand-tile:hover, .post:hover { transform: translateY(-4px); }
  .ctile:hover .cimg { transform: scale(1.06); }
  .mvc:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
  .fcat-side li a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
  .btn:hover, .pc-buy:hover, .pc-foot-2 .pc-add:hover, .navbtn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(16, 24, 40, .16); }
  .tab:hover { background: rgba(0, 0, 0, .04); }
}
.ctile .cimg { transition: transform .35s ease; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.car-track { padding-top: 8px; margin-top: -6px; }

/* ---------- Scroll reveal: sections fade up as you scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal:not(.in) .car-track > * { opacity: 0; transform: translateY(16px); }
.reveal .car-track > * { transition: opacity .7s ease, transform .7s ease, box-shadow .35s ease; }
.reveal.in .car-track > *:nth-child(2) { transition-delay: .08s, .08s, 0s; }
.reveal.in .car-track > *:nth-child(3) { transition-delay: .16s, .16s, 0s; }
.reveal.in .car-track > *:nth-child(4) { transition-delay: .24s, .24s, 0s; }
.reveal.in .car-track > *:nth-child(5) { transition-delay: .32s, .32s, 0s; }
.reveal.in .car-track > *:nth-child(n+6) { transition-delay: .4s, .4s, 0s; }
@media (min-width: 1000px) { .wrap { padding: 0 20px; } }

/* ---------- 20 departments: wider mega menu ---------- */
.mega { width: calc(100% - 32px); grid-template-columns: repeat(5, 1fr); gap: 2px 22px; max-height: calc(100vh - 160px); overflow: auto; }
.mega h3 a { min-height: 34px; font-size: 13.5px; }
.mega ul { margin: 0 0 6px; }
.mega li a { min-height: 26px; font-size: 12.5px; }
.mega .mega-all { color: var(--accent-2); font-weight: 600; }

/* ---------- Category page ---------- */
.catpg h1 { margin: 0; font-size: 24px; }
.catpg-grid { display: grid; gap: 18px; margin-top: 8px; }
.catpg-grid > * { min-width: 0; }
.catpg-side { display: none; }
.catpg-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 12px; }
.catpg-head p { margin: 0; color: var(--muted); font-size: 13px; }
.catpg-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.catpg-chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; white-space: nowrap; }
.catpg-chips a[aria-current], .catpg-side a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.catpg-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .catpg-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .catpg-grid { grid-template-columns: 250px 1fr; align-items: start; }
  .catpg-side { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 10px; position: sticky; top: 150px; }
  .catpg-side h2 { margin: 4px 8px 8px; font-size: 15px; }
  .catpg-side ul { list-style: none; margin: 0; padding: 0; }
  .catpg-side a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: var(--r-sm); font-size: 13.5px; }
  .catpg-side a:hover { background: #F2F4F7; color: var(--brand); }
  .catpg-side a[aria-current] .icon { color: #fff; }
  .catpg-chips { display: none; }
  .catpg-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* ---------- Hover pop-up menus (Journal style) ---------- */
.mega, .mega[hidden] { display: none; }
@media (min-width: 1000px) {
  .navbar .wrap { gap: 2px; }
  .navlink .icon { width: 14px; height: 14px; opacity: .8; transition: transform .25s ease; }
  /* shared pop-up behaviour: fade + slide, short delay so passing the mouse over doesn't flash it */
  .mega, .navpanel { display: grid; position: absolute; top: 100%; z-index: 45; background: #fff; color: var(--text); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 22px 44px rgba(16, 24, 40, .22);
    opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
  .dd.open .mega, .navdd:focus-within .navpanel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
  @media (hover: hover) {
    .dd:hover .mega, .navdd:hover .navpanel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: .12s, .12s, 0s; }
    .dd:hover .dept { background: var(--accent-2); }
    .navdd:hover > .navlink { color: #FFD3A8; }
    .navdd:hover > .navlink .icon { transform: rotate(180deg); }
    .navdd:hover > .navlink::before { opacity: 1; transition-delay: .12s; }
  }
  .navdd:focus-within > .navlink::before { opacity: 1; }
  /* little white pointer under the hovered link */
  .navdd > .navlink::before { content: ''; position: absolute; left: 50%; bottom: -1px; margin-left: -8px; border: 8px solid transparent; border-bottom-color: #fff; border-top: 0; opacity: 0; transition: opacity .2s ease; z-index: 46; }

  /* All Departments: list + panel */
  .mega { left: 20px; width: min(1040px, calc(100% - 40px)); grid-template-columns: 250px 1fr; padding: 0; gap: 0; max-height: calc(100vh - 140px); overflow: hidden; }
  .dm-list { list-style: none; margin: 0; padding: 8px 0; border-right: 1px solid var(--line); overflow-y: auto; }
  .dm-link { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 14px 0 18px; font-size: 13.5px; color: var(--text); }
  .dm-link span { flex: 1; }
  .dm-link .icon { width: 18px; height: 18px; color: var(--muted); transition: color .2s, transform .2s; }
  .dm-link .icon:last-child { width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
  .dm-link.on { background: #F1F5FB; color: var(--brand); font-weight: 600; }
  .dm-link.on .icon { color: var(--accent); }
  .dm-link.on .icon:last-child { opacity: 1; transform: none; color: var(--brand); }
  .dm-panels { overflow-y: auto; padding: 20px 24px; }
  .dm-panel { display: none; }
  .dm-panel.on { display: block; animation: dm-in .25s ease; }
  @keyframes dm-in { from { opacity: 0; transform: translateX(8px); } }
  .dm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .dm-head h3 { margin: 0; font-size: 17px; color: var(--brand); }
  .dm-all { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-size: 13px; font-weight: 600; color: var(--accent-2); }
  .dm-all .icon { width: 15px; height: 15px; transition: transform .25s ease; }
  .dm-all:hover .icon { transform: translateX(4px); }
  .dm-body { display: grid; grid-template-columns: 1fr 210px; gap: 20px; align-items: start; }
  .dm-cols { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 18px; }
  .dm-cols li { break-inside: avoid; }
  .dm-cols a, .navpanel li a { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; font-size: 13px; color: var(--muted); }
  .dm-cols a:hover, .navpanel li a:hover { color: var(--brand); transform: translateX(4px); }
  .dm-promo { display: grid; border-radius: var(--r); overflow: hidden; background: #F1F5FB; transition: transform .3s ease, box-shadow .3s ease; }
  .dm-promo:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
  .dm-promo img, .dm-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
  .dm-promo:hover img { transform: scale(1.05); }
  .dm-ph { display: flex; align-items: center; justify-content: center; }
  .dm-ph .icon { width: 48px; height: 48px; color: var(--brand); stroke-width: 1.4; }
  .dm-pt { display: grid; gap: 2px; padding: 10px 12px 12px; }
  .dm-pt small { font-size: 11px; font-weight: 700; color: var(--accent-2); text-transform: uppercase; letter-spacing: .05em; }
  .dm-pt strong { font-size: 13.5px; line-height: 1.35; }
  .dm-pt em { font-style: normal; font-size: 13px; color: var(--brand); font-weight: 600; }

  /* department links: full-width mega panel */
  .navpanel { left: 20px; right: 20px; grid-template-columns: 1fr 1fr 1fr 250px; gap: 24px; padding: 22px 26px 24px; }
  .navpanel h3 { margin: 0 0 8px; font-size: 15px; color: var(--text); }
  .navpanel ul { list-style: none; margin: 0; padding: 0; }
  .np-depts .icon { width: 17px; height: 17px; color: var(--accent); }
  .dm-promo.big img, .dm-promo.big .dm-ph { aspect-ratio: 16 / 10; }
  .np-offers { grid-template-columns: 1fr; }
  .np-deals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .np-deal { display: grid; gap: 6px; font-size: 13px; transition: transform .3s ease; }
  .np-deal:hover { transform: translateY(-3px); }
  .np-img { position: relative; border-radius: var(--r-sm); overflow: hidden; background: #F1F5FB; }
  .np-img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s ease; }
  .np-deal:hover .np-img img { transform: scale(1.06); }
  .np-img .pbadge { position: absolute; top: 8px; right: 8px; }
  .np-name { font-weight: 500; line-height: 1.35; }
  .np-deal:hover .np-name { color: var(--brand); }
  .np-price { font-weight: 700; color: var(--brand); }
  .np-price s { color: var(--muted); font-weight: 400; margin-left: 4px; }
}
@media (min-width: 1000px) {
  .mega .dm-list, .mega .dm-cols { padding-left: 0; }
  .mega .dm-list { padding: 8px 0; }
  .mega .dm-link, .mega .dm-link:hover { display: flex; text-decoration: none; transform: none; color: var(--text); font-size: 13.5px; min-height: 34px; }
  .mega .dm-link.on { color: var(--brand); }
  .mega .dm-cols a { min-height: 30px; font-size: 13px; }
  .np-deals { grid-template-columns: repeat(4, 190px); }
  .np-img .pbadge { left: 8px; right: auto; width: auto; }
}
@media (min-width: 1000px) { .np-offers { right: auto; left: 20px; max-width: calc(100% - 40px); } .np-deals { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 190px; } }

/* ---------- Smaller "All" box in search; highlighted cart numbers ---------- */
.search select { width: 72px; max-width: 72px; padding: 0 4px 0 10px; font-size: 12px; text-overflow: ellipsis; }
@media (min-width: 1000px) { .search select { width: 80px; max-width: 80px; } }
.hbadge { top: -6px; right: -6px; min-width: 20px; height: 20px; line-height: 16px; font-size: 11.5px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.hbadge.pop { animation: badge-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes badge-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
.cart-sum .cs-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; margin-right: 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 12px; }
.cart-sum .cs-t { color: var(--brand); font-weight: 800; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .hbadge.pop { animation: none; } }
.cart-sum { gap: 0; } .cart-sum .cs-t { margin-left: 4px; } .hbtn .hbadge { top: 0; right: -2px; }

/* ==========================================================================
   BRAND THEME — taken from the Bakaina logo
   Navy #02326C · Orange #FE7401 · White #FFFFFF · Fredoka + Nunito Sans
   ========================================================================== */
:root {
  --brand: #02326C; --brand-2: #0A428C; --accent: #FE7401; --accent-2: #E06400; --on-accent: #FFFFFF; --accent-text: #B85700;
  --page: #FFFFFF; --tint: #F1F5FB; --text: #1B2A44; --muted: #5E6B80; --line: #E3EAF4; --dark: #01224B;
  --sale: #FE7401; --new: #02326C;
  --r: 16px; --r-sm: 12px;
  --shadow: 0 2px 10px rgba(2, 50, 108, .06);
  --shadow-up: 0 14px 34px rgba(2, 50, 108, .14);
  --font: 'Nunito Sans', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-h: 'Fredoka', 'Nunito Sans', 'Noto Sans Bengali', system-ui, sans-serif;
}
body { font-size: 14.5px; }
h1, h2, h3, .shead h2, .slide h2, .logo, .dept, .navlink, .btn, .pc-buy, .pc-add, .tab, .dm-head h3, .navpanel h3, .catpg h1, .cp h1 { font-family: var(--font-h); }
h1, h2, .shead h2, .slide h2, .catpg h1, .cp h1 { color: var(--brand); font-weight: 600; letter-spacing: -.01em; }
.logo { font-weight: 700; font-size: 24px; color: var(--brand); letter-spacing: 0; }
.logo img { width: 40px; height: 40px; }

/* header: white, navy text, orange hover + active marker */
.topbar { color: var(--brand); }
.topbar a:hover { color: var(--accent-2); }
.hdr { box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(2, 50, 108, .05); }
.hbtn { color: var(--brand); font-weight: 600; }
.hbtn .icon { color: var(--accent); }
.hbtn:hover { color: var(--accent-2); }
.cart-sq { border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 6px 14px rgba(254, 116, 1, .35); }
.cart-sq:hover { background: var(--accent-2); }
.hbadge { background: var(--brand); color: #fff; }
.cart-sum .cs-n { background: var(--brand); color: #fff; }
.search { border-color: var(--brand); border-radius: 999px; }
.search select, .search button { background: var(--brand); }
.search button { background: var(--accent); }
.search button:hover { background: var(--accent-2); }
@media (min-width: 1000px) {
  .navbar { background: #fff; color: var(--brand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .navbar .wrap { min-height: 54px; }
  .dept { border-radius: 999px; min-height: 42px; margin: 6px 10px 6px 0; color: #fff; box-shadow: 0 6px 14px rgba(254, 116, 1, .3); }
  .navlink { color: var(--brand); font-weight: 500; font-size: 15px; min-height: 54px; }
  .navlink:hover, .navdd:hover > .navlink { color: var(--accent); }
  .navlink::after { background: var(--accent); height: 3px; border-radius: 3px; bottom: 0; }
  .navlink[aria-current]::after { transform: scaleX(1); }
  .navdd > .navlink::before { display: none; }
  .navbtn { background: var(--brand); color: #fff; border-radius: 999px; font-family: var(--font-h); font-weight: 500; }
  .navbtn:hover { background: var(--brand-2); }
  .navright .navlink { color: var(--brand); }
}

/* buttons: orange primary, navy secondary, rounded, gentle lift + scale */
.btn { border-radius: 999px; padding: 10px 24px; font-weight: 600; font-size: 15px; transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(254, 116, 1, .28); }
.btn-accent:hover { background: var(--accent-2); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(2, 50, 108, .22); }
.btn-brand:hover { background: var(--brand-2); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn:hover, .pc-buy:hover, .pc-foot-2 .pc-add:hover, .navbtn:hover, .dept:hover { transform: translateY(-2px) scale(1.03); } }
.btn:active, .pc-buy:active, .pc-add:active { transform: scale(.97); }

/* hero: white, soft navy/orange shapes, bold navy headline with orange keyword */
.hero { background: #fff; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 999px; pointer-events: none; z-index: 0; }
.hero::before { width: 420px; height: 420px; right: -140px; top: -180px; background: radial-gradient(circle, rgba(254, 116, 1, .14), rgba(254, 116, 1, 0) 70%); }
.hero::after { width: 520px; height: 520px; left: -220px; bottom: -300px; background: radial-gradient(circle, rgba(2, 50, 108, .10), rgba(2, 50, 108, 0) 70%); }
.hero .wrap { position: relative; z-index: 1; }
.slider { border: 1px solid var(--line); box-shadow: var(--shadow-up); background: linear-gradient(135deg, #fff 55%, #FFF4EA 100%); }
.slide::after { content: ''; position: absolute; }
.slide h2 { font-size: 28px; line-height: 1.15; font-weight: 700; }
.slide h2 .hl { color: var(--accent); }
.slide .pic img { box-shadow: 0 20px 40px rgba(2, 50, 108, .18); border-radius: 22px; }
.s-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.label { color: var(--accent-text); }
.s-dot::before { background: #CBD5E6; }
.s-dot[aria-current="true"]::before { background: var(--accent); box-shadow: 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }
.round:hover { border-color: var(--accent); color: var(--accent); }
.side { border: 1px solid var(--line); }
.side h3 { color: var(--brand); }
@media (min-width: 1000px) { .slide h2 { font-size: 42px; } }

/* trust strip */
.trust { background: var(--brand); }
.trust .icon { color: var(--accent); }

/* sections: white with alternating soft tint, navy headings with an orange bar */
.sec:nth-of-type(even) { background: var(--tint); }
.shead h2 { font-size: 26px; }
.shead h2::after { content: ''; display: block; width: 46px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: var(--accent); }
.tabs-in { border-radius: 999px; border-color: var(--line); box-shadow: var(--shadow); }
.tab { border-radius: 999px; color: var(--brand); }
.tab:hover { color: var(--accent); }
.tab[aria-selected="true"] { background: var(--brand); color: #fff; }

/* product cards: white, soft border + shadow, navy title/price, orange badge + Add to Cart */
.pc { border-color: var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pc-img { background: #F1F5FB; }
.pc-img img { aspect-ratio: 1; object-fit: cover; }
.pc-name, .pc-name a { color: var(--brand); font-weight: 600; }
.pc-name a:hover { color: var(--accent); }
.pc-price strong { color: var(--brand); font-size: 17px; font-weight: 800; }
.pbadge.sale { background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.pbadge { border-radius: 999px; }
.pc-foot-2 .pc-add { background: var(--accent); border-color: var(--accent); color: #fff; border-radius: 999px; }
.pc-foot-2 .pc-add:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.pc-buy { background: var(--brand); color: #fff; border-radius: 999px; }
.pc-buy:hover { background: var(--brand-2); }
.pc-brand { color: var(--muted); }
.ctile, .brand-tile, .post, .mvc, .catpg-side, .cp-items, .cp-sum, .mini-cart { border-radius: var(--r); }
.ctile { border-color: var(--line); box-shadow: var(--shadow); color: var(--brand); font-weight: 600; }
.ctile .count { background: var(--accent); border-color: var(--accent); color: #fff; }
.catpg-chips a[aria-current], .catpg-side a[aria-current] { background: var(--accent); border-color: var(--accent); }
.ticker { background: var(--accent); }
.fcat-box { background: #fff; }
.fcat-side .more { color: var(--accent-text); }
.dm-all, .mega .mega-all { color: var(--accent-text); }

/* footer: deep navy, white text, orange accents */
.ftr { background: var(--brand); color: #fff; border-top: 0; }
.ftr-top { border-bottom-color: rgba(255, 255, 255, .12); align-items: center; }
.ftr .logo { color: #fff; }
.logo-badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; }
.ftr-tag { margin: 0; font-family: var(--font-h); font-size: 20px; font-weight: 600; }
.ftr-tag span { color: var(--accent); }
.ftr-wa { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-weight: 700; }
.ftr-wa .icon { width: 34px; height: 34px; padding: 7px; border-radius: 999px; background: var(--accent); color: #fff; }
.ftr-wa small { display: block; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.ftr-wa:hover { background: rgba(255, 255, 255, .14); }
.ftr h3 { color: #fff; font-size: 16px; }
.ftr h3::after { content: ''; display: block; width: 28px; height: 3px; margin-top: 6px; border-radius: 3px; background: var(--accent); }
.ftr li a, .ftr .news-col p, .ftr-bottom { color: rgba(255, 255, 255, .78); }
.ftr li a:hover { color: var(--accent); }
.ftr-bottom { border-top-color: rgba(255, 255, 255, .12); }
.ftr .news { border: 0; border-radius: 999px; padding: 4px; }
.ftr .news input { padding-left: 16px; color: var(--text); }
.ftr .news button { background: var(--accent); border-radius: 999px; width: 44px; height: 44px; }
.ftr .news button:hover { background: var(--accent-2); }
.ftr .news-msg { color: rgba(255, 255, 255, .85); }
.socials a { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.pill { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; border-radius: 999px; }
.slide h2 { font-weight: 600; }
.ftr-top { padding-top: 30px; padding-bottom: 24px; gap: 16px; }
.ftr-cols { padding-top: 30px; padding-bottom: 26px; }
.ftr-bottom { padding-top: 16px; padding-bottom: 24px; }
.mv { background: var(--dark); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.slide .pic img, .side img { height: auto; }

/* ---------- Floating contact: side rail (laptop/PC), back to top, WhatsApp bubble ---------- */
.fab-rail { display: none; }
.fab-wa { position: fixed; right: 16px; bottom: 18px; z-index: 32; width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45); transition: transform .25s ease, box-shadow .25s ease; }
.fab-wa .icon { width: 30px; height: 30px; stroke-width: 1.9; }
.fab-wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: #25D366; z-index: -1; animation: fab-pulse 2.4s ease-out infinite; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 14px 30px rgba(37, 211, 102, .55); }
.fab-tip { position: absolute; right: 70px; top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: #fff; color: var(--brand); font-weight: 700; font-size: 13px; padding: 8px 12px; border-radius: 999px; box-shadow: var(--shadow-up); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.fab-wa:hover .fab-tip, .fab-wa:focus-visible .fab-tip { opacity: 1; transform: translate(0, -50%); }
.fab-top { position: fixed; right: 23px; bottom: 88px; z-index: 32; width: 44px; height: 44px; border-radius: 999px; color: #fff; background: linear-gradient(160deg, var(--brand-2), var(--brand)); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 18px rgba(2, 50, 108, .3); transition: transform .25s ease; animation: fab-in .3s ease; }
.fab-top[hidden] { display: none; }
.fab-top:hover { transform: translateY(-3px); }
@keyframes fab-in { from { opacity: 0; transform: translateY(10px); } }
body.mc-dimmed .fab-wa, body.mc-dimmed .fab-top { z-index: 30; }
@media (max-width: 999px) { .fab-top { display: none; } .fab-wa { width: 54px; height: 54px; right: 14px; bottom: 16px; } .fab-tip { display: none; } }
@media (min-width: 1000px) {
  .fab-rail { display: flex; flex-direction: column; position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 32; border-radius: 18px 0 0 18px; overflow: hidden; box-shadow: -6px 10px 30px rgba(2, 50, 108, .18); }
  .fab-rail a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 92px; padding: 14px 6px; font-family: var(--font-h); font-weight: 600; font-size: 13px; transition: width .25s ease, filter .25s ease, padding .25s ease; }
  .fab-rail a:hover { width: 104px; padding-right: 18px; filter: brightness(1.08); }
  .fr-ic { width: 42px; height: 42px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .18); transition: transform .3s ease; }
  .fab-rail a:hover .fr-ic { transform: scale(1.1) rotate(-8deg); }
  .fr-ic .icon { width: 21px; height: 21px; }
  .fr-call { background: var(--brand); color: #fff; }
  .fr-wa { background: #128C4A; color: #fff; }
  .fr-rev { background: #fff; color: var(--brand); }
  .fr-rev .fr-ic { background: #FFF1E3; color: var(--accent); }
  .fr-rev .icon { fill: currentColor; }
}
@media (prefers-reduced-motion: reduce) { .fab-wa::before { animation: none; } }

.tb-fb .icon { color: #1877F2; }
.socials a { width: 46px; height: 46px; }
/* rail: 30% smaller, 50% see-through (fully solid on hover/focus) */
@media (min-width: 1000px) {
  .fab-rail { opacity: .5; border-radius: 13px 0 0 13px; transition: opacity .25s ease; }
  .fab-rail:hover, .fab-rail:focus-within { opacity: .5; }
  .fab-rail a { width: 64px; padding: 10px 4px; gap: 4px; font-size: 11px; }
  .fab-rail a:hover { width: 73px; padding-right: 13px; }
  .fr-ic { width: 29px; height: 29px; }
  .fr-ic .icon { width: 15px; height: 15px; }
}
@media (min-width: 1000px) { .fab-rail { top: 60%; } }

/* ---------- Search category picker (pops up like the other menus) ---------- */
.search { overflow: visible; position: relative; }
.scat { position: relative; display: flex; }
.search .scat-btn { height: auto; min-height: 42px; display: inline-flex; align-items: center; justify-content: space-between; gap: 4px; width: 74px; padding: 0 8px 0 14px; background: var(--brand); color: #fff; font-family: var(--font-h); font-weight: 600; font-size: 13px; border-radius: 999px 0 0 999px; white-space: nowrap; overflow: hidden; }
.search .scat-btn [data-scat-label] { overflow: hidden; text-overflow: ellipsis; }
.search .scat-btn .icon { width: 14px; height: 14px; flex: none; transition: transform .25s ease; }
.search > button[type=submit] { border-radius: 0 999px 999px 0; }
.search .scat-btn:hover, .scat.open .scat-btn { background: var(--brand-2); }
.scat-pop { position: absolute; top: calc(100% + 10px); left: -2px; z-index: 60; width: min(440px, calc(100vw - 32px)); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; padding: 10px; background: #fff; color: var(--text); border-radius: var(--r); box-shadow: 0 22px 44px rgba(16, 24, 40, .22);
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; max-height: min(460px, calc(100vh - 180px)); overflow-y: auto; }
.scat-pop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.scat.open .scat-pop { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.scat.open .scat-btn .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  .scat:not(.picked):hover .scat-pop { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: .12s, .12s, 0s; }
  .scat:not(.picked):hover .scat-btn .icon { transform: rotate(180deg); }
}
.search .scat-pop button { width: auto; height: auto; display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 0 10px; border-radius: var(--r-sm); font-size: 13.5px; color: var(--brand); text-align: left; background: none; }
.search .scat-pop button .icon { width: 17px; height: 17px; color: var(--accent); flex: none; }
.search .scat-pop button:hover { background: #F1F5FB; color: var(--accent); }
.search .scat-pop button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.search .scat-pop button[aria-pressed="true"] .icon { color: #fff; }
.search .scat-pop .scat-all { grid-column: 1 / -1; font-weight: 700; border-bottom: 1px solid var(--line); border-radius: var(--r-sm) var(--r-sm) 0 0; margin-bottom: 4px; }
@media (min-width: 1000px) { .search .scat-btn { width: 84px; } .scat-pop { width: 480px; } }
/* ---------- Mini cart: 20% smaller, page no longer dims ---------- */
body.mc-dimmed::after { display: none; }
.mini-cart { width: 288px; border-radius: 14px; }
.mc-list { max-height: 240px; padding: 4px 0; }
.mc-list li { grid-template-columns: 44px 1fr auto auto 30px; gap: 6px; padding: 8px 12px; }
.mc-list .mc-q { font-size: 11px; }
.mc-list img, .mc-list .ph { width: 44px; height: 44px; }
.mc-name { font-size: 12px; }
.mc-list strong { font-size: 12px; }
.mc-del { width: 30px; height: 30px; }
.mc-del .icon { width: 15px; height: 15px; }
.mc-tot { padding: 10px 12px 2px; font-size: 13px; }
.mc-tot strong { font-size: 15px; }
.mc-note { padding: 0 12px 10px; font-size: 11px; }
.mc-btns { gap: 6px; padding: 10px 12px 12px; }
.mc-btns .btn { min-height: 38px; padding: 6px 14px; font-size: 13.5px; }
.mc-empty { padding: 20px 12px; font-size: 12.5px; }
.mini-cart::after { right: 14px; }
.search .scat-pop button { justify-content: flex-start; }

/* ---------- Customer accounts (login / register / profile) ---------- */
.acc h1 { margin: 4px 0 18px; font-size: 26px; }
.acc-wrap { display: grid; gap: 18px; align-items: start; }
@media (min-width: 900px) { .acc-wrap { grid-template-columns: minmax(0, 520px) 300px; justify-content: center; } }
.acc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-up); padding: 22px; }
.acc-loading { display: flex; align-items: center; gap: 12px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.acc-spin { width: 20px; height: 20px; border-radius: 999px; border: 3px solid var(--line); border-top-color: var(--accent); animation: acc-spin .8s linear infinite; }
@keyframes acc-spin { to { transform: rotate(360deg); } }
.acc-note { max-width: 560px; margin: 0 auto; text-align: center; display: grid; gap: 10px; justify-items: center; }
.acc-note h2, .acc-form h2, .acc-hello h2 { margin: 0; font-size: 21px; }
.acc-note p { margin: 0; color: var(--muted); }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: -4px 0 18px; background: var(--tint); border-radius: 999px; }
.acc-tabs button { min-height: 44px; border-radius: 999px; font-family: var(--font-h); font-weight: 600; font-size: 15px; color: var(--brand); transition: background-color .25s, color .25s; }
.acc-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 6px 14px rgba(2, 50, 108, .2); }
.acc-form { display: grid; gap: 14px; }
.acc-sub { margin: -8px 0 2px; color: var(--muted); font-size: 13.5px; }
.acc-field { display: grid; gap: 6px; }
.acc-field label { font-weight: 700; font-size: 13.5px; color: var(--brand); }
.acc-opt { font-weight: 400; color: var(--muted); }
.acc-field input, .acc-field textarea { width: 100%; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.acc-field textarea { resize: vertical; min-height: 84px; }
.acc-field input:focus, .acc-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(2, 50, 108, .12); }
.acc-pw { position: relative; }
.acc-pw input { padding-right: 76px; }
.acc-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; min-width: 60px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--brand); }
.acc-eye:hover { background: var(--tint); }
.acc-submit { width: 100%; min-height: 50px; }
.acc-submit[disabled] { opacity: .7; cursor: progress; transform: none; }
.acc-err { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #A11B1B; font-size: 13.5px; }
.acc-ok { margin: 0; padding: 10px 14px; border-radius: 12px; background: #E7F6EC; color: #11673A; font-size: 13.5px; }
.acc-link { justify-self: center; min-height: 40px; color: var(--accent-text); font-weight: 700; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.acc-fine { margin: 4px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.acc-fine a { color: var(--brand); text-decoration: underline; }
.acc-perks { background: var(--brand); color: #fff; border-radius: var(--r); padding: 22px; }
.acc-perks h3 { margin: 0 0 12px; font-size: 17px; color: #fff; }
.acc-perks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.acc-perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.acc-perks li .icon { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 999px; background: var(--accent); color: #fff; }
.acc-perks strong { display: block; color: #fff; font-size: 14px; }
.acc-links li a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-weight: 600; }
.acc-links li a:hover { color: var(--accent); }
.acc-hello { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.acc-hello .acc-sub { margin: 2px 0 0; }
.acc-avatar { flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: 22px; }
.acc-note-in { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #FFF4E8; color: #7A3E00; font-size: 13.5px; }
.acc-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }

/* ---------- Typography: Inter (as on the Journal reference). Logo wordmark keeps Fredoka. ---------- */
:root {
  --font: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-h: 'Inter', 'Noto Sans Bengali', system-ui, sans-serif;
}
body { font-size: 14px; letter-spacing: -.005em; }
h1, h2, .shead h2, .slide h2, .catpg h1, .cp h1, .acc h1 { font-weight: 700; letter-spacing: -.02em; }
.slide h2 { font-weight: 700; letter-spacing: -.025em; }
h3, .dm-head h3, .navpanel h3 { font-weight: 600; }
.navlink, .tab, .dept, .btn, .pc-buy, .pc-add, .navbtn, .scat-btn, .fab-rail a, .acc-tabs button { font-weight: 600; }
.pc-name, .pc-name a { font-weight: 500; }
.logo { font-family: 'Fredoka', 'Inter', sans-serif; font-weight: 700; }
@media (min-width: 1000px) { .slide h2 { font-size: 38px; line-height: 1.15; } }

/* ---------- Full Bakaina wordmark logo (unchanged artwork, transparent PNG) ---------- */
.logo .logo-full { display: block; width: auto; height: 40px; }
@media (min-width: 1000px) { .logo .logo-full { height: 52px; } }
.logo-badge-wide { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 14px; background: #fff; }
.logo-badge-wide .logo-full { height: 44px; }

/* ---------- Navy menu bar again (as before the white version), with the logo colours ---------- */
@media (min-width: 1000px) {
  .navbar { background: var(--brand); color: #fff; border: 0; }
  .navbar .wrap { min-height: 50px; }
  .dept { border-radius: 0; min-height: 50px; margin: 0 8px 0 0; box-shadow: none; background: var(--accent); color: #fff; }
  .dept:hover, .dd:hover .dept, .dept[aria-expanded="true"] { background: var(--accent-2); transform: none; }
  .navlink, .navright .navlink { color: #fff; min-height: 50px; font-size: 14.5px; }
  .navlink:hover, .navdd:hover > .navlink { color: #FFB877; }
  .navlink::after { background: var(--accent); }
  .navlink .icon { opacity: .85; }
  .navbtn { background: var(--accent); color: #fff; }
  .navbtn:hover { background: var(--accent-2); }
}

/* ---------- Crisp colours: no coloured glow or haze around orange/navy elements ---------- */
.cart-sq, .btn-accent, .btn-brand, .dept, .navbtn, .pc-buy, .pc-foot-2 .pc-add, .fab-top { box-shadow: 0 1px 2px rgba(2, 50, 108, .16); }
.btn:hover, .pc-buy:hover, .pc-foot-2 .pc-add:hover, .navbtn:hover, .dept:hover { box-shadow: 0 3px 8px rgba(2, 50, 108, .18); }
.cart-sq, .btn-accent, .dept, .navbtn, .pc-foot-2 .pc-add, .pbadge.sale, .ctile .count { font-weight: 700; -webkit-font-smoothing: antialiased; }
.hero::before, .hero::after { display: none; }
.slider { background: #fff; }
/* rail: another 30% smaller, sits low on the right just above the back-to-top button */
@media (min-width: 1000px) {
  .fab-rail { top: auto; bottom: 146px; transform: none; border-radius: 10px 0 0 10px; }
  .fab-rail a { width: 45px; padding: 7px 2px; gap: 3px; font-size: 8.5px; line-height: 1.1; letter-spacing: -.01em; }
  .fab-rail a:hover { width: 51px; padding-right: 8px; }
  .fr-ic { width: 21px; height: 21px; }
  .fr-ic .icon { width: 11px; height: 11px; }
}
@media (min-width: 1000px) { .fab-rail a { font-size: 8px; white-space: nowrap; padding-left: 1px; padding-right: 1px; } .fab-rail .fr-t { letter-spacing: -.02em; } }

/* ---------- Shop by Brand: tall tiles + arrows sized like the Journal reference ---------- */
.car-track.brand-track { grid-auto-columns: 46%; gap: 12px; }
@media (min-width: 700px) { .car-track.brand-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; } }
@media (min-width: 1000px) { .car-track.brand-track { grid-auto-columns: calc((100% - 5 * 20px) / 6); gap: 20px; } }
.brand-track .brand-tile { aspect-ratio: 4 / 5; min-height: 0; justify-content: space-between; align-items: stretch; padding: 18px 16px 16px; border-radius: 8px; box-shadow: none; }
.brand-track .brand-tile .mark { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(22px, 6vw, 34px); color: var(--brand); }
.brand-track .brand-tile .bn { text-align: left; font-size: 14px; color: var(--text); font-weight: 500; }
.brand-track .brand-tile.sample { background: linear-gradient(90deg, #fff, #F1F5FB); }
.brand-track .brand-tile.sample .mark, .brand-track .brand-tile.sample .bn { color: #C4CAD3; }
/* carousel arrows: plain white circle with a thin dark ring, centred on the row */
.car-next, .car-prev { top: 50%; transform: translateY(-50%); }
.car .round { width: 40px; height: 40px; background: #fff; border: 1px solid #2B2F36; box-shadow: none; color: #2B2F36; }
.car .round:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.car .round .icon { width: 18px; height: 18px; }

/* ---------- Product page (same layout for every product) ---------- */
.pdp .crumb a { color: var(--brand); }
.pdp-grid { display: grid; gap: 22px; margin-top: 10px; }
.pdp-grid > * { min-width: 0; }
.pdp-gal { display: grid; gap: 10px; }
.pdp-main { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pdp-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-main .pbadge.sale { position: absolute; top: 12px; left: 12px; right: auto; z-index: 1; }
.pdp-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pdp-thumbs button { flex: none; width: 72px; height: 72px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; }
.pdp-thumbs button[aria-pressed="true"] { border-color: var(--accent); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { display: grid; gap: 12px; align-content: start; }
.pdp-brand { justify-self: start; color: var(--muted); font-size: 13px; text-decoration: underline dotted; text-underline-offset: 3px; }
.pdp-info h1 { margin: 0; font-size: 24px; line-height: 1.25; }
.pdp-rate { margin: 0; color: var(--muted); font-size: 13.5px; }
.stars { color: var(--star, #F2A516); letter-spacing: 1px; }
.pdp-price { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.pdp-price strong { font-size: 28px; font-weight: 800; color: var(--brand); }
.pdp-price s { color: #8E939B; font-size: 16px; }
.pdp-save { background: #FFF4EA; color: #B85700; font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.pdp-blurb { margin: 0; color: var(--text); font-size: 15px; }
.pdp-buy { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: center; }
.pdp-buy .qty { background: #fff; }
.pdp-buy .btn { min-height: 48px; }
.pdp-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; border: 1.5px solid #128C4A; color: #0E7A3F; font-weight: 700; }
.pdp-wa:hover { background: #E8F6EE; }
.pdp-trust { list-style: none; margin: 4px 0 0; padding: 14px 16px; display: grid; gap: 10px; background: var(--tint); border-radius: var(--r); font-size: 13.5px; color: var(--brand); }
.pdp-trust li { display: flex; align-items: center; gap: 10px; }
.pdp-trust .icon { color: var(--accent); }
.pdp-more { display: grid; gap: 14px; margin-top: 28px; }
.pdp-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.pdp-sec h2 { margin: 0 0 10px; font-size: 18px; }
.pdp-sec p { margin: 0; color: var(--text); line-height: 1.65; }
.pdp-list { margin: 0; padding-left: 20px; display: grid; gap: 8px; line-height: 1.55; }
.pdp-revs { display: grid; gap: 12px; }
.pdp-revs blockquote { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--tint); }
.pdp-revs blockquote p { margin: 0 0 6px; }
.pdp-revs footer { color: var(--muted); font-size: 13px; }
.pdp-rel { margin-top: 30px; }
.pdp-rel h2 { margin: 0 0 14px; font-size: 22px; }
@media (max-width: 520px) { .pdp-buy { grid-template-columns: auto 1fr; } .pdp-buy .btn-brand { grid-column: 1 / -1; } }
@media (min-width: 900px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .pdp-gal { position: sticky; top: 150px; }
  .pdp-info h1 { font-size: 30px; }
  .pdp-more { grid-template-columns: 1fr 1fr; }
  .pdp-more .pdp-sec:first-child { grid-column: 1 / -1; }
}
.cp-empty .btn + .btn { margin-top: 0; }

/* ---------- Checkout ---------- */
.co h1 { margin: 4px 0 18px; font-size: 26px; }
.co-grid { display: grid; gap: 18px; align-items: start; }
.co-grid > * { min-width: 0; }
.co-main { display: grid; gap: 16px; }
.co-box { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 18px 20px 20px; display: grid; gap: 14px; }
.co-box legend { float: left; width: 100%; padding: 0; margin: 0 0 2px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--brand); }
.co-n { width: 28px; height: 28px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.co-box select { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; }
.co-choice, .co-pay { display: grid; gap: 10px; }
@media (min-width: 560px) { .co-choice { grid-template-columns: 1fr 1fr; } .co-pay { grid-template-columns: repeat(3, 1fr); } }
.co-choice label, .co-pay label { position: relative; cursor: pointer; }
.co-choice input, .co-pay input { position: absolute; opacity: 0; pointer-events: none; }
.co-choice span, .co-pay span { display: grid; gap: 2px; min-height: 64px; align-content: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.co-pay span { justify-items: start; }
.co-choice small, .co-pay small { color: var(--muted); font-size: 12.5px; }
.co-choice input:checked + span, .co-pay input:checked + span { border-color: var(--brand); background: var(--tint); box-shadow: inset 0 0 0 1px var(--brand); }
.co-choice input:focus-visible + span, .co-pay input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.co-pay .icon { color: var(--accent); }
.co-logo { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 6px; color: #fff; }
.co-logo.bk { background: #D12053; } .co-logo.ng { background: #EC1C24; }
.co-wallet { border-radius: 12px; background: #FFF4EA; padding: 14px 16px; display: grid; gap: 12px; }
.co-wallet ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.co-copy { margin-left: 6px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 700; font-size: 12.5px; }
.co-sum { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 10px; }
.co-sum h2 { margin: 0 0 4px; font-size: 18px; }
.co-sum ul { list-style: none; margin: 0; padding: 0 0 10px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.co-sum li { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.co-sum li img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.co-sum li small { color: var(--muted); }
.co-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.co-disc span:last-child, .co-free { color: #11673A; font-weight: 700; }
.co-total { padding-top: 10px; border-top: 1px solid var(--line); font-weight: 800; font-size: 17px; color: var(--brand); }
.co-due { padding: 10px 12px; border-radius: 10px; background: var(--tint); font-weight: 700; color: var(--brand); }
.co-submit { width: 100%; min-height: 52px; font-size: 16px; }
.co-submit[disabled] { opacity: .7; cursor: progress; }
@media (min-width: 900px) { .co-grid { grid-template-columns: minmax(0, 1fr) 380px; } .co-sum { position: sticky; top: 150px; } }
.co [hidden], .acc-field[hidden] { display: none !important; }

.pdp-buy[hidden] { display: none; }
.pdp-oos { margin: 0; padding: 12px 14px; border-radius: 12px; background: #FDECEC; color: #A11B1B; font-weight: 600; }

.acc-orders { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.acc-orders h3 { margin: 0 0 10px; font-size: 17px; color: var(--brand); }
.acc-olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-olist li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.acc-olist li div { display: grid; gap: 2px; min-width: 0; }
.acc-olist span { color: var(--muted); font-size: 12.5px; }
.acc-olist small { color: var(--text); font-size: 13px; }
.acc-olist b { color: var(--brand); white-space: nowrap; }

/* ---------- Thank-you page ---------- */
.ty-card { max-width: 640px; margin: 10px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-up); padding: 28px 22px; display: grid; gap: 14px; text-align: center; }
.ty-check { justify-self: center; width: 76px; height: 76px; border-radius: 999px; background: #E7F6EC; color: #11673A; display: inline-flex; align-items: center; justify-content: center; animation: ty-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ty-pop { from { transform: scale(.4); opacity: 0; } }
.ty-card h1 { margin: 0; font-size: 25px; }
.ty-bn { margin: -6px 0 0; color: var(--muted); }
.ty-id { justify-self: center; display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; padding: 10px 16px; border-radius: 12px; background: var(--tint); }
.ty-id span { color: var(--muted); font-size: 13px; }
.ty-id strong { font-size: 18px; color: var(--brand); letter-spacing: .02em; }
.ty-sum { text-align: left; display: grid; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
.ty-sum ul { list-style: none; margin: 0; padding: 0 0 8px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.ty-sum li { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.ty-sum li img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.ty-sum small { color: var(--muted); }
.ty-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.ty-steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; }
.ty-steps li::before { content: counter(s); grid-row: span 2; width: 30px; height: 30px; border-radius: 999px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.ty-steps strong { color: var(--brand); }
.ty-steps span { color: var(--muted); font-size: 13.5px; }
.ty-btns { display: grid; gap: 10px; justify-items: stretch; }
.ty-btns .link-u { justify-self: center; }
.btn-wa { background: #128C4A; color: #fff; } .btn-wa:hover { background: #0E7A3F; }
@media (min-width: 560px) { .ty-btns { grid-template-columns: 1fr 1fr; } .ty-btns .link-u { grid-column: 1 / -1; } }
