﻿/* Supplier-style storefront override: V5 only */
.home-catalog {
  background: #f0f0f3 !important;
  color: #111 !important;
}
.home-catalog .mall-header {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 1560px;
  margin: 12px auto 28px;
  border: 1px solid #e3e3e9;
  border-radius: 999px;
  box-shadow: 0 2px 5px #00000012;
}
.home-catalog .home-shop-layout {
  display: grid !important;
  grid-template-columns: minmax(280px, 29%) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: start !important;
  width: calc(100% - 40px);
  max-width: 1560px;
  margin: 0 auto 32px;
}
.home-catalog .home-shop-layout > * {
  min-width: 0;
}
.home-catalog .home-shop-layout > :has(.home-category-list),
.home-catalog .home-shop-layout > :has(.home-product-table) {
  box-sizing: border-box;
  border: 1px solid #e3e3e9;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 2px 5px #00000012;
  overflow: hidden;
}
.home-catalog .home-category-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px;
  padding: 16px;
}
.home-catalog .home-category-list .category-option {
  min-width: 0;
  min-height: 42px;
  border-radius: 999px;
}
.home-catalog .home-category-list .category-option.active {
  border: 1px solid #e1e1e8;
  background: #fff;
  box-shadow: 0 2px 4px #00000012;
}
.home-catalog .home-product-table {
  width: calc(100% - 32px);
  margin: 16px;
  border: 1px solid #e5e5eb;
  border-radius: 22px;
  overflow: hidden;
}
.home-catalog .home-product-row {
  border-bottom: 1px solid #e7e7ed;
}
.home-catalog .home-product-row:last-child {
  border-bottom: 0;
}
.home-catalog button {
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 760px) {
  .home-catalog .home-shop-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: calc(100% - 24px);
  }
  .home-catalog .home-shop-layout > * {
    width: 100%;
  }
  .home-catalog .mall-header {
    width: calc(100% - 24px);
    margin: 8px auto 16px;
    border-radius: 24px;
  }
}
