/* BIAMOTOR homepage + chrome redesign (scoped). Reference: product-store mock. */
:root {
  --bm-red: #e31c23;
  --bm-red-dark: #c41018;
  --bm-ink: #1a1a1a;
  --bm-muted: #6b7280;
  --bm-line: #e5e7eb;
  --bm-soft: #f3f4f6;
  --bm-soft-2: #f8f9fb;
  --bm-white: #ffffff;
  --bm-radius: 14px;
  --bm-radius-sm: 10px;
  --bm-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  --bm-font: "Vazirmatn", Tahoma, sans-serif;
}

body.dc-body {
  font-family: var(--bm-font);
  color: var(--bm-ink);
  background: var(--bm-soft-2);
  overflow-x: clip;
}
html {
  overflow-x: clip;
}

/* ---------- top bar ---------- */
.bm-topbar {
  background: #2b2f36;
  color: #d1d5db;
  font-size: 12px;
  line-height: 1.4;
}
.bm-topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding-block: 4px;
}
.bm-topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-self: start;
}
.bm-topbar__center {
  justify-self: center;
  white-space: nowrap;
}
.bm-topbar__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-self: end;
}
.bm-topbar__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bm-topbar__chip svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.bm-topbar a {
  color: #e5e7eb;
  text-decoration: none;
}
.bm-topbar a:hover { color: #fff; }
.bm-topbar__phone {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  direction: ltr;
}

/* ---------- header ---------- */
.bm-header {
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-line);
  position: relative;
  z-index: 40;
}
.bm-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  min-height: 52px;
}
.bm-mobile-bar .whb-icon-btn,
.bm-mobile-bar .bm-tool {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  color: var(--bm-ink);
  background: transparent;
  border: 0;
  border-radius: 12px;
}
.bm-mobile-bar .whb-icon-btn svg,
.bm-mobile-bar .bm-tool svg {
  width: 24px;
  height: 24px;
  display: block;
}
.bm-mobile-bar .bm-logo-link {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.bm-mobile-search {
  display: none;
  padding-bottom: 10px;
}
.bm-header__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 10px 0;
}
/* digicar.css sets .dc-hidden-mobile { display:block !important } on desktop */
@media (min-width: 1025px) {
  .bm-header__main.dc-hidden-mobile {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
  .bm-navrow.dc-hidden-mobile {
    display: flex !important;
  }
}
.bm-logo,
.bm-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  line-height: 0;
}
.bm-logo img,
.bm-logo .bm-logo__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}
.bm-logo__wordmark[hidden] {
  display: none !important;
}
.bm-logo__wordmark:not([hidden]) {
  display: inline-block;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--bm-accent, #c8102e);
  line-height: 1.1;
}
.bm-logo--footer .bm-logo__img {
  height: 31px;
  max-width: 160px;
}
.bm-footer__brand .bm-logo__wordmark {
  color: #fff;
  font-size: 1.15rem;
}
.bm-search {
  display: flex;
  align-items: center;
  background: #f1f3f5;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 2px 4px 2px 12px;
  min-height: 44px;
  width: 100%;
}
.bm-search:focus-within {
  border-color: #fecaca;
  background: #fff;
}
.bm-search__icon {
  color: var(--bm-muted);
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.bm-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  padding: 8px 10px;
  min-width: 0;
}
.bm-search button {
  border: 0;
  background: transparent;
  color: var(--bm-muted);
  width: 40px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bm-search button svg {
  width: 18px;
  height: 18px;
}
.bm-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.bm-tools__divider {
  width: 1px;
  height: 28px;
  background: var(--bm-line);
  margin: 0 6px;
}
.bm-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bm-ink);
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 10px;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.bm-tool svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.bm-tool:hover { background: var(--bm-soft); }
.bm-tool__badge {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--bm-red);
  color: #fff;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
/* display:inline-flex above must not override the HTML hidden attribute */
.bm-tool__badge[hidden] {
  display: none !important;
}

