/* ============================================================================
   FitX Storefront — "Ivory & Gold" design system
   Deep ink + champagne gold on warm ivory. Serif display, clean sans body.
   ========================================================================== */
/* The taka sign (৳, U+09F3) drawn with the system's Bengali UI font where available (Nirmala UI on Windows) —
   its ৳ has the full top bar and hook, so it stays clear at small sizes. Elsewhere the Noto subset loaded in the page head is used. */
@font-face { font-family: 'TakaSign'; font-weight: 100 599; src: local('Nirmala UI'), local('NirmalaUI'); unicode-range: U+09F3; }
@font-face { font-family: 'TakaSign'; font-weight: 600 900; src: local('Nirmala UI Bold'), local('NirmalaUI-Bold'), local('Nirmala UI'); unicode-range: U+09F3; }
:root {
  --ink: #1a1030;
  --ink-2: #281a4a;
  --ink-3: #3a2670;
  --gold: #d6168f;
  --gold-d: #a80f70;
  --gold-l: #ffae5c;
  --gold-soft: #fdeaf6;
  --ivory: #fbf8ff;
  --paper: #ffffff;
  --sand: #f3edfa;
  --line: #e8e0f4;
  --text: #23262f;
  --muted: #6c707c;
  --ok: #1f7a5a;   --ok-bg: #e3f3ec;
  --warn: #9a6a12; --warn-bg: #fbf0d6;
  --bad: #b4413f;  --bad-bg: #fbe6e5;
  --info: #2c5f9e; --info-bg: #e4eefa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(26,16,48,.05), 0 2px 8px rgba(26,16,48,.05);
  --shadow: 0 10px 30px -12px rgba(26,16,48,.22);
  --shadow-lg: 0 24px 60px -20px rgba(26,16,48,.35);
  --ff-body: 'TakaSign', 'Noto Sans Bengali', 'Inter', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-display: 'TakaSign', 'Noto Sans Bengali', 'Playfair Display', 'Noto Serif Bengali', Georgia, serif;
  --ease: cubic-bezier(.22,.8,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 15px; line-height: 1.6; color: var(--text);
  background: var(--ivory); -webkit-font-smoothing: antialiased; min-height: 100vh;
  display: flex; flex-direction: column;
}
body.lang-bn { font-family: 'TakaSign', 'Noto Sans Bengali', 'Hind Siliguri', 'Inter', system-ui, sans-serif; font-size: 16px; }
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
h1, h2, .display { font-family: var(--ff-display); letter-spacing: -.01em; font-weight: 600; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--gold-l); color: var(--ink); }

/* ───────── top bar ───────── */
.topbar { background: var(--ink); color: #e2d9f3; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-msg i { color: var(--gold-l); margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right a:hover { color: var(--gold-l); }
.langsw { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.langsw a { padding: 2px 11px; font-size: 12px; font-weight: 600; }
.langsw a.on { background: var(--gold); color: #fff; }

/* ───────── header ───────── */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251,248,255,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.hdr.scrolled { box-shadow: 0 8px 24px -16px rgba(26,16,48,.35); }
.hdr-in { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-l); font-size: 16px; background: linear-gradient(145deg, var(--ink-3), var(--ink)); box-shadow: inset 0 0 0 1px rgba(255,174,92,.4); }
.brand-logo { height: 42px; width: auto; border-radius: 8px; }
.brand-name { font-family: var(--ff-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.brand-light .brand-name { color: #fff; }
.search { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,22,143,.15); }
.search i { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 9px 0; font-size: 14.5px; }
.search button { border: 0; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; padding: 9px 22px; border-radius: 999px; transition: background .2s; }
.search button:hover { background: var(--gold-d); }
.hdr-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 52px; padding: 6px 10px; border: 0; background: transparent; border-radius: 12px; font-size: 18px; color: var(--ink); transition: background .2s, color .2s; }
.icon-btn .lbl { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.icon-btn:hover, .icon-btn.on { background: var(--gold-soft); color: var(--gold-d); }
.icon-btn:hover .lbl, .icon-btn.on .lbl { color: var(--gold-d); }
.badge { position: absolute; top: 0; right: 4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--ivory); }
.badge.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.hdr-menu { display: none; flex-direction: row; min-width: 0; padding: 9px 11px; }
.catnav { border-top: 1px solid var(--line); background: var(--paper); }
.catnav-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 2px; padding-bottom: 2px; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { position: relative; padding: 11px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; letter-spacing: .01em; transition: color .2s; }
.catnav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease); border-radius: 2px; }
.catnav a:hover, .catnav a.on { color: var(--ink); }
.catnav a:hover::after, .catnav a.on::after { transform: scaleX(1); }

/* drawer (mobile) */
.drawer { position: fixed; z-index: 90; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); background: var(--paper); transform: translateX(-102%); transition: transform .35s var(--ease); display: flex; flex-direction: column; padding: 14px 14px 30px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; font-weight: 600; color: var(--ink-2); }
.drawer a i { width: 18px; text-align: center; color: var(--gold-d); }
.drawer a:hover { background: var(--gold-soft); }
.drawer a.danger, .drawer a.danger i { color: var(--bad); }
.drawer hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(26,16,48,.5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* bottom tab bar (mobile) */
.tabbar { display: none; }

/* ───────── toasts ───────── */
.toasts { position: fixed; z-index: 200; top: 84px; right: 18px; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 380px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; animation: toastIn .45s var(--ease); border-left: 4px solid var(--gold); }
.toast i { margin-top: 3px; color: var(--gold-l); }
.toast-error { border-left-color: #e0645f; } .toast-error i { color: #ff9b97; }
.toast.leave { opacity: 0; transform: translateX(30px); transition: all .35s; }
.toast a { text-decoration: underline; color: var(--gold-l); margin-left: 6px; font-weight: 600; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } }

/* ───────── buttons / forms ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 14.5px; letter-spacing: .01em; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-3); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, #ff9f43 0%, #e6007e 52%, #7b2ff7 100%); color: #fff; box-shadow: 0 8px 22px -8px rgba(168,15,112,.7); text-shadow: 0 1px 0 rgba(0,0,0,.12); }
.btn-gold:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(168,15,112,.8); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--gold); color: var(--gold-d); }
.btn-lg { padding: 16px 34px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; filter: grayscale(.4); }
.btn.loading { pointer-events: none; opacity: .8; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.field label small { color: var(--muted); font-weight: 500; }
.input, .select, .textarea { width: 100%; padding: 13px 16px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px; transition: border-color .2s, box-shadow .2s; outline: 0; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214,22,143,.15); }
.textarea { resize: vertical; min-height: 92px; }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236c707c' stroke-width='2'><path d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.hint { font-size: 12.5px; margin-top: 6px; color: var(--muted); }
.hint.bad { color: var(--bad); } .hint.ok { color: var(--ok); }
.input.bad { border-color: var(--bad); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.pill-ok { background: var(--ok-bg); color: var(--ok); } .pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); } .pill-info { background: var(--info-bg); color: var(--info); }
.pill-muted { background: var(--sand); color: var(--muted); }

/* placeholder when a product has no photo */
.ph { width: 100%; height: 100%; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 30% 20%, #fff, var(--sand)); color: var(--gold-l); }
.ph i { font-size: 54px; opacity: .55; }
.ph b { position: absolute; font-family: var(--ff-display); font-size: 120px; font-weight: 700; color: rgba(214,22,143,.12); line-height: 1; }

/* ───────── hero ───────── */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 520px at 88% -10%, rgba(255,0,160,.34), transparent 60%), radial-gradient(800px 460px at -8% 110%, rgba(255,159,67,.22), transparent 55%), linear-gradient(135deg, #1a1030, #2a1655 55%, #43207f); color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-l); }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--gold-l); }
.hero h1 { font-size: clamp(36px, 5.2vw, 68px); margin: 18px 0 20px; font-weight: 700; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--gold-l); font-weight: 600; }
.lang-bn .hero h1 { line-height: 1.25; font-size: clamp(32px, 4.6vw, 58px); }
.hero p { color: #d7cdee; font-size: 17px; max-width: 520px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-cta .btn-ghost:hover { background: #fff; color: var(--ink); }
.hero-stats { display: flex; gap: 38px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats b { display: block; font-family: var(--ff-display); font-size: 30px; color: var(--gold-l); line-height: 1; }
.hero-stats span { font-size: 12.5px; color: #bfb3dc; letter-spacing: .04em; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 430px; margin-left: auto; width: 100%; }
.hero-art .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,174,92,.4); animation: rot 40s linear infinite; }
.hero-art .ring::after { content: ''; position: absolute; top: 8%; left: 14%; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-l); box-shadow: 0 0 24px 6px rgba(255,174,92,.6); }
.hero-art .ring.r2 { inset: 12%; animation-duration: 28s; animation-direction: reverse; border-style: dashed; opacity: .6; }
.hero-art .disc { position: absolute; inset: 22%; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #5a2fa0, var(--ink-2)); box-shadow: inset 0 0 0 1px rgba(255,174,92,.45), 0 30px 60px -20px rgba(0,0,0,.6); font-size: clamp(64px, 9vw, 112px); color: var(--gold-l); }
.hero-art .disc i { filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); transform: rotate(-14deg); }
@keyframes rot { to { transform: rotate(360deg); } }

/* ───────── sections ───────── */
.section { padding: 40px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(18px, 2vw, 26px); line-height: 1.3; }
.sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.sec-link { font-weight: 600; color: var(--gold-d); display: inline-flex; gap: 8px; align-items: center; }
.sec-link:hover i { transform: translateX(4px); } .sec-link i { transition: transform .25s var(--ease); }

.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.cat-tile { position: relative; overflow: hidden; padding: 26px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.cat-tile::after { content: '\f061'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: 22px; bottom: 22px; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: all .3s var(--ease); }
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-l); }
.cat-tile:hover::after { opacity: 1; transform: none; }
.cat-tile i.ci { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold-d); font-size: 19px; margin-bottom: 14px; }
.cat-tile b { font-family: var(--ff-display); font-size: 20px; }
.cat-tile span { font-size: 13px; color: var(--muted); }

