.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
}

.cookie-banner__content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner__text strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.cookie-banner__text p {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.cookie-banner__actions,
.cookie-modal__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

.cookie-btn--primary {
    background: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(29, 78, 216, 0.28);
}

.cookie-btn--secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.cookie-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.cookie-modal__box {
    position: relative;
    max-width: 560px;
    margin: 8vh auto;
    padding: 26px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.35);
}

.cookie-modal__box h2 {
    margin: 0 0 18px;
    color: #0f172a;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
}

.cookie-option p {
    margin: 5px 0 0;
    color: #64748b;
    line-height: 1.45;
}

.cookie-option input {
    width: 22px;
    height: 22px;
}

.cookie-modal__actions {
    justify-content: flex-end;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}
.footer-cookie-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 0.9rem;
}

.footer-cookie-links a,
.footer-cookie-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: 0;
    padding: 0;
    font: inherit;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-cookie-links a:hover,
.footer-cookie-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-cookie-link {
    appearance: none;
}

@media (max-width: 640px) {
    .footer-cookie-links {
        justify-content: flex-start;
        gap: 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .cookie-banner__content {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
    }

    .cookie-banner__actions,
    .cookie-modal__actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-modal__box {
        margin: 20px;
    }
}