/* Header */

.elementor-sticky img {
    transition: width 0.25s ease-out;
}

.elementor-sticky .elementor-element-9daf184 {
    overflow: hidden;
    transition: all 0.25s ease-out !important;
    height: 25px;
}

.elementor-sticky--active img {
    width: 150px !important;
}

.elementor-sticky--active .elementor-element-9daf184 {
    height: 0;
}

.elementor-nav-menu--dropdown {
    background-color: #198847 !important;
}

.elementor-nav-menu--dropdown a {
    color: white !important;
    fill: white;
}


.elementor-sub-item.elementor-item-active,
.elementor-nav-menu--dropdown a:hover {
    background-color: white !important;
    color: #198847 !important;
}

.menu-icon-span {
    display: none;
}

#e-n-menu-content-2362 .e-child {
    padding-top: 25px;
}

.elementor-location-header span.sub-arrow {
    padding: 0px;
    font-size: 26px;
}

.elementor-location-header p {
    margin: 0px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    z-index: 1 !important;
}


/* Search Bar */
.aws-container input::placeholder {
    color: #118A4E !important;
}

.aws-container {
    color: #198847 !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.aws-search-btn {
    background: white !important;
    border: none;
}

/* Brands Slider */
.elementor-swiper-button {
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #A3A3A3;
    border-radius: 100% 100% 100% 100%;
    padding: 5px 5px 5px 5px;
    font-size: 30px !important;
}

/* Sliders */
div.elementor-swiper-button {
    visibility: hidden;
}

/* Desktop Adjustments */
@media (min-width: 768px) {
    div.elementor-swiper-button {
        visibility: visible;
    }

    .elementor-element.elementor-arrows-position-outside .swiper .elementor-swiper-button-prev {
        left: -200px;
    }

    .elementor-element.elementor-arrows-position-outside .swiper .elementor-swiper-button-next {
        right: -200px;
    }
}


/* Mobile Adjustments */
@media (max-width: 767px) {
    .elementor-sticky--active img {
        width: 100px !important;
    }
}

/* Fix Dialog */
@media (max-width: 1024px) {
    body.admin-bar .dialog-type-lightbox {
        height: 100vh;
        position: fixed;
    }
}



/* Mantener el menú abierto cuando tiene la clase highlighted */
.elementor-nav-menu .elementor-item.highlighted .elementor-sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Prevenir que se cierre al perder el hover */
.elementor-nav-menu .elementor-item.highlighted {
    pointer-events: auto !important;
}

/* Asegurar que los submenús permanezcan visibles */
.elementor-nav-menu .elementor-item.highlighted .elementor-sub-menu li {
    display: list-item !important;
    opacity: 1 !important;
}

/* Estabilizar la transición */
.elementor-nav-menu .elementor-sub-menu {
    transition: none !important;
}


/* Inputs */
.woocommerce-Input {
    padding: 10px !important;
}

select,
.select2-selection,
.woocommerce-Input {
    border-radius: 10px !important;
    border: 1px solid #d5d8dc !important;
    color: #A3A3A3 !important;
    background-color: white !important;
}

/* Focus Inputs */
select:focus,
.select2-selection:focus,
.woocommerce-Input:focus {
    border-color: #198847 !important;
    box-shadow: 0 0 5px rgba(25, 136, 71, 0.5) !important;
}

/* Social Login */
.nsl-container {
    margin-top: 25px !important;
}

/* Sticky Header Fix */
.e-con.elementor-sticky--active {
    z-index: 9999 !important;
}

/* Buttons */
.woocommerce a.button.alt {
    background-color: #198847 !important;
}

/* Search Bar */
.aws-search-field {
    background-color: white !important;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
    padding: 2px 0 !important;
}