.cookie-consent-banner {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px) brightness(0.5);
}

.cookies-consent-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 30px);
    max-width: 680px;
    max-height: calc(100vh - 40px);
    color: #222;
    font-size: 12px;
    background-color: #fff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.22);
}

.cookies-consent {
    padding: 48px 56px 32px;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cookies-consent::-webkit-scrollbar {
    display: none;
}

.cookie-consent-banner h2 {
    color: #000;
    font-size: 28px;
    font-weight: 300;
    line-height: 34px;
    margin: 0 0 18px;
}

.cookie-consent-banner h3 {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
}

.cookie-consent-banner-information p {
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    margin: 0;
}

.cookie-description,
.cookie-input-flex label {
    color: #686868;
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
}

.cookie-description {
    margin: 8px 0 0;
}

.cookie-input-flex label {
    cursor: pointer;
}

.cookie-input-flex label:hover,
.cookie-input-flex label:focus {
    color: #000;
}

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

.cookies-consent-banner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 56px;
    box-shadow: 0 0 99.5px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.cookie-consent-banner-information a {
    font-weight: 600;
    color: #111;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent-button {
    border: none;
    padding: 12px 20px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 400;
    line-height: 24px;
    border-radius: 43px;
    cursor: pointer;
    min-width: 150px;
}

.btn-cookies-grey {
    background-color: #f4f4f4;
    color: #171717;
    transition: all 0.2s;
}

.btn-cookies-grey:hover,
.btn-cookies-grey:focus {
    background-color: #ddd;
}

.cookie-consent-button.btn-cookies-black {
    background-color: #212121;
    color: #fff;
    transition: all 0.2s;
}

.cookie-consent-button.btn-cookies-black:hover,
.cookie-consent-button.btn-cookies-black:focus {
    background-color: #000;
    color: #fff;
}

.cookie-consent-button-reject {
    color: #171717;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
}

.cookie-consent-button-reject:hover,
.cookie-consent-button-reject:focus {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.cookies-manage {
    border-bottom: 1px solid #d6d6d6;
    padding: 18px 0;
}

.cookies-manage:first-child {
    border-top: 1px solid #d6d6d6;
    margin-top: 22px;
}

.cookie-input-content input[type="radio"] {
    cursor: pointer;
    accent-color: #000;
}

.btn-accept-some {
    width: fit-content;
    min-width: 180px;
    flex: none;
    background-color: #fff;
    border: 1px solid #000;
    color: #171717;
    transition: all 0.2s;
}

.btn-accept-some:hover,
.btn-accept-some:focus {
    border-color: #ddd;
    background-color: #ddd;
}

.cookies-buttons-flex {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cookies-manage-content {
    display: none;
    opacity: 0;
}

.cookies-manage-content.active {
    display: block;
    opacity: 1;
    animation: cookiesGrowDown 0.25s ease-in-out forwards;
}

@keyframes cookiesGrowDown {
    0% { transform: scaleY(0.98); }
    100% { transform: scaleY(1); }
}

.cookie-input-content {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.cookie-consent-banner-information {
    padding-bottom: 6px;
}

@media screen and (max-width: 900px) {
    .cookies-consent {
        padding: 36px 32px 28px;
    }

    .cookies-consent-banner-flex {
        padding: 24px 32px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-button {
        width: 100%;
    }

    .cookie-consent-banner h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .cookie-consent-banner-information p {
        font-size: 14px;
        line-height: 22px;
    }
}

@media screen and (max-width: 540px) {
    .cookies-consent-container {
        border-radius: 24px;
    }

    .cookies-consent {
        padding: 30px 22px 24px;
        max-height: calc(100vh - 210px);
    }

    .cookies-consent-banner-flex {
        padding: 20px 22px;
    }

    .cookie-consent-button,
    .cookie-consent-button-reject {
        font-size: 14px;
    }

    .cookie-consent-banner h3 {
        font-size: 14px;
        line-height: 20px;
    }
}