.bm-navrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 10px;
  border-top: 1px solid var(--bm-line);
  background: #fafbfc;
  margin-inline: -12px;
  padding-inline: 12px;
}
.bm-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bm-red);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.bm-cat-btn svg {
  width: 18px;
  height: 18px;
}
.bm-cat-btn:hover { background: var(--bm-red-dark); }
.bm-navlinks {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}
.bm-navlinks a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--bm-ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  border-inline-start: 1px solid var(--bm-line);
}
.bm-navlinks a:first-child {
  border-inline-start: 0;
  padding-inline-start: 4px;
}
.bm-navlinks a svg {
  width: 16px;
  height: 16px;
  color: #374151;
  flex-shrink: 0;
}
.bm-navlinks a:hover {
  color: var(--bm-red);
}
.bm-navlinks a:hover svg { color: var(--bm-red); }
.bm-navlinks a.is-accent {
  color: var(--bm-red);
  border-inline-start: 0;
  font-weight: 700;
}
.bm-navlinks a.is-accent:last-child {
  margin-inline-start: auto;
}
.bm-navlinks a.is-accent svg { color: var(--bm-red); }
/* Multicolor fire: keep yellow/orange fills (do not tint via currentColor) */
.bm-navlinks a.is-accent svg.bm-icon--fire,
.bm-navlinks a:hover svg.bm-icon--fire {
  color: unset;
}
.bm-icon--fire path { stroke: none; }
.bm-icon--fire path:nth-child(1) { fill: #FFC107; }
.bm-icon--fire path:nth-child(2) { fill: #FF8C00; }
.bm-icon--fire path:nth-child(3) { fill: #F04E00; }

/* Mobile drawer: shared accent treatment (فروشگاه / پیشنهاد ویژه) */
.dc-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bm-line);
}
.dc-drawer__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--bm-ink);
}
.dc-drawer__head .whb-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--bm-ink);
}
.dc-drawer__head .whb-icon-btn svg {
  width: 20px;
  height: 20px;
}
.dc-drawer__nav a.is-accent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bm-red);
  font-weight: 700;
  text-decoration: none;
}
.dc-drawer__nav a.is-accent svg {
  width: 16px;
  height: 16px;
  color: var(--bm-red);
  flex-shrink: 0;
}
.dc-drawer__nav a.is-accent svg.bm-icon--fire {
  color: unset;
}
.dc-drawer__group {
  border-bottom: 1px solid #f0f0f0;
}
.dc-drawer__group > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--bm-ink);
}
.dc-drawer__group > summary::-webkit-details-marker {
  display: none;
}
.dc-drawer__group > summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-inline-start: auto;
}
.dc-drawer__group[open] > summary::after {
  transform: rotate(45deg);
}
.dc-drawer__children {
  display: grid;
  padding: 0 0 8px;
}
.dc-drawer__children .dc-drawer__sub {
  padding: 8px 12px 8px 0 !important;
  border-bottom: 0 !important;
  color: #64748b !important;
  font-size: 13px;
  font-weight: 600;
}
.dc-drawer__children .dc-drawer__sub--all {
  color: var(--bm-red) !important;
  font-weight: 700;
}
.dc-drawer__empty {
  display: block;
  padding: 10px 0;
  color: #94a3b8;
  font-size: 13px;
}
.dc-drawer__phone {
  font-weight: 800 !important;
  color: var(--bm-red) !important;
  letter-spacing: 0.02em;
}
.bm-more {
  position: relative;
}
.bm-more__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  box-shadow: var(--bm-shadow);
  padding: 8px;
  display: none;
  z-index: 50;
}
.bm-more.is-open .bm-more__menu { display: grid; }
.bm-more__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--bm-ink);
  font-size: 13px;
  font-weight: 600;
}
.bm-more__menu a:hover { background: var(--bm-soft); }

