@charset "UTF-8";

/* Start Special Product */
.spacial-product {
  padding: var(--sectionTop) var(--sectionLeft);
}

.spacial-product .product-content {
  background-color: #fff;
  box-shadow: 0 0.1rem 0.3rem #00000014;
  display: flex;
}

.spacial-product .product-c-left {
  width: 35%;
  padding: 10% 0.5rem 0;
}

.spacial-product .product-c-left-title {
  display: flex;
  justify-content: center;
}

.spacial-product .product-c-left-title p {
  width: 0.7rem;
  height: 0.7rem;
  text-align: center;
  line-height: 0.7rem;
  border-radius: 50%;
  color: var(--colorH1TitleText);
  border: 1px solid var(--colorH1TitleText);
  font-size: 0.32rem;
  margin-left: 0.2rem;
  font-weight: 600;
}

.spacial-product .product-c-left-title p:first-child {
  margin-left: 0;
}

.spacial-product .product-c-right {
  flex: 1;
  height: 7.41rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.spacial-product .product-c-left-text {
  margin-top: 0.5rem;
  line-height: 2;
  font-size: 0.16rem;
  text-align: center;
}

.spacial-product .product-r-item {
  width: calc(100% / 5);
  height: calc(100% / 2);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
  border-right: 1px solid #7a6d58;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spacial-product .product-r-item:nth-child(5n) {
  border-right: 0;
}

.spacial-product .product-r-item:nth-child(5),
.spacial-product .product-r-item:nth-child(4),
.spacial-product .product-r-item:nth-child(3),
.spacial-product .product-r-item:nth-child(2),
.spacial-product .product-r-item:nth-child(1) {
  border-bottom: 1px solid #7a6d58;
}

.spacial-product .product-r-item p {
  font-size: 0.18rem;
  font-weight: 500;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.spacial-product .product-r-item.active .dot::after,
.spacial-product .product-r-item.active .dot:before,
.spacial-product .product-r-item:hover .dot:before,
.spacial-product .product-r-item:hover .dot:after {
  content: "";
}

.spacial-product .product-r-item.active .dot .child,
.spacial-product .product-r-item:hover .dot .child {
  animation: dot 1.3s linear infinite both;
}

.spacial-product .product-r-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.spacial-product .bgs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.spacial-product .bgs.active {
  opacity: 1;
}

.spacial-product .items {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

@keyframes dot {
  20% {
    transform: translate3d(-50%, -50%, 0) scale(1.15);
    animation-timing-function: ease;
  }

  50% {
    transform: translate3d(-50%, -50%, 0) scale(1);
    animation-timing-function: ease;
  }
}

/* End Special Product */

@media (max-width: 768px) {
  .spacial-product .product-content {
    display: none;
  }

  .mobile-product {
    overflow: hidden;
  }

  .m-p-cover img {
    border-radius: 0.2rem 0.2rem 0 0;
  }

  .m-p-text {
    padding: 0.4rem;
    text-align: center;
  }

  .m-p-text p:nth-child(1) {
    text-align: center;
    color: var(--colorH1TitleText);
    font-size: 0.32rem;
  }

  .m-p-text p:nth-child(2) {
    line-height: 1.8;
    margin-top: 0.2rem;
  }
}

@media (min-width: 769px) {
  .mobile-product {
    display: none;
  }
}
