/*
 * ND Parts product page: campaign plate above the price and the discounted-price row (2026-11-24).
 * Loaded on product pages after theme.css.
 */

.ndp-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: center;
  margin: 0 0 14px;
  padding: 10px 14px;
  color: #fff;
  background: linear-gradient(110deg, var(--ndp-graphite, #111b29), var(--ndp-graphite-2, #1d2a3b));
  border-inline-start: 4px solid var(--ndp-red, #d91d2d);
  border-radius: var(--ndp-radius, 14px);
}

.ndp-promo__title {
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ndp-promo__off {
  padding: 3px 9px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.2;
  color: var(--ndp-graphite, #111b29);
  white-space: nowrap;
  background: var(--ndp-lime, #c9ed68);
  border-radius: 999px;
}

.ndp-promo__until {
  margin-inline-start: auto;
  font-size: 12px;
  line-height: 1.3;
  color: #d3dbe4;
  white-space: nowrap;
}

/* Old price + saving: one quiet line above the red price. */
.product__prices .product__discount-price {
  gap: 10px;
  align-items: center;
  margin-bottom: 2px;
}

.product__prices .product__regular-price {
  font-size: 15px;
  color: var(--ndp-muted, #6b7785);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.product__prices .product__discount-amount,
.product__prices .product__discount-percentage {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  color: var(--ndp-red, #d91d2d);
  background: var(--ndp-red-soft, #fff0f1);
  border-radius: 999px;
}

@media (max-width: 575.98px) {
  .ndp-promo__until {
    flex-basis: 100%;
    margin-inline-start: 0;
  }
}
