/* =============================================================
   MukTech — White Minimal Luxury Theme
   Inspired by Baseus / UGREEN / Soundcore
   ------------------------------------------------------------- */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #1a1a1a;   /* primary text / black */
  --ink-soft:   #2b2b2b;
  --accent:     #0066ff;   /* clean blue accent (links, focus) */
  --accent-dark:#0050cc;
  --green:      #1aad55;   /* whatsapp / success */
  --green-dark: #159247;
  --amber:      #f5a623;
  --red:        #e02424;

  --bg:         #ffffff;
  --bg-soft:    #fafafa;   /* alternating section */
  --surface:    #ffffff;
  --muted:      #86868b;   /* apple-like muted gray */
  --muted-2:    #a1a1a6;
  --border:     #ececec;
  --border-2:   #f0f0f0;

  --radius:     16px;
  --radius-sm:  10px;
  --radius-xs:  6px;

  --shadow-xs:  0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.05);
  --shadow-md:  0 8px 24px rgba(0,0,0,.08);
  --shadow-lg:  0 16px 40px rgba(0,0,0,.12);

  --font: 'Noto Sans Lao', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', 'Noto Sans Lao', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --container-max: 1240px;
  --header-h: 64px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  margin: 0;
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--ink); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

img { max-width: 100%; height: auto; }

.container { max-width: var(--container-max); }

.text-accent { color: var(--accent) !important; }
.text-muted-2 { color: var(--muted) !important; }

/* =============================================================
   NAVBAR
   ============================================================= */
.navbar-muktech {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1020;
  min-height: var(--header-h);
}
.navbar-muktech .container { max-width: var(--container-max); }

/* Logo: text-based MukTech bold black */
.navbar-muktech .navbar-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -.02em;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .15rem;
}
.navbar-muktech .navbar-brand .logo-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-left: 2px;
  align-self: flex-end;
  margin-bottom: 6px;
}
.navbar-muktech .navbar-brand:hover { color: var(--ink); }

.navbar-muktech .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .92rem;
  padding: .5rem .9rem !important;
  position: relative;
  transition: color .18s ease;
}
.navbar-muktech .nav-link:hover,
.navbar-muktech .nav-link:focus { color: var(--ink); }
.navbar-muktech .nav-item.dropdown .nav-link::after { font-size: .7rem; vertical-align: .12em; }

/* dropdown menu */
.navbar-muktech .dropdown-menu {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  margin-top: .5rem !important;
  min-width: 220px;
}
.navbar-muktech .dropdown-item {
  border-radius: var(--radius-xs);
  padding: .55rem .8rem;
  font-size: .9rem;
  color: var(--ink-soft);
  transition: background .15s;
}
.navbar-muktech .dropdown-item:hover { background: var(--bg-soft); color: var(--ink); }

/* search */
.navbar-muktech .search-form { max-width: 380px; margin: 0 auto; width: 100%; }
.navbar-muktech .search-form .input-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.navbar-muktech .search-form .input-group:focus-within {
  background: #fff;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0,0,0,.05);
}
.navbar-muktech .search-form .form-control {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .88rem;
  color: var(--ink);
}
.navbar-muktech .search-form .form-control:focus { box-shadow: none; outline: none; }
.navbar-muktech .search-form .form-control::placeholder { color: var(--muted-2); }
.navbar-muktech .search-form .btn {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: .4rem .9rem;
  border-radius: 999px;
}
.navbar-muktech .search-form .btn:hover { color: var(--ink); }

/* cart badge */
.cart-badge { position: relative; display: inline-flex; align-items: center; }
.cart-badge .cart-count-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--ink);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  align-items: center;
}
.cart-badge .bi { font-size: 1.25rem; }

