.pp-cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 16px;
    width: min(calc(100% - 32px), 720px);
    transform: translateX(-50%);
    border: 1px solid rgba(162, 53, 112, 0.14);
    border-radius: var(--radius-lg, 20px);
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow, 0 18px 55px rgba(0, 0, 0, .18));
    backdrop-filter: blur(14px);
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
    animation: ppCookieIn 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes ppCookieIn {
    from { opacity: 0; transform: translate(-50%, 16px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.pp-cookie-banner__text {
    flex: 1;
    margin: 0;
    color: var(--ink, #26314b);
    font-size: 13px;
    line-height: 1.5;
}

.pp-cookie-banner__link {
    color: #a23570;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-cookie-banner__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pp-cookie-banner__accept,
.pp-cookie-banner__reject,
.pp-cookie-banner__settings {
    border-radius: 10px;
    padding: 10px 18px;
    font-family: inherit;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    transition: transform 160ms ease, color 160ms ease;
}

.pp-cookie-banner__accept {
    border: none;
    background: linear-gradient(135deg, #f3a1c0, #ef8a74);
    color: #3a0f21;
}

.pp-cookie-banner__reject {
    border: 1px solid rgba(38, 49, 75, 0.22);
    background: transparent;
    color: var(--ink, #26314b);
}

.pp-cookie-banner__settings {
    border: none;
    background: transparent;
    color: rgba(38, 49, 75, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
    padding: 10px 4px;
}

.pp-cookie-banner__settings:hover {
    color: rgba(38, 49, 75, 0.9);
}

.pp-cookie-banner__accept:hover,
.pp-cookie-banner__reject:hover {
    transform: translateY(-1px);
}

.pp-cookie-settings {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.pp-cookie-settings__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pp-cookie-settings__label {
    margin: 0;
    color: var(--ink, #26314b);
    font-size: 13px;
    font-weight: 700;
}

.pp-cookie-settings__hint {
    margin: 2px 0 0;
    color: var(--muted, #7f7684);
    font-size: 12px;
    line-height: 1.5;
}

.pp-cookie-settings__locked {
    flex: 0 0 auto;
    color: var(--muted, #7f7684);
    font-size: 12px;
    font-weight: 700;
}

.pp-cookie-switch {
    flex: 0 0 auto;
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    border: none;
    background: rgba(38, 49, 75, 0.16);
    cursor: pointer;
    transition: background 160ms ease;
}

.pp-cookie-switch span {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 160ms ease;
}

.pp-cookie-switch.is-on {
    background: linear-gradient(135deg, #f3a1c0, #ef8a74);
}

.pp-cookie-switch.is-on span {
    transform: translateX(18px);
}

@media (max-width: 560px) {
    .pp-cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        bottom: 12px;
    }

    .pp-cookie-banner__actions {
        justify-content: center;
    }

    .pp-cookie-settings__row {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pp-cookie-banner,
    .pp-cookie-switch,
    .pp-cookie-switch span {
        animation: none;
        transition-duration: 0.01ms;
    }
}
