/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */

.ccb-hidden {
    display: none !important;
}

/* ---- Нижній банер ---- */
.ccb-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px 32px;
    background: var(--wp--preset--color--sunrise-dark-1, #061b06);
    border-top: 2px solid var(--wp--preset--color--green-4, #3cb064);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    animation: ccb-slide-up 0.4s ease;
}

@keyframes ccb-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.ccb-banner__icon {
    font-size: 34px;
    line-height: 1;
    flex-shrink: 0;
}

.ccb-banner__text {
    flex: 1 1 420px;
    min-width: 240px;
    color: #f5fdf4;
    font-size: 14px;
    line-height: 1.5;
}

.ccb-banner__text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
}

.ccb-banner__text a {
    color: #ffbb23;
    text-decoration: underline;
}

.ccb-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ---- Кнопки ---- */
.ccb-btn {
    width: auto;
    max-width: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    border: 2px solid transparent;
}

.ccb-btn:hover {
    filter: brightness(1.08);
}

.ccb-btn--ghost {
    background: transparent;
    border-color: rgba(245, 253, 244, 0.4);
    color: #f5fdf4;
}

.ccb-btn--ghost:hover {
    border-color: #fff;
}

.ccb-btn--primary {
    background: linear-gradient(135deg, rgba(252, 185, 0, 1) 0%, rgba(255, 105, 0, 1) 100%);
    border-color: transparent;
    color: #1a1a1a;
}

@media (max-width: 600px) {
    .ccb-banner {
        padding: 16px;
        justify-content: flex-start;
    }

    .ccb-banner__actions {
        width: 100%;
    }

    .ccb-banner__actions .ccb-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
