.product-header {
  position: sticky;
}

.product-hero {
  padding: clamp(84px, 10vw, 130px) max(20px, calc((100% - 1180px) / 2)) clamp(44px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 36, 0.9), rgba(36, 52, 73, 0.68)),
    url("主页素材/网站主页素材/banan公司背景2.jpg") center / cover no-repeat;
}

.product-hero .section-label {
  color: #f2c3ca;
}

.product-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.product-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.series-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.series-tab {
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.series-tab.active {
  color: var(--steel);
  background: var(--white);
  border-color: var(--white);
}

.product-gallery-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 72px) 0 clamp(72px, 8vw, 110px);
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.gallery-toolbar a {
  color: var(--accent);
  font-weight: 700;
}

.product-gallery,
.product-gallery-root,
.gallery-group {
  width: 100%;
}

.gallery-group + .gallery-group {
  margin-top: clamp(42px, 6vw, 72px);
}

.gallery-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.gallery-group-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.gallery-group-heading span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-product {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #edf0f4;
}

.gallery-product img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #f7f8fa;
  transition: transform 0.25s ease;
}

.gallery-product:hover img {
  transform: scale(1.035);
}

.outdoor-gallery-root {
  width: 100%;
  margin-left: 0;
}

.outdoor-story-gallery {
  display: block;
  width: 100%;
}

.outdoor-story-frame {
  margin: 0;
  overflow: visible;
  background: #fff;
  border: 0;
  border-top: 1px solid #dfe3e8;
}

.outdoor-story-frame:first-child {
  border-top: 0;
}

.outdoor-story-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  transition: none;
}

.outdoor-story-frame:hover img {
  transform: none;
}

@media (max-width: 980px) {
  .product-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .product-gallery-wrap {
    width: calc(100% - 32px);
  }

  .outdoor-gallery-root {
    width: calc(100% + 32px);
    margin-left: -16px;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .product-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

}
