  .cookie-consent-container {
	position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 550px;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    background-color: rgb(4 7 9);
    color: #dddddd;
    padding: 20px;
    transform: translate(-50%, -50%);
    z-index: 9999999;
    display: flex;
    line-height: 23px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Arial, sans-serif;	
}

.cookie-consent-title, .cookie-consent-subtitle {
    text-align: center;
    margin-bottom: 10px;
}

.cookie-consent-title {
    font-size: 26px;
}

.cookie-consent-subtitle {
    font-size: 16px;
    font-weight: bold;
}

.cookie-consent-description, .cookie-consent-back {
    font-size: 14px;
    margin: 20px;
    cursor: pointer;
    max-width: 623px; /* Ширина текстового блока */
}

.cookie-consent-back {
    color: #ff2c5f;
}

.cookie-consent-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 80%;
    max-width: 300px;
    gap: 10px;
    margin-bottom: 20px;
}

.cookie-consent-button {
    padding: 14px 23px; /* Настройка толщины/ширины кнопок */
    border: 2px solid #ff2c5f;
    background-color: transparent;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s;
    flex-grow: 1;
    font-size: 15px;
    width: 100%; /* Кнопки занимают всю ширину */
    box-sizing: border-box; /* Учитывать padding и border в ширине кнопки */
}

.cookie-consent-button:hover {
    background-color: #ff2c5f;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: auto;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slidercock {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slidercock:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slidercock {
    background-color: #ff2c5f;
}

input:focus + .slidercock {
    box-shadow: 0 0 1px #ff2c5f;
}

input:checked + .slidercock:before {
    transform: translateX(26px);
}

input:disabled + .slidercock {
    background-color: #ccc;
}

input:disabled:checked + .slidercock:before {
    background-color: #999;
}

.cookie-consent-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-consent-option-text {
    flex-grow: 1; 
    margin-right: 30px;
}

.cookie-consent-option-switch {
    /* Вы можете добавить дополнительные стили для выравнивания переключателей, если это необходимо */
}

@media (min-width: 768px) {
    .cookie-consent-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-consent-button {
        flex-grow: 1; 
        width: auto; /* Отменить фиксированную ширину для кнопок в строке */
    }

    .cookie-consent-options {
        flex-direction: row;
        align-items: center;
    }

    .cookie-consent-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-consent-description {
        max-width: 623px; /* Ширина главного блока с текстом */
    }
}

.cookie-consent-option,
.cookie-consent-back,
.cookie-consent-save {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 623px; /* Ширина блока настроек */
}

.cookie-consent-back,
.cookie-consent-subtitle,
.cookie-consent-description {
    text-align: left;
}

.cookie-consent-save {
    margin-top: 20px;
}

.cookie-consent-save button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 15px;
    background-color: #ff2c5f;
    color: black;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 33, 46, 0.85); /* полупрозрачный тёмный фон */
    z-index: 9999998; /* чуть ниже, чем у cookie-баннера */
    display: none; /* скрыт по умолчанию */
}