.land__cookie {
    position: fixed;
    bottom: 24px;
    left: 50%;
    z-index: 10;
    max-width: 1340px;
    width: 100%;
    border-radius: 16px;
    padding: 16px 32px;
    background: #fff;
    box-shadow: 0px 13px 44.2px 0px rgba(0, 0, 0, 0.15);
    font-family: inherit, sans-serif;
    transform: translate(-50%, calc(100% + 24px));
    transition: all .3s ease-in-out;
}

.land__cookie.show {
    transform: translate(-50%, 0);
}

.land__cookie-title {
    margin: 0 0 10px 0;
    color: #040404;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.land__cookie__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.land__cookie-text {
    margin: 0;
    padding-inline-end: 40px;
    color: #777f86;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.4;
}

.land__cookie-text a {
    color: #0b60d6;
    text-decoration: none;
}

.land__cookie__btns {
    max-width: 220px;
    width: 100%;
    display: grid;
    grid-template-areas:
        'button1 button2'
        'button3 button3';
    gap: 14px;
}

.land__cookie-btn--confirm {
    grid-area: button1;
}

.land__cookie-btn--decline {
    grid-area: button2;
}

.land__cookie-btn--manage {
    grid-area: button3;
}

.land__cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid rgba(37, 42, 46, 0.10);
    background: #fa6a1c;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    outline: none;
    cursor: pointer;
}

.land__cookie-btn:focus {
    outline: none;
}

.land__cookie-btn.land__cookie-btn--small {
    border-radius: 4px;
    padding: 6px;
    font-size: 14px;
}

.land__cookie-btn.land__cookie-btn--border {
    border-color: #c6c9cd;
    background: transparent;
    color: #383f46;
}

.land__cookie__popup {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 42, 46, 0.30);
}

.land__cookie__popup-container {
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 40px;
    border-radius: 24px;
    background: #fff;
}

.land__cookie__popup-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.land__cookie__popup-title {
    margin: 0;
    color: #040404;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.land__cookie__popup-close {
    position: static;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.52673 10L4.78496 6.25823C4.65478 6.12805 4.65478 5.917 4.78496 5.78682L5.78669 4.78509C5.91686 4.65491 6.12792 4.65491 6.25809 4.78509L9.99987 8.52686L13.7416 4.78509C13.8718 4.65491 14.0829 4.65491 14.213 4.78509L15.2148 5.78682C15.345 5.917 15.345 6.12805 15.2148 6.25823L11.473 10L15.2148 13.7418C15.345 13.8719 15.345 14.083 15.2148 14.2132L14.213 15.2149C14.0829 15.3451 13.8718 15.3451 13.7416 15.2149L9.99987 11.4731L6.25809 15.2149C6.12792 15.3451 5.91686 15.3451 5.78669 15.2149L4.78496 14.2132C4.65478 14.083 4.65478 13.8719 4.78496 13.7418L8.52673 10Z' fill='%23252A2E'/%3E%3C/svg%3E");
    background-position: center center;
    background-repeat: no-repeat;
    border: 0;
    outline: none;
    cursor: pointer;
}

.land__cookie__popup-close:hover {
    background-color: transparent;
}

.land__cookie__popup-close:before {
    content: '';
}

.land__cookie__popup-middle {
    max-height: 344px;
    display: flex;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid rgba(37, 42, 46, 0.10);
    background: #f4f5f5;
    box-shadow: 0px 4px 16px 0px rgba(120, 143, 165, 0.05);
    overflow: hidden;
}

.land__cookie__popup-content {
    flex: 1 1 auto;
    padding-inline-end: 12px;
    overflow: auto;
}

.land__cookie__text {
    padding-top: 12px;
}

.land__cookie__text-title {
    margin: 0;
    color: #040404;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.land__cookie__text-text {
    margin: 8px 0 0 0;
    color: #777f86;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.land__cookie-radios {
    display: flex;
    flex-wrap: wrap;
}

.land__cookie-radio {
    position: relative;
    min-height: 20px;
    margin: 0;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-inline-start: 0;
    margin-inline-end: 10px;
    cursor: pointer;
}

