section.discounts-slider-home {
  padding: 2.75vw 9vw;
  width: 100%;
  height: 29.5vw;
  background-color: var(--green);
  position: relative;
}

.discount-slider-cont {
  width: 100%;
  height: 100%;
  position: relative;
  direction: ltr !important;
  /*border: 2px solid white;*/
}

.discount-slider-cont > svg#faded-polygons {
  position: absolute;
  right: -8vw;
  width: 27vw;
}

.discount-slider-cont .swiper-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.discount-slider-cont .swiper {
  padding: 1.5vw 2vw;
  width: 100%;
  height: 100% !important;
  position: relative;
}

.discount-slider-cont .swiper-slide {
  height: 100%;
  transition: all 0.25s ease-in-out !important;
  position: relative;
  border-radius: 0.8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) {
  background-color: var(--light-bg);
  justify-content: start !important;
  transition: all 0.25s ease-in-out;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1))::before {
  content: "";
  width: 90%;
  height: 0;
  background-color: rgba(163, 171, 165, 0.5);
  border-radius: 0 0 1vw 1vw;
  position: absolute;
  top: 100%;
  transition: all 0.25s ease-in-out;
  /*filter: blur(3px);*/
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)):hover {
  transform: scale(1.01) !important;
  box-shadow: 0 0 1.25vw rgba(163, 171, 165, 0.5);
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)):hover::before {
  height: 0.75vw;
}

.discount-slider-cont .swiper-slide:first-child > svg {
  width: 15vw;
}

.discount-slider-cont .swiper-slide:first-child a.btn {
  width: 9vw;
  margin-top: 2vw;
  padding: 0.75vw;
  border-radius: 1vw;
  border: 0.1vw solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: normal;
  font-size: 0.95vw;
  color: var(--light-bg);
  gap: 0.5vw;
  position: relative;
  overflow: hidden;
}

.discount-slider-cont .swiper-slide:first-child a.btn i {
  font-size: 1.1vw;
}

.discount-slider-cont .swiper-slide:first-child a.btn::before {
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1));
  position: absolute;
  top: 0;
  left: 0;
  transform: skew(30deg);
  transition: all 0.25s ease-in-out;
}

.discount-slider-cont .swiper-slide:first-child a.btn:hover {
  color: var(--light-green2);
}

.discount-slider-cont .swiper-slide:first-child a.btn:hover::before {
  width: 110%;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) a {
  padding: 1vw 1.8vw;
  width: 100%;
  height: 100%;
  gap: 0.5vw;
  position: relative;
  justify-content: start !important;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) a .discount-label {
  width: 2.6vw;
  height: 2.6vw;
  position: absolute;
  top: 1.75vw;
  right: 1.25vw;
  z-index: 2;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) a .discount-label > svg {
  width: 100%;
  fill: var(--green);
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) a .discount-label span {
  position: absolute;
  font-weight: 500 !important;
  color: var(--light-bg);
  transform: translateY(-0.1vw);
  gap: 0.25vw;
}

.discount-slider-cont .swiper-slide:not(:nth-child(1)) a img {
  width: 100%;
  height: 70%;
}

.discount-slider-cont .off-product-card-details {
  padding-top: 1vw;
  width: 100%;
  height: 30%;
  position: relative;
  gap: 0.7vw;
}

.discount-slider-cont .off-product-card-details ul.product-colors-pallet {
  position: absolute;
  width: 110%;
  top: -1vw;
  justify-content: start !important;
  direction: ltr !important;
}