/* ---------- hero ---------- */
.bm-hero-wrap {
  padding: 18px 0 8px;
}
.bm-redesign .bm-hero.swiper,
.bm-redesign .dc-hero-swiper.bm-hero {
  width: 100%;
  max-width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #111827 !important;
  min-height: 0;
  aspect-ratio: 21 / 7;
  height: auto;
  max-height: none;
  box-shadow: var(--bm-shadow);
}
.bm-redesign .bm-hero .swiper-wrapper {
  height: 100%;
}
.bm-redesign .bm-hero .swiper-slide {
  position: relative;
  height: 100% !important;
  min-height: 0 !important;
  display: block !important;
  background: #111827 !important;
  color: inherit;
  overflow: hidden;
}
.bm-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  min-height: 0;
}
.bm-hero__media img,
.bm-redesign .bm-hero .swiper-slide img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  position: absolute !important;
  inset: 0;
  filter: none;
}
.bm-hero__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.bm-hero__eyebrow {
  color: #fb7185;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}
.bm-hero__caption h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin: 0 0 18px;
  font-weight: 800;
}
.bm-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.bm-hero__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #f3f4f6;
}
.bm-hero__perk-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bm-red);
  box-shadow: 0 0 0 4px rgba(227, 28, 35, 0.2);
}
.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.bm-btn-primary {
  background: var(--bm-red);
  color: #fff !important;
}
.bm-btn-primary:hover { background: var(--bm-red-dark); }
.bm-hero .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.35;
}
.bm-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--bm-red);
}
.bm-hero .swiper-button-prev,
.bm-hero .swiper-button-next {
  color: #fff;
  width: 36px;
  height: 36px;
  margin-top: 0;
  top: auto;
  bottom: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  z-index: 3;
}
.bm-hero .swiper-button-prev::after,
.bm-hero .swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
}
.bm-hero .swiper-button-prev { right: auto; left: 18px; }
.bm-hero .swiper-button-next { left: auto; right: 18px; }
.bm-hero .swiper-pagination {
  bottom: 16px !important;
  z-index: 3;
}

/* ---------- category tiles ---------- */
.bm-cats {
  padding: 10px 0 6px;
}
.bm-cats__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  justify-content: center;
}
.bm-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--bm-ink);
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 16px;
  padding: 14px 8px 12px;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.bm-cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--bm-shadow);
}
.bm-cat-tile__media {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bm-cat-tile__media img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}
/* باتری: سوژه داخل فایل کوچک‌تر است — کمی زوم برای هم‌خوانی با بقیه */
.bm-cat-tile__media img[src*="cat-consumables"] {
  width: 92px;
  height: 92px;
  max-width: none;
}
.bm-cat-tile__name {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

/* ---------- finder ---------- */
.bm-finder {
  padding: 18px 0 8px;
}
.bm-finder__card {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 22px;
  box-shadow: var(--bm-shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
}
.bm-finder__visual {
  display: grid;
  place-items: center;
}
.bm-finder__visual img {
  max-width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
}
.bm-finder__body h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}
.bm-finder__body p {
  margin: 0 0 16px;
  color: var(--bm-muted);
  font-size: 14px;
}
.bm-finder__form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
}
.bm-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #374151;
}
.bm-field select,
.bm-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  background: var(--bm-soft-2);
  padding: 0 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.bm-finder__search {
  width: 52px;
  height: 46px;
  border-radius: 12px;
  border: 0;
  background: var(--bm-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  line-height: 0;
}
.bm-finder__search svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  display: block;
  flex-shrink: 0;
}
.bm-finder__search:hover { background: var(--bm-red-dark); }

