/* Brand overrides for GiveWP + WooCommerce so they follow navy/gold. */

.root-data-givewp-embed {
  --givewp-primary-color: #0e1830 !important;
  --givewp-secondary-color: #d4a94a !important;
}

body.page-donate,
body.give-page.page-donate {
  background: #f4ecd8;
}

body.page-donate .root-data-givewp-embed,
body.give-page .root-data-givewp-embed {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  background: transparent;
}

body.page-donate .root-data-givewp-embed iframe,
body.give-page .root-data-givewp-embed iframe {
  background: transparent !important;
  width: 1px;
  min-width: 100%;
}

body.page-donate .elementor-widget-givewp_donation_form .elementor-widget-container,
body.page-donate .elementor-element[data-widget_type="givewp_donation_form.default"] {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #d4a94a !important;
  color: #0e1830 !important;
  border-color: #d4a94a !important;
  border-radius: 10px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #0e1830 !important;
  color: #fff !important;
  border-color: #0e1830 !important;
}

/* Header Unlimited Elements buttons: keep labels on one line and readable on hover. */
.elementor-location-header .elementor-widget-ucaddon_creative_buttons,
.elementor-location-header .elementor-widget-ucaddon_creative_buttons .elementor-widget-container,
.elementor-location-header .uc_creative_buttons,
.elementor-location-header .uc_creative_buttons .container {
  width: auto !important;
  max-width: none !important;
}

.elementor-location-header .e-con.e-child:has(> .elementor-widget-ucaddon_creative_buttons),
.elementor-location-header .e-con.e-child:has(.uc_button) {
  width: auto !important;
  flex: 0 0 auto !important;
}

.elementor-location-header a.uc_button {
  position: relative;
  z-index: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important;
  width: auto !important;
  min-width: 158px;
  box-sizing: border-box;
}

.elementor-location-header a.uc_button::before,
.elementor-location-header a.uc_button::after {
  z-index: -1 !important;
}

.elementor-location-header a.uc_button span,
.elementor-location-header a.uc_button .uc_button_wrapper {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.elementor-location-header a.uc_button:hover,
.elementor-location-header a.uc_button:focus,
.elementor-location-header a.uc_button:hover span,
.elementor-location-header a.uc_button:focus span {
  color: #0e1830 !important;
}
