.cookie-consent-button {
    position: fixed;
    right: 17px;
    bottom: 80px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 0;
    border-radius: 50%;
    color: #0C0F44;
    padding: 0;
    z-index: 10000;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(12, 15, 68, .15);
    transition: color .3s ease, box-shadow .3s ease, transform .3s ease, opacity .3s ease;
}

.cookie-consent-button:hover {
    color: #EC690D;
    box-shadow: 0 6px 20px rgba(12, 15, 68, .22);
    transform: translateY(-2px);
}

.cookie-consent-button:focus {
    outline: none;
}

.cookie-consent-button__icon {
    width: 25px;
    height: 25px;
}

@starting-style {
    .cookie-consent-button {
        opacity: 0;
        transform: scale(.6);
    }
}

.cookie-consent-overlay, .cookie-consent-banner-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    padding: 16px;
    z-index: 100000;
    visibility: hidden;
    pointer-events: none;
    transition: background-color .3s ease, visibility 0s linear .3s;
}

.cookie-consent-overlay.is-open, .cookie-consent-banner-overlay.is-open {
    background: rgba(0, 0, 0, .3);
    visibility: visible;
    pointer-events: auto;
    transition: background-color .3s ease;
}

.cookie-consent-banner {
    max-width: 460px;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 28px;
    line-height: 1.5;
    opacity: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    transform: translateY(16px) scale(.97);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cookie-consent-banner-overlay.is-open .cookie-consent-banner {
    opacity: 1;
    transform: none;
}

.cookie-consent-banner__title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cookie-consent-banner__desc {
    font-size: 14px;
    color: #636363;
    margin-bottom: 20px;
}

.cookie-consent-banner__policy-link {
    display: inline;
    color: #0063A3;
    transition: color .3s ease;
}

.cookie-consent-banner__policy-link:hover {
    color: #EC690D;
}

.cookie-consent-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cookie-consent__btn {
    position: relative;
    height: 46px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    padding: 0 16px;
}

.cookie-consent__btn:focus {
    outline: none;
}

.cookie-consent__btn--secondary {
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    color: #000000;
}

.cookie-consent__btn--primary {
    background: #EC690D;
    color: #FFFFFF;
    transition: color .3s ease, background-color .3s ease, transform .3s ease;
}

.cookie-consent__btn--primary:hover {
    background: transparent;
    color: #EC690D;
    transform: translateY(-2px);
}

.cookie-consent__btn--primary:active {
    transform: translateY(0);
}

.cookie-consent__btn--primary::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
            from var(--cookie-consent-angle),
            #FFFFFF 0deg,
            #FFFFFF 20deg,
            #FFFAF5 30deg,
            #FEE9D6 40deg,
            #FDD9BE 60deg,
            #FBC08E 90deg,
            #F9A96A 110deg,
            #EC690D 130deg,
            #EC690D 230deg,
            #F9A96A 250deg,
            #FBC08E 270deg,
            #FDD9BE 300deg,
            #FEE9D6 320deg,
            #FFFAF5 330deg,
            #FFFFFF 340deg,
            #FFFFFF 360deg
    );
    opacity: 0;
    z-index: -2;
    transition: opacity .3s;
}

.cookie-consent__btn--primary:hover::before {
    opacity: 1;
    animation: cookie-consent-rotate 3s linear infinite;
}

.cookie-consent__btn--primary::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #EC690D;
    border-radius: inherit;
    z-index: -1;
    transition: background .3s;
}

.cookie-consent__btn--primary:hover::after {
    background: #FFFFFF;
}

@property --cookie-consent-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes cookie-consent-rotate {
    from { --cookie-consent-angle: 0deg; }
    to { --cookie-consent-angle: 360deg; }
}

