/*： https://www.17sucai.com()*/
/** deals-section **/

.deals-section{
  position: relative;
  background: #E3F5D6;
  overflow: hidden;
}

.deals-section .sec-title{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* carousel track (two cards per view, scrollable on small screens) */
.deals-carousel-wrap{
  position: relative;
}

.deals-carousel{
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.deals-carousel::-webkit-scrollbar{
  display: none;
}

.deals-section .deals-block-one{
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
}

/* card */
.deals-section .deals-block-one .inner-box{
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 380px;
  background: #fff;
  border-radius: 14px;
  padding: 30px 45px 30px 25px;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.05);
}

.deals-section .deals-block-one .inner-box .image-box{
  position: relative;
  flex: 0 0 44%;
  max-width: 44%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deals-section .deals-block-one .inner-box .image-box .image{
  width: 100%;
}

.deals-section .deals-block-one .inner-box .image-box .image img{
  width: 100%;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.deals-section .deals-block-one .inner-box:hover .image-box .image img{
  transform: scale(1.05);
}

/* circular discount / hot badges */
.deals-section .deals-block-one .image-box .discount-product,
.deals-section .deals-block-one .image-box .hot-product{
  position: absolute;
  top: 18px;
  right: -10px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 18px;
  font-weight: 600;
  z-index: 2;
}

/* content */
.deals-section .deals-block-one .inner-box .content-box{
  position: relative;
  flex: 1;
  padding-left: 35px;
}

.deals-section .deals-block-one .inner-box .content-box h3{
  display: block;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.deals-section .deals-block-one .inner-box .content-box h3 a{
  display: inline-block;
  color: var(--title-color);
}

.deals-section .deals-block-one .inner-box .content-box h4{
  font-size: 22px;
  line-height: 30px;
  color: #E92530;
  margin-bottom: 12px;
}

.deals-section .deals-block-one .inner-box .content-box h4 del{
  font-weight: 500;
  font-size: 20px;
  color: #7C7C7C;
  margin-right: 10px;
}

.deals-section .deals-block-one .inner-box .content-box .rating{
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

/* outline Add to Cart button */
.deals-section .deals-cart-btn{
  display: inline-block;
  min-width: 200px;
  height: 52px;
  padding: 0 30px;
  background: #fff;
  border: 1.5px solid var(--theme-color-2);
  border-radius: 8px;
  color: var(--theme-color-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 49px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deals-section .deals-cart-btn:hover{
  background: var(--theme-color-2);
  color: #fff;
}

/* prev / next arrows */
.deals-nav{
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.deals-nav .deals-nav-btn{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  color: #333;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.deals-nav .deals-nav-btn.prev{
  left: -24px;
}

.deals-nav .deals-nav-btn.next{
  right: -24px;
}

.deals-nav .deals-nav-btn:hover{
  background: var(--theme-color-2);
  color: #fff;
}

.deals-section .parallax-scene{
  position: absolute !important;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

.deals-section .pattern-layer{
  position: absolute !important;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/** deals-style-two **/

.deals-style-two{
  position: relative;
}

.deals-style-two .title-box h2{
  position: relative;
  display: inline-block;
  font-size: 30px;
  line-height: 40px;
  padding: 10px 50px;
  border-radius: 50px;
  background: #fff;
  text-align: center;
  border: solid;
  border-width: 5px;
  border-color: #DAF1CF;
  z-index: 1;
}

.deals-style-two .inner-container{
  position: relative;
  display: block;
  overflow: hidden;
  padding: 50px 0px;
  border-radius: 10px;
  border: solid;
  border-width: 1px;
  margin-top: -35px;
}

.deals-style-two .inner-container .shop-block-two{
  float: left;
  border-right: solid;
  border-width: 1px;
  border-color: #E5E5E5;
  width: 20%;
}

.deals-style-two .inner-container .shop-block-two:last-child{
  border: none;
}

.deals-style-two .shop-block-two .inner-box:before{
  display: none;
}

.deals-style-two .shop-block-two .inner-box .image-box .image{
  max-width: 280px;
}

.deals-style-two .shop-block-two .inner-box .discount-product,
.deals-style-two .shop-block-two .inner-box .hot-product{
  width: auto;
  height: 24px;
  line-height: 24px;
  border-radius: 40px;
  padding: 0px 17px;
}

.deals-style-two .shop-block-two .inner-box .quentity-box{
  position: relative;
  min-height: 30px;
  max-width: 160px;
  margin: 0 auto;
  margin-bottom: 20px;
}

.deals-style-two .shop-block-two .inner-box .quentity-box .nice-select{
  position: relative;
  display: block;
  width: 100%;
  height: 30px;
  line-height: 30px;
  border: solid;
  border-width: 1px;
  border-color: #E5E5E5;
  border-radius: 3px;
  font-size: 14px;
  color: var(--title-color);
  text-transform: none;
  padding-left: 10px;
  padding-right: 25px;
}

.deals-style-two .shop-block-two .inner-box .quentity-box .nice-select:before{
  right: 10px;
  color: var(--title-color);
}

.deals-style-two .shop-block-two .inner-box .rating{
  justify-content: center;
  margin-bottom: 11px !important;
}

.deals-style-two .shop-block-two .inner-box .lower-content{
  padding-top: 30px;
}

.deals-style-two .shop-block-two .inner-box .lower-content .text{
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.deals-style-two .shop-block-two .inner-box .lower-content h5{
  margin-bottom: 15px;
}

.deals-style-two .shop-block-two .inner-box .btn-box .theme-btn{
  background: transparent;
  border: solid;
  border-width: 1px;
  color: var(--theme-color-4) !important;
  padding: 6.5px 59px;
}

.deals-style-two .shop-block-two .inner-box .btn-box .theme-btn:hover{
  color: #fff !important;
}

.deals-style-two .shop-block-two .inner-box{
  padding-top: 0px;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.deals-section.pet-deals{
  background: #E8DDFF;
}

.deals-section.pet-deals .deals-block-one .inner-box .content-box{
  padding-left: 0px;
}

.deals-section.pet-deals .deals-block-one .inner-box .content-box .theme-btn.btn-one{
  border-radius: 40px;
  color: var(--theme-color-10) !important;
}

.deals-section.pet-deals .deals-block-one .inner-box .content-box .theme-btn.btn-one:hover{
  color: #fff !important;
}

.deals-section.pet-deals .pattern-layer{
  opacity: 0.3;
}

.deals-section.pet-deals .shape-layer .shape-1{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 61px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.deals-section.pet-deals .shape-layer .shape-2{
  position: absolute;
  left: 0px;
  bottom: -1px;
  width: 100%;
  height: 35px;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}


/** rtl-css **/

.rtl .deals-block-one .inner-box{
  direction: rtl;
}

.rtl .deals-block-one .inner-box .content-box{
  padding-left: 0px;
  padding-right: 35px;
}


/** responsive-css **/

/* 桌面端：右侧给全站固定客服联系栏（约 140px 宽）让出空间，
   保证 next 箭头完整落在绿色背景上且可点击 */
@media only screen and (min-width: 992px){
  .deals-section .deals-carousel-wrap{
    margin-right: 160px;
  }

  .deals-nav .deals-nav-btn.next{
    right: -48px;
  }
}

@media only screen and (max-width: 1200px){
  .deals-style-two .inner-container .shop-block-two{
    width: 33.333%;
    margin-bottom: 30px;
  }

  .deals-style-two .inner-container{
    padding-bottom: 20px;
  }
}

@media only screen and (max-width: 991px){
  /* one card per view, arrows scroll between them */
  .deals-section .deals-block-one{
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 767px){
  .deals-nav{
    display: none;
  }

  .deals-style-two .inner-container .shop-block-two{
    width: 50%;
  }
}

@media only screen and (max-width: 599px){
  .deals-style-two .inner-container .shop-block-two{
    width: 100%;
    border: none;
  }
}

@media only screen and (max-width: 499px){
  .deals-section .deals-block-one .inner-box{
    flex-wrap: wrap;
    min-height: 0;
    padding: 25px;
  }

  .deals-section .deals-block-one .inner-box .image-box{
    flex-basis: 100%;
    max-width: 100%;
    margin-bottom: 15px;
  }

  .deals-section .deals-block-one .image-box .discount-product,
  .deals-section .deals-block-one .image-box .hot-product{
    top: 8px;
    right: 8px;
  }

  .deals-section .deals-block-one .inner-box .content-box{
    flex-basis: 100%;
    padding-left: 0px;
  }

  .deals-section .deals-cart-btn{
    min-width: 160px;
  }
}
