/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

.wd-carousel.wd-vertical > .wd-carousel-wrap.nimira-header-slider-left,
.wd-carousel.wd-vertical > .wd-carousel-wrap.nimira-header-slider-right {
    flex-direction: column;
}

.wd-carousel.wd-vertical > .wd-carousel-wrap.nimira-header-slider-left > .wd-carousel-item,
.wd-carousel.wd-vertical > .wd-carousel-wrap.nimira-header-slider-right > .wd-carousel-item {
    flex-shrink: 0;
}

#main {padding: 0!important; }

.wd-entities-title a {
    text-align: left;
    color: #001D3B;
    font-size: 1.75rem;
}

:root {
    --nimira-menu-width: 340px;
}

/* Larghezza del pannello */
.mobile-nav.wd-side-hidden-nav.wd-right {
    width: var(--nimira-menu-width);
}

/* Transizione del sito */
.wd-page-wrapper.website-wrapper {
    transition: transform 0.35s ease;
    will-change: transform;
}

/* Quando il menu è aperto, il sito trasla */
body:has(.mobile-nav.wd-side-hidden-nav.wd-right.wd-opened)
.wd-page-wrapper.website-wrapper {
    transform: translate3d(
        calc(var(--nimira-menu-width) * -1),
        0,
        0
    );
}


header .searchform {
    width: 280px;
    height: 48px;
    background: white;
    padding: 0;
    margin: 0;
    border-radius: 24px;
    margin-left: 30px;
}

    

header input[type="text"] {
    border: none!important
}

header input[type="text"]::placeholder {
    opacity: 0;
}

.custom-cat-slider  .wd-cat-content .wd-entities-title {
    min-width: 281px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #001D3B;
    border-radius: 36px;
    height: 72px;
}

.custom-cat-slider .wd-cat-thumb {box-shadow: none!important;}
.custom-cat-slider .category-image-wrapp {padding: 30px;}

.custom-cat-slider .wd-cat-content {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-top: 20px;
}

.custom-cat-slider .category-grid-item:hover .wd-entities-title {background-color: var(--wd-alternative-color); }

 .wp-block-post-title a {
    min-width: 281px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: var(--wd-primary-color); 
    border-radius: 36px;
    height: 72px;
}

 .wp-block-post-title a:hover {
    background-color: var(--wd-alternative-color); 
    color: var(--wd-primary-color); 
}

.wd-loop-builder-on .wd-product-wrapper {
    align-items: center;
} 

.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {max-width: 300px!important; }
.wd-loop-prod-thumb.wd-product-thumb .wd-product-img-link {max-width: 300px!important; }

.acme-products-filter__empty {
    display: flex;
    margin: 0 auto;
    font-size: 2rem;
    background-color: var(--wd-primary-color);
    color: #fff;
    font-weight: 800;
    height: 64px;
    width: fit-content;
    border-radius: 32px;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
}

.current-menu-item .woodmart-nav-link .nav-link-text {
    border-bottom: 3px solid #fff;
}
header .whb-col-center {column-gap: 50px; } 
.wd-tools-icon:before {color: #fff!important;}
.wd-tools-icon {border:none;}

.wd-social-icons>a {
    background-color: rgba(255,255,255,1)!important;
    color: var(--wd-primary-color)!important;
}
.wd-social-icons>a:hover {
    background-color: var(--wd-alternative-color)!important;
    color: #fff!important;
}


@media (max-width: 767px) {
    :root {
        --nimira-menu-width: 85vw;
    }


    .wp-block-post-title a {
        min-width: 200px;
        border-radius: 24px;
        height: 48px;
        font-size: 16px;
    }
}
