/* 
Theme Name: Hello Xmedia
Theme URI: https://github.com/elementor/hello-theme/
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: 1.0.1
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
*/

.with-sidebar > .e-con-inner{
    display: grid;
    grid-template-columns: repeat(4, minmax(auto, 1fr)) !important;
}
@media(max-width:992px) {
    .with-sidebar > .e-con-inner{
        grid-template-columns: repeat(3, minmax(auto, 1fr)) !important;
    }
}
@media(max-width:786px) {
    .with-sidebar > .e-con-inner{
        grid-template-columns: 1fr !important;
    }
}
@media(max-width:992px) {
    .with-sidebar .main-content {
        grid-column: 2/4 !important;
    }
}
@media(min-width:786px) {
    .with-sidebar .main-content {
        grid-column: 2/5 !important;
    }
}

@media(max-width:786px) {
    .with-sidebar .main-content {
        grid-column: 1 !important;
    }
}
@media(min-width:786px) {
    .with-sidebar .side-content {
        grid-column: 1 !important;
    }
}

@media(max-width:786px) {
    .with-sidebar .side-content {
        grid-column: 1 !important;
    }
}
.noUi-touch-area {
    border-radius: 100% !important
}

.noUi-horizontal .noUi-handle {
    width: 16px !important;
    height: 16px !important
}

.noUi-handle.noUi-handle-lower {
    border-radius: 3px !important;
    background: var(--e-global-color-primary) !important
}

.noUi-handle.noUi-handle-upper {
    border-radius: 3px;
    background: var(--e-global-color-primary) !important
}

.noUi-connect {
    background: #666
}

.noUi-target {
    border: none !important;
    background: 0 0 !important
}

.noUi-base,
.noUi-connects {
    width: 100%;
    height: 70% !important;
    position: relative;
    z-index: 1;
    padding-top: 3px
}

.woocommerce select:focus {
    box-shadow: none !important
}

.facetwp-slider-reset {
    box-shadow: none !important;
    border-radius: 99px !important;
    background-color: var(--e-global-color-accent) !important;
    color: #fff;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    padding-left: 12px !important;
    padding-right: 12px !important
}

select.facetwp-sort-select {
    float: right;
    width: 100%
}

.facetwp-facet-results_count {
    float: right !important;
    margin-top: 7px !important
}

.facetwp-checkbox {
    margin-left: 0 !important;
}

.facetwp-checkbox {
    background-image: url('./images/checkbox.png') !important;
    background-size: 14px 14px;
}

.facetwp-checkbox.checked {
    background-image: url('./images/checkbox_checked.png') !important;
    background-size: 14px 14px;

}

.facetwp-sort select.facetwp-sort-select,
.facetwp-sort select.facetwp-sort-select:focus,
.facetwp-sort select.facetwp-sort-select:active {
    /* background: var(--accent); */
    border: 0;
    border-radius: 0;
    color: #000;
    outline: 0;
}

input.facetwp-slider-reset {
    display: none;
}

.noUi-connects:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f1f1f1;
    left: 0;
    top: 0;
}

.noUi-handle {
    border: 0 !important;
}


.elementor-products-grid ul.products.elementor-grid li.product {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100%;
    align-items: center;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 175px;
    object-fit: contain;
}

h2.woocommerce-loop-product__title {
    color: #000;
    text-align: center;
    padding: 0 10px;
    margin-top: 5px !important;
    font-size: 20px;
    font-weight: 600;
}

.woocommerce .price_label .from,
.woocommerce .price_label .to,
.woocommerce ul.products li.product .price,
.product-quantity,
.woocommerce .price ins,
.woocommerce-Price-amount,
.woocommerce-loop-category__title .count,
.woocommerce .price {
    color: #000;
    font-weight: 700;
    font-size: 16px;
    background: 0 0;
    text-decoration: none;
}

.woocommerce ul.products li.product .add_to_cart_button.ajax_add_to_cart {
    margin-top: auto !important;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    color: #fff !important;
    font-weight: 300 !important;
    border: 1px solid var(--e-global-color-primary);
    background-color: var(--e-global-color-primary) !important;
    border-radius: 3px;
    padding-right: 0 !important;
    font-size: 14px;
    text-decoration: none !important;
    font-style: normal !important;
    padding: 10px !important;
}

.woocommerce ul.products li.product .add_to_cart_button.ajax_add_to_cart:hover,
.woocommerce ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart):hover {
    border: 1px solid var(--e-global-color-accent);
    background-color: var(--e-global-color-accent) !important;
}

.woocommerce ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart) {
    margin-top: auto !important;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    color: #fff !important;
    font-weight: 300 !important;
    border: 1px solid #F5F5F5;
    background-color: #F5F5F5 !important;
    border-radius: 3px;
    padding-right: 0 !important;
    font-size: 14px;
    text-decoration: none !important;
    font-style: normal !important;
    padding: 10px !important;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.woocommerce-loop-product__link span.onsale {
    display: block;
    color: var(--e-global-color-d81187d);
    background-color: var(--e-global-color-accent);
    font-size: 0.75rem;
    font-weight: 400;
    border-radius: 100px;
    min-width: 100px;
    min-height: 28px;
    line-height: 28px;
    left: auto;
    right: 0;
}

a.woocommerce-LoopProduct-link.woocommerce-loop-product__link span.price {
    margin-top: auto;
}

.stock_archive {
    color: green;
    font-size: 0.75rem
}

.stock_archive .no_stock_archive {
    color: #cc1818;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
    background-color: var(--e-global-color-primary);
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt:hover {
    background-color: var(--e-global-color-accent);
}

:is(.elementor-widget-woocommerce-product-add-to-cart, .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart, .elementor-widget-wc-add-to-cart, .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart .button:where(:not(:first-child)),
:is(.elementor-widget-woocommerce-product-add-to-cart, .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart, .elementor-widget-wc-add-to-cart, .woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart button:where(:not(:first-child)) {
    margin-left: 0 !important;
}

:is(.elementor-widget-woocommerce-product-add-to-cart, .woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart, .elementor-widget-wc-add-to-cart, .woocommerce div.product .elementor-widget-wc-add-to-cart) .quantity .qty {
    margin-right: 10px;
}