.cate-nav {
  margin-bottom: 120px;
}
@media screen and (max-width: 1024px) {
  .cate-nav {
    margin-bottom: 40px;
  }
}
.cate-nav .cate-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .cate-nav .cate-nav-item {
    font-size: 12px;
  }
}
.cate-nav .cate-nav-item .cate-nav-img {
  transition: all 0.3s;
}
.cate-nav .cate-nav-item:hover .cate-nav-img {
  transform: scale(0.9);
}
.cate-nav .catebox {
  display: grid;
  margin-bottom: 30px;
  gap: 10px;
  grid-template-columns: repeat(5, 1fr);
}
.cate-nav .catebox:nth-of-type(1),
.cate-nav .catebox:nth-of-type(3) {
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 1024px) {
  .cate-nav .catebox {
    gap: 20px 6px;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 20px;
  }
  .cate-nav .catebox:nth-of-type(1),
  .cate-nav .catebox:nth-of-type(3) {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cate-section {
  margin-bottom: 80px;
}
@media screen and (max-width: 1024px) {
  .cate-section {
    margin-bottom: 40px;
  }
}
.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 .cover-box {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}
@media screen and (max-width: 1024px) {
  .category-section .cover-box {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }
}
.category-section .cover-box .cover-wrap {
  flex-shrink: 0;
}
@media screen and (max-width: 1024px) {
  .category-section .cover-box .cover-wrap {
    aspect-ratio: 2 / 1;
    width: 100%;
    overflow: hidden;
    display: flex;
  }
}
.category-section .cover-box .cover-wrap .box-cover {
  object-fit: contain;
}
.category-section .box-text .box-title {
  text-align: left;
}
@media screen and (max-width: 1024px) {
  .category-section .box-text .box-title {
    text-align: center;
  }
}
.category-section .box-text .box-desc {
  text-align: left;
  padding: 0;
  margin-bottom: 0;
}
.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: 10px;
}
.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;
  }
}
.products-box {
  margin-bottom: 80px;
  position: relative;
}
.products-box .products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 30px;
}
@media screen and (max-width: 1024px) {
  .products-box .products {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .products-box .products {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px 10px;
  }
}
.products-box .products .goods {
  -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;
}
@media screen and (max-width: 1024px) {
  .products-box .products .goods {
    display: flex;
    gap: 16px;
  }
}
.products-box .products .goods .i-top {
  position: absolute;
  z-index: 1;
  top: -20px;
  left: 0;
  width: 48px;
  height: 48px;
  transform: rotate(-20deg);
}
@media screen and (max-width: 1024px) {
  .products-box .products .goods .i-top {
    width: 32px;
    height: 32px;
    top: -15px;
    left: -5px;
  }
}
.products-box .products .goods.top1 .i-top {
  color: #f51c00;
}
.products-box .products .goods.top2 .i-top {
  color: #ffad00;
}
.products-box .products .goods.top3 .i-top {
  color: #e3cc40;
}
.products-box .products .goods .img-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: fit-content;
  flex: 1;
}
.products-box .products .goods .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .products-box .products .goods .info {
    font-size: 16px;
    flex: 1.5;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap {
    padding: 0;
  }
}
.products-box .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%);
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .flavor-box {
    margin-bottom: 4px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .flavor-box .flavor {
    font-size: 16px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .flavor-box .price {
    font-size: 11px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .flavor-box .price .price-num {
    font-size: 16px;
    margin: 0 2px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .feature {
    padding: 0 6px;
  }
}
@media screen and (max-width: 768px) {
  .products-box .products .goods .info .info-wrap .feature {
    padding: 0;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .feature .feature-item {
    font-size: 11px;
    border-radius: 4px;
    padding: 1px 4px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .taste-box {
    font-size: 12px;
    padding: 0 6px;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 768px) {
  .products-box .products .goods .info .info-wrap .taste-box {
    font-size: 11px;
    padding: 0;
  }
}
.products-box .products .goods .info .info-wrap .taste-box .taste {
  display: flex;
  flex-direction: column;
}
.products-box .products .goods .info .info-wrap .price-box {
  text-align: center;
  margin: 10px 0;
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .price-box .price {
    font-size: 11px;
  }
}
.products-box .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) {
  .products-box .products .goods .info .info-wrap .price-box .price .price-num {
    font-size: 16px;
    margin: 0 2px;
  }
}
.products-box .products .goods .info .info-wrap .price-box .discount {
  font-size: 12px;
  font-weight: 500;
  color: #009e12;
  display: flex;
  flex-direction: column;
}
.products-box .products .goods .info .cart-wrap {
  width: 100%;
  transition: all 0.1s ease-in;
  display: flex;
  gap: 8px;
  height: 36px;
  overflow: hidden;
}
.products-box .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);
}
.products-box .products .goods .info .cart-wrap .btns:active .btn-text {
  transition: all 0.1s;
  transform: scale(0.95);
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity {
  flex: 1;
  position: relative;
}
.products-box .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;
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:before,
.products-box .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%);
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-reduce {
  left: 0;
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-add {
  right: 0;
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.cart-add:after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable {
  pointer-events: none;
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable:before,
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn.disable:after {
  background: rgba(255, 255, 255, 0.1) !important;
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:hover {
  transform: translate(0, -50%) scale(1.2);
}
.products-box .products .goods .info .cart-wrap .btns.cart-quantity .quantity-btn:active {
  transition: all 0.1s;
  transform: translate(0, -50%) scale(0.9);
}
.products-box .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;
}
.products-box .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) {
  .products-box .products .goods .info .cart-wrap .btns.cart-quantity:hover {
    flex: 1.1;
  }
}
.products-box .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;
}
.products-box .products .goods .info .cart-wrap .btns.go-cart-btn {
  flex: 1;
  cursor: pointer;
}
.products-box .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;
}
.products-box .products .goods .info .cart-wrap .btns.go-cart-btn .btn-text i {
  font-size: 14px;
}
@media screen and (max-width: 1024px) {
  .products-box .products .goods .info .cart-wrap .btns.go-cart-btn .btn-text {
    font-size: 12px;
  }
}
.products-box .products .goods .info .cart-wrap .btns.go-cart-btn::after {
  background-color: #87ad21;
  left: -2px;
}
@media screen and (min-width: 1024px) {
  .products-box .products .goods .info .cart-wrap .btns.go-cart-btn:hover {
    flex: 1.1;
  }
}
@media screen and (min-width: 1024px) {
  .products-box .products .goods:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.1);
  }
  .products-box .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);
    }
  }
  .products-box .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);
  }
}
