html.has-market-menu {
  overflow: hidden;
}

html.has-market-menu .bellstore-visitor-video,
html.has-market-menu #bellstore-visitor-video,
html.has-market-menu .contact-hub-launcher,
html.has-market-menu .contact-hub-widget {
  display: none !important;
}

#bellstore-market-menu-bg {
  display: none;
}

html.has-market-menu #bellstore-market-menu-bg {
  display: none;
}

#bellstore-market-menu {
  position: fixed;
  inset: var(--header-height, 140px) 20px 20px;
  z-index: 240;
  background: #f5f5f7;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.bs-mm {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
}

.bs-mm__top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px 8px;
}

.bs-mm__kicker {
  margin: 0;
  font: 800 28px/1.1 Montserrat, sans-serif;
  letter-spacing: -0.04em;
  color: #1d1d1f;
}

.bs-mm__hint {
  margin: 4px 0 0;
  font: 500 13px/1.3 Montserrat, sans-serif;
  color: #6e6e73;
}

.bs-mm__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: #1d1d1f;
  font: 400 28px/1 system-ui, sans-serif;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.bs-mm__depts {
  grid-row: 2;
  padding: 8px 14px 24px;
  overflow: auto;
}

.bs-mm__dept {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 16px;
  font: 650 14px/1.3 Montserrat, sans-serif;
  color: #1d1d1f;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.bs-mm__dept-short {
  display: none;
}

.bs-mm__dept-photo,
.bs-mm__dept-photo img,
.bs-mm__dept-photo span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.bs-mm__dept.is-on {
  background: #1d1d1f;
  color: #fff;
}

.bs-mm__brands {
  grid-row: 2;
  padding: 8px 24px 32px;
  overflow: auto;
}

.bs-mm__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.bs-mm__title {
  margin: 0;
  font: 800 22px/1.15 Montserrat, sans-serif;
  letter-spacing: -0.03em;
}

.bs-mm__all-dept {
  color: #6e6e73;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.bs-mm__grid {
  display: grid;
  gap: 16px;
}

.bs-mm[data-density="large"] .bs-mm__grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.bs-mm[data-density="medium"] .bs-mm__grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.bs-mm[data-density="compact"] .bs-mm__grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.bs-mm__card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.bs-mm__card-main {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bs-mm__photo {
  display: grid;
  place-items: center;
  background: #fff;
  min-height: 188px;
  padding: 18px 16px 8px;
}

.bs-mm[data-density="medium"] .bs-mm__photo {
  min-height: 150px;
}

.bs-mm[data-density="compact"] .bs-mm__photo {
  min-height: 118px;
  padding: 12px 10px 4px;
}

.bs-mm__photo img {
  max-width: 100%;
  max-height: 168px;
  object-fit: contain;
}

.bs-mm[data-density="medium"] .bs-mm__photo img {
  max-height: 132px;
}

.bs-mm[data-density="compact"] .bs-mm__photo img {
  max-height: 96px;
}

.bs-mm__card-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 16px 14px;
  font: 800 16px/1.2 Montserrat, sans-serif;
  letter-spacing: -0.02em;
}

.bs-mm__card-bar img,
.bs-mm__card-bar span {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f5f7;
  display: grid;
  place-items: center;
}

.bs-mm__models {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.bs-mm__model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #6e6e73;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: #f5f5f7;
  border-radius: 999px;
  padding: 4px 8px 4px 4px;
}

.bs-mm__model img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.bs-mm[data-density="compact"] .bs-mm__models {
  display: none;
}

.bs-mm__empty {
  padding: 40px 0;
  color: #6e6e73;
}

html.is-market-catalog,
html.is-brand-page {
  overflow: hidden;
  height: 100%;
}

html.is-market-catalog body,
html.is-brand-page body {
  overflow: hidden;
  height: 100%;
}

html.is-market-catalog .header-wrap,
html.is-brand-page .header-wrap {
  position: relative;
  z-index: 40;
}

html.is-market-catalog .main-content,
html.is-market-catalog .page-catalog,
html.is-market-catalog .catalog-ios-sheet,
html.is-market-catalog .catalog-category-switcher,
html.is-brand-page .main-content,
html.is-brand-page .page-catalog,
html.is-brand-page .app-splash {
  display: none !important;
}

#bellstore-market-page,
#bellstore-brand-page {
  display: none;
}