.cookie-consent {
    position: relative;
    max-width: 580px;
    background: #FFFFFF;
    border-radius: 16px;
    color: #000000;
    padding: 28px;
    line-height: 1.5;
    opacity: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
    transform: translateY(16px) scale(.97);
    transition: opacity .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cookie-consent-overlay.is-open .cookie-consent {
    opacity: 1;
    transform: none;
}

.cookie-consent__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    border-radius: 50%;
    color: #636363;
    transition: color .3s ease, background-color .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.cookie-consent__close:hover {
    background: #F3F3F9;
    color: #000000;
    transform: rotate(90deg);
}

.cookie-consent__close:focus {
    outline: none;
}

.cookie-consent-overlay.is-locked .cookie-consent__close {
    display: none;
}

.cookie-consent__title {
    color: #000000;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-right: 36px;
}

.cookie-consent__desc {
    font-size: 14px;
    color: #636363;
    margin-bottom: 12px;
}

.cookie-consent__policy {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #0063A3;
    margin-bottom: 20px;
    gap: 6px;
    transition: color .3s ease;
}

.cookie-consent__policy:hover {
    color: #EC690D;
}

.cookie-consent__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cookie-consent__list {
    background: #F3F3F9;
    border: 1px solid #E2E2EC;
    border-radius: 12px;
    margin-bottom: 12px;
}

.cookie-consent__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 16px;
    align-items: center;
    padding: 16px;
}

.cookie-consent__item + .cookie-consent__item {
    border-top: 1px solid #E2E2EC;
}

.cookie-consent__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
}

.cookie-consent__sub {
    display: block;
    font-size: 13px;
    color: #636363;
    line-height: 1.4;
    margin-top: 2px;
}

.cookie-consent__badge {
    background: rgba(0, 99, 163, .1);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #0063A3;
    line-height: 1.4;
    white-space: nowrap;
    padding: 4px 10px;
}

.cookie-consent__toggle-details {
    background: none;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    line-height: 1.4;
    text-align: left;
    padding: 0;
    transition: color .3s ease;
}

.cookie-consent__toggle-details:hover {
    color: #0063A3;
}

.cookie-consent__toggle-details:focus {
    outline: none;
}

.cookie-consent__chevron {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    color: #636363;
    margin-left: 2px;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.cookie-consent__item.is-expanded .cookie-consent__chevron {
    transform: rotate(90deg);
}

.cookie-consent__switch {
    position: relative;
    width: 44px;
    height: 24px;
    margin: 0;
    cursor: pointer;
}

.cookie-consent__switch:hover .cookie-consent__input:not(:checked) + .cookie-consent__track {
    background: #C4C4C4;
}

.cookie-consent__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
}

.cookie-consent__input:checked + .cookie-consent__track {
    background: #0063A3;
}

.cookie-consent__input:checked + .cookie-consent__track::after {
    transform: translateX(20px);
}

.cookie-consent__track {
    position: absolute;
    inset: 0;
    background: #D9D9D9;
    border-radius: 999px;
    transition: background-color .3s ease;
}

.cookie-consent__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.cookie-consent__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    border: 0;
    white-space: nowrap;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.cookie-consent__details {
    display: grid;
    grid-column: 1 / -1;
    grid-template-rows: 0fr;
    font-size: 13px;
    color: #636363;
    visibility: hidden;
    opacity: 0;
    transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease, visibility 0s linear .35s;
}

.cookie-consent__item.is-expanded .cookie-consent__details {
    grid-template-rows: 1fr;
    visibility: visible;
    opacity: 1;
    transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1), opacity .3s ease .05s, visibility 0s;
}

.cookie-consent__details-inner {
    min-height: 0;
    overflow: hidden;
}

.cookie-consent__details-body {
    padding-top: 12px;
}

.cookie-consent__details-text {
    margin-bottom: 6px;
}

.cookie-consent__details-text:last-child {
    margin-bottom: 0;
}

.cookie-consent__details-label {
    font-weight: 600;
    color: #000000;
}

.cookie-consent__note {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #636363;
    margin-bottom: 20px;
    gap: 6px;
}

.cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 576px) {
    .cookie-consent {
        padding: 20px;
    }

    .cookie-consent-banner {
        padding: 20px;
    }

    .cookie-consent-banner__actions {
        grid-template-columns: 1fr;
    }

    .cookie-consent__close {
        top: 12px;
        right: 12px;
    }

    .cookie-consent__item:has(> .cookie-consent__badge) {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }

    .cookie-consent__badge {
        justify-self: start;
    }

    .cookie-consent__actions {
        grid-template-columns: 1fr;
    }

    .cookie-consent__btn--primary {
        order: -1;
    }
}