/* Brand / model picker: visual trigger + hidden select (keeps homepage form layout) */
.bm-finder-trigger-wrap {
  position: relative;
}
.bm-finder-select--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
}
.bm-finder-trigger {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--bm-line);
  border-radius: 12px;
  padding: 0 12px 0 36px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--bm-ink);
  text-align: right;
  cursor: pointer;
  appearance: none;
  background-color: var(--bm-soft-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 12px 8px;
}
.bm-finder-trigger.is-placeholder {
  color: #6b7280;
}
.bm-finder-trigger.is-disabled,
.bm-finder-trigger:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.bm-finder-trigger:focus {
  outline: 2px solid #93c5fd;
  outline-offset: 1px;
}
.bm-picker-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.bm-picker-overlay[hidden] {
  display: none !important;
}
.bm-picker-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
}
.bm-picker-overlay__sheet {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(86vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -12px 40px rgba(17, 24, 39, 0.18);
  overflow: hidden;
}
.bm-picker-overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--bm-line);
  flex-shrink: 0;
}
.bm-picker-overlay__title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}
.bm-picker-overlay__close {
  border: 0;
  background: var(--bm-soft);
  color: var(--bm-ink);
  border-radius: 10px;
  min-height: 36px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.bm-picker-overlay__close:hover {
  background: var(--bm-line);
}
.bm-picker-overlay__body {
  overflow-y: auto;
  padding: 14px 16px 22px;
  -webkit-overflow-scrolling: touch;
}
.bm-picker-overlay__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bm-picker-overlay__chip {
  min-height: 64px;
  padding: 12px 10px;
  border: 1px solid var(--bm-line);
  border-radius: 14px;
  background: var(--bm-soft-2);
  color: var(--bm-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.bm-picker-overlay__chip:hover {
  border-color: #cbd5e1;
  background: #fff;
}
.bm-picker-overlay__chip.is-selected {
  border-color: var(--bm-red);
  background: #fff5f5;
  color: var(--bm-red-dark);
  box-shadow: inset 0 0 0 1px var(--bm-red);
}
.bm-picker-overlay__empty {
  grid-column: 1 / -1;
  margin: 8px 0;
  text-align: center;
  color: var(--bm-muted);
  font-size: 14px;
  font-weight: 600;
}
body.bm-picker-open {
  overflow: hidden;
}
@media (min-width: 769px) {
  .bm-picker-overlay {
    align-items: center;
    padding: 24px;
  }
  .bm-picker-overlay__sheet {
    border-radius: 18px;
    max-height: min(80vh, 640px);
  }
}

/* ---------- rails / product cards ---------- */
.bm-rail {
  padding: 22px 0;
}
.bm-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.bm-rail__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.bm-rail__more {
  color: var(--bm-red);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.bm-rail .dc-product-swiper {
  --swiper-navigation-color: #fff;
}
.bm-rail .swiper-button-prev,
.bm-rail .swiper-button-next {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.bm-rail .swiper-button-prev::after,
.bm-rail .swiper-button-next::after {
  color: #fff;
}

.bm-card {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.bm-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
  flex: 1;
}
.bm-card .dc-product-card__thumb {
  position: relative;
  aspect-ratio: 1;
  background: #fafafa;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bm-card .dc-product-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.bm-card__badges {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}
.bm-card__badge-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #fecaca;
  color: var(--bm-red);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.bm-card .dc-product-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 12px 4px;
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bm-card__sku {
  margin: 0 12px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bm-red);
  letter-spacing: 0.02em;
}
.bm-card__badges { display: none; }
.bm-card .dc-price {
  margin: 0 12px 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--bm-ink);
}
.bm-card .dc-product-card__actions {
  padding: 0 12px 12px;
}
.bm-card.is-oos {
  opacity: 0.92;
}
.bm-card__oos-text {
  color: #b42318;
  font-size: 0.85em;
  font-weight: 700;
}
.dc-product-card__badge--oos {
  background: #b42318;
  color: #fff;
}
.dc-product-card__add.is-disabled,
.dc-btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #9ca3af !important;
  border-color: #9ca3af !important;
  color: #fff !important;
}
.is-oos-label,
.dc-pdp-oos-note {
  color: #b42318;
}
.bm-card .dc-product-card__add {
  width: 100%;
  border-radius: 10px;
  background: var(--bm-red);
  border: 0;
  color: #fff;
  min-height: 40px;
  font-weight: 700;
}

/* hide old ship chip on redesigned cards */
.bm-card .dm-card__ship { display: none; }

/* ---------- trust strip ---------- */
.bm-trust {
  padding: 10px 0 28px;
}
.bm-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--bm-shadow);
}
.bm-trust__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 6px 8px;
}
.bm-trust__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff1f2;
  color: var(--bm-red);
  display: grid;
  place-items: center;
  flex: none;
}
.bm-trust__item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.bm-trust__item span {
  color: var(--bm-muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- footer ---------- */
.bm-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 12px;
}
.bm-footer a { color: #e5e7eb; text-decoration: none; }
.bm-footer a:hover { color: #fff; }
.bm-footer__main {
  padding: 36px 0 24px;
}
.bm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
}
.bm-footer__brand p {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.7;
  margin: 12px 0;
}
.bm-footer h4 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 14px;
}
.bm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bm-footer li a { font-size: 13px; }
.bm-footer__bottom {
  border-top: 1px solid #1f2937;
  padding: 14px 0;
  font-size: 12px;
  color: #9ca3af;
}
.bm-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.bm-footer__copy {
  flex: 1 1 auto;
  min-width: 0;
}
.bm-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff !important;
  direction: ltr;
}
.bm-footer__trust {
  flex: 0 0 auto;
  margin: 0;
}
.bm-enamad {
  display: inline-block;
  line-height: 0;
  background: transparent;
  padding: 0;
  border: 0;
}
.bm-enamad img {
  display: block;
  width: 80px;
  height: auto;
  max-width: 100%;
  background: transparent;
}

