.cookie-modal {
    max-width: 1080px;
    background: #EDEDED;
    font-family: var(--font-family-base);
    border-radius: 20px;
    color: #222;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.cookie-modal--bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto 24px auto;
    z-index: 1050; /* Должен быть ниже, чем у overlay Fancybox */
    max-width: 1080px;
    width: 96vw;
    pointer-events: auto; /* Обязательно! */
}
@keyframes cookieSlideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-modal__close {
    position: relative;
    color: var(--text);
    background-color: #ffffff;
    border-radius: 12px;
    top: 0;
    right: 0;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2;
}
.cookie-modal__row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 32px;
}
.cookie-modal__col--text {
    flex: 1 1 0;
    min-width: 0;
}
.cookie-modal__col--actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    min-width: 180px;
    margin-left: 24px;
    justify-content: flex-end;
}
.cookie-modal__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}
.cookie-modal__desc {
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.6;
}
.cookie-modal__desc--small {
    font-size: 14px;
    color: #555;
    margin-bottom: 22px;
}
.cookie-modal__desc a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
.cookie-modal__desc a:hover {
    color: #ff6600;
}
.cookie-modal__more {
    display: inline-block;
    color: #ff6600;
    font-weight: 700;
    margin-bottom: 10px;
    text-decoration: none;
}
.cookie-modal__actions {
    display: flex;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}
.cookie-modal__btn {
    width: 214px;
    padding: 17px 30px;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 0;
    color: var(--bg-dgray);
}
.cookie-modal__btn--accept {
    background: #ff6600;
    color: #fff;
}
.cookie-modal__btn--accept:hover {
    background: #e65c00;
}
.cookie-modal__btn--decline {
    background: #fff;
    border: 2px solid #EF6314;
}
.cookie-modal__btn--decline:hover {
    background: #f7f7f7;
}
@media (max-width: 900px) {
    .cookie-modal__row {
        flex-direction: column;
        gap: 18px;
    }
    .cookie-modal__col--actions {
        flex-direction: row;
        align-items: stretch;
        margin-left: 0;
        gap: 12px;
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .cookie-modal__btn {
        width: 100%;
        min-width: 0;
        padding: 17px 0px;
    }
    .cookie-modal__col--text {
        text-align: center;
    }
    .cookie-modal__close{
        position: absolute;
        top: 24px;
        right: 24px;
        background: #EDEDED;
    }
    .cookie-modal {
        padding: 56px 28px 28px 28px;
    }
}
@media (max-width: 700px) {
    .cookie-modal, .cookie-modal--bottom {
        font-size: 15px;
        max-width: 98vw;
    }
    .cookie-modal__title {
        font-size: 18px;
    }
    .cookie-modal__row {
        flex-direction: column;
        gap: 12px;
    }
    .cookie-modal__col--actions {
        flex-direction: row;
        align-items: stretch;
        margin-left: 0;
        gap: 10px;
        width: 100%;
    }
    .cookie-modal__btn {
        width: 100%;
        padding: 17px 0px;
    }
    .cookie-modal__col--text {
        text-align: center;
    }
    .cookie-modal {
        padding: 56px 28px 28px 28px;
    }
    .cookie-modal__close{
        position: absolute;
        top: 24px;
        right: 24px;
        background: #EDEDED;
    }
}