.header
{
    position: relative;
    z-index: 10;
}
.header .header__top
{
    padding: 10px 0;

    background: #f3f3f3;
}
.header .header__top-list
{
    font-size: 0;
    line-height: 0;
display: inline-block;
float: left;
}
.header .header__top-list-item
{
    font-size: 14px;
    line-height: 20px;

    display: inline-block;

    padding: 0 20px 0 0;
}
.header .header__top-auth {
    font-size: 0px;
    line-height: 0px;
display: inline-block;
float: right;
}
.header .header__top-link
{
    color: #4c504a;
}
.header .header__top-link:hover
{
    text-decoration: underline;
}
.header .header__center
{
    padding: 32px 0 27px 0;

    background: #fff;
}
.header .header__logo
{
    font-size: 0;
    line-height: 0;

    position: relative;

    display: inline-block;

    width: 25%;
    padding: 0 12px 0 92px;

    vertical-align: top;
}
.header .header__logo-svg
{
    position: absolute;
    top: 50%;
    left: 12px;

    width: 65px;
    height: 62px;
    transform: translate(0, -31px);

    color: #7f6c57;
}
.header .header__logo-text
{
    font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;

    display: inline-block;

    vertical-align: middle;

    color: #7f6c57;
}
.header .header__logo-text-lg
{
    font-size: 32px;
    font-weight: 700;
    line-height: 32px;

    display: block;
}
.header .header__logo-text-sm
{
    font-size: 12px;
    line-height: 14px;

    display: block;
}
.header .header__contacts_desktop
{
    position: relative;

    display: inline-block;

    width: 20%;
    padding: 0 12px 0 44px;

    vertical-align: top;
}

.header .header__links_desktop {
    display: inline-flex;
    gap: 10px;
    flex-direction: column;
    width: 20%;

}

.header .header__link-wrapper {
    position: relative;
    padding: 0 12px 0 44px;
}

.header .header__links_desktop a {
    border-bottom: 1px solid #4c504a;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.header .header__links_desktop a:hover {
    border-color: transparent;
}


.header .header__contacts_mobile
{
    display: none;
    position: relative;
}

.header .header__links_mobile
{
    display: none;
    position: relative;
}

.header.fixed .header__contacts_mobile
{
    display: block;
}
.header .header__contacts-icon
{
    position: absolute;
    top: 0;
    left: 12px;

    display: block;

    width: 24px;
    height: 24px;

    border-radius: 50%;
    background: #337516;
}
.header.fixed .header__contacts-icon
{
    background: transparent;
}
.header .header__contacts-icon .icon-svg
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: #fff;
}
.header .header__contacts-icon a {
    font-size: 14px;
    line-height: normal;
    display: inline-block;
    width: inherit;
    height: inherit;
}
.header .header__phone-text {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}
.header .header__phone-number
{
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}
.header .header__phone-number .lg
{
    font-size: 24px;
}
.header .header__phone-link {
    border-bottom: 1px solid #4c504a;
}
.header .header__phone-link:hover
{
    border-color: transparent;
}
.header .header__phone-time
{
    font-size: 14px;
    line-height: 20px;
}
.header .header__address
{
    padding-top: 4px;
}
.header .header__address-text
{
    font-size: 14px;
    line-height: 16px;

    display: inline;
    transition: all .3s ease-in-out;

    border-bottom: 1px solid #4c504a;
}
.header .header__address-link:hover .header__address-text
{
    border-color: transparent;
}
.header .header__cart
{
    font-size: 14px;
    line-height: 18px;

    position: relative;

    display: inline-block;

    width: 15%;
    padding: 0 62px 0 12px;

    text-align: right;
    vertical-align: top;
}
.header .header__cart-icon
{
    position: absolute;
    top: 0;
    right: 12px;
}
.header .header__cart-icon:before
{
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;

    position: absolute;
    top: 50%;
    left: -8px;

    display: block;
    visibility: hidden;

    width: 24px;
    margin: -12px 0 0 0;
    padding: 4px 2px;

    content: attr(data-count);
    text-align: center;

    color: #fff;
    border-radius: 50%;
    background: #e30a0a;
}
.header .header__cart-icon .icon-svg
{
    color: #337516;
}
.header .header__cart-link
{
    font-weight: 700;

    text-decoration: underline;

    color: #e30a0a;
}
.header .header__cart-link:hover
{
    text-decoration: none;
}
.header .header__cart-sum
{
    display: block;
}
.header .header__bottom
{
    background: #337516;
}
.header .header__bottom-inner
{
    position: relative;
}
.header .header__bottom-inner:after
{
    display: block;
    clear: both;

    content: ' ';
}
.header .header__search
{
    position: relative;

    float: left;

    width: 25.5%;
}
.header .header__search .icon-svg
{
    color: #fff;
}
.header .header__search-icon
{
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translate(0, -50%);
}
.header .header__search-input
{
    height: 48px;
    padding-right: 45px;
    padding-left: 24px;

    color: #fff;
    border: none;
    background: #28620f;
}
.header .header__search-input:focus::placeholder
{
    color: transparent;
}
.header .header__search-input:focus
{
    background: #28620f;
}
.header .header__search-btn
{
    display: none;
}
.header .header__search-close
{
    display: none;
}
.header .header__nav
{
    float: left;

    width: 23.5%;
}
.header .header__nav-close
{
    display: none;
}
.header .header__nav-btn
{
    display: none;
}
.header .header__nav-btn:before
{
    position: absolute;
    top: 50%;
    left: 16px;

    display: block;

    width: 15px;
    height: 3px;

    content: '';
    transform: translate(0, -50%);

    background: #fff;
}
.header .header__nav-btn:after
{
    position: absolute;
    top: 50%;
    left: 16px;

    display: block;

    width: 15px;
    height: 12px;
    margin: -6px 0 0 0;

    content: '';

    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}
