.thumb-scrollbar-none::-webkit-scrollbar {
  display: none;
}
#track {
  display: flex;
  /* gap: 24px; */
}

.carousel-item {
  flex: 0 0 calc((100% - 24px * 2.5) / 3.5);
  height: 260px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 12px; */
  display: block;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  #track {
    /* gap: 16px; */
  }

  .carousel-item {
    flex: 0 0 calc((100% - 16px * 1.5) / 2.5);
    height: 180px;
  }
}


.nav-link {
  color: #8b8c92;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #5f6066;
  background: #f7e6e4;
}

.nav-link.is-active,
.nav-link.is-open {
  color: #5f6066;
  background: #f7e6e4;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #5f6066;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}



.scrollbar-none::-webkit-scrollbar {
  display: none;
}
@keyframes marquee-scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}

.marquee-track {
animation: marquee-scroll 22s linear infinite;
}

.marquee-track:hover {
animation-play-state: paused;
}@keyframes scrollDot {
0% {
transform: translateY(0);
opacity: 1;
}
70% {
transform: translateY(10px);
opacity: 0.3;
}
100% {
transform: translateY(0);
opacity: 1;
}
}

.animate-scroll-dot {
animation: scrollDot 1.6s ease-in-out infinite;
}



.sample-item {
  transition: all 0.25s ease;
}

.sample-item.active .sample-radio {
  border-color: #e4b9bf;
  background: #fff;
}

.sample-item.active .sample-radio::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e4b9bf;
  font-size: 13px;
  font-weight: 700;
}

.sample-item.active > div:first-child {
  box-shadow: 0 12px 30px rgba(230, 185, 191, 0.22);
  outline: 2px solid #e9c7cb;
}


@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0.3; }
  100% { transform: translateY(0); opacity: 1; }
}

.animate-scroll-dot {
  animation: scrollDot 1.6s ease-in-out infinite;
}

.hero-dot.is-active {
  width: 28px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
}


.thumb {
  width: 110px;
  min-width: 110px;
  height: 110px;
  border-radius: 18px;
  background: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}
@media (min-width: 640px) {
  .thumb {
    width: 140px;
    min-width: 140px;
    height: 140px;
  }
}
.thumb.active {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: center / contain no-repeat;
}

#thumbTrack::-webkit-scrollbar {
  display: none;
}

.thumb {
  width: 110px;
  min-width: 110px;
  height: 110px;
  border-radius: 18px;
  background: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.thumb.active {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.thumb-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.dot {
  width: 8px;
  height: 4px;
  /* border-radius: 50%; */
  background: #ffffff;
  transition: all 0.3s ease;
}

.dot.active {
  width: 10px;
  border-radius: 999px;
  background: #6f7179;
}

.scale-out {
  transform: scale(0.96);
  opacity: 0;
}

.scale-in {
  transform: scale(1);
  opacity: 1;
}

@media (min-width: 640px) {
  .thumb {
    width: 140px;
    min-width: 140px;
    height: 140px;
    padding: 12px;
  }
}

/* 指示点 */
.dot {
  width: 8px;
  height: 4px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.dot.active {
  width: 12px;
  border-radius: 999px;
  background: #6f7179;
}

/* 主图动画 */
.scale-out {
  transform: scale(0.96);
  opacity: 0;
}

.scale-in {
  transform: scale(1);
  opacity: 1;
}

