.cookie-consent {

    position: fixed;

    left: 24px;

    right: 24px;

    bottom: 24px;

    z-index: 5000;

    max-width: 760px;

    margin: 0 auto;

    padding: 26px 28px;

    background: rgba(26, 25, 24, 0.98);

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.42);

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    opacity: 0;

    visibility: hidden;

    transform: translateY(18px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease;

}


.cookie-consent.is-visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.cookie-consent-title {

    margin: 0 0 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: #ffffff;

}


.cookie-consent-text {

    max-width: 670px;

    margin: 0;

    font-size: 13px;

    font-weight: 300;

    line-height: 1.65;

    color: #c7c4c1;

}


.cookie-consent-actions {

    margin-top: 22px;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

}


.cookie-button {

    min-height: 42px;

    padding: 0 18px;

    border: 1px solid rgba(255, 255, 255, 0.42);

    background: transparent;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 0.11em;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;

}


.cookie-button:hover,
.cookie-button:focus-visible {

    background: #ffffff;

    border-color: #ffffff;

    color: #1a1918;

    outline: none;

}


.cookie-button-primary {

    background: #ffffff;

    border-color: #ffffff;

    color: #1a1918;

}


.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {

    background: #d7d4d0;

    border-color: #d7d4d0;

    color: #1a1918;

}


.cookie-preferences {

    position: fixed;

    inset: 0;

    z-index: 5100;

    padding: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(0, 0, 0, 0.72);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

}


.cookie-preferences.is-visible {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.cookie-preferences-panel {

    width: min(100%, 620px);

    max-height: calc(100vh - 48px);

    overflow-y: auto;

    padding: 30px;

    background: #1a1918;

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.55);

    color: #ffffff;

}


.cookie-preferences-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

}


.cookie-preferences-header h2 {

    margin: 0;

    font-family: "Montserrat", sans-serif;

    font-size: 16px;

    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.cookie-preferences-close {

    width: 34px;

    height: 34px;

    flex: 0 0 34px;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 28px;

    font-weight: 200;

    line-height: 1;

    cursor: pointer;

    opacity: 0.65;

}


.cookie-preferences-close:hover {

    opacity: 1;

}


.cookie-category {

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.10);

}


.cookie-category:last-of-type {

    border-bottom: 1px solid rgba(255, 255, 255, 0.10);

}


.cookie-category-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 24px;

}


.cookie-category h3 {

    margin: 0;

    font-family: "Montserrat", sans-serif;

    font-size: 12px;

    font-weight: 500;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.cookie-category p {

    margin: 10px 0 0;

    max-width: 490px;

    font-size: 12px;

    font-weight: 300;

    line-height: 1.6;

    color: #aaa7a3;

}


.cookie-always-active {

    font-family: "Montserrat", sans-serif;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 0.09em;

    text-transform: uppercase;

    color: #8f8b87;

    white-space: nowrap;

}


.cookie-switch {

    position: relative;

    width: 46px;

    height: 25px;

    flex: 0 0 46px;

}


.cookie-switch input {

    position: absolute;

    opacity: 0;

    pointer-events: none;

}


.cookie-switch-track {

    position: absolute;

    inset: 0;

    border-radius: 30px;

    background: #4b4845;

    cursor: pointer;

    transition: background 0.25s ease;

}


.cookie-switch-track::after {

    content: "";

    position: absolute;

    top: 3px;

    left: 3px;

    width: 19px;

    height: 19px;

    border-radius: 50%;

    background: #ffffff;

    transition: transform 0.25s ease;

}


.cookie-switch input:checked + .cookie-switch-track {

    background: #8b8884;

}


.cookie-switch input:checked + .cookie-switch-track::after {

    transform: translateX(21px);

}


.cookie-preferences-actions {

    margin-top: 26px;

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 10px;

}


.cookie-settings-link {

    margin-left: 12px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #6d6d6d;

    font-family: "Montserrat", sans-serif;

    font-size: 8px;

    font-weight: 400;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    cursor: pointer;

    transition: color 0.25s ease;

}


.cookie-settings-link:hover {

    color: #ffffff;

}


@media (max-width: 650px) {

    .cookie-consent {

        left: 12px;

        right: 12px;

        bottom: 12px;

        padding: 22px 20px;

    }


    .cookie-consent-actions {

        flex-direction: column;

    }


    .cookie-button {

        width: 100%;

    }


    .cookie-preferences {

        padding: 12px;

    }


    .cookie-preferences-panel {

        padding: 24px 20px;

        max-height: calc(100vh - 24px);

    }


    .cookie-preferences-actions {

        flex-direction: column;

    }


    .cookie-settings-link {

        margin-left: 0;

        margin-top: 8px;

    }

}