/* Quantity price labels for Roundshaft and I-shaft. Version 1.0.1. */
.pm-category .pm-card .pm-quantity-price {
  color: var(--pm-red, #8b2837);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  margin: auto 0 10px;
  padding-top: 5px;
}

/* Put spare card height above the price, keeping price and button together.
   The original components also use auto margins on the size label and CTA. */
.pm-category .pm-card .pm-small-label {
  margin-top: 0 !important;
}

.pm-category .pm-card .pm-quantity-price + .pm-card-button {
  margin-top: 0;
}

.pm-category .pm-quantity-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}

.pm-category .pm-quantity-range,
.pm-category .pm-quantity-unit {
  white-space: nowrap;
}

.pm-category .pm-card-price .pm-quantity-unit {
  font-size: 12px;
  font-weight: 400;
}

.pm-category .pm-quantity-note {
  display: block;
  margin-top: 3px;
  color: var(--pm-muted, #626a73);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.pm-page h2[data-pm-price] {
  display: inline-block;
  margin-right: 8px;
  vertical-align: baseline;
}

.pm-page .pm-quantity-product-unit {
  display: inline-block;
  color: var(--pm-muted, #626a73);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  vertical-align: baseline;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .pm-category .pm-card-price .pm-quantity-unit,
  .pm-category .pm-quantity-note {
    font-size: 11px;
  }

  .pm-page .pm-quantity-product-unit {
    font-size: 12px;
  }
}