.discount-slider-cont .off-product-card-details ul.product-colors-pallet li {
  width: 0.85vw;
  height: 0.85vw;
  border-radius: 50%;
  box-shadow: 0 0 0.15vw rgba(0, 0, 0, 0.3);
  color: #142614;
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(2) {
  transform: translateX(-0.2vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(3) {
  transform: translateX(-0.4vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(4) {
  transform: translateX(-0.6vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(5) {
  transform: translateX(-0.8vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(6) {
  transform: translateX(-1vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(7) {
  transform: translateX(-1.2vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(8) {
  transform: translateX(-1.4vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(9) {
  transform: translateX(-1.6vw);
}

.discount-slider-cont
  .off-product-card-details
  ul.product-colors-pallet
  li:nth-child(10) {
  transform: translateX(-1.8vw);
}

.discount-slider-cont .off-product-card-details h2 {
  width: 100%;
  height: 3vw;
  font-size: 0.95vw;
  font-weight: 600;
  text-align: center;
}

.discount-slider-cont .off-product-card-details h3 {
  gap: 0.25vw;
}

.discount-slider-cont .off-product-card-details h3 span.price {
  color: var(--green);
  font-size: 1.25vw;
  font-weight: 600;
}

.discount-slider-cont .off-product-card-details h3 span.toman svg {
  fill: var(--green);
}

.discount-slider-cont .off-product-card-details h3 s {
  font-size: 0.8vw;
  font-weight: 300;
  margin-left: 0.5vw;
  opacity: 0.75;
}

.discount-slider-cont .swiper-slide:last-child a {
  justify-content: center !important;
  gap: 1vw;
  color: var(--red);
}

.discount-slider-cont .swiper-slide:last-child a h2 {
  font-size: 1.2vw;
  color: var(--red);
  gap: 1vw;
  transition: all 0.2s ease-in-out;
}

.discount-slider-cont .swiper-slide:last-child a:hover h2 {
  color: var(--dark-box-bg);
}

.discount-slider-cont .swiper-slide:last-child a h2 span {
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  border: 0.15vw solid var(--red) !important;
  color: var(--red);
  transition: all 0.2s ease-in-out;
}

.swiper-button-disabled {
  transition: all 0.25s ease-in-out;
  visibility: hidden !important;
  opacity: 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute !important;
  color: var(--red) !important;
  transition: all 0.25s ease-in-out;
}

.swiper-button-next {
  left: 1vw !important;
}

.swiper-button-prev {
  right: 1vw !important;
}

.swiper-button-next::after {
  padding: 0.75vw 1.1vw;
  background-color: var(--light-bg);
  border: 0.1vw solid rgba(224, 226, 231, 0.6) !important;
  border-radius: 1.25vw 0.5vw 0.5vw 1.25vw !important;
  font-size: 1.25vw !important;
  font-weight: bold !important;
  transition: all 0.25s ease-in-out;
}

.swiper-button-next:hover::after {
  box-shadow: 0 0 0.2vw rgba(0, 0, 0, 0.3);
}

.swiper-button-prev::after {
  padding: 0.75vw 1.1vw;
  background-color: var(--light-bg);
  border: 0.1vw solid rgba(224, 226, 231, 0.6) !important;
  border-radius: 0.5vw 1.25vw 1.25vw 0.5vw !important;
  font-size: 1.25vw !important;
  font-weight: bold !important;
  transition: all 0.25s ease-in-out;
}

.swiper-button-prev:hover::after {
  box-shadow: 0 0 0.2vw rgba(0, 0, 0, 0.3);
}
.discount-slider-cont .off-product-card-details ul.product-colors-pallet {
  margin-left: 0vw;
}

@media (max-width: 450px) {
  section.discounts-slider-home {
    padding: 2.75vw 7vw 2.75vw 0;
    height: 61.5vw;
  }

  .discount-slider-cont .swiper-slide:first-child > svg {
    width: 33vw;
  }
  .discount-slider-cont .swiper-slide:first-child a.btn {
    width: 29.5vw;
    font-size: 3.5vw;
    white-space: nowrap;
    padding: 1.4vw 5vw;
    border-radius: 2vw;
  }
  .discount-slider-cont .swiper-slide:first-child a.btn i {
    font-size: 2.1vw;
  }
  .swiper-button-next,
  .swiper-button-prev {
    transform: scale(1.4);
  }
  .discount-slider-cont .off-product-card-details h2 {
    font-size: 2.9vw;
    margin-bottom: 0;
    height: 10.7vw;
    display: flex;
    width: 100%;
    align-items: start;
  }
  .details-card {
    gap: 2vw;
  }
  .discount-slider-cont .swiper-slide:last-child a h2 {
    font-size: 2.6vw;
  }

  .discount-slider-cont .swiper-slide:last-child a h2 span {
    width: 7vw;
    height: 7vw;
    border-radius: 50%;
  }
  .discount-slider-cont .swiper-slide:not(:nth-child(1)) a .discount-label {
    width: 8.1vw;
    height: 8.1vw;
  }
  .discount-slider-cont
    .swiper-slide:not(:nth-child(1))
    a
    .discount-label
    span {
    font-size: 2.9vw !important;
  }
  .mobile-card {
    justify-content: space-between !important;
  }
  .mobile-card button {
    display: none !important;
    background-color: var(--green);
    color: var(--light-font);
    cursor: pointer;
    border: none;
    border-radius: 50%;
    width: 8vw;
    height: 8vw;
    display: block;
  }

  .discount-slider-cont .off-product-card-details h3 s {
    font-size: 2.99vw;
    margin-bottom: 4vw;
  }
  .discount-slider-cont .off-product-card-details h3 span.price {
    font-size: 3.39vw;
  }
  .discount-slider-cont .off-product-card-details {
    padding-top: 0.4vw;
    width: 100%;
    height: 45%;
    position: relative;
    gap: 0.6vw;
    padding-bottom: 1.9vw;
  }
  .discount-slider-cont .off-product-card-details ul.product-colors-pallet li {
    width: 1.65vw;
    height: 1.65vw;
    border-radius: 50%;
    box-shadow: 0 0 0.15vw rgba(0, 0, 0, 0.3);
  }
  .discount-slider-cont .off-product-card-details ul.product-colors-pallet {
    position: absolute;
    width: 110%;
    top: -4.6vw;
    margin-left: 3.3vw;
    justify-content: start !important;
    direction: ltr !important;
  }
  .discount-slider-cont .off-product-card-details h3 {
    gap: 0.25vw;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2.8vw;
  }
  .discount-slider-cont .swiper-slide:not(:nth-child(1)) {
    border-radius: 2vw;
  }
  .discount-slider-cont .swiper {
    padding: 0.5vw 0vw;
    width: 100%;
    height: 100% !important;
    position: relative;
  }
}
