.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
}

.footer-legal a,
.footer-cookie-link {
    color: rgba(255, 255, 255, 0.72);
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.footer-legal a:hover,
.footer-cookie-link:hover {
    color: #fff;
}

.elita-consent {
    position: fixed;
    z-index: 6000;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.85rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.elita-consent-card {
    pointer-events: auto;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    color: #141414;
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-left: 5px solid #76c043;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(7, 21, 16, 0.22);
    padding: 1.15rem 1.2rem 1.05rem;
}

.elita-consent-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5a9434;
}

.elita-consent-card h2 {
    margin: 0 0 0.35rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.2;
}

.elita-consent-card p {
    margin: 0;
    color: #4a4a4a;
    font-size: 0.95rem;
}

.elita-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.95rem;
}

.elita-consent-btn {
    appearance: none;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0.62rem 1rem;
    font: inherit;
    font-weight: 800;
    font-size: 0.92rem;
    cursor: pointer;
    line-height: 1.2;
}

.elita-consent-btn-primary {
    background: #76c043;
    color: #fff;
}

.elita-consent-btn-primary:hover {
    background: #5a9434;
}

.elita-consent-btn-ghost {
    background: #fff;
    color: #1b4332;
    border-color: rgba(27, 67, 50, 0.22);
}

.elita-consent-btn-ghost:hover {
    border-color: #76c043;
    color: #5a9434;
}

.elita-consent-policy {
    display: inline-block;
    margin-top: 0.75rem;
    color: #1b4332;
    font-size: 0.88rem;
    font-weight: 700;
}

.elita-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 6010;
    display: grid;
    place-items: end center;
    padding: 0.85rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
    background: rgba(7, 21, 16, 0.45);
}

.elita-consent-modal[hidden],
.elita-consent[hidden] {
    display: none;
}

.elita-consent-panel {
    width: min(560px, 100%);
    max-height: min(88dvh, 640px);
    overflow: auto;
    background: #fff;
    color: #141414;
    border-radius: 16px;
    border-top: 5px solid #76c043;
    box-shadow: 0 18px 50px rgba(7, 21, 16, 0.28);
    padding: 1.15rem 1.2rem 1.1rem;
}

.elita-consent-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
}

.elita-consent-row h3 {
    margin: 0 0 0.15rem;
    font-size: 1rem;
}

.elita-consent-row p {
    margin: 0;
    color: #4a4a4a;
    font-size: 0.88rem;
}

.elita-consent-switch {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    width: 2.7rem;
    height: 1.55rem;
    border-radius: 999px;
    border: 0;
    background: #d9d9d9;
    position: relative;
    cursor: pointer;
}

.elita-consent-switch[aria-checked="true"] {
    background: #76c043;
}

.elita-consent-switch[disabled] {
    background: #5a9434;
    cursor: not-allowed;
    opacity: 0.85;
}

.elita-consent-switch::after {
    content: "";
    position: absolute;
    top: 0.18rem;
    left: 0.18rem;
    width: 1.18rem;
    height: 1.18rem;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.15s ease;
}

.elita-consent-switch[aria-checked="true"]::after {
    transform: translateX(1.15rem);
}

.cookie-policy {
    max-width: 760px;
}

.cookie-policy h2 {
    margin: 1.6rem 0 0.4rem;
    font-size: 1.25rem;
}

.cookie-policy p,
.cookie-policy li {
    color: #3a3a3a;
}

.cookie-policy ul {
    margin: 0.4rem 0 0;
    padding-left: 1.15rem;
}

@media (max-width: 640px) {
    .elita-consent-actions {
        flex-direction: column;
    }

    .elita-consent-btn {
        width: 100%;
    }
}
