.elc-cookie-notice {
    position: fixed;
    right: 0;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 0;
    z-index: 2147483647;
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(100% + 32px));
    transition: transform .35s ease, opacity .25s ease;
}

.elc-cookie-notice[hidden] { display: none !important; }
.elc-cookie-notice.is-visible { opacity: 1; transform: translateY(0); }

.elc-cookie-notice__panel {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px 28px;
    border: 1px solid #e6e8ed;
    border-top: 3px solid #cc1130;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 48px rgba(20, 35, 56, .2);
    color: #292d35;
    pointer-events: auto;
}

.elc-cookie-notice__content { flex: 1; min-width: 0; }

.elc-cookie-notice .elc-cookie-notice__title {
    margin: 0 0 12px;
    padding: 0;
    font-family: "Century Gothic", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    text-align: left;
    border: 0;
}

.elc-cookie-notice .elc-cookie-notice__text,
.elc-cookie-notice .elc-cookie-notice__text p {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: normal;
}

.elc-cookie-notice .elc-cookie-notice__text p { margin: 0 0 8px; padding: 0; }
.elc-cookie-notice__text a,
.elc-cookie-notice__consent-link { color: #a70e28; text-decoration: underline; overflow-wrap: anywhere; }
.elc-cookie-notice__text a:hover,
.elc-cookie-notice__consent-link:hover { color: #cc1130; text-decoration: none; }
.elc-cookie-notice__consent-link { display: inline-block; margin-top: 4px; font-family: "Open Sans", sans-serif; font-size: 13px; line-height: 1.5; }

.elc-cookie-notice__accept {
    flex-shrink: 0;
    min-width: 148px;
    min-height: 48px;
    padding: 14px 24px;
    border: 0;
    border-radius: 6px;
    background: #cc1130;
    color: #fff;
    font-family: "Century Gothic", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: background .2s ease;
}

.elc-cookie-notice__accept:hover { background: #a70e28; }
.elc-cookie-notice a:focus-visible,
.elc-cookie-notice__accept:focus-visible { outline: 3px solid #1684db; outline-offset: 4px; }

@media (max-width: 767px) {
    .elc-cookie-notice { bottom: max(12px, env(safe-area-inset-bottom)); }
    .elc-cookie-notice__panel { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
    .elc-cookie-notice .elc-cookie-notice__title { font-size: 18px; }
    .elc-cookie-notice__text { max-height: 42vh; overflow-y: auto; overscroll-behavior: contain; }
    .elc-cookie-notice__accept { width: 100%; }
}

@media (max-height: 500px) and (min-width: 768px) {
    .elc-cookie-notice__text { max-height: 42vh; overflow-y: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .elc-cookie-notice, .elc-cookie-notice__accept { transition: none; }
}
