/* Основные стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    position: fixed; /* Фиксируем вверху */
    top: 0;          /* Прижимаем к верху */
    left: 0;
    width: 100%;     /* Делаем на всю ширину */
    background: white; /* Цвет фона (можно поменять) */
    z-index: 1000;   /* Поверх других элементов */
    /*padding: 10px 0; !* Добавляем немного отступов *!*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Тень для эффекта */
}

/* Чтобы контент не прилипал к верху из-за фиксированного меню */
body {
    padding-top: 97px; /* Отступ сверху, равный высоте меню */
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    background: #333;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

/* Слайд-шоу */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 1700px; /* Ограничение по ширине */
    margin: auto; /* Центрирование */
    text-align: center;
}

.slideshowProduct-container{
    position: relative;
    width: 100%;
    max-width: 700px; /* Ограничение по ширине */
    margin: auto; /* Центрирование */
    text-align: center;
}

.slide {
    display: none;
}

.slideProduct {
    display: none;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
}

.slideProduct img {
    width: 100%;
    height: auto;
    max-height: 800px;
    object-fit: cover;
}

.active {
    display: block;
}

/* Кнопки навигации */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border: none;
    font-size: 24px;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Точки */
.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 5px;
    background: gray;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: black;
}

/* Центрирование контента */
section {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.dotsProduct .dot {
    background: #bbb; /* Оттенок светлее для продуктов */
}

.dotsProduct .dot.active {
    background: #444; /* Темнее активная точка */
}

/* Адаптивность */
@media (max-width: 600px) {
    header {
        position: static; /* Сбрасываем позиционирование */
        box-shadow: none; /* Убираем тень, если нужно */
    }

    body {
        padding-top: 0; /* Убираем верхний отступ для тела страницы */
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }
}
