/* =================== */
.bbtn-bg {
    background-color: #0f1424;
}





.search-container {
    position: relative;
    /* Добавляем относительное позиционирование */
    width: 100%;
    /* Убедимся, что контейнер занимает всю доступную ширину */
}

.search-suggestions {
    position: absolute;
    /* Абсолютное позиционирование относительно search-container */
    width: 100%;
    /* Ширина как у родительского контейнера */
    max-height: 300px;
    overflow-y: auto;
    display: none;
    left: 0;
    /* Выравнивание по левому краю */
    top: 100%;
    /* Позиционирование под полем ввода */
    z-index: 50;
    /* Чтобы подсказки были поверх других элементов */
}


.search-suggestion-item {
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-suggestion-item:hover {
    background-color: #f3f4f6;
}

.search-suggestion-item.active {
    background-color: #e5e7eb;
}

.search-suggestion-item:not(:last-child) {
    border-bottom: 1px solid #e5e7eb;
}




#site-header {
    /* Плавный переход для свойства transform */
    transition: transform 0.3s ease-in-out;
}



/* ==================== */



/* Обновленные стили для основного слайдера */
.main-swiper {
    width: 100%;
    height: 500px;
    /* Фиксированная высота */
    margin: 0 auto;
    overflow: hidden;
}

.main-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    box-sizing: border-box;
}

.main-swiper .swiper-slide img {
    max-width: 95% !important;
    /* Оставляем небольшие отступы */
    max-height: 95% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto;
}

/* Стили для миниатюр (оставляем как было) */
.swiper-thumbs {
    height: 100px !important;
    box-sizing: border-box;
    margin-top: 10px;
}

.swiper-thumbs .swiper-slide {
    width: 80px !important;
    height: 80px !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #eee;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.swiper-thumbs .swiper-slide:hover,
.swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #cfcfcf;
}

.swiper-thumbs .swiper-slide img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .main-swiper {
        height: 300px !important;
    }

    .main-swiper .swiper-slide img {
        max-width: 90% !important;
        max-height: 90% !important;
    }
}



/* CATALOG MODAL */

.sep {
    width: 100% !important;

    margin-left: auto;
    margin-right: auto;
    text-align: center;
    box-shadow: none;
    background-color: #f1f1f1;
    transition: none;
}

.sep:hover {
    box-shadow: none !important;
    background-color: #f1f1f1 !important;
    /* другие свойства, если есть */
    cursor: default;
    /* чтобы не было курсора руки */
}



 /* Контейнер подсказок */
        #searchSuggestions {
           
            top: calc(100% + 8px);
            border-radius: 1.5rem;
            
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            border: 1px solid #e5e7eb;
        }

         
        .search-suggestion-item {
            padding: 0.75rem 1.25rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            
            cursor: pointer;
            color: #374151;
          
            font-size: 0.95rem;
            transition: background-color 0.1s ease;
        }

        
        .search-suggestion-item:hover,
        .search-suggestion-item.active {
            background-color: #f3f4f6;
           
        }

       
        .search-suggestion-item i {
            color: #9ca3af;
            
            font-size: 0.85rem;
            margin-top: 2px;
        }

        
        .search-suggestion-item span {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
             
            width: 100%;
        }