.header .header__nav-list
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    top: 0;
    right: 0;

    padding: 14px 0;
}
.header .header__nav-list-item
{
    font-size: 16px;
    line-height: 20px;

    display: inline-block;

    padding: 0 0 0 20px;
}
.header .header__nav-list-item--contacts
{
    display: none;
}
.header .header__nav-list-link
{
    color: #c8e8ba;
}
.header .header__nav-list-link:hover
{
    color: #fff;
}
.header .header__nav-list-link .icon-svg
{
    display: none;
}
.header .header__catalog
{
    position: relative;
}
.header .header__catalog-btn
{
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;

    position: relative;

    padding: 14px 40px 14px 15px;

    text-transform: uppercase;

    color: #fff;
    background: #599c28;
}
.header .header__catalog-btn:before
{
    position: absolute;
    top: 50%;
    right: 15px;

    display: block;

    width: 8px;
    height: 8px;
    margin: -4px 0 0 0;

    content: '';
    transition: all .3s ease-in-out;
    transform: rotate(45deg);

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.header .header__catalog-menu
{
    position: absolute;
    top: 100%;
    left: 0;

    visibility: visible;

    width: 100%;

    opacity: 1;
}
.header .header__catalog-list
{
    padding: 13px 0 12px;

    background: #4c514a;
}
.header .header__catalog-list-item
{
    position: relative;

    padding: 0 15px;
}
.header .header__catalog-list-item:first-child > .header__catalog-link
{
    border-top: none;
}
.header .header__catalog-list-item:hover > .header__catalog-link
{
    /* stylelint-disable-line */
    color: #b3e490;
}
.header .header__catalog-list-item:hover > .header__catalog-link:before
{
    /* stylelint-disable-line */
    border-color: #b3e490;
}
.header .header__catalog-link
{
    font-size: 16px;
    line-height: 20px;

    position: relative;

    display: block;

    padding: 3px 15px 8px 0;

    color: #fff;
    border-top: 1px solid #3e423d;
}
.header .header__catalog-link:hover
{
    color: #b3e490;
}
.header .header__catalog-link--drop:before
{
    position: absolute;
    top: 50%;
    right: 4px;

    display: block;

    width: 8px;
    height: 8px;
    margin: -4px 0 0 0;

    content: '';
    transition: all .3s ease-in-out;
    transform: rotate(-45deg);

    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}
.header .header__catalog-link--drop.active:before
{
    transform: rotate(45deg);
}
.header .header__catalog-submenu
{
    position: absolute;
    top: -12px;
    left: 100%;

    visibility: visible;

    width: 100%;

    opacity: 1;
}

.header.fixed .header__bottom
{
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .24);
}

.header.fixed .header__phone-link
{
    /*position: fixed; убрали в пользу иконки телефона и модального окна с двумя отделами / 08.09.23 */
    z-index: 2;
    top: 10px;
    left: 49%;

    margin-left: 20px;

    color: #fff;
    border-color: #fff;
}
.header.fixed .header__phone-link:hover
{
    border-color: transparent;
}

.header.fixed .header__nav-list
{
    display: none;
}

