/* Quantity pricing: use the child theme's existing monochrome palette. */
.pm-volume-discounts {
  max-width: 100%;
  margin-block: 0.75rem;
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-r-md);
  background: var(--pm-bg-card);
  box-shadow: 0 3px 12px rgb(0 0 0 / 4%);
}

.pm-volume-discounts .pm-volume-discounts__table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--pm-text);
  font-family: var(--pm-font-body);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.pm-volume-discounts__table > :not(caption) > * > * {
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-align: center;
  vertical-align: middle;
}

.pm-volume-discounts__table > thead > tr > th {
  background: var(--pm-bg-soft);
  color: var(--pm-text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
}

.pm-volume-discounts__tax {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
}

.pm-volume-discounts__table > tbody > tr > * {
  border-top: 1px solid var(--pm-line);
  white-space: nowrap;
}

.pm-volume-discounts__table > tbody > tr > * + * {
  border-left: 1px solid var(--pm-bg-soft);
}

.pm-volume-discounts__table > thead > tr > :first-child,
.pm-volume-discounts__table > tbody > tr > th {
  text-align: left;
}

.pm-volume-discounts__table > tbody > tr > th,
.pm-volume-discounts__table .pm-volume-discounts__price {
  font-weight: 700;
}

.pm-volume-discounts__table > tbody > tr:nth-child(even) {
  background: var(--pm-bg-page);
}

.pm-volume-discounts__table > tbody > tr:hover {
  background: var(--pm-bg-soft);
}

.pm-volume-discounts__saving {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: var(--pm-r-pill);
  background: var(--pm-brand);
  color: var(--pm-bg-card);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .pm-volume-discounts__table > :not(caption) > * > * {
    padding: 0.65rem 0.5rem;
  }

  .pm-volume-discounts .pm-volume-discounts__table,
  .pm-volume-discounts__saving {
    font-size: 0.75rem;
  }

  .pm-volume-discounts__table > thead > tr > th,
  .pm-volume-discounts__tax {
    font-size: 0.7rem;
  }

  .pm-volume-discounts__saving {
    padding: 0.3rem 0.5rem;
  }
}