/* =========================================================
   COOKIE BANNER – CaffeeMandala'D / PRÉMIUM VERZIÓ
========================================================= */

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(18px);

    width: min(920px, calc(100% - 28px));
    z-index: 99999;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;

    padding: 22px 24px;
    border-radius: 28px;

    background:
        linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(245, 235, 219, 0.94));
    border: 1px solid rgba(199, 154, 62, 0.22);

    box-shadow:
        0 20px 60px rgba(64, 41, 21, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease,
        visibility 0.35s ease;
}

.cookie-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 34%),
        radial-gradient(circle at bottom right, rgba(243, 213, 139, 0.24) 0%, rgba(243, 213, 139, 0) 42%);
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    position: relative;
    z-index: 1;
    max-width: 660px;
}

.cookie-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 12px;
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(199, 154, 62, 0.18);

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b06f30;
}

.cookie-title {
    margin: 12px 0 8px;
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #2f2119;
}

.cookie-text {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.72;
    color: #5a4638;
}

.cookie-text a {
    color: #a86a2e;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    appearance: none;
    border: 0;
    cursor: pointer;

    border-radius: 999px;
    padding: 13px 20px;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-btn-reject {
    color: #5a4638;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(111, 80, 50, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 24px rgba(77, 56, 34, 0.08);
}

.cookie-btn-accept {
    color: #2d2116;
    background: linear-gradient(135deg, #f8de98 0%, #efc25d 48%, #d79a3a 100%);
    box-shadow:
        0 12px 26px rgba(199, 154, 62, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.45);
}

.cookie-btn-accept:hover {
    box-shadow:
        0 16px 32px rgba(199, 154, 62, 0.32),
        inset 0 1px 0 rgba(255,255,255,0.45);
}

@media (max-width: 900px) {
    .cookie-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cookie-content {
        max-width: 100%;
    }
}

@media (max-width: 760px) {
    .cookie-banner {
        width: calc(100% - 20px);
        bottom: 10px;
        padding: 18px 18px 16px;
        border-radius: 22px;
        gap: 16px;
    }

    .cookie-title {
        font-size: 28px;
    }

    .cookie-text {
        font-size: 13px;
        line-height: 1.65;
    }

    .cookie-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cookie-btn {
        width: 100%;
        padding: 13px 18px;
    }
}