/*
 * Плашка cookie (views/layouts/_cookie_banner.php). Самодостаточна:
 * в ЛК custom.css не подключён, поэтому стили не зависят от него.
 */
.cookie-info {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
    background-color: #fff;
    padding: 16px 0;
    border-top: 1px solid #e3e1ee;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, .15);
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
}

.cookie-info.show {
    opacity: 1 !important;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-info__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-info__text {
    flex: 1 1 520px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2c2848;
}

.cookie-info__text a {
    color: #664dfe;
}

.cookie-info__actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-info__btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-info__btn--secondary {
    background: #fff;
    color: #664dfe;
    border: 1px solid #664dfe;
}

.cookie-info__btn--secondary:hover {
    background: #f3f0ff;
}

@media (max-width: 575px) {
    .cookie-info__actions,
    .cookie-info__btn {
        width: 100%;
    }
    .cookie-info__btn {
        white-space: normal;
    }
}