html.is-market-catalog #bellstore-market-page,
html.is-brand-page #bellstore-brand-page {
  display: block;
  position: fixed;
  z-index: 30;
  top: var(--header-height, 50px);
  left: 0;
  right: 0;
  bottom: var(--tab-bar-offset, 0px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #f2f2f4;
}

html.is-desktop-layout.is-market-catalog #bellstore-market-page,
html.is-desktop-layout.is-brand-page #bellstore-brand-page {
  top: var(--header-height, 140px);
  bottom: 0;
}

.bs-page,
.bs-brand {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 20px 48px;
}

.bs-page h1,
.bs-brand h1 {
  margin: 0 0 8px;
  font: 800 32px/1.15 Montserrat, sans-serif;
}

.bs-page__hint,
.bs-empty {
  color: #8a94a6;
  margin: 0 0 18px;
}

.bs-nav__bc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 600;
}

.bs-nav__bc a {
  color: #0058e6;
  text-decoration: none;
}

.bs-nav__brands {
  display: grid;
  gap: 10px;
}

.bs-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 0;
  border-radius: 22px;
  text-decoration: none;
  text-align: left;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(20, 36, 72, 0.06);
  font: inherit;
}

.bs-nav__logo,
.bs-nav__logo img,
.bs-nav__logo span,
.bs-nav__ph {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  font-size: 22px;
}

.bs-nav__logo img {
  object-fit: contain;
  background: #fff;
}

.bs-nav__ph {
  display: block;
  background: #eef1f6;
}

.bs-back {
  border: 0;
  background: transparent;
  color: #0058e6;
  font: 700 13px/1 Montserrat, sans-serif;
  padding: 0;
  cursor: pointer;
}

.bs-mf__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bs-mf__chip img,
.bs-mf__chip .bs-nav__ph {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.bs-nav__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.bs-nav__meta strong {
  font-size: 17px;
}

.bs-nav__meta small {
  color: #8a94a6;
}

.bs-nav__go {
  color: #c5cdd8;
  font-size: 20px;
}

.bs-mf__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.bs-mf__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e8f0;
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}

.bs-mf__chip img,
.bs-mf__chip .bs-nav__ph {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.bs-mf__chip.is-on {
  background: #0058e6;
  border-color: #0058e6;
  color: #fff;
}

.bs-mg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.bs-mg__card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(20, 36, 72, 0.05);
}

.bs-mg__card img,
.bs-mg__ph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f6f8fc;
  border-radius: 12px;
}

.bs-mg__brand {
  color: #8a94a6;
  font-size: 12px;
}

.bs-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 8px;
}

.bs-cover-wrap {
  padding: 16px 20px 0;
  background: transparent;
}

.bs-cover {
  width: 100%;
  max-width: 1120px;
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(20, 36, 72, 0.08);
}

.bs-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.bs-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 6;
  background: rgba(242, 242, 244, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bs-bar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 10px 20px 12px;
  display: grid;
  gap: 10px;
}

.bs-bar__row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bs-bar__row .bs-bar__lines {
  flex: 1;
  min-width: 0;
}

.bs-bar__filters {
  display: none;
  flex: 0 0 auto;
}

.bs-id {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bs-id__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(20, 36, 72, 0.06);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font: 800 28px/1 Montserrat, sans-serif;
}

.bs-id__text h1 {
  margin: 0;
  font: 800 28px/1.1 Montserrat, sans-serif;
}

.bs-id__text p,
.bs-id__text small {
  margin: 4px 0 0;
  color: #8a94a6;
  font-size: 13px;
  font-weight: 600;
}