.navbar-muktech .navbar-toggler {
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: .35rem .6rem;
  transition: transform .25s ease;
}
.navbar-muktech .navbar-toggler:focus { box-shadow: none; }
.navbar-muktech .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  transform: rotate(90deg);
}
.navbar-muktech .navbar-toggler .navbar-toggler-icon {
  transition: transform .25s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%231a1a1a' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* top announcement bar */
.announce-bar {
  background: var(--ink);
  color: #fff;
  font-size: .76rem;
  letter-spacing: .02em;
  text-align: center;
  padding: .4rem 1rem;
}
.announce-bar .bi { color: var(--accent); }

/* =============================================================
   BUTTONS
   ============================================================= */
.btn { border-radius: var(--radius-sm); font-weight: 600; transition: all .2s ease; }

/* primary — solid black */
.btn-ink, .btn-indigo {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  padding: .65rem 1.5rem;
  font-weight: 600;
}
.btn-ink:hover, .btn-indigo:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* outline */
.btn-outline-ink, .btn-outline-indigo {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: .58rem 1.4rem;
  font-weight: 600;
}
.btn-outline-ink:hover, .btn-outline-indigo:hover {
  background: var(--ink);
  color: #fff;
}

.btn-outline-secondary {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  padding: .58rem 1.4rem;
  font-weight: 600;
}
.btn-outline-secondary:hover {
  background: var(--bg-soft);
  color: var(--ink);
  border-color: var(--muted-2);
}

/* whatsapp / green */
.btn-green {
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  padding: .65rem 1.5rem;
  font-weight: 600;
}
.btn-green:hover { background: var(--green-dark); color: #fff; border-color: var(--green-dark); box-shadow: var(--shadow-sm); }

.btn-light {
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
  font-weight: 600;
}
.btn-light:hover { background: var(--bg-soft); color: var(--ink); }

.btn-lg { padding: .8rem 2rem; font-size: 1rem; }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }

/* =============================================================
   HERO CAROUSEL
   ============================================================= */
.hero-carousel { margin-bottom: 0; }
.hero-carousel .carousel-inner { border-radius: 0; }
.hero-slide {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 1rem;
}
.hero-slide .hero-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .8rem;
  opacity: .8;
}
.hero-slide .hero-title {
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.hero-slide .hero-sub {
  font-size: 1.08rem;
  opacity: .85;
  margin-bottom: 1.8rem;
  max-width: 460px;
}
.hero-slide--dark { background: #0a0a0a; color: #fff; }
.hero-slide--dark .hero-bg { background: linear-gradient(120deg, #0a0a0a 0%, #1a1a1a 60%, #232323 100%); }
.hero-slide--dark a { color: #fff; }
.hero-slide--dark a:hover { color: #fff; opacity: .85; }
.hero-slide--light { background: #f5f5f7; color: var(--ink); }
.hero-slide--light .hero-bg { background: linear-gradient(120deg, #f5f5f7 0%, #ececef 100%); }
.hero-slide--light .hero-eyebrow { color: var(--accent); opacity: 1; }
.hero-slide--blue { background: #eef4ff; color: var(--ink); }
.hero-slide--blue .hero-bg { background: linear-gradient(120deg, #eef4ff 0%, #dbe7ff 100%); }
.hero-slide--blue .hero-eyebrow { color: var(--accent); opacity: 1; }

/* carousel controls */
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 8%; opacity: .7; }
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  background-image: none;
  display: flex; align-items: center; justify-content: center;
}
.hero-carousel .carousel-control-prev-icon::before {
  content: '\F284'; font-family: 'bootstrap-icons'; color: #fff; font-size: 1.1rem;
}
.hero-carousel .carousel-control-next-icon::before {
  content: '\F285'; font-family: 'bootstrap-icons'; color: #fff; font-size: 1.1rem;
}
.hero-carousel .carousel-control-prev-icon {
  background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12);
}
.hero-slide--light .carousel-control-prev-icon,
.hero-slide--blue .carousel-control-prev-icon { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); }
.hero-slide--light .carousel-control-prev-icon::before,
.hero-slide--blue .carousel-control-prev-icon::before { color: var(--ink); }
.hero-slide--light .carousel-control-next-icon,
.hero-slide--blue .carousel-control-next-icon { background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.12); }
.hero-slide--light .carousel-control-next-icon::before,
.hero-slide--blue .carousel-control-next-icon::before { color: var(--ink); }

.hero-carousel .carousel-indicators {
  margin-bottom: 1.2rem; gap: .4rem;
}
.hero-carousel .carousel-indicators button {
  width: 26px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,.4); border: none; opacity: 1;
  transition: background .2s;
}
.hero-carousel .carousel-indicators .active { background: #fff; }
.hero-slide--light .carousel-indicators button,
.hero-slide--blue .carousel-indicators button { background: rgba(0,0,0,.2); }
.hero-slide--light .carousel-indicators .active,
.hero-slide--blue .carousel-indicators .active { background: var(--ink); }

/* =============================================================
   SECTIONS / TITLES
   ============================================================= */
.section { padding: 3.5rem 0; }
.section--soft { background: var(--bg-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.02em;
}
.section-sub { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.section-link { font-size: .9rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.section-link:hover { color: var(--accent); }
.section-link .bi { transition: transform .2s; }
.section-link:hover .bi { transform: translateX(3px); }

/* =============================================================
   CATEGORY GRID
   ============================================================= */
.category-grid { display: grid; gap: 1rem; }
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
  color: var(--ink);
  height: 100%;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
  color: var(--ink);
}
.category-card .icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: .85rem;
  transition: background .25s, color .25s;
}
.category-card:hover .icon { background: var(--ink); color: #fff; }
.category-card .name { font-weight: 600; font-size: .95rem; }
.category-card .count { font-size: .78rem; color: var(--muted); margin-top: .15rem; }

/* =============================================================
   BRAND STRIP + BRAND GRID + FOOTER BRANDS
   ============================================================= */
.brand-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.6rem 0;
  background: #fff;
}
.brand-strip .brand-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--muted-2);
  letter-spacing: -.01em;
  text-align: center;
  transition: color .2s;
  white-space: nowrap;
}
.brand-strip .brand-item:hover { color: var(--ink); }

/* --- Brand strip logos (grayscale → color on hover) --- */
.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 .5rem;
  text-decoration: none;
}
.brand-logo-img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  transition: transform .3s ease;
}
.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06);
}
.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted-2);
  transition: color .2s;
}
.brand-logo-link:hover .brand-logo-text { color: var(--ink); }

/* --- All Brands grid --- */
.brand-grid-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 1rem .5rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  height: 100%;
}
.brand-grid-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  transform: translateY(-2px);
}
.brand-grid-logo {
  max-width: 120px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: filter .3s ease;
}
.brand-grid-card:hover .brand-grid-logo {
  filter: none;
}
.brand-grid-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted-2);
  transition: color .2s;
}
.brand-grid-card:hover .brand-grid-text { color: var(--ink); }
.brand-grid-name {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
  text-align: center;
  transition: color .2s;
}
.brand-grid-card:hover .brand-grid-name { color: var(--ink-soft); }

/* --- Brand page header --- */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand-header-logo {
  max-width: 220px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-header-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--ink);
  letter-spacing: -.02em;
}