/* keep old promo/sticky usable but quieter under redesign */
.dm-promo-bar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .bm-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bm-finder__card { grid-template-columns: 1fr; }
  .bm-finder__visual { order: -1; }
  .bm-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bm-footer__grid { grid-template-columns: 1fr 1fr; }
}
/* Align with digicar breakpoints: mobile chrome until 1024px */
@media (max-width: 1024px) {
  .bm-navrow { display: none; }
  .bm-topbar {
    display: block;
    font-size: 11px;
  }
  .bm-topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 30px;
    padding-block: 6px;
    gap: 0;
  }
  .bm-topbar__links,
  .bm-topbar__meta {
    display: none;
  }
  .bm-topbar__center {
    display: block;
    justify-self: center;
    text-align: center;
  }
  .bm-topbar__center .bm-topbar__chip {
    color: #fff;
    font-weight: 700;
  }
  .bm-mobile-search { display: block; }
  .bm-logo img,
  .bm-logo .bm-logo__img { height: 34px; max-width: 140px; }
  .bm-tools .bm-tool span:not(.bm-tool__badge) { display: none; }
  .bm-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }
  .bm-cat-tile {
    min-width: 0;
    width: 100%;
  }
  .bm-finder__form { grid-template-columns: 1fr; }
  .bm-finder__search {
    width: 100%;
    height: 48px;
  }
  .bm-finder__search svg {
    width: 22px;
    height: 22px;
  }
  .bm-finder__visual { max-height: 160px; }
  .bm-finder__visual img { max-height: 140px; width: auto; margin-inline: auto; }
  /* Keep full banner visible on narrow screens (no side crop) */
  .bm-redesign .bm-hero.swiper,
  .bm-redesign .dc-hero-swiper.bm-hero {
    aspect-ratio: unset;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .bm-redesign .bm-hero .swiper-wrapper {
    height: auto;
    align-items: stretch;
  }
  .bm-redesign .bm-hero .swiper-slide {
    height: auto !important;
  }
  .bm-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
  }
  .bm-hero__media img,
  .bm-redesign .bm-hero .swiper-slide img {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }
  .bm-card .dc-product-card__thumb {
    aspect-ratio: 4 / 3;
  }
  .bm-card .dc-product-card__title {
    font-size: 12px;
    min-height: 2.6em;
    margin: 8px 10px 4px;
  }
  .bm-card .dc-price {
    margin: 0 10px 8px;
    font-size: 14px;
  }
  .bm-card .dc-product-card__actions {
    padding: 0 10px 10px;
  }
  .bm-trust__grid { grid-template-columns: 1fr; }
  .bm-footer__grid { grid-template-columns: 1fr; }
  .bm-rail__title { font-size: 18px; }
  .dc-container {
    padding-inline: 14px;
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .bm-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1025px) {
  .bm-mobile-search { display: none; }
  .bm-mobile-bar { display: none !important; }
}