/* page header (inner pages) */
.page-head { background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; padding: 38px 0 40px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -90px; top: -190px; border: 1px solid rgba(255,174,92,.35); box-shadow: 0 0 0 40px rgba(255,174,92,.05); }
.page-head h1 { font-size: clamp(28px, 4vw, 42px); position: relative; }
.page-head p { margin: 8px 0 0; color: #cbbfe6; position: relative; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #bfb3dc; margin-bottom: 14px; position: relative; }
.crumbs a:hover { color: var(--gold-l); } .crumbs i { font-size: 9px; opacity: .6; }
.crumbs.dark { color: var(--muted); } .crumbs.dark a:hover { color: var(--gold-d); }

/* catalog toolbar + filters */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 20px 0 48px; align-items: start; }
.section.section-tight { padding: 22px 0 0; }
.filters { position: sticky; top: 148px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h4 { font-family: var(--ff-display); font-size: 18px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.filters h4 a { font-family: var(--ff-body); font-size: 12px; color: var(--gold-d); font-weight: 600; }
.f-group { padding: 16px 0; border-top: 1px solid var(--line); }
.f-group:first-of-type { border-top: 0; padding-top: 4px; }
.f-group > label.t { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.f-cat a { display: flex; justify-content: space-between; padding: 8px 10px; margin: 0 -10px; border-radius: 9px; font-size: 14px; font-weight: 500; transition: background .2s, color .2s; }
.f-cat a span { color: var(--muted); font-size: 12px; }
.f-cat a:hover { background: var(--sand); } .f-cat a.on { background: var(--gold-soft); color: var(--gold-d); font-weight: 700; }
.price-row { display: flex; gap: 10px; align-items: center; } .price-row .input { padding: 10px 12px; font-size: 14px; }
.switch { display: flex; align-items: center; gap: 11px; cursor: pointer; font-size: 14px; font-weight: 500; }
.switch input { appearance: none; width: 42px; height: 24px; border-radius: 999px; background: #d8cdea; position: relative; transition: background .25s; flex-shrink: 0; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked { background: var(--gold); } .switch input:checked::after { transform: translateX(18px); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; } .toolbar .count b { color: var(--ink); }
.toolbar .select { width: auto; padding: 10px 40px 10px 16px; font-size: 14px; border-radius: 999px; }
.filter-toggle { display: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: var(--gold-soft); color: var(--gold-d); border-radius: 999px; font-size: 13px; font-weight: 600; }
.chip:hover { background: var(--gold-l); color: var(--ink); }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; animation: rise .6s var(--ease) both; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-l); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.card-media { position: relative; display: block; aspect-ratio: 1/1; background: radial-gradient(circle at 30% 20%, #fff, var(--sand)); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card.is-out .card-media img, .card.is-out .card-media .ph { filter: grayscale(.85); opacity: .65; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.b { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.b-new { background: var(--ink); color: var(--gold-l); } .b-low { background: var(--warn-bg); color: var(--warn); } .b-out { background: var(--ink); color: #fff; }
.wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), color .2s, background .2s; z-index: 2; }
.wish:hover { transform: scale(1.12); color: var(--bad); } .wish.on { color: var(--bad); } .wish.pop { animation: bump .45s var(--ease); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); }
.card-title { font-size: 16px; font-weight: 600; line-height: 1.35; font-family: var(--ff-body); }
.lang-bn .card-title { font-size: 17px; }
.card-title a:hover { color: var(--gold-d); }
.card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); min-height: 18px; }
.card-meta i { color: var(--gold); margin-right: 3px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-weight: 700; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.price s { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.add-quick { height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; transition: all .25s var(--ease); flex-shrink: 0; }
.add-quick:hover { background: var(--ink); color: var(--gold-l); }
.add-quick:active { transform: scale(.95); }
.add-quick.done { background: var(--ok); border-color: var(--ok); color: #fff; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14px; transition: all .2s; }
.pager a:hover { border-color: var(--gold); color: var(--gold-d); } .pager .cur { background: var(--ink); border-color: var(--ink); color: #fff; } .pager .gap { border: 0; background: none; }

.empty { text-align: center; padding: 70px 20px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty .em-ico { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); font-size: 34px; }
.empty h3 { font-family: var(--ff-display); font-size: 26px; margin-bottom: 8px; } .empty p { color: var(--muted); margin: 0 0 24px; }

/* ───────── product detail ───────── */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 26px 0 60px; align-items: start; }
.pd-media { position: sticky; top: 150px; }
.pd-img { position: relative; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 30% 20%, #fff, var(--sand)); border: 1px solid var(--line); cursor: zoom-in; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pd-img.zoom img { transform: scale(1.9); }
.pd-img .card-badges { top: 18px; left: 18px; }
.pd-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pd-assure div { text-align: center; padding: 14px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-size: 12px; color: var(--muted); }
.pd-assure i { display: block; font-size: 20px; color: var(--gold); margin-bottom: 6px; }
.pd-info .card-cat { font-size: 12.5px; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 8px 0 14px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.pd-price .now { font-family: var(--ff-display); font-size: 36px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.stock-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.stock-line::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.stock-line.in { color: var(--ok); } .stock-line.in::before { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); }
.stock-line.low { color: var(--warn); } .stock-line.low::before { background: #d9961f; box-shadow: 0 0 0 4px var(--warn-bg); }
.stock-line.out { color: var(--bad); } .stock-line.out::before { background: var(--bad); box-shadow: 0 0 0 4px var(--bad-bg); }
.pd-desc { color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.opt { margin-bottom: 22px; }
.opt-label { display: flex; justify-content: space-between; margin-bottom: 11px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.opt-label span { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--gold-d); }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-btn { position: relative; min-width: 56px; padding: 11px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 14.5px; transition: all .2s var(--ease); }
.opt-btn:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.opt-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 8px 18px -8px rgba(26,16,48,.6); }
.opt-btn:disabled { color: #bdb3cf; background: var(--sand); cursor: not-allowed; text-decoration: line-through; }
.opt-btn.swatch { display: inline-flex; gap: 9px; align-items: center; padding-left: 12px; }
.opt-btn.swatch i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.buy-row { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); height: 54px; }
.qty button { width: 48px; height: 100%; border: 0; background: transparent; font-size: 17px; color: var(--ink); border-radius: 999px; transition: background .2s, color .2s; }
.qty button:hover:not(:disabled) { background: var(--gold-soft); color: var(--gold-d); } .qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty input { width: 46px; text-align: center; border: 0; background: transparent; font-weight: 700; font-size: 16px; outline: 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 40px; } .qty.sm button { width: 34px; font-size: 14px; } .qty.sm input { width: 34px; font-size: 14.5px; }
.buy-row .btn { height: 54px; flex: 1; min-width: 160px; }
.pd-actions { display: flex; gap: 12px; margin-top: 16px; }
.pd-actions .btn { padding: 11px 20px; font-size: 13.5px; }
.btn.wished { color: var(--bad); border-color: var(--bad); }
.deliv { margin-top: 26px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 12px; font-size: 14px; }
.deliv div { display: flex; gap: 14px; align-items: center; } .deliv i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); flex-shrink: 0; }
.deliv small { display: block; color: var(--muted); }

/* ───────── cart ───────── */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; padding: 34px 0 70px; align-items: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.panel h3 { font-family: var(--ff-display); font-size: 22px; margin-bottom: 18px; }
.ship-bar { padding: 16px 20px; background: var(--gold-soft); border-radius: 14px; margin-bottom: 18px; font-size: 14px; }
.ship-bar b { color: var(--gold-d); }
.ship-bar .track { height: 7px; background: rgba(168,15,112,.18); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.ship-bar .track i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-l), var(--gold-d)); border-radius: 99px; transition: width .6s var(--ease); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); font-size: 14px; margin-bottom: 12px; }
.notice i { margin-top: 3px; }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; } .line:last-child { border-bottom: 0; padding-bottom: 0; }
.line-img { width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.line-img img { width: 100%; height: 100%; object-fit: cover; } .line-img .ph i { font-size: 28px; } .line-img .ph b { display: none; }
.line-name { font-weight: 600; font-size: 16px; display: block; } .line-name:hover { color: var(--gold-d); }
.line-var { color: var(--muted); font-size: 13px; margin: 3px 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.line-var span { background: var(--sand); padding: 2px 10px; border-radius: 99px; }
.line-ctl { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.link-btn { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; padding: 0; display: inline-flex; gap: 6px; align-items: center; transition: color .2s; }
.link-btn:hover { color: var(--bad); }
.line-total { text-align: right; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.line-total small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.line.is-out { opacity: .7; } .line.is-out .line-total { color: var(--bad); font-size: 13px; }
.sum { position: sticky; top: 150px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--muted); font-size: 14.5px; }
.sum-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-row.free b { color: var(--ok); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 20px; margin-top: 8px; border-top: 1.5px dashed var(--line); font-weight: 700; }
.sum-total span:first-child { font-size: 16px; } .sum-total span:last-child { font-family: var(--ff-display); font-size: 30px; color: var(--ink); }
.secure { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.secure i { color: var(--ok); }

/* ───────── checkout ───────── */
.steps { display: flex; justify-content: center; gap: 0; padding: 28px 0 6px; font-size: 13px; font-weight: 600; }
.steps div { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.steps div + div::before { content: ''; width: clamp(24px, 8vw, 80px); height: 2px; background: var(--line); margin: 0 12px; }
.steps div.done + div::before, .steps div.on::before { background: var(--gold); }
.steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--muted); font-size: 13px; }
.steps .done b { background: var(--gold); color: #fff; } .steps .on b { background: var(--ink); color: var(--gold-l); } .steps .on, .steps .done { color: var(--ink); }
.co-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; padding: 22px 0 70px; align-items: start; }
.co-block + .co-block { margin-top: 22px; }
.co-block h3 { display: flex; align-items: center; gap: 12px; } .co-block h3 i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); font-size: 15px; }
.opt-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: all .2s; background: var(--paper); }
.opt-card + .opt-card { margin-top: 12px; }
.opt-card:hover { border-color: var(--gold-l); }
.opt-card:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 3px rgba(214,22,143,.14); }
.opt-card input { accent-color: var(--gold-d); width: 19px; height: 19px; flex-shrink: 0; }
.opt-card .oc-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--ok); font-size: 18px; border: 1px solid var(--line); flex-shrink: 0; }
.opt-card b { display: block; font-size: 15px; } .opt-card small { color: var(--muted); font-size: 13px; }
.opt-card .oc-fee { margin-left: auto; font-weight: 700; white-space: nowrap; }
.mini-line { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-line:last-of-type { border-bottom: 0; }
.mini-img { position: relative; width: 62px; height: 62px; border-radius: 12px; background: var(--sand); border: 1px solid var(--line); flex-shrink: 0; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; } .mini-img .ph i { font-size: 20px; } .mini-img .ph b { display: none; }
.mini-img em { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 99px; font-size: 11.5px; font-style: normal; font-weight: 700; }
.mini-line .nm { font-weight: 600; font-size: 14.5px; line-height: 1.35; } .mini-line .vr { color: var(--muted); font-size: 12.5px; }
.mini-line .pr { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.login-nudge { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-l); margin-bottom: 22px; font-size: 14px; }
.login-nudge i { font-size: 20px; color: var(--gold-d); } .login-nudge a { font-weight: 700; color: var(--gold-d); text-decoration: underline; }

/* ───────── success / track / orders ───────── */
.center-card { max-width: 720px; margin: 44px auto 70px; }
.success-hero { text-align: center; padding: 44px 30px 34px; }
.tick { width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font-size: 42px; position: relative; animation: tickIn .7s var(--ease); }
.tick::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0; animation: ping 1.6s .4s ease-out 2; }
@keyframes tickIn { from { transform: scale(.3); opacity: 0; } } @keyframes ping { 0% { opacity: .5; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.success-hero h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; } .success-hero p { color: var(--muted); max-width: 460px; margin: 0 auto 22px; }
.ord-no { display: inline-flex; flex-direction: column; padding: 12px 34px; border-radius: 16px; background: var(--ink); color: #fff; }
.ord-no small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); } .ord-no b { font-family: var(--ff-display); font-size: 26px; letter-spacing: .02em; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin-top: 26px; text-align: left; }
.kv small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; } .kv div { font-weight: 600; }
.kv .full { grid-column: 1 / -1; }
.timeline { display: flex; justify-content: space-between; position: relative; margin: 8px 0 4px; }
.timeline::before { content: ''; position: absolute; top: 24px; left: 10%; right: 10%; height: 3px; background: var(--line); border-radius: 3px; }
.tl { position: relative; flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tl i { width: 50px; height: 50px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--line); font-size: 17px; position: relative; z-index: 1; transition: all .3s; }
.tl.done i { background: var(--gold); border-color: var(--gold); color: #fff; } .tl.done, .tl.current { color: var(--ink); }
.tl.current i { background: var(--ink); border-color: var(--ink); color: var(--gold-l); box-shadow: 0 0 0 6px rgba(26,16,48,.1); animation: glow 2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 10px rgba(26,16,48,.04); } }
.track-fill { position: absolute; top: 24px; left: 10%; height: 3px; background: var(--gold); border-radius: 3px; transition: width .8s var(--ease); }
.courier { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--info-bg); color: var(--info); margin-top: 22px; font-size: 14px; } .courier code { background: #fff; padding: 2px 10px; border-radius: 8px; font-weight: 700; user-select: all; }
.order-card { padding: 22px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s, transform .3s var(--ease), border-color .3s; display: block; }
.order-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold-l); }
.order-card + .order-card { margin-top: 16px; }
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.oc-top b { font-family: var(--ff-display); font-size: 20px; } .oc-top small { color: var(--muted); display: block; }
.oc-items { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.oc-items .mini-img { width: 52px; height: 52px; } .oc-items .more { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--sand); font-weight: 700; color: var(--muted); font-size: 13px; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); gap: 12px; flex-wrap: wrap; }
.oc-foot .tot { font-weight: 700; font-size: 18px; } .oc-foot .go { color: var(--gold-d); font-weight: 600; font-size: 14px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; } .tbl th { text-align: left; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; border-bottom: 1px solid var(--line); } .tbl td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; } .tbl .r { text-align: right; font-variant-numeric: tabular-nums; } .tbl tr:last-child td { border-bottom: 0; }

