/* ======== КАТАЛОГ ======== */
.catalog-container {
  display: flex;
  gap: 60px;
  width: 95%;
  margin: 0 auto;
  padding: 40px 80px;
}
 
/* Сайдбар */
.catalog-sidebar {
  width: 260px;
  background: #f8f9fa;
  border-radius: 16px;
  padding: 20px;
  height: fit-content;
}
 
.catalog-sidebar h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
 
.categories .category {
  margin-bottom: 20px;
}
 
.category h3 {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}
 
.category h3:hover {
  color: #003AE9;
}
 
.category ul {
  margin-top: 8px;
  margin-left: 16px;
  list-style: none;
  padding: 0;
}
 
.category li {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
 
.category li:hover {
  color: #003AE9;
}
 
/* Основная зона с товарами */
.catalog-content {
  flex: 1;
}
 
/* Заголовок с поиском */
.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
 
.catalog-content h2 {
  font-size: 48px;
  font-weight: 600;
  margin: 0;
}
 
/* Поиск */
.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}
 
.search-input {
  width: 100%;
  padding: 12px 45px 12px 16px;
  border: 2px solid #e8ebf7;
  border-radius: 12px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  background: white;
}
 
.search-input:focus {
  outline: none;
  border-color: #003AE9;
  box-shadow: 0 0 0 3px rgba(0, 58, 233, 0.1);
}
 
.search-input::placeholder {
  color: #999;
}
 
.search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #999;
  pointer-events: none;
}
 
/* СЕТКА КАРТОЧЕК - ТОЧНО КАК В INDEX.HTML */
.products-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  min-height: 400px;
}
 
/* КАРТОЧКИ - ТОЧНО КАК В INDEX.HTML */
.product-card {
  background-color: rgba(230, 230, 230, 0.7);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid #e8ebf7;
  transition: all 0.3s;
}
 
.product-card.active {
  box-shadow: rgb(0, 58, 233) 0px 0px 20px 0px;
}
 
.product-card:hover {
  color: #0039ff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
 
.product-image {
  background: #f5f7fc;
  border-radius: 10px;
  height: 308px;
  width: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
}
 
.product-image img {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 0.3s;
}
 
.product-card:hover .product-image img {
  transform: scale(1.05);
}
 
.btn.basket {
  border-radius: 8px;
  height: 40px;
  width: 100%;
  background: #003AE9;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}
 
.btn.basket:hover {
  background: #0031c7;
}
 
.product-price {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 5px;
}
 
.product-name {
  font-size: 16px;
  cursor: pointer;
}
 
.product-size {
  font-size: 10px;
  color: #878787;
}
 
/* Кнопка "Показать ещё" */
.show-more {
  text-align: center;
  margin-top: 30px;
  width: 100%;
}
 
.show-more-btn {
  background: #003AE9;
  color: #fff;
  border: none;
  padding: 10px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}
 
.show-more-btn:hover {
  background: #0031c7;
}
 
/* Адаптивность */
@media (max-width: 1200px) {
  .catalog-container {
    padding: 30px 40px;
    gap: 40px;
  }
  
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-container {
    max-width: 100%;
  }
}
 
@media (max-width: 768px) {
  .catalog-container {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }
  
  .catalog-sidebar {
    width: 100%;
  }
  
  .catalog-content h2 {
    font-size: 32px;
  }
  
  .products-grid {
    gap: 20px;
  }
}