.landing__slider {
  margin: 1rem 1.5rem 0 1.5rem;
  overflow: hidden;
  border-radius: 10px;
}
.landing__slider img {
  max-width: 100%;
}

.landing__dou-banner {
  display: flex;
  margin: .5rem 1.5rem;
  gap: .5rem;
}

.landing__dou-banner div {
  width: calc(50% - 0.3rem);
  overflow: hidden;
  border-radius: 10px;
}

.landing__dou-banner div img {
  width: 100%;
}

.landing__carousel {
  overflow: hidden;
  margin: .5rem 1.5rem;
}

.landing__carousel swiper-container {
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.rest-time {
  position: absolute;
  bottom: 8px;
  right: 10px;
  padding: 0.01rem 0.4rem !important;
}

.landing__carousel--head {
  padding: 0.5rem;
  border: 1px solid #e01a38;
  text-align: center;
  background-color: #e01a38;
  border-radius: 10px;
}
.landing__carousel--head strong {
  font-size: 1.8rem;
  font-weight: 500;
}

.product-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-name a{
  color: #212529;
}

.landing__card small{
  /* margin-top: 1rem; */
}

.landing__card {
  width: 210px;
  padding: 0.5rem;
  background-color: #fff;
  border-left: 1px solid #e1e1e1;
}

.landing__card-top swiper-slide:hover{
  box-shadow: 0 0 30px 0 #0000001a;
  z-index: 10;
}
.landing__card--img {
  width: auto;
  max-width: 100px;
  margin: 0 auto 0.5rem auto;
}

.landing__card--img img {
  max-width: 100%;
}
.landing__card small {
  display: block;
  padding: 0.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
}
.landing__card s {
  display: block;
  padding: 0 0.5rem;
  text-align: left;
  font-size: 0.85rem;
  color: #9d9da4;
  font-weight: 400;
}

.landing__card p {
  color: #212529;
}

.discount-details {
  display: flex;
  flex-direction: row-reverse;
  padding: 0 0.5rem;
  align-items: center;
}

.discount-details span {
  background-color: #ef394e;
  color: #fff;
  padding: 0.01rem 0.3rem;
  border-radius: 10px;
  font-size: 0.75rem;
}

.landing__single-banner {
  margin: 1.5rem 0 0 0 ;
  width: 100%;
}

.landing__single-banner img {
  width: 100%;
}



.landing__products {
  margin: 1rem auto;
  overflow: hidden;
}

.landing__products--header {
  width: 100%;
  height: 4rem;
  padding: 0 0.5rem;
  background-color: #f5f6f6;
  display: flex;
  align-items: center;
  overflow: scroll;
}

.landing__products--header span {
  font-size: 1.2rem;
  padding: 1rem;
  height: 4rem;
  flex-shrink: 0;
}

.landing__products--header span a {
  color: #828282;
}

.landing__products--header > .selected {
  border-bottom: 2px solid #85134a;
}

.landing__products--header > .selected a {
  color: #85134a;
}

.landing__products--card.landing__card {
  width: calc(20% - 1.2rem);
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.landing__products--main {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  background-color: #ef394e;
}
.landing__products--card{
  transition: all .2s;
  position: relative;
}
.text-card {
  position: absolute;
  top: 7px;
  right: 10px;
}
.rest-number{
  position: absolute;
  bottom: 8px;
  right: 10px;
}
.landing__products--card:hover{
  transform: translateY(-8px);
}
.landing__products--card.landing__card .landing__card--img {
  max-width: 200px;
}

@media (max-width: 1200px) {
  .landing__products--card.landing__card {
    width: calc(25% - 1.125rem);
  }
}
@media (max-width: 1000px) {
  .landing__products--card.landing__card {
    width: calc(30% - 0.9rem);
  }
}

@media (max-width: 550px) {
  .landing__products--card.landing__card {
    width: calc(50% - 0.75rem);
  }
  .landing__dou-banner {
    flex-direction: column;
  }
  .landing__dou-banner div {
    width: auto;
  }
}
@media (max-width: 450px) {
  .landing__products--card.landing__card {
    width: 70%;
  }
}
@media (max-width: 400px) {
  .landing__products--card.landing__card {
    width: 80%;
  }
}
