.catalog__wrapper {
    display: flex;
    flex-direction: column;
}

.catalog__navs {
    margin-top: 40px;
}

.catalog__category-arrow {
    width: 16px;
    height: 16px;

    & svg {
        width: 100%;
        height: 100%;
    }
}

.catalog__subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.catalog__subcategories li {
    height: fit-content;
}

.catalog__subcategory {
    display: block;
    white-space: nowrap;
    padding: 8px 12px;
    background: white;
    border-radius: 120px;
    color: var(--Grey80, #313131);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    transition: all 0.3s;
    /* 22.4px */
}

.catalog__subcategory:hover {
    background: var(--Primary100, #93764c);
    color: white;
}

.catalog__subcategory_active {
    background: var(--Primary100, #93764c);
    color: white;
}

.catalog__right {
    position: relative;
    width: 100%;
}

.catalog__items {
    position: relative;
    z-index: 1;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 32px;
}

.catalog__item {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.catalog__stock {
    position: absolute;
    z-index: 3;
    top: 20px;
    left: 20px;
    padding: 4px 12px;
    border-radius: 12px;
    background: #00B223;
    color: #FFF;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    /* 18px */
}

.catalog__stock_red{
    background: #B22300;
}

.catalog__item-link {
    position: relative;
    z-index: 1;
    aspect-ratio: 1/1;
    display: block;
    flex-shrink: 0;
    overflow: hidden;
}

.catalog__item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.catalog__item-link:hover .catalog__item-img {
    transform: scale(1.1);
}

.catalog__item-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.catalog__item-title {
    color: var(--Black, #0D0D0D);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 30.8px */
    letter-spacing: -0.28px;
}

.catalog__item-bottom {
    margin-top: 8px;
}

.catalog__item-price {
    display: flex;
    gap: 4px;
    color: var(--Primary100, #93764c);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 28.8px */
    letter-spacing: -0.24px;
}

.catalog__item-wrapper {
    margin-top: 0;
    height: 100%;
    padding: 12.5px 14.5px;
    border-radius: 100px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    cursor: pointer;
    letter-spacing: -0.14px;
    transition: all 0.3s;
}


.catalog__nav-head {
    display: none;
}

.catalog__headers {
    position: relative;
}

.catalog__nav-button {
    display: none;
}

@media(width < 1200px) {

    .catalog__nav-head {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        height: 80px;
        padding: 12px 40px;
    }

    .catalog__nav-close {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        border-radius: 100px;
        border: 1px solid var(--Light-golden, #EDEADF);
    }

    .catalog__subcategories{
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .catalog__nav-button {
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        background: var(--White, #FFF);
        width: 56px;
        height: 56px;
        position: absolute;
        z-index: 1;
        left: 0;
    }

    .catalog__items {
        margin-top: 32px;
    }

    .catalog__item-title {
        font-size: 28px;
        font-style: normal;
        line-height: 100%;
        /* 20px */
        letter-spacing: -0.4px;
    }

    .catalog__item-sku {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 136%;
        /* 16.32px */
        letter-spacing: -0.12px;
    }

    .catalog__item-descr {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 136%;
        /* 16.32px */
        letter-spacing: -0.12px;
    }
}

@media(width < 768px) {

    .catalog__items{
        grid-template-columns: repeat(1, 1fr);
    }

    .catalog__item {
        flex-direction: column;
    }

    .catalog__item-img{
        border-radius: 24px;
    }
    .catalog__item-title {
        font-size: 24px;
    }

    .catalog__categories {
        padding: 32px 0;
    }


    .catalog__nav-head {
        padding: 12px 0;
    }

    .catalog__nav-close {
        width: 48px;
        height: 48px;
    }

    .catalog__category-name .catalog__category-name-str {
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%;
        /* 16px */
        letter-spacing: -0.32px;
    }

    .catalog__wrapper{
        margin-top: 60px;
    }

    .catalog__subcategories {
        gap: 20px;
    }

    .catalog__subcategory {
        font-size: 16px;
    }

}