.dm-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 15px 0;
    align-items: center;
}

.dm-flex img {
    margin: auto;
    display: block;
}

.dm-flex .obrazek {
    text-align: center;
}

@media (min-width: 992px) {
    .dm-flex>div:nth-child(odd) {
        padding-right: 15px;
    }

    .dm-flex>div:nth-child(even) {
        padding-left: 15px;
    }

    .dm-flex .fl10 {
        width: calc(100% / 10);
    }

    .dm-flex .fl50 {
        width: calc(100% / 2);
    }

    .dm-flex .fl25 {
        width: calc(100% / 4);
    }

    .dm-flex .fl75 {
        width: calc(100% / 4 * 3);
    }

    .dm-flex .fl90 {
        width: calc(100% / 10 * 9);
    }



    .dm-flex>div {
        margin: 10px 0;
    }

    .ikonka {
        width: calc(100% / 6);
    }

    .p-short-description .ikonka {
        width: calc(100% / 4);
    }
    
    .threeicons .ikonka {
        width: calc(100% / 3);
    }

    .fouricons .ikonka {
        width: calc(100% / 4);
    }

    .fouricons .ikonka:nth-child(4n) {
        padding-right: 0;
        width: calc(100% / 4 - 10px);
    }

    .fouricons .ikonka:nth-child(4n+1) {
        padding-left: 0;
        width: calc(100% / 4 - 10px);
    }
}

.dm-flex .fl100 {
    width: 100%;
    padding: 0 !important;
}

@media (max-width: 992px) {
    .threeicons .ikonka {
        width: calc(100% / 1);
        padding-left: 0;
        padding-right: 0;
    }

    .fouricons .ikonka {
        width: calc(100% / 2);
    }

    .fouricons .ikonka:nth-child(odd) {
        padding-left: 0;
    }

    .fouricons .ikonka:nth-child(even) {
        padding-right: 0;
    }

    .dm-flex>div {
        width: 100%;
        padding: 20px 0;
        margin: 0;
    }

    .dm-flex>div.obrazek {
        order: -10;
    }

    .ikonka {
        width: calc(100% / 3);
    }
}

.dm-flex h1,
.dm-flex h2,
.dm-flex h3,
.dm-flex h4,
.dm-flex h5,
.dm-flex h6 {
    margin-top: 0 !important;
}

.ikonky {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.ikonka {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px 10px 10px;
}

.ikonky img {
    height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

.basic-description {
    padding: 0;
    width: 100%;
}

.extended-description>p {
    display: none !important;
}

.extended-description {
    width: fit-content;
    max-width: 100%;
}

aside .box-filters {
    display: none;
}

@media (max-width: 768px) {
    .type-detail .p-data-wrapper,
    .type-detail .pr-action {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
    }

    .type-detail .p-short-description,
    .type-detail .detail-parameters  {
        order: -10;
        margin-top: 22px;
        margin-bottom: 0;
    }

    .type-detail .p-to-cart-block,
    .type-detail .pr-action {
        order: -20;
    }
    
    .type-detail .p-to-cart-block {
        margin-top: 10px;
    }
}

@media (min-width: 768px) {
    .submenu-visible .navigation-in>ul>li.ext.exp>ul,
    #navigation .menu-level-2>li {
        align-items: flex-start;
    }
}

.type-category .category-top {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.type-category .category-top>h4 {
    order: 10;
}

#productsTop {
    order: 10;
}

#content .filters-wrapper > div:first-of-type, #footer .filters-wrapper > div:first-of-type {
    text-align: center;
}

.dm-flex.ico {
    align-items: unset;
}

.ikonka>span:nth-child(1) {
    margin-bottom: 10px;
}

.threeicons img,
.fouricons img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    overflow: hidden;
    aspect-ratio: 1/1;
}