/*使用自定义商品卡片样式, 外面需要套一层.qd-custom-product-card*/
.qd-custom-product-card .block-product-card {
  color: #3D3819;
}
.qd-custom-product-card .block-product-card .block-product-card__title{
  margin-top: 10px;
  color: rgb(51, 51, 51);
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  white-space: nowrap;
  font-size: 18px;
  letter-spacing: 0.25px;
}
.qd-custom-product-card .block-product-card  .block-product-card__price {
  width: 100%;
}
.qd-custom-product-card .block-product-card .product-price__item--price {
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.35px;
  color: rgb(50, 50, 50);
  font-size: 16px;
  white-space: nowrap;
}
/*快速加购袋*/
.qd-custom-product-card .block-product-card__layer-wrapper .block-product-card__layer:nth-of-type(2) {
  justify-content: end;
}

/* 商品卡片促销折扣隐藏非sku的折扣价格 */
.qd-block-product-card[data-product-skuid] .custom-promotion-text-tag,
.qd-block-product-card[data-product-skuid] .promotion-list-price-slot{
  display: none;
}

.qd-block-product-card[data-product-skuid] .qd-product-price-with-discount{
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 10px;
  align-items: center;
}

.qd-block-product-card[data-product-skuid] .block-product-card__price .product-price:not(.hidden){
  display: inline-flex !important;
}

.qd-block-product-card[data-product-skuid] .qd-product-price-with-discount .product-price-with-discount__price-amount{
  color: #C60000;
  font-size: 16px;
}

.qd-block-product-card[data-product-skuid] .qd-product-price-with-discount .product-price-with-discount__price-origin{
  color: #555;
  font-size: 16px;
  text-decoration: line-through;
}

.qd-block-product-card[data-product-skuid] .qd-product-price-with-discount .product-price-with-discount__price-amount,
.qd-block-product-card[data-product-skuid] .qd-product-price-with-discount .product-price-with-discount__price-origin {
  line-height: 150%;
  font-style: normal;
  text-transform: none;
  font-family: Proxima Nova;
}
 


.qd-block-product-card[data-product-skuid] .product-promotion-discount-tag {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 0;
  color: #fff;
  border-radius: unset;
  padding: 0.125rem 0.5rem;
  font-family: Proxima Nova, proxima-nova, Helvetica Neue, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 20px;
  letter-spacing: 1px;
  font-feature-settings: "kern", "liga", "clig", "calt", "smcp";
  text-transform: lowercase;
  background-color: #bd3949 !important;
}