.checkout-page input#save_address[type="checkbox"]:checked {
  background-color: #bad9b5;
  border: 1px solid #bad9b5;
  color: #fefefe;
}

.save-address-field label {
  margin-bottom: 0;
  font-weight: 400 !important;
}

.step-title {
  padding-top: 3rem;
}

#payment_address {
  display: none;
}

.payment-methods-wrapper {
  display: flex;
  flex-direction: row;
  margin-left: 0;
  gap: 2rem;
}

.checkout-page .payment-methods-wrapper .wc_payment_method {
  width: 50%;
  border-bottom: none;
  margin-bottom: 0;
  padding: 0.5rem 0;
}

.checkout-page .payment-methods-wrapper .wc_payment_method .payment_box p {
  display: none;
}

.button.confirm-order-button {
  width: 100%;
}

.checkout-page .promo-code-section.accordion-item .promo-code-field,
.checkout-page .promo-code-section.accordion-item .apply-promo-button {
  max-width: unset;
}

.promo-code-section.accordion-item .accordion-content {
  padding-top: 1rem;
}

.promo-code-field label {
  padding-bottom: 0.5rem;
}

.promo-code-field input[name="promo_code"] {
  display: block;
  background: #fff;
  margin-top: 0.5rem;
  box-shadow: none;
}

.checkout-page .promo-code-section.accordion-item {
  border-bottom: none;
  margin: 0;
}

#apply_promo.button.apply-promo-button[disabled]:hover {
  background: #bad9b5 !important;
  color: #0b0a0a !important;
  border: #bad9b5 !important;
  cursor: not-allowed !important;
}

/* Payment card icons */
.wc_payment_method.payment_method_monri {
  display: flex;
  flex-direction: row;
}

.payment-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.payment-card-icon {
  height: 20px;
  width: auto;
}

.checkout-page
  .wc_payment_method.payment_method_monri
  label[for="payment_method_monri"] {
  display: inline-flex;
  flex-direction: row;
  justify-content: space-between;
  flex-grow: 1;
}

#submit_order {
  color: #bad9b5 !important;
  background: #0b0a0a;
  border: 1px solid #0b0a0a;
}

#submit_order:hover {
  color: #0b0a0a !important;
  background: #bad9b5;
  border: 1px solid #bad9b5;
}

/* State/County field - ensure visibility for countries that require it */
#shipping_state_field {
  display: block !important;
}

#shipping_state_field.hidden,
#shipping_state_field[style*="display: none"] {
  display: none !important;
}

/* Countries that require state selection - show the field */
body.country-hr #shipping_state_field,
body.country-us #shipping_state_field,
body.country-ca #shipping_state_field,
body.country-au #shipping_state_field {
  display: block !important;
}

#shipping_state_field select,
#shipping_state_field input {
  width: 100%;
  padding: 0.75rem;
  height: 46.8px;
  border: 1px solid #d7d7d6;
  border-radius: 0;
  background: #fff;
}

#shipping_state_field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

#shipping_state_field label abbr.required {
  color: #e74c3c;
  text-decoration: none;
  border: none;
}

@media only screen and (max-width: 600px) {
  .payment-methods-wrapper {
    flex-direction: column;
    border-bottom: 1px solid #d7d7d6;
  }

  .checkout-page .payment-methods-wrapper .wc_payment_method {
    width: 100%;
  }

  .step-title {
    padding-top: 0;
  }
}