/* Search PLP: brand chips from current result set */
.dc-search-brands {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.dc-search-brands__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--bm-muted, #64748b);
  white-space: nowrap;
}
.dc-search-brands__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
.dc-search-brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.dc-search-brand-chip:hover {
  border-color: rgba(15, 23, 42, 0.28);
  color: #0f172a;
}
.dc-search-brand-chip.is-active {
  background: var(--bm-accent, var(--wd-accent-color, #e11d48));
  border-color: transparent;
  color: #fff;
}
.dc-search-brand-chip.is-active:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* PLP: title + toolbar (sort desktop; count/filter/sort mobile) */
.dc-plp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dc-plp-head .dc-page-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}
.dc-plp-head .dc-plp-lead {
  flex: 1 0 100%;
  order: 3;
}
.dc-plp-toolbar {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex: 0 0 auto;
  margin: 0;
}
.dc-plp-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin: 0;
}
.dc-plp-sort__label {
  font-size: 13px;
  color: var(--bm-muted);
  white-space: nowrap;
}
.dc-plp-sort .dc-input {
  min-width: 140px;
  max-width: 200px;
}
.dc-plp-toolbar__filter {
  border-color: var(--bm-line);
  background: #fff;
  color: var(--bm-ink);
  border-radius: 12px;
}
.dc-plp-toolbar__filter.has-active {
  border-color: var(--bm-red);
  color: var(--bm-red-dark);
  background: #fff5f5;
}
.dc-plp-toolbar__badge {
  background: var(--bm-red);
}
.dc-plp-sheet__close {
  background: var(--bm-soft);
  color: var(--bm-ink);
  border-radius: 10px;
}
.dc-plp-sheet__close:hover {
  background: var(--bm-line);
}
.dc-plp-filters__clear {
  color: var(--bm-muted);
  border-radius: 10px;
}
.dc-plp-filters__clear:hover {
  color: var(--bm-red-dark);
  background: var(--bm-soft);
}
@media (max-width: 1024px) {
  .dc-plp-head {
    align-items: stretch;
  }
  .dc-plp-toolbar {
    width: 100%;
    order: 2;
  }
  .dc-plp-sort {
    flex: 1 1 auto;
    min-width: 0;
  }
  .dc-plp-sort .dc-input {
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
  }
  .dc-plp-sheet__panel {
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -12px 40px rgba(17, 24, 39, 0.18);
  }
  .dc-plp-sheet__head {
    border-bottom-color: var(--bm-line);
  }
  .dc-plp-filters__actions {
    border-top-color: var(--bm-line);
  }
}
@media (max-width: 640px) {
  .dc-plp-sort__label {
    display: none;
  }
}

