.b2b-list-body {
  background: var(--bg);
}

.blist-page {
  padding-bottom: 72px;
}

.blist-nav {
  position: sticky;
  top: 56px;
  z-index: 20;
  padding: 11px 14px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}

.blist-crumb {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  color: #667085;
  font-size: 12px;
  line-height: 1.3;
  scrollbar-width: none;
  white-space: nowrap;
}

.blist-crumb::-webkit-scrollbar {
  display: none;
}

.blist-crumb a {
  flex: 0 0 auto;
  color: #7f1d1d;
  font-weight: 700;
}

.blist-main {
  padding: 10px 14px 0;
}

.blist-subcats {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.blist-subcat-head {
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.blist-subcat-scroll {
  display: flex;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.blist-subcat-scroll::-webkit-scrollbar {
  display: none;
}

.blist-subcat-scroll dd {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.blist-subcat-scroll a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #eadede;
  border-radius: 999px;
  background: #fbf8f8;
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.blist-box {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.blist-list {
  padding: 0 11px;
}

.companylist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.companylist li {
  display: grid;
  gap: 0;
  padding: 13px 0;
  border-bottom: 1px solid #eee7e7;
}

.companylist li.has-logo {
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.companylist li:last-child {
  border-bottom: 0;
}

.company-logo {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid #eee7e7;
  border-radius: 8px;
  background: #fff;
}

.company-logo-placeholder {
  border-color: #f1d4d4;
  background:
    linear-gradient(135deg, rgba(198, 40, 40, .1), rgba(255, 255, 255, .94) 58%),
    #fff8f8;
  color: #b42318;
}

.company-placeholder-icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  box-sizing: content-box;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: inset 0 0 0 1px rgba(198, 40, 40, .12);
}

.company-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-info {
  min-width: 0;
}

.companylist h4 {
  display: block;
  margin: 0 0 4px;
  color: #172033;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.32;
}

.company-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin-top: 8px;
}

.company-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid rgba(198, 40, 40, .18);
  border-radius: 999px;
  background: #fff3f3;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(198, 40, 40, .1);
  white-space: nowrap;
}

.company-shop {
  border-color: rgba(23, 32, 51, .14);
  background: #f8fafc;
  color: #344054;
}

.company-action svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.companylist h4 a {
  display: block;
  min-width: 0;
  color: #172033;
}

.companylist li div {
  min-width: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.companylist .company-desc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin-top: 5px;
  padding: 0;
  background: transparent;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  overflow-wrap: anywhere;
}

.companylist .company-desc span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid #eee4e4;
  border-radius: 999px;
  background: #faf8f8;
  color: #5f6b7a;
  line-height: 1.2;
}

.blist-pages {
  padding: 10px 12px 12px;
  border-top: 1px solid #eee7e7;
}

.blist-pages .pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.blist-pages .pages span,
.blist-pages .pages a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.blist-pages .pages span {
  background: #faf8f8;
  color: #667085;
}

.blist-pages .pages a {
  border: 1px solid #eadede;
  background: #fbf8f8;
  color: #7f1d1d;
}

.blist-summary,
.blist-empty {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: var(--shadow);
}

body.b2b-list-body footer {
  max-width: 430px;
  margin: 0 auto;
  padding: 18px 14px 24px;
  background: var(--bg);
  color: #7a8495;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}

body.b2b-list-body footer .foot_bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 5px;
}

body.b2b-list-body footer .copyright {
  color: #7a8495;
}

@media (min-width: 390px) {
  .blist-nav {
    padding: 12px 15px 11px;
  }

  .blist-main {
    padding: 11px 15px 0;
  }

  .companylist h4 {
    font-size: 17px;
  }

  .companylist li div {
    font-size: 14px;
  }
}

@media (max-width: 374px) {
  .blist-main {
    padding: 9px 10px 0;
  }

  .blist-list {
    padding: 0 9px;
  }

  .companylist li {
    padding: 12px 0;
  }

  .companylist li.has-logo {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 9px;
  }

  .company-logo {
    width: 48px;
    height: 48px;
  }

  .company-placeholder-icon {
    width: 26px;
    height: 26px;
    padding: 5px;
  }

  .companylist h4 {
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 1.3;
  }

  .company-actions {
    gap: 6px;
    margin-top: 7px;
  }

  .company-action {
    min-height: 30px;
    padding: 0 10px;
  }

  .companylist .company-desc {
    gap: 5px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.45;
  }

  .companylist .company-desc span {
    min-height: 24px;
    padding: 3px 7px;
  }
}
