/* Kreska odzielająca Meble od ręki w headerze*/
#menu-item-30835 {
    margin: 15px 0;
}

#menu-item-30835 a {
    border-left: 1px solid black;

    padding: calc(1em - 15px) 1em;
}

#menu-item-30835 a::before {
    bottom: calc(1em - 15px);
}

/* Nowe układ headera mobilnego między 1326 i 991px szerokości ekranu*/

header .elementor-2453 .elementor-element.elementor-element-a669831 > .elementor-container {
    display: grid;
    grid-template-columns: 16.666% 66.666% 16.666%;
}

header .elementor-column.elementor-col-16, .elementor-column[data-col="16"] {
    width: 100%;
}

header .elementor-column.elementor-col-66, .elementor-column[data-col="66"] {
    width: 100%;
}

header [data-id="651a73c"] {
    order: 1;
}
header [data-id="9a33fef"] {
    order: 2;
}
header [data-id="a3f5a8f"] {
    order: 3;
}

@media (max-width: 1326px) {

    header .elementor-2453 .elementor-element.elementor-element-a669831 > .elementor-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    header .elementor-column.elementor-col-16, .elementor-column[data-col="16"] {
        width: 100%;
    }
    
    header .elementor-column.elementor-col-66, .elementor-column[data-col="66"] {
        width: 100%;

        margin-bottom: 10px;
    }
    
    header [data-id="651a73c"] {
        max-width: 210px;
    }
    header [data-id="9a33fef"] {
        grid-column-start: 1;
        grid-column-end: 3;
        max-width: 850px;
        justify-self: center;
        order: 3;
    }
    header [data-id="a3f5a8f"] {
        order: 2;
    }

}

/* Równa wysokość zdjęć wylistowanych produktów, na stronie dni mebli dobrodzień */

body.tax-product_cat .product-transition {
    height: 390px;
}

body.tax-product_cat .product-image {
    height: inherit;
}

body.tax-product_cat .product-image  img {
    height: inherit;

    object-fit: cover;
    object-position: center;
}

body.tax-product_cat .product-image .container-image-and-badge {
    height: inherit;
}

body.tax-product_cat .product-image .container-image-and-badge img {
    height: inherit;

    object-fit: cover;
    object-position: center;
}

@media (max-width: 1399px) {
    body.tax-product_cat .product-transition {
        height: 300px;
    }
}

@media (max-width: 1199px) {
    body.tax-product_cat .product-transition {
        height: 250px;
    }
}

@media (max-width: 991px) {
    body.tax-product_cat .product-transition {
        height: 200px;
    }
}

@media (max-width: 767px) {
    body.tax-product_cat .product-transition {
        height: 240px;
    }
}

@media (max-width: 575px) {
    body.tax-product_cat .product-transition {
        height: 180px;
    }
}

@media (max-width: 450px) {
    body.tax-product_cat .product-transition {
        height: 220px;
    }
}

/* Zmiana tagu a w product-archive i pętli produktów */

[data-dws-product-li="product-li"] .product-caption {
    margin-top: 0 !important;
}

[data-dws-product-li="product-li"] .product-caption .product-a-in-li {
    display: inline-block;
    width: 100%;
    padding-top: 15px;
}


/* Jeśli produkt nie ma przypisanej kategori okazja, to jego miniatura w pętli sklepu nie ma ikony dodania do koszyka. */

li[data-product-order="yes-have"] div.shop-action {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Stylowanie zwijania opisu kategorii */

.dws-category-description-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.dws-category-description-text {
    max-width: 1440px;
    width: 100%;

    overflow: hidden;
    transition: height 0.5s ease-in-out;

    position: relative;
}

.dws-category-description-text::after {
    content: "";
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, rgba(2,0,36,0) 25%, rgba(255,255,255,1) 80%);

    transition: background 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;

    position: absolute;
    bottom: 0;
    left: 0;
}

.dws-category-description-text span:not(:last-of-type) {
    display: inline-block;

    margin-bottom: 16px;
}

.dws-category-description-text h2 {
    margin-bottom: 20px;
}

.dws-category-description-text ul {
    margin-bottom: 16px;
}

.dws-category-description-text.collapse {
    height: 250px;
}

.dws-category-description-text.collapse::after {
    opacity: 1;
    visibility: visible;
}

.dws-category-description-more {
    margin-top: 10px;
}




/* Zmiana przycisków wysuwanego menu meble na headerze */

.mega-menu .elementor-icon-box-wrapper {
    height: 100%;
    min-height: 135px;
}
.mega-menu .elementor-icon-box-icon {
    width: 100%;
    height: 50%;
}
.mega-menu .elementor-icon {
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
}
.mega-menu .elementor-icon-box-content {
    width: 100%;
    height: 50%;
}
.mega-menu .elementor-icon-box-title {
    display: inline-block;
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}
.mega-menu .elementor-icon-box-title a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* 
body.blog #secondary #block-7,
body.blog #secondary #block-10,
body.blog #secondary #categories-2,
body.blog #secondary #tag_cloud-1{
    display: none;
}

body.single #secondary #block-5,
body.single #secondary #block-6,
body.single #secondary #categories-3,
body.single #secondary #tag_cloud-2{
    display: none;
}

 */
  

 /* .header__inner {
    width: 100%;
    height: 111px;

    @media (max-width: 1199px) {
        height: 133px;
    }

    @media (max-width: 991px) {
        height: 89px;
    }

    @media (max-width: 400px) {
        height: 70px;
    }
} */

.elementor.elementor-40709.elementor-location-header {
    height: 111px;
}

@media (max-width: 1199px) {
    .elementor.elementor-40709.elementor-location-header {
        height: 133px; 
    }
}

@media (max-width: 991px) {
    .elementor.elementor-40709.elementor-location-header {
        height: 89px; 
    }
}

@media (max-width: 400px) {
    .elementor.elementor-40709.elementor-location-header {
        height: 70px; 
    }
}

.elementor-element.elementor-element-ab4f776.e-con-full.e-flex.e-con.e-parent {
    position: absolute;
    left: 0;

    padding: 0;
}


.elementor-element.elementor-element-70ca2d6.e-con-full.e-flex.e-con.e-parent {
    padding: 0;
}

.single-product .breadcrumb-wrap {
        display: none;
}

/* .elementor-templates-modal__header__items-area {
    display: none;
}

.elementor-templates-modal__header__menu-area {
    display: none;
} */
