/* =========================================================
   LOQUIERO — SINGLE PRODUCT · BUYFLOW
   Archivo: buyflow.css (o equivalente)
   Objetivo:
   - Ocultar cantidad (solo 1 unidad)
   - Normalizar paddings
   - Reestilizar botón nativo de Woo
   ========================================================= */


/* =========================================================
   1. OCULTAR SELECTOR DE CANTIDAD
   ---------------------------------------------------------
   En LoQuiero vendemos 1 unidad por producto.
   Ocultamos:
   - input puntual (Woo genera IDs dinámicos)
   - contenedor .quantity por seguridad
   ========================================================= */

/* Input puntual generado por Woo */
input#quantity_6985503651b77 {
  display: none;
}

/* Contenedor general de cantidad */
.quantity {
  display: none !important;
}


/* =========================================================
   2. AJUSTES DE LAYOUT — VARIACIONES
   ---------------------------------------------------------
   Padding lateral consistente para:
   - selector de variaciones
   - botón comprar
   ========================================================= */




/* =========================================================
   3. BUYFLOW RESET
   ---------------------------------------------------------
   Normalizamos box-model SOLO dentro del buyflow
   para evitar conflictos con estilos globales
   ========================================================= */

.lqsp-buyflow * {
  box-sizing: border-box;
}


/* =========================================================
   4. BOTONES DE COMPRA — SKIN LOQUIERO
   ---------------------------------------------------------
   .lq-btn-buy-now (P): Comprar ahora (Negro)
   .single_add_to_cart_button (S): Agregar al carrito (Gris)
   ========================================================= */

.lqsp-buyflow .button,
.lqsp-buyflow .lq-btn-buy-now,
.lqsp-buyflow .single_add_to_cart_button {
  /* --- Reset visual --- */
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;

  /* --- Layout --- */
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 58px !important; /* Ligeramente más alto */

  /* --- Estilo visual --- */
  border-radius: 18px !important; /* Radio más suave Apple */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Tipografía --- */
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  text-decoration: none !important;
}

/* BOTÓN PRIMARIO: Comprar ahora */
.lqsp-buyflow .lq-btn-buy-now {
  background-color: #000000 !important;
  color: #ffffff !important;
  margin-bottom: 0 !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* BOTÓN SECUNDARIO: Añadir al carrito (Convertido en Link Sutil) */
.lqsp-buyflow .lq-btn-add-cart {
  background-color: transparent !important;
  color: #86868b !important; /* Gris Apple */
  border: none !important;
  height: auto !important;
  margin-top: 15px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.lqsp-buyflow .lq-btn-add-cart:hover {
  background-color: transparent !important;
  color: #1d1d1f !important;
  text-decoration: underline !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ESTADOS */
.lqsp-buyflow .button:hover,
.lqsp-buyflow .lq-btn-buy-now:hover,
.lqsp-buyflow .single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Hover específico para el primario */
.lqsp-buyflow .lq-btn-buy-now:hover {
  background-color: #333333 !important;
}

/* Hover específico para el ghost */
.lqsp-buyflow .single_add_to_cart_button:hover {
  background-color: #f8f9fa !important;
}

.lqsp-buyflow .button:active,
.lqsp-buyflow .lq-btn-buy-now:active,
.lqsp-buyflow .single_add_to_cart_button:active {
  transform: translateY(0);
}

.lqsp-buyflow .button:disabled,
.lqsp-buyflow .lq-btn-buy-now:disabled,
.lqsp-buyflow .single_add_to_cart_button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* =========================================================
   6. ESPACIADO FINAL DEL BLOQUE DE COMPRA
   ---------------------------------------------------------
   Separación visual entre:
   - métodos de pago
   - botón comprar
   ========================================================= */

.lqsp-buyflow .woocommerce-variation-add-to-cart {
  margin-top: 0;
}