    :root {
      --primary-color: #0d6efd;
      --nav-bg-color: #f2f2f2;
      --blue-dark: #0C6CC4;
      --blue-light: #1387F0;
      --menu-hover: #e6f0fa;
    }
    
    /* Общие стили */
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      line-height: 1.6;
    }
    
    /* Навигация */
    .main-nav {
      background: var(--nav-bg-color) !important;
      border-bottom: 1px solid #ddd;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      padding: 0.5rem 0;
    }
    
	.navbar-brand {
            font-weight: 700;
            font-size: 1.6rem;
            color: #005b77 !important;
            display: flex;
            align-items: center;
            margin-right: 2rem;
    }
        
        .header-logo {
            width: 45px;
            height: 45px;
            margin-right: 12px;
            object-fit: contain;
    }
    
    .main-nav .nav-link {
      font-weight: 500;
      color: #444 !important;
      padding: 0.5rem 1.2rem;
      transition: all 0.2s ease;
      position: relative;
    }
    
    .main-nav .nav-link:hover {
      color: var(--primary-color) !important;
    }
    
    .main-nav .nav-link:hover:after {
      width: 100%;
    }
    
    .main-nav .nav-link:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background-color: var(--primary-color);
      transition: width 0.2s ease;
    }
    
    .auth-buttons .btn {
      margin-left: 0.5rem;
      padding: 0.375rem 1rem;
      font-size: 0.9rem;
      font-weight: 500;
      border-radius: 0.375rem;
    }
    
    .navbar-toggler {
      border: none;
      padding: 0.25rem 0.5rem;
    }
    
    .navbar-toggler:focus {
      box-shadow: none;
    }

        /* Хлебные крошки */
        .breadcrumbs {
            padding: 15px 0;
            font-size: 14px;
        }
        
        .breadcrumbs a {
            text-decoration: none;
            color: #0066cc;
        }
    .benefits-section-kroshki {
/*      background-color: #f8f9fa; */
      background-color: #ffffff;
      padding: 0px 0;
      margin: 0px 0;
    }	
		
        /* Ошибка 404 */
