/* ==========================================================================
   ESTILOS ADICIONALES PARA BOTONES DE CARRITO EN PRODUCTOS.HTML
   ========================================================================== */

/* Sobrescribir product-footer para incluir botón */
.product-card .product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  flex-wrap: wrap;
}

/* Botón agregar al carrito en productos */
.product-card .btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
  text-decoration: none;
}

.product-card .btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.product-card .btn-add-to-cart:active {
  transform: translateY(0);
}

.product-card .btn-add-to-cart i {
  font-size: 1rem;
}

/* Product CTA original (Ver más) - Mantener pero ajustar */
.product-card .product-cta {
  font-size: 0.85rem;
  padding: 6px 12px;
}

/* ==========================================================================
   BOTÓN VER PRODUCTO - Para Máquinas
   ========================================================================== */
.product-card .btn-ver-producto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #6B1B00;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(107, 27, 0, 0.35);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 5;
}

.product-card .btn-ver-producto::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.product-card .btn-ver-producto:hover::before {
  left: 100%;
}

.product-card .btn-ver-producto:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(107, 27, 0, 0.45);
  background: #4A1200;
}

.product-card .btn-ver-producto:active {
  transform: translateY(-1px);
}

.product-card .btn-ver-producto i {
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .product-card .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card .btn-add-to-cart {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }

  .product-card .product-price {
    text-align: center;
    width: 100%;
  }
}
