/* ============================================
   BAZARMALL THEME — Global Stylesheet
   Version: 1.0
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --bg:           oklch(0.985 0.003 90);
  --surface:      #ffffff;
  --ink:          oklch(0.18 0.02 240);
  --ink-2:        oklch(0.42 0.02 240);
  --ink-3:        oklch(0.62 0.015 240);
  --line:         oklch(0.92 0.008 240);
  --line-2:       oklch(0.96 0.005 240);
  --primary:      oklch(0.68 0.17 152);
  --primary-ink:  oklch(0.32 0.09 152);
  --primary-soft: oklch(0.96 0.04 152);
  --accent:       oklch(0.78 0.16 75);
  --accent-soft:  oklch(0.96 0.04 75);
  --danger:       oklch(0.62 0.20 25);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radius */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-card: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-pop:  0 12px 40px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.06);

  /* Layout */
  --container: 1280px;
  --gutter:    clamp(16px, 3vw, 32px);
  --section-py: clamp(36px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.bm-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Promo Strip ---------- */
.bm-promo-strip {
  background: var(--ink);
  color: #fff;
  height: 36px;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  position: relative;
  z-index: 100;
}
.bm-promo-strip .bm-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.bm-promo-strip__left {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bm-promo-strip__bullet {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.bm-promo-strip__right {
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: .75;
}
.bm-promo-strip__right a:hover { opacity: 1; color: var(--primary); }
@media (max-width: 720px) { .bm-promo-strip__right { display: none; } }

/* ---------- Header ---------- */
.bm-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: var(--shadow-sm);
}
.bm-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}

/* Logo */
.bm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.bm-logo__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.bm-logo__text { display: flex; flex-direction: column; }
.bm-logo__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bm-logo__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
}

/* Search */
.bm-search {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.bm-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px oklch(0.68 0.17 152 / 0.18);
}
.bm-search__cat {
  padding: 0 12px;
  border: none;
  border-right: 1.5px solid var(--line);
  background: var(--line-2);
  font-size: 13px;
  color: var(--ink-2);
  height: 44px;
  outline: none;
  font-family: var(--font-sans);
}
.bm-search__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  height: 44px;
  background: transparent;
  color: var(--ink);
}
.bm-search__input::placeholder { color: var(--ink-3); }
.bm-search__btn {
  height: 44px;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s;
  flex-shrink: 0;
}
.bm-search__btn:hover { background: oklch(0.28 0.02 240); }

/* Header actions */
.bm-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.bm-icon-btn {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  transition: background .15s, color .15s;
  position: relative;
}
.bm-icon-btn:hover { background: var(--line-2); color: var(--ink); }
.bm-icon-btn__badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.bm-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  padding: 0 16px 0 12px;
  height: 44px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background .15s;
}
.bm-cart-btn:hover { background: oklch(0.28 0.02 240); }
.bm-cart-btn__count {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.bm-cart-btn__total {
  font-family: var(--font-mono);
  font-size: 13px;
}

@media (max-width: 720px) {
  .bm-header__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .bm-search__cat { display: none; }
  .bm-logo__tag { display: none; }
}

/* ---------- Mega Nav ---------- */
.bm-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 73px;
  z-index: 190;
}
.bm-nav__inner {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.bm-nav__inner::-webkit-scrollbar { display: none; }
.bm-nav__all {
  background: var(--ink);
  color: #fff;
  padding: 0 16px;
  height: 34px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  transition: background .15s;
}
.bm-nav__all:hover { background: oklch(0.28 0.02 240); }
.bm-nav__item {
  position: relative;
  display: flex; align-items: center;
  height: 52px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: color .15s;
  border-bottom: 2px solid transparent;
  gap: 4px;
}
.bm-nav__item:hover, .bm-nav__item.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}
.bm-nav__phone {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
}
@media (max-width: 900px) { .bm-nav__phone { display: none; } }

/* Mega panel */
.bm-mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: none;
  box-shadow: var(--shadow-pop);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 28px var(--gutter);
  display: none;
  grid-template-columns: repeat(3, 1fr) 280px;
  gap: 32px;
  z-index: 300;
}
.bm-nav__item:hover .bm-mega { display: grid; }
.bm-mega__col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.bm-mega__col ul { display: flex; flex-direction: column; gap: 6px; }
.bm-mega__col ul li a {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex; justify-content: space-between;
  padding: 3px 0;
  transition: color .12s;
}
.bm-mega__col ul li a:hover { color: var(--primary); }
.bm-mega__col ul li a span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.bm-mega__feature {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.bm-mega__feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary-ink);
  font-weight: 600;
}
.bm-mega__feature h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.bm-mega__feature p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.bm-mega__feature a {
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  transition: opacity .15s;
}
.bm-mega__feature a:hover { opacity: .88; }