/* ───────── auth ───────── */
.auth-wrap { min-height: 70vh; display: grid; place-items: center; padding: 44px 16px 70px; background: radial-gradient(700px 320px at 50% 0, var(--gold-soft), transparent 70%); }
.auth { width: 100%; max-width: 460px; }
.auth-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; } .auth-card > p { color: var(--muted); margin: 0 0 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.tabs button { border: 0; background: transparent; padding: 11px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: all .25s var(--ease); }
.tabs button.on { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.tab-pane { display: none; } .tab-pane.on { display: block; animation: rise .4s var(--ease); }
.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert-bad { background: var(--bad-bg); color: var(--bad); } .alert-ok { background: var(--ok-bg); color: var(--ok); }

/* ───────── promises + footer ───────── */
.promises { background: var(--paper); border-top: 1px solid var(--line); }
.promises-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.promises-in div { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; align-items: center; }
.promises-in i { grid-row: span 2; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-d); font-size: 20px; }
.promises-in b { font-size: 14.5px; } .promises-in span { font-size: 12.5px; color: var(--muted); }
.ftr { background: var(--ink); color: #bfb3dc; margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.ftr h4 { font-family: var(--ff-display); font-size: 18px; color: #fff; margin-bottom: 16px; }
.ftr a { display: block; padding: 5px 0; font-size: 14px; transition: color .2s, padding .25s var(--ease); } .ftr a:hover { color: var(--gold-l); padding-left: 5px; }
.ftr p { margin: 0 0 10px; font-size: 14px; } .ftr p i { color: var(--gold); width: 20px; } .ftr p a { display: inline; padding: 0; } .ftr p a:hover { padding: 0; }
.ftr-about { margin-top: 16px !important; max-width: 320px; line-height: 1.7; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; text-align: center; }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .pd { gap: 34px; } .co-layout { grid-template-columns: 1fr 380px; } .cart-layout { grid-template-columns: 1fr 340px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; } .promises-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hdr-menu { display: inline-flex; } .catnav { display: none; } .topbar-right a:not(.langsw a) { display: none; }
  .hdr-in { gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .brand-name { font-size: 19px; } .brand-mark { width: 36px; height: 36px; }
  .search { order: 5; flex-basis: 100%; max-width: none; } .search button { display: none; }
  .hdr-actions { margin-left: auto; } .icon-btn .lbl { display: none; } .hdr-actions .icon-btn:not(.cart-btn) { display: none; }
  .brand { margin-right: auto; }
  .hero-in { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; } .hero-art { display: none; } .hero-stats { gap: 26px; }
  .shop-layout { grid-template-columns: 1fr; gap: 0; padding-top: 14px; }
  .section.section-tight { padding: 16px 0 0; }
  .filters { position: fixed; z-index: 95; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow-y: auto; border-radius: 24px 24px 0 0; transform: translateY(105%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); border: 0; padding-bottom: 34px; }
  .filters.open { transform: none; }
  .filter-toggle { display: inline-flex; }
  .pd { grid-template-columns: 1fr; gap: 24px; } .pd-media { position: static; }
  .cart-layout, .co-layout { grid-template-columns: 1fr; } .sum { position: static; }
  .co-layout .sum-col { order: -1; }
  .tabbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 5px 0; font-size: 10.5px; font-weight: 700; color: var(--muted); }
  .tabbar a i { font-size: 19px; } .tabbar a.on { color: var(--gold-d); }
  .tabbar .badge { top: 0; right: 24%; }
  body { padding-bottom: 66px; }
  .toasts { top: 70px; right: 50%; transform: translateX(50%); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar-msg { font-size: 12px; } .topbar-right a:not(.langsw a) { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-body { padding: 12px 12px 14px; } .card-title { font-size: 14px; } .lang-bn .card-title { font-size: 15px; } .price { font-size: 15px; }
  .add-quick { height: 36px; width: 36px; padding: 0; justify-content: center; } .add-quick span { display: none; } .card-meta { font-size: 11px; gap: 8px; }
  .section { padding: 28px 0; }
  .line { grid-template-columns: 76px 1fr; gap: 14px; } .line-img { width: 76px; height: 76px; } .line-total { grid-column: 2; text-align: left; display: flex; gap: 10px; align-items: baseline; }
  .panel { padding: 20px; border-radius: 18px; }
  .grid-2 { grid-template-columns: 1fr; } .kv { grid-template-columns: 1fr; }
  .promises-in { grid-template-columns: 1fr; gap: 14px; } .ftr-grid { grid-template-columns: 1fr; gap: 26px; }
  .buy-row .btn { min-width: 100%; }
  .steps div span { display: none; } .steps div.on span { display: inline; }
  .tl { font-size: 11px; } .tl i { width: 42px; height: 42px; font-size: 14px; } .timeline::before, .track-fill { top: 20px; }
  .auth-card { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .topbar, .hdr, .tabbar, .promises, .ftr, .btn, .toasts { display: none !important; } body { background: #fff; } }

/* quick size picker (opened from a product card) */
.qp-back { position: fixed; inset: 0; z-index: 150; background: rgba(26,16,48,.55); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.qp { width: 100%; max-width: 420px; background: var(--paper); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); animation: rise .35s var(--ease); position: relative; }
.qp h3 { font-family: var(--ff-display); font-size: 22px; padding-right: 36px; margin-bottom: 4px; }
.qp .qp-price { font-weight: 700; font-size: 18px; margin-bottom: 14px; }
.qp-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--sand); }
.qp .stock-line { margin: 12px 0 14px; }
.qp .buy-row .btn { height: 50px; min-width: 0; }
.qp .qty { height: 50px; }
@media (max-width: 640px) { .qp-back { align-items: end; padding: 0; } .qp { border-radius: 22px 22px 0 0; max-width: none; padding-bottom: 30px; } }

/* live search suggestions */
.search { position: relative; }
.sg { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; max-height: 70vh; overflow-y: auto; animation: rise .25s var(--ease); }
.sg a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.sg a:hover { background: var(--gold-soft); }
.sg-img { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; background: var(--sand); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.sg-img img { width: 100%; height: 100%; object-fit: cover; }
.sg-t { flex: 1; min-width: 0; line-height: 1.3; } .sg-t b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sg-t small { color: var(--muted); font-size: 12px; }
.sg-p { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.sg .sg-all { justify-content: center; color: var(--gold-d); font-weight: 700; font-size: 14px; }
.sg-none { padding: 16px; text-align: center; color: var(--muted); }

/* logo image */
.brand-logo { height: 64px; min-width: 64px; width: auto; border-radius: 0; object-fit: contain; }
.brand-logo-lg { height: 84px; }
.brand-name.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .brand-logo { height: 52px; min-width: 52px; } }

/* logo-matched accents: orange → magenta → violet */
:root { --brand-grad: linear-gradient(135deg, #ff9f43 0%, #e6007e 52%, #7b2ff7 100%); }
.catnav a::after { background: var(--brand-grad); height: 3px; }
.topbar { border-bottom: 2px solid transparent; border-image: var(--brand-grad) 1; }
.hero h1 em { background: linear-gradient(90deg, #ffb066, #ff5cb8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { background: var(--brand-grad); }
.pager .cur, .tabs button.on, .search button, .opt-btn.on, .btn-ink { background: var(--ink); }
.search button:hover { background: var(--gold-d); }
.hero-stats b, .pd-price .now { color: inherit; }
.hero-stats b { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ship-bar .track i { background: var(--brand-grad); }
.eyebrow::before { background: var(--brand-grad); height: 2px; }

/* compact header */
.topbar-in { min-height: 32px; } .topbar { font-size: 12.5px; } .langsw a { padding: 1px 10px; }
.hdr-in { padding-top: 6px; padding-bottom: 6px; gap: 18px; }
.brand-logo { height: 48px; min-width: 48px; }
.search { padding: 2px 3px 2px 16px; } .search input { padding: 7px 0; } .search button { padding: 7px 20px; }
.icon-btn { padding: 3px 8px; font-size: 17px; }
.catnav a { padding: 8px 14px; } .catnav a::after { bottom: 3px; }
@media (max-width: 900px) {
  .hdr-in { padding-top: 4px; padding-bottom: 6px; gap: 6px; }
  .brand-logo { height: 40px; min-width: 40px; }
  .search { padding: 1px 12px; } .search input { padding: 6px 0; font-size: 14px; }
  .topbar-in { min-height: 28px; }
  .toasts { top: 60px; }
}

/* compact hero: slim section, smaller type, small buttons */
.hero-in { padding-top: 26px; padding-bottom: 28px; gap: 26px; }
.eyebrow { font-size: 11px; letter-spacing: .18em; gap: 8px; }
.eyebrow::before { width: 26px; }
.hero h1 { margin: 8px 0 8px; font-size: clamp(19px, 2.3vw, 27px); line-height: 1.25; }
/* Bengali headline: the display serif (Noto Serif Bengali) looks squashed at this size, so it uses the same clean Bengali font as the body text */
.lang-bn .hero h1 { font-family: 'Hind Siliguri', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: 0; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.4; }
/* Bengali has no italic design; a browser-slanted Bengali word looks blurry and squeezed, so the coloured part stays upright */
.lang-bn .hero h1 em { font-style: normal; font-weight: 700; }
.hero p { font-size: 14px; line-height: 1.55; margin-bottom: 14px; max-width: 480px; }
.hero .btn-lg { padding: 9px 20px; font-size: 13.5px; }
.hero-cta { gap: 10px; }
.hero-stats { margin-top: 18px; padding-top: 12px; gap: 28px; }
.hero-stats b { font-size: 20px; }
.hero-stats span { font-size: 11.5px; }
.hero-art { max-width: 250px; }
@media (max-width: 900px) {
  .hero-in { padding-top: 16px; padding-bottom: 18px; gap: 0; }
  .hero h1 { margin: 6px 0 6px; font-size: clamp(17px, 3.8vw, 20px); }
  .lang-bn .hero h1 { font-size: clamp(17px, 3.6vw, 19.5px); line-height: 1.4; }
  .hero p { font-size: 13px; margin-bottom: 10px; line-height: 1.5; }
  .hero .btn-lg { padding: 8px 16px; font-size: 13px; }
  .hero-cta { gap: 8px; }
  .hero-stats { margin-top: 12px; padding-top: 9px; gap: 18px; }
  .hero-stats b { font-size: 17px; }
  .hero-stats span { font-size: 11px; }
}
/* gradient italic text: give the glyph overhang room so it is not clipped */
.hero h1 em { padding: .06em .16em .12em .04em; margin: 0 -.12em 0 -.02em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* grid children may shrink below their content width (prevents overflow on very narrow phones) */
.cart-layout > *, .co-layout > *, .pd > *, .shop-layout > *, .hero-in > * { min-width: 0; }
.line > div { min-width: 0; } .line-name { overflow-wrap: anywhere; }
@media (max-width: 360px) { .wrap { padding: 0 12px; } .line { grid-template-columns: 64px 1fr; gap: 12px; } .line-img { width: 64px; height: 64px; } .panel { padding: 16px; } .buy-row .btn { min-width: 100%; } }

/* Bengali headings: the display serif (Noto Serif Bengali) looks squashed, so every Bengali heading uses the clean body font.
   Prices, the brand name and Latin-only display figures keep their own style. */
.lang-bn h1, .lang-bn h2, .lang-bn h3, .lang-bn h4, .lang-bn .display, .lang-bn .cat-tile b, .lang-bn .empty h3 {
  font-family: 'Hind Siliguri', 'Inter', system-ui, sans-serif; font-weight: 700; letter-spacing: 0;
}
.lang-bn h1 em, .lang-bn h2 em, .lang-bn .display em { font-style: normal; }

/* compact collection tiles: small icon beside the name, count underneath */
.cat-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cat-tile { padding: 10px 14px; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; row-gap: 0; align-items: center; border-radius: 12px; }
.cat-tile i.ci { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; font-size: 14px; margin: 0; }
.cat-tile b { font-size: 14.5px; line-height: 1.25; }
.cat-tile span { font-size: 12px; line-height: 1.3; }
.cat-tile::after { right: 12px; bottom: 50%; transform: translate(-8px, 50%); font-size: 12px; }
.cat-tile:hover { transform: translateY(-2px); }
.cat-tile:hover::after { transform: translate(0, 50%); }

/* slim filter panel: shorter fields, switch and buttons */
.filters { padding: 16px; }
.filters h4 { font-size: 16px; margin-bottom: 8px; }
.f-group { padding: 12px 0; }
.f-group > label.t { font-size: 11px; margin-bottom: 8px; }
.f-cat a { padding: 6px 8px; margin: 0 -8px; font-size: 13.5px; }
.price-row { gap: 8px; }
.price-row .input { height: 34px; padding: 5px 10px; font-size: 13px; border-radius: 10px; border-width: 1px; }
.switch { gap: 9px; font-size: 13.5px; }
.switch input { width: 36px; height: 20px; }
.switch input::after { top: 3px; left: 3px; width: 14px; height: 14px; }
.switch input:checked::after { transform: translateX(16px); }
.filters .btn { padding: 8px 16px; font-size: 13px; }
.toolbar .select { height: 34px; padding: 5px 32px 5px 14px; font-size: 13px; }
.toolbar .filter-toggle { padding: 6px 14px; font-size: 13px; }

/* size picker on hover: sizes that can be bought link to the product page with that size selected, sold-out sizes are disabled */
.card-top { position: relative; }
.card-sizes { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px 10px; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(100%); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s; }
.card:hover .card-sizes, .card:focus-within .card-sizes { transform: none; opacity: 1; pointer-events: auto; }
.cs-label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cs-list { display: flex; flex-wrap: wrap; gap: 5px; }
.cs { min-width: 34px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1; transition: border-color .15s, background .15s, color .15s; }
a.cs:hover, a.cs:focus-visible { border-color: #c2188a; background: var(--gold-soft); color: var(--gold-d); outline: 0; }
.cs.is-off { background: #f4f1f8; color: #b7b0c6; border-color: #ece7f4; text-decoration: line-through; cursor: not-allowed; }
@media (hover: none) { .card-sizes { display: none; } }

/* "Add" on the product card: smaller, filled with the brand gradient */
.price { font-size: 16px; }
.add-quick { height: 32px; padding: 0 14px 0 12px; gap: 7px; border: 0; border-radius: 999px; background: var(--brand-grad); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .01em; box-shadow: 0 6px 14px -7px rgba(168,15,112,.75); transition: transform .2s var(--ease), box-shadow .2s, filter .2s; }
.add-quick i { font-size: 12px; transition: transform .25s var(--ease); }
.add-quick:hover { background: var(--brand-grad); color: #fff; filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 10px 18px -8px rgba(168,15,112,.85); }
.add-quick:hover i { transform: rotate(-12deg) scale(1.12); }
.add-quick:active { transform: scale(.95); }
.add-quick:focus-visible { outline: 2px solid #c2188a; outline-offset: 2px; }
.add-quick.done { background: var(--ok); color: #fff; box-shadow: 0 6px 14px -7px rgba(15,122,92,.7); }
@media (max-width: 640px) {
  .add-quick { height: 32px; width: 32px; padding: 0; justify-content: center; }
  .add-quick i { font-size: 13px; }
}

/* low-stock line: which size is low, and the other sizes that can still be bought */
.stock-line { flex-wrap: wrap; }
.stock-more { flex-basis: 100%; margin: -2px 0 0 17px; font-size: 12.5px; font-weight: 500; color: var(--muted); }

/* ───────── collapsible multi-select filter panel (size / colour / brand / category / price) ───────── */
.filters { padding: 16px 18px 18px; }
.f-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.f-top h4 { margin: 0; }
.f-top a { font-size: 12px; color: var(--gold-d); font-weight: 700; margin-left: auto; }
.f-close { display: none; border: 0; background: var(--sand); width: 34px; height: 34px; border-radius: 50%; }
.f-sec { border-top: 1px solid var(--line); }
.f-sec:first-of-type { border-top: 0; }
.f-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; background: none; border: 0; font-weight: 700; font-size: 14.5px; color: var(--ink); text-align: left; }
.f-head i { font-size: 11px; color: var(--muted); transition: transform .25s var(--ease); }
.f-sec.open .f-head i { transform: rotate(180deg); }
.f-body { display: none; padding: 0 2px 16px; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.f-sec.open .f-body { display: block; animation: rise .25s var(--ease); }
.fcheck { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; }
.fcheck input { position: absolute; opacity: 0; pointer-events: none; }
.fbox { width: 18px; height: 18px; border: 1.5px solid #cbbfe0; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; transition: all .15s; background: #fff; }
.fcheck input:checked + .fbox { background: var(--brand-grad-2, var(--gold)); border-color: transparent; }
.fcheck input:checked + .fbox::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 10px; color: #fff; }
.fcheck:hover .fbox { border-color: var(--gold); }
.fcheck input:focus-visible + .fbox { outline: 2px solid var(--gold); outline-offset: 2px; }
.fcheck .fl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fcheck .fc { color: var(--muted); font-size: 12px; }
.fchips { display: none; flex-wrap: wrap; gap: 8px; }
.f-sec.open .fchips { display: flex; }
.fchip { position: relative; cursor: pointer; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span { display: inline-flex; align-items: center; gap: 7px; min-width: 46px; justify-content: center; padding: 8px 13px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; font-size: 13.5px; transition: all .15s var(--ease); }
.fchip:hover span { border-color: var(--ink); }
.fchip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(26,16,48,.7); }
.fchip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fchip .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.f-apply { margin-top: 10px; }
.chip-clear { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.chip-clear:hover { color: var(--ink); background: var(--sand); }
@media (min-width: 901px) { .f-apply { display: none; } }          /* desktop applies as you click */
@media (max-width: 900px) {
  .f-close { display: grid; place-items: center; }
  .f-apply { position: sticky; bottom: -16px; padding: 12px 0 2px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 35%); }
  .f-body { max-height: none; }
}
@media (min-width: 901px) { .filters { max-height: calc(100vh - 170px); overflow-y: auto; scrollbar-width: thin; } }
/* options that would give no result with the current filters */
.fcheck.is-zero { opacity: .45; }
.fchip.is-zero span { opacity: .4; background: var(--sand); border-style: dashed; }
.fchip.is-zero:hover span { border-color: var(--line); }

/* ───────── "Style" filter: icon cards (like the reference site) ───────── */
.fstyles { display: none; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 15.5rem; overflow-y: auto; padding-right: 4px; }
.f-sec.open .fstyles { display: grid; }
.fstyle { position: relative; cursor: pointer; display: block; }
.fstyle input { position: absolute; opacity: 0; pointer-events: none; }
.fs-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 92px; padding: 10px 6px; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-2); transition: all .18s var(--ease); }
.fs-ico { color: var(--ink-3); display: grid; place-items: center; transition: color .18s, transform .25s var(--ease); }
.fs-name { font-size: 12.5px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fstyle:hover .fs-card { border-color: var(--ink); transform: translateY(-1px); }
.fstyle:hover .fs-ico { transform: scale(1.08); }
.fstyle input:checked + .fs-card { border-color: transparent; background: linear-gradient(180deg, var(--gold-soft), #fff); box-shadow: 0 0 0 2px var(--gold), 0 10px 18px -12px rgba(194, 24, 138, .6); }
.fstyle input:checked + .fs-card .fs-ico { color: var(--gold-d); }
.fstyle input:focus-visible + .fs-card { outline: 2px solid var(--gold); outline-offset: 2px; }
.fstyle.is-zero .fs-card { opacity: .42; border-style: dashed; }
@media (max-width: 900px) { .fstyles { max-height: none; } }

/* slimmer filter options */
.f-head { padding: 10px 2px; font-size: 14px; }
.f-body { padding-bottom: 12px; }
.fstyles { gap: 6px; max-height: 13.5rem; }
.fs-card { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 8px; padding: 6px 8px; border-radius: 9px; text-align: left; }
.fs-ico svg { width: 22px; height: 22px; }
.fs-name { font-size: 12px; line-height: 1.25; -webkit-line-clamp: 2; }
.fstyle:hover .fs-card { transform: none; }
.fchips { gap: 6px; }
.fchip span { min-width: 0; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; gap: 6px; }
.fchip .sw { width: 11px; height: 11px; }
.fcheck { padding: 4px 0; font-size: 13px; }
.fbox { width: 16px; height: 16px; border-radius: 4px; }
.price-row .input { padding: 7px 10px; font-size: 13px; border-radius: 9px; }
@media (max-width: 900px) { .fchip span { padding: 6px 12px; font-size: 13px; } .fs-card { padding: 8px 10px; } }
.f-hidden { display: none !important; }
.f-more { display: block; margin: 8px auto 0; border: 0; background: none; font-size: 12.5px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; padding: 4px 8px; }
.f-more:hover { color: var(--gold-d); }

/* hide / show the filter panel on desktop */
@media (min-width: 901px) {
  .filter-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .shop-layout.filters-off { grid-template-columns: 1fr; gap: 0; }
  .shop-layout.filters-off .filters { display: none; }
}

/* ───────── search by photo ───────── */
.cam-btn { border: 0; background: transparent; color: var(--ink-2); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex-shrink: 0; transition: background .2s, color .2s; }
.cam-btn:hover { background: var(--gold-soft); color: var(--gold-d); }
.qp.is-img { max-width: 440px; }
.is-prev { height: 150px; border-radius: 14px; overflow: hidden; background: var(--sand); margin: 8px 0 14px; display: grid; place-items: center; }
.is-prev img { max-width: 100%; max-height: 100%; object-fit: contain; }
.is-work { display: flex; align-items: center; gap: 10px; padding: 14px 0; color: var(--muted); font-weight: 600; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--gold); animation: spin .8s linear infinite; }
.is-found { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.is-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.is-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 13.5px; }
.is-tag small { font-weight: 600; color: var(--muted); font-size: 11.5px; }
.is-tag.on { border-color: transparent; background: linear-gradient(180deg, var(--gold-soft), #fff); box-shadow: 0 0 0 2px var(--gold); }
.is-tag i { font-size: 11px; color: var(--gold-d); }
.is-actions { display: flex; gap: 10px; margin-top: 6px; } .is-actions .btn-gold { flex: 1; }
.is-priv { margin: 14px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .search .cam-btn { margin-left: auto; } }
.is-matches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-height: 250px; overflow-y: auto; margin-bottom: 14px; }
.is-m { display: flex; flex-direction: column; gap: 3px; text-align: center; padding: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, transform .15s; }
.is-m:hover { border-color: var(--gold); transform: translateY(-2px); }
.is-mi { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--sand); display: block; }
.is-mi img { width: 100%; height: 100%; object-fit: cover; }
.is-m b { font-size: 11.5px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.is-m small { font-size: 10.5px; color: var(--muted); }
@media (max-width: 520px) { .is-matches { grid-template-columns: repeat(3, 1fr); } }
.is-prev img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.qp.is-img { max-height: 92vh; overflow-y: auto; }
.is-matches { max-height: 220px; }

/* camera button inside the search pill: a quiet round icon, not a second dark button */
.search button.cam-btn { background: transparent; color: var(--ink-3); padding: 0; width: 38px; height: 38px; min-width: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 400; margin: 0 2px 0 0; position: relative; }
.search button.cam-btn::before { content: ''; position: absolute; left: -7px; top: 9px; bottom: 9px; width: 1px; background: var(--line); }
.search button.cam-btn:hover { background: var(--gold-soft); color: var(--gold-d); }
.search button.cam-btn:active { transform: scale(.94); }
@media (max-width: 900px) { .search button.cam-btn { display: grid; margin-left: auto; width: 34px; height: 34px; min-width: 34px; } .search button.cam-btn::before { top: 7px; bottom: 7px; } }

/* ───────── "Find Similar" camera button on product pictures ───────── */
.sim-btn { position: absolute; top: 54px; right: 10px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(26, 16, 48, .42); color: #fff; font-size: 14px; backdrop-filter: blur(4px); opacity: .92; transition: background .2s, transform .2s var(--ease), opacity .2s; }
.sim-btn:hover { background: var(--gold-d); transform: scale(1.1); opacity: 1; }
.sim-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sim-btn.sim-lg { top: 16px; right: 16px; width: auto; height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
@media (max-width: 640px) { .sim-btn { width: 30px; height: 30px; top: 48px; right: 8px; font-size: 12.5px; } .sim-btn.sim-lg { top: 12px; right: 12px; height: 34px; } }
.sim-btn { background: rgba(26, 16, 48, .58); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .55); }

/* colours of the hovered size on a product card */
.cs-info { margin-top: 7px; min-height: 18px; font-size: 11.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; line-height: 1.3; }
.cs-info b { color: var(--ink); font-size: 12px; }
.cs-info .ci { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink-2); }
.cs-info .ci i { width: 11px; height: 11px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); flex-shrink: 0; }

/* ───────── slimmer product page ───────── */
.pd { gap: 40px; padding: 18px 0 44px; }
.pd-info h1 { font-size: clamp(22px, 2.6vw, 30px); margin: 4px 0 8px; line-height: 1.25; }
.lang-bn .pd-info h1 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; }
.pd-price { margin-bottom: 4px; }
.pd-price .now { font-size: 26px; }
.stock-line { font-size: 12.5px; margin-bottom: 12px; gap: 7px; }
.stock-line::before { width: 8px; height: 8px; }
.pd-desc { padding-bottom: 14px; margin-bottom: 14px; font-size: 14px; }
.opt { margin-bottom: 14px; }
.opt-label { margin-bottom: 8px; font-size: 11.5px; letter-spacing: .1em; }
.opt-row { gap: 8px; }
.opt-btn { min-width: 0; padding: 6px 14px; border-radius: 9px; font-size: 13.5px; }
.opt-btn.swatch { gap: 7px; padding-left: 10px; }
.opt-btn.swatch i { width: 12px; height: 12px; }
.qty { height: 42px; }
.qty button { width: 38px; font-size: 13px; }
.qty input { width: 36px; font-size: 14.5px; }
.buy-row { gap: 10px; margin-top: 4px; }
.buy-row .btn { height: 42px; min-width: 130px; padding: 0 20px; font-size: 13.5px; gap: 7px; }
.pd-actions { margin-top: 10px; }
.pd-actions .btn { padding: 7px 16px; font-size: 12.5px; }
.deliv { margin-top: 18px; padding: 12px 14px; gap: 9px; font-size: 13px; border-radius: 12px; }
.deliv i { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
.pd-assure div { padding: 10px 6px; font-size: 11.5px; }
.pd-assure i { font-size: 17px; margin-bottom: 4px; }
@media (max-width: 640px) { .buy-row .btn { min-width: 0; flex: 1 1 130px; } .pd-price .now { font-size: 24px; } }

/* product page: slimmer still */
.pd-info h1 { font-size: clamp(20px, 2.2vw, 25px); margin: 2px 0 6px; }
.lang-bn .pd-info h1 { font-size: clamp(20px, 2.2vw, 25px); }
.pd-info .card-cat { font-size: 11px; }
.pd-price .now { font-size: 22px; }
.stock-line { font-size: 12px; margin-bottom: 8px; }
.pd-desc { padding-bottom: 10px; margin-bottom: 10px; font-size: 13.5px; }
.opt { margin-bottom: 10px; }
.opt-label { margin-bottom: 6px; font-size: 11px; }
.opt-row { gap: 6px; }
.opt-btn { padding: 4px 11px; font-size: 12.5px; border-radius: 8px; border-width: 1px; }
.opt-btn.swatch { padding-left: 8px; gap: 6px; }
.opt-btn.swatch i { width: 10px; height: 10px; }
.qty { height: 36px; border-width: 1px; }
.qty button { width: 32px; font-size: 11px; }
.qty input { width: 30px; font-size: 13.5px; }
.buy-row { gap: 8px; }
.buy-row .btn { height: 36px; min-width: 112px; padding: 0 16px; font-size: 12.5px; gap: 6px; }
.pd-actions { margin-top: 8px; }
.pd-actions .btn { padding: 5px 14px; font-size: 12px; }
.deliv { margin-top: 14px; padding: 10px 12px; gap: 7px; font-size: 12.5px; }
.deliv i { width: 26px; height: 26px; font-size: 12px; }
.deliv div { gap: 10px; }
.pd-assure { gap: 8px; margin-top: 10px; }
.pd-assure div { padding: 8px 4px; font-size: 11px; }
.pd-assure i { font-size: 15px; margin-bottom: 3px; }
@media (max-width: 640px) { .buy-row .btn { flex: 1 1 110px; } .pd-price .now { font-size: 21px; } }

/* product page: the picture column takes the same height as the details column */
@media (min-width: 901px) {
  .pd { align-items: stretch; }
  .pd-media { position: static; display: flex; flex-direction: column; }
  .pd-img { flex: 1 1 auto; aspect-ratio: auto; min-height: 320px; }
  .pd-img img, .pd-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .pd-assure { flex: 0 0 auto; }
}

/* ───────── share bar on the product page ───────── */
.pd-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.ps-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.ps-btn { width: 34px; height: 34px; border: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 14px; transition: transform .2s var(--ease), filter .2s, box-shadow .2s; }
.ps-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 8px 16px -8px rgba(26,16,48,.5); }
.ps-copy { background: #8b8799; } .ps-fb { background: #1877f2; } .ps-wa { background: #25a85a; }
.ps-dl { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; transition: background .2s, transform .2s var(--ease); }
.ps-dl:hover { background: var(--gold-d); transform: translateY(-2px); }
@media (max-width: 640px) { .ps-label { display: none; } .ps-dl { flex: 1; justify-content: center; } }

/* share bar sits at the right end of the breadcrumb row */
.crumbs.dark { display: flex; flex-wrap: wrap; align-items: center; }
.crumbs.dark .pd-share { margin: 0 0 0 auto; }
.crumbs.dark .ps-label { display: none; }
@media (max-width: 640px) { .crumbs.dark .pd-share { margin: 8px 0 0; width: 100%; } }

.ps-ms { background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a334fa); }
.pd-share .ps-btn i, .pd-share .ps-dl i { font-size: 15px; opacity: 1; color: #fff; }
.pd-share .ps-dl i { font-size: 13px; }
.crumbs .pd-share i { opacity: 1; }
.ps-btn { box-shadow: 0 4px 10px -6px rgba(26,16,48,.6); }

/* share bar: calmer — smaller, flat, muted brand colours */
.pd-share { gap: 6px; }
.ps-btn { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }
.pd-share .ps-btn i { font-size: 13px; }
.ps-btn:hover { transform: none; filter: brightness(1.06); box-shadow: none; }
.ps-copy { background: #a7a3b5; }
.ps-fb { background: #4a7fd6; }
.ps-ms { background: linear-gradient(135deg, #3fb2f0, #4f7be0 60%, #9a63e0); }
.ps-wa { background: #46b676; }
.ps-dl { height: 30px; padding: 0 12px; border-radius: 8px; background: transparent; color: var(--ink-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; gap: 6px; }
.pd-share .ps-dl i { color: var(--ink-3); font-size: 12px; }
.ps-dl:hover { background: var(--gold-soft); color: var(--gold-d); border-color: var(--gold-l); transform: none; }
.ps-dl:hover i { color: var(--gold-d); }

/* product pictures: not selectable / draggable, no long-press "save image" sheet on phones */
.pd-img img, .card-media img, .line-img img, .mini-img img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.pd-img { -webkit-touch-callout: none; user-select: none; }

/* buy row: compact buttons, Wishlist at the right end */
.buy-row { align-items: center; gap: 8px; }
.buy-row .btn { flex: 0 0 auto; height: 34px; min-width: 0; padding: 0 16px; font-size: 12px; gap: 6px; }
.buy-row .btn.pd-wish { margin-left: auto; padding: 0 14px; height: 34px; }
.qty { height: 34px; }
.qty button { width: 28px; } .qty input { width: 28px; font-size: 13px; }
@media (max-width: 640px) { .buy-row { flex-wrap: wrap; } .buy-row .btn { flex: 1 1 auto; } .buy-row .btn.pd-wish { margin-left: 0; flex: 0 0 auto; } }

/* cart / checkout main buttons: slimmer */
.sum .btn-lg, .co-layout .btn-lg, .cart-layout .btn-lg { padding: 0 20px; height: 40px; font-size: 13.5px; gap: 8px; box-shadow: 0 6px 14px -8px rgba(168, 15, 112, .6); }
.sum .btn-lg i { font-size: 12px; }
.sum-total { padding: 14px 0 14px; }
.secure { margin-top: 10px; font-size: 12px; }
.success-hero .btn, .center-card .btn { height: 38px; padding: 0 18px; font-size: 13px; }

/* slimmer form fields (checkout, login, track) */
.input, .select { padding: 8px 13px; font-size: 14px; border-radius: 10px; border-width: 1px; }
.textarea { padding: 8px 13px; font-size: 14px; border-radius: 10px; border-width: 1px; min-height: 64px; }
.field { margin-bottom: 12px; }
.field label { margin-bottom: 4px; font-size: 12.5px; }
.hint { margin-top: 4px; font-size: 12px; }
.grid-2 { gap: 0 14px; }
.panel { padding: 20px 22px; border-radius: 16px; }
.panel h3 { font-size: 19px; margin-bottom: 14px; }
.co-block h3 i { width: 30px; height: 30px; font-size: 13px; border-radius: 9px; }
.co-block + .co-block { margin-top: 14px; }
.opt-card { padding: 10px 14px; border-radius: 12px; gap: 12px; }
.opt-card + .opt-card { margin-top: 8px; }
.opt-card .oc-ico { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
.opt-card b { font-size: 14px; } .opt-card small { font-size: 12px; }
.login-nudge { padding: 10px 14px; margin-bottom: 14px; font-size: 13px; border-radius: 12px; }
.auth-card { padding: 26px; } .tabs button { padding: 8px; font-size: 13px; }
.search input { padding: 5px 0; }

/* form fields: slimmer still */
.input, .select { padding: 5px 12px; font-size: 13.5px; border-radius: 9px; line-height: 1.4; }
.textarea { padding: 6px 12px; font-size: 13.5px; border-radius: 9px; min-height: 52px; line-height: 1.45; }
.field { margin-bottom: 9px; }
.field label { margin-bottom: 3px; font-size: 12px; }
.panel { padding: 16px 20px; }
.panel h3 { margin-bottom: 10px; }
.opt-card { padding: 7px 12px; }
.price-row .input { padding: 4px 10px; }

/* floating chat buttons (Messenger + WhatsApp) */
.chatfab { position: fixed; z-index: 60; right: 16px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 23px; box-shadow: 0 8px 20px -6px rgba(26,16,48,.45); transition: transform .2s var(--ease), box-shadow .2s; }
.chat-btn:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 24px -6px rgba(26,16,48,.5); }
.chat-ms { background: linear-gradient(135deg, #0a7cff 0%, #a334fa 55%, #ff6968 100%); }
.chat-wa { background: #25d366; }
@media (max-width: 860px) { .chatfab { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; } .chat-btn { width: 42px; height: 42px; font-size: 21px; } }
@media print { .chatfab { display: none !important; } }
.ftr-bottom .ftr-dev { display: block; margin-top: 6px; font-size: 12px; opacity: .8; }
.ftr-bottom .ftr-dev a { display: inline; padding: 0; font-size: inherit; font-family: inherit; color: var(--gold-l); font-weight: 600; }
.ftr-bottom .ftr-dev a:hover { padding: 0; text-decoration: underline; }

/* the logo has pale yellow letters — give it the brand's deep-purple plate so it reads clearly on the light header */
.hdr .brand-logo, .drawer .brand-logo { box-sizing: content-box; height: 44px; padding: 3px 4px; border-radius: 14px; background: linear-gradient(145deg, #5a3cb5 0%, #36227a 100%); box-shadow: 0 6px 16px -8px rgba(58,38,112,.65); }
