/* 商品卡底栏轮播缩略图：装修区 / 分类列表 / 详情推荐 */
#zjz-home-layout-zone .zjz-product-gallery-thumbs,
.storefront-product-card-grid .zjz-product-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  margin-top: 8px;
  min-width: 0;
}

#zjz-home-layout-zone .zjz-product-gallery-thumb,
.storefront-product-card-grid .zjz-product-gallery-thumb {
  flex: 0 1 38px;
  width: 38px;
  max-width: 38px;
  height: auto;
  aspect-ratio: 1 / 1;
  min-width: 22px;
  padding: 0;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
}

#zjz-home-layout-zone .zjz-product-gallery-thumb.is-overflow,
.storefront-product-card-grid .zjz-product-gallery-thumb.is-overflow {
  display: none;
}

#zjz-home-layout-zone .zjz-product-gallery-thumb img,
.storefront-product-card-grid .zjz-product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#zjz-home-layout-zone .zjz-product-gallery-thumb.is-active,
.storefront-product-card-grid .zjz-product-gallery-thumb.is-active {
  border-color: #f39500;
  box-shadow: 0 0 0 1px #f39500;
}

#zjz-home-layout-zone .zjz-product-gallery-more,
.storefront-product-card-grid .zjz-product-gallery-more {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  color: #888;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

#zjz-home-layout-zone .zjz-product-gallery-more[hidden],
.storefront-product-card-grid .zjz-product-gallery-more[hidden] {
  display: none !important;
}

#zjz-home-layout-zone .img-wrapper .zjz-product-card-primary,
#zjz-home-layout-zone .product-image .zjz-product-card-primary,
.storefront-product-card-grid .product-image .zjz-product-card-primary,
.storefront-product-card-grid .img-wrapper .zjz-product-card-primary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