/* ---------- Hero ---------- */
.bm-hero {
  padding: var(--section-py) 0;
}
.bm-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
@media (max-width: 960px) { .bm-hero__grid { grid-template-columns: 1fr; } }

.bm-hero__left {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-sm);
}
.bm-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.bm-hero__eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.bm-hero__title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.bm-hero__title em {
  font-style: normal;
  color: var(--primary);
}
.bm-hero__lede {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 480px;
}
.bm-hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.bm-btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity .15s, transform .15s;
}
.bm-btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.bm-btn-ghost {
  background: transparent;
  color: var(--ink);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s, background .15s;
}
.bm-btn-ghost:hover { border-color: var(--ink); background: var(--line-2); }
.bm-hero__chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bm-hero__chip {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary-ink);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 100px;
  transition: background .15s;
}
.bm-hero__chip:hover { background: oklch(0.93 0.06 152); }
.bm-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bm-hero__stat-val {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.bm-hero__stat-label {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}

.bm-hero__right {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  overflow: hidden;
}
.bm-hero__right::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, oklch(0.68 0.17 152 / 0.25), transparent 70%);
  pointer-events: none;
}
.bm-hero__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.bm-hero__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.bm-hero__img-wrap {
  aspect-ratio: 4/3;
  border: 1.5px dashed rgba(255,255,255,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.3);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
}
.bm-hero__price-tag {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.bm-hero__price-new {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}
.bm-hero__price-old {
  font-family: var(--font-mono);
  font-size: 14px;
  color: rgba(255,255,255,.4);
  text-decoration: line-through;
}
.bm-hero__price-badge {
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
}

/* ---------- Section header ---------- */
.bm-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.bm-section-head h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bm-section-head a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: flex; align-items: center; gap: 4px;
}
.bm-section-head a:hover { text-decoration: underline; }

/* ---------- Category Tiles ---------- */
.bm-categories { padding: var(--section-py) 0; }
.bm-categories__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .bm-categories__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .bm-categories__grid { grid-template-columns: repeat(2, 1fr); } }

.bm-cat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  text-decoration: none;
}
.bm-cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: oklch(0.84 0.08 152);
}
.bm-cat-tile__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.bm-cat-tile__name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.bm-cat-tile__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}

/* ---------- Value Props ---------- */
.bm-values { padding: var(--section-py) 0; }
.bm-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .bm-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .bm-values__grid { grid-template-columns: 1fr; } }
.bm-value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.bm-value-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.bm-value-card h3 { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.bm-value-card p  { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Product Cards ---------- */
.bm-featured { padding: var(--section-py) 0; }
.bm-filter-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.bm-chip {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--line);
  color: var(--ink-2);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s;
}
.bm-chip.active, .bm-chip:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.bm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .bm-products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .bm-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .bm-products-grid { grid-template-columns: 1fr; } }

.bm-product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  position: relative;
}
.bm-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: oklch(0.84 0.08 152);
}
.bm-product-card__img {
  aspect-ratio: 4/3;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.bm-product-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
}
.bm-product-card__img-placeholder {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-align: center;
  padding: 16px;
}
.bm-product-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.bm-product-card__badge--red   { background: var(--danger); color: #fff; }
.bm-product-card__badge--green { background: var(--primary); color: #fff; }
.bm-product-card__badge--outline { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.bm-product-card__fav {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  transition: color .15s, background .15s;
  border: none; cursor: pointer;
}
.bm-product-card__fav:hover, .bm-product-card__fav.active { color: var(--danger); }
.bm-product-card__body {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.bm-product-card__brand {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-3);
}
.bm-product-card__title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
.bm-product-card__title a { color: inherit; }
.bm-product-card__title a:hover { color: var(--primary); }
.bm-product-card__stars {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
}
.bm-product-card__stars svg { color: var(--accent); }
.bm-product-card__stock {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px;
}
.bm-product-card__stock-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}
.bm-product-card__stock-dot--in  { background: var(--primary); }
.bm-product-card__stock-dot--low { background: var(--accent); }
.bm-product-card__sku {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.bm-product-card__price-row {
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.bm-product-card__price {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.bm-product-card__price-old {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: line-through;
}
.bm-product-card__save {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--danger);
  background: oklch(0.96 0.04 25);
  padding: 2px 7px;
  border-radius: 100px;
}
.bm-product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}
.bm-add-btn {
  background: var(--ink);
  color: #fff;
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  gap: 6px;
  transition: background .15s;
  border: none; cursor: pointer;
}
.bm-add-btn:hover { background: oklch(0.28 0.02 240); }
.bm-add-btn.added { background: var(--primary); }
.bm-compare-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--line-2);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
  border: none; cursor: pointer;
}
.bm-compare-btn:hover { background: var(--line); color: var(--ink); }

/* ---------- Brand Strip ---------- */
.bm-brands { padding: var(--section-py) 0; }
.bm-brands__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bm-brands__title {
  min-width: 220px;
  flex-shrink: 0;
}
.bm-brands__title h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.bm-brands__title p  { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.bm-brands__chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}
.bm-brand-chip {
  height: 64px;
  padding: 0 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, box-shadow .15s;
}
.bm-brand-chip:hover {
  border-color: oklch(0.84 0.08 152);
  box-shadow: var(--shadow-sm);
}
.bm-brand-chip img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.8);
  transition: filter .15s;
}
.bm-brand-chip:hover img { filter: none; }
@media (max-width: 900px) {
  .bm-brands__inner { flex-direction: column; align-items: flex-start; }
  .bm-brands__title { min-width: unset; }
}

