:root {
  --product-orange: #ff6800;
  --product-tab-active: #ff625d;
  --product-text: #333333;
  --product-muted: #777777;
  --product-border: #e6e6e6;
  --product-page-bg: #fafafa;
}

body.product-list-page {
  background: var(--product-page-bg);
}

.product-list-hero {
  height: 500px;
  position: relative;
  overflow: hidden;
  background-color: #f0f1f3;
  background-image: url("/site/221/static/product-center-banner.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.product-list-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(246, 247, 249, 0.95) 0%,
    rgba(246, 247, 249, 0.62) 38%,
    rgba(246, 247, 249, 0.04) 73%
  );
}

.product-hero__float {
  position: absolute;
  z-index: 0;
  width: min(100%, 1366px);
  height: auto;
  max-height: 310px;
  object-fit: contain;
  right: 0;
  top: -108px;
  pointer-events: none;
  user-select: none;
}

.product-hero__inner {
  position: relative;
  z-index: 1;
  height: 600px;
  /* width: min(964px, calc(100% - 40px)); */
  height: 100%;
  margin: 10px auto 0;
  display: flex;
  align-items: center;
}

.product-hero__copy {
  padding-top: 2px;
}

.product-hero__line {
  width: 43px;
  height: 5px;
  background: #fff;
  margin-top: 40px;
  margin-bottom: 10px;
  border-radius: 10px;
}

/* 主标题 */
.product-hero__title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 12px;
  color: #ffffff;
}

/* 副标题 */
.product-hero__description {
  font-size: 25px;
  letter-spacing: 1px;
  color: #bebebe;
  margin: 0;
  line-height: 1.6;
}

.product-category-bar {
  height: 65px;
  background: #fff;
  border-bottom: 1px solid #dedede;
}

.product-category-bar__inner {
  width: min(964px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(22px, 4.2vw, 56px);
}

.product-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 3px;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.18s ease;
}

.product-tab:hover,
.product-tab.is-active {
  color: var(--product-tab-active);
}

.product-tab.is-active::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1px;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  background: var(--product-tab-active);
}

.product-list-area {
  min-height: 520px;
  background: #fafafa;
  padding: 24px 0 55px;
}

.product-list-container {
  /* width: min(1190px, calc(100% - 40px)); */
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 13px;
  row-gap: 22px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: start;
  overflow: hidden;
  background: #fff;
  color: var(--product-text);
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.product-card__image-wrap {
  width: 100%;
  aspect-ratio: 1.565 / 1;
  overflow: hidden;
  background: #efefef;
}

.product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.025);
}

.product-card__caption {
  min-height: 46px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 11px;
  background: #fff;
  color: #454545;
  font-size: 14px;
  line-height: 1.45;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.product-card__name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__more {
  flex: 0 0 auto;
  color: #666;
  white-space: nowrap;
}

.product-card:hover .product-card__caption,
.product-card.is-highlighted .product-card__caption {
  background: var(--product-orange);
  color: #fff;
}

.product-card:hover .product-card__more,
.product-card.is-highlighted .product-card__more {
  color: #fff;
}

.product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 64px auto 0;
  color: #555;
  font-size: 12px;
}

.page-control,
.page-number,
.page-size {
  height: 29px;
  min-width: 31px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  padding: 0 10px;
  background: #fff;
  color: #555;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease;
}

.page-control:hover:not(:disabled),
.page-number:hover {
  border-color: var(--product-orange);
  color: var(--product-orange);
}

.page-control:disabled {
  color: #c9c9c9;
  background: #fafafa;
  cursor: not-allowed;
}

.page-number.is-current {
  min-width: 31px;
  background: #ff9b25;
  border-color: #ff9b25;
  color: #fff;
  font-weight: 600;
}

.page-ellipsis {
  padding: 0 3px;
  color: #aaa;
  letter-spacing: 2px;
}

.page-size {
  gap: 8px;
  margin-left: 8px;
  color: #777;
}

.page-size select {
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (min-width: 1921px) {
  .product-hero {
    height: 220px;
    min-height: 220px;
  }

  .product-hero__float {
    top: -145px;
  }
}

@media (max-width: 767px) {
  .product-hero {
    height: 165px;
    min-height: 165px;
    background-position: 58% center;
  }

  .product-hero__float {
    width: 125%;
    max-width: none;
    right: -38%;
    top: -25px;
    opacity: 0.76;
  }

  .product-hero__inner,
  .product-category-bar__inner,
  .product-list-container {
    width: calc(100% - 28px);
  }

  .product-hero__copy {
    width: 70%;
  }

  .product-hero__title {
    font-size: 24px;
  }

  .product-hero__description {
    max-width: 250px;
    font-size: 14px;
    margin-top: 14px;
  }

  .product-category-bar {
    height: 58px;
    overflow-x: auto;
  }

  .product-category-bar__inner {
    width: max-content;
    min-width: calc(100% - 28px);
    gap: 25px;
    justify-content: flex-start;
  }

  .product-tab {
    font-size: 12px;
  }

  .product-list-area {
    padding-top: 18px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .product-card__image-wrap {
    aspect-ratio: 1.22 / 1;
  }

  .product-card__caption {
    min-height: 42px;
    padding: 0 7px;
    font-size: 10px;
  }

  .product-card__more {
    font-size: 10px;
  }

  .product-pagination {
    gap: 5px;
    margin-top: 42px;
  }

  .page-control,
  .page-number,
  .page-size {
    height: 29px;
    padding: 0 8px;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card__image-wrap {
    aspect-ratio: 1.565 / 1;
  }
}



  @media (max-width: 767px) {
    .product-list-hero {
      height: 282px !important;
    }
    .product-hero__inner{
      height: 282px  !important;
    }
  }