/* =========================================================
   VAPE29STR QUANTITY DISCOUNTS
   Shortcode: [v29_quantity_discounts]
   ========================================================= */

.v29-qd {
  width: 100%;
  margin: 24px 0 18px;
  color: #20242b;
}

.v29-qd__heading {
  margin-bottom: 10px;
  color: #20242b !important;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .35px;
}

.v29-qd__status {
  padding: 13px 15px;
  background: #f7f8fa;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  color: #66707c !important;
  font-size: 13px;
  line-height: 1.5;
}

.v29-qd__table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e4e9;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(17, 24, 39, .035);
}

.v29-qd__rows {
  display: block;
}

.v29-qd__row {
  appearance: none;
  width: 100%;
  min-height: 45px;
  margin: 0 !important;
  padding: 9px 13px !important;
  display: grid !important;
  grid-template-columns: minmax(105px, 1fr) minmax(105px, auto) minmax(75px, auto) minmax(70px, auto);
  gap: 10px;
  align-items: center;
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #eceef2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #20242b !important;
  text-align: left;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  transition: background .18s ease;
}

.v29-qd__row:last-child {
  border-bottom: 0 !important;
}

.v29-qd__row:hover,
.v29-qd__row.is-active {
  background: #fafbfc !important;
}

.v29-qd__row.is-active {
  box-shadow: inset 3px 0 0 #98171c !important;
}

.v29-qd__qty {
  color: #2e3540 !important;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.v29-qd__saving {
  justify-self: start;
  padding: 4px 9px;
  background: #edf7e9;
  border-radius: 999px;
  color: #4e843f !important;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  white-space: nowrap;
}

.v29-qd__saving:empty {
  padding: 0;
  background: transparent;
}

.v29-qd__total {
  justify-self: end;
  color: #20242b !important;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  white-space: nowrap;
}

.v29-qd__original {
  justify-self: end;
  color: #a0a6af !important;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.v29-qd__original:empty {
  display: none;
}

.v29-qd-cart-saving {
  color: #4e843f !important;
  font-weight: 700;
}

.woocommerce-cart .product-price del,
.woocommerce-cart .product-subtotal del,
.woocommerce-mini-cart del {
  margin-right: 5px;
  color: #9aa1ab;
  opacity: .8;
}

.woocommerce-cart .product-price ins,
.woocommerce-cart .product-subtotal ins,
.woocommerce-mini-cart ins {
  color: #98171c;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 849px) {
  .v29-qd {
    margin-top: 20px;
  }

  .v29-qd__row {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
    padding: 11px 12px !important;
  }

  .v29-qd__qty {
    grid-column: 1;
    grid-row: 1;
  }

  .v29-qd__saving {
    grid-column: 1;
    grid-row: 2;
  }

  .v29-qd__total {
    grid-column: 2;
    grid-row: 1;
  }

  .v29-qd__original {
    grid-column: 2;
    grid-row: 2;
  }
}