/* ---------- Newsletter ---------- */
.bm-newsletter { padding: var(--section-py) 0; }
.bm-newsletter__box {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.bm-newsletter__box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, oklch(0.68 0.17 152 / 0.2), transparent 70%);
  pointer-events: none;
}
.bm-newsletter__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--primary);
  margin-bottom: 8px;
}
.bm-newsletter__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bm-newsletter__sub {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-top: 6px;
}
.bm-newsletter__form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  min-width: 340px;
}
.bm-newsletter__input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  color: #fff;
  font-size: 14px;
}
.bm-newsletter__input::placeholder { color: rgba(255,255,255,.4); }
.bm-newsletter__btn {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 700;
  border: none; cursor: pointer;
  transition: opacity .15s;
  white-space: nowrap;
}
.bm-newsletter__btn:hover { opacity: .88; }
@media (max-width: 760px) {
  .bm-newsletter__box { grid-template-columns: 1fr; }
  .bm-newsletter__form { min-width: unset; }
}

/* ---------- Footer ---------- */
.bm-footer {
  background: oklch(0.13 0.02 240);
  color: rgba(255,255,255,.65);
  padding: clamp(40px, 6vw, 72px) 0 0;
}
.bm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 900px) {
  .bm-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
.bm-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.bm-footer__logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.bm-footer__logo-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.bm-footer__logo-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.bm-footer__desc {
  font-size: 13px;
  line-height: 1.6;
  max-width: 240px;
}
.bm-footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.bm-footer__contact-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.bm-footer__contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
}
.bm-footer__contact-val {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.bm-footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}
.bm-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.bm-footer__col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  transition: color .12s;
}
.bm-footer__col ul li a:hover { color: #fff; }
.bm-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.bm-footer__copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,.35);
}
.bm-footer__payments {
  display: flex; gap: 8px; align-items: center;
}
.bm-footer__payment-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- Toast ---------- */
.bm-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  z-index: 9999;
  white-space: nowrap;
}
.bm-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.bm-toast__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- Utilities ---------- */
.bm-section { padding: var(--section-py) 0; }
.bm-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---------- Cart Dropdown ---------- */
.bm-cart-wrap { position: relative; }
.bm-cart-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  z-index: 500;
  overflow: hidden;
}
.bm-cart-dropdown.open { display: block; }
.bm-cart-dropdown__items {
  max-height: 320px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bm-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--line-2);
}
.bm-cart-item__img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--surface);
  flex-shrink: 0;
}
.bm-cart-item__info { flex: 1; min-width: 0; }
.bm-cart-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bm-cart-item__name:hover { color: var(--primary); }
.bm-cart-item__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.bm-cart-item__remove {
  width: 28px; height: 28px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.bm-cart-item__remove:hover { background: oklch(0.96 0.04 25); color: var(--danger); }
.bm-cart-dropdown__totals {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bm-cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
}
.bm-cart-total-row:last-child {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  font-family: var(--font-mono);
}
.bm-cart-dropdown__actions {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.bm-cart-dropdown__empty {
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
}

/* ---------- Nav fixes ---------- */
.bm-nav__items {
  display: flex;
  align-items: center;
  height: 52px;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.bm-nav__items::-webkit-scrollbar { display: none; }

/* ---------- Search wrap ---------- */
.bm-search-wrap { flex: 1; }
.bm-search-wrap .bm-search { width: 100%; }

/* ---------- Override Bootstrap daca e incarcat ---------- */
.bm-header *, .bm-nav *, .bm-promo-strip * {
  box-sizing: border-box;
}
.bm-header .container { max-width: unset; padding: 0; }
#menu { display: none; } /* ascundem meniul bootstrap */
#search { display: none; } /* ascundem search bootstrap */