/* --- Footer brand logos (small, grayscale) --- */
.footer-brands {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #232323;
}
.footer-brands-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  justify-content: center;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  height: 32px;
  opacity: .5;
  transition: opacity .25s ease;
  text-decoration: none;
}
.footer-brand-link:hover { opacity: 1; }
.footer-brand-logo {
  max-width: 90px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: filter .25s ease;
}
.footer-brand-link:hover .footer-brand-logo {
  filter: none;
}
.footer-brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  color: #a1a1a6;
  transition: color .2s;
}
.footer-brand-link:hover .footer-brand-text { color: #fff; }

/* =============================================================
   HOMEPAGE REDESIGN — Category toggle, brand scroll, section btn
   ============================================================= */

/* --- Section link button (compact, in section-head) --- */
.section-link-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Category toggle (show/hide extra categories with transition) --- */
.category-extra-wrap {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s ease, opacity .35s ease, margin-top .35s ease;
  margin-top: 0;
}
.category-extra-wrap.show {
  max-height: 2000px;
  opacity: 1;
  margin-top: 1rem;
}
.category-extra-wrap .category-grid-mobile {
  margin-top: 0 !important;
}

/* --- Brand scroll strip (horizontal scroll, logos only) --- */
.brand-scroll-wrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .5rem 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
}
.brand-scroll-wrap::-webkit-scrollbar { display: none; }
.brand-scroll-wrap .brand-logo-link {
  flex: 0 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 .25rem;
}
.brand-scroll-wrap .brand-logo-img {
  width: 120px;
  height: 60px;
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
  padding: 4px 8px;
  border-radius: 6px;
  background: #fff;
  transition: transform .3s ease;
}
.brand-scroll-wrap .brand-logo-link:hover .brand-logo-img {
  transform: scale(1.06);
}
.brand-scroll-wrap .brand-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color .2s;
}
.brand-scroll-wrap .brand-logo-link:hover .brand-logo-text { color: var(--ink); }

/* =============================================================
   PRODUCT CARD
   ============================================================= */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.product-card .img-wrap {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  padding: 1.5rem;
}
.product-card .img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .4s ease;
}
.product-card:hover .img-wrap img { transform: scale(1.05); }
.product-card .img-wrap .placeholder { font-size: 3rem; color: var(--border); }

.product-card .body { padding: 1rem 1.1rem 1.1rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-card .brand-tag {
  font-size: .68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .3rem;
  font-weight: 600;
}
.product-card .name {
  font-weight: 600;
  font-size: .92rem;
  line-height: 1.45;
  margin-bottom: .55rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
  overflow-wrap: break-word;
}
.product-card .name a { color: var(--ink); }
.product-card .name a:hover { color: var(--accent); }

.product-card .price-row { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.product-card .price { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.product-card .old-price { font-size: .82rem; color: var(--muted); text-decoration: line-through; }

.product-card .stock-line { font-size: .78rem; color: var(--muted); margin: .35rem 0 .7rem; }
.product-card .stock-line .bi-check-circle { color: var(--green); }

.product-card .footer { margin-top: auto; }
.product-card .add-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: .55rem;
  font-weight: 600;
  font-size: .85rem;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.product-card .add-btn:hover { background: #000; }
.product-card .add-btn:disabled { background: var(--bg-soft); color: var(--muted); border-color: var(--border); cursor: not-allowed; }

/* badges on card */
.badge-discount {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .5rem;
  border-radius: var(--radius-xs);
  z-index: 2;
}
.badge-new {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--ink);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .22rem .5rem;
  border-radius: var(--radius-xs);
  z-index: 2;
  letter-spacing: .04em;
}
.badge-stock-out {
  background: var(--bg-soft);
  color: var(--muted);
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  border: 1px solid var(--border);
}
.badge-stock-low {
  background: #fff4e5;
  color: #b76e00;
  font-size: .7rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
}

/* =============================================================
   FILTERS SIDEBAR
   ============================================================= */
.filter-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.filter-card h6 {
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.filter-card .form-label { font-size: .8rem; font-weight: 600; color: var(--ink); }
.filter-card .form-check { margin-bottom: .3rem; }
.filter-card .form-check-input {
  border-radius: 50%;
  border-color: var(--muted-2);
}
.filter-card .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.filter-card .form-check-label { font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.filter-card .form-control, .filter-card .form-control-sm { border-radius: var(--radius-xs); border-color: var(--border); }
.filter-card .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.05); }

.filter-group + .filter-group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-2); }

/* sort select */
.sort-select {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: .45rem 2.2rem .45rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231a1a1a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  -webkit-appearance: none; appearance: none;
}
.sort-select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.05); outline: none; }

/* =============================================================
   PRODUCT DETAIL
   ============================================================= */
.product-detail-img {
  aspect-ratio: 1 / 1;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-img .placeholder { font-size: 5rem; color: var(--border); }

.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .75rem; }
.gallery-thumb {
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  padding: .5rem;
  transition: border-color .2s;
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--ink); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

.pd-brand { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.pd-title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin-bottom: .4rem; letter-spacing: -.02em; }
.pd-sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }

.price-block { margin-bottom: 1.3rem; }
.price-block .price-now { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-block .price-old { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-left: .6rem; }
.price-block .save-tag { display: inline-block; background: #fff0f0; color: var(--red); font-size: .76rem; font-weight: 700; padding: .15rem .5rem; border-radius: var(--radius-xs); margin-left: .5rem; vertical-align: middle; }

.pd-stock { margin-bottom: 1.3rem; font-size: .9rem; }
.pd-stock .in { color: var(--green); font-weight: 600; }
.pd-stock .low { color: #b76e00; font-weight: 600; }
.pd-stock .out { color: var(--red); font-weight: 600; }

.pd-section-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.pd-desc { color: var(--ink-soft); font-size: .95rem; line-height: 1.7; }

.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-control button {
  width: 40px; height: 42px;
  border: none;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .15s;
}
.qty-control button:hover { background: var(--bg-soft); }
.qty-control input {
  width: 52px; height: 42px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink);
  background: #fff;
}
.qty-control input:focus { outline: none; }

/* spec table */
.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.spec-card h6 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .9rem; }
.spec-table { margin: 0; }
.spec-table th { background: var(--bg-soft); font-weight: 600; width: 42%; color: var(--ink-soft); font-size: .88rem; }
.spec-table th, .spec-table td { padding: .7rem .9rem; border-bottom: 1px solid var(--border-2); font-size: .9rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* breadcrumb */
.breadcrumb { font-size: .82rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-item.active { color: var(--ink-soft); }

/* =============================================================
   CART
   ============================================================= */
.cart-item-img {
  width: 72px; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  padding: .35rem;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }

.cart-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--border) !important; padding: .8rem; }
.cart-table td { padding: 1rem .8rem; border-bottom: 1px solid var(--border-2); vertical-align: middle; }
.cart-table tr:last-child td { border-bottom: none; }

/* =============================================================
   CHECKOUT / SUMMARY CARDS
   ============================================================= */
.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.checkout-card h5 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.checkout-card .form-label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.checkout-card .form-control {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  padding: .65rem .9rem;
  font-size: .92rem;
}
.checkout-card .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.05); }

