
    img {
            width: 100%; /* Ширина изображения равна ширине контейнера */
            object-fit: cover; /* Обеспечим обрезку и сохранение пропорций */
            display: block;
        }

/* ТОВАР */
    .section113 {
        font-family: Arial, sans-serif;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        background-color: #ffffff;
        min-height: auto;
        margin: 0;
        margin-bottom: 0; /* Убедиться, что отступ снизу также равен нулю */
    }

    .product-container88 {
        display: flex;
        position: relative;
        height: 100%;
        width: 60%;
        max-width: 70%;
        background-color: #ffffff;
        border-radius: 0;
        box-shadow: 0 2px 10px rgb(255, 255, 255);
        margin-bottom: 0px;
        position: relative;
    }

    .product-container881 {
        display: flex;
        position: relative;
        width: 100%;
        max-width: 50%;
        background-color: #ffffff;
        border-radius: 0;
        box-shadow: 0 2px 10px rgba(255, 255, 255, 0);
        margin-bottom: 20px;
        position: relative;
    }

    .product-container882 {
        display: flex;
            position: relative;
            width: 100%;
            max-width: 100%;
            background-color: #ffffff;
            border-radius: 0;
            box-shadow: 0 2px 10px rgba(255, 255, 255, 0);
            margin-bottom: 20px;
            overflow: visible; /* Позволяет изображению выходить за пределы контейнера */
    }

    .product-container883 {
        justify-content: center; /* Центрирование содержимого по горизонтали */
        align-items: center; /* Центрирование содержимого по вертикали */
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        background-color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 8px; /* Скругление углов на 20 пикселей */
        box-shadow: 0 1px 8px #3964313b; /* Увеличенная зеленая тень */
        margin-top: 20px; /* Переместить контейнер вниз на 20 пикселей */
        overflow: hidden; /* Скрываем все, что выходит за пределы контейнера */
        /* padding: 15px; /* Отступы по 15 пикселей со всех сторон */
    }

    .product-container884 {
        display: flex; /* Использование flexbox для центрирования содержимого */
        justify-content: center; /* Центрирование содержимого по горизонтали */
        align-items: center; /* Центрирование содержимого по вертикали */
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
        background-color: #ffffff;
        border: 1px solid #ffffff;
        border-radius: 8px; /* Скругление углов на 20 пикселей */
        box-shadow: 0 1px 8px #3964313b; /* Увеличенная зеленая тень */
        margin-top: 20px; /* Переместить контейнер вниз на 20 пикселей */
        overflow: hidden; /* Скрываем все, что выходит за пределы контейнера */
        /* padding: 15px; /* Отступы по 15 пикселей со всех сторон */
    }

    .image-section {
        flex: 2;
        position: relative;
        overflow: hidden;
    }

    .image-section img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: transform 0.2s;
        cursor: url('https://www.iconfinder.com/data/icons/flat-design-17/68/Magnifying_glass_zoom_in_search_icon-512.png'), auto;
    }

    :root {
        --bottom-offset: 0px; /* Значение по умолчанию */
    }

    .zoom-button {
        position: absolute;
        bottom: var(--bottom-offset);
        right: 15px;
        background-color: rgba(255, 255, 255, 0);
        border: 2px solid rgba(189, 189, 189, 0.76);
        cursor: pointer;
        padding: 10px;
        border-radius: 3px;
        font-size: 20px;
        color: rgba(189, 189, 189, 0.76);
        font-weight: normal; /* исправлено с none на normal для стандартного начертания */
        width: 33px;
        height: 33px;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-50%);
        z-index: 1;
        transition: color 0.3s;
    }

    .zoom-button:hover {
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.76);
    }

    :root {
        --description-padding-top: 0px; /* Отступ сверху */
        --description-padding-left: 20%; /* Отступ слева */
    }

    .description {
        flex: 1;
        padding: var(--description-padding-top) var(--description-padding-left) 1px;
        background-color: #ffffff;
        box-shadow: -2px 0 5px rgba(255, 255, 255, 0.1);
        margin: 0 auto; /* центрирование контейнера */
    }

    .description h2 {
        margin: 0 0 10px;
        font-size: 22px;
        color: #555; /* выбор подходящего цвета для заголовка */
        font-weight: bold; /* выбор подходящего цвета для заголовка bold*/
    }

    .description p {
        margin: 0;
        line-height: 1.7;
        font-size: 16px;
        color: #555; /* более мягкий цвет для текста параграфа */
        font-weight: normal;
    }

    .thumbnails {
        display: flex;
        margin-top: 10px;
        margin-left: 0; /* Убираем отступ слева */
        justify-content: flex-start;

        margin-left: 1%; /* Добавляем отступ слева 2% */
        margin-right: 1%; /* Добавляем отступ справа 2% */
    }

    .thumbnails img {
        width: 18%;
        height: auto;
        margin: 0 7px;
        cursor: pointer;
        transition: transform 0.2s, filter 0.2s; /* Подключаем плавный эффект и для filter */
        filter: opacity(0.5);
    }

    .thumbnails img:first-child {
        margin-left: 0; /* Убираем отступ слева для первого изображения */
    }

    .thumbnails img:hover {
        transform: scale(1.1); /* Увеличение изображения при наведении */
        filter: opacity(1); /* Убираем затемнение при наведении */
    }

    .arrow88 {
        cursor: pointer;
        font-size: 26px;
        background: none;
        border: none;
        color: #868686;
        padding: 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
        transition: color 0.3s;
    }

    .arrow88-left {
        left: 10px;
    }

    .arrow88-right {
        right: 10px;
    }

    .arrow88:hover {
    color: #ffffff;

}

    /* Модальное окно при просмотре увеличенных картинок через лупу + */
    .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 1001;
    }

    .modal img {
    /*width: auto; /* Автоматическая ширина для сохранения пропорций */
    /*height: auto; /* Автоматическая высота для сохранения пропорций */
        max-width: 40%;
        max-height: 80%;
        position: relative;
        transition: transform 0.2s;
        display: block; /* Убираем лишние отступы (например, от inline изображений) */
        margin: 0 auto; /* Центрируем изображение горизонтально */
    }

    .breadcrumb {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .breadcrumb a {
        color: #555;
        text-decoration: none;
    }

    .breadcrumb a:hover {
        text-decoration: underline; /* underline; */
        color: rgb(12, 48, 23);
        font-weight: normal; /* Добавлено для жирности текста bold*/
    }

    .breadcrumb span {
        color: #555;
    }

    .custom-link {
        color: rgba(0, 39, 13, 0.644); /* Это ссылка на коллекцию - Замените на нужный вам цвет */
        text-decoration: none;
    }

    /* Стили для ссылки коллекции */
    #product-collection {
        text-decoration: none; /* Убираем подчеркивание */
        color: inherit; /* Убираем стандартный синий цвет и наследуем цвет текста родительского элемента */
        font-weight: normal; /* Устанавливаем нормальную жирность текста */
    }

    /* Стили для наведения мыши */
    #product-collection:hover {
        text-decoration: underline; /* Подчеркивание при наведении */
        color: rgb(12, 48, 23); /* Цвет текста при наведении */
        font-weight: normal; /* Устанавливаем текст жирным при наведении bold*/
    }

    .quantity-selector {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }

    .quantity-container {
    display: flex; /* Выравниваем элементы по горизонтали */
    align-items: center; /* Центрируем элементы по вертикали */
    border: 1px solid #7c7c7c79; /* Граница всего контейнера */
    border-radius: 5px; /* Скругление углов контейнера */
    background-color: #ffffff; /* Цвет фона контейнера */
    /* padding: 5px; /* Добавлено небольшое внутреннее поле для создания пространства */
    width: auto; /* Можно установить фиксированную ширину, если нужно */
    padding-left: 3px; /* Внутренний отступ слева */
    padding-right: 3px; /* Внутренний отступ справа */
}

