/* app/static/css/productos.css */

/* ====================== */
/* TARJETA DE PRODUCTO - ESTILO TACA-TACA */
/* ====================== */
.producto-card-moderno {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 5px solid var(--taca-navy);
  box-shadow: 0 6px 20px rgba(10, 31, 68, 0.07);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.producto-card-moderno:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 31, 68, 0.15);
  border-top-color: var(--taca-red);
}

/* Contenedor de imagen */
.producto-img-container {
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 230px;
  padding: 20px;
  border-bottom: 1px solid #f1f1f1;
}

.producto-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.producto-card-moderno:hover .producto-img {
  transform: scale(1.08);
}

/* Info del producto */
.producto-info {
  padding: 1.25rem 1.5rem;
}

.producto-nombre {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.producto-link {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.producto-link:hover {
  color: var(--taca-navy);
}

/* Footer (precio + botón) */
.producto-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f1f1;
}

/* Botón carrito */
.btn-add-to-cart {
  background-color: var(--taca-navy);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
  background-color: var(--taca-red);
  transform: scale(1.1);
}

/* Badge de oferta */
.badge.bg-danger {
  font-size: 0.75rem;
  font-weight: 700;
}