.header.fixed .header__cart
{
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;

    display: block;

    width: 100%;
    padding: 0;
}
.header.fixed .header__cart-inner
{
    position: relative;

    width: 100%;
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 16px;
}
.header.fixed .header__cart-icon
{
    position: absolute;
    top: 3px;
    right: 16px;

    width: 40px;
    height: 40px;
}
.header.fixed .header__cart-icon:before
{
    visibility: visible;
}
.header.fixed .header__cart-icon .icon-svg
{
    color: #fff;
}
.header.fixed .header__cart-link
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    z-index: 2;
    top: 3px;
    right: 16px;
    display: block;
    width: 40px;
    height: 40px;
}
.header.fixed .header__cart-sum
{
    display: none;
}

.header.fixed .header__contacts_mobile .header__contacts-icon
{
    display: block;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 750px;
    width: 56px;
    height: 48px;
    transform: none;
}

.header.fixed .header__contacts_mobile .header__contacts-icon .icon-phone {
    width: 18px;
    height: 18px;
}
@media (max-width: 1255px)
{
    .header .header__center
    {
        padding: 18px 0 18px;
    }
    .header .header__logo
    {
        padding: 0 6px 0 76px;

        vertical-align: middle;
    }
    .header .header__logo-svg
    {
        width: 56px;
        height: 54px;
    }
    .header .header__contacts_desktop
    {
        padding: 0 8px;

        vertical-align: middle;
    }

    .header .header__links_desktop {
        display: none;
    }

    .header .header__links_mobile
    {
        display: inline-block;
        vertical-align: middle;
        width: 56px;
        height: 48px;
        margin: 0 16px 0 0;

        background: #f3f3f3;
    }

    .header .header__links_mobile .header__contacts-icon
    {
        top: 50%;
        left: 50%;

        display: block;

        width: auto;
        height: auto;
        transform: translate(-50%, -50%);

        border-radius: 0;
        background: none;
    }
    .header .header__links_mobile .header__contacts-icon .icon-svg
    {
        position: static;
        top: auto;
        left: auto;
        transform: none;

        color: #4c504a;
    }

    .header .header__links_mobile .header__contacts-icon .icon-location
    {
        width: 18px;
        height: 18px;
    }

    .header .header__contacts-icon
    {
        display: none;
    }

    .header .header__cart
    {
        vertical-align: middle;
    }
}
@media (max-width: 1023px)
{
    .header .header__logo
    {
        width: auto;
        padding: 0 8px;
    }
    .header .header__logo-svg
    {
        position: static;
        transform: none;
    }
    .header .header__logo-text
    {
        display: none;
    }
    .header .header__contacts_desktop
    {
        width: calc(50% - 100px);
    }
    .header .header__cart
    {
        width: 40px;
        margin: 0 8px;
        padding: 0;
    }
    .header .header__cart-icon
    {
        position: relative;
        right: 0;
    }
    .header .header__cart-icon:before
    {
        visibility: visible;
    }
    .header .header__cart-link
    {
        font-size: 0;
        line-height: 0;

        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        display: block;
    }
    .header .header__cart-sum
    {
        display: none;
    }
    .header .header__search
    {
        width: 300px;
    }
    .header .header__nav
    {
        position: fixed;
        z-index: 1;
        top: 0;
        right: -320px;

        width: 320px;
        height: 100%;
        padding: 75px 0 0;

        opacity: 0;
        background: #4c514a;
    }
    .header .header__nav.active
    {
        right: 0;

        opacity: 1;
    }
    .header .header__nav-close
    {
        position: absolute;
        top: 25px;
        left: 50%;

        display: block;

        width: 22px;
        height: 22px;
        margin: 0 0 0 -11px;
    }
    .header .header__nav-close:before,
    .header .header__nav-close:after
    {
        position: absolute;
        top: 50%;
        left: 50%;

        display: block;

        width: 24px;
        height: 6px;
        margin: -3px 0 0 -12px;

        content: '';

        border-radius: 2px;
        background: #fff;
    }
    .header .header__nav-close:before
    {
        transform: rotate(45deg);
    }
    .header .header__nav-close:after
    {
        transform: rotate(-45deg);
    }
    .header .header__nav-scroll
    {
        overflow: auto;

        height: 100%;
        padding: 0 15px;
    }
    .header .header__nav-btn
    {
        font-size: 16px;
        font-weight: 700;
        line-height: 20px;

        position: relative;

        display: block;
        float: left;

        width: 112px;
        margin-left: -16px;
        padding: 14px 24px 14px 40px;

        text-transform: uppercase;

        color: #fff;
        background: #599c28;
    }
    .header .header__nav-list
    {
        position: static;

        padding: 0;
    }
    .header .header__nav-list-item
    {
        font-weight: 700;

        display: block;

        padding: 0 0 16px 0;

        text-transform: uppercase;

        color: #fff;
    }
    .header .header__nav-list-link
    {
        position: relative;

        display: block;

        padding: 0 0 0 23px;

        color: #fff;
    }
    .header .header__nav-list-link .icon-svg
    {
        position: absolute;
        top: 50%;
        left: 0;

        display: block;
        transform: translate(0, -50%);

        color: #fff;
    }
    .header .header__catalog
    {
        width: 100%;
        padding: 0 0 12px 0;
    }
    .header .header__catalog-btn
    {
        padding: 0 0 0 23px;

        background: none;
    }
    .header .header__catalog-btn:before
    {
        right: auto;
        left: 0;

        width: 15px;
        height: 3px;
        margin: 0;
        transform: translate(0, -50%);

        border: none;
        background: #fff;
    }
    .header .header__catalog-btn:after
    {
        position: absolute;
        top: 50%;
        left: 0;

        display: block;

        width: 15px;
        height: 12px;
        margin: -6px 0 0 0;

        content: '';

        border-top: 3px solid #fff;
        border-bottom: 3px solid #fff;
    }
    .header .header__catalog-menu
    {
        position: static;

        visibility: visible;

        opacity: 1;
    }
    .header .header__catalog-list-item
    {
        padding: 0;
    }
    .header .header__catalog-submenu
    {
        position: relative;
        top: auto;
        left: auto;
        visibility: visible;

        opacity: 1;
    }
    .header.fixed .header__phone-link
    {
        left: 432px;

        margin-left: 0;
    }
    .header.fixed .header__contacts_mobile .header__contacts-icon
    {
        left: 413px;
    }
    .header.fixed .header__nav-list
    {
        display: block;
    }
    .header.nav-open .header__bottom
    {
        z-index: 3;
    }
}
@media (max-width: 767px)
{
    .header .header__top
    {
        display: none;
    }
    .header .header__center
    {
        padding: 16px 0;

        text-align: right;
    }
    .header .header__logo
    {
        float: left;
    }
    .header .header__logo-svg
    {
        width: 48px;
        height: 45px;
    }

    .header .header__contacts_desktop
    {
        display: none;
    }

    .header .header__contacts_mobile
    {
        display: inline-block;
        vertical-align: middle;
        width: 56px;
        height: 48px;
        margin: 0 16px 0 0;

        background: #f3f3f3;
    }
    .header .header__contacts-icon
    {
        top: 50%;
        left: 50%;

        display: block;

        width: auto;
        height: auto;
        transform: translate(-50%, -50%);

        border-radius: 0;
        background: none;
    }
    .header .header__contacts-icon .icon-svg
    {
        position: static;
        top: auto;
        left: auto;
        transform: none;

        color: #4c504a;
    }
    .header .header__phone-number
    {
        font-size: 0;
        line-height: 0;
    }
    .header .header__phone-number .lg
    {
        font-size: 0;
    }
    .header .header__phone-link
    {
        position: absolute;
        top: 0;
        left: 0;

        display: block;

        width: 100%;
        height: 100%;

        border: none;
    }
    .header .header__phone-time
    {
        display: none;
    }
    .header .header__address-text
    {
        font-size: 0;
        line-height: 0;
    }
    .header .header__address-link
    {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;

        display: block;
    }
    .header .header__search
    {
        width: 56px;
    }
    .header .header__search-icon
    {
        position: relative;
        top: 0;
        left: 0;

        width: 56px;
        height: 48px;
        transform: none;

        background: #28620f;
    }
    .header .header__search-icon .icon-svg
    {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .header .header__search-input
    {
        background: #3e423d;
    }
    .header .header__search-input:focus::placeholder
    {
        color: transparent;
    }
    .header .header__search-btn
    {
        display: block;

        margin: 16px 0 0 0;
    }
    .header .header__search-btn .icon-svg
    {
        display: inline-block;

        margin-right: 10px;

        vertical-align: middle;
    }
    .header .header__search-btn span
    {
        vertical-align: middle;
    }
    .header .header__search-inner
    {
        font-size: 0;
        line-height: 0;

        position: fixed;
        z-index: 10;
        top: -100%;
        right: 0;
        left: 0;

        height: 100%;

        opacity: 0;
        background: #4c514a;
    }
    .header .header__search-inner.active
    {
        top: 0;

        opacity: 1;
    }
    .header .header__search-inner:before
    {
        display: inline-block;

        height: 100%;

        content: '';
        vertical-align: middle;
    }
    .header .header__search-inner-center
    {
        font-size: 16px;
        line-height: 1.5;

        position: relative;

        display: inline-block;

        width: 100%;
        padding: 50px 16px 20px;

        vertical-align: middle;
    }
    .header .header__search-close
    {
        position: absolute;
        top: 0;
        left: 50%;

        display: block;

        width: 22px;
        height: 22px;
        margin: 0 0 0 -11px;
    }
    .header .header__search-close:before,
    .header .header__search-close:after
    {
        position: absolute;
        top: 50%;
        left: 50%;

        display: block;

        width: 24px;
        height: 6px;
        margin: -3px 0 0 -12px;

        content: '';

        border-radius: 2px;
        background: #fff;
    }
    .header .header__search-close:before
    {
        transform: rotate(45deg);
    }
    .header .header__search-close:after
    {
        transform: rotate(-45deg);
    }
    .header .header__nav
    {
        right: -100%;

        width: 100%;
    }
    .header .header__nav-list-item--contacts
    {
        display: block;
    }
    .header.fixed .header__phone-link
    {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        background: #28620f;
    }
    .header.fixed .header__phone .header__contacts-icon
    {
        /*position: fixed;*/
        z-index: 3;
        top: 0;
        left: 170px;

        width: 56px;
        height: 48px;
        transform: none;
    }

    .header.fixed .header__contacts_mobile .header__contacts-icon
    {
        left: 170px;
    }

    .header.fixed .header__phone .header__contacts-icon .icon-svg
    {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);

        color: #fff;
    }
    .header.fixed .header__phone-number
    {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 170px;

        width: 56px;
        height: 48px;
    }
    .header.search-open .header__bottom
    {
        z-index: 3;
    }
	.header.fixed .header__cart-link {
		font-size: 0;
		line-height: 0;
		position: absolute;
		z-index: 2;
		top: 3px;
		left: 295px;
		display: block;
		width: 70px;
		height: 40px;
	}
}
@media (min-width: 1024px)
{
    .header .header__catalog-btn.active:before
    {
        transform: rotate(-135deg);
    }
    .header.fixed .header__contacts_mobile .header__contacts-icon
    {
        /* экран растягивается, приходится высчитывать отступ от края */
        left: calc((100vw - 1256px) / 2 + 616px);
    }
}
@media (min-width: 1200px) and (max-width: 1255px) {
    .header.fixed .header__contacts_mobile .header__contacts-icon
    {
        left: 616px;
    }
}

