header {
    background: #003763;
    color: #ffffff;
    padding: 15px 0;
    height: auto;
    margin-bottom: 0;
}

footer {
    background: #003763;
    color: #ffffff;
    padding: 40px 0;
    margin-top: 0;
}

header > .page-wrapper > .column > .row:last-child {
    align-items: flex-end;
}

#header-phone,
.header-phone {
    font-size: 20px;
    font-weight: 400;
    text-align: right;
    margin-left: 20px;
}

.header-phone {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 5px;
}

.header-phone .mobile-phone {
    display: none;
}

#header-phone .tel,
.header-phone .tel {
    text-decoration: none;
    color: #ffffff;
    font-family: "OpenSans";
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 35px;
    background: url(../images/phone-icon.png) left center no-repeat;
    background-size: 25px 25px;
    white-space: nowrap;
}

#header-phone .tel.styled,
.header-phone .tel.styled {
    background: none;
    position: relative;
}

#header-phone .tel.styled > img,
.header-phone .tel.styled > img {
    position: absolute;
    left: 0;
    width: 20px;
}

#contacts .tel.styled {
    background: none;
    position: relative;
}

#contacts .tel.styled > img {
    position: absolute;
    left: 0;
    width: 25px;
}

#contacts .tel.styled:last-child {
    padding-bottom: 25px;
}

#catalogue-menu-button {
    padding: 6px 26px 6px 50px;
}

#catalogue-menu-button:before {
    top: 10px;
}

.fieldblock.payment-item {
    display: block;
}

#header-search {
    height: auto;
}


.item-card .catalogue-item-buy-actions .catalogue-item-buy-button,
.item-card .catalogue-item-buy-actions .pay-parts-widget .buy-btn,
.item-card .catalogue-item-buy-actions .buy-one-click-button
{
    padding-bottom: 7px;
    padding-top: 7px;
}
.item-card .catalogue-item-buy-actions .catalogue-item-buy-button:before{
    top: 7px;
}
.item-card .catalogue-item-buy-actions .buy-one-click-button{
    border: none;
    outline: 3px solid #dce0e1;
}

@media (max-width: 1170px) {
    header > .page-wrapper {
        padding-top: 50px;
        position: relative;
        padding-left: 100px;
    }
}

@media (min-width: 1024px) {
    #header-search input {
        padding: 8px 26px;
    }

    #header-search button {
        padding: 6px 26px;
    }
}

@media (max-width: 768px) {
    header > .page-wrapper {
        padding-top: 0;
    }

    .header-phone {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-phone .mobile-phone {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-evenly;
        width: 530px;
    }

    #header-phone {
        display: none;
    }

    .mobile-phone {
        position: relative;
        order: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .header-phone .tel {
        /*background: none;*/
        /*padding: 0;*/
    }

    .mobile-phone .tel,
    .header-phone .tel {
        /*margin-top: 15px;*/
        font-size: 19px;
        line-height: normal;
    }

    .mobile-phone > div,
    .header-phone > div,
    .header-phone > .tel {
        display: none;
    }

    #header-center {
        position: relative;
    }

    #header-cart {
        position: absolute;
        bottom: 0;
        top: auto;
        right: 100px;
    }

    .header-center-button {
        gap: 10px;
    }

    #header-search {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .mobile-phone,
    .header-phone {
        margin-left: 35px;
        top: 10px;
    }

    .mobile-phone {
        margin-left: 0;
        flex-wrap: wrap;
        gap: 5px;
    }

    .mobile-phone .tel {
        margin: 0;
    }
}

@media (max-width: 425px ) {
    #header-center .header-center-column {
        gap: 20px;
    }

    .header-phone .mobile-phone {
        width: auto;
    }

    header > .page-wrapper {
        padding: 15px 0 0 0;
    }

    .mobile-phone, .header-phone {
        margin-left: 0;
    }

    #top-menu-button {
        top: -30px;
    }

    body.top-menu-active #header-navigation {
        z-index: 100;
    }
}