.modal.modal__finespirits {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.40);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    transition:all 0.4s;

    &.active {
         opacity:1;
         visibility:visible;
    }

    .modal__block {
        width: 100%;
        max-width:805px;
        position:relative;
        padding:40px 40px 40px 40px;
        box-sizing:border-box;
        border-radius: 12px;
        border: 1px solid var(--Gray-4, #D1D1D2);
        background: var(--Base-White, #FFF);
        box-shadow: 2px 4px 18.3px 0 rgba(0, 0, 0, 0.04);

        .modal__description {
            max-width:323px;
            color: var(--Gray-8---Main, #383838);
            text-align:center;
            font-size: 16px;
            font-weight: 400;
            line-height: 140%;
            letter-spacing: 0.16px;
            margin:0 auto;
        }

        .modal__logo {
            text-align:center;
            margin-bottom:16px;

            img {
                max-width:100%;
                margin:0 auto;
            }
        }

        .modal__block-content {
            .modal__footer {
                margin-top:40px;
                padding-top:16px;
                border-top:1px solid #E5E5E6;

                p {
                    color: var(--Gray-6, #9A9AA2);
                    font-size: 14px;
                    font-weight: 400;
                    line-height: 140%;
                    letter-spacing: 0.14px;
                    margin-bottom:16px;

                    a {
                        text-decoration:underline;
                        &:hover {
                            text-decoration:none;
                         }
                    }

                    &:last-child {
                        margin-bottom:0;
                     }
                }
            }
        }

        .modal__head-close {
            position:absolute;
            top: 16px;
            right: 16px;
            width: 32px;
            height: 32px;
            padding: 4px;
            cursor: pointer;
        }
    }

    &.modal-age {
        .modal__block {
            max-width:640px;

            .modal__content {
                max-width:323px;
                margin:40px auto;

                .modal__age-title {
                    color: var(--Base-Dark, #171717);
                    text-align: center;
                    font-size: 20px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 150%;
                    letter-spacing: 0.2px;
                    margin-bottom:24px;
                }

                .modal_age-buttons {
                    display:flex;
                    flex-direction: column;
                    gap:16px;

                    .button {
                        width:100%;
                    }
                }
                .modal_age-remember {
                    margin-top:24px;
                    label {
                        display:flex;
                        align-items:center;
                        justify-content: center;
                        gap:8px;

                        span {
                            color: var(--Base-Dark, #171717);
                            font-size: 16px;
                            font-weight: 400;
                            line-height: 140%;
                            letter-spacing: 0.16px;
                        }
                    }

                }
            }

        }
    }

    &.modal-favorites-share {
        .modal__block {
            max-width:492px;

            .modal__logo {
                margin-bottom: 32px;
            }
        }
    }
}

@media (max-width: 992px) {
    .modal.modal__finespirits {
        .modal__block {
            max-width:calc(100% - 32px);
            padding:40px 24px;

            .modal__description {
                font-size: 14px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%;
                letter-spacing: 0.14px;
            }
            .modal__content {
                margin:32px auto;
            }
        }

        &.modal-age {
            .modal__block {
                max-width:calc(100% - 32px);
                .modal__content {
                    .modal_age-buttons {
                        .button {
                            min-height:48px;
                        }
                    }
                }
            }
         }
    }
}