.types-list {
    margin: 60px 0px 0px;
}
.types-list-content {
    padding: 0px 30px;
    margin: 0px -30px;
    display: flex;
    gap: 46px; 
    /* overflow: auto;  */
}
.type-item:first-child {
    min-width: 56px;
    max-width: 56px;
}
.type-item {
    min-width: 140px;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.type-item.show-all-items {
    min-width: 74px;
    max-width: 74px;
}
.types-list .type-item svg {
    width: 40px;
    height: 40px;
}
.type-name {
    color: var(--blue-dark);
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    transition: var(--transition);
}
.type-item:hover .type-name {
    color: var(--blue-hover);
}
.all-types-list,
.all-combi-list {
    position: fixed;
    top: 120px;
    left: 0;
    display: none;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 30px 24px 120px;
    background-color: var(--white);
    overflow: auto;
    z-index: 10;
}
.all-types-container {
    position: relative;
    margin: 0 auto;
    max-width: 1296px;
}
.all-types-list .h1,
.all-combi-list .h1 {
    text-align: center;
}
.all-types-by-groups {
    margin: 60px 0px 0px;
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 300px));
    justify-content: center;
    gap: 24px;
}
.all-combi-list .all-types-by-groups {
    grid-template-columns: repeat(3, 1fr);
}
.group-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.all-types-by-groups .group-heading .group-heading-icon {
    width: 24px;
    height: 24px;
}
.group-items-list,
.group-combi-list {
    margin: 24px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.group-combi-list {
    gap: 12px;
}
.group-item {
    width: fit-content;
    display: flex;
    gap: 12px;
}
.all-types-by-groups .group-item svg {
    width: 24px;
    height: 24px;
}
.all-types-by-groups .group-item svg path {
    fill: #2E3A5966;
    transition: var(--transition);
}
.group-item-name {
    color: var(--blue-dark);
    font-weight: 500;
    font-size: 12px;
    line-height: 20px;
    transition: var(--transition);
}
.group-item:hover .group-item-name {
    color: var(--blue);
}
.group-item:hover svg path {
    fill: var(--blue);
}
.all-types-close,
.all-combi-close {
    position: absolute;
    top: 8px;
    right: 0px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    border-radius: 50px;
    color: var(--white);
    transition: var(--transition);
    cursor: pointer;
}
.all-types-close:hover,
.all-combi-close:hover {
    background-color: var(--blue-dark);
}

@media only screen and (max-width: 1279px) {
    .catalog.container {
        overflow-x: hidden;
    }
    .types-list-content {
        overflow: auto;
        margin-right: calc(100% - 100vw);
        padding-right: 30px;
        margin-left: -30px;
        padding-left: 30px;
    }
}

@media (max-width: 1023px) {
    .all-types-list,
    .all-combi-list {
        top: 100px;
    }
    .catalog .catalog-filter-icon,
    .catalog .catalog-sort-icon {
        display: flex;
    }
     .show-all-items.text-secondary {
        display: flex;
        justify-content: center;
    }
    .types-list-content {
        padding-left: 20px;
        padding-right: 0px;
        margin: 32px -20px 0px;
    }
    .catalog .catalog-ordering-title,
    .catalog-navigation-dropdown-list,
    .all-combinations-btn.text-secondary {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .all-types-list,
    .all-combi-list {
        top: 90px;
    }
    .types-list {
        margin: 48px 0px 0px;
    }

    .types-list-content {
        padding-right: 0px;
        gap: 36px;
    }

    .type-item {
        min-width: 120px;
        max-width: 120px;
    }

    .types-list .type-item svg {
        width: 32px;
        height: 32px;
    }
    .all-types-by-groups,
    .all-combi-list .all-types-by-groups {
        margin: 32px 0px 0px;
        grid-template-columns: 1fr;
    }
    .all-types-close,
    .all-combi-close {
        padding: 0px;
        background-color: transparent;
    }
    .all-types-close svg path,
    .all-combi-close svg path {
        stroke: var(--gray);
        transition: var(--transition);
    }

    .all-types-close:hover svg path,
    .all-combi-close:hover svg path {
        stroke: var(--blue);
    }
}

@media (max-width: 399.75px) {

    .all-types-list .h1,
    .all-combi-list .h1 {
        text-align: left;
    }
}