/* ==========================================================================
   Storefront styles — desktop (>=992px) and mobile (<992px) have separate layouts.
   ========================================================================== */
:root {
  --accent: #ff5a1f;
  --accent-2: color-mix(in oklab, var(--accent) 78%, #ffd166);
  --accent-soft: color-mix(in oklab, var(--accent) 12%, #fff);
  --ink: #0e1116;
  --ink-2: #181c24;
  --ink-3: #252b36;
  --bg: #f2f3f6;
  --card: #fff;
  --text: #161a21;
  --muted: #6b7280;
  --line: #e5e7eb;
  --ok: #12a150;
  --warn: #d97706;
  --danger: #e11d48;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 18px 50px -12px rgba(16, 24, 40, .25);
  --font: "Plus Jakarta Sans", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 .75em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow-wrap { max-width: 1100px; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.ml-auto { margin-left: auto; }
.muted { color: var(--muted); }
.rel { position: relative; display: inline-flex; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 991px) { .d-only { display: none !important; } }
@media (min-width: 992px) { .m-only { display: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in oklab, var(--accent) 70%, transparent); }
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 88%, #000); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-wa { background: #25d366; color: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- Header: notice ---------- */
.notice-bar { background: var(--accent); color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 7px 0; }
.notice-bar .wrap { display: flex; gap: 6px; align-items: center; justify-content: center; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.03em; color: #fff; }
.logo img { max-height: 42px; width: auto; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }

/* ---------- Desktop header ---------- */
.dh { position: sticky; top: 0; z-index: 50; }
.dh-top { background: #000; color: #a8b0bd; font-size: 12.5px; }
.dh-top .wrap { display: flex; justify-content: space-between; height: 36px; align-items: center; }
.dh-top a, .dh-top span { display: inline-flex; gap: 6px; align-items: center; margin-right: 22px; }
.dh-top-r a { margin: 0 0 0 22px; }
.dh-top a:hover { color: #fff; }
.dh-main { background: var(--ink); }
.dh-main .wrap { display: flex; align-items: center; gap: 32px; height: 78px; }
.dsearch { position: relative; flex: 1; max-width: 640px; display: flex; background: #fff; border-radius: 999px; padding: 4px; }
.dsearch input { flex: 1; border: 0; outline: 0; padding: 0 18px; font-size: 14.5px; background: transparent; min-width: 0; }
.dsearch button { width: 46px; height: 42px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.dh-actions { display: flex; gap: 22px; margin-left: auto; }
.dh-act { display: flex; align-items: center; gap: 10px; color: #fff; }
.dh-act b { display: block; font-size: 14px; }
.dh-act small { display: block; color: #8b93a1; font-size: 12px; }
.dh-ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink-3); transition: background .2s; }
.dh-act:hover .dh-ic { background: var(--accent); }
.cart-count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--ink); }
.dh-act:hover .cart-count { background: #fff; color: var(--accent); }
.dh-nav { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 10px rgba(0,0,0,.03); }
.dh-nav .wrap { display: flex; align-items: center; gap: 28px; height: 52px; }
.mega { position: relative; height: 100%; display: flex; align-items: center; }
.mega-btn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.mega-panel { position: absolute; top: 100%; left: 0; width: 270px; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.mega:hover .mega-panel, .mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-item { position: relative; }
.mega-item > a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.mega-item > a:hover { background: var(--accent-soft); color: var(--accent); }
.mega-sub { position: absolute; left: 100%; top: 0; min-width: 220px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 8px; display: none; }
.mega-item:hover .mega-sub { display: block; }
.mega-sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.mega-sub a:hover { background: var(--bg); }
.navlinks { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: 14px; overflow: hidden; }
.navlinks a { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; padding: 14px 0; border-bottom: 2px solid transparent; }
.navlinks a:hover { color: var(--accent); border-color: var(--accent); }
.navlinks .hot { color: var(--accent); }

/* live search suggestions */
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--text); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 6px; z-index: 60; max-height: 70vh; overflow: auto; }
.suggest a { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.suggest a:hover { background: var(--bg); }
.suggest img { width: 46px; height: 46px; object-fit: contain; background: var(--bg); border-radius: 8px; }
.suggest span { flex: 1; font-size: 14px; font-weight: 600; }
.suggest b { color: var(--accent); font-size: 14px; }
.suggest s { color: var(--muted); font-size: 12px; margin-left: 4px; font-weight: 400; }
.suggest .s-all { justify-content: center; color: var(--accent); font-weight: 700; font-size: 13px; }

/* ---------- Mobile header ---------- */
.mh { position: sticky; top: 0; z-index: 50; background: var(--ink); padding: 8px 14px 12px; padding-top: max(8px, env(safe-area-inset-top)); border-radius: 0 0 20px 20px; }
.mh-bar { display: flex; align-items: center; justify-content: space-between; height: 46px; }
.mh .logo { font-size: 19px; }
.mh .logo img { max-height: 32px; }
.mh .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
.mh-right { display: flex; gap: 4px; }
.mh-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.mh-btn .cart-count { top: 2px; right: 0; }
.msearch { position: relative; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; height: 46px; padding: 0 14px; margin-top: 6px; color: var(--muted); }
.msearch input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; color: var(--text); min-width: 0; }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer-bg { position: absolute; inset: 0; background: rgba(8, 10, 14, .55); animation: fade .2s; }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #fff; overflow-y: auto; animation: slideIn .25s ease-out; padding-bottom: 30px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 14px 18px 18px; background: var(--ink); color: #fff; }
.drawer-user { display: flex; gap: 12px; align-items: center; }
.drawer-user b { display: block; }
.drawer-user small { color: #a8b0bd; }
.drawer-user small a { color: var(--accent-2); font-weight: 700; }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; flex: none; }
.avatar.big { width: 58px; height: 58px; font-size: 22px; }
.drawer-label { margin: 18px 18px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 18px; font-weight: 600; font-size: 14.5px; }
.drawer-nav a:active { background: var(--bg); }
.dn-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg); color: var(--accent); }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }

/* mobile bottom nav */
.mnav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: #fff; display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 4px; padding-bottom: max(6px, env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(16, 24, 40, .08); border-radius: 18px 18px 0 0; }
.mnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.mnav a.on { color: var(--accent); }
.mnav .cart-count { top: -6px; right: -10px; border-color: #fff; }
.mnav-hot-ic { display: grid; place-items: center; width: 50px; height: 50px; margin-top: -24px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 20px -6px var(--accent); border: 4px solid #fff; }
@media (max-width: 991px) { body:not(.is-bare) { padding-bottom: 76px; } }

/* ---------- Main + alerts ---------- */
.main { min-height: 50vh; }
.flashes { padding-top: 14px; }
.alert { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.alert-success { background: #e7f8ee; color: #0b6b36; }
.alert-error { background: #fdecef; color: #9f1239; }
.alert-info { background: #eaf2ff; color: #1d4ed8; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 6px; }
.hero-grid { display: grid; gap: 16px; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1fr 330px; } }
.slider { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink); aspect-ratio: 5 / 2; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 0 6%; color: #fff; max-width: 60%; }
.slide-copy h1, .slide-copy h2 { font-size: clamp(22px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.03em; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.slide-empty { background: radial-gradient(circle at 80% 40%, color-mix(in oklab, var(--accent) 55%, transparent), transparent 55%), var(--ink); }
.sl-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: .2s; }
.slider:hover .sl-nav { opacity: 1; }
.sl-prev { left: 16px; } .sl-next { right: 16px; }
.sl-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.sl-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; transition: .25s; }
.sl-dots button.on { width: 24px; background: #fff; }
.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.side-card { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink-2); color: #fff; min-height: 150px; }
.side-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform .5s; }
.side-card:hover img { transform: scale(1.05); }
.side-card div { position: relative; padding: 22px; display: flex; flex-direction: column; gap: 4px; height: 100%; justify-content: flex-end; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.side-card small { color: var(--accent-2); font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .08em; }
.side-card b { font-size: 22px; letter-spacing: -.02em; }
.side-card span { font-size: 13px; font-weight: 600; opacity: .85; }
.side-plain { background: linear-gradient(135deg, var(--ink-2), var(--ink-3)); }
.side-plain.alt { background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.side-plain.alt small { color: #fff; }
@media (max-width: 991px) {
  .hero { padding: 14px 0 0; }
  .hero .wrap { padding: 0 14px; }
  .slider { aspect-ratio: 16 / 8; border-radius: 16px; }
  .slide-copy { max-width: 75%; gap: 8px; }
  .slide-copy .btn { height: 34px; padding: 0 14px; font-size: 12px; }
  .eyebrow { font-size: 10.5px; padding: 3px 9px; }
}

/* ---------- Sections ---------- */
.sec { padding: 22px 0 6px; }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.sec-head > a { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.sec-tabs { display: flex; gap: 8px; margin-left: 12px; }
.sec-tabs a { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.sec-tabs a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 991px) { .sec { padding: 18px 0 2px; } .sec .wrap { padding: 0 14px; } .sec-head h2 { font-size: 18px; } }

/* categories */
.catrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; }
.catchip { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; background: #fff; border-radius: var(--r); text-align: center; font-weight: 700; font-size: 13.5px; transition: transform .2s, box-shadow .2s; border: 1px solid transparent; }
.catchip:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 30%, transparent); }
.catchip-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); overflow: hidden; flex: none; }
.catchip-ic img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
  .catrow { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 4px; }
  .catrow::-webkit-scrollbar { display: none; }
  .catchip { flex: 0 0 84px; padding: 12px 6px; font-size: 11.5px; gap: 8px; }
  .catchip-ic { width: 52px; height: 52px; border-radius: 15px; }
}

/* flash sale */
.flash { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); border-radius: 22px; padding: 22px; position: relative; overflow: hidden; }
.flash::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 50%, transparent), transparent 65%); pointer-events: none; }
.flash-head { position: relative; display: flex; align-items: center; gap: 22px; margin-bottom: 18px; color: #fff; flex-wrap: wrap; }
.flash-title { display: flex; align-items: center; gap: 12px; }
.flash-title h2 { font-size: 24px; font-weight: 800; }
.flash-title small { color: #a8b0bd; }
.flash-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
.countdown { display: flex; align-items: center; gap: 6px; }
.countdown span { min-width: 44px; height: 44px; display: grid; place-items: center; background: #fff; color: var(--ink); border-radius: 10px; font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.countdown i { font-style: normal; font-weight: 800; }
.flash-all { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--accent-2); }
.hscroll { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 14px) / 5); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .pcard { scroll-snap-align: start; }
@media (max-width: 991px) {
  .flash { border-radius: 18px; padding: 16px 0 16px 14px; margin: 0 -14px; border-radius: 0; }
  .flash-head { gap: 10px; padding-right: 14px; margin-bottom: 14px; }
  .flash-title h2 { font-size: 18px; }
  .flash-title small { display: none; }
  .flash-ic { width: 38px; height: 38px; border-radius: 11px; }
  .countdown span { min-width: 32px; height: 32px; font-size: 14px; border-radius: 8px; }
  .flash-all { font-size: 13px; }
  .hscroll { grid-auto-columns: 46%; gap: 10px; padding-right: 14px; }
}

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pgrid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { .pgrid { grid-template-columns: repeat(4, 1fr); } .pgrid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) {
  .pgrid, .pgrid-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pgrid-scroll-m { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -14px; padding: 0 14px 4px; }
  .pgrid-scroll-m::-webkit-scrollbar { display: none; }
  .pgrid-scroll-m .pcard { scroll-snap-align: start; }
}
@media (min-width: 640px) and (max-width: 991px) { .pgrid, .pgrid-4 { grid-template-columns: repeat(3, 1fr); } .pgrid-scroll-m { grid-auto-columns: 31%; } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .25s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard-img { position: relative; aspect-ratio: 1; background: #f6f7f9; display: block; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .45s; mix-blend-mode: multiply; }
.pcard:hover .pcard-img img { transform: scale(1.06); }
.pcard-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.pcard-badges span, .b-off { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; }
.b-off { background: var(--accent); color: #fff; }
.b-off.big { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 14px; padding: 6px 12px; }
.b-flash { background: var(--ink); color: #ffd166; }
.b-new { background: #e6f7ee; color: var(--ok); }
.b-out { position: absolute; inset: auto 0 0 0; background: rgba(14,17,22,.75); color: #fff; text-align: center; font-size: 12px; font-weight: 700; padding: 6px; }
.is-out .pcard-img img { opacity: .55; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pcard-brand { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pcard-name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard-name:hover { color: var(--accent); }
.pcard-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.pcard-price b { font-size: 17px; font-weight: 800; color: var(--accent); }
.pcard-price s { font-size: 13px; color: var(--muted); }
.pcard-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 4px; }
.pcard-actions .btn-dark { padding: 0 12px; }
@media (max-width: 991px) {
  .pcard { border-radius: 12px; }
  .pcard-body { padding: 10px; gap: 4px; }
  .pcard-name { font-size: 13px; }
  .pcard-price b { font-size: 15px; }
  .pcard-price s { font-size: 11.5px; }
  .pcard-actions { grid-template-columns: 36px 1fr; gap: 6px; }
  .pcard-actions .btn { height: 34px; font-size: 12px; padding: 0; }
  .pcard-actions .btn-dark span { display: none; }
}
.flash .pcard { border: 0; }

/* promo / brands */
.promo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.promo { border-radius: var(--r); overflow: hidden; display: block; }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.03); }
.brandrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.brandchip { height: 72px; display: grid; place-items: center; background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 10px 16px; font-size: 16px; letter-spacing: -.01em; transition: .2s; }
.brandchip img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.brandchip:hover { border-color: var(--accent); color: var(--accent); }
.brandchip:hover img { filter: none; opacity: 1; }
@media (max-width: 991px) { .brandrow { grid-template-columns: repeat(3, 1fr); gap: 8px; } .brandchip { height: 56px; font-size: 13px; } }

/* ---------- Trust + footer ---------- */
.trust { margin-top: 36px; background: #fff; border-top: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.trust-i { display: flex; gap: 14px; align-items: center; color: var(--accent); }
.trust-i b { display: block; color: var(--text); font-size: 15px; }
.trust-i small { color: var(--muted); }
@media (max-width: 991px) { .trust { margin-top: 24px; } .trust .wrap { grid-template-columns: 1fr 1fr; padding: 18px 14px; gap: 14px; } .trust-i { gap: 10px; } .trust-i b { font-size: 13px; } .trust-i small { font-size: 11.5px; } }
.foot { background: var(--ink); color: #a8b0bd; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding-top: 48px; padding-bottom: 40px; }
.foot-about p { margin: 16px 0; max-width: 360px; }
.foot-contact { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { margin-top: 2px; color: var(--accent); }
.foot a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--ink-3); color: #fff; }
.socials a:hover { background: var(--accent); }
.foot-col summary { list-style: none; color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; cursor: default; }
.foot-col summary::-webkit-details-marker { display: none; }
.foot-col a { display: block; padding: 4px 0; }
.foot-sub b { color: #fff; font-size: 15px; }
.foot-sub p { margin: 8px 0 12px; }
.subscribe { display: flex; background: var(--ink-3); border-radius: 999px; padding: 4px; }
.subscribe input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 14px; color: #fff; }
.subscribe button { height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.pay-logos span { padding: 5px 10px; border-radius: 8px; background: var(--ink-3); font-size: 11.5px; font-weight: 700; color: #d6dae1; }
.foot-bottom { border-top: 1px solid var(--ink-3); padding: 18px 0; font-size: 13px; text-align: center; }
.logo-light { color: #fff; }
@media (max-width: 991px) {
  .foot-grid { grid-template-columns: 1fr; gap: 0; padding: 28px 18px 10px; }
  .foot-about { padding-bottom: 18px; }
  .foot-col { border-top: 1px solid var(--ink-3); }
  .foot-col summary { margin: 0; padding: 14px 0; cursor: pointer; display: flex; justify-content: space-between; }
  .foot-col summary::after { content: "+"; font-size: 18px; color: var(--accent); }
  .foot-col[open] summary::after { content: "–"; }
  .foot-col a { padding: 6px 0; }
  .foot-col[open] { padding-bottom: 10px; }
  .foot-sub { border-top: 1px solid var(--ink-3); padding: 18px 0; }
}
.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37, 211, 102, .6); }
@media (max-width: 991px) { .wa-float { bottom: 92px; right: 14px; width: 48px; height: 48px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px; display: flex; gap: 10px; align-items: center; animation: toastIn .25s; max-width: calc(100vw - 32px); }
.toast a { color: var(--accent-2); font-weight: 800; margin-left: 6px; }
.toast.err { background: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (max-width: 991px) { .toast { bottom: 90px; } }

/* ---------- Breadcrumbs, listing ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0 12px; font-size: 13px; color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs b { color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.list-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.list-head small { color: var(--muted); }
.list-tools { display: flex; gap: 8px; align-items: center; }
.sortform { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sortform select { height: 38px; border-radius: 10px; border: 1px solid var(--line); padding: 0 10px; background: #fff; font-weight: 600; font-size: 13px; color: var(--text); }
.subcats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
.subcats a { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 13px; }
.subcats a:hover { border-color: var(--accent); color: var(--accent); }
.list-layout { display: grid; gap: 20px; }
@media (min-width: 992px) { .list-layout { grid-template-columns: 250px 1fr; } }
.filters { background: #fff; border-radius: var(--r); padding: 6px 16px 16px; align-self: start; position: sticky; top: 180px; border: 1px solid var(--line); }
.fbox { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fbox h4 { font-size: 14px; margin-bottom: 10px; }
.fbox-scroll { max-height: 220px; overflow: auto; }
.price-in { display: flex; align-items: center; gap: 6px; }
.price-in input { width: 100%; height: 38px; border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--accent); }
.fbox-actions { display: grid; gap: 8px; padding-top: 14px; }
@media (max-width: 991px) {
  .list-head h1 { font-size: 19px; }
  .filters { position: fixed; inset: 0; z-index: 120; border-radius: 0; top: 0; overflow-y: auto; transform: translateX(100%); transition: transform .25s; padding: 0 18px 30px; display: block; }
  .filters.open { transform: none; }
  .filters-head { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); z-index: 1; }
  .filters-head button { border: 0; background: var(--bg); border-radius: 10px; width: 38px; height: 38px; display: grid; place-items: center; }
}
.pager { display: flex; justify-content: center; gap: 6px; margin: 26px 0 6px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14px; padding: 0 8px; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .on { background: var(--accent); color: #fff; border-color: var(--accent); }

.empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--r); margin: 20px 0; }
.empty-ic { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.empty h3 { font-size: 20px; margin-bottom: 6px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Product details ---------- */
.pd { display: grid; gap: 28px; background: #fff; border-radius: 22px; padding: 24px; }
@media (min-width: 992px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 30px; gap: 40px; } }
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 992px) { .pd-gallery { position: sticky; top: 190px; align-self: start; } }
.pd-main { position: relative; background: #f6f7f9; border-radius: 18px; overflow: hidden; aspect-ratio: 1; }
.pd-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; padding: 6%; scroll-snap-align: start; mix-blend-mode: multiply; }
.pd-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.pd-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(0,0,0,.2); transition: .25s; }
.pd-dots i.on { width: 20px; background: var(--accent); }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumbs button { width: 78px; height: 78px; border-radius: 12px; border: 2px solid transparent; background: #f6f7f9; padding: 6px; cursor: pointer; }
.pd-thumbs button.on { border-color: var(--accent); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-brand { display: inline-block; font-size: 12.5px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.pd-info h1 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.pd-meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 12px 0 16px; font-size: 13px; color: var(--muted); }
.pd-meta .in { color: var(--ok); font-weight: 700; }
.pd-meta .out { color: var(--danger); font-weight: 700; }
.stars { color: #f59e0b; display: inline-flex; gap: 4px; align-items: center; font-weight: 700; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 16px; background: var(--accent-soft); }
.pd-price b { font-size: 32px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.pd-price s { color: var(--muted); font-size: 17px; }
.pd-price .save { background: var(--ok); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.pd-emi { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.pd-highlights { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.pd-highlights li { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.pd-highlights .ic { color: var(--ok); margin-top: 2px; }
.pd-buy { margin-top: 20px; display: grid; gap: 16px; }
.pd-opt { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-opt > span { font-weight: 700; font-size: 14px; min-width: 70px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip input:checked + span { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 46px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.qty button:hover { color: var(--accent); }
.qty input { width: 46px; text-align: center; border: 0; outline: 0; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 38px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 34px; }
.pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-contact { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-contact .btn { flex: 1; }
.pd-perks { display: grid; gap: 10px; margin-top: 20px; border-top: 1px dashed var(--line); padding-top: 18px; }
.pd-perks > div { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.pd-perks .ic { color: var(--accent); margin-top: 2px; }
.pd-perks b { display: block; color: var(--text); font-size: 14px; }
.pd-lower { margin-top: 20px; background: #fff; border-radius: 22px; padding: 10px 24px 24px; }
.tab-btns { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab-btns button { padding: 16px 16px; border: 0; background: transparent; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; cursor: pointer; white-space: nowrap; scroll-margin-top: 200px; }
.tab-btns button.on { color: var(--text); border-color: var(--accent); }
.tab-pane { display: none; padding-top: 20px; }
.tab-pane.on { display: block; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td:first-child { width: 34%; color: var(--muted); font-weight: 600; background: #fafbfc; }
.spec-group th { text-align: left; padding: 14px; background: var(--accent-soft); color: var(--accent); font-size: 13.5px; }
.prose { font-size: 15px; line-height: 1.75; color: #333a45; }
.prose h1 { font-size: 26px; margin-bottom: 16px; color: var(--text); }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review > div { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review small { color: var(--muted); }
.review p { margin: 6px 0 0; }
.review-form { display: grid; gap: 10px; margin-top: 20px; max-width: 620px; }
.review-form input, .review-form select, .review-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.row2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.pd-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 65; display: flex; gap: 8px; align-items: center; background: #fff; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(16, 24, 40, .1); }
.pd-sticky > div { flex: 1; line-height: 1.1; }
.pd-sticky small { color: var(--muted); font-size: 11px; display: block; }
.pd-sticky b { font-size: 19px; color: var(--accent); font-weight: 800; }
.pd-sticky .btn-dark { width: 48px; padding: 0; height: 48px; }
.pd-sticky .btn-accent { height: 48px; padding: 0 26px; }
@media (max-width: 991px) {
  .pd { margin: 0 -14px; border-radius: 0; padding: 0 0 18px; gap: 16px; }
  .pd-main { border-radius: 0; }
  .pd-info { padding: 0 16px; }
  .pd-info h1 { font-size: 20px; }
  .pd-price b { font-size: 26px; }
  .pd-lower { margin: 12px -14px 0; border-radius: 0; padding: 4px 16px 18px; }
  .crumbs { padding: 12px 0 10px; }
  .wrap { padding: 0 14px; }
  body.has-sticky .mnav { display: none !important; }
  body.has-sticky .wa-float { bottom: 84px; }
}

/* ---------- Cart / checkout ---------- */
.page-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 22px 0 18px; }
.page-sub { font-size: 20px; margin: 28px 0 14px; }
@media (max-width: 991px) { .page-title { font-size: 20px; margin: 16px 0 12px; } }
.cart-layout, .checkout { display: grid; gap: 18px; align-items: start; }
@media (min-width: 992px) { .cart-layout, .checkout { grid-template-columns: 1fr 380px; } }
.cart-lines { background: #fff; border-radius: var(--r); padding: 6px 18px; }
.cline { display: grid; grid-template-columns: 76px 1fr auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cline:last-child { border: 0; }
.cline-img { width: 76px; height: 76px; border-radius: 12px; background: #f6f7f9; padding: 6px; }
.cline-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cline-name { font-weight: 700; font-size: 14.5px; display: block; }
.cline-info small { color: var(--muted); display: block; }
.cline-unit { font-size: 13px; color: var(--muted); }
.cline-total { min-width: 90px; text-align: right; }
.cline-del { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px; }
.cline-del:hover { color: var(--danger); }
@media (max-width: 640px) {
  .cline { grid-template-columns: 70px 1fr auto; grid-template-areas: "img info del" "img qty total"; gap: 6px 12px; }
  .cline-img { grid-area: img; width: 70px; height: 70px; }
  .cline-info { grid-area: info; }
  .qty-sm { grid-area: qty; justify-self: start; }
  .cline-total { grid-area: total; min-width: 0; }
  .cline-del { grid-area: del; }
}
.summary { background: #fff; border-radius: var(--r); padding: 20px; display: grid; gap: 10px; }
@media (min-width: 992px) { .summary { position: sticky; top: 190px; } }
.summary h3 { font-size: 18px; margin-bottom: 4px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 3px 0; }
.sum-row.total { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; font-size: 17px; }
.sum-row.total b { color: var(--accent); font-size: 20px; }
.sum-row.discount b { color: var(--ok); }
.co-box { background: #fff; border-radius: var(--r); padding: 20px; margin-bottom: 18px; }
.co-box h3 { display: flex; gap: 10px; align-items: center; font-size: 17px; margin-bottom: 16px; }
.co-box h4 { margin: 18px 0 10px; }
.step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; color: #3b4250; }
.field input, .field select, .field textarea { width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; outline: 0; transition: border-color .2s, box-shadow .2s; font-size: 15px; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: .2s; }
.pay-card small { display: block; color: var(--muted); font-size: 12.5px; }
.pay-opt input:checked + .pay-card { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pay-logo { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; flex: none; }
.pay-bkash { background: #e2136e; } .pay-nagad { background: #f6921e; } .pay-rocket { background: #8c3494; }
.trx-box { margin-top: 14px; padding: 14px; border-radius: 12px; background: #fff8eb; }
.trx-help { display: flex; gap: 8px; font-size: 13.5px; color: #8a5a00; }
.co-items { display: grid; gap: 10px; max-height: 280px; overflow: auto; padding-bottom: 6px; }
.co-item { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.co-thumb { position: relative; width: 52px; height: 52px; border-radius: 10px; background: #f6f7f9; padding: 4px; flex: none; }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.co-thumb i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 11px; font-style: normal; display: grid; place-items: center; font-weight: 800; }
.co-name { flex: 1; font-weight: 600; }
.co-name small { display: block; color: var(--muted); font-weight: 500; }
.coupon { display: flex; gap: 8px; margin-top: 6px; }
.coupon input { flex: 1; min-width: 0; height: 40px; border: 1.5px dashed var(--line); border-radius: 999px; padding: 0 14px; text-transform: uppercase; }
.coupon-msg { color: var(--danger); min-height: 1em; }
.coupon-msg.ok { color: var(--ok); }
.secure-note { display: flex; gap: 6px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--muted); margin: 0; }
.checkout-login { margin-top: -8px; }
.checkout-login a { color: var(--accent); font-weight: 700; }
.co-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: flex; gap: 12px; align-items: center; background: #fff; padding: 10px 14px; padding-bottom: max(10px, env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(16, 24, 40, .1); }
.co-sticky > div { flex: 1; line-height: 1.1; }
.co-sticky small { display: block; font-size: 11px; color: var(--muted); }
.co-sticky b { font-size: 20px; color: var(--accent); }

/* ---------- Success / tools ---------- */
.success { max-width: 620px; margin: 30px auto; text-align: center; background: #fff; border-radius: 22px; padding: 36px 26px; }
.success-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #e7f8ee; color: var(--ok); margin-bottom: 16px; animation: pop .4s; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.success h1 { font-size: 26px; margin-bottom: 8px; }
.inv-chip { display: inline-block; margin: 8px 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.success-box { text-align: left; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 6px; }
.success-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.tool-card { max-width: 640px; margin: 30px auto 18px; text-align: center; background: #fff; border-radius: 22px; padding: 32px 24px; }
.tool-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.tool-card h1 { font-size: 24px; margin-bottom: 6px; }
.tool-form { display: flex; gap: 10px; margin: 18px 0 8px; flex-wrap: wrap; }
.tool-form input { flex: 1 1 180px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; outline: 0; }
.tool-form input:focus { border-color: var(--accent); }
.tool-form .btn { height: 48px; }
.track-card { max-width: 760px; margin: 0 auto 20px; background: #fff; border-radius: 22px; padding: 24px; }
.track-top { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.track-top small { display: block; color: var(--muted); font-size: 12px; }
.steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.steps li:first-child::before { display: none; }
.steps li span { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--line); color: #fff; display: grid; place-items: center; }
.steps li.done { color: var(--text); }
.steps li.done span, .steps li.done::before { background: var(--ok); }
.courier-box { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg); margin-bottom: 16px; flex-wrap: wrap; }
.courier-box > div { flex: 1; }
.courier-box small { display: block; color: var(--muted); }
.track-items { border-top: 1px solid var(--line); padding-top: 12px; }
.timeline { margin-top: 16px; display: grid; gap: 10px; }
.timeline div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.timeline i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline small { color: var(--muted); margin-left: auto; }
.war-result { display: flex; gap: 14px; text-align: left; padding: 16px; border-radius: 14px; margin-top: 14px; align-items: flex-start; }
.war-result.ok { background: #e7f8ee; color: #0b6b36; }
.war-result.bad { background: #fdecef; color: #9f1239; }
.war-result p { margin: 4px 0; color: var(--text); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg); }
.st-pending { background: #fff4e0; color: #b45309; } .st-confirmed { background: #e8f0ff; color: #1d4ed8; }
.st-processing { background: #efe9ff; color: #6d28d9; } .st-shipped { background: #e0f5ff; color: #0369a1; }
.st-delivered { background: #e7f8ee; color: #0b6b36; } .st-cancelled, .st-returned { background: #fdecef; color: #9f1239; }

/* ---------- Auth (desktop split / mobile app style) ---------- */
.auth { min-height: 100vh; display: grid; background: #fff; }
.auth-art { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.auth-art .logo { position: relative; z-index: 2; }
.auth-art-copy { position: relative; z-index: 2; }
.auth-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; opacity: .55; }
.auth-form { display: grid; place-items: center; padding: 30px 20px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 26px; margin: 20px 0 18px; letter-spacing: -.02em; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 14px; padding: 4px; }
.auth-tabs a { text-align: center; padding: 10px; border-radius: 11px; font-weight: 700; color: var(--muted); }
.auth-tabs a.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.auth-fields { display: grid; gap: 4px; }
.ic-field { position: relative; }
.ic-field > .ic { position: absolute; left: 16px; top: 15px; color: var(--muted); }
.ic-field input { padding-left: 46px; height: 52px; border-radius: 14px; }
.pw-toggle { position: absolute; right: 8px; top: 8px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.auth-help, .auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.auth-guest { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--muted); }
@media (min-width: 992px) {
  .auth { grid-template-columns: 1.05fr 1fr; }
  .auth-art { display: flex; flex-direction: column; justify-content: space-between; padding: 44px 52px; }
  .auth-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,22,.4), rgba(14,17,22,.92)); z-index: 1; }
  .auth-art-copy h2 { font-size: 46px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin-bottom: 16px; }
  .auth-art-copy p { color: #c3c9d3; max-width: 420px; font-size: 16px; }
  .auth-art-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
  .auth-art-copy li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
  .auth-art-copy li .ic { color: var(--accent); }
}
@media (max-width: 991px) {
  .auth { grid-template-rows: auto 1fr; background: var(--ink); }
  .auth-art { padding: 18px 22px 64px; padding-top: max(18px, env(safe-area-inset-top)); background: radial-gradient(circle at 90% 0%, color-mix(in oklab, var(--accent) 60%, transparent), transparent 55%), var(--ink); }
  .auth-back { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); margin-bottom: 18px; position: relative; z-index: 2; }
  .auth-art .logo { display: flex; }
  .auth-art-copy { margin-top: 26px; }
  .auth-art-copy h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
  .auth-art-copy p { color: #a8b0bd; margin: 6px 0 0; }
  .auth-form { background: #fff; border-radius: 28px 28px 0 0; margin-top: -36px; position: relative; z-index: 3; place-items: start center; padding: 26px 20px 40px; }
  .auth-tabs { margin-bottom: 18px; }
}

/* ---------- Account ---------- */
.acc-head { display: flex; gap: 14px; align-items: center; margin: 24px 0 16px; }
.acc-head h1 { font-size: 22px; }
.acc-head small { color: var(--muted); }
.acc-head .btn { margin-left: auto; }
.acc-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.acc-tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; border: 1px solid var(--line); }
.acc-tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.order-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 16px; align-items: center; background: #fff; padding: 16px 18px; border-radius: var(--r); }
.order-row small { display: block; color: var(--muted); }

/* ---------- Categories page / contact ---------- */
.allcats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.allcat { background: #fff; border-radius: var(--r); padding: 14px; }
.allcat-main { display: flex; align-items: center; gap: 14px; font-size: 15px; }
.allcat-main .catchip-ic { width: 52px; height: 52px; border-radius: 14px; }
.allcat-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.allcat-sub a { padding: 6px 12px; border-radius: 999px; background: var(--bg); font-size: 13px; font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border-radius: var(--r); padding: 22px; color: var(--accent); }
.contact-card b { color: var(--text); font-size: 16px; margin-top: 4px; }
.contact-card span, .contact-card small { color: var(--muted); }
.map { width: 100%; height: 380px; border: 0; border-radius: var(--r); margin-top: 18px; }
