/* ---- Classic cart: Rush Fee row in cart totals table ---- */
.fd-rush-fee-row td {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ---- Block cart: Rush Fee injected row ---- */
.fd-rush-block-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 16px 0;
  border-top: 1px solid #e0e0e0;
}

.fd-rush-block-label {
  font-weight: 600;
  flex: 0 0 auto;
}

.fd-rush-block-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* ---- Shared: Add Rush Service button ---- */
.fd-rush-add-btn {
  display: inline-block;
  background-color: #8B0000;
  color: #fff !important;
  font-weight: bold;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  width: fit-content;
}

/* ---- Shared: description and remove link ---- */
.fd-rush-desc {
  font-size: 13px;
  color: #555;
}

.fd-rush-toggle[data-action="remove"],
.fd-rush-block-toggle[data-action="remove"] {
  font-size: 13px;
  color: #c00;
  text-decoration: underline;
  cursor: pointer;
}

/* ---- Hide the WC auto-generated fee table row (classic cart only) ---- */
tr.fee:has(.fd-rush-fee-auto) {
  display: none;
}