.payment-option {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .95rem 1.1rem;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .7rem;
  background: #fff;
}
.payment-option:hover { border-color: var(--muted-2); }
.payment-option.selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
  background: var(--bg-soft);
}
.payment-option input { margin-right: .2rem; accent-color: var(--ink); }
.payment-option .pay-icon {
  width: 40px; height: 40px; border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); font-size: 1.15rem; flex-shrink: 0;
}

/* order summary */
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.summary-row .label { color: var(--muted); font-size: .9rem; }
.summary-row .val { font-weight: 600; font-size: .92rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5rem; }
.summary-total .label { font-weight: 700; font-size: 1rem; }
.summary-total .val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }

/* =============================================================
   ORDER SUCCESS
   ============================================================= */
.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1.2rem;
  box-shadow: 0 8px 24px rgba(26,173,85,.3);
}
.order-number-box {
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0;
}
.order-number-box .num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: .02em; }

.qr-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.qr-box #qrcode { display: inline-block; padding: .8rem; background: #fff; border: 1px solid var(--border-2); border-radius: var(--radius-sm); }

/* =============================================================
   ORDER TRACKING TIMELINE
   ============================================================= */
.status-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
}
.status-pill--active { background: var(--ink); color: #fff; }
.status-pill--cancel { background: #fff0f0; color: var(--red); }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline-item {
  display: flex;
  gap: 1.1rem;
  padding-bottom: 1.6rem;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 17px; top: 38px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  flex-shrink: 0;
  z-index: 1;
  transition: all .2s;
}
.timeline-dot.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.timeline-dot.done { background: var(--green); border-color: var(--green); color: #fff; }
.timeline-content { padding-top: .25rem; }
.timeline-content .title { font-weight: 600; font-size: .95rem; color: var(--ink); }
.timeline-content .desc { font-size: .82rem; color: var(--muted); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer-muktech {
  background: #0a0a0a;
  color: #a1a1a6;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-muktech .footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: .15rem;
  margin-bottom: 1rem;
}
.footer-muktech .footer-brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; align-self: flex-end; margin-bottom: 6px; margin-left: 2px; }
.footer-muktech h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-muktech a { color: #a1a1a6; font-size: .9rem; }
.footer-muktech a:hover { color: #fff; }
.footer-muktech ul li { margin-bottom: .5rem; }
.footer-muktech .footer-bottom {
  border-top: 1px solid #232323;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: .8rem;
  color: #6e6e73;
  text-align: center;
}
.footer-muktech .btn-sm { font-size: .82rem; }

/* =============================================================
   MISC
   ============================================================= */
.empty-state { text-align: center; padding: 4.5rem 1rem; color: var(--muted); }
.empty-state .icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--muted-2);
  margin: 0 auto 1.2rem;
}
.empty-state p { font-size: 1rem; margin-bottom: .5rem; }

.divider { height: 1px; background: var(--border); border: none; margin: 3rem 0; }

/* feature highlights row (trust badges) */
.feature-strip { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; padding: 1.5rem 0; }
.feature-item { display: flex; align-items: center; gap: .6rem; color: var(--ink-soft); font-size: .85rem; font-weight: 500; }
.feature-item .bi { font-size: 1.3rem; color: var(--ink); }

/* toast override */
.toast { border-radius: var(--radius-sm); }

/* =============================================================
   PRODUCT DETAIL — ENHANCED (zoom, tabs, badges, box list, tags)
   ============================================================= */

/* --- Image zoom --- */
.zoom-container { position: relative; }
.zoom-container .product-detail-img { position: relative; z-index: 1; }
.zoom-lens {
  position: absolute; display: none; pointer-events: none; z-index: 2;
  width: 120px; height: 120px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: rgba(255,255,255,.25);
  box-shadow: 0 0 0 9999px rgba(0,0,0,0);
  cursor: zoom-in;
}
.zoom-result {
  position: absolute; display: none; z-index: 3; pointer-events: none;
  top: 0; left: calc(100% + 1rem);
  width: 100%; height: 100%;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  overflow: hidden; background: var(--bg);
  box-shadow: var(--shadow-md);
}
.zoom-result img { position: absolute; max-width: none; }

/* --- Badges (brand + category) --- */
.pd-badges { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pd-brand-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent);
  background: #eef4ff; padding: .2rem .6rem; border-radius: var(--radius-xs);
  transition: background .18s;
}
.pd-brand-link:hover { background: #dbe7ff; color: var(--accent-dark); }
.pd-cat-badge {
  font-size: .72rem; font-weight: 500; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--border-2);
  padding: .2rem .6rem; border-radius: var(--radius-xs);
  transition: border-color .18s;
}
.pd-cat-badge:hover { border-color: var(--border); color: var(--ink-soft); }

/* --- Short description --- */
.pd-short-desc { color: var(--ink-soft); font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; }

/* --- Meta row (stock + sku) --- */
.pd-meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.3rem;
  padding-bottom: 1.3rem; border-bottom: 1px solid var(--border-2);
}
.pd-sku { font-size: .85rem; }
.pd-sku code { color: var(--ink-soft); background: var(--bg-soft); padding: .1rem .4rem; border-radius: 4px; }

/* --- Quick info (weight / dimensions / warranty) --- */
.pd-quick-info {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  padding: 1rem; background: var(--bg-soft); border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}
.pd-quick-info .qi-item { display: flex; align-items: center; gap: .4rem; font-size: .85rem; color: var(--ink-soft); }
.pd-quick-info .qi-item .bi { font-size: 1.1rem; color: var(--ink); }
.pd-quick-info .qi-item span { font-weight: 600; color: var(--muted); }

