/* ================================================================
   EEA Cookies Banner
   ================================================================ */

.eea-cookies {
    position: fixed;
    z-index: 99988;
    background: #080872;
    color: #ffffff;
    font-family: 'Montserrat', 'Poppins', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .35s ease, visibility .35s ease;
    box-sizing: border-box;
}

.eea-cookies *,
.eea-cookies *::before,
.eea-cookies *::after {
    box-sizing: border-box;
}

.eea-cookies.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.eea-cookies p { margin: 0; }

/* Position variants */
.eea-cookies-pos-bottom .eea-cookies {
    left: 0; right: 0; bottom: 0;
    width: 100%;
    padding: 18px 24px;
}

.eea-cookies-pos-bottom-left .eea-cookies {
    left: 24px; bottom: 24px;
    max-width: 460px;
    width: calc(100% - 48px);
    padding: 24px;
    border-radius: 16px;
}

.eea-cookies-pos-bottom-right .eea-cookies {
    right: 24px; bottom: 24px;
    max-width: 460px;
    width: calc(100% - 48px);
    padding: 24px;
    border-radius: 16px;
}

.eea-cookies-pos-center .eea-cookies {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    max-width: 520px;
    width: calc(100% - 32px);
    padding: 32px 28px;
    border-radius: 18px;
}

.eea-cookies-pos-center .eea-cookies.is-visible {
    transform: translate(-50%, -50%) scale(1);
}

/* Backdrop for center modal */
.eea-cookies-pos-center .eea-cookies::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 114, 0.6);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: -1;
    opacity: 0;
    transition: opacity .35s ease;
}

.eea-cookies-pos-center .eea-cookies.is-visible::before {
    opacity: 1;
}

/* Inner layout */
.eea-cookies__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px 28px;
    text-align: center;
}

.eea-cookies-pos-bottom-left .eea-cookies__inner,
.eea-cookies-pos-bottom-right .eea-cookies__inner,
.eea-cookies-pos-center .eea-cookies__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}

.eea-cookies__msg {
    font-size: 14px;
    line-height: 1.55;
    color: #ffffff;
    max-width: 720px;
}

.eea-cookies__msg a {
    color: #C7A73E;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .25s ease;
}

.eea-cookies__msg a:hover {
    color: #ffffff;
}

/* Buttons */
.eea-cookies__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.eea-cookies__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.2;
}

.eea-cookies__btn:hover {
    transform: translateY(-1px);
}

.eea-cookies__btn--accept {
    background: #C7A73E;
    color: #080872;
    border-color: #C7A73E;
    box-shadow: 0 8px 22px rgba(199, 167, 62, 0.30);
}

.eea-cookies__btn--accept:hover {
    background: #ffffff;
    border-color: #ffffff;
}

.eea-cookies__btn--reject {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.eea-cookies__btn--reject:hover {
    background: #ffffff;
    color: #080872;
    border-color: #ffffff;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .eea-cookies-pos-bottom .eea-cookies {
        padding: 16px 20px;
    }
    .eea-cookies-pos-bottom-left .eea-cookies,
    .eea-cookies-pos-bottom-right .eea-cookies {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
        width: calc(100% - 24px);
        padding: 20px;
    }
    .eea-cookies__inner {
        flex-direction: column;
        gap: 14px;
    }
    .eea-cookies__buttons {
        width: 100%;
    }
    .eea-cookies__btn {
        flex: 1;
        min-width: 0;
    }
    .eea-cookies__msg {
        font-size: 13.5px;
    }
}

/* Hide widget wrapper that Elementor adds when banner is dismissed */
.eea-cookies-hidden { display: none !important; }
