/* Cookie-баннер */
#cookie_note {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    max-width: 90%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 3000;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e0e0e0;
}

#cookie_note.show {
    display: flex;
}

.cookie-text p {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.4;
}

.cookie-text p:last-child {
    margin-bottom: 0;
}

.cookie-text a {
    color: #007bff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie_accept {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie_accept:hover {
    background: #0056b3;
}

.cookie_decline {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s;
}

.cookie_decline:hover {
    background: #e0e0e0;
}

@media (min-width: 768px) {
    #cookie_note.show {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cookie-text {
        flex: 1;
        padding-right: 15px;
    }
    .cookie-buttons {
        flex-shrink: 0;
    }
}

@media (max-width: 575px) {
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie_accept,
    .cookie_decline {
        width: 100%;
        margin: 0;
    }
}