 /* Tarjetas de producto */
    .product-card {
      background: #fff;
      border-radius: 15px;
      padding: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      text-align: center;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .product-card img {
      max-height: 140px;
      object-fit: contain;
      margin-bottom: 10px;
      width: 100%;
    }
    .product-title {
      font-size: 0.95rem;
      font-weight: 500;
      min-height: 40px;
    }
    .price {
      font-size: 1rem;
      font-weight: bold;
    }

    /* Controles de cantidad */
    .qty {
      display: flex;
      align-items: center;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
    }
    .qty button {
      border: none;
      background: #f8f9fa;
      width: 32px;
      height: 32px;
      font-weight: bold;
    }
    .qty input {
      border: none;
      width: 40px;
      text-align: center;
    }

    /* Barra inferior */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #fff;
      border-top: 1px solid #ddd;
      display: flex;
      justify-content: space-around;
      padding: 6px 0;
      z-index: 1050;
    }
    .bottom-nav a {
      text-decoration: none;
      font-size: 0.8rem;
      color: #555;
      text-align: center;
      flex: 1;
    }
    .bottom-nav a.active {
      color: #0d6efd;
      font-weight: bold;
    }

    /* Ajustes móviles */
    @media (max-width: 768px) {
      .product-card img {
        max-height: 110px;
      }
    }




    /* Contenedor cantidad + botón */
.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  gap: 10px;
}

/* En móviles, se apilan en columna */
@media (max-width: 768px) {
  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn-add {
    width: 100%;   /* Botón ocupa todo el ancho */
    margin-top: 8px;
  }
}