.header .header__catalog-list-item--overview {
    display: none;
}

@media (min-width: 1024px) {
    .header .header__catalog-list-item--overview + .header__catalog-list-item > .header__catalog-link {
        border-top: none;
    }
}

@media (max-width: 1023px) {
    .header .header__catalog-list-item--overview {
        display: block;
        margin-bottom: 8px;
    }

    .header .header__catalog-list-item--overview > .header__catalog-link {
        padding: 10px 0;
        color: #b3e490;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

.header [hidden] {
    display: none;
}

.header button {
    font-family: inherit;
    cursor: pointer;
}

.header button:focus-visible,
.header a:focus-visible,
.header input:focus-visible {
    outline: 2px solid #b3e490;
    outline-offset: 2px;
}

.header .header__catalog-btn {
    border: 0;
    text-align: left;
}

.header .header__catalog-btn:disabled {
    color: #fff;
    cursor: default;
    opacity: 1;
}

.header .header__nav-btn,
.header .header__nav-close,
.header .header__search-close,
.header .header__search-icon {
    border: 0;
}

.header .header__nav-close,
.header .header__search-close,
.header .header__search-icon {
    padding: 0;
    background: transparent;
}

.header .header__catalog-toggle {
    background: transparent;
    text-align: left;
}

.header .header__nav-scroll {
    overscroll-behavior: contain;
}

@media (min-width: 1024px) {
    .header .header__catalog-toggle {
        position: absolute;
        top: 0;
        right: 15px;
        width: 32px;
        height: 32px;
        padding: 0;
        border: 0;
    }

    .header .header__catalog-toggle span {
        display: none;
    }

    .header .header__catalog-link[data-header-section-link] {
        padding-right: 40px;
    }
}

@media (max-width: 1023px) {
    .header .header__catalog-link[data-header-section-link] {
        display: none;
    }

    .header .header__catalog-toggle {
        width: 100%;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
    }
}
