/* Estilos para la página de productos */
.product-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

/* Solución para las imágenes cortadas */
.product-card .card-img-top {
  height: 250px;
  object-fit: contain; /* Esto asegura que la imagen se muestre completa */
  padding: 15px;
  background-color: #f8f9fa;
}

.product-card .card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.product-card .card-text {
  color: #6c757d;
  margin-bottom: 15px;
}

.product-card .badge {
  font-size: 0.75rem;
  padding: 5px 10px;
  font-weight: 500;
}

.product-card .card-footer {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Estilos para la página de detalle del producto */
.product-detail-img {
  max-height: 400px;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 20px;
}

.product-features {
  margin-bottom: 30px;
}

.product-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.product-features li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #0d6efd;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.quantity-selector .btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.quantity-selector input {
  width: 60px;
  text-align: center;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
}

.related-products {
  margin-top: 50px;
}
