.entry-title {
    margin-top: 0;
    margin-bottom: 5px;
    
}
.banner-title {
    flex-direction: column;
    gap: 10px;
    color: #fff;
}
.item-content-description .entry-title {
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: .5rem;
    text-transform: capitalize;
}
.item-content-description p {
    -webkit-line-clamp: none; 
    line-height: 1.3;
    overflow: visible;
    text-overflow: initial;
}
.aside-news>.h4 {
    background: #999;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 12px 0;
    text-align: center;
    text-transform: uppercase;
}
.previous-product-container .h4 {
    background: #999;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 12px 0;
    text-align: center;
}
.aside-news-link img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    max-width: 90px;
}
.woocommerce .products .aside-menu-nav ul {
    margin-bottom: 0;
}
.category-item a {
    padding: 10px 20px 10px;
}
.woocommerce .img-card-mini {
    aspect-ratio: 1;
    object-fit: cover;
    padding: 15px;
    transition-duration: .5s;
    transition-property: transform;
    width: 100%;
}

.img-card-mini-container {
    height: auto;
    width: 100%;
}

/* Позиционирование контейнера стрелок */
.woocommerce-product-gallery .flex-direction-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none!important;
}

/* Общие стили для кнопок "Вперед" и "Назад" */
.woocommerce-product-gallery .flex-direction-nav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9); /* Белый фон */
    border-radius: 50%;
    color: #333 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-indent: 0 !important; /* Разрешаем вывод текста */
    font-size: 0 !important;   /* Прячем исходное слово "Next/Prev" */

    padding-bottom: 3px;
}

