.page-main-title {
  margin: 20px 0 30px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

/* Мобильный фильтр */
.mobile-filter-toggle {
  display: none;
  margin-bottom: 15px;
}

.btn-mobile-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.btn-mobile-filter:hover {
  background: #0056b3;
}

.filter-icon {
  font-size: 18px;
}

.filter-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.btn-mobile-filter.active .filter-arrow {
  transform: rotate(180deg);
}

/* Основной layout каталога */
.catalog-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}

/* Боковая панель категорий */
.catalog-sidebar {
  position: sticky;
  top: 20px;
  transition: all 0.3s ease;
  max-height: calc(100vh - 100px);
}

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #007bff;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  max-height: 600px;
}

.categories-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.categories-item {
  margin-bottom: 0;
  border-bottom: 1px solid #f0f0f0;
}

.categories-item:last-child {
  border-bottom: none;
}

/* Главные категории */
.categories-item--parent {
  position: relative;
}

.categories-link--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
}

.categories-link--parent:hover {
  background: #f8f9fa;
  color: #007bff;
}

.categories-item--active .categories-link--parent {
  background: #007bff;
  color: #fff;
}

.category-text {
  flex: 1;
}

.category-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 10px;
  color: #666;
}

.categories-item--active .category-arrow,
.categories-item--parent:hover .category-arrow {
  color: inherit;
}

.categories-item--active .category-arrow {
  transform: rotate(90deg);
}

/* Дочерние категории */
.categories-item--child .categories-link {
  display: block;
  padding: 10px 20px 10px 40px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 14px;
  background: #fafafa;
  border-left: 3px solid transparent;
}

.categories-item--child .categories-link:hover {
  background: #f0f7ff;
  color: #007bff;
  border-left-color: #007bff;
}

.categories-item--child.categories-item--active .categories-link {
  background: #e3f2fd;
  color: #007bff;
  font-weight: 500;
  border-left-color: #007bff;
}

/* Вложенность подкатегорий */
.categories-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fafafa;
  display: none;
}

.categories-item--expanded > ul {
  display: block;
}

.categories-item ul .categories-item {
  border-bottom: 1px solid #e8e8e8;
}

.categories-item ul .categories-item:last-child {
  border-bottom: none;
}

/* Сетка товаров */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Баннер */
.banner-section {
  margin: 50px 0;
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 118, 255, 0.15),
    inset 0 2px 1px rgba(255, 255, 255, 0.3),
    inset 0 -2px 1px rgba(0, 0, 0, 0.1);
}

/* Фоновый градиент */
.banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 122, 255, 0.9) 0%, 
    rgba(0, 70, 190, 0.9) 100%);
  z-index: -1;
  border-radius: 20px;
}

/* Блестящие переливы */
.banner-content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: rotate(45deg);
  animation: glassShine 6s infinite linear;
  z-index: -1;
}

@keyframes glassShine {
  0% {
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%) translateY(100%);
  }
}

.banner-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #fff;
}

.banner-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.banner-subtitle {
  display: block;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.banner-features {
  margin: 0 0 25px 0;
  padding-left: 20px;
  list-style: none;
}

.banner-feature {
  position: relative;
  margin-bottom: 8px;
  padding-left: 15px;
  line-height: 1.4;
}

.banner-feature::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

.btn-banner {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #333;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-banner:hover {
  background: #f8f9fa;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-img {
  max-width: 300px;
  height: auto;
  display: block;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mobile-filter-toggle {
    display: block;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    max-height: 100vh;
  }
  
  .catalog-sidebar.active {
    left: 0;
  }
  
  .sidebar-header {
    display: flex;
  }
  
  .sidebar-widget {
    border-radius: 0;
    box-shadow: none;
    height: 100%;
  }
  
  .sidebar-content {
    max-height: calc(100vh - 60px);
  }
  
  .banner-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .banner-image {
    maw-width:300px;
    order: -1;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-main-title {
    font-size: 1.5rem;
    margin: 15px 0 25px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .banner-content {
    padding: 25px 20px;
  }
  
  .banner-title {
    font-size: 24px;
  }
  
  .catalog-sidebar {
    width: 300px;
  }
}

@media (max-width: 575px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .banner-content {
    padding: 20px 15px;
  }
  
  .btn-banner {
    width: 100%;
    text-align: center;
  }
  
  .catalog-sidebar {
    width: 100%;
  }
  
  .categories-link--parent {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .categories-item--child .categories-link {
    padding: 10px 15px 10px 30px;
    font-size: 13px;
  }
}

/* Overlay для мобильного меню */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}


/* ===== ОСНОВНЫЕ СТИЛИ ===== */
/* Хлебные крошки */
.breadcrumbs-section {
  padding: 15px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #6c757d;
}

.breadcrumbs-list a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
  color: #0056b3;
}

.breadcrumbs-current {
  color: #6c757d;
  font-weight: 500;
}

/* Заголовок страницы */
.page-main-title {
  margin: 20px 0 30px;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

/* ===== МОБИЛЬНЫЙ ФИЛЬТР ===== */
.mobile-filter-toggle {
  display: none;
  margin-bottom: 15px;
}

.btn-mobile-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
}

.btn-mobile-filter:hover {
  background: #0056b3;
}

.filter-icon {
  font-size: 18px;
}

.filter-arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.btn-mobile-filter.active .filter-arrow {
  transform: rotate(180deg);
}

/* ===== LAYOUT КАТАЛОГА ===== */
.catalog-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}

/* ===== БОКОВАЯ ПАНЕЛЬ КАТЕГОРИЙ ===== */
.catalog-sidebar {
  position: sticky;
  top: 20px;
  transition: all 0.3s ease;
  max-height: calc(100vh - 100px);
}

.sidebar-widget {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #007bff;
  color: #fff;
  flex-shrink: 0;
}

.sidebar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  max-height: 600px;
}

