/* Footer */
.footer {
    background: #121212;
}

.footer__wrapper {
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__logo {
    color: var(--color-white);
    text-decoration: none;
    font-size: var(--font-md);
    line-height: 1.2;
}

.footer__nav {
    display: flex;
    justify-content: center;
}

.menu-menu-container {
    display: flex;
    align-items: center;
}

.footer__nav-list {
    list-style: none;
    display: flex;
    gap: var(--spacing-xl);
}

.footer__nav .menu-item a {
    color: white;
}

.footer__nav .menu-item a:hover {
    color: #685236;
}

.footer__nav-link:hover {
    opacity: 0.8;
}

.footer__middle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 32px;
    padding-bottom: 40px;
}

.footer__socials {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer__social-link-tg {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__li a,
.footer__li p {
    color: var(--Primary5, #ECEAF6);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 21.6px */
    letter-spacing: -0.18px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: fit-content;
}

.footer__string {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--Gray-light-bg, #F6F6F4);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 21.6px */
    letter-spacing: -0.18px;
}

.footer__icon {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer__links span {
    color: var(--Grey, #807F7D);
    font-size: 16px;
    transform: translateY(-2px);
}

.footer__link {
    color: var(--Grey, #807F7D);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 14.4px */
}

.footer__link:hover {
    opacity: 1;
}

.footer__copyright {
    color: var(--Grey, #807F7D);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    /* 14.4px */
}

@media(width < 1200px) {
    .footer__wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__nav {
        justify-content: flex-start;
        margin-top: 32px;
    }

    .footer__nav .menu-item a {
        display: block;
        padding: 0;
    }

    .footer__middle {
        flex-direction: row;
    }

    .footer__icon {
        margin-top: 32px;
    }

    .footer__wrapper {
        padding: 40px 0 32px 0;
    }

    .footer__bottom {
        padding: 0 0 40px 0;
    }
}

@media(width < 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer__nav .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .footer__wrapper{
        padding-bottom: 0;
    }
    .footer__middle{
        flex-direction: column;
        padding: 24px 0;
        gap: 24px;
    }
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
    }

    .footer__link,
    .footer__links {
        font-size: 12px;
        font-style: normal;
        font-weight: 600;
        line-height: 120%;
    }

    .footer__links {
        padding: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__links span {
        display: none;
    }

    .footer__copyright {
        margin-top: 20px;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
    }

}

/* Модалки */

.modal_m {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.modal_m-active {
    z-index: 999;
    opacity: 1;
}

.modal__item {
    position: relative;
    max-width: 610px;
    width: 100%;
    padding: 60px 24px;
    background: white;
    border-radius: 32px;
}

.modal__close {
    cursor: pointer;
    position: absolute;
    top: 41px;
    right: 41px;
}

.modal__title {
    color: var(--Black, #0D0D0D);
    text-align: center;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.4px;
}

.modal__descr {
    margin-top: 12px;
    color: var(--Black, #0D0D0D);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
}

.modal__form {
    width: 360px;
    margin: 0 auto;
    margin-top: 20px;
}

.modal__inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
}

.modal__input {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #DDD;
    background: #FFF;
    color: var(--Grey, #807F7D);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 16px */
    letter-spacing: -0.32px;

}

.modal__input::placeholder {
    color: var(--Grey, #807F7D);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    /* 16px */
    letter-spacing: -0.32px;
}

.modal__check-wrapper {
    display: flex;
    gap: 10px;
    position: relative;
    margin-top: 32px;
}

.modal-ckeck-label {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #93764c;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.modal-ckeck-label span {
    width: 6px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin-top: -1px;

}

#wishlist-modal-ckeck,
#standart-modal-ckeck {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

#wishlist-modal-ckeck:checked+.wishlist-modal-ckeck-label span,
#standart-modal-ckeck:checked+.standart-modal-ckeck-label span {
    border-color: #93764c;
}



.modal__politic {
    color: var(--Grey60, #626262);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
    /* 18px */
}

.modal__politic a {
    color: var(--Grey60, #626262);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-decoration: underline;

}

.modal__submit {
    margin-top: 20px;
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 100px;
    background: #93764c;
    color: #FFF;
    border: 1.5px solid #93764c;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
    letter-spacing: -0.16px;
    transition: all 0.3s;
    cursor: pointer;
}


.modal__submit:active {
    transform: scale(0.99);
}

.message-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.message-wrapper_active {
    z-index: 999;
    opacity: 1;
}

.message-wrapper .modal__submit {
    display: block;
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    margin-top: 32px;
    text-align: center;
}

.message-icon {
    display: flex;
    height: 100px;
    width: 100px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: white;
    margin: 0 auto;
    margin-bottom: 24px;
}

@media(width < 768px) {
    .modal__item {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .modal__title {
        margin-top: 129px;
        font-size: 32px;
        font-style: normal;
        font-weight: 500;
        line-height: 110%;
        /* 35.2px */
        letter-spacing: -0.32px;
    }

    .message-icon {
        margin-top: 129px;
    }

    .message-order .modal__title {
        margin-top: 0;
    }

    .modal__descr {
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        /* 22.4px */
    }

    .modal__form {
        width: 100%;
    }
}