/* Products Section */
.products {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
  position: relative;
  color: var(--primary);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 45px 0;
  padding: 0 20px;
}

.filter-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 90px;
  background: white;
  border: 2px solid #ff7010;
  border-radius: 15px;
  color: #ff7010;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 10px;
}

.filter-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 112, 16, 0.2);
  background: #ff7010;
  color: white;
}

.filter-btn.active {
  background: #ff7010;
  color: white;
  box-shadow: 0 5px 15px rgba(255, 112, 16, 0.3);
}

.filter-btn i {
  font-size: 24px;
  margin-bottom: 8px;
}

.filter-btn span {
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
}

/* Анимация при клике */
.filter-btn:active {
  transform: scale(0.95);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 30px;
}

.product-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.product-card__image {
  width: 100%;
  max-height: 200px;
  background: linear-gradient(45deg, #fa6b1d, #f7920f);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 14px;
}

.product-card__content {
  background-color: rgb(219, 219, 219);
  padding: 20px;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card__description {
  color: #404040;
  font-size: 14px;
  margin-bottom: 15px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__price {
  font-weight: 700;
  font-size: 20px;
  color: var(--primary);
}

.product-card__button {
  padding: 8px 16px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.product-card__button:hover {
  background-color: #e55f00;
}

.most-popular {
  grid-column: 1 / -1;
  position: relative;
  border-radius: 8px;
}
.most-popular:hover {
  transition: transform 0.4s ease-in-out;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(253, 102, 1, 0.1);
}
.most-popular img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 1);
  font-size: clamp(12px, 4vw, 36px);
  font-weight: 500;
  line-height: 53px;
}