.categories-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.categories-item {
  margin-bottom: 0;
  border-bottom: 1px solid #f0f0f0;
}

.categories-item:last-child {
  border-bottom: none;
}

/* Главные категории */
.categories-item--parent {
  position: relative;
}

.categories-link--parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
}

.categories-link--parent:hover {
  background: #f8f9fa;
  color: #007bff;
}

.categories-item--active .categories-link--parent {
  background: #007bff;
  color: #fff;
}

.category-text {
  flex: 1;
}

.category-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 10px;
  color: #666;
}

.categories-item--active .category-arrow,
.categories-item--parent:hover .category-arrow {
  color: inherit;
}

.categories-item--active .category-arrow {
  transform: rotate(90deg);
}

/* Дочерние категории */
.categories-item--child .categories-link {
  display: block;
  padding: 10px 20px 10px 40px;
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 14px;
  background: #fafafa;
  border-left: 3px solid transparent;
}

.categories-item--child .categories-link:hover {
  background: #f0f7ff;
  color: #007bff;
  border-left-color: #007bff;
}

.categories-item--child.categories-item--active .categories-link {
  background: #e3f2fd;
  color: #007bff;
  font-weight: 500;
  border-left-color: #007bff;
}

/* Вложенность подкатегорий */
.categories-item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fafafa;
  display: none;
}

.categories-item--expanded > ul {
  display: block;
}

.categories-item ul .categories-item {
  border-bottom: 1px solid #e8e8e8;
}

.categories-item ul .categories-item:last-child {
  border-bottom: none;
}

/* ===== ОСНОВНАЯ ОБЛАСТЬ КАТАЛОГА ===== */
.catalog-main {
  min-height: 400px;
}

/* ===== СЕТКА ПОДКАТЕГОРИЙ ===== */
.subcategories-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #007bff;
}

.subcategories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
}

.subcategory-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.subcategory-card:hover {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0,123,255,0.15);
  transform: translateY(-2px);
}

.subcategory-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  color: #333;
  text-decoration: none;
}

.subcategory-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
}

.subcategory-arrow {
  color: #007bff;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.subcategory-card:hover .subcategory-arrow {
  transform: translateX(3px);
}

/* ===== СЕКЦИЯ ТОВАРОВ ===== */
.products-section {
  margin-top: 40px;
}

/* ===== СЕТКА ТОВАРОВ ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* ===== БАННЕР СЕКЦИЯ ===== */
.banner-section {
  margin: 50px 0;
}

.banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 15px 35px rgba(0, 118, 255, 0.15),
    inset 0 2px 1px rgba(255, 255, 255, 0.3),
    inset 0 -2px 1px rgba(0, 0, 0, 0.1);
}

/* Фоновый градиент */
.banner-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(0, 122, 255, 0.9) 0%, 
    rgba(0, 70, 190, 0.9) 100%);
  z-index: -1;
  border-radius: 20px;
}

/* Блестящие переливы */
.banner-content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: rotate(45deg);
  animation: glassShine 6s infinite linear;
  z-index: -1;
}

@keyframes glassShine {
  0% {
    transform: rotate(45deg) translateX(-100%) translateY(-100%);
  }
  100% {
    transform: rotate(45deg) translateX(100%) translateY(100%);
  }
}

.banner-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #fff;
}

