

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: #ffffff;
    border-top: 1px solid #cccccc;
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 24px;
}

.cookie-banner__text {
    flex: 1;
    font-size: 14px;
    line-height: 21px;
    margin: 0;
}

.cookie-banner__text a {
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner__prefs-link {
    font-weight: 500;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    color: #635bff;
    font-family: inherit;
    text-decoration: underline;
    cursor: pointer;
    line-height: inherit;
    transition: all 0.4s ease;
}
.cookie-banner__prefs-link:hover {
    color: #1468a0 !important;
    transition: all 0.4s ease;
}

.cookie-banner__actions {
    display: flex;
    flex-shrink: 0;
    gap: 12px;
    align-items: center;
}
.cookie-banner__accept, .cookie-banner__reject {
    flex-shrink: 0;
    border-radius: 100px;
    padding: 14px 50px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.cookie-banner__accept {
    background: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.cookie-banner__accept:hover {
    transform: scale(1.05);
}

.cookie-banner__reject {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.cookie-banner__reject:hover {
    transform: scale(1.05);
}

.cookie-modal__subtitle {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cookie-modal__desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 24px;
}

.cookie-modal__desc a {
    font-weight: bold;
    text-decoration: underline;
}

.cookie-modal__options {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-option__name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 3px;
}

.cookie-option__desc {
    font-size: 11px;
    line-height: 15px;
}

.cookie-toggle {
    flex-shrink: 0;
    display: inline-flex;
    cursor: pointer;
}

.cookie-toggle--disabled {
    cursor: default;
    opacity: .6;
}

.cookie-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.cookie-toggle__track {
    display: inline-block;
    width: 44px;
    height: 24px;
    border-radius: 12px;
    background: #d5d5d5;
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}

.cookie-toggle__track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    transition: transform .2s;
}

.cookie-toggle input:checked + .cookie-toggle__track {
    background: #2FDA6E;
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
    transform: translateX(20px);
}

.cookie-modal__save:hover {
    transform: scale(1.05);
}

#cookie-modal .text-right {
    justify-content: end;
    display: flex;
}

@media (max-width: 639px) {
    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-modal__subtitle {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 15px;
        line-height: 19px;
    }
    .cookie-banner__actions .button {
        flex: 1;
        justify-content: center;
    }

    .cookie-banner__accept {
        order: 1;
    }

    .cookie-banner__text {
        font-size: 13px;
        line-height: 18px;
        margin-bottom: 7px;
    }

    .cookie-banner__reject {
        order: 2;
        width: 100%;
    }

    .cookie-banner__accept, .cookie-banner__reject {
        font-size: 14px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }

    .cookie-banner__accept {
        width: 100%;
        text-align: center;
    }
}