.product-list {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .product-list {
    gap: 10px;
  }
}
.load-trigger {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
  transform: translateY(-100px);
}
@media screen and (max-width: 1024px) {
  .load-trigger {
    transform: translateY(0);
  }
}
.load-trigger img {
  width: 50px;
}
.massage {
  display: grid;
  gap: 0 120px;
  grid-template-columns: auto 560px;
  align-items: end;
}
@media screen and (max-width: 1600px) {
  .massage {
    gap: 0 60px;
  }
}
@media screen and (max-width: 1440px) {
  .massage {
    grid-template-columns: auto 270px;
  }
}
@media screen and (max-width: 1024px) {
  .massage {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media screen and (min-width: 1025px) {
  .massage .massage-series {
    grid-column: 1;
  }
}
.massage .massage-series .sec-title {
  margin: 0 0 30px 0;
}
@media screen and (max-width: 1024px) {
  .massage .massage-series .sec-title {
    margin: 0 0 10px 0;
  }
}
@media screen and (min-width: 1025px) {
  .massage .massage-series .sec-title {
    font-size: 32px;
  }
}
.massage .massage-series .introduce {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 30px;
}
.massage .massage-series .introduce .intro-name {
  font-weight: 700;
}
@media screen and (max-width: 1024px) {
  .massage .massage-series .introduce {
    gap: 6px 10px;
    font-size: 12px;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1025px) {
  .massage .gallery {
    grid-column: 1;
  }
}
@media screen and (max-width: 1024px) {
  .massage .gallery {
    overflow: hidden;
  }
}
.massage .gallery .main-image {
  margin-bottom: 20px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .massage .gallery .main-image {
    margin-bottom: 10px;
  }
}
.massage .gallery .main-image img {
  transition: opacity 0.5s ease;
  opacity: 1;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .massage .gallery .main-image img {
    border-radius: 8px;
  }
}
.massage .gallery .main-image img.fade-out {
  opacity: 0;
}
.massage .gallery .thumbnail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .massage .gallery .thumbnail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}
.massage .gallery .thumbnail .thumb-item {
  width: 120px;
  height: auto;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  border: 1.5px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.massage .gallery .thumbnail .thumb-item img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media screen and (max-width: 1024px) {
  .massage .gallery .thumbnail .thumb-item {
    width: 100%;
    height: auto;
  }
}
.massage .gallery .thumbnail .thumb-item.selected {
  border: var(--btn-border);
}
@media screen and (min-width: 1025px) {
  .massage .series-sec {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
.massage .series-sec .series-title {
  font-size: 24px;
}
.massage .series-sec .series-sub {
  text-align: left;
  margin: 0 0 30px 0;
}
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .massage .series-sec .product-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .massage .series-sec .product-list .product-item:nth-last-child(1),
  .massage .series-sec .product-list .product-item:nth-last-child(2) {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .massage .series-sec .product-list {
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
  }
}
