.contract-fare-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.weather-surcharge-modal:has(.contract-fare-reductions) {
  position: relative;
}

.weather-surcharge-modal:has(.contract-fare-reductions) .modal-head {
  margin: 0 38px 10px 0;
}

.contract-fare-reductions {
  margin: 0 0 12px;
  padding: 0 12px;
  border: 1px solid #e2e9e6;
  border-radius: 5px;
}

.contract-fare-reductions dd {
  margin: 0;
}

.contract-fare-reductions > div {
  padding: 10px 0;
  font-size: 13px;
}

.contract-fare-reductions > div + div {
  border-top: 1px solid #e2e9e6;
}

.contract-fare-reductions dt {
  margin-bottom: 3px;
  font-weight: 700;
}

.contract-fare-reductions dd {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 8px;
  font-variant-numeric: tabular-nums;
}

.contract-fare-reductions dd strong {
  color: var(--danger, #b42318);
}


#orderConfirmPanel .order-confirm-modal > .modal-close,
.weather-surcharge-modal:has(.contract-fare-reductions) .modal-head > .modal-close:not(.admin-close-button) {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-color: transparent;
}
@media (min-width:1280px) { html:not(.fixed-delivery-public-order-mode) body #orderConfirmPanel > .order-confirm-modal > .modal-close,
  html:not(.fixed-delivery-public-order-mode) body:has(#orderConfirmPanel) .weather-surcharge-modal:has(.contract-fare-reductions) .modal-head > .modal-close:not(.admin-close-button) {
    top: 11.5px;
    right: 11.5px;
    width: 34px;
    height: 34px;
  } }