.page-template-page-product-list {
  color: var(--gray-900, #111827);
  background: #fff;
  font-family: var(--nh-font-sans);
  overflow-x: hidden;
}

.nh-product-list-container {
  width: min(100% - 40px, 1500px);
  margin-inline: auto;
}

.nh-product-list-hero{position:relative;margin-top:var(--navbar-height,64px);overflow:hidden;background:var(--gray-700,#374151);color:#fff}
.nh-product-list-hero__slider,.nh-product-list-hero__slide{width:100%;height:auto}
.nh-product-list-hero__slide{position:relative}
.nh-product-list-hero__media,.nh-product-list-hero__media img{display:block;width:100%;height:auto}
.nh-product-list-hero__media img{object-fit:initial}
.nh-product-list-hero__overlay{position:absolute;inset:0;background:rgba(17,24,39,.1);pointer-events:none}
.nh-product-list-hero__content{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;padding-block:clamp(32px,6vw,72px)}
.nh-product-list-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:50px;color:rgba(255,255,255,.78);font-size:13px;line-height:1.5}
.nh-product-list-breadcrumb a{color:inherit;text-decoration:none}.nh-product-list-breadcrumb a:hover,.nh-product-list-breadcrumb a:focus-visible{color:#fff}
.nh-product-list-eyebrow{margin-bottom:12px;color:#b9dcff;font-size:12px;font-weight:700;line-height:1.5;letter-spacing:0}
.nh-product-list-hero h1{max-width:760px;color:#fff;font-size:48px;font-weight:700;line-height:1.15;overflow-wrap:anywhere}
.nh-product-list-hero__description{max-width:680px;margin-top:20px;color:rgba(255,255,255,.86);font-size:17px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.nh-product-list-hero__button{display:inline-flex;width:max-content;margin-top:26px;padding:12px 28px;border:1px solid #fff;border-radius:999px;color:#fff;text-decoration:none;transition:background .2s,color .2s}.nh-product-list-hero__button:hover,.nh-product-list-hero__button:focus-visible{background:#fff;color:var(--gray-900,#111827)}
.nh-product-list-hero__control{position:absolute;z-index:2;top:50%;width:44px;height:44px;border:0;border-radius:50%;background:#0009;color:#fff;cursor:pointer;transform:translateY(-50%)}
.nh-product-list-hero__control:before{content:"";position:absolute;top:50%;left:50%;width:11px;height:11px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translate(-35%,-50%) rotate(45deg)}
.nh-product-list-hero__control--previous{left:20px}.nh-product-list-hero__control--previous:before{transform:translate(-65%,-50%) rotate(-135deg)}.nh-product-list-hero__control--next{right:20px}
.nh-product-list-hero__pagination{position:absolute;z-index:2;bottom:20px;left:50%;display:flex;gap:8px;transform:translateX(-50%)}.nh-product-list-hero__pagination .swiper-pagination-bullet{width:8px;height:8px;margin:0!important;background:#fff;opacity:.6}.nh-product-list-hero__pagination .swiper-pagination-bullet-active{opacity:1}

/* The default product banner is a finished artwork; preserve its full aspect ratio. */
.nh-product-list-hero--image-only{background:#f7f8fa}


.nh-product-list-categories,
.nh-product-list-featured {
  padding: 88px 0 96px;
}

.nh-product-list-featured {
  background: var(--gray-100, #f7f8fa);
}

.nh-product-list-section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.nh-product-list-section-heading h2,
.nh-product-list-cta h2 {
  color: #333333;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.nh-product-list-section-heading > p:not(.nh-product-list-eyebrow) {
  margin-top: 14px;
  color: var(--gray-600, #6b7280);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.nh-product-list-categories__grid,
.nh-product-list-featured__grid {
  display: grid;
  gap: 24px;
}

/* 侧边栏占 288px + 32px gap，卡片区收窄为 3 列 */
.nh-product-list-categories__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nh-product-list-featured__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nh-product-list-category-card,
.nh-product-list-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--gray-200, #edf0f5);
  border-radius: 8px;
  background: #fff;
}

.nh-product-list-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-margin-top: calc(var(--navbar-height, 64px) + 84px);
}

.nh-product-list-category-card__media,
.nh-product-list-product-card__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-200, #edf0f5);
}

.nh-product-list-category-card__media img,
.nh-product-list-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nh-product-list-category-card:hover img,
.nh-product-list-product-card:hover img {
  transform: scale(1.025);
}

.nh-product-list-category-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--gray-200, #edf0f5);
  color: var(--gray-400, #9ca3af);
  font-size: 48px;
  font-weight: 700;
}

.nh-product-list-category-card__body,
.nh-product-list-product-card__body {
  padding: 24px;
}

.nh-product-list-category-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.nh-product-list-category-card__subtitle,
.nh-product-list-product-card__categories {
  margin-bottom: 9px;
  color: var(--blue-500, #2b6cb0);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.nh-product-list-category-card h3,
.nh-product-list-product-card h3,
.nh-product-list-empty-state h3 {
  color: #333333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.nh-product-list-category-card__description,
.nh-product-list-product-card__description,
.nh-product-list-empty-state p {
  margin-top: 12px;
  color: var(--gray-600, #6b7280);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.nh-product-list-category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--blue-500, #2b6cb0);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.nh-product-list-category-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.nh-product-list-product-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.nh-product-list-product-card__price {
  margin-top: 18px;
  color: #b42318;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.nh-product-list-empty-state {
  padding: 56px 24px;
  border: 1px solid var(--gray-200, #edf0f5);
  border-radius: 8px;
  background: var(--gray-100, #f7f8fa);
  text-align: center;
}

.nh-product-list-cta {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: #fff;
}

.nh-product-list-cta__background,
.nh-product-list-cta__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nh-product-list-cta__background {
  display: block;
  object-fit: cover;
}

.nh-product-list-cta__overlay {
  background: rgba(17, 24, 39, 0.62);
}

.nh-product-list-cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 64px;
}

.nh-product-list-cta h2 {
  max-width: 720px;
  color: #fff;
}

.nh-product-list-cta__description {
  max-width: 680px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.nh-product-list-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.nh-product-list-cta__button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.nh-product-list-cta__button--primary {
  background: #fff;
  color: var(--gray-900, #111827);
}

.nh-product-list-cta__button--secondary {
  background: transparent;
  color: #fff;
}

.nh-product-list-cta__button:hover,
.nh-product-list-cta__button:focus-visible {
  border-color: #b9dcff;
  background: #b9dcff;
  color: var(--gray-900, #111827);
}

@media (max-width: 1024px) {
  .nh-product-list-categories__grid,
  .nh-product-list-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nh-product-list-categories,
  .nh-product-list-featured {
    padding-block: 72px;
  }
}

@media (max-width: 640px) {
  .nh-product-list-container {
    width: min(100% - 32px, 1500px);
  }

  .nh-product-list-hero {
    height: auto;
  }

  .nh-product-list-hero.nh-product-list-hero--image-only {
    height: auto;
  }

  .nh-product-list-breadcrumb {
    margin-bottom: 32px;
  }

  .nh-product-list-hero h1 {
    font-size: 36px;
  }

  .nh-product-list-hero__description {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
  }
.nh-product-list-hero__control{display:none}
.nh-product-list-hero__button{margin-top:20px}

  .nh-product-list-categories,
  .nh-product-list-featured {
    padding-block: 56px;
  }

  .nh-product-list-section-heading {
    margin-bottom: 28px;
  }

  .nh-product-list-section-heading h2,
  .nh-product-list-cta h2 {
    font-size: 28px;
  }

  .nh-product-list-categories__grid,
  .nh-product-list-featured__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh-product-list-category-card {
    scroll-margin-top: 16px;
  }

  .nh-product-list-category-card__body,
  .nh-product-list-product-card__body {
    padding: 20px;
  }

  .nh-product-list-cta,
  .nh-product-list-cta__content {
    min-height: 340px;
  }

  .nh-product-list-cta__actions,
  .nh-product-list-cta__button {
    width: 100%;
  }
}
