@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    padding: 0;
    margin: 0;
    font-family: 'Ubuntu', sans-serif;
    color: #1D1A1A;
}

.container {
    max-width: 1620px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.title {
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
    margin-bottom: 40px;
}

@media (max-width: 1023px) {
    .title {
        font-size: 35px;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .title {
        font-size: 26px;
    }
}



.btn {
    font-size: 18px;
    line-height: 23.98px;
    color: #FFF;
    background: #D9012A;
    border-radius: 5px;
    padding: 10px 25px;
    text-decoration: none;
    width: fit-content;
    border: none;
}

.hidden {
    display: none;
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.header__top-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__logo {
    width: 233px;
    height: auto;
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header__top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 40px;
}

.header__top-button {
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    padding: 8px 20px;
    background: #D9012A;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

.header__top-hamburger {
    width: 28px;
    height: 28px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='size-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5' /%3E%3C/svg%3E%0A");
    background-size: 100%;
    display: none;
}

.header__bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 6px 0;
    position: relative;
}

.header__bottom::before {
    content: '';
    width: 100vw;
    height: 100%;
    background: #F1F1F1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header__bottom-left {
    width: 45%;
    display: flex;
    align-content: inherit;
    gap: 30px;
}

.header__bottom-catalog {
    width: 100%;
    padding: 10px 15px 10px 36px;
    position: relative;
    border-radius: 5px;
    background: #D9012A;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    width: fit-content;
    text-decoration: none;
}

.header__bottom-catalog::before {
    content: '';
    width: 15px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='15' height='12' viewBox='0 0 15 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='0.75' width='15' height='1.5' fill='white'/%3E%3Crect y='5.25' width='15' height='1.5' fill='white'/%3E%3Crect y='9.75' width='15' height='1.5' fill='white'/%3E%3C/svg%3E%0A");
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.header__bottom-right {
    display: flex;
    justify-content: flex-end;
    ;
    align-items: center;
    gap: 50px;
    width: 55%;
}

@media (max-width: 1367px) {
    .header__top-left {
        gap: 30px;
    }

    .header__logo {
        width: 150px;
    }

    .header__top-right {
        gap: 30px;
    }

    .header__bottom-left {
        width: 50%;
    }

    .header__bottom-right {
        width: 50%;
    }
}

@media (max-width: 1023px) {
    .header__top-hamburger {
        display: block;
    }

    .header__top-button,
    .header__top-info.basket-info {
        display: none;
    }

    .header__bottom-left {
        width: 100%;
    }

    .header__bottom-right {
        width: fit-content;
    }
}

@media (max-width: 767px) {
    .header__top-menu.menu {
        display: none;
    }
}

@media (max-width: 575px) {
    .header__top-phone {
        display: none;
    }

    .header__bottom {
        display: none;
    }
}

.footer {
    padding: 45px 0 60px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 15px;
}

.footer__logo {
    width: 230px;
}

.footer__logo img {
    width: 100%;
    height: auto;
}

.footer__copyright {
    margin-top: 15px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #545454;
}

.footer__menus {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 22px;
    width: 220px;
    text-align: right;
}

.footer__subscribe {
    width: 270px;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.footer__kalashnikov {
    max-width: 225px;
}

.footer__kalashnikov img {
    width: 100%;
    height: auto;

}

.footer__bitrix-composite {
    max-width: 250px;
}

.footer__bitrix-composite img {
    width: 100%;
    height: auto;
}

@media (max-width: 1367px) {
    .footer__logo {
        width: 150px;
    }

    .footer__menus {
        gap: 30px;
    }
}

@media (max-width: 1023px) {
    .footer__top {
        flex-wrap: wrap;
        gap: 40px 20px;
        margin-bottom: 10px;
    }

    .footer__menus {
        width: calc(100% - 170px);
    }

    .footer__contacts {
        width: 100%;
        align-items: flex-start;
    }

    .footer__subscribe {
        display: none;
    }
}

@media (max-width: 767px) {
    .footer__kalashnikov {
        max-width: 125px;
    }

    .footer__bitrix-composite {
        max-width: 150px;
    }

    .footer__bottom {
        gap: 20px;
    }

    .footer__top {
        gap: 20px;
    }

    .footer__logo {
        width: 100%;
    }

    .footer__logo img {
        width: 150px;
    }

    .footer__menus {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .footer__menus {
        flex-direction: column;
    }
}
