

footer {
    background: #1B1A7E;
    color: white;
    display: flex;
    flex-direction: column;
    font-family: Onest;
    padding-top: 40px;
    position: relative;
}

footer a{
    color: #ffffff;
}
footer .watermark {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
}

footer .navigation, footer .credits, footer .copyright {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding-bottom: 24px;
    display: flex;
    z-index: 1;
}
footer .navigation {
    border-bottom: 1px solid #FFFFFF33;
}
footer .credits {
    padding-top: 24px;
    align-items: center;
    justify-content: space-between;
}
footer .copyright {
    padding-top: 12px;
    align-items: flex-end;
    justify-content: space-between;
}
footer .navigation .contacts .logo {
    height: 60px;
    width: 212px;
}
footer .navigation .block:not(:first-child) {
    margin-left: 90px;
}
.navigation .contacts .item.social .contacts-label {
    display: none;
}
.navigation .block.contacts .item:not(:first-child) {
    margin-top: 16px;
}
.phone-item .contacts-label, .navigation .contacts .item.social .contacts-label {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0px;
    text-align: left;
    color: #FFFFFF80;
    margin-bottom: 4px;
}
.phone-item a {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    color: #ffffff;
    white-space: nowrap;
    transition: all;
    transition-duration: 300ms;
}
.phone-item .time {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 300ms;
    display: flex;
    gap: 10px;
    max-width: 140px;
    justify-content: space-between;
}

.navigation .block.nav {
    display: flex;
}
.navigation .block.nav .item {
    display: flex;
    flex-direction: column;
    min-width: 91px;
}
.navigation .block.nav .item:not(:first-child) {
    margin-left: 40px;
}
.navigation .block.nav .item .item-label {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0em;
    text-align: left;
    color: #FFFFFF80;
}
.navigation .block.nav .item a {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all;
    transition-duration: 300ms;
}
.navigation .block.nav .item a:hover, .phone-item a:hover, footer .credits a:hover,
.navigation .block.contacts .item.email a:hover {
    color: #D0E3F0;
}
.navigation .block.contacts .item.social a {
    margin-left: 8px;
    cursor: pointer;
}
.navigation .block.contacts .item.email {
    display: flex;
    flex-direction: column;
}
.navigation .block.contacts .item.email a {
    margin-top: 8px;
    cursor: pointer;
    transition: all;
    transition-duration: 350ms;
}

footer .credits p {
    /*width: 50%;*/
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: left;
}
footer .credits a {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all;
    transition-duration: 300ms;
}
footer .credits a svg {
    fill: white;
    margin-right: 8px;
    transition: all;
    transition-duration: 300ms;
}
footer .credits a:hover svg {
    fill: #D0E3F0;
}

footer .copyright p {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0px;
    text-align: left;
    color: #FFFFFF80;
    margin-bottom: 0;
}
footer .copyright p:not(:first-child) {
    margin-top: 12px;
}
footer .copyright .pw {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0px;
    text-align: left;
    color: #FFFFFF80
}
footer .copyright .pw a {
    cursor: pointer;
    text-decoration: underline;
}

/*====================================================================*/
@media screen and (max-width: 1280px) {
    /*.top-head {*/
    /*    margin: 0 24px;*/
    /*    width: auto;*/
    /*}*/
    /*.bottom-head .bottom-items {*/
    /*    margin: 0 24px;*/
    /*    width: auto;*/
    /*}*/
    /*.bottom-items .header-phone span {*/
    /*    display: none;*/
    /*}*/
    /*.bottom-items .header-phone svg {*/
    /*    margin-right: 0;*/
    /*}*/

    footer {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    footer .navigation, footer .credits, footer .copyright {
        flex-direction: column;
        margin: 0 16px;
        width: auto;
    }
    footer .navigation .block:not(:first-child) {
        margin-left: 0;
    }
    .navigation .contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
        padding-bottom: 24px;
        border-bottom: 1px solid #FFFFFF33;
    }
    .navigation .block.nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 26px;
    }
    footer .navigation .contacts .logo {
        height: 42px;
        width: 160px;
        grid-column: span 2 / span 2 !important;
    }
    .navigation .block.contacts .item:not(:first-child) {
        margin-top: 24px;
    }
    .navigation .contacts .item.social {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 8px;
        width: fit-content;
    }
    .navigation .contacts .item.social .contacts-label {
        display: flex;
        grid-column: span 3 / span 3 !important;
    }
    .navigation .contacts .item.social a:not(:first-child) {
        margin-left: 0;
    }
    .navigation .block.contacts .item.email {
        grid-column: span 2 / span 2 !important;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .navigation .block.nav .item {
        padding-top: 24px;
    }
    .navigation .block.nav .item:not(:first-child) {
        margin-left: 0;
    }
    .navigation .block.nav .item:first-child {
        order: 1;
    }
    .navigation .block.nav .item:nth-child(2) {
        order: 3;
    }
    .navigation .block.nav .item:nth-child(3) {
        order: 4;
    }
    .navigation .block.nav .item:last-child {
        order: 2;
    }
    .navigation .block.nav .item .item-label {
        margin-bottom: 8px;
    }
    .navigation .block.nav .item a {
        margin-top: 8px;
    }

    footer .credits {
        align-items: flex-start;
    }
    footer .credits a {
        order: 1;
    }
    footer .credits p {
        order: 2;
        margin: 24px 0 0;
    }
    footer .credits p br {
        display: none;
    }
    footer .credits p br.mobile {
        display: unset;
    }

    footer .copyright {
        padding-top: 0;
        padding-bottom: 0;
        align-items: flex-start;
    }
    footer .copyright p:first-child {
        margin: 0;
    }
    footer .copyright .pw {
        margin-top: 12px;
        margin-bottom: 24px;
    }

    section.products .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    section.products h2 {
        /*grid-column: span 3 / span 3;*/
    }
    section.products {
        margin: 0px 24px;
        width: auto;
    }
    section.products .product .lines {
        width: 100%;
        height: auto;
        top: max(55px, 17.5%);
    }
    .page-detail {
        display: none;
    }
}
@media screen and (max-width: 800px){
    footer .watermark {
        display: none;
    }
}