.breadcrumbs404 {
    background: white url('/images/404.png') no-repeat center center;
    background-size: 75% auto; /* Ширина 80%, высота автоматически */
    background-position: center;
    height: 462px;
}
    
    /* Информационный блок */
    .info-block {
      background: white;
      padding: 15px 0;
      border-bottom: 1px solid #ddd;
    }
    
    .info-item {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 15px;
      border-bottom: 1px solid #eee;
    }
    
    .info-item:last-child {
      border-bottom: none;
    }
    
    .info-title {
      font-weight: 600;
      color: #333;
      margin-bottom: 5px;
      font-size: 16px;
    }
    
    .info-text {
      color: #666;
      font-size: 14px;
      line-height: 1.4;
    }
    
    /* Синий блок с каталогом и поиском */
    .blue-block {
      background: var(--blue-dark);
      padding: 15px 0;
    }
    
    .blue-item {
      margin-bottom: 15px;
      display: flex;
      align-items: center;
      padding: 0 10px;
    }
    
    .blue-item:last-child {
      margin-bottom: 0;
    }
    
    .catalog-btn {
      background: var(--blue-light);
      color: white;
      border: none;
      padding: 12px 15px;
      border-radius: 4px;
      font-weight: 500;
      width: 100%;
      text-align: left;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .catalog-btn:hover {
      background: #0a5ebd;
      transform: translateY(-2px);
    }
    
    .production-link {
      background: var(--blue-light);
      color: white;
      padding: 12px 15px;
      border-radius: 4px;
      font-weight: 500;
      text-decoration: none;
      display: block;
      text-align: center;
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }
    
    .production-link:hover {
      background: #0a5ebd;
      color: white;
      transform: translateY(-2px);
    }
    
    .search-container {
      display: flex;
      width: 100%;
      position: relative;
    }
    
    .search-input {
      flex-grow: 1;
      padding: 12px 15px;
      border: none;
      border-radius: 4px 0 0 4px;
      font-size: 14px;
      transition: all 0.3s;
    }
    
    .search-input:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    }
    
    .search-btn {
      background: var(--blue-light);
      color: white;
      border: none;
      padding: 0 15px;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }
    
    .search-btn:hover {
      background: #0a5ebd;
    }
    
    /* Выпадающее меню каталога */
    .catalog-menu {
      position: absolute;
      top: 100%;
      left: 10px;
      width: 300px;
      background: white;
      border: 1px solid #ddd;
      border-top: none;
      box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      z-index: 1000;
      display: none;
      padding: 15px 0;
      border-radius: 0 0 4px 4px;
    }
    
    .catalog-item {
      position: relative;
    }
    
    .catalog-menu.show {
      display: block;
    }
    
    .menu-list {
      list-style: none;
      padding: 0;
      margin: 0;
      width: 100%;
    }
    
    .menu-list li {
      margin-bottom: 5px;
    }
    
    .menu-list a {
      display: flex;
      align-items: center;
      padding: 10px 15px;
      color: #333;
      text-decoration: none;
      transition: all 0.2s;
    }
    
    .menu-list a:hover {
      background: var(--menu-hover);
      color: var(--blue-dark);
    }
    
    .menu-icon {
      width: 24px;
      height: 24px;
      margin-right: 10px;
      object-fit: contain;
    }
    .menu-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin-right: 10px;
    }
    
    /* Подменю с картинками */
    .submenu {
      position: absolute;
      top: 0;
      left: 100%;
      width: 350px;
      background: white;
      border: 1px solid #ddd;
      box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
      display: none;
      z-index: 1001;
      padding: 15px;
      border-radius: 4px;
    }
    
    .has-submenu:hover .submenu {
      display: block;
    }
    
    .submenu-title {
      font-weight: 600;
      margin-bottom: 10px;
      padding-bottom: 5px;
      border-bottom: 1px solid #eee;
      color: #333;
      font-size: 15px;
    }
    
    .submenu-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .submenu-list li {
      margin-bottom: 8px;
    }
    
    .submenu-list a {
      display: flex;
      align-items: center;
      padding: 6px 8px;
      color: #555;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.2s;
      border-radius: 3px;
    }
    
    .submenu-list a:hover {
      background: var(--menu-hover);
      color: var(--blue-dark);
    }
    
    .submenu-icon {
      width: 20px;
      height: 20px;
      margin-right: 8px;
      object-fit: contain;
    }
    
    /* Контент */
    .product-card {
      margin-bottom: 20px;
      transition: transform 0.3s, box-shadow 0.3s;
      border: none;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
    
    .product-card .card-img-top {
      height: 180px;
      object-fit: cover;
    }
    
    .product-card .card-title {
      font-weight: 600;
      color: #333;
    }
    
    .product-card .card-text {
      color: #0d6efd;
      font-weight: 500;
    }
    
    /* Преимущества */
    .benefits-section {
/*      background-color: #f8f9fa; */
	  background-color: #ffffff;
      padding: 50px 0;
      margin: 50px 0;
    }
    .benefits-section404 {
      background-color: #ffffff;
    }
    
    .benefit-card {
      text-align: center;
      padding: 20px;
      border-radius: 8px;
      background: white;
      box-shadow: 0 4px 6px rgba(0,0,0,0.05);
      transition: transform 0.3s;
      height: 100%;
    }
    
    .benefit-card:hover {
      transform: translateY(-5px);
    }
    
    .benefit-icon {
      font-size: 2.5rem;
      color: var(--primary-color);
      margin-bottom: 15px;
    }
    
    /* Футер */
    .footer {
      background-color: #2c3e50;
      color: white;
      padding: 50px 0 20px;
      margin-top: 20px;
    }
    
    .footer-title {
      font-weight: 600;
      margin-bottom: 20px;
      color: white;
      font-size: 1.2rem;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 10px;
    }
    
    .footer-links a {
      color: #ddd;
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .footer-links a:hover {
      color: white;
    }
    
    .footer-links i {
      margin-right: 8px;
      width: 20px;
      text-align: center;
    }
    
    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 15px;
    }
    
    .social-links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: rgba(255,255,255,0.1);
      color: white;
      text-decoration: none;
      transition: all 0.3s;
    }
    
    .social-links a:hover {
      background: var(--primary-color);
      transform: translateY(-3px);
    }
    
    /* Мобильная версия */
	/* Скрываем слайдер на экранах меньше 1400px */
	@media (max-width: 1399px) {
	  .video-slider-container {
        display: none;
			}
		}	
    @media (max-width: 991.98px) {
      .main-nav .nav-link {
        padding: 0.75rem 1rem;
      }
      
      .auth-buttons {
        padding: 1rem 0;
        justify-content: flex-start !important;
      }
      
      .auth-buttons .btn {
        margin-left: 0;
        margin-right: 0.5rem;
      }
      
      /* Информационный блок в одну колонку */
      .info-block .row {
        flex-direction: column;
      }
      
      .info-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
      }
      
      .info-item:last-child {
        border-bottom: none;
      }
      
      /* Синий блок в одну колонку */
      .blue-block .row {
        flex-direction: column;
      }
      
      .blue-item {
        margin-bottom: 15px;
        padding: 0 10px;
      }
      
      .blue-item:last-child {
        margin-bottom: 0;
      }
      
      .catalog-btn, .production-link, .search-container {
        height: auto;
      }
      
      /* Меню каталога для мобильных - РАСКРЫВАЕТСЯ ПОД КНОПКОЙ */
      .catalog-menu {
        position: static;
        width: 100%;
        border: 1px solid #ddd;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        padding: 10px 0;
        margin-top: 5px;
        display: none;
      }
      
      .catalog-menu.show {
        display: block;
      }
      
      .submenu {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        padding: 10px 0 10px 30px;
        margin-top: 5px;
        display: none;
      }
      
      .submenu.show {
        display: block;
      }
      
      /* Футер в одну колонку */
      .footer .row {
        flex-direction: column;
      }
      
      .footer .col-md-3 {
        margin-bottom: 30px;
      }
      
      .footer .col-md-3:last-child {
        margin-bottom: 0;
      }
      
      /* Адаптивные заголовки */
      h1 {
        font-size: 1.8rem;
      }
      
      h2 {
        font-size: 1.5rem;
      }
    }
    
    /* Десктопная версия */
    @media (min-width: 992px) {
      .info-block {
        height: 150px;
      }
      
      .info-item {
        height: 100%;
        border-right: 1px solid #eee;
        border-bottom: none;
      }
      
      .info-item:last-child {
        border-right: none;
      }
      
      .blue-block {
        height: 86px;
      }
      
      .blue-item {
        height: 100%;
        margin-bottom: 0;
      }
      
      .catalog-btn, .production-link, .search-container {
        height: 46px;
      }
    }
    
    /* Анимации */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-fadeIn {
      animation: fadeIn 0.6s ease forwards;
    }
    
    /* Дополнительные улучшения */
    .btn-primary {
      background: var(--primary-color);
      border: none;
      padding: 10px 20px;
      border-radius: 6px;
      transition: all 0.3s;
    }
    
    .btn-primary:hover {
      background: #0b5ed7;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
    }
    
    .section-title {
      position: relative;
      padding-bottom: 15px;
      margin-bottom: 10px;
      text-align: center;
    }
    
    .section-title:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 3px;
      background: var(--primary-color);
    }
	.header-logo {
    width: 100%;
    height: 50px;
    display: block;
	}
	
 /* Стили для главной страницы */
 /* Главный слайдер */
