/**
 * WooCommerce — override plugin defaults (#720eec) with store brand colors.
 * Loaded after woocommerce-general so :root variables take effect.
 */

:root {
  --woocommerce: #084033;
  --wc-primary: #084033;
  --wc-primary-text: #ffffff;
  --wc-secondary: #e6f4ef;
  --wc-secondary-text: #084033;
  --wc-highlight: #d4af37;
  --wc-highligh-text: #1b2420;
  --wc-content-bg: #ffffff;
  --wc-subtext: #6b7a73;
  --wc-green: #2ba86e;
  --wc-form-border-color: rgba(8, 64, 51, 0.2);
}

/* Hardcoded purple in woocommerce.css (not using variables). */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border-top-color: #0d5c46 !important;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border-color: #e1e9e4 !important;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background-color: #e6f4ef !important;
  color: #084033 !important;
}

/* WooCommerce Blocks */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__button {
  background-color: #084033 !important;
  color: #ffffff !important;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-totals-coupon__button:hover {
  background-color: #0d5c46 !important;
  color: #ffffff !important;
}

.wc-block-components-form .wc-block-components-text-input input:focus,
.wc-block-components-form .wc-block-components-text-input textarea:focus,
.wc-block-components-form .wc-block-components-combobox .wc-block-components-combobox-control input:focus {
  border-color: #084033 !important;
  box-shadow: 0 0 0 1px #084033 !important;
}

.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control__option:checked + label {
  border-color: #084033 !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
  background-color: #084033 !important;
  border-color: #084033 !important;
}

/* RTL — WooCommerce notice icons (default WC positions icon on the right in LTR). */
[dir="rtl"] .woocommerce-error::before,
[dir="rtl"] .woocommerce-info::before,
[dir="rtl"] .woocommerce-message::before,
.noureldeing-rtl .woocommerce-error::before,
.noureldeing-rtl .woocommerce-info::before,
.noureldeing-rtl .woocommerce-message::before {
  left: 1.5em !important;
  right: auto !important;
}

[dir="rtl"] .woocommerce-error,
[dir="rtl"] .woocommerce-info,
[dir="rtl"] .woocommerce-message,
.noureldeing-rtl .woocommerce-error,
.noureldeing-rtl .woocommerce-info,
.noureldeing-rtl .woocommerce-message {
  padding-left: 3.5em !important;
  padding-right: 2em !important;
}