.banner-description {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.banner-subtitle {
  display: block;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.banner-features {
  margin: 0 0 25px 0;
  padding-left: 20px;
  list-style: none;
}

.banner-feature {
  position: relative;
  margin-bottom: 8px;
  padding-left: 15px;
  line-height: 1.4;
}

.banner-feature::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
  font-weight: bold;
}

.btn-banner {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #333;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-banner:hover {
  background: #f8f9fa;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.banner-img {
  max-width: 300px;
  height: auto;
  display: block;
}

/* ===== OVERLAY ДЛЯ МОБИЛЬНОГО МЕНЮ ===== */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
    gap: 25px;
  }
}

@media (max-width: 991px) {
  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .mobile-filter-toggle {
    display: block;
  }
  
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    max-height: 100vh;
  }
  
  .catalog-sidebar.active {
    left: 0;
  }
  
  .sidebar-header {
    display: flex;
  }
  
  .sidebar-widget {
    border-radius: 0;
    box-shadow: none;
    height: 100%;
  }
  
  .sidebar-content {
    max-height: calc(100vh - 60px);
  }
  
  .banner-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
  
  .banner-image {
    max-width: 300px;
    order: -1;
    text-align: center;
  }
  
  .subcategories-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .subcategories-section {
    margin-bottom: 30px;
  }
  
  .products-section {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-main-title {
    font-size: 1.5rem;
    margin: 15px 0 25px;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .subcategories-grid {
    grid-template-columns: 1fr;
  }
  
  .banner-content {
    padding: 25px 20px;
  }
  
  .banner-title {
    font-size: 24px;
  }
  
  .catalog-sidebar {
    width: 300px;
  }
  
  .section-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .sidebar-widget {
    padding: 15px;
  }
  
  .banner-content {
    padding: 20px 15px;
  }
  
  .btn-banner {
    width: 100%;
    text-align: center;
  }
  
  .catalog-sidebar {
    width: 100%;
  }
  
  .categories-link--parent {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .categories-item--child .categories-link {
    padding: 10px 15px 10px 30px;
    font-size: 13px;
  }
  
  .subcategory-link {
    padding: 15px;
  }
  
  .subcategory-title {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

.botbuts {
	display: none;
}

@media (max-width:640px) {
	
	.botbuts {
		display: flex;
                justify-content: space-between;
                align-items: center;
		width: 100%;
		position: fixed;
		bottom: 0;
		z-index: 9999;
		background: linear-gradient(135deg, #007bff, #0056b3);
		box-shadow: 0 0 10px #000;
		left: 0;
	}

.botbuts a {
  flex: 1;                    /* каждая кнопка занимает равную ширину */
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  padding: 10px 0;
  text-decoration: none;
  border-right: 1px solid #333; /* разделитель между кнопками */
}
}

.modal-open {
	overflow: hidden;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	display: none;
	overflow: hidden;
	outline: 0;
}

.modal.fade .modal-dialog {
	-webkit-transition: -webkit-transform .3s ease-out;
	transition: -webkit-transform .3s ease-out;
	transition: transform .3s ease-out;
	transition: transform .3s ease-out,-webkit-transform .3s ease-out,-o-transform .3s ease-out;
	-o-transition: -o-transform .3s ease-out;
	-webkit-transform: translate(0,-25%);
	-o-transform: translate(0,-25%);
	transform: translate(0,-25%);
}

.modal.show .modal-dialog {
	-webkit-transform: translate(0,0);
	-o-transform: translate(0,0);
	transform: translate(0,0);
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
}

.modal-content {
	position: relative;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: .3rem;
	outline: 0;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000;
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop.show {
	opacity: .5;
}

.modal-header {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: 15px;
	border-bottom: 1px solid #eceeef;
}

.modal-title {
	margin-bottom: 0;
	line-height: 1.5;
}

.modal-body {
	position: relative;
	-webkit-box-flex: 1;
	-webkit-flex: 1 1 auto;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 15px;
}

.modal-footer {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-webkit-justify-content: flex-end;
	-ms-flex-pack: end;
	justify-content: flex-end;
	padding: 15px;
	border-top: 1px solid #eceeef;
}

.modal-footer>:not(:first-child) {
	margin-left: .25rem;
}

.modal-footer>:not(:last-child) {
	margin-right: .25rem;
}

.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

@media (min-width:576px) {
	.modal-dialog {
		max-width: 500px;
		margin: 30px auto;
	}

	.modal-sm {
		max-width: 300px;
	}
}

@media (min-width:992px) {
	.modal-lg {
		max-width: 800px;
	}
}

.tooltip {
	position: absolute;
	z-index: 1070;
	display: block;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-break: auto;
	line-height: 1.5;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	white-space: normal;
	word-break: normal;
	word-spacing: normal;
	font-size: .875rem;
	word-wrap: break-word;
	opacity: 0;
}

.tooltip.show {
	opacity: .9;
}

.tooltip.bs-tether-element-attached-bottom,.tooltip.tooltip-top {
	padding: 5px 0;
	margin-top: -3px;
}

.tooltip.bs-tether-element-attached-bottom .tooltip-inner:before,.tooltip.tooltip-top .tooltip-inner:before {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	content: "";
	border-width: 5px 5px 0;
	border-top-color: #000;
}

.tooltip.bs-tether-element-attached-left,.tooltip.tooltip-right {
	padding: 0 5px;
	margin-left: 3px;
}

.tooltip.bs-tether-element-attached-left .tooltip-inner:before,.tooltip.tooltip-right .tooltip-inner:before {
	top: 50%;
	left: 0;
	margin-top: -5px;
	content: "";
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}

.tooltip.bs-tether-element-attached-top,.tooltip.tooltip-bottom {
	padding: 5px 0;
	margin-top: 3px;
}

.tooltip.bs-tether-element-attached-top .tooltip-inner:before,.tooltip.tooltip-bottom .tooltip-inner:before {
	top: 0;
	left: 50%;
	margin-left: -5px;
	content: "";
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}

.tooltip.bs-tether-element-attached-right,.tooltip.tooltip-left {
	padding: 0 5px;
	margin-left: -3px;
}

.tooltip.bs-tether-element-attached-right .tooltip-inner:before,.tooltip.tooltip-left .tooltip-inner:before {
	top: 50%;
	right: 0;
	margin-top: -5px;
	content: "";
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}

.tooltip-inner {
	max-width: 200px;
	padding: 3px 8px;
	color: #fff;
	text-align: center;
	background-color: #000;
	border-radius: .25rem;
}

.tooltip-inner:before {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}

.popover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1060;
	display: block;
	max-width: 276px;
	padding: 1px;
	font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
	font-style: normal;
	font-weight: 400;
	letter-spacing: normal;
	line-break: auto;
	line-height: 1.5;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	white-space: normal;
	word-break: normal;
	word-spacing: normal;
	font-size: .875rem;
	word-wrap: break-word;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: .3rem;
}

.popover.bs-tether-element-attached-bottom,.popover.popover-top {
	margin-top: -10px;
}

.popover.bs-tether-element-attached-bottom:after,.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:after,.popover.popover-top:before {
	left: 50%;
	border-bottom-width: 0;
}

.popover.bs-tether-element-attached-bottom:before,.popover.popover-top:before {
	bottom: -11px;
	margin-left: -11px;
	border-top-color: rgba(0,0,0,.25);
}

.popover.bs-tether-element-attached-bottom:after,.popover.popover-top:after {
	bottom: -10px;
	margin-left: -10px;
	border-top-color: #fff;
}

.popover.bs-tether-element-attached-left,.popover.popover-right {
	margin-left: 10px;
}

.popover.bs-tether-element-attached-left:after,.popover.bs-tether-element-attached-left:before,.popover.popover-right:after,.popover.popover-right:before {
	top: 50%;
	border-left-width: 0;
}

.popover.bs-tether-element-attached-left:before,.popover.popover-right:before {
	left: -11px;
	margin-top: -11px;
	border-right-color: rgba(0,0,0,.25);
}

.popover.bs-tether-element-attached-left:after,.popover.popover-right:after {
	left: -10px;
	margin-top: -10px;
	border-right-color: #fff;
}

.popover.bs-tether-element-attached-top,.popover.popover-bottom {
	margin-top: 10px;
}

.popover.bs-tether-element-attached-top:after,.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:after,.popover.popover-bottom:before {
	left: 50%;
	border-top-width: 0;
}

.popover.bs-tether-element-attached-top:before,.popover.popover-bottom:before {
	top: -11px;
	margin-left: -11px;
	border-bottom-color: rgba(0,0,0,.25);
}

.popover.bs-tether-element-attached-top:after,.popover.popover-bottom:after {
	top: -10px;
	margin-left: -10px;
	border-bottom-color: #f7f7f7;
}

.popover.bs-tether-element-attached-top .popover-title:before,.popover.popover-bottom .popover-title:before {
	position: absolute;
	top: 0;
	left: 50%;
	display: block;
	width: 20px;
	margin-left: -10px;
	content: "";
	border-bottom: 1px solid #f7f7f7;
}

.popover.bs-tether-element-attached-right,.popover.popover-left {
	margin-left: -10px;
}

.popover.bs-tether-element-attached-right:after,.popover.bs-tether-element-attached-right:before,.popover.popover-left:after,.popover.popover-left:before {
	top: 50%;
	border-right-width: 0;
}

.popover.bs-tether-element-attached-right:before,.popover.popover-left:before {
	right: -11px;
	margin-top: -11px;
	border-left-color: rgba(0,0,0,.25);
}

.popover.bs-tether-element-attached-right:after,.popover.popover-left:after {
	right: -10px;
	margin-top: -10px;
	border-left-color: #fff;
}

.popover-title {
	padding: 8px 14px;
	margin-bottom: 0;
	font-size: 1rem;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ebebeb;
	border-top-right-radius: calc(.3rem - 1px);
	border-top-left-radius: calc(.3rem - 1px);
}

.popover-title:empty {
	display: none;
}

.popover-content {
	padding: 9px 14px;
}

.popover:after,.popover:before {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}

.popover:before {
	content: "";
	border-width: 11px;
}

.popover:after {
	content: "";
	border-width: 10px;
}

.text-preview {
    position: relative;
    margin-top: 50px;
}

.preview-content {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.preview-content.expanded {
    max-height: 5000px;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.preview-content.expanded .gradient-overlay {
    opacity: 0;
}

.expand-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    color: #007bff;
    font-weight: 500;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(0, 123, 255, 0.05);
}

.expand-trigger:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

.expand-arrow {
    transition: transform 0.3s ease;
}

.expand-arrow.rotated {
    transform: rotate(180deg);
}

.preview-content.expanded + .expand-trigger .expand-text {
    display: none;
}

.preview-content.expanded + .expand-trigger .expand-text::after {
    content: "Свернуть";
}


.text-preview p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.text-preview ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.text-preview li {
    margin-bottom: 10px;
}

.text-preview span {
    font-weight: 600;
    color: #333;
}

@media (max-width: 991px) {
    .botbuts {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .modern-mobile-menu.active ~ .botbuts,
    body.menu-open .botbuts {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.category-arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.categories-item--active .category-arrow {
    transform: rotate(90deg);
}

.category-arrow {
    font-family: sans-serif !important;
}

.specifications-content {
    line-height: 1.6;
}

.specifications-content p {
    margin-bottom: 15px;
    color: #333;
}

.specifications-content .table-responsive {
    margin: 20px 0;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.specifications-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.specifications-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
}

.specifications-table tr:hover {
    background-color: #f8f9fa;
}

/* Стили для текстовых частей */
.text-content {
    margin-bottom: 20px;
}

.table-section {
    margin: 25px 0;
}

.no-data {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Хлебные крошки */
.breadcrumbs-section {
  padding: 15px 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #6c757d;
}

.breadcrumbs-list a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs-list a:hover {
  color: #0056b3;
}

.breadcrumbs-current {
  color: #6c757d;
  font-weight: 500;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}
.modal.show .modal-dialog {
    transform: none;
}

/* Основной контейнер модального окна */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #fff;
    overflow: hidden;
}

/* Заголовок модального окна */
.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #003366; /* Темно-синий, как в фирменном стиле */
    margin-bottom: 25px;
    padding: 30px 30px 0;
    line-height: 1.3;
}

/* Тело модального окна */
.modal-body {
    padding: 0 30px 30px;
}

/* Стили для формы */
.ajax_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Поля ввода */
.ajax_form input[type="text"],
.ajax_form input[type="tel"],
.ajax_form input[type="email"],
.ajax_form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #333;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ajax_form input:focus,
.ajax_form textarea:focus {
    outline: none;
    border-color: #0066cc; /* Синий акцентный цвет */
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ajax_form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Кнопка отправки */
.ajax_form .btn_send {
    background: linear-gradient(135deg, #0066cc, #004499); /* Градиент синих тонов */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 18px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.ajax_form .btn_send:hover {
    background: linear-gradient(135deg, #004499, #003366);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.ajax_form .btn_send:active {
    transform: translateY(0);
}

/* Сообщения об ошибках и успехе */
.af_message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: center;
}

.af_message.error {
    background: #ffe6e6;
    color: #cc0000;
    border: 1px solid #ffcccc;
}

.af_message.success {
    background: #e6ffe6;
    color: #006600;
    border: 1px solid #ccffcc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .modal-title {
        font-size: 20px;
        padding: 25px 25px 0;
    }
    
    .modal-body {
        padding: 0 25px 25px;
    }
    
    .ajax_form .btn_send {
        padding: 16px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 18px;
        padding: 20px 20px 0;
    }
    
    .modal-body {
        padding: 0 20px 20px;
    }
    
    .ajax_form input[type="text"],
    .ajax_form input[type="tel"],
    .ajax_form input[type="email"],
    .ajax_form textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Анимация появления */
@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal.show .modal-content {
    animation: modalAppear 0.3s ease-out;
}

/* Стили для кнопки закрытия (если добавите) */
.modal-header .close {
    color: #003366;
    opacity: 0.7;
    font-size: 28px;
    transition: opacity 0.3s ease;
}

.modal-header .close:hover {
    opacity: 1;
}


/* Стили для кнопки закрытия модального окна */
.modal-header {
    border: none;
    padding: 20px 20px 0;
    position: relative;
    min-height: 40px;
}

.btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23003366'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* Обновленные стили для кнопки btn-modal */
.btn-modal {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-modal:hover {
    background: linear-gradient(135deg, #004499, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
}

.btn-modal:active {
    transform: translateY(0);
}

/* Сетка категорий */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопе */
    gap: 20px;
    margin-top: 30px;
}

/* Карточка категории */
.category-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.category-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.category-card__image img {
    height: 100%;
    width: auto;
    max-width: none; 
}
.category-card:hover .category-card__image img {
    transform: scale(1.05);
}

.category-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.category-card__content {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.category-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #003366;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.category-card__count {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Планшеты (768px - 991px) */
@media (max-width: 991px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
        gap: 15px;
    }
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на мобилках */
        gap: 12px;
    }
    
    .category-card__image {
        height: 140px; /* Чуть меньше высота на мобилках */
    }
    
    .category-card__content {
        padding: 15px;
    }
    
    .category-card__title {
        font-size: 16px;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card__image {
        height: 120px;
    }
    
    .category-card__content {
        padding: 12px;
    }
    
    .category-card__title {
        font-size: 15px;
    }
    
    .category-card__count {
        font-size: 13px;
    }
}



@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
}

.container{max-width:1200px;width:100%;margin:0 auto;padding:0 15px}
.section__head{text-align:center;margin-bottom:40px}
.section__head-title{font-size:36px;font-weight:700;color:#003366;margin-bottom:15px}
.section__head-subtitle{font-size:18px;color:#6c757d;font-weight:400}

/* Форма поиска */
.search-form_page {max-width:600px;margin:0 auto 40px;position:relative}
.search-input_page {width:100%;padding:16px 60px 16px 20px;border:2px solid #e9ecef;border-radius:50px;font-size:16px;transition:all .3s ease;background:#fff}
.search-input_page:focus {outline:none;border-color:#0066cc;box-shadow:0 0 0 3px rgba(0,102,204,.1)}
.search-button_page {position:absolute;right:8px;top:50%;transform:translateY(-50%);width:44px;height:44px;background:linear-gradient(135deg,#0066cc,#004499);border:none;border-radius:50%;color:#fff;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center}
.search-button_page:hover {background:linear-gradient(135deg,#004499,#003366);transform:translateY(-50%) scale(1.05)}
.search-button_page svg {width:20px;height:20px}

/* Результаты */
.search-results{max-width:800px;margin:0 auto}
.search-info{margin-bottom:20px;color:#6c757d;font-size:14px;text-align:center}
.search-result-item{background:#fff;border-radius:12px;padding:20px;margin-bottom:20px;box-shadow:0 2px 15px rgba(0,0,0,.08);border:1px solid #e9ecef;transition:all .3s ease}
.search-result-item:hover{transform:translateY(-2px);box-shadow:0 4px 25px rgba(0,0,0,.12);border-color:#0066cc}

/* Контент с фото */
.result-content{display:flex;gap:20px;align-items:flex-start}
.result-image{flex-shrink:0;width:200px;max-height:200px;border-radius:8px;overflow:hidden;background:#f8f9fa}
.result-image img{width:100%;height:100%;object-fit:cover}
.result-info{flex:1;min-width:0}
.result-title{font-size:18px;font-weight:600;color:#003366;margin-bottom:8px;line-height:1.3}
.result-title a{color:inherit;text-decoration:none;transition:color .3s ease}
.result-title a:hover{color:#0066cc}
.result-extract{color:#495057;line-height:1.5;margin-bottom:12px;font-size:14px}
.result-meta{display:flex;align-items:center;gap:15px;font-size:13px;color:#6c757d;flex-wrap:wrap}
.result-price{font-weight:600;color:#003366;font-size:14px}
.result-category{background:#f8f9fa;padding:4px 8px;border-radius:4px;font-size:12px}

/* Пагинация */
.pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:40px;padding:20px 0;flex-wrap:wrap}
.pagination a,.pagination span{display:flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border:2px solid #e9ecef;border-radius:8px;text-decoration:none;color:#495057;font-family:'Montserrat',sans-serif;font-weight:500;font-size:14px;transition:all .3s ease;background:#fff}
.pagination a:hover{background:linear-gradient(135deg,#0066cc,#004499);color:#fff;border-color:#0066cc;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,102,204,.3)}
.pagination .active a {
  background: #007bff !important;
  border-color: #007bff !important;
  color: #fff !important;
}
.pagination-prev,.pagination-next{display:flex;align-items:center;gap:6px;padding:0 16px}
.pagination-separator{display:none} /* Скрываем разделитель */

/* Адаптивность */
@media (max-width:768px){.result-content{flex-direction:column;gap:15px}.result-image{width:100%;max-height:250px}.pagination{gap:6px;margin-top:30px}.pagination a,.pagination span{min-width:40px;height:40px;padding:0 10px;font-size:13px}.pagination-prev,.pagination-next{padding:0 12px;font-size:13px}}
@media (max-width:480px){.pagination{gap:4px}.pagination a,.pagination span{min-width:36px;height:36px;padding:0 8px;font-size:12px}.pagination-prev,.pagination-next{padding:0 10px;font-size:12px}}


/* Блок "Ничего не найдено" */
.no-results {
    text-align: center;
    padding: 60px 40px;
    margin: 0 auto;
}


.no-results-text {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 30px;
}

.no-results-text strong {
    color: #003366;
    font-weight: 600;
}

/* Предложения */
.search-suggestions {
    margin-top: 30px;
    padding: 25px;
}

.suggestions-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.suggestions-list li {
    margin-bottom: 0;
}

.suggestions-list a {
    display: block;
    padding: 12px 16px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.suggestions-list a:hover {
    background: #0066cc;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Кнопка возврата в каталог */
.no-results-actions {
    margin-top: 25px;
}

.btn-catalog {
    display: inline-block;
    color: white;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-catalog:hover {
    background: linear-gradient(135deg, #004499, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: white;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .no-results {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .no-results-title {
        font-size: 24px;
    }
    
    .no-results-text {
        font-size: 15px;
    }
    
    .search-suggestions {
        padding: 20px;
    }
    
    .suggestions-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .suggestions-list a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .no-results {
        padding: 30px 15px;
    }
    
    .no-results-title {
        font-size: 22px;
    }
    
    .no-results-text {
        font-size: 14px;
    }
    
    .suggestions-title {
        font-size: 16px;
    }
}

/* Корзина */
.cart-section {
    padding: 60px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.item-image {
    width: 80px;
    height: 80px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #003366;
    margin-bottom: 5px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #0066cc;
    background: #fff;
    color: #0066cc;
    cursor: pointer;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #e9ecef;
    padding: 5px;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.cart-total {
    background: #f8f9fa;
    padding: 20px;
    margin-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.btn-checkout {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    padding: 15px 30px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}


.prod-gallery {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.prod-gallery .fotorama,
.prod-gallery .fotorama__wrap,
.prod-gallery .fotorama__stage {
  width: 100% !important;
  height: auto !important;
  min-height: 300px;
}

.prod-gallery img.fotorama__img {
  object-fit: contain;
  width: 100% !important;
  height: 100% !important;
  max-height: 560px;
  display: block;
}


/* Информация о товаре */
.product-info {
  padding: 0 20px;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
}

.product-intro {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 25px;
}

/* Мета-информация */
.product-meta {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
}

.meta-item:last-child {
  border-bottom: none;
}

.meta-label {
  color: #666;
  font-weight: 500;
}

.meta-value {
  color: #333;
  font-weight: 600;
}

.stock-available {
  color: #28a745;
}

/* Цена и кнопки */
.product-pricing {
  margin-bottom: 30px;
}

.price-block {
  margin-bottom: 20px;
}

.price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: #007bff;
  display: block;
}

.price-old {
  font-size: 1.5rem;
  color: #6c757d;
  text-decoration: line-through;
  margin-left: 15px;
}

.price-request {
  font-size: 1.2rem;
  font-weight: 600;
  color: #6c757d;
}

.product-actions {
  display: flex;
  gap: 15px;
}

.btn-order {
  flex: 1;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-favorite {
  width: 54px;
  height: 54px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6c757d;
}

.btn-favorite:hover {
  color: #dc3545;
  border-color: #dc3545;
  background: #fff;
}

/* Ключевые преимущества */
.key-features {
  margin-bottom: 25px;
}

.features-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.features-list {
  line-height: 1.6;
  color: #555;
}

.features-list ul {
  padding-left: 20px;
  margin: 0;
}

.features-list li {
  margin-bottom: 8px;
}

/* Поделиться */
.product-share {
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
}

.share-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

/* Вкладки */
.product-tabs {
  margin-top: 40px;
}

.tabs-navigation {
  display: flex;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 0;
}

.tab-button {
  background: none;
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: #007bff;
  background: #f8f9fa;
}

.tab-button.active {
  color: #007bff;
  border-bottom-color: #007bff;
  background: #fff;
}

.tabs-content {
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.tab-panel {
  display: none;
  padding: 30px;
}

.tab-panel.active {
  display: block;
}

.tab-content-inner {
  line-height: 1.6;
  color: #333;
}

.tab-content-inner h3,
.tab-content-inner h4 {
  color: #333;
  margin-bottom: 15px;
}

.tab-content-inner p {
  margin-bottom: 15px;
}

/* Блок производства */
.production-title {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.production-content {
  margin-bottom: 25px;
  line-height: 1.6;
}

.production-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.badge-russian,
.badge-certified {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.badge-russian {
  background: #e3f2fd;
  color: #1976d2;
}

.badge-certified {
  background: #e8f5e8;
  color: #2e7d32;
}

/* Адаптивность */
@media (max-width: 991px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .product-title {
    font-size: 1.5rem;
  }
  
  .price-current {
    font-size: 2rem;
  }
  
  .tabs-navigation {
    flex-direction: column;
    border-bottom: none;
  }
  
  .tab-button {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
    text-align: left;
  }
  
  .tab-button.active {
    border-bottom: 1px solid #007bff;
  }
  
  .tab-panel {
    padding: 20px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .btn-favorite {
    width: 100%;
    height: 50px;
  }
}

@media (max-width: 575px) {
  .product-section {
    padding: 20px 0 40px;
  }
  
  .production-badges {
    flex-direction: column;
  }
  
  .breadcrumbs-list {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Дополнительные стили для мобильных 2 колонок */
    .product-card {
        min-height: auto !important;
    }
    
    .product-card__image {
        height: 120px !important;
    }
    
    .product-card__title {
        font-size: 14px !important;
    }
}
/* ===== ПАГИНАЦИЯ ===== */
.pagination-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-item {
  margin: 0;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pagination-link:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  transform: translateY(-1px);
}

.pagination-item.active .pagination-link {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.pagination-item.disabled .pagination-link {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.pagination-item.disabled .pagination-link:hover {
  background: #f8f9fa;
  border-color: #e9ecef;
  color: #6c757d;
  transform: none;
}

/* Стили для стрелок */
.pagination-arrow {
  font-size: 12px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Специфические стили для активного состояния */
.pagination .active a {
  background: #007bff !important;
  border-color: #007bff !important;
  color: #fff !important;
}

/* Стили для разных состояний ссылок */
.pagination a {
  background: #fff;
  border: 1px solid #e9ecef;
  color: #333;
}

.pagination a:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}

/* Стили для span (неактивные элементы) */
.pagination span {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Адаптивность пагинации */
@media (max-width: 768px) {
  .pagination-link {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
  }
  
  .pagination-wrapper {
    margin-top: 30px;
  }
  
  .pagination {
    gap: 6px;
  }
}

@media (max-width: 575px) {
  .pagination {
    gap: 4px;
  }
  
  .pagination-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
  
  .pagination-wrapper {
    margin-top: 25px;
  }
}

/* Дополнительные стили для лучшего отображения */
.pagination li {
  display: flex;
  align-items: center;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Специфические селекторы для pdoPage */
.pagination .pagination-item.active .pagination-link {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.pagination .pagination-item.disabled .pagination-link {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.product-group-bytag { position: relative; }
.swiper-container-wrapper { position: relative; padding: 25px 0; }
/* важен УНИКАЛЬНЫЙ класс контейнера: */
.my-product-slider-[[+sliderId]] { width: 100%; margin: 0 auto; overflow: hidden; }

.swiper-button-next,
.swiper-button-prev {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  background: #fff; border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10; color: #007bff;
}
.swiper-button-next { right: -20px; }
.swiper-button-prev { left: -20px; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 16px; font-weight: bold; }

@media (max-width: 576px) {
  .swiper-button-next, .swiper-button-prev { display: none; }
}

.partners-group-bytag {
  padding: 40px 0;
  overflow: hidden; 
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.partner-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.swiper-slide {
  height: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
  .partner-item {
    height: 100px;
    padding: 15px;
  }
  
  .partner-item img {
    max-height: 60px;
  }
}