.special-page .category .onecat:last-child {
    display: none;
}

.slide1 {
    display: none;
    opacity: 0;
}

#start_slide {
    opacity: 1;
}

.enable {
    display: block;
}

.recall_btn {
    position: fixed;
    width: 300px;
    right: 30px;
    bottom: 120px;
    background-color: #9d0034;
    border: 0;
    cursor: pointer;
    transform: translateY(80px);
    transition: all 0.25s;
    transition-timing-function: ease;
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    z-index: 2;
    color: white;
    padding: 4px;
}

#recall_otdel select {
    width: 100%;
    height: 40px;
    font-size: 16px;
    font-weight: 300;
    border: 1px solid #bdbdbd;
    line-height: 38px;
}

.radiogroup {
    border: 0px solid green;
    display: flex;
    justify-content: center;
    margin: 10px;
}

@media screen and (min-width: 320px) and (max-width: 568px) {
    .recall_btn {
        right: 25px;
        bottom: 167px;
        width: 60px;
        padding: 2px;
    }
}

.container33 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btb {
    margin-right: 20px;
    background-color: #666;
    padding: 16px 10px;
    position: relative;
    display: inline-block;
}

.btb a {
    color: #fff;
    text-decoration: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0;
    list-style: none;
    width: 223px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px 16px;
}

.dropdown-menu li a:hover {
    background-color: #f2f2f2;
}

.btb:hover .dropdown-menu {
    display: block;
}

.cart {
    margin-left: auto;
}

.subscribe-form-submit {
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 0px 4px 4px 0px;
    background: url(/img/Vector.svg) center no-repeat;
    display: inline-block;
    color: rgb(255, 255, 255);
    background-color: #9D0034;
    border: 0px;
    flex-shrink: 0; /* Важно: предотвращает сжатие кнопки */
}

.subscribe-form-input {
    height: 40px;
    padding-left: 12px;
    flex-grow: 2;
    border-radius: 4px 0px 0px 4px;
    border: 1px solid #C4C4C4;
    font-size: 16px;
    line-height: 19px;
    font-weight: 300;
    min-width: 0; /* Важно для правильной работы flex */
}

.subscribe-form-submit:hover {
    background-color: #bf003f;
    transition: 0.2s;
}

/* Базовые стили для контейнера */
.subscribe-form-input-container {
    display: flex;
    width: 100%;
    max-width: 400px; /* Ограничиваем максимальную ширину */
}

/* Мобильная версия - сохраняем горизонтальное расположение */
@media (max-width: 768px) {
    .subscribe-form-input-container {
        flex-direction: row; /* Горизонтальное расположение */
        width: 100%;
        max-width: 100%;
    }
    
    .subscribe-form-input {
        width: auto; /* Автоматическая ширина */
        border-radius: 4px 0px 0px 4px;
        margin-bottom: 0; /* Убираем отступ снизу */
        flex: 1; /* Занимает все доступное пространство */
    }
    
    .subscribe-form-submit {
        width: 50px; /* Немного увеличиваем для мобильных */
        border-radius: 0px 4px 4px 0px;
        margin-bottom: 0; /* Убираем отступ снизу */
    }
    
    .subscribe-form-item--text {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .subscribe-form {
       /* padding: 0 15px;*/
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .yandex-rating-wrapper iframe {
        height: 5em !important;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .subscribe-form-input {
        font-size: 14px;
        height: 44px;
    }
    
    .subscribe-form-submit {
        height: 44px;
        width: 55px; /* Немного шире для удобства */
    }
    
    .subscribe-form-text span {
        font-size: 14px;
        line-height: 1.4;
    }
    
    /* Убеждаемся, что форма не выходит за границы экрана */
    .subscribe-form {
        box-sizing: border-box;
    }
    
    .subscribe-form-input-container {
        max-width: 100%;
    }
}

/* Стили для замены inline стилей из header.php */

/* Скрытие элементов */
.call_me--hidden {
    display: none;
}

.change_language--hidden {
    display: none;
}

/* Центрирование текста */
.zapros--centered {
    text-align: center;
}

/* Стили для форм обратного звонка */
.recall_form_ok {
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    padding: 24px;
}

.recall_form {
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
}

/* Стили для логотипа в форме */
.logo--form {
    margin-top: -20px;
}

