.order-promotion-summary {
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(31, 95, 84, 0.2);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(31, 95, 84, 0.08), rgba(255, 255, 255, 0.96));
}

.order-promotion-summary.is-compact {
  padding: 13px;
  margin: 10px 0 14px;
}

.order-promotion-summary__head,
.order-promotion-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.order-promotion-summary__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f5f54;
}

.order-promotion-summary__name {
  margin-top: 3px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  color: #163d36;
}

.order-promotion-summary__type {
  margin-top: 2px;
  font-size: 12px;
  color: rgba(15, 23, 42, 0.68);
}

.order-promotion-summary__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #1f5f54;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.order-promotion-summary__badge.is-neutral {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}

.order-promotion-summary__totals {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 95, 84, 0.14);
}

.order-promotion-summary__row {
  font-size: 13px;
  color: #334155;
}

.order-promotion-summary__row.is-discount {
  color: #16745f;
}

.order-promotion-summary__row.is-final {
  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px dashed rgba(31, 95, 84, 0.22);
  color: #0f172a;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
}

.order-promotion-line {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.order-promotion-line__original {
  color: #7c8797;
  font-size: 12px;
  text-decoration: line-through;
}

.order-promotion-line__final {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  color: #1f5f54;
}

.order-promotion-line__saving {
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  color: #16745f;
}

.dashboard-promotion-saving {
  display: inline-flex;
  max-width: 100%;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(31, 95, 84, 0.1);
  color: #1f5f54;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .order-promotion-summary__head {
    align-items: flex-start;
  }

  .order-promotion-summary__badge {
    min-height: 28px;
    padding: 6px 9px;
  }

  .order-promotion-line {
    justify-content: flex-start;
    margin-top: 6px;
  }

  .dashboard-promotion-saving {
    border-radius: 10px;
  }
}
