.free-delivery-field > strong {
  display: block;
  margin-bottom: 7px;
}

.free-delivery-location-rows {
  display: grid;
  gap: 8px;
}

.free-delivery-location-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 105px auto;
  gap: 7px;
  align-items: center;
}

.delivery-location-fee-label {
  display: grid;
  gap: 3px;
  color: var(--text-muted, #64748b);
  font-size: 10px;
  font-weight: 800;
}

.delivery-location-fee-label input {
  min-width: 0;
}

.free-delivery-location-row input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color, #d7dfda);
  border-radius: 9px;
  font: inherit;
}

.free-delivery-location-row button {
  min-width: 72px;
  padding: 9px 10px;
  border: 1px solid #fecaca;
  border-radius: 9px;
  background: #fff7f7;
  color: #b42318;
  font-weight: 800;
  cursor: pointer;
}

.add-free-delivery-location {
  margin-top: 9px;
}

.free-delivery-field small {
  display: block;
  margin-top: 5px;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

.free-delivery-address-card {
  margin: 12px 16px 2px;
  padding: 12px;
  border: 1px solid #86cba2;
  border-radius: 12px;
  background: #effbf4;
  color: #14532d;
}

.free-delivery-address-card[hidden] {
  display: none;
}

.free-delivery-address-card strong,
.free-delivery-address-card small {
  display: block;
}

.free-delivery-address-card small {
  margin-top: 4px;
  color: #397150;
}

.free-delivery-address-list {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.free-delivery-address-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border: 1px solid #b8dec7;
  border-radius: 9px;
  background: #fff;
}

.free-delivery-address-option span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.free-delivery-address-option .saved-delivery-fee {
  flex: 0 0 auto;
  color: #0b6b42;
  font-size: 12px;
  font-weight: 950;
}

@media (max-width: 520px) {
  .free-delivery-location-row {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .free-delivery-location-row > button {
    grid-column: 1 / -1;
    justify-self: end;
  }
}

.free-delivery-address-option button {
  flex: 0 0 auto;
  border: 1px solid #128252;
  border-radius: 9px;
  padding: 7px 10px;
  background: #fff;
  color: #12663d;
  font: 800 12px inherit;
  cursor: pointer;
}

.free-delivery-match-status {
  display: block;
  margin-top: 6px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 700;
}

.free-delivery-match-status.applied {
  color: #167344;
}

.customer-free-delivery-summary {
  margin-top: 5px;
  color: #166534;
  font-size: 12px;
  font-weight: 800;
}

.customer-cell .customer-address {
  color: #40584a;
  font-size: 9px;
  line-height: 1.25;
}