/* --- Buy / action rows --- */
.pd-buy-row { display: flex; gap: .75rem; align-items: stretch; margin-bottom: .75rem; flex-wrap: wrap; }
.pd-action-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* --- Tabs --- */
.pd-tabs-nav {
  border-bottom: 2px solid var(--border-2); gap: .25rem;
  margin-bottom: 0; flex-wrap: nowrap; overflow-x: auto;
}
.pd-tabs-nav .nav-item { flex-shrink: 0; }
.pd-tabs-nav .nav-link {
  border: none; border-bottom: 2px solid transparent; border-radius: 0;
  padding: .9rem 1.2rem; font-size: .9rem; font-weight: 600; color: var(--muted);
  background: none; transition: all .2s; white-space: nowrap;
  margin-bottom: -2px;
}
.pd-tabs-nav .nav-link .bi { font-size: 1rem; vertical-align: -.1rem; }
.pd-tabs-nav .nav-link:hover { color: var(--ink-soft); }
.pd-tabs-nav .nav-link.active { color: var(--ink); border-bottom-color: var(--ink); }
.pd-tabs-content { padding: 2rem 0; }

/* --- Rich description (supports HTML from admin) --- */
.pd-rich-desc { color: var(--ink-soft); font-size: .95rem; line-height: 1.8; max-width: 780px; }
.pd-rich-desc h1, .pd-rich-desc h2, .pd-rich-desc h3 { color: var(--ink); margin-top: 1.5rem; margin-bottom: .6rem; }
.pd-rich-desc h2 { font-size: 1.3rem; }
.pd-rich-desc h3 { font-size: 1.1rem; }
.pd-rich-desc p { margin-bottom: 1rem; }
.pd-rich-desc ul, .pd-rich-desc ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.pd-rich-desc li { margin-bottom: .4rem; }
.pd-rich-desc img { max-width: 100%; border-radius: var(--radius-sm); margin: 1rem 0; }
.pd-rich-desc strong { color: var(--ink); }

/* --- What's in box list --- */
.pd-box-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.pd-box-list li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink-soft); padding: .6rem .8rem; background: var(--bg-soft); border-radius: var(--radius-xs); }
.pd-box-list li .bi { color: var(--green); font-size: 1.15rem; }

/* --- Shipping info list --- */
.pd-shipping-list { list-style: none; padding: 0; margin: 0; }
.pd-shipping-list li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--ink-soft); padding: .6rem 0; border-bottom: 1px solid var(--border-2); }
.pd-shipping-list li:last-child { border-bottom: none; }
.pd-shipping-list li .bi { color: var(--ink); font-size: 1.1rem; margin-top: .1rem; }

/* --- Reviews placeholder --- */
.pd-reviews-placeholder { text-align: center; padding: 3rem 1rem; }
.pd-reviews-placeholder .reviews-icon { font-size: 3rem; color: var(--border); margin-bottom: 1rem; }
.pd-reviews-placeholder h4 { margin-bottom: .5rem; }
.pd-reviews-placeholder p { color: var(--muted); margin-bottom: 1.2rem; }

/* --- Tags --- */
.pd-tags { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.pd-tags-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.pd-tag {
  display: inline-block; font-size: .78rem; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--border-2);
  padding: .15rem .5rem; border-radius: var(--radius-xs);
  transition: all .18s;
}
.pd-tag:hover { border-color: var(--ink); color: var(--ink); }

/* --- Product card short description --- */
.product-card .short-desc {
  font-size: .78rem; color: var(--muted); line-height: 1.4;
  margin-bottom: .5rem; display: -webkit-box;
  -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis;
  word-break: break-word; overflow-wrap: break-word;
}

/* =============================================================
   MOBILE COMPONENTS — Bottom nav, collapsible search, sticky bars
   ============================================================= */

/* ---- Mobile bottom navigation bar ---- */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-nav .nav-list {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
}
.mobile-bottom-nav .nav-item-m {
  flex: 1;
  display: flex;
}
.mobile-bottom-nav .nav-link-m {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  transition: color .18s ease;
  position: relative;
  padding-top: 4px;
}
.mobile-bottom-nav .nav-link-m .bi {
  font-size: 1.25rem;
  line-height: 1;
}
.mobile-bottom-nav .nav-link-m.active,
.mobile-bottom-nav .nav-link-m:hover { color: var(--ink); }
.mobile-bottom-nav .nav-link-m .cart-count-badge {
  position: absolute;
  top: 4px;
  right: 50%;
  transform: translateX(14px);
  background: var(--ink);
  color: #fff;
  font-size: .58rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}
.mobile-bottom-nav .nav-link-m.whatsapp-link { color: var(--green); }
.mobile-bottom-nav .nav-link-m.whatsapp-link .bi { font-size: 1.35rem; }

