.landing-cookie {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    padding: 16px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.landing-cookie.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: none;
}

.landing-cookie__panel {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ece6f1;
    border-radius: 22px;
    padding: 22px 24px 20px;
    box-shadow: 0 24px 48px -20px rgba(42, 24, 64, 0.35);
}

.landing-cookie__label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #7a6e8a;
}

.landing-cookie__title {
    margin: 0 36px 10px 0;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #2a1840;
}

.landing-cookie__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5e5270;
}

.landing-cookie__text a {
    color: #6b2bd6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-cookie__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.landing-cookie__btn {
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
}

.landing-cookie__prefs {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.landing-cookie.is-panel-open .landing-cookie__main {
    display: none;
}

.landing-cookie.is-panel-open .landing-cookie__prefs {
    display: flex;
}

.landing-cookie__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid #ece6f1;
    border-radius: 14px;
    background: #f5f1f8;
}

.landing-cookie__row strong {
    display: block;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    color: #2a1840;
    margin-bottom: 2px;
}

.landing-cookie__row span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    color: #5e5270;
}

.landing-cookie__switch {
    position: relative;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}

.landing-cookie__switch.is-locked {
    cursor: default;
    opacity: 0.7;
}

.landing-cookie__switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.landing-cookie__switch span {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c9b8e0;
    transition: background 0.2s;
}

.landing-cookie__switch span::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(42, 24, 64, 0.25);
    transition: transform 0.2s;
}

.landing-cookie__switch input:checked + span {
    background: #2a1840;
}

.landing-cookie__switch input:checked + span::after {
    transform: translateX(18px);
}

@media (max-width: 640px) {
    .landing-cookie {
        padding: 12px;
    }

    .landing-cookie__panel {
        padding: 20px 16px 16px;
        border-radius: 18px;
    }

    .landing-cookie__actions {
        flex-direction: column;
    }

    .landing-cookie__btn {
        width: 100%;
    }
}
