.all-categories {
    padding: 25px 0;
}

.letters-wrapper {
    position: sticky;
    top: 0;
    z-index: 9;
    background-color: #fff;
}

.letters {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
    grid-gap: 8px;
    margin: 0 auto;
    max-width: 1250px;
    padding: 0;
}

.main-bar-fixed ~ .all-categories .letters-wrapper {
    top: 69px;
    padding: 10px;
    box-shadow: 0px 5px 15px -9px rgba(0,0,0,0.2);
}

.letter-link {
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e9e9e9;
    border-radius: 3px;
    cursor: pointer;
    user-select: none;
    color: #3b5999;
    transition: all 350ms ease;
}

.letter-link.disable {
    opacity: 0.6;
    pointer-events: none;
}

.letter-link:hover {
    border-color: #3b5999
}

.letter-link.active {
    background-color: #f1f1f1;
    border: 1px solid #e9e9e9 !important;
}

.list-category {
    margin-top: 35px;
}

.manufacture-item-link {
    display: block;
    position: relative;
}

.thumb-manufacture {
    position: relative;
    border: 1px solid #e1e1e1;
}

.thumb-manufacture::after {
    content: "";
    display: block;
    padding-top: 100%;
}

.thumb-manufacture img,
.logo-manufacture img {
    width: 80%;
    height: 80%;
    display: block;
    position: absolute;
    object-fit: cover;
    object-position: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-manufacture {
    width: 100px;
    height: 50px;
    background-color: #fff;
    position: absolute;
    border: 1px solid #e8e8e8;
    top: 118px;
    left: 16px;
}

.logo-manufacture img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.manufacture-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--black);
    font-size: 15px;
    margin-top: 6px
}

.manufacture-item-link:hover .manufacture-item-title {
    color: var(--primary-dk)
}

.category-box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.category-box + .category-box {
    margin-top: 25px;
}

.element-letter {
    width: 48px;
    height: 48px;
    background-color: #f1f1f1;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.sorter-box {
    width: calc(100% - 48px);
    padding-left: 25px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 16px;
}

.manufacture-breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0;
    min-height: 45px
}

.title_folder{
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
    max-width: 1250px;
    padding: 0;
    margin-bottom: 10px;
}

.main-manufactures{
    padding: 0 0;
}

.name_manufacture{
    text-align: center;
    height: 28px;
    margin-top: 35px;
    margin-bottom: 10px;
}

.thumb_manufacture {
    position: relative;
    border: 1px solid #ececec;
    min-height: 202px;
    max-height: 202px;
}

.logo_manufacture {
    position: absolute;
    width: 100%;
    padding: 10px;
    bottom: 0;
    left: 0;
    border: 1px solid #ececec;
}

@media (max-width: 1280px) {
    .sorter-box {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1111px) {
    .all-categories.main-manufactures {
        flex-wrap: wrap;
    }

    .all-categories {
        position: sticky;
        position: -webkit-sticky;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 10px;
        position: relative;
    }

    .container {
        width: 100%
    }

    .list-category {
        margin-top: 10px;
    }

    .letters-wrapper {
        order: 2;
        width: 32px;
        z-index: 9;
    }

    .list-category {
        position: relative;
        width: 100%;
    }

    .letters {
        display: block;
        width: 32px;
    }
    .content_fixed {
        position: fixed;
        top: 50px;
        right: 0
    }

    .letter-link {
        width: 32px;
        height: 24px;
        border-radius: 0;
        margin: 0;
        padding: 0;
        border: none;
        font-size: 12px;
        font-weight: bold;
        color: #333;
        line-height: 1;
    }

    .category-box {
        background-color: #fff;
    }

    .element-letter {
        width: 36px;
        height: 36px;
    }

    .sorter-box {
        width: calc(100% - 36px)
    }
}

@media (max-width: 900px) {
    .sorter-box {
        grid-template-columns: repeat(4, 1fr);
    }

    .logo-manufacture {
        left: 50%;
        transform: translateX(-50%);
        top: 90px;
    }
}

@media (max-width: 700px) {
    .sorter-box {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-manufacture {
        width: 90px;
        top: 80px;
        height: 45px;
        left: 50%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .content_fixed {
        top: 80px;
    }
}