.button-primary {
    width: auto; /* Уменьшенный размер кнопок для создания компактного контейнера */
    height: auto; /* Уменьшенная высота кнопок */
    font-size: 18px; /* Уменьшенный размер шрифта */
    color: #727272;
    background-color: #ffffff;
    border: none; /* Убираем границу кнопок для единообразия */
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #ffffff;
}

.quantity-input {
    width: 35px; /* Уменьшенная ширина ввода количества */
    height: 30px; /* Уменьшенная высота поля ввода */
    text-align: center;
    margin: 0; /* Убираем отступы, чтобы элементы плотно прилегали друг к другу */
    border: none; /* Убираем границы, чтобы избежать двойной границы */
    font-size: 14px; /* Уменьшенный размер шрифта для текста ввода */
    color: #0f1b0d;
    outline: none; /* Убираем стандартный контур браузера */
    background-color: #ffffff; /* Цвет фона ввода количества для единообразия */
}

.quantity-input:focus {
    border-color: #7c7c7c79; /* Можно изменить на нужный цвет */
    box-shadow: none; /* Убирает тень при фокусе */
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Убирает стрелки в Chrome/Safari */
    margin: 0; /* Убирает отступы */
}

    #add-to-cart {
        width: 40%; /*это всё характеристики кнопки В КОРЗИНУ*/
        height: 35px;
        margin-left: 20px;
        /* padding: 10px 20px; */
        font-size: 16px;
        background-color: #3964318c;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #add-to-cart:hover {
        background-color: #396431b9;
    }

    .icon2-wrapper {
        display: flex;
        align-items: center;
        cursor: pointer;
        font-size: 18px;
        color: #555;
        margin: 0; /* Убираем отступы для обёртки */
        padding: 0; /* Убираем внутренние отступы */
    }

    .icon2 {
        width: 35px;
        height: 35px;
        transition: fill 0.3s;
        margin-right: 10px;
    }

    .heart-path {
        fill: transparent;
        stroke: black; /* Цвет обводки */
        stroke-width: 0.5; /* Ширина обводки */
    }

    .favorited .heart-path {
        fill: #ca4242; /* Цвет сердца при добавлении в избранное */
        stroke: #a83838; /* Изменяем цвет обводки */
        stroke-width: 0.5; /* Устанавливаем толщину обводки на 2px */
    }

    .text1 {
        transition: color 0.3s;
        font-size: 12px;
    }

    #size-indicator {
        display: none; /* Изначально скрываем элемент */
    }

    .size-button {
    width: 14%;
    height: 8%;
    padding: 6px 10px;
    margin: 5px;
    border: 1px solid #39643167;
    border-color: #3964312d; /* Цвет границы для выбранного состояния */
    background-color: #dfdfdf21;
    color: #0f1b0d;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; /* Добавлено плавное изменение тени */
}