/* ---- Collapsible mobile search ---- */
.mobile-search-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  padding: .6rem 1rem;
  padding-top: calc(.6rem + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform .3s ease;
  box-shadow: var(--shadow-md);
}
.mobile-search-bar.open { transform: translateY(0); }
.mobile-search-bar .input-group {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.mobile-search-bar .form-control {
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: .75rem 1.2rem;
  font-size: 1rem;
  color: var(--ink);
}
.mobile-search-bar .form-control:focus { box-shadow: none; outline: none; }
.mobile-search-bar .form-control::placeholder { color: var(--muted-2); }
.mobile-search-bar .btn-close-search {
  border: none;
  background: none;
  color: var(--ink);
  font-size: 1.3rem;
  padding: 0 .8rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

/* ---- Mobile search toggle button (in navbar) ---- */
.mobile-search-toggle {
  display: none;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 1.2rem;
  padding: .4rem;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---- Collapsible filter (category page) ---- */
.filter-toggle-btn {
  display: none;
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  cursor: pointer;
}
.filter-toggle-btn .bi { font-size: 1.1rem; transition: transform .25s; }
.filter-toggle-btn[aria-expanded="true"] .bi { transform: rotate(180deg); }

/* ---- Sticky action bar (product detail, cart, checkout) ---- */
.sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255,255,255,.98);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
  padding: .7rem 1rem;
  padding-bottom: calc(.7rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(0,0,0,.06);
}
.sticky-action-bar .bar-inner {
  display: flex;
  gap: .6rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}
.sticky-action-bar .bar-price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.sticky-action-bar .bar-price .label { font-size: .68rem; color: var(--muted); }
.sticky-action-bar .bar-price .val { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.sticky-action-bar .btn { flex: 1; min-height: 44px; }

/* ---- Horizontal scroll containers (snap) ---- */
.h-scroll {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  margin: 0 -.5rem;
  padding-left: .5rem;
  padding-right: .5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ---- Swipeable image gallery (product detail) ---- */
.pd-gallery-swipe {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-radius: var(--radius);
}
.pd-gallery-swipe::-webkit-scrollbar { display: none; }
.pd-gallery-swipe .gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.pd-gallery-swipe .gallery-slide .product-detail-img {
  border-radius: 0;
  border: none;
}

/* ---- Offcanvas category sheet ---- */
.cat-offcanvas .offcanvas-header {
  background: var(--ink);
  color: #fff;
}
.cat-offcanvas .offcanvas-title { font-weight: 700; }
.cat-offcanvas .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
.cat-offcanvas .cat-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem .5rem;
  border-bottom: 1px solid var(--border-2);
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .95rem;
  min-height: 44px;
  transition: background .15s, color .15s;
}
.cat-offcanvas .cat-link:hover,
.cat-offcanvas .cat-link:active {
  background: var(--bg-soft);
  color: var(--ink);
}
.cat-offcanvas .cat-link .bi { font-size: 1.2rem; width: 24px; text-align: center; }


/* =============================================================
   RESPONSIVE — Mobile-first breakpoints
   ============================================================= */

/* ---- Tablet & below (≤991px) ---- */
@media (max-width: 991.98px) {
  .navbar-muktech .search-form { max-width: 100%; margin: .8rem 0; }
  .navbar-muktech .navbar-collapse {
    padding: .5rem 0;
    animation: navFadeIn .3s ease;
  }
  @keyframes navFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .filter-card { position: static; }
  .zoom-result { display: none !important; }
  .zoom-lens { display: none !important; }
  .footer-muktech { padding-bottom: 5rem; } /* space for bottom nav */
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  /* Body font minimum 16px for readability */
  body { font-size: 16px; }

  /* Show mobile bottom nav + search toggle; hide desktop cart/search convenience */
  .mobile-bottom-nav { display: block; }
  .mobile-search-toggle { display: inline-flex; }
  .navbar-muktech .desktop-search-wrap { display: none !important; }

  /* Navbar: hide center search, show search icon button */
  .navbar-muktech .navbar-collapse .search-form { display: none; }

  /* Larger tap targets for nav links */
  .navbar-muktech .nav-link {
    padding: .75rem .5rem !important;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .navbar-muktech .dropdown-item {
    padding: .75rem .8rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Buttons: min 44px tap target */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 40px; }
  .btn-lg { min-height: 52px; }

  /* Links: comfortable tap area */
  .footer-muktech a { min-height: 36px; display: inline-flex; align-items: center; }
  .footer-muktech ul li { margin-bottom: .15rem; }

  /* Hero carousel */
  .hero-slide { min-height: 340px; }
  .hero-slide .hero-title { font-size: 1.7rem; line-height: 1.15; }
  .hero-slide .hero-sub { font-size: .95rem; margin-bottom: 1.2rem; }
  .hero-slide .hero-content { padding: 0 .25rem; }
  .hero-slide .hero-eyebrow { font-size: .72rem; margin-bottom: .5rem; }
  /* Show dots, hide arrows on mobile */
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }
  .hero-carousel .carousel-indicators { margin-bottom: .8rem; }
  .hero-carousel .carousel-indicators button {
    width: 8px; height: 8px; border-radius: 50%;
  }

  /* Sections */
  .section { padding: 2rem 0; }
  .section-title { font-size: 1.3rem; }
  .section-head { margin-bottom: 1.2rem; flex-wrap: wrap; }

  /* Hero: mobile height */
  .hero-slide { min-height: 250px; }
  .hero-slide .hero-title { font-size: 1.6rem; }
  .hero-slide .hero-sub { font-size: .95rem; margin-bottom: 1rem; }

  /* Category grid → 3 columns on mobile with smaller icons + text */
  .category-grid-mobile {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
    margin: 0;
    padding: 0;
  }
  .category-grid-mobile > * {
    flex: none;
    width: auto;
    max-width: none;
  }
  .category-card { padding: 1rem .5rem; }
  .category-card .icon { width: 46px; height: 46px; font-size: 1.25rem; margin-bottom: .45rem; }
  .category-card .name { font-size: .8rem; }

  /* Brand strip → horizontal scroll on mobile */
  .brand-strip-mobile {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    scrollbar-width: none;
    padding: 0 .5rem;
  }
  .brand-strip-mobile::-webkit-scrollbar { display: none; }
  .brand-strip-mobile > .col { flex: 0 0 120px; }

  /* Brand scroll strip: smaller logos on mobile (80x60px) */
  .brand-scroll-wrap { gap: 1rem; padding: .5rem .75rem; }
  .brand-scroll-wrap .brand-logo-link { height: 60px; }
  .brand-scroll-wrap .brand-logo-img {
    width: 80px;
    height: 60px;
    max-width: 80px;
    max-height: 60px;
  }

  /* Product grid: 2 columns on mobile */
  .product-grid-mobile .col-6 { flex: 0 0 50%; max-width: 50%; }

  /* Product card: consistent height, compact on mobile */
  .product-card .img-wrap { padding: .75rem; aspect-ratio: 1 / 1; }
  .product-card .body { padding: .7rem .75rem .85rem; }
  .product-card .name { font-size: .85rem; min-height: 2.4em; }
  .product-card .price { font-size: 1rem; }
  .product-card .add-btn {
    padding: .6rem;
    font-size: .8rem;
    min-height: 44px;
  }
  .product-card .stock-line { font-size: .72rem; margin: .25rem 0 .5rem; }

  /* Product detail */
  .pd-title { font-size: 1.35rem; }
  .pd-sub { font-size: .9rem; }
  .price-block .price-now { font-size: 1.5rem; }
  .price-block .price-old { font-size: .9rem; }
  .pd-meta-row { gap: .5rem; padding-bottom: 1rem; margin-bottom: 1rem; }
  .pd-quick-info { gap: .8rem; padding: .75rem; }
  .pd-quick-info .qi-item { font-size: .8rem; }

  /* Swipeable gallery on mobile */
  .pd-gallery-desktop { display: none; }
  .pd-gallery-mobile { display: block; }
  .gallery-thumbs-mobile {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-top: .5rem;
    padding-bottom: .25rem;
    scrollbar-width: none;
  }
  .gallery-thumbs-mobile::-webkit-scrollbar { display: none; }
  .gallery-thumbs-mobile .gallery-thumb {
    flex: 0 0 64px;
    width: 64px;
    scroll-snap-align: start;
  }

  /* Product detail buy row → sticky bottom bar */
  .pd-buy-section { display: none; }
  .pd-sticky-bar { display: block; }
  /* Add bottom padding so content isn't hidden behind sticky bar */
  .pd-detail-wrap { padding-bottom: 80px; }

  /* Tabs: scrollable nav */
  .pd-tabs-nav .nav-link { padding: .7rem .9rem; font-size: .85rem; }
  .pd-tabs-content { padding: 1.25rem 0; }
  .pd-rich-desc { font-size: .92rem; line-height: 1.7; }

  /* Collapsible filters */
  .filter-toggle-btn { display: flex; }
  .filter-collapse-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .filter-collapse-mobile.show { max-height: 800px; }
  .filter-card { padding: 1rem; border-radius: var(--radius-sm); }

  /* Sort select: larger tap target */
  .sort-select {
    min-height: 44px;
    padding: .55rem 2.2rem .55rem 1rem;
    font-size: .88rem;
  }

  /* Cart: hide table headers, stack items */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    padding: 1rem .5rem;
    border-bottom: 1px solid var(--border-2);
  }
  .cart-table td { border: none; padding: .25rem 0; text-align: left !important; }
  .cart-table td:nth-child(1) { flex: 0 0 100%; }
  .cart-table td:nth-child(2) { flex: 0 0 auto; font-size: .85rem; }
  .cart-table td:nth-child(3) { flex: 0 0 auto; }
  .cart-table td:nth-child(4) { flex: 1 1 auto; text-align: right !important; font-size: 1rem; }
  .cart-table td:nth-child(5) { flex: 0 0 auto; }
  .cart-item-img { width: 60px; height: 60px; }
  /* Sticky checkout button on cart */
  .cart-summary-desktop { display: none; }
  .cart-sticky-bar { display: block; }
  .cart-wrap { padding-bottom: 80px; }

  /* Qty control: larger buttons */
  .qty-control button { width: 44px; height: 44px; font-size: 1.2rem; }
  .qty-control input { width: 48px; height: 44px; font-size: 1rem; }

  /* Checkout: single column, large inputs */
  .checkout-form-row { flex-direction: column; }
  .checkout-card .form-control {
    min-height: 48px;
    font-size: 1rem;
    padding: .8rem 1rem;
  }
  .checkout-card { padding: 1.1rem; }
  .payment-option {
    padding: 1rem;
    min-height: 56px;
    gap: .75rem;
  }
  .payment-option .pay-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .payment-option input { width: 22px; height: 22px; }
  .checkout-summary-desktop { display: none; }
  .checkout-sticky-bar { display: block; }
  .checkout-wrap { padding-bottom: 80px; }

  /* Footer: stack columns, larger text */
  .footer-muktech { padding: 2rem 0 5rem; margin-top: 2rem; }
  .footer-muktech h6 { font-size: .9rem; margin-bottom: .75rem; }
  .footer-muktech a { font-size: .92rem; }
  .footer-brand { font-size: 1.3rem; }
  .footer-brands-row { gap: .75rem 1rem; }
  .footer-brand-logo { max-width: 70px; }

  /* Brand grid card */
  .brand-grid-card { padding: .75rem .4rem; }
  .brand-grid-logo { max-width: 80px; max-height: 36px; }

  /* Empty state */
  .empty-state { padding: 3rem 1rem; }
  .empty-state .icon { width: 64px; height: 64px; font-size: 1.8rem; }

  /* Announce bar */
  .announce-bar { font-size: .72rem; padding: .35rem 1rem; }

  /* Breadcrumb */
  .breadcrumb { font-size: .78rem; margin-bottom: .75rem; }

  /* Safe area insets for notch phones */
  .navbar-muktech { padding-top: env(safe-area-inset-top, 0px); }
  .announce-bar { padding-top: calc(.4rem + env(safe-area-inset-top, 0px)); }
}

/* ---- Small phones (≤576px) ---- */
@media (max-width: 576px) {
  .hero-slide { min-height: 250px; }
  .hero-slide .hero-title { font-size: 1.45rem; }
  .hero-slide .hero-sub { font-size: .88rem; }
  .hero-slide .hero-content { padding: 0; }
  .hero-slide .hero-eyebrow { font-size: .68rem; }
  .product-card .img-wrap { padding: .6rem; }
  .product-card .name { font-size: .82rem; -webkit-line-clamp: 2; }
  .product-card .price { font-size: .95rem; }
  .checkout-card { padding: 1rem; }
  .section { padding: 1.5rem 0; }
  .section-title { font-size: 1.2rem; }
  .pd-title { font-size: 1.2rem; }
  .price-block .price-now { font-size: 1.35rem; }
  .container { padding-left: .75rem; padding-right: .75rem; }
  /* Category grid: keep 3 columns, tighter spacing on small phones */
  .category-grid-mobile { gap: .5rem; }
  .category-card { padding: .8rem .35rem; }
  .category-card .icon { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: .35rem; }
  .category-card .name { font-size: .75rem; }
}

/* ---- Very small phones (≤360px) ---- */
@media (max-width: 360px) {
  .hero-slide .hero-title { font-size: 1.25rem; }
  .product-card .body { padding: .6rem; }
  .mobile-bottom-nav .nav-link-m { font-size: .62rem; }
}

/* ---- Touch device optimizations ---- */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms on touch devices to prevent sticky states */
  .product-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .category-card:hover { transform: none; box-shadow: none; }
  .brand-grid-card:hover { transform: none; }
  /* Show zoom controls hint differently */
  .zoom-lens, .zoom-result { display: none !important; }
}

/* =============================================================
   Rich product detail — features, warranty badge, brand logo
   ============================================================= */

/* Features highlight grid (in product info column) */
.pd-features-highlight {
  padding: .5rem 0;
}
.pd-features-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem .8rem;
}
.pd-features-grid li {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .875rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pd-features-grid li i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: .9rem;
}
@media (max-width: 576px) {
  .pd-features-grid { grid-template-columns: 1fr; }
}

