/* =========================
   HEADER PRODUCTOS
========================= */
.products-header {
  background: #f8f9fa;
}

.products-header h1 {
  font-weight: 700;
}

.border-line {
  width: 100px;
  height: 4px;
  background: #ffc107;
  margin: 0 auto 15px;
  border-radius: 5px;
}

/* =========================
   FILTROS
========================= */
.products-filters {
  border-bottom: 1px solid #eee;
}

.products-filters label {
  font-size: 0.9rem;
}

/* =========================
   GRID PRODUCTOS
========================= */
.product-grid .card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-grid img {
  height: 220px;
  object-fit: cover;
}

/* =========================
   BOTONES
========================= */
.product-grid .btn-primary {
  background: #1a2aff;
  border-color: #1a2aff;
}

.product-grid .btn-primary:hover {
  background: #0d114c;
  border-color: #0d114c;
}

/* =========================
   MENSAJE CARRITO
========================= */
#cartMessage {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  color: #fff;
  border-radius: 8px;
  z-index: 9999;
  font-weight: 500;
  background: #28a745;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .product-grid img {
    height: 180px;
  }

}

@media (max-width: 576px) {

  .product-grid .card {
    margin-bottom: 20px;
  }

}