/* Общие стили */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Open Sans', sans-serif;
  scroll-behavior: smooth;
}

a{
  text-decoration: none;
}

/* Хлебные крошки */
.breadcrumbs {
  padding: 100px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #f34c43;
}

.breadcrumbs span {
  color: #999;
  margin: 0 10px;
}

/* Основной контент */
.main-content {
  padding: 60px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

/* Каталог продукции */
.products {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #333;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  letter-spacing: -0.5px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #f34c43;
  border-radius: 2px;
}

.product-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
  justify-content: center;
  align-items: center;
}

.category-btn {
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid #f34c43;
  background-color: transparent;
  color: #f34c43;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background-color: rgba(243, 76, 67, 0.05);
}

.category-btn.active {
  background-color: #f34c43;
  color: #fff;
}

.arrow-btn {
  justify-content: start;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.arrow-btn img {
  width: 15px;
  height: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 60px;
}

.product-card {
  display: flex;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
  height: 450px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.product-image-container {
  width: 50%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.product-info {
  width: 50%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.product-name {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.3;
}

.product-name span {
  font-weight: 700;
}

.product-description {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1a1a1a;
  opacity: 1;
  margin-bottom: 25px;
  line-height: 1.7;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.product-details-btn {
  padding: 14px 36px;
  background-color: #f34c43;
  border-radius: 6px;
  border: none;
  color: white;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  flex-shrink: 0;
}

.product-details-btn:hover {
  background-color: #e63946;
  transform: translateY(-1px);
}

.all-products-btn {
  padding: 18px 50px;
  background-color: transparent;
  border: 2px solid #f34c43;
  border-radius: 6px;
  color: #f34c43;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  margin-top: 60px;
  transition: all 0.3s ease;
}

.all-products-btn:hover {
  background-color: #f34c43;
  color: white;
  transform: translateY(-1px);
}
/* Пагинация */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

.page-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.page-item:hover {
  background-color: #f0f0f0;
}

.page-item.active {
  background-color: #f34c43;
  color: white;
}

.page-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.page-arrow:hover {
  background-color: #f0f0f0;
}

.page-arrow img {
  width: 15px;
  height: 15px;
}

/* Старые стили футера удалены - используются стили из footer.css */

/* Адаптивность */
@media (max-width: 1024px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }
  
  .main-title {
    font-size: 32px;
  }

  .main-subtitle {
    font-size: 16px;
  }

  .feature-title {
    font-size: 30px;
  }

  .feature-description {
    font-size: 14px;
  }

  .contacts-row {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .main-title {
    font-size: 28px;
  }

  .main-subtitle {
    font-size: 14px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .product-categories {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    flex-wrap: nowrap;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    flex-direction: column;
    height: auto;
  }

  .product-image-container {
    width: 100%;
    height: 200px;
  }

  .product-info {
    width: 100%;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about-content, .about-downloads {
    text-align: center;
  }

  .about-more-btn {
    margin: 0 auto;
  }

  .contacts-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact-item {
    align-items: center;
  }

  .partners-row:nth-child(1),
  .partners-row:nth-child(2) {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 16px;
  }

  .logo-subtitle {
    font-size: 8px;
  }

  .main-title {
    font-size: 24px;
  }

  .main-subtitle {
    font-size: 13px;
  }

  .section-title {
    font-size: 20px;
  }

  /* Старые стили футера удалены - используются стили из footer.css */
}