/* Deal item template price block. Palette matches the filtered-list Deal
   card (src/react/filtered-list/filtered-list.css) — purple #7938b4, saving
   red #e91817 — kept as literal values here since this component ships on
   its own, independent of that bundle. */

.ofl-deal-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.ofl-deal-price-saving {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--_typography-tokens---body-xlarge--color, #6b6b6b);
  font-size: var(--_typography-tokens---body-xlarge--size, 1.25rem);
  line-height: var(--_typography-tokens---body-xlarge--line-height, 140%);
}

.ofl-deal-price-was {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.ofl-deal-price-save {
  color: #e91817;
  font-weight: 700;
}

.ofl-deal-price-main {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.ofl-deal-price-lead {
  color: #6b6b6b;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-deal-price-amount {
  color: #7938b4;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
}

.ofl-deal-price-suffix {
  color: #7938b4;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

/* A `<span>` so the price line and blurb stay one sentence in the DOM; block
   display just breaks it onto its own visual line. */
.ofl-deal-price-blurb {
  display: block;
  width: 100%;
  margin-top: 4px;
  color: #7938b4;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: var(--_typography-tokens---body-small--line-height, 140%);
}

@media (max-width: 767px) {
  .ofl-deal-price-saving {
    font-size: 0.875rem;
  }
}