.bs-bar__lines {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.bs-bar__lines::-webkit-scrollbar {
  display: none;
}

.bs-bar__lines .bs-mf__chip {
  flex: 0 0 auto;
}

.bs-bar__models {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bs-bar__models[hidden] {
  display: none;
}

.bs-bar__models-label {
  font: 700 12px/1 Montserrat, sans-serif;
  color: #6e6e73;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-right: 4px;
}

.bs-bar__models .bs-mf__chip {
  background: #f5f5f7;
  border-color: transparent;
  font-size: 12px;
  padding: 7px 11px;
}

.bs-bar__models .bs-mf__chip.is-on {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #fff;
}

.bs-bar__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.bs-price,
.bs-sort,
.bs-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5b6573;
  font-size: 13px;
  font-weight: 700;
}

.bs-price input,
.bs-sort select {
  height: 38px;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  padding: 0 10px;
  background: #fff;
  font: 600 13px/1 Montserrat, sans-serif;
  color: #1d1d1f;
  min-width: 96px;
}

.bs-stock input {
  width: 18px;
  height: 18px;
}

.bs-sec {
  margin: 8px 0 28px;
}

.bs-sec h2 {
  margin: 0 0 12px;
  font: 800 22px/1.2 Montserrat, sans-serif;
}

@media (min-width: 720px) {
  .bs-nav__brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  html.has-market-menu {
    overflow: hidden;
  }
  html.has-market-menu #bellstore-market-menu-bg {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 239;
    background: rgba(0, 0, 0, 0.28);
  }
  #bellstore-market-menu {
    inset: auto 10px calc(var(--tab-bar-offset, 68px) + 10px) 10px;
    top: calc(var(--header-height, 50px) + 8px);
    max-height: calc(100dvh - var(--header-height, 50px) - var(--tab-bar-offset, 68px) - 20px);
    border-radius: 28px;
    z-index: 900;
  }
  .bs-mm {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(0, 1fr);
  }
  .bs-mm__top {
    padding: 10px 14px 0;
  }
  .bs-mm__kicker {
    font-size: 20px;
  }
  .bs-mm__hint {
    display: none;
  }
  .bs-mm__close {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }
  .bs-mm__depts {
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    overflow: visible;
    padding: 6px 10px 8px;
  }
  .bs-mm__dept {
    flex: none;
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    padding: 6px 2px 7px;
    border-radius: 16px;
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    box-shadow: none;
  }
  .bs-mm__dept-full {
    display: none;
  }
  .bs-mm__dept-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 1px;
  }
  .bs-mm__dept-photo,
  .bs-mm__dept-photo img,
  .bs-mm__dept-photo span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
  .bs-mm__dept.is-on {
    background: #1d1d1f;
    color: #fff;
  }
  .bs-mm__dept.is-on .bs-mm__dept-photo,
  .bs-mm__dept.is-on .bs-mm__dept-photo span {
    background: #fff;
  }
  .bs-mm__brands {
    grid-row: auto;
    padding: 0 14px 20px;
  }
  .bs-mm__head {
    align-items: center;
    margin-bottom: 10px;
  }
  .bs-mm__title {
    font-size: 17px;
  }
  .bs-mm__grid,
  .bs-mm[data-density="large"] .bs-mm__grid,
  .bs-mm[data-density="medium"] .bs-mm__grid,
  .bs-mm[data-density="compact"] .bs-mm__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bs-mm__photo,
  .bs-mm[data-density="large"] .bs-mm__photo,
  .bs-mm[data-density="medium"] .bs-mm__photo,
  .bs-mm[data-density="compact"] .bs-mm__photo {
    min-height: 108px;
  }
  .bs-mm__photo img,
  .bs-mm[data-density="large"] .bs-mm__photo img,
  .bs-mm[data-density="medium"] .bs-mm__photo img,
  .bs-mm[data-density="compact"] .bs-mm__photo img {
    max-height: 100px;
  }
  .bs-mm__models .bs-mm__model:nth-child(n + 4) {
    display: none;
  }
  .bs-mm[data-density="compact"] .bs-mm__models {
    display: flex;
  }
  .bs-page,
  .bs-brand {
    padding: 10px 14px 40px;
  }
  .bs-hero {
    padding: 8px 14px 6px;
  }
  .bs-bar__inner {
    padding: 8px 14px 10px;
    gap: 8px;
  }
  .bs-bar__filters {
    display: inline-flex;
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
  }
  .bs-bar__tools {
    display: none;
  }
  .bs-bar.is-tools-open .bs-bar__tools {
    display: flex;
  }
  .bs-bar__models {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .bs-bar__models::-webkit-scrollbar {
    display: none;
  }
  .bs-bar__models .bs-mf__chip,
  .bs-bar__lines .bs-mf__chip {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .bs-bar__models-label {
    flex: 0 0 auto;
  }
  .bs-cover-wrap {
    padding: 10px 14px 0;
  }
  .bs-cover {
    height: 96px;
    border-radius: 18px;
  }
  .bs-id__logo {
    width: 44px;
    height: 44px;
    padding: 5px;
    border-radius: 14px;
  }
  .bs-id__text h1 {
    font-size: 20px;
  }
  .bs-page h1,
  .bs-brand h1 {
    font-size: 24px;
  }
  .bs-mg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .bs-price input {
    min-width: 72px;
    flex: 1;
  }
}
