/**
 * cookie_consent.css — карточка уведомления о согласии на cookie.
 * Подключается из init.php OnBeforeProlog на всех публичных страницах,
 * работает на обоих шаблонах (aspro-lite и aspro-lite-mobile).
 * Разметка — local/include/cookie_consent.php, логика — cookie_consent.js.
 */

.cookie-consent {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000; /* выше контента, ниже модалок чекаута (.checkout-modal — 10000+) */
    max-width: 340px;
    box-sizing: border-box;
    padding: 18px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.cookie-consent--hidden {
    display: none;
}

.cookie-consent__text {
    margin-bottom: 14px;
}

.cookie-consent__text a {
    color: inherit;
    text-decoration: underline;
}

.cookie-consent__btn {
    display: inline-block;
    padding: 9px 24px;
    border: 0;
    border-radius: 8px;
    /* Фирменный розовый сайта (--theme-base-color, фолбэк #e8a2e1). */
    background: var(--theme-base-color, #e8a2e1);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease;
}

.cookie-consent__btn:hover {
    opacity: .85;
}

@media (max-width: 768px) {
    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}
