.amazing {
  margin: 22px 12px 36px;
  background: #ef3150;
  border-radius: 24px;
  min-height: 460px;
  display: flex;
  gap: 5px;
  padding: 14px;
  direction: rtl;
  overflow: hidden;
  color: #343b55;
}
.amazing-intro {
  flex: 0 0 225px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
.percent-symbol {
  font-family: Arial, sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}
.amazing-intro h2 {
  font-size: 32px;
  font-weight: 900;
  margin: 14px 0 20px;
}
.countdown {
  direction: ltr;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 21px;
  font-weight: 800;
}
.countdown span {
  background: white;
  color: #313b55;
  border-radius: 9px;
  padding: 6px 10px;
  min-width: 45px;
}
.all-amazing {
  margin-top: 30px;
  background: white;
  color: #333d5b;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 800;
}
.amazing-products-wrap {
  position: relative;
  min-width: 0;
  flex: 1;
}
.amazing-products {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  height: 100%;
  direction: rtl;
}
.amazing-products::-webkit-scrollbar {
  display: none;
}
.amazing-card {
  background: white;
  min-width: 260px;
  max-width: 260px;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 18px 13px 14px;
  color: #283657;
  text-decoration: none;
}
.amazing-card img {
  width: 100%;
  height: 240px;
  object-fit: contain;
}
.amazing-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
  min-height: 60px;
  margin: 10px 0 0;
  text-align: right;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.amazing-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 5px;
}
.amazing-price strong {
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}
.amazing-price small {
  font-size: 11px;
}
.discount {
  background: #d82c35;
  color: white;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
}
.old-price {
  color: #b9bdc8;
  text-decoration: line-through;
  font-size: 13px;
  text-align: left;
  margin: 5px 0 0 0;
  direction: ltr;
}
.amazing-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 3px 8px #0001;
}
.amazing-prev {
  right: 10px;
}
.amazing-next {
  left: 10px;
}
.amazing-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 900px) {
  .amazing-intro {
    flex-basis: 155px;
  }
  .amazing-intro h2 {
    font-size: 23px;
  }
  .percent-symbol {
    font-size: 65px;
  }
  .amazing-card {
    min-width: 215px;
    max-width: 215px;
  }
  .amazing-card img {
    height: 200px;
  }
}
@media (max-width: 600px) {
  .amazing {
    margin: 14px 6px;
    padding: 9px;
    min-height: 350px;
    border-radius: 16px;
  }
  .amazing-intro {
    flex-basis: 112px;
    padding: 4px;
  }
  .percent-symbol {
    font-size: 50px;
  }
  .amazing-intro h2 {
    font-size: 16px;
  }
  .countdown {
    gap: 2px;
    font-size: 12px;
  }
  .countdown span {
    min-width: 23px;
    padding: 5px 3px;
  }
  .all-amazing {
    font-size: 10px;
    padding: 10px 6px;
  }
  .amazing-card {
    min-width: 170px;
    max-width: 170px;
    min-height: 330px;
    padding: 8px;
  }
  .amazing-card img {
    height: 155px;
  }
  .amazing-card h3 {
    font-size: 11px;
  }
  .amazing-price strong {
    font-size: 13px;
  }
  .amazing-price small {
    font-size: 9px;
  }
  .amazing-arrow {
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
}
