/*
 Theme Name:   Werk Child
 Theme URI:    https://werk.wpengine.com/
 Description:  Werk Child Theme
 Author:       the Werk team
 Author URI:   https://wedesignthemes.com/
 Template:     werk
 Version:      1.0.0
 Text Domain:  werk-child
*/

/* Левый Sidebar */
.wdt-sidebar-wrapper {
	background: #161519;
}
/* Попап сортировки товаров */
.admin-bar .select2-container--open .select2-dropdown.select2-dropdown--below {
	background: #1D1C20;
}

#yith-quick-view-content div.product .summary .woocommerce-product-details__short-description p br {
    display: block;
}

.wc-block-cart-items.wp-block-woocommerce-cart-line-items-block {
    --wdtPrimaryColor: #161519;
}

.is-large.wc-block-cart .wc-block-cart-items th:first-child {
    border-color: rgba(var(--wdtBorderColorRgb), 0.2); 
}

.is-large.wc-block-cart .wc-block-cart-items th:last-child {
    border-color: rgba(var(--wdtBorderColorRgb), 0.2); 
}

.woocommerce .product-loop-sorting .product-display-controller .product-change-display li span, .woocommerce .product-loop-sorting .product-layout-controller .product-change-layout li span, .woocommerce .product-loop-sorting .product-list-options-controller .product-list-options li span {
    background: #161519;
}

.woocommerce .product-loop-sorting .product-layout-controller .product-change-layout li span.active:before, .woocommerce .product-loop-sorting .product-display-controller .product-change-display li span.active:before, .woocommerce .product-loop-sorting .product-list-options-controller .product-list-options li span.active:before {
    color: #ffffff !important;
}

.wdt-shop-cart-widget-content > .elementor-menu-cart__footer-buttons > .elementor-button.elementor-button--checkout.elementor-size-md {
    display: none;
}

.elementor-widget-container > .wdt-product-summary.summary.entry-summary > .product_additional_info_wrapper {
    display: none;
}

@media only screen and (max-width: 767px) {
    .search.search-results .tpl-blog-holder .wdt-one-third {
        width: 50% !important;
    }    
}

@media only screen and (max-width: 767px) {
    #searchform ul.quick_search_results li.quick_search_data_item {
        flex: 1 1 100%;
        width: 50%;
    }
}

/* SHIZA NEW PRODUCTS GRID 5220055 */
body.home .elementor-element-5220055 .wdt-products-container.woocommerce {
    overflow: visible;
}

body.home .elementor-element-5220055 ul.products:not(.swiper-wrapper) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 15px;
    width: 100% !important;
    margin: 0 !important;
}

body.home .elementor-element-5220055 ul.products:not(.swiper-wrapper) > li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
}

body.home .elementor-element-5220055 ul.products:not(.swiper-wrapper) > li.isotope-grid-sizer {
    display: none !important;
}

@media (max-width: 767px) {
    body.home .elementor-element-5220055 ul.products:not(.swiper-wrapper) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
/* END SHIZA NEW PRODUCTS GRID 5220055 */

/* SHIZA PRIVACY HEADER VISUAL FIX */

body.page-id-3686 #header-wrapper {
    margin-bottom: 0 !important;
}

body.page-id-3686 .main-title-section-wrapper {
    float: none !important;
    width: calc(100% - 40px) !important;
    max-width: 1920px !important;
    margin-left: auto !important;
    margin-right: auto !important;

    background-color: #17161c !important;
    background-image: url("/wp-content/uploads/2024/05/cover-croshki.png") !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    border-radius: var(--wdtRadius_3X) !important;
    overflow: hidden !important;
}

body.page-id-3686 .main-title-section-wrapper > .main-title-section-bg {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    body.page-id-3686 .main-title-section-wrapper {
        width: calc(100% - 40px) !important;
    }
}

/* END SHIZA PRIVACY HEADER VISUAL FIX */
