
.custom-ks-wrapper {
  --brand: #256643;
  --brand-deep: #1b4c32;
  --accent: #EAA484;
  --bg-main: #FAF8F5;
  --text-dark: #2C3E2E;
  --text-muted: #627265;
}

.gift-lookbook-section {
  background-color: var(--bg-main);
  padding: 60px 0;
  display: flex;
  justify-content: center;
}

/* ==================== 调整边距的关键代码位置 ==================== */
.lookbook-container {
  max-width: 1400px; /* 调大这个值，让内容区域大幅向左右延伸 */
  width: 100%;
  padding: 0 10px;   /* 缩减左右安全边距（从40px缩到10px），两边留白更窄，完美对齐边缘 */
  position: relative;
  margin: 0 auto;
}

.lookbook-tab-group {
  display: none;
  width: 100%;
  gap: 40px; 
  align-items: center;
}

.lookbook-tab-group.active {
  display: flex;
  animation: stlFadeIn 0.5s ease-in-out;
}

@keyframes stlFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 左右两侧内容的比例分布 */
.stl-left-promo {
  width: 38%;
  display: flex;
  flex-direction: column;
}

.stl-right-interactive {
  width: 58%;
}

.stl-holiday-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.stl-main-title {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--brand);
  font-size: 32px; 
  font-weight: 450;
  line-height: 1.2;
  margin: 0 0 16px 0;
}

.stl-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.stl-featured-product {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(37, 102, 67, 0.02);
  border: 1px solid rgba(37, 102, 67, 0.04);
}

.stl-prod-image {
  width: 90px;
  height: 90px;
  background: #fbfbfa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stl-prod-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.stl-prod-name {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--brand);
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px 0;
}

.stl-price-now {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 15px;
  margin-right: 8px;
}

.stl-price-old {
  color: #9ca89e;
  font-size: 12px;
  text-decoration: line-through;
}

.stl-primary-btn {
  display: inline-block;
  background-color: var(--brand);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}

.interactive-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.aplus-main-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 标点与气泡 */
.hotspot-item { position: absolute; z-index: 10; }
.hotspot-dot {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  position: relative;
}
.hotspot-dot::after {
  content: '';
  position: absolute;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: hotspot-pulse 2s infinite ease-out;
}
@keyframes hotspot-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.hotspot-popover {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 210px;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}
.hotspot-popover::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #ffffff;
}
.hotspot-item:hover .hotspot-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.hotspot-popover img { width: 45px; height: 45px; object-fit: contain; }
.popover-info h4 { font-family: 'Fraunces', Georgia, serif; color: var(--brand); font-size: 12.5px; margin: 0 0 2px 0; }
.popover-info p { color: var(--text-dark); font-weight: 700; font-size: 12px; margin: 0 0 2px 0; }
.popover-info a { color: var(--accent); font-size: 10.5px; font-weight: 700; text-decoration: none; }

/* 物理箭头定位 */
.lookbook-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(37, 102, 67, 0.1);
  color: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prev-btn { left: -14px; }
.next-btn { right: -14px; }

@media (max-width: 992px) {
  .lookbook-container { padding: 0 20px; }
  .lookbook-tab-group.active { flex-direction: column-reverse; gap: 30px; }
  .stl-left-promo, .stl-right-interactive { width: 100%; }
  .prev-btn { left: 10px; top: 30%; }
  .next-btn { right: 10px; top: 30%; }
}