/* Features list (in tab) */
.pd-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pd-features-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border-2);
  font-size: .95rem;
  color: var(--ink-soft);
}
.pd-features-list li:last-child { border-bottom: none; }
.pd-features-list li i { flex-shrink: 0; margin-top: 3px; }

/* Warranty badge */
.pd-warranty-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: rgba(26,173,85,.1);
  color: var(--green-dark);
  padding: .25rem .6rem;
  border-radius: var(--radius-xs);
  font-size: .8rem;
  font-weight: 600;
}
.pd-warranty-badge i { font-size: .9rem; }

/* Brand logo in product detail */
.pd-brand-logo {
  border-radius: 3px;
}

/* =============================================================
   FLOATING WHATSAPP BUTTON
   Bottom-right, fixed, green circle, always visible.
   ============================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(26,173,85,.4);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  text-decoration: none;
  animation: whatsappPulse 2.6s infinite;
}
.whatsapp-float .bi { line-height: 1; }
.whatsapp-float:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 28px rgba(26,173,85,.5);
  animation-play-state: paused;
}
.whatsapp-float:active { transform: scale(.95); }
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(26,173,85,.45);
  outline-offset: 3px;
}

@keyframes whatsappPulse {
  0%   { box-shadow: 0 6px 20px rgba(26,173,85,.4), 0 0 0 0 rgba(26,173,85,.5); }
  70%  { box-shadow: 0 6px 20px rgba(26,173,85,.4), 0 0 0 16px rgba(26,173,85,0); }
  100% { box-shadow: 0 6px 20px rgba(26,173,85,.4), 0 0 0 0 rgba(26,173,85,0); }
}

/* Mobile: lift above the bottom nav bar so it stays visible & tappable */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}
@media (max-width: 360px) {
  .whatsapp-float {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }
}

