.category-section {
  position: relative;
  max-width: 1280px;
  padding: 30px 10px;
  margin: 120px auto 120px;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .category-section {
    padding: 20px 10px;
    margin: 130px auto 120px;
  }
}
.category-section .label-sec {
  margin-bottom: 160px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec {
    margin-bottom: 30px;
  }
}
.category-section .label-sec .label-title {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .label-title {
    font-size: 18px;
  }
}
.category-section .label-sec .label-title .label-img {
  width: 60px;
}
.category-section .label-sec .products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 30px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 10px;
  }
}
.category-section .label-sec .products .goods {
  overflow: hidden;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  min-width: 220px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods {
    display: flex;
    gap: 16px;
  }
}
.category-section .label-sec .products .goods .img-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: fit-content;
  flex: 1;
}
.category-section .label-sec .products .goods .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info {
    font-size: 16px;
    flex: 1.5;
  }
}
.category-section .label-sec .products .goods .info .info-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 10px;
  margin-bottom: 10px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .info-wrap {
    padding: 0;
  }
}
.category-section .label-sec .products .goods .info .info-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #32442a, transparent);
  border-bottom: 3px solid #a8df14;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 50%, #000 calc(100% - 50%), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 50%, #000 calc(100% - 50%), transparent 100%);
}
.category-section .label-sec .products .goods .info .info-wrap .flavor-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .info-wrap .flavor-box {
    margin-bottom: 4px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .flavor-box .flavor {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .info-wrap .flavor-box .flavor {
    font-size: 16px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .flavor-box .price {
  font-weight: 700;
  font-size: 12px;
  color: red;
  letter-spacing: 0;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .flavor-box .price {
    font-size: 11px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .flavor-box .price .price-num {
  font-size: 18px;
  font-weight: 700;
  margin: 0 4px;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .flavor-box .price .price-num {
    font-size: 16px;
    margin: 0 2px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .feature {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin-bottom: 10px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .info-wrap .feature {
    padding: 0 6px;
  }
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .feature {
    padding: 0;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .feature .feature-item {
  padding: 2px 6px;
  font-size: 12px;
  font-weight: 500;
  color: #8dd905;
  border-radius: 5px;
  background-color: #3f580c;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .feature .feature-item {
    font-size: 11px;
    border-radius: 4px;
    padding: 1px 4px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .taste-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .info-wrap .taste-box {
    font-size: 12px;
    padding: 0 6px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .taste-box {
    font-size: 11px;
    padding: 0;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .taste-box .taste {
  display: flex;
  flex-direction: column;
}
.category-section .label-sec .products .goods .info .info-wrap .price-box {
  text-align: center;
  margin: 10px 0;
}
.category-section .label-sec .products .goods .info .info-wrap .price-box .price {
  font-weight: 700;
  font-size: 12px;
  color: red;
  letter-spacing: 0;
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .price-box .price {
    font-size: 11px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .price-box .price .price-num {
  font-size: 18px;
  font-weight: 700;
  margin: 0 4px;
}
@media screen and (max-width: 768px) {
  .category-section .label-sec .products .goods .info .info-wrap .price-box .price .price-num {
    font-size: 16px;
    margin: 0 2px;
  }
}
.category-section .label-sec .products .goods .info .info-wrap .price-box .discount {
  font-size: 12px;
  font-weight: 500;
  color: #009e12;
  display: flex;
  flex-direction: column;
}
.category-section .label-sec .products .goods .info .cart-wrap {
  width: 100%;
  transition: all 0.1s ease-in;
  display: flex;
  gap: 8px;
  height: 36px;
  overflow: hidden;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.53, -0.52, 0.27, 1.53);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns:active .btn-text {
  transition: all 0.1s;
  transform: scale(0.95);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity {
  flex: 1;
  position: relative;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
  height: 100%;
  width: 40%;
  transition: all 0.3s;
  z-index: 1;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:before,
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-reduce {
  left: 0;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-add {
  right: 0;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-add:after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable {
  pointer-events: none;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable:before,
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable:after {
  background: rgba(255, 255, 255, 0.1) !important;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:hover {
  transform: translate(0, -50%) scale(1.2);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:active {
  transition: all 0.1s;
  transform: translate(0, -50%) scale(0.9);
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity input {
  width: 100%;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 16px;
  pointer-events: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  z-index: 0;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity::after {
  background-color: rgba(255, 255, 255, 0.2);
  right: -2px;
}
@media screen and (min-width: 1024px) {
  .category-section .label-sec .products .goods .info .cart-wrap .btns.cart-quantity:hover {
    flex: 1.1;
  }
}
.category-section .label-sec .products .goods .info .cart-wrap .btns::after {
  content: "";
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  transform: translateZ(0) skewX(-20deg);
  z-index: -1;
  border-radius: 4px;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn {
  flex: 1;
  cursor: pointer;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn .btn-text {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  gap: 4px;
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn .btn-text i {
  font-size: 14px;
}
@media screen and (max-width: 1024px) {
  .category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn .btn-text {
    font-size: 12px;
  }
}
.category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn::after {
  background-color: #87ad21;
  left: -2px;
}
@media screen and (min-width: 1024px) {
  .category-section .label-sec .products .goods .info .cart-wrap .btns.go-cart-btn:hover {
    flex: 1.1;
  }
}
@media screen and (min-width: 1024px) {
  .category-section .label-sec .products .goods:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
  }
  .category-section .label-sec .products .goods:hover .img-wrap .bg {
    animation: bgChange 18s infinite;
  }
  @keyframes bgChange {
    0% {
      background-image: var(--image);
    }
    47% {
      background-image: var(--image);
    }
    50% {
      background-image: var(--image2);
    }
    97% {
      background-image: var(--image2);
    }
    100% {
      background-image: var(--image);
    }
  }
  .category-section .label-sec .products .goods:hover .img-wrap .radar-box {
    animation: radarShow 18s infinite;
  }
  @keyframes radarShow {
    0% {
      opacity: 1;
    }
    47% {
      opacity: 1;
    }
    50% {
      opacity: 0;
    }
    97% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}
.gogogo {
  width: 4%;
  position: fixed;
  z-index: 100;
  top: var(--top);
  left: var(--left);
  pointer-events: none;
  animation: gogogoX 1s cubic-bezier(0.25, -0.75, 0.6, -0.1);
}
@keyframes gogogoX {
  to {
    transform: translateX(var(--x));
  }
}
.gogogo img {
  width: 100%;
  display: block;
  border-radius: 99rem;
  overflow: hidden;
  border: 0.1rem solid #000;
  animation: gogogoY 1s cubic-bezier(0.33, -0.01, 0.99, 0.77);
}
@keyframes gogogoY {
  0% {
    transform: translateY(0) scale(0);
  }
  10% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(var(--y)) scale(0.3);
  }
}
