/*
Theme Name: Hello Biz Child
Theme URI: https://github.com/elementor/hello-biz-child/
Description: Hello Biz Child is a child theme of Hello Biz, created by Elementor team
Author: Elementor Team
Template: hello-biz
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Version: 1.2.0
Stable tag: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: hello-biz-child
Tags: flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready, style-variations
*/

/* Add your custom styles here */

.stock.in-stock {display: none !important;} /* hide the product stock display */

.elementor-post__avatar {display: none !important;} /* hide additional avatars container in library */ 

/* Fix for chrome autofill overlapping form field placeholder text on memberpress login page */
/* When the input is autofilled, hide the sibling or parent label */
input:-webkit-autofill ~ .mp-form-label label.placeholder-text,
input:-webkit-autofill + label.placeholder-text {opacity: 0 !important; visibility: hidden !important;}
/* Specific fix for MemberPress structure where label is inside .mp-form-label */
.mp-form-row:has(input:-webkit-autofill) label.placeholder-text {opacity: 0 !important; visibility: hidden !important;}



/* FIX: WordPress Admin Bar Submenu Displacement Corrects the 32px gap in the top navigation submenus caused by Elementor's sticky container miscalculating the Admin Bar height. This targets only the first menu widget to avoid affecting lower menus. */
body.admin-bar .elementor-widget-nav-menu:first-of-type .elementor-nav-menu--main .sub-menu {
    transform: translateY(-32px) !important;
}



/* ----ORIGINAL CSS--------------------------------------------------------------------------------------------------------------- */

/* Make the shopping cart icon white */
.fas.fa-shopping-cart {
  color: #fff !important;
}

.menu-item a:hover .fas.fa-shopping-cart {
  color: #fff !important;
}

/* Keep WP admin bar above everything */
body.admin-bar #wpadminbar {
  position: fixed;
  z-index: 2000000 !important;
}

/* REMOVE margin-top push on header – WP core already does this */
body.admin-bar .elementor-location-header {
  margin-top: 0 !important;
}


/* === 0) Your logo tweak (keep as-is) === */
.elementor-element-2bc55a6f {
  position: relative;
  top: -35px;
  z-index: 100;
  margin-bottom: -50px !important;
}

/* === 1) Lift the header above everything and isolate stacking === */
.elementor-location-header {
  position: relative;
  z-index: 999999 !important;
  isolation: isolate;
}
.elementor-location-header * {
  overflow: visible !important;
}

/* === 2) Safari-specific: neutralize transform-based stacking contexts on sticky headers === */
@supports (-webkit-touch-callout: none) {
  .elementor-sticky--effects,
  .elementor-sticky--active {
    transform: none !important;
    will-change: auto !important;
    backface-visibility: visible !important;
    filter: none !important;
  }
}

/* === 3) Submenu default state === */
#secondary-menu .sub-menu {
  position: fixed !important;                 /* fixed so Safari can’t clip it */
  top: var(--submenu-top, 0px) !important;    /* set via JS */
  left: var(--submenu-left, 0px) !important;  /* set via JS */
  z-index: 1000000 !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: opacity .12s ease;
}

/* === 4) Show submenu when hovered/expanded === */
#secondary-menu .menu-item-has-children:hover > .sub-menu,
#secondary-menu .menu-item-has-children[aria-expanded="true"] > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/*.woocommerce-notices-wrapper {
    display: none !important;
}*/

a.added_to_cart.wc-forward {
  margin-left: 20px;
}

a.crt-logo.crt-tag {
  display: none !important;
}

.rsvp-button {
  background-color: #3BA5A5;
  color: #ffffff;
  font-family: "Quattrocento Sans", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  padding: 10px 20px;
  border: none;
  border-radius: 5px !important;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.rsvp-button:hover {
  background-color: #2B7878 !important;
}

.woocommerce-Price-amount {
    color: #3BA5A5;
}

.fc-title {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.elementor-icon-box-description,
.elementor-image-box-description {
    text-align: left !important;
}

/* Override when inside .pricing-icon-box */
.pricing-icon-box .elementor-icon-box-description,
.pricing-icon-box .elementor-image-box-description {
    text-align: center !important;
}

/* Hide the footer form only on page ID 399 */
.page-id-399 #footer_contact {
  display: none !important;
}