.cookie-window {
    width: 100%;
    min-height: 60px;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

.cookie-info {
    box-sizing: border-box;
    width: 100%;
    max-width: 1140px;
    min-height: 60px;
    height: max-content;
    margin: 0 auto;
    padding: 0.5rem 1rem 0.5rem 0;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    background: #dbdbdb;
    position: relative;
}

.cookie-close {
    box-sizing: border-box;
    width: 60px;
    min-width: 60px;
    min-height: 44px;
    padding: 0;
    margin: 0 1rem 0 0;

    position: relative;
    border: 0;
    border-right: 1px solid #000;
    background: transparent;
    cursor: pointer;

    -webkit-transition:
        background-color 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
    -o-transition:
        background-color 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
    transition:
        background-color 0.3s ease-in-out,
        opacity 0.3s ease-in-out;
}

.cookie-close::before,
.cookie-close::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;

    position: absolute;
    top: 50%;
    left: 50%;

    background: #000;

    -webkit-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

.cookie-close::before {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.cookie-close::after {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.cookie-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

.cookie-close:focus-visible {
    outline: 3px solid #000;
    outline-offset: -3px;
}

.cookie-text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;

    -ms-flex-item-align: center;
    align-self: center;

    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.cookie-policy-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-policy-link:hover {
    text-decoration: none;
}

.cookie-policy-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .cookie-info {
        padding-right: 0.75rem;
    }

    .cookie-close {
        width: 50px;
        min-width: 50px;
        margin-right: 0.75rem;
    }

    .cookie-close::before,
    .cookie-close::after {
        width: 30px;
    }

    .cookie-text {
        padding: 0.25rem 0;
        font-size: 12px;
        line-height: 1.4;
    }
}

.cookie-accept {
    align-self: center;
    flex-shrink: 0;
    min-height: 40px;
    margin-left: 1rem;
    padding: 0.5rem 1.25rem;

    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;

    background: #000;
    border: 1px solid #000;
    border-radius: 3px;

    cursor: pointer;

    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.cookie-accept:hover {
    color: #000;
    background: transparent;
}

.cookie-accept:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .cookie-info {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .cookie-text {
        min-width: calc(100% - 66px);
    }

    .cookie-accept {
        width: calc(100% - 1.5rem);
        margin: 0.75rem 0.75rem 0.25rem;
    }
}