
.lookbook-section {
  padding: 30px 0 40px;
  background: #000;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}
.section-head-dark {
  padding: 0 5% 15px;
}
.section-head-dark h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 4px solid #e60012;
  padding-left: 12px;
}

/* 滑动容器 - 性能优化 */
.scroll-snap-gallery {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  gap: 16px;
  padding: 0 20px 30px;
  width: 100%;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
/* 美化滚动条 */
.scroll-snap-gallery::-webkit-scrollbar {
  height: 6px;
}
.scroll-snap-gallery::-webkit-scrollbar-track {
  background: #222;
  border-radius: 10px;
}
.scroll-snap-gallery::-webkit-scrollbar-thumb {
  background: #e60012;
  border-radius: 10px;
}

/* 左右箭头按钮 */
.scroll-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e60012;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: 0.3s;
}
.scroll-btn:hover {
  background: #ff0015;
  transform: translateY(-50%) scale(1.1);
}
.scroll-btn.left { left: 25px; }
.scroll-btn.right { right: 25px; }

/* 手机端隐藏箭头 */
@media (max-width: 768px) {
  .scroll-btn { display: none; }
}

/* 卡片样式 - 性能优化 */
.snap-item {
  flex: 0 0 65%;
  max-width: 280px;
  scroll-snap-align: center;
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 固定尺寸 + 防止布局偏移 */
.snap-img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: 0.3s ease;
}
.snap-item:hover .snap-img {
  transform: translateY(-5px);
}
.snap-caption {
  margin-top: 12px;
  text-align: center;
  width: 100%;
}
.snap-caption span {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .snap-item {
    flex: 0 0 55%;
    max-width: 220px;
  }
  .snap-img {
    height: 290px;
  }
  .snap-caption span {
    font-size: 0.9rem;
  }
}
