.main-swiper,
.main-swiper .swiper-slide,
.main-swiper img,
.swiper-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-swiper {
  width: 300px;
  height: 900px;
}
.thumb-swiper .swiper-slide {
  width: 100%;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}
.thumb-swiper img {
  max-width: 90%;
  height: auto;
}
.main-swiper img {
  max-width: 800px;
  max-height: auto;
}
.product-spec {
  width: 100%;
  border-collapse: collapse;
}
.product-spec td,
.product-spec th {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}
.product-spec th {
  background-color: #f2f2f2;
}
.product-spec tr:nth-child(2n) {
  background-color: #fafafa;
}
.product-spec ul {
  list-style-type: disc;
  margin: 0;
}
.product-spec li {
  margin-bottom: 4px;
}
.product-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-title {
  width: 100%;
  text-align: center;
  position: absolute;
}
.product-img {
  width: 90%;
  height: auto;
}
.trinity-title {
  top: 30%;
  font-size: 3rem;
}
.trinity-prime-title {
  top: 26%;
}
.infinity-title {
  top: 10%;
}
.acrylic-title,
.hard-title {
  top: 23%;
}
.stopmotion {
  width: 80%;
  height: 100%;
  position: relative;
  display: flex;
  justify-self: center;
  margin-top: 5rem;
}
.stopmotion-msg {
  position: absolute;
  top: 0;
  right: 0;
}
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev,
  .thumb-swiper {
    display: none;
  }
  .swiper-pagination {
    position: absolute;
    bottom: 10px;
    z-index: 10;
  }
  .product-img,
  .stopmotion {
    width: 100%;
    display: block;
  }
  .product-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
  }
  .product-title {
    top: 35%;
    font-size: 1rem !important;
    color: #fff !important;
    z-index: 1;
  }
  .stopmotion {
    height: auto;
    margin-top: 2rem;
  }
  .stopmotion-msg {
    position: unset;
    margin-top: 1rem;
  }
}