.size-button:hover {
    background-color: #3964310c;
    border-color: #396431ab; /* Цвет границы при наведении */
    border-width: 0.1px; /* Утолщение границы */
    box-shadow: 0 0 3px #396431a2; /* Тень кнопки размера при наведении */
}

.size-button:active {
    background-color: #3964310c; /* Темный цвет при нажатии */
    border-color: #396431ab; /* Цвет границы при нажатии */
    font-weight: bold;
    border-width: 0.1px;
    box-shadow: 0 0 3px #396431a2; /* Тень кнопки размера при нажатии */
}

.size-button.disabled {
    background-color: rgb(255, 255, 255); /* Серый фон */
    color: rgb(207, 207, 207); /* Белый текст */
    cursor: default; /* Убираем обозначение "нельзя" */
    pointer-events: none; /* Убираем события наведения */
    border: 1px solid #39643127; 
}

.selected {
    background-color: #3964310c;
    border-color: #39643194; /* Цвет границы для выбранного состояния */
    font-weight: bold;
    border-width: 0.1px;
    box-shadow: 0 0 3px #39643180; /* Тень кнопки размера при нажатии */
}

    #size-indicator {
        margin-bottom: 0px;
    }

    .related-images {
        display: flex; 
    flex-direction: row; 
    justify-content: flex-start; 
    align-items: center; 
    flex-wrap: wrap; /* Позволяем перенос строк, если не хватает места */
    }

    .related-images img {
        max-width: 99px; 
    height: auto; 
    margin: 10px; /* Устанавливаем равный отступ со всех сторон для изображений */
    box-sizing: border-box; /* Учитываем отступы при расчете ширины изображения */
    }

    .related-images img:last-child {
        margin-right: 0; /* Убираем отступ справа для последнего изображения */
    }

    .namerelated-images {
    display: flex; 
    flex-direction: row; 
    justify-content: flex-start; 
    align-items: center; 
    flex-wrap: wrap; /* Позволяем перенос строк, если не хватает места */
}

