.catalog-sections {

}

/* Ссылки пагинации */
.catalog-body .navigation a,.catalog-body .navigation a:hover {
    color: #af9e88;
}

/* Карточка товара в списке товаров */
.catalog-card__container {
    display: flex;
    justify-content: center;
}

.catalog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3ddd8;
    margin-bottom: 30px;
    padding: 15px;
    cursor: default;
    justify-content: space-between;
    max-width: 430px;
}

.catalog-card:hover {
    box-shadow: 0px 0px 5px #e3ddd8;
}

.catalog-card:hover .catalog-card__title {
    color: #212529;
    text-decoration: none;
}

.catalog-card__link:hover {
    text-decoration: none;
}

.catalog-card__image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 222px;
    overflow: hidden;
}

.catalog-card__image {
    margin-bottom: 15px;
    width: 100%;
    height: auto;
}

.catalog-card__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #af9e88;
    text-decoration: underline;
}

.catalog-card__price {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

.catalog-card__props {
    margin-bottom: 15px;
}

.catalog-card__prop-line {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.catalog-card__prop-title {
    width: 50%;
    font-size: 14px;
    font-weight: 200;
    color: rgb(175, 158, 136);
}

.catalog-card__prop-value {
    width: 50%;
    font-size: 14px;
    font-weight: 200;
    text-align: right;
}

.catalog-card__buttons {
    display: flex;
    justify-content: flex-end;
}

.catalog-card__numbers {
    width: 110px;
    height: 46px;
    border: 1px solid #e3ddd8;
    border-radius: 23px;
    display: flex;
    justify-content: space-around;
}

.catalog-card__minus {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 25px;
    cursor: pointer;
}

.catalog-card__plus {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    line-height: 25px;
    cursor: pointer;
}

.catalog-card__quantity {
    width: 30%;
    border: 0;
    text-align: center;
    background: none;
    outline: none;
}

.catalog-card__btn-detail {
    width: 46px;
    height: 46px;
    background-image: url(/local/templates/avel/images/detail.png);
    background-size: 100%;
    margin: 0 10px;
    display: inline-block;
}

.catalog-card__btn-order, .catalog-card__btn-order-link, .catalog-card__btn-offer-order {
    width: 46px;
    height: 46px;
    background-image: url(/local/templates/avel/images/to_cart.png);
    background-size: 100%;
    cursor: pointer;
}

.catalog-sections-inner .catalog-section__name {
    font-size: 20px;
}

@media (max-width: 1023px) {
    .catalog-card {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 15px 40px;
    }

    .catalog-card__title {
        margin-bottom: 30px;
    }

    .catalog-card__props,
    .catalog-card__numbers,
    .catalog-card__btn-detail {
        display: none;
    }

    .catalog-card__btn-order, .catalog-card__btn-offer-order {
        margin-top: 25px;
    }

    .catalog-card__price {
        margin-top: 30px;
    }

}

@media (max-width: 1199px) {
    .catalog-card__image-container {
        height: 271px;
    }

    .catalog-sections-inner .catalog-sections {
        justify-content:center;
    }

    .catalog-sections-inner .catalog-section:nth-child(1),
    .catalog-sections-inner .catalog-section:nth-child(4),
    .catalog-sections-inner .catalog-section:nth-child(5),
    .catalog-sections-inner .catalog-section:nth-child(2),
    .catalog-sections-inner .catalog-section:nth-child(3),
    .catalog-sections-inner .catalog-section:nth-child(6) {
        width: 45%!important;
    }
}

@media (max-width: 1023px) {
    .catalog-card__image-container {
        height: 278px;
    }
}

@media (max-width: 799px) {
    .catalog-card__image-container {
        height: auto;
    }
}

@media (max-width: 600px) {
    .catalog-sections-inner .catalog-section:nth-child(1),
    .catalog-sections-inner .catalog-section:nth-child(4),
    .catalog-sections-inner .catalog-section:nth-child(5),
    .catalog-sections-inner .catalog-section:nth-child(2),
    .catalog-sections-inner .catalog-section:nth-child(3),
    .catalog-sections-inner .catalog-section:nth-child(6) {
        width: 100%!important;
        margin-bottom: 30px;
    }
}

/* new */
.catalog-wrap {
    padding-bottom: 30px;
}

.catalog-navigation-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-navigation-box__filter {
    width: 33.3%;
}

.catalog-navigation-box__sections {
    width: 66.6%;
}

.catalog-navigation-box__filter,
.catalog-navigation-box__sections {
    height: 60px;
    background: #4d473f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #928472;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}

.catalog-navigation-box__sections.active,
.catalog-navigation-box__filter.active {
    background: #34312d;
    color: #d0bfa9;
    border-bottom: 4px solid #af9e88;
    padding-top: 4px;
}

.catalog-title-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.catalog-title {
    font-size: 40px;
    font-family: "Ubuntu";
    color: rgb(175, 158, 136);
    font-weight: bold;
}

.catalog-navigation-body-container,
.catalog-body-container {
    margin-top: 30px;
}

.catalog-navigation-body {
    border-left: 1px solid #ece8e5;
    border-right: 1px solid #ece8e5;
    border-bottom: 1px solid #ece8e5;
    height: auto;
}

.catalog-body {
}

.nav-catalog-filter,
.nav-catalog-sections {
    display: none;
}

.nav-catalog-filter.active,
.nav-catalog-sections.active {
    display: block;
}

.nav-catalog-filter.in_progress {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

.nav-catalog-filter__box {
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ece8e5;
}

.nav-catalog-filter__box-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-catalog-filter__input {
    border: none;
    border-bottom: 1px solid #ece8e5;
    width: 30%;
    margin: 0 10px;
    outline: none;
    font-style: italic;
    text-align: center;
}

.nav-catalog-filter__box-title {
    font-size: 16px;
    color: rgb(52, 49, 45);
    margin-bottom: 15px;
    font-weight: bold;
}

.nav-catalog-filter__checkbox-container {
    position: relative;
}

.nav-catalog-filter__desc {
    font-size: 14px;
    color: rgb(175, 158, 136);
    font-style: italic;
}

.nav-catalog-filter__checkbox {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    top: 0;
    left: 0;
}

.nav-catalog-filter__checkbox + label {
    display: flex;
    width: 100%;
    cursor: pointer;
    padding: 5px 0;
    align-items: center;
}

.nav-catalog-filter__checkbox + label:hover {
    display: flex;
    width: 100%;
    cursor: pointer;
    padding: 5px 0;
    align-items: center;
    background-color: #f4f1ef;
}

.nav-catalog-filter__checkbox + label > .nav-catalog-filter__checkbox-fake {
    background: none;
    border: 1px solid #ece8e5;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    margin-bottom: 0;
    cursor: pointer;
}

.nav-catalog-filter__checkbox:checked + label > .nav-catalog-filter__checkbox-fake {
    background: url(/local/templates/avel/images/checkbox_point.png) no-repeat center;
}

@media (max-width: 1023px) {
    .catalog-title-box {
        justify-content: center;
        margin-bottom: 30px;
    }

    .catalog-navigation-box {
        justify-content: space-between;
    }

    .catalog-navigation-box__filter,
    .catalog-navigation-box__sections {
        width: 49%;
    }
}

@media (max-width: 440px) {
    .catalog-title {
        font-size: 25px;
    }

    .catalog-navigation-box__filter,
    .catalog-navigation-box__sections {
        font-size: 12px;
    }
}

/* * * * */

.nav-catalog-section {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-top: 1px solid #ece8e5;
}

.nav-catalog-section__title,
.nav-catalog-section__title:hover {
    font-size: 16px;
    color: rgb(52, 49, 45);
    font-weight: bold;
    text-decoration: none;
}

.nav-catalog-section__btn {
    width: 20px;
    height: 20px;
    background: url(/local/templates/avel/images/sidebar_section_opened.png) no-repeat center;
    cursor: pointer;
}

.nav-catalog-subsection {
    display: none;
    flex-direction: column;
    border-top: 1px solid #ece8e5;
}

.nav-catalog-subsection.active {
    display: flex;
}

.nav-catalog-subsection__title {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 7px 15px;
    color: #af9e88;
    font-style: italic;
}

.nav-catalog-subsection__title:hover,
.nav-catalog-subsection__title.active{
    color: #4a433d;
    background-color: #f4f1ef;
    text-decoration: none;
}

/* * * * */
.catalog-sections-inner .catalog-section:nth-child(1),
.catalog-sections-inner .catalog-section:nth-child(4),
.catalog-sections-inner .catalog-section:nth-child(5),
.catalog-sections-inner .catalog-section:nth-child(2),
.catalog-sections-inner .catalog-section:nth-child(3),
.catalog-sections-inner .catalog-section:nth-child(6) {
    height: 270px;
    width: 30%;
    padding-bottom: 100px;
    align-items: flex-end;
    justify-content: center;
}

.catalog-sections-inner .catalog-section__name-block {
    width: 240px;
}

.catalog-sections-inner .catalog-sections {
    height: auto;
    flex-direction: row;
}

/* * * * */

.filter-count {
    top: 0;
    position: absolute;
    right: -290px;
    width: 270px;
    z-index: 10;
    background: white;
    border: 1px solid #c9b4b4;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 5px 5px 10px #c9b4b4;
}

.filter-button {
    text-transform: uppercase;
    display: flex;
    background: #4a433d;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100%;
    border-radius: 25px;
    color: #af9e88;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    line-height: 17px;
    padding: 0 15px;
}

.filter-button:not(.noactive):hover {
    text-decoration: none;
    color: #4a433d;
    background: #af9e88;
}
.filter-button.noactive,
.filter-button.noactive:hover{
    opacity: 0.5;
    cursor: default;
    color: #af9e88;
    text-decoration: none;
}

.catalog-sections.additional {
    flex-direction: row;
    height: auto;
}
.catalog-sections.additional .catalog-section {
    width: 48%;
    max-height: 280px;
}