/* Cart add toast (top banner, RTL) */
.dc-cart-toast-host {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  width: min(520px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.dc-cart-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--bm-radius-sm, 10px);
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  box-shadow: var(--bm-shadow, 0 8px 24px rgba(17, 24, 39, 0.08));
  font-family: var(--bm-font, "Vazirmatn", Tahoma, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dc-cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.dc-cart-toast--error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}
.dc-cart-toast__text {
  flex: 1 1 auto;
  min-width: 0;
}
.dc-cart-toast__close {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  opacity: 0.7;
}
.dc-cart-toast__close:hover {
  opacity: 1;
}

/* ---------- checkout invoice summary ---------- */
.dc-checkout-grid .dc-invoice {
  padding: 0;
  overflow: hidden;
  background: var(--bm-white);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
  align-self: start;
}
.dc-invoice__header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--bm-line);
  background:
    linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border-top: 3px solid var(--bm-red);
}
.dc-invoice__eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--bm-red);
}
.dc-invoice__header .dc-widget__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--bm-ink);
}
.dc-invoice__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.dc-invoice__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.5;
}
.dc-invoice__table th,
.dc-invoice__table td {
  padding: 12px 14px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--bm-line);
}
.dc-invoice__table thead th {
  font-size: 11px;
  font-weight: 700;
  color: var(--bm-muted);
  background: var(--bm-soft);
  white-space: nowrap;
}
.dc-invoice__table tbody tr:last-child td {
  border-bottom: 0;
}
.dc-invoice__name {
  display: block;
  font-weight: 600;
  color: var(--bm-ink);
}
.dc-invoice__product .dc-cart-mech-badge {
  margin-top: 6px;
  margin-inline-start: 0;
}
.dc-invoice__qty,
.dc-invoice__unit,
.dc-invoice__line {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.dc-invoice__qty {
  color: var(--bm-muted);
  font-weight: 600;
}
.dc-invoice__unit {
  color: var(--bm-muted);
}
.dc-invoice__line {
  font-weight: 700;
  color: var(--bm-ink);
}
.dc-invoice__totals {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--bm-line);
  background: var(--bm-soft-2);
}
.dc-invoice__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--bm-muted);
}
.dc-invoice__row + .dc-invoice__row {
  margin-top: 10px;
}
.dc-invoice__row--total {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed var(--bm-line);
  font-size: 15px;
  color: var(--bm-ink);
}
.dc-invoice__row--total strong {
  color: var(--bm-red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.dc-invoice__note {
  margin: 0;
  padding: 0 20px 16px;
}
.dc-invoice__note + .dc-invoice__note {
  padding-top: 0;
}
@media (max-width: 560px) {
  .dc-invoice__table th:nth-child(3),
  .dc-invoice__table td:nth-child(3) {
    display: none;
  }
  .dc-invoice__table th,
  .dc-invoice__table td {
    padding: 10px 12px;
  }
}

/* ---------- cart page (mobile-first cards) ---------- */
.bm-cart-page {
  padding-block: 24px 48px;
  max-width: 100%;
  box-sizing: border-box;
}
.bm-cart-empty {
  margin: 0;
  color: var(--bm-muted);
}
.bm-cart-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 20px;
}
.bm-cart-item {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
  min-width: 0;
}
.bm-cart-item__main {
  min-width: 0;
}
.bm-cart-item__title {
  display: block;
  color: var(--bm-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
}
.bm-cart-item__title:hover {
  color: var(--bm-red);
}
.bm-cart-item__price {
  margin-top: 8px;
  font-size: 13px;
  color: var(--bm-muted);
  font-variant-numeric: tabular-nums;
}
.bm-cart-item__meta {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--bm-line);
}
.bm-cart-item__qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.bm-cart-item__qty .dc-input {
  width: 88px;
  min-height: 42px;
  text-align: center;
  flex-shrink: 0;
}
.bm-cart-item__mech {
  margin: 0;
}
.bm-cart-item__line-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--bm-muted);
}
.bm-cart-item__line-total strong {
  color: var(--bm-ink);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.bm-cart-item__remove {
  width: 100%;
  justify-content: center;
  min-height: 42px;
}
.bm-cart-summary {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}
.bm-cart-summary .dc-cart-total {
  margin: 0 0 14px;
  word-break: break-word;
}
.bm-cart-summary__actions {
  display: grid;
  gap: 10px;
}
.bm-cart-summary__actions .dc-btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  min-height: 46px;
  box-sizing: border-box;
}
@media (min-width: 769px) {
  .bm-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 18px;
    align-items: center;
  }
  .bm-cart-item__meta {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
  .bm-cart-summary__actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- contact page ---------- */
.bm-contact {
  padding: 28px 0 56px;
}
.bm-contact__inner {
  max-width: 920px;
}
.bm-contact__intro {
  margin-bottom: 22px;
}
.bm-contact__title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--bm-ink);
  letter-spacing: -0.02em;
}
.bm-contact__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--bm-muted);
  line-height: 1.8;
  font-size: 0.98rem;
}
.bm-contact__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}
@media (min-width: 640px) {
  .bm-contact__actions {
    grid-template-columns: 1fr 1fr;
  }
}
.bm-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 16px 15px;
  background: var(--bm-white);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.bm-contact-card:hover {
  border-color: #f0b4b7;
  box-shadow: var(--bm-shadow);
  transform: translateY(-1px);
}
.bm-contact-card--wa {
  border-color: #b7e4c7;
  background: linear-gradient(180deg, #f3fbf6 0%, #fff 70%);
}
.bm-contact-card--wa:hover {
  border-color: #74c69d;
}
.bm-contact-card__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bm-soft);
  color: var(--bm-red);
}
.bm-contact-card--wa .bm-contact-card__icon {
  background: #d8f3dc;
  color: #1b7f3a;
}
.bm-contact-card__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.bm-contact-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bm-muted);
}
.bm-contact-card__value {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bm-ink);
  word-break: break-word;
}
.bm-contact-card__hint {
  font-size: 0.82rem;
  color: var(--bm-muted);
  line-height: 1.5;
}
.bm-contact__panels {
  display: grid;
  gap: 12px;
}
@media (min-width: 720px) {
  .bm-contact__panels {
    grid-template-columns: 1.15fr 0.85fr;
  }
}
.bm-contact-panel {
  background: var(--bm-white);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 18px 18px 16px;
}
.bm-contact-panel__title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
}
.bm-contact-panel__text {
  margin: 0 0 8px;
  line-height: 1.85;
  color: var(--bm-ink);
}
.bm-contact-panel__note {
  margin: 0 0 14px;
  color: var(--bm-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.bm-contact-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 18px;
}
.bm-contact-hours {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bm-contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bm-soft-2);
  border-radius: var(--bm-radius-sm);
  font-size: 0.92rem;
}
.bm-contact-hours strong {
  font-weight: 800;
  white-space: nowrap;
}
.bm-contact__social {
  margin: 18px 0 0;
  color: var(--bm-muted);
  font-size: 0.92rem;
}
.bm-contact__social a {
  color: var(--bm-red);
  font-weight: 700;
  text-decoration: none;
}
.bm-contact__social a:hover {
  text-decoration: underline;
}

/* ---------- checkout payment (compact; override .dc-widget radio width:100%) ---------- */
.bm-pay {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--bm-line);
}
.bm-pay__label {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bm-muted);
}
.bm-pay__single {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bm-ink);
  line-height: 1.5;
}
.bm-pay__single span {
  font-weight: 500;
  color: var(--bm-muted);
  font-size: 0.88rem;
}
.bm-pay__list {
  display: grid;
  gap: 6px;
}
.bm-pay__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  background: var(--bm-soft-2);
  cursor: pointer;
}
.bm-pay__row:has(input:checked) {
  border-color: #f0b4b7;
  background: #fff8f8;
}
.bm-pay__row.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f3f4f6;
}
.bm-pay__row.is-disabled:has(input:checked) {
  border-color: var(--bm-line);
  background: #f3f4f6;
}
.dc-widget .bm-pay__row input[type="radio"],
.bm-pay__row input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 16px;
  accent-color: var(--bm-red);
}
.bm-pay__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.bm-pay__text strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--bm-ink);
}
.bm-pay__text small {
  font-size: 0.8rem;
  color: var(--bm-muted);
  line-height: 1.45;
}
.bm-pay__submit {
  margin-top: 12px;
  width: 100%;
}