.land__cookie-radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.land__cookie-radio span {
    position: relative;
    display: flex;
    align-items: center;
    color: #383f46;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.land__cookie-radio span:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #c6c9cd;
    margin-inline-end: 8px;
    transition: all .3s ease-in-out;
}

.land__cookie-radio input:checked ~ span:before {
    box-shadow: inset 0 0 0 5px #fa6a1c;
}

.land__cookie__popup-bottom {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

/* Dark theme */
.land__cookie--dark .land__cookie__popup-container {
    box-shadow: 0px 13px 44.2px 0px rgba(0, 0, 0, 0.15);
    background: #252a2e;
}

.land__cookie.land__cookie--dark {
    background: #252a2e;
}

.land__cookie.land__cookie--dark,
.land__cookie__popup.land__cookie--dark,
.land__cookie--dark .land__cookie-title,
.land__cookie--dark .land__cookie__popup-title,
.land__cookie--dark .land__cookie__text-title {
    color: #fff;
}

.land__cookie--dark .land__cookie-text,
.land__cookie--dark .land__cookie__text-text {
    color: #a5aaaf;
}

.land__cookie--dark .land__cookie-text a {
    color: #0b60d6;
}

.land__cookie--dark .land__cookie-btn.land__cookie-btn--border {
    border-color: #6c747c;
}

.land__cookie--dark .land__cookie-radio span,
.land__cookie--dark .land__cookie-btn.land__cookie-btn--border {
    color: #e8e9eb;
}

.land__cookie--dark .land__cookie__popup-middle {
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #383f46;
    box-shadow: 0px 4px 16px 0px rgba(120, 143, 165, 0.05);
}

.land__cookie--dark .land__cookie-radio span:before {
    background-color: #252a2e;
    border-color: #6c747c;
}

.land__cookie--dark .land__cookie__popup-close {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.52673 10L4.78496 6.25823C4.65478 6.12805 4.65478 5.917 4.78496 5.78682L5.78669 4.78509C5.91686 4.65491 6.12792 4.65491 6.25809 4.78509L9.99987 8.52686L13.7416 4.78509C13.8718 4.65491 14.0829 4.65491 14.213 4.78509L15.2148 5.78682C15.345 5.917 15.345 6.12805 15.2148 6.25823L11.473 10L15.2148 13.7418C15.345 13.8719 15.345 14.083 15.2148 14.2132L14.213 15.2149C14.0829 15.3451 13.8718 15.3451 13.7416 15.2149L9.99987 11.4731L6.25809 15.2149C6.12792 15.3451 5.91686 15.3451 5.78669 15.2149L4.78496 14.2132C4.65478 14.083 4.65478 13.8719 4.78496 13.7418L8.52673 10Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* RTL */
body.rtl .land__cookie {
    direction: rtl;
    text-align: right;
}

body.rtl .land__cookie__popup {
    direction: rtl;
    text-align: right;
}


@media (max-width: 1400px) {
    .land__cookie {
        max-width: 100%;
        width: 90%;
    }
}

@media (max-width: 767px) {
    .land__cookie {
        padding: 16px;
        bottom: 10px;
        transform: translate(-50%, calc(100% + 10px));
    }

    .land__cookie__inner {
        flex-direction: column;
    }

    .land__cookie-title {
        margin-bottom: 6px;
        font-size: 14px;
    }

    .land__cookie-text {
        width: 100%;
        padding: 0;
        font-size: 12px;
    }

    .land__cookie__btns {
        max-width: 100%;
        width: 100%;
        margin-top: 10px;
    }

    .land__cookie__popup-container {
        gap: 0;
        max-width: 100%;
        padding: 0;
        border-radius: 0;
    }

    .land__cookie__popup-top {
        padding: 8px 16px;
    }

    .land__cookie__popup-middle {
        border-radius: 0;
    }

    .land__cookie__popup-bottom {
        padding: 16px;
    }

    .land__cookie__popup-title {
        font-size: 16px;
    }

    .land__cookie-btn {
        font-size: 14px;
        padding: 14px 8px;
    }

    .land__cookie__popup-bottom .land__cookie-btn {
        flex: 1 1 auto;
    }

    .land__cookie__popup-close {
        width: 24px;
        height: 24px;
    }
}