.namerelated-images img {
    max-width: 99px; 
    height: auto; 
    margin: 10px; /* Устанавливаем равный отступ со всех сторон для изображений */
    box-sizing: border-box; /* Учитываем отступы при расчете ширины изображения */
}

.namerelated-images img:last-child {
    margin-right: 0; /* Убираем отступ для последнего изображения */
}
   
    .custom-h1 {
        color: rgba(73, 73, 73, 0.911);
        font-weight: normal;
        margin: 10px; /* Устанавливаем равный отступ со всех сторон для изображений */
        font-size: 16px; /* Или другое значение */
    }

    .custom-h2 {
        color: rgba(73, 73, 73, 0.911);
        font-weight: normal;
        margin: 10px; /* Устанавливаем равный отступ со всех сторон для изображений */
        font-size: 16px; /* Или другое значение */
    }

    h4 {
        margin-top: 0; /* Убрали отступ сверху */
    margin-bottom: 10px; /* Сохранен отступ снизу */
    color: #333;
    font-size: 2rem;
    font-family: Arial, sans-serif;
    }

    .arrow-description {
position: absolute;
right: 10px; /* Отступ от правой стороны контейнера */
z-index: 2;
cursor: pointer;
display: flex; /* Используем flexbox для расположения стрелок */
align-items: center; /* Центрирование по вертикали */
}

.arrow89 {
font-size: 26px;
background: none;
border: none;
color: #868686;
padding: 10px;
transition: color 0.3s;
}

.arrow89-left {
margin-right: 0px; /* Отступ между стрелками */
}

.arrow89-right {
margin-left: 0px; /* Отступ между стрелками */
}

.arrow89:hover {
color: #b9b9b9e1; /* Цвет при наведении */
}

#notification-popup {
    position: absolute; /* Позиционирование относительно родителя */
    top: 50%; /* Центрируем по вертикали */
    left: 100%; /* Сдвигаем на 100% от ширины родительского элемента */
    transform: translateY(-50%); /* Вертикальное центрирование относительно элемента */
    background-color: rgba(0, 0, 0, 0.267); /* Полупрозрачный черный фон */
    color: white; /* Цвет текста */
    padding: 8px; /* Отступы для удобства чтения */
    border-radius: 5px; /* Скругленные углы */
    opacity: 0; /* Начальное состояние прозрачности */
    visibility: hidden; /* Изначально скрываем элемент */
    transition: opacity 0.5s ease, visibility 0.5s ease; /* Плавный переход для opacity и visibility */
    z-index: 1000; /* Убедимся, что уведомление отображается поверх других элементов */
    width: max-content; /* Устанавливаем ширину в зависимости от содержимого */
    white-space: nowrap; /* Запрещаем перенос текста на новую строку */
}

