.wcc-terms-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  background: #f6f7f7;
  font-size: 14px;
  line-height: 1.45;
}

.wcc-terms-note a {
  text-decoration: underline;
}

.woocommerce-checkout #payment ul.payment_methods > li > label {
  display: inline !important;
}

.wcc-hidden-field {
  display: none !important;
}

.wcc-city-field-loading {
  position: relative;
}

.wcc-locked-field {
  opacity: 0.8;
}

.wcc-locked-field .woocommerce-input-wrapper {
  pointer-events: none;
}

#billing_address_1[readonly] {
  background-color: #fff !important;
  cursor: pointer !important;
  border-color: #b5b5b5 !important;
  color: #666 !important;
}

.wcc-city-field-loading .woocommerce-input-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 2px solid #d5d9dd;
  border-top-color: #111;
  border-radius: 50%;
  animation: wcc-city-spin 0.7s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.wcc-city-debug {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #5f6b76;
}

@keyframes wcc-city-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#order_review .woocommerce-shipping-totals th,
#order_review .woocommerce-shipping-totals td {
  vertical-align: top;
}

#order_review ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

#order_review ul#shipping_method li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  line-height: 1.4;
}

#order_review ul#shipping_method li:last-child {
  margin-bottom: 0;
}

#order_review ul#shipping_method input.shipping_method {
  margin: 0;
}

#order_review ul#shipping_method label {
  margin: 0;
}

/* Card-security badges shown directly under the CMI checkout option. */
.woocommerce-checkout-payment .payment_method_urban_cmi > label,
.woocommerce-checkout-payment .payment_method_cmi > label {
  display: block !important;
}

.woocommerce-checkout-payment .wcc-cmi-payment-badges {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 16px 0 8px;
}

/* Make the CMI secure-redirect information as prominent as the payment badges. */
.woocommerce-checkout-payment li.wc_payment_method[class*="cmi"] .payment_box {
  margin-top: 16px !important;
  padding: 18px 20px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.woocommerce-checkout-payment li.wc_payment_method[class*="cmi"] .payment_box::before {
  top: -8px;
}

.cart_totals ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart_totals ul#shipping_method li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.cart_totals ul#shipping_method li:last-child {
  margin-bottom: 0;
}

.cart_totals .woocommerce-shipping-calculator {
  display: none !important;
}

.cart_totals .shipping-calculator-button {
  display: none !important;
}

/* Bank-wire thank-you block (order-received page). */
.wcc-bankwire-instructions {
  background: #f7fbfa;
  border: 1px solid #d9efec;
  border-radius: 12px;
  padding: 28px 30px;
  margin: 28px 0 8px;
}

.wcc-bankwire-instructions h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  color: #202020;
}

.wcc-bankwire-instructions > p {
  margin: 0 0 10px;
  color: #555454;
}

.wcc-bankwire-rib {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #ed7455;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 16px 0;
}

.wcc-bankwire-rib p {
  margin: 0 0 10px;
  color: #555454;
}

.wcc-bankwire-rib p:last-child {
  margin-bottom: 0;
}

.wcc-rib-amount {
  font-size: 20px;
  color: #202020;
}

.wcc-rib-ref {
  display: inline-block;
  background: #fff0eb;
  color: #ed7455;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

@media (max-width: 680px) {
  .wcc-bankwire-instructions {
    padding: 20px;
  }

  .wcc-bankwire-instructions h2 {
    font-size: 19px;
  }
}
