/* ==============================
   PRODUCTS SECTION
   ============================== */
.products {
  padding: 100px 0;
  background-color: var(--neutral-light);
  position: relative;
  overflow: hidden;
}

.products-bg-shape {
  position: absolute;
  background: linear-gradient(135deg, var(--glitch-green), var(--yummy-yellow));
  opacity: 0.1;
  animation: pulse 8s infinite ease-in-out;
}

.products-bg-shape:nth-child(1) {
  width: 150px; height: 150px; top: 10%; left: 5%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.products-bg-shape:nth-child(2) {
  width: 100px; height: 100px; top: 70%; left: 80%; border-radius: 50%;
}

.products-bg-shape:nth-child(3) {
  width: 120px; height: 120px; top: 40%; left: 15%;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
}

.products-bg-shape:nth-child(4) {
  width: 80px; height: 80px; top: 20%; left: 70%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.product-item {
  background-color: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 30px;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--bit-black);
}

.product-description {
  margin-bottom: 20px;
  color: var(--bit-black);
  line-height: 1.5;
}

.product-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--bonus-blue);
  margin-bottom: 20px;
}

.product-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--glitch-green);
  color: var(--bit-black);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background-color: var(--yummy-yellow);
  transform: translateY(-3px);
}
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
    gap: 30px;
  }
  .product-image-container {
    height: 200px; /* Ajustar altura para contener mejor en tablet */
  }
}

@media (max-width: 576px) {
  .products-grid {
    grid-template-columns: 1fr; /* 1 columna en móviles */
    gap: 20px;
  }
  .product-image-container {
    height: 180px;
  }

  .product-content {
    padding: 20px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-description {
    font-size: 14px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}