/* Эффект при наведении */
.woocommerce-product-gallery .flex-direction-nav a:hover {
    background: #ffffff;
    color: #000 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* Стрелка НАЗАД (слева) */
.woocommerce-product-gallery .flex-direction-nav .flex-prev {
    left: 10px;
}

/* Стрелка ВПЕРЕД (справа) */
.woocommerce-product-gallery .flex-direction-nav .flex-next {
    right: 10px;
}

/* Выводим универсальный символ стрелки ВЛЕВО */
.woocommerce-product-gallery .flex-direction-nav .flex-prev::before {
    content: '‹'; 
    font-size: 28px; /* Задаем размер стрелки */
    font-family: Arial, sans-serif;
    line-height: 1;
    display: block;
    padding-right: 2px;
}

/* Выводим универсальный символ стрелки ВПРАВО */
.woocommerce-product-gallery .flex-direction-nav .flex-next::before {
    content: '›'; 
    font-size: 28px; /* Задаем размер стрелки */
    font-family: Arial, sans-serif;
    line-height: 1;
    display: block;
    padding-left: 2px;
}

.woocommerce-product-gallery .flex-viewport {
    border: 1px solid rgb(234, 232, 232);
}

/* ==========================================================================
   Новая сетка для карточки товара WooCommerce (Десктопная версия)
   ========================================================================== */
@media (min-width: 769px) {
    /* Делаем родительский контейнер флексбоксом для точного контроля высоты и отступов */
    .woocommerce div.product,
    .woocommerce-page div.product {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* Левая часть (Галерея и слайдер) — жестко 25% */
    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page #content div.product div.images, 
    .woocommerce-page div.product div.images {
        float: none !important; /* Отменяем старые флоаты */
        width: 25% !important;
        margin-right: 0 !important;
    }

    /* Правая часть (Краткое описание, цена, кнопка) — расширяем до 71% */
    .woocommerce #content div.product div.summary, 
    .woocommerce div.product div.summary, 
    .woocommerce-page #content div.product div.summary, 
    .woocommerce-page div.product div.summary {
        float: none !important; /* Отменяем старые флоаты */
        width: 71% !important;
        /*margin-left: 0 !important;*/
        clear: none !important;
    }
    
    /* Обеспечиваем, чтобы вкладки (отзывы, описание) прыгали на всю ширину снизу */
    .woocommerce div.product .woocommerce-tabs,
    .woocommerce-page div.product .woocommerce-tabs {
        width: 100% !important;
        clear: both;
    }
}

/* ==========================================================================
   Адаптив под мобильные устройства и планшеты
   ========================================================================== */
@media (max-width: 768px) {
    /* На экранах меньше 768px выстраиваем блоки друг под друга на 100% ширины */
    .woocommerce #content div.product div.images, 
    .woocommerce div.product div.images, 
    .woocommerce-page #content div.product div.images, 
    .woocommerce-page div.product div.images,
    .woocommerce #content div.product div.summary, 
    .woocommerce div.product div.summary, 
    .woocommerce-page #content div.product div.summary, 
    .woocommerce-page div.product div.summary {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
        /*margin-left: 0 !important;*/
        margin-bottom: 30px; /* Отступ между галереей и текстом */
    }

    .woocommerce div.product div.summary.product-additional {
        margin-left: 0px !important;
    }
}

.woocommerce div.product div.summary.product-additional {
    margin-left: 40px;
}
.product-additional {
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: start;
    gap: 15px;
}
.product-additional h1 {
    color: #242424;
    font-size: 25px;
    font-weight: 700;
}
.previous-product img {
    max-width: 80%;
    max-height: 80%;
}
.previous-product-container a {
    animation-duration: 1s;
    animation-name: slidein-previous;
    color: #000;
    display: flex;
    font-size: 14px;
    justify-content: center;
    text-align: center;
}
.vk-link a {
    display: flex;
    gap: 7px;
    align-items: center;
    transition: .2s ease;
}
.vk-link a:hover {
    color: #1976d2;
}
.vk-link span {
    display: block;
    margin-top: 4px;
}
.link-to-form {
    margin: 20px 0;
}
a {
    transition: .2s ease;
}
a:hover {
    color: red;
}
.product-features .h4 {
    background-color: red;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    white-space: normal;
    margin-bottom: 12px;
    padding: 2px 10px;
}
.product-features .h4:after {
    content: '';
    border-bottom: 1px solid #9a9a9a;
    width: 100%;
    display: block;
    position: absolute;
    margin-top: 8px;
    left: 0;
}

ul.product-features-list {
  list-style-type: circle;
  line-height: 1.5;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #9a9a9a;
}
div.product-features-list {
    margin-left: 0;
}

.docs-download {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #eee;
  border-radius: 4px;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 10px;
}

.docs-download:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(255, 0, 0);
}
.product_meta span.posted_in a {
    color: #aaaaaa;
}
.product_meta span.posted_in a:hover {
    color: red;
}

.menu-list .dropdown {
    display: none;
}
.menu-list > .list-item {
    position: relative;
}
.menu-list > .list-item:hover .dropdown {
    display: block;
}
.menu-list .dropdown > li {
    position: relative;
}
.menu-list .dropdown > li:hover > ul.subcategories-dropdown{
    display: block;
}
.menu-list .dropdown .subcategories-dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
}
.item-content-description .h1 {
    color: rgb(30, 30, 30);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.homeslider .slide-img {
    height: 75vh; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}
.homeslider .slick-dots {
    bottom: 80px;
    width: 1710px;
    margin: 0 auto;
    justify-content: end;
    display: flex;
    position: relative;
        max-width: 100%;
    padding: 0 30px;
}
.slick-dots li.slick-active button:before, .slick-dots li:hover button:before {
    color: red;
}
.slick-dots li button::before {
    font-size: 11px;
    color: white;
    opacity: 1;
}
.img-industry-card {
    margin-bottom: 20px;
    aspect-ratio: 405 / 250;
    object-fit: cover;
}
.news-container .img-news {
    height: auto;
}
.container {
    min-height: auto;
}

.products-container:not(.__slider) {
    width: 100%;
    gap: 1rem;
}
.card-mini {
    flex: 1;
    width: auto;
    margin: 0;
}