#notification-popup.show {
    opacity: 1; /* Полная видимость */
    visibility: visible; /* Элемент становится видимым */
}

.popup {
    display: none; /* Скрываем по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0); /* Полупрозрачный черный фон */
    justify-content: center; /* Центрирование по горизонтали */
    align-items: center; /* Центрирование по вертикали */
    z-index: 9999; /* Нахождение поверх остальных элементов */
    opacity: 0; /* Начальная непрозрачность */
    transition: opacity 0.7s ease; /* Плавный переход для изменения непрозрачности */
}

.popup-content {
    background-color: white;
    padding: 20px;
    text-align: center;
    border: 1px solid #39643118; 
    border-radius: 8px;
    box-shadow: 0 1px 8px #ffffff94; /* Увеличенная зеленая тень */
    color: #142211; /* Цвет текста (можно изменить на любой другой) */
    /*font-weight: bold; /* Жирность текста */
    font-size: 17px; /* Размер шрифта (по желанию можно изменить) */
}

#net_cnopok {
    padding: 10px;
    font-size: 16px;
    background-color: #e7f5ff; /* светлый фон */
    border: 1px solid #b3d7ff; /* светлая рамка */
    border-radius: 5px;
    margin-top: 10px;
}



 /* Коллекции - Похожие товары */
    .section14 {
        font-family: Arial, sans-serif;
        display: flex;
        height: auto;
        flex-direction: column;
        align-items: center;
        background-color: #ffffff;
        margin: 0;
        padding: 0;
    }

    h1 {
        margin-bottom: 20px;
        color: #333;
        font-size: 2rem;
        font-family: Arial, sans-serif;
    }

    .related-products-container {
    position: relative;
    width: 71%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 1s ease;
}

.related-products-container.visible {
    opacity: 1;
    transform: translateY(0);
}

    .gallery {
    display: flex;
    width: 100%;
    justify-content: center;
    transform: translateX(0);
    transition: transform 0.8s ease;
    will-change: transform;
}

.gallery.is-carousel {
    justify-content: flex-start;
}

    .gallery-item {
    margin: 1%;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s ease, transform 1s ease;

    /*
     * 5 карточек: каждая занимает 18% ширины,
     * ещё по 1% остаётся на отступы с каждой стороны.
     */
    width: 18%;
    min-width: 18%;
    max-width: 18%;

    flex: 0 0 18%;
    box-sizing: border-box;

    /*
     * Запрещаем синее выделение при нажатии
     * на карточку на компьютере и телефоне.
     */
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .gallery-item.visible {
        opacity: 1; /* Делаем элементы видимыми */
        transform: translateY(0); /* Возвращаем элементы в исходное положение */
    }

    .image-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;

    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

    .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

    .hover-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;

    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

    .image-container:hover .hover-image {
        display: block;
        opacity: 1;
    }

    .image-container:hover .gallery-image {
        opacity: 0; /* Скрываем основное изображение */
    }

    .title3 {
        font-size: 14px;
        margin-top: 5px; /* Добавленный отступ сверху */
        margin-right: 5px; /* Отступ между элементами, если необходимо */
        margin-bottom: 5px; /* Отступ снизу */
        margin-left: 0; /* Обратите внимание, что отступ слева по умолчанию 0 */
        color: #474747;
        font-family: Arial, sans-serif;
    }

    .title4 {
        font-size: 18px;
        margin-top: 4px; /* Добавленный отступ сверху */
        margin: 0px 0 5px;
        color: #000;
        font-family: Arial, sans-serif;
        margin-right: 5px; /* Отступ между элементами, если необходимо */
    }

    .large-font {
            font-size: 22px;
        }

    .description1 {
        font-size: 18px;
        margin: 0px 0 5px;
        color: #000;
        font-family: Arial, sans-serif;
    }

   
