.app-block__sales-ranking {
  padding-bottom: 30px;
}
.app-block__sales-ranking .ranking-tip {
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 20px;
  color: #E65552;
}
.app-block__sales-ranking .ranking-title {
  border-top: 1px solid red;
  border-bottom: 1px solid red;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.app-block__sales-ranking .title-icon img {
  max-width: 40px;
}
.app-block__sales-ranking .title-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #E65552;
}
.app-block__sales-ranking .products-top {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.app-block__sales-ranking .product-card {
  display: flex;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
  width: 100%;
  max-width: 768px;
}
.app-block__sales-ranking .product-card .product-photo {
  flex: 1;
  position: relative;
}
.app-block__sales-ranking .product-card .product-photo .discount {
  background: #CC0001;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 5px;
  color: #fff;
  font-weight: 700;
}
.app-block__sales-ranking .product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.app-block__sales-ranking .product-card .product-info .ranking {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #E65552;
}
.app-block__sales-ranking .product-card .product-info .ranking img {
  max-width: 30px;
}
.app-block__sales-ranking .product-card .product-info .title {
  font-size: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.app-block__sales-ranking .product-card .product-info .view-btn {
  display: inline-flex;
  gap: 5px;
  background: #CC0001;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  padding: 2px 10px;
  border-radius: 30px;
}
.app-block__sales-ranking .product-card .product-info .view-btn img {
  max-width: 25px;
}
.app-block__sales-ranking .product-card .product-info .stars img {
  max-width: 11px;
}
.app-block__sales-ranking .product-card .product-info .price .sale-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #CC0001;
}
.app-block__sales-ranking .product-card .product-info .price .compare-price {
  font-size: 1rem;
  text-decoration: line-through;
}
.app-block__sales-ranking .product-card .product-info .sale-count {
  color: #CC0001;
  font-size: 12px;
  font-weight: 500;
}
.app-block__sales-ranking .sales-ranking-swiper {
  background: #fff;
  padding: 10px;
}
.app-block__sales-ranking .product-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 400px;
}
.app-block__sales-ranking .product-item .product-photo .index {
  background: #CC0001;
  position: absolute;
  top: 0;
  left: 0;
  padding: 2px 5px;
  color: #fff;
  font-weight: 700;
}
.app-block__sales-ranking .product-item .product-photo img {
  max-width: 100%;
  height: auto;
}
.app-block__sales-ranking .product-item .product-title {
  font-size: 11px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.app-block__sales-ranking .product-item .product-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.app-block__sales-ranking .product-item .price .sale-price {
  font-size: 1rem;
  font-weight: 700;
  color: #CC0001;
}
.app-block__sales-ranking .product-item .price .compare-price {
  font-size: 0.8rem;
  text-decoration: line-through;
}
.app-block__sales-ranking .product-item .discount {
  background: #CC0001;
  padding: 2px;
  color: #fff;
  font-weight: 700;
}
.app-block__sales-ranking .product-item .product-stars img {
  max-width: 11px;
}
.app-block__sales-ranking .view-more {
  display: flex;
  justify-content: center;
  padding: 15px;
}
.app-block__sales-ranking .more-btn {
  display: inline-block;
  background: #CC0001;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 30px;
}
.app-block__sales-ranking .more-btn:hover {
  color: #fff;
}
.app-block__sales-ranking .custom-button-prev,
.app-block__sales-ranking .custom-button-next {
  display: none;
}
.app-block__sales-ranking .image-wrapper {
  position: relative;
  padding-bottom: 100%;
}
.app-block__sales-ranking .image-wrapper .image-box {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f3f3f3;
}
.app-block__sales-ranking .image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .app-block__sales-ranking .ranking-tip {
    padding: 20px;
    font-size: 1.1rem;
  }
  .app-block__sales-ranking .ranking-title {
    padding: 20px;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .app-block__sales-ranking .products-top {
    padding: 50px;
  }
  .app-block__sales-ranking .title-icon img {
    max-width: 60px;
  }
  .app-block__sales-ranking .title-text {
    font-size: 2.2rem;
  }
  .app-block__sales-ranking .product-card {
    padding: 20px;
    gap: 20px;
  }
  .app-block__sales-ranking .product-card .product-info {
    gap: 10px;
  }
  .app-block__sales-ranking .product-card .product-info .ranking {
    font-size: 2rem;
  }
  .app-block__sales-ranking .product-card .product-info .ranking img {
    max-width: 60px;
  }
  .app-block__sales-ranking .product-card .product-info .title {
    font-size: 1.2rem;
  }
  .app-block__sales-ranking .product-card .product-info .stars img {
    max-width: 16px;
  }
  .app-block__sales-ranking .product-card .product-info .price .sale-price {
    font-size: 2.2rem;
  }
  .app-block__sales-ranking .product-card .product-info .price .compare-price {
    font-size: 1.6rem;
  }
  .app-block__sales-ranking .product-card .product-info .sale-count {
    font-size: 1rem;
  }
  .app-block__sales-ranking .product-card .product-info .view-btn {
    gap: 10px;
    padding: 5px 20px;
    font-size: 1.5rem;
  }
  .app-block__sales-ranking .view-more {
    padding: 30px;
  }
  .app-block__sales-ranking .more-btn {
    font-size: 2rem;
    padding: 5px 30px;
  }
  .app-block__sales-ranking .swiper-container {
    padding: 20px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-radius: 20px;
  }
  .app-block__sales-ranking .custom-button-prev,
  .app-block__sales-ranking .custom-button-next {
    display: block;
    width: 30px;
    height: 30px;
    background: white;
    border: 1px solid #b9b0b0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 20px;
    cursor: pointer;
  }
  .app-block__sales-ranking .custom-button-prev img,
  .app-block__sales-ranking .custom-button-next img {
    width: 30px;
    height: 30px;
  }
  .app-block__sales-ranking .product-card .product-photo .discount {
    font-size: 1.2rem;
  }
  .app-block__sales-ranking .product-item .product-title {
    font-size: 1rem;
  }
  .app-block__sales-ranking .product-item .price .sale-price {
    font-size: 1.2rem;
  }
  .app-block__sales-ranking .product-item .price .compare-price {
    font-size: 1rem;
  }
  .app-block__sales-ranking .product-item .discount {
    font-size: 0.9rem;
    padding: 2px 5px;
  }
  .app-block__sales-ranking .product-item .product-stars img {
    max-width: 16px;
  }
  .app-block__sales-ranking .product-item .product-photo .index {
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .app-block__sales-ranking {
    padding-bottom: 50px;
  }
  .app-block__sales-ranking .swiper-container {
    padding: 30px;
  }
}