/* ===== OVERLAY ===== */
.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ===== КОНТЕЙНЕР ===== */
.cookie-box {
    width: calc(100% - 40px);
    max-width: 711px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px 0;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
}

.cookie-back-button {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
}
/* ===== ЗАГОЛОВОК ===== */
.cookie-box h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.switch input:disabled + .slider {
    background: #d08a00;
    opacity: 0.7;
    cursor: not-allowed;
}

.switch input:disabled + .slider:before {
    background: #fff;
}
/* линия */
.cookie-box h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #d08a00;
    margin: 15px auto;
}

/* ===== ОСНОВНОЙ ТЕКСТ ===== */
.cookie-box p {
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* ===== ПОДЗАГОЛОВОК ===== */
.cookie-subtitle {
    font-size: 15px;
    margin: 20px 0 25px;
    color: #333;
    width: 100%;
    text-align: start;
}

/* ===== КНОПКИ ===== */
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    button {
        text-wrap: nowrap;
    }
}
.cookie_button_wrapper {
    width: 100%;
    max-width: 200px
}
/* общие */
.cookie-buttons button {
    min-width: 200px;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Accept */
#acceptCookies {
    background: #d08a00;
    color: #fff;
    border: none;
    text-wrap: nowrap;
    img {
        margin-right: 5px;
    }
}

#acceptCookies::before {

}

/* hover */
#acceptCookies:hover {
    opacity: 0.9;
}

/* Deny */
#denyCookies {
    background: transparent;
    border: 1px solid #d08a00;
}

#denyCookies:hover {
    background: #d08a00;
    color: #fff;
}

/* ===== FOOTER ===== */
.cookie-footer {
    background: var(--grey-50);
    padding: 30px;
    font-size: 14px;
    margin: 0 -30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.lines_wrapper {
    display: flex;
    justify-content: center;
}
.cookie_lines_container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cookie_line_grey {
    background: var(--grey-600);
    width: 40px;
    height: 1px;
    margin-left: 5px;
}

.cookie_line_orange {
    background: var(--orange-700);
    width: 40px;
    height: 1px;
    margin-right: 5px;
}
.cookie_text_conatiner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}


/* ===== КАТЕГОРИИ ===== */
.cookie-categories {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* строка */
.cookie-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    background: #f7f7f7;
    text-align: left;
}

/* текст */
.cookie-cat-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cookie-cat-text span {
    font-size: 13px;
    color: #666;
}

/* ===== SWITCH ===== */
.switch {
    position: relative;
    min-width: 44px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 20px;
    transition: 0.3s;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: #d08a00;
}

.switch input:checked + .slider:before {
    transform: translateX(20px);
}
.cmplz-cookiebanner {
    display: none !important;
}