.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1px;
/*     box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
}

#mainCarousel {
    overflow: hidden;
}

.carousel-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}




 /* Стрелки для карусели, главный слайдер */

.carousel-section {
  position: relative;
}

#mainCarousel {
  position: relative;
  overflow: hidden;
}

.custom-carousel-control {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
}

.custom-carousel-control:hover {
  opacity: 1;
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-control-prev {
  left: 12%; /* Отступ 5% от ширины контейнера */
}

.carousel-control-next {
  right: 12%; /* Отступ 5% от ширины контейнера */
}

.custom-carousel-prev-icon,
.custom-carousel-next-icon {
  width: 20px;
  height: 20px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Адаптивность для мобильных */
/* Адаптивность */
@media (max-width: 1600px) {
    .video-item {
        flex: 0 0 calc(33.333% - 17px);
        min-width: calc(33.333% - 17px);
    }
}

@media (max-width: 1400px) {
    .video-item {
        flex: 0 0 calc(50% - 13px);
        min-width: calc(50% - 13px);
    }
}
/* Адаптивность */
@media (max-width: 1200px) {
    .carousel-item {
        height: 250px;
    }
}



/* Конец стрелки для карусели, главный слайдер */


@media (max-width: 768px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption {
        bottom: 15px;
        left: 10%;
        right: 10%;
        padding: 15px;
    }
	.hero-slider {
		display: none;
  }
    .categories-sidebar {
        display: none !important;
    }  
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px !important;
    }
    
    .product-image {
        height: 160px !important;
    }
    
    .product-title {
        font-size: 13px !important;
    }
    
    .product-price {
        font-size: 15px !important;
    }
  .custom-carousel-control {
    width: 40px;
    height: 40px;
  }
  
  .carousel-control-prev {
    left: 5%; /* На мобильных можно оставить ближе к краю */
  }
  
  .carousel-control-next {
   right: 5%; /* На мобильных можно оставить ближе к краю */
  }
  
  .custom-carousel-prev-icon,
  .custom-carousel-next-icon {
    width: 16px;
    height: 16px;
  }	
}

@media (max-width: 576px) {
    .carousel-item {
        height: 250px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-slider {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
	.hero-slider {
		display: none;
  }
}

@media (max-width: 480px) {
  .carousel-control-prev {
    left: 15px;
  }
  
  .carousel-control-next {
    right: 15px;
  }
  .video-slider-container {
        padding: 0 40px;
    }
    
  .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* Улучшение читаемости текста */
.carousel-caption {
	height: 75%;
	background-size: cover; /* масштабирует изображение под размеры блока */
    background-position: center; /* центрирует изображение внутри блока */
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    bottom: 40px;
    backdrop-filter: blur(5px);
}

.carousel-caption h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn-slider {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Стили для Видео каталога */

/* Виде салйдер */


/* Стили для красивого слайдера видео */
.video-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 10px auto;
    padding: 0 60px;
}

.video-slider {
    display: flex;
    gap: 25px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    margin: 0 -10px;
}

.video-item {
    flex: 0 0 calc(25% - 19px);
    min-width: calc(25% - 19px);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.video-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.video-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

/* Стили для изображений внутри видео-блоков */
.video-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    transition: transform 0.4s ease;
}

.video-item:hover img {
    transform: scale(1.05);
}

/* Стили для контента внутри видео-блоков */
.video-item > div {
    padding: 20px;
    border-radius: 0 0 18px 18px;
}

.video-item h3,
.video-item h4,
.video-item .video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
    line-height: 1.4;
}

.video-item p,
.video-item .video-description {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Улучшенные кнопки навигации */


.slider-arrow {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 2.0rem;  
  opacity: 0.8;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  opacity: 1;
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 2.0rem; 
  align-items: center;
  justify-content: center;
}


.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
  font-size: 2.0rem; 
  align-items: center;
  justify-content: center;
}

.slider-arrow-prev {
    left: 10px;
}

.slider-arrow-next {
    right: 10px;
}

/* Индикатор прогресса */
.slider-progress {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Градиентные overlay для краев */
.video-slider-container::before,
.video-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.video-slider-container::before {
    left: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
}

.video-slider-container::after {
    right: 60px;
    background: linear-gradient(270deg, rgba(255,255,255,0.9), transparent);
}











    .benefits-section {
      background-color: #f8f9fa;
      padding: 1px 0;
      margin: 0px 0;
    }
	
/* Стиль для отображения видео на главной странице */

        .video-container {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 20px auto;
        }
        
        .rutube-video {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 8px;
        }
        
        .video-hover-area {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            z-index: 2;
        }
        
        .placeholder {
            width: 100%;
            height: 450px;
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-family: Arial, sans-serif;
            color: #666;
        }
		
		
		
		
		
		
		
		
		
		
/* Наша продукция */

/* Стили для красивого слайдера видео */
.video-slider-container2 {
    position: relative;
    max-width: 1400px;
    margin: 10px auto;
    padding: 0 60px;
}

.video-slider2 {
    display: flex;
    gap: 25px;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    margin: 0 -10px;
}

.video-item2 {
    flex: 0 0 calc(25% - 19px);
    min-width: calc(25% - 19px);
    background: linear-gradient(145deg, #fffef8, #f8f9fa);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.video-item2:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.video-item2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}

/* Стили для изображений внутри видео-блоков */
.video-item2 img {
    height: 150px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    transition: transform 0.4s ease;
}

.video-item2:hover img {
    transform: scale(1.05);
}

/* Стили для контента внутри видео-блоков */
.video-item2 > div {
    padding: 10px;
    border-radius: 0 0 18px 18px;
}

.video-item2 h3,
.video-item2 h4,
.video-item2 .video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
    line-height: 1.4;
}

.video-item2 p,
.video-item2 .video-description {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Улучшенные кнопки навигации */


.slider-arrow2 {
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 2.0rem;  
  opacity: 0.8;
  transition: all 0.3s ease;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow2:hover {
  opacity: 1;
  background: white;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-size: 2.0rem; 
  align-items: center;
  justify-content: center;
}


.slider-arrow2:active {
    transform: translateY(-50%) scale(0.95);
  font-size: 2.0rem; 
  align-items: center;
  justify-content: center;
}

.slider-arrow-prev2 {
    left: 10px;
}

.slider-arrow-next2 {
    right: 10px;
}

/* Индикатор прогресса */
.slider-progress {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

/* Градиентные overlay для краев */
.video-slider-container2::before,
.video-slider-container2::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 20px;
}

.video-slider-container2::before {
    left: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
}

.video-slider-container2::after {
    right: 60px;
    background: linear-gradient(270deg, rgba(255,255,255,0.9), transparent);
}

/* Адаптивность */
@media (max-width: 1600px) {
    .video-item2 {
        flex: 0 0 calc(33.333% - 17px);
        min-width: calc(33.333% - 17px);
    }
}

@media (max-width: 1400px) {
    .video-item2 {
        flex: 0 0 calc(50% - 13px);
        min-width: calc(50% - 13px);
    }
}

/* Скрываем слайдер на экранах меньше 1400px */
@media (max-width: 1399px) {
    .video-slider-container2 {
        flex: 0 0 calc(50% - 13px);
        min-width: calc(50% - 13px);
    }
}

@media (max-width: 300px) {
    .video-slider-container2 {
        padding: 0 40px;
    }
    
    .slider-arrow2 {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
    .benefits-section2 {
      background-color: #ffffff;
      padding: 0px 0;
      margin: 0px 0;
    }
	
	
	

        .video-container2 {
            position: relative;
            width: 100%;
            max-width: 800px;
            margin: 10px auto;
			display: flex;
			justify-content: center;
			align-items: center;			
        }
        
        .rutube-video2 {
            width: 100%;
            height: 450px;
            border: none;
            border-radius: 8px;
        }
        
        .video-hover-area2 {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
            z-index: 2;
        }
        
        .placeholder2 {
            width: 100%;
            height: 450px;
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-family: Arial, sans-serif;
            color: #666;
        }
		
		
/* Стили для плавной анимации */
.subcategory-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-left: 15px;
    margin-top: 0;
}

.subcategory-list.show {
    max-height: 500px; /* Достаточно большое значение для контента */
    transition: max-height 0.5s ease-in;
}

.subcategory-item {
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.subcategory-list.show .subcategory-item {
    opacity: 1;
    transform: translateY(0);
}

/* Задержка для последовательного появления */
.subcategory-list.show .subcategory-item:nth-child(1) { transition-delay: 0.1s; }
.subcategory-list.show .subcategory-item:nth-child(2) { transition-delay: 0.2s; }
.subcategory-list.show .subcategory-item:nth-child(3) { transition-delay: 0.3s; }
.subcategory-list.show .subcategory-item:nth-child(4) { transition-delay: 0.4s; }

/* Плавные переходы для кнопки */
.show-more i {
    transition: transform 0.3s ease;
}

.show-more.active i {
    transform: rotate(180deg);
}

/* Плавные ховер-эффекты */
.category-link, .subcategory-link {
    transition: color 0.2s ease;
}

.product-card {
    transition: all 0.3s ease;
}








        /* Сетка товаров */
        .products-grid {
            flex-grow: 1;
        }
        
        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            background-color: #fff;
            padding: 15px;
            border-radius: 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .view-options {
            display: flex;
            align-items: center;
        }
        
        .view-toggle {
            display: flex;
            margin-right: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .view-toggle button {
            background: #fff;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .view-toggle button.active {
            background-color: #0066cc;
            color: white;
        }
        
        .view-toggle button:hover:not(.active) {
            background-color: #f0f0f0;
        }
        
        .sort-options select {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        
        /* Сетка товаров - плитка */
        .products-container.grid-view {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }
        
        /* Список товаров - строчный вид */
        .products-container.list-view {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .product-card {
            background-color: #fff;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        /* Стили для плиточного вида */
        .grid-view .product-card {
            display: flex;
            flex-direction: column;
        }
        
        .grid-view .product-image {
            height: 180px;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }
        .grid-view .product-image_tovar {
            height: 180px;
            background-color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }		
        
        .grid-view .product-info {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .grid-view .product-title {
            font-size: 14px;
            margin-bottom: 10px;
            height: 40px;
            overflow: hidden;
        }
        
        .grid-view .product-description {
            display: none;
        }
        
        .grid-view .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #e74c3c;
            margin-bottom: 10px;
        }
        
        .grid-view .product-actions {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
        }
        
        /* Стили для строчного вида */
        .list-view .product-card {
            display: flex;
            padding: 15px;
        }
        
        .list-view .product-image {
            width: 180px;
            min-width: 180px;
            height: 150px;
            background-color: #f9f9f9;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
        }
        
        .list-view .product-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .list-view .product-title {
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: bold;
        }
        
        .list-view .product-description {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .list-view .product-details {
            display: flex;
            justify-content: space-between;
            margin-top: auto;
        }
        
        .list-view .product-price {
            font-size: 18px;
            font-weight: bold;
            color: #e74c3c;
        }
        
        .list-view .product-actions {
            display: flex;
            gap: 10px;
        }
        
        .buy-btn {
            background-color: #0066cc;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: bold;
        }
        
        .buy-btn:hover {
            background-color: #0055aa;
        }
        
        .compare-btn {
            background: none;
            border: 1px solid #ddd;
            padding: 8px 10px;
            border-radius: 4px;
            cursor: pointer;
        }
        
        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            margin-bottom: 50px;
        }
        
        .pagination a {
            padding: 8px 15px;
            margin: 0 5px;
            text-decoration: none;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #333;
        }
        
        .pagination a.active {
            background-color: #0066cc;
            color: white;
            border-color: #0066cc;
        }
        
        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 30px;
            margin-bottom: 50px;
        }
        
        .pagination a {
            padding: 8px 15px;
            margin: 0 5px;
            text-decoration: none;
            border: 1px solid #ddd;
            border-radius: 4px;
            color: #333;
        }
        
        .pagination a.active {
            background-color: #0066cc;
            color: white;
            border-color: #0066cc;
        }
        .view-toggle {
            display: flex;
            margin-right: 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .view-toggle button {
            background: #fff;
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .view-toggle button.active {
            background-color: #0066cc;
            color: white;
        }
        
        .view-toggle button:hover:not(.active) {
            background-color: #f0f0f0;
        }
		


/* Стили для корзины */
.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h6 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.cart-item-price {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total div {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
}

.cart-total {
    padding: 20px;
    border-top: 2px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.cart-actions {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #eee;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart h5 {
    margin-bottom: 10px;
}

/* Счетчик корзины */
#cartCounter {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-left: 5px;
    font-weight: bold;
}








/* Стили для поиска с автодополнением */
.search-container {
    position: relative;
    width: 100%;
    display: flex;
}

.search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

.search-btn {
    background: #0066cc;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #0055aa;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-right: 10px;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.search-result-info {
    flex-grow: 1;
    min-width: 0; /* Для корректного обрезания текста */
}

.search-result-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-title strong {
    color: #0066cc;
    font-weight: 700;
}

.search-result-sku {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.search-result-sku strong {
    color: #0066cc;
    font-weight: 700;
}

.search-result-category {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.search-result-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 11px;
}

.search-result-price .current-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 13px;
}

.search-result-view-all {
    display: block;
    padding: 12px;
    text-align: center;
    background: #f8f9fa;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid #eee;
    transition: background 0.2s;
}

.search-result-view-all:hover {
    background: #e9ecef;
}

.search-result-loading,
.search-result-empty,
.search-result-error {
    padding: 20px;
    text-align: center;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.search-result-loading {
    flex-direction: row;
    justify-content: center;
}

.search-result-empty i {
    color: #ccc;
    font-size: 24px;
}

.search-result-error i {
    color: #e74c3c;
    font-size: 24px;
}

/* Стили для страницы результатов поиска */
.search-info {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #0066cc;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.search-result-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.search-result-card .product-image {
    height: 180px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.search-result-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.search-result-card .product-info {
    padding: 15px;
}

.search-result-card .product-category {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.search-result-card .product-title {
    font-weight: 600;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
}

.search-result-card .product-title a {
    color: #333;
    text-decoration: none;
}

.search-result-card .product-title a:hover {
    color: #0066cc;
}

.search-result-card .product-sku {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.search-result-card .product-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
}

.search-result-card .product-price {
    margin-bottom: 10px;
}

.search-result-card .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.search-result-card .current-price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 18px;
}

.search-result-card .product-actions {
    margin-top: 15px;
}

.no-results {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
}

.search-tips {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.search-tips ul li {
    padding: 5px 0;
}





/* Стили для кнопки поиска */
.search-btn {
    background: var(--blue-light);
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-width: 50px;
}

.search-btn:hover {
    background: #0a5ebd;
    transform: scale(1.05);
}

.search-btn:active {
    transform: scale(0.95);
}

/* Стили для активного состояния поиска */
.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: var(--primary-color);
}

/* Анимация для кнопки поиска при клике */
.search-btn.clicked {
    animation: searchBtnClick 0.3s ease;
}

@keyframes searchBtnClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* Стили для подсказки при пустом поиске */
.search-input::placeholder {
    color: #888;
    font-size: 14px;
}

/* Адаптивность для поиска */
@media (max-width: 768px) {
    .search-container {
        width: 100%;
    }
    
    .search-input {
        font-size: 16px; /* Увеличиваем для мобильных */
        padding: 10px 12px;
    }
    
    .search-btn {
        padding: 0 12px;
        min-width: 45px;
    }
}

/* Стили для кнопки поиска при наведении на результаты */
.search-results:hover ~ .search-btn {
    background: #0a5ebd;
}

/* Улучшенный фокус для всей поисковой формы */
.search-container:focus-within {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
    border-radius: 4px;
}


/* Стили для страницы производства */
.production-block {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.production-block h1,
.production-block h2,
.production-block h3 {
    color: #005b77;
    margin-bottom: 20px;
}

.production-block p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.production-block ul,
.production-block ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.production-block li {
    margin-bottom: 8px;
}

/* Анимация для блоков производства */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.production-block {
    animation: fadeInUp 0.6s ease-out;
}

/* Стили для изображений в контенте */
.production-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Галлерея производства */
.production-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.production-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.production-gallery img:hover {
    transform: scale(1.03);
}

/* Таблица характеристик */
.production-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.production-table th,
.production-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.production-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.production-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Видео блок */
.production-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin: 30px 0;
}

.production-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}