.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#EBEBEB;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Hide login link when logged in */
body.logged-in .um-login-link {
  display: none !important;
}

/* Hide avatar when logged out */
body:not(.logged-in) .um-avatar-menu {
  display: none !important;
}

/* Avatar image styling */
.um-avatar-link img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Dropdown menu */
.um-avatar-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  top: 100%;
  right: 0;
  list-style: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.um-avatar-menu:hover .um-avatar-dropdown {
  display: block;
}




.tribute-user-panel {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 400px;
}

.tribute-user-panel h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #333;
}

.tribute-user-panel ul {
  list-style: none;
  padding: 0;
}

.tribute-user-panel ul li {
  margin-bottom: 10px;
}

.tribute-user-panel ul li a {
  text-decoration: none;
  color: #0056b3;
  font-weight: 500;
}

.tribute-user-panel ul li a:hover {
  text-decoration: underline;
}





/* Center the Paystack payment content using Flexbox */
body.woocommerce-order-pay .woocommerce {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Style and center the buttons */
body.woocommerce-order-pay .woocommerce .button,
body.woocommerce-order-pay .woocommerce a.button {
    display: block;
    width: auto;
    margin: 10px auto;
    background-color: #786E46 !important;
    color: white !important;
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* Hover effect for buttons */
body.woocommerce-order-pay .woocommerce .button:hover,
body.woocommerce-order-pay .woocommerce a.button:hover {
    background-color: #5e5736 !important; /* slightly darker gold/bronze */
    color: white !important;
}

/* Style the title */
body.woocommerce-order-pay strong {
    display: block;
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}



.woocommerce .quantity, 
.woocommerce td.product-quantity {
    display: none !important;
}


add_action('template_redirect', function() {
    if (isset($_GET['add-to-cart'])) {
        wp_redirect(home_url('/create-a-tribute'));
        exit;
    }
});


.woocommerce-order-pay a.button.cancel {
    display: none !important;
}/* End custom CSS */