.cookie-consent {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 99999;
    pointer-events: none;
    font-family: var(--font-primary, inherit);
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-body, #777);
}

.cookie-consent:not([hidden]) {
    pointer-events: auto;
}

.cookie-consent__panel {
    background: #292930;
    color: #fff;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.cookie-consent__main,
.cookie-consent__preferences {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}

.cookie-consent__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-consent__text,
.cookie-consent__title {
    margin: 0;
}

.cookie-consent__text,
.cookie-consent__title,
.cookie-consent__option-name,
.cookie-consent__option-desc,
.cookie-consent__badge,
.cookie-consent a {
    color: #f4f4f4;
}

.cookie-consent__text {
    font-size: 13px;
    line-height: 1.4;
}

.cookie-consent__title {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.cookie-consent__link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
}

.cookie-consent__actions--prefs {
    margin-top: 10px;
}

.cookie-consent__btn {
    padding: 6px 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
}

.cookie-consent__btn--primary {
    background: #fff;
    color: #292930;
    border-radius: 4px;
}

.cookie-consent__option {
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-consent__option:first-of-type {
    border-top: none;
    padding-top: 0;
}

.cookie-consent__option-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-consent__option-name {
    font-weight: 600;
    font-size: 13px;
}

.cookie-consent__option-desc {
    margin: 2px 0 0 50px;
    font-size: 12px;
    line-height: 1.4;
}

.cookie-consent__badge {
    margin-left: auto;
    font-size: 12px;
}

.cookie-consent__switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-consent__switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-consent__slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #d4d4d4;
    border-radius: 20px;
}

.cookie-consent__slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.cookie-consent__switch input:checked + .cookie-consent__slider {
    background: #fff;
}

.cookie-consent__switch input:checked + .cookie-consent__slider:before {
    background: #292930;
    transform: translateX(16px);
}

@media (max-width: 767px) {
    .cookie-consent__main,
    .cookie-consent__preferences {
        padding: 12px 16px;
    }

    .cookie-consent__main {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .cookie-consent__actions {
        justify-content: flex-end;
    }

    .cookie-consent__option-desc {
        margin-left: 0;
    }
}
