/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
h1,h2,h3,h4,h5,h6{margin-block-start:0.5rem;margin-block-end:0.5rem;}
.elementor-widget-container li::marker {
    content: none;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
margin-top: 8px;
color:#666;
}
  
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color: #7c7c7c;
}
.woocommerce-Tabs-panel .woocommerce-Reviews-title {
    display: none;
}
.woocommerce .woocommerce-tabs table.shop_attributes th, 
.woocommerce .woocommerce-tabs table.shop_attributes tr, 
.woocommerce .woocommerce-tabs table.shop_attributes td, 
.woocommerce table.shop_attributes{
    border: 0;
}
.eael-simple-menu-container .eael-simple-menu .eael-simple-menu-indicator {
    top: 0px!important;
}
.woocommerce .woocommerce-result-count {
    margin: 0.5em 0 1em;
}
.elementor-widget-woocommerce-cart .woocommerce table.shop_table .button {
    float: none!important;
}
.rating-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.elementor-product-loop-item--align-center ul.products li.product .star-rating {
    margin-right: 0;
    margin-left: 0;
}
.rating-count {
    margin-left: 2px;
    color: #a1a1a1;
    font-size: 12px;
}
.elementor-products-grid ul.products.elementor-grid li.product   {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}
.woocommerce ul.products li.product a img {
     margin: 0 0 0!important;
}
.woocommerce-loop-product__title {
    min-height: 48px;
    max-height: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto;
}.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit {
  border-radius: 8px !important;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
    background: transparent !important;
}

/* Ensure the container is relatively positioned */
#account-login {
    position: relative;
}

/* Position the menu absolutely relative to the button */
#log-reg {
    position: relative; /* Ensure the button is the reference for the absolute menu */
}

/* Style the menu to appear below the button */
#account-login .elementor-widget-nav-menu {
    display: none;
    position: absolute;
    top: 100%; /* Position the menu directly below the button */
left: 50%;
transform: translateX(-50%);
    width: 180px; /* Adjust the width as needed */
    z-index: 9999; /* Ensure the menu appears on top */
  
}

/* Show the menu only when hovering over the button */
.logged-in-menu #log-reg:hover + .elementor-widget-nav-menu {
    display: block;
}

/* Ensure submenu items are visible when hovering over the menu */
.logged-in-menu .elementor-widget-nav-menu ul {
    display: none;
    background-color: white;
    padding: 0;
    margin: 0;
}

.logged-in-menu .elementor-widget-nav-menu:hover ul {
    display: block;
}

/* Optional: Add a transition effect for a smoother dropdown */
#account-login .elementor-widget-nav-menu {
    transition: opacity 0.3s ease-in-out;
}
.dgwt-wcas-has-img .dgwt-wcas-sp>* {
    display: inline-block;
white-space:nowrap;
width:40%;
}
.dgwt-wcas-open-pirx .dgwt-wcas-suggestions-wrapp {
    border-color: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
}
html:not(.dgwt-wcas-overlay-mobile-on) .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    box-shadow:0 0 0 0 #eee;;
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    border: 1px solid #c7c7c7;
    border-radius: 8px;
}
.elementor-element-4fc8a5dc .woocommerce-breadcrumb {
    margin: 0;
}
.elementor-7462 .elementor-element.elementor-element-cc58cd9 .shop_table .invoice{margin-left:2px;}
.out-of-stock {
    color: red!important; /* Change this to your desired color */
    font-weight: bold;
}
.in-stock {
    color: green!important; /* Change this to your desired color */
    font-weight: bold;
}
/* Out of stock badge styling */
.out-of-stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #d40028; /* Red background */
    color: #fff;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 10;
}
.product_meta .sku_wrapper { display: none; }