/* =============================================================
   MARKETING — TRUST STRIP, FLASH SALE, CARD BADGES
   ============================================================= */

/* ---------- Trust strip (below hero) ---------- */
.trust-strip-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 1rem 0;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-content: center;
  text-align: center;
}
.trust-icon { font-size: 1.5rem; line-height: 1; }
.trust-text { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }

/* payment methods row */
.pay-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
}
.pay-label { font-size: .78rem; color: var(--muted); font-weight: 600; margin-right: .2rem; }
.pay-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .28rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.pay-cod  { background: #fff7e6; color: #b76e00; border-color: #ffe3a3; }
.pay-bcel { background: #eef4ff; color: var(--accent-dark); border-color: #cfe0ff; }
.pay-wa   { background: #e9f8ef; color: var(--green-dark); border-color: #bce8cd; }

@media (max-width: 768px) {
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .trust-text  { font-size: .76rem; }
}

/* ---------- Flash sale section ---------- */
.flash-sale-section { background: linear-gradient(180deg, #fff7f0 0%, var(--bg-soft) 100%); }
.flash-title { color: var(--red); display: inline-flex; align-items: center; gap: .35rem; }
.flash-countdown {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: var(--ink);
  border-radius: var(--radius-sm);
  padding: .5rem .8rem;
}
.flash-countdown .fc-label { color: #fff; font-size: .72rem; font-weight: 600; margin-right: .2rem; }
.flash-countdown .fc-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.14);
  border-radius: var(--radius-xs);
  padding: .15rem .4rem;
  min-width: 38px;
}
.flash-countdown .fc-box span {
  color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.flash-countdown .fc-box small { color: rgba(255,255,255,.7); font-size: .55rem; }
.flash-countdown .fc-sep { color: #fff; font-weight: 800; font-size: 1.05rem; }

@media (max-width: 576px) {
  .flash-countdown .fc-box { min-width: 32px; }
  .flash-countdown .fc-box span { font-size: .9rem; }
}

/* flash card wrapper + special-offer badge (fallback when no discounts) */
.flash-card-wrap { position: relative; height: 100%; }
.flash-special { position: absolute; top: 10px; right: 10px; z-index: 3; }

/* ---------- Product card badge stack (top-left of image) ---------- */
.card-badges {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: flex-start;
  pointer-events: none;
}
.cbadge {
  font-size: .66rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: var(--radius-xs);
  color: #fff;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.cbadge-discount   { background: var(--red); }            /* -XX% */
.cbadge-new        { background: var(--accent); }          /* ໃໝ່ — blue */
.cbadge-bestseller { background: var(--amber); color: #5a3500; }  /* ຂາຍດີ — orange */
.cbadge-lowstock   { background: #ff4d4f; }                /* ເຫຼືອ X ຊິ້ນ — red */
.cbadge-special    { background: linear-gradient(135deg, #ff6a00, #ee0979); } /* special offer */
