body {
  font-family: system-ui, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

.producto-container {
  display: flex;
  max-width: 1000px;
  margin: 3rem auto;
  gap: 2rem;
  padding: 0 1rem;
}

.producto-imagen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.producto-imagen img {
  max-width: 100%;
  border-radius: 12px;
}

.producto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.producto-info h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.producto-info .descripcion {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.producto-info .precio {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ff0000;
}

.cantidad {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cantidad button {
  background-color: #111;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.2rem;
}

.cantidad input {
  width: 60px;
  text-align: center;
  margin: 0 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: #000;
  color: #fff;
}

.add-carrito {
  background-color: #ff0000;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.add-carrito:hover {
  background-color: #cc0000;
}

/* Responsive */
@media (max-width: 800px) {
  .producto-container {
    flex-direction: column;
  }
  .producto-imagen, .producto-info {
    flex: unset;
    width: 100%;
  }
}
.producto-info .subcard-text {
  color: #ccc;
  line-height: 1.5;   /* ajusta el espacio entre líneas */
  margin-bottom: 1.5rem;
}
.producto-info .garantia {
  color: #ff4444;       /* rojo destacado */
  font-size: 0.95rem;   /* ligeramente más pequeño que la descripción */
  line-height: 1.4;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;     /* opcional para dar más énfasis */
}
.boton-compra {
  text-align: center;
  margin-top: 20px;
}
.add-carrito {
  display: inline-block;
  padding: 12px 24px;
  background-color: #222; /* fondo oscuro */
  color: #fff; /* texto blanco */
  text-decoration: none; /* quita el subrayado */
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.add-carrito:hover {
  background-color: #444; /* efecto hover */
}
/* Contenedor del botón de Payhip para centrarlo */
.payhip-buy-button-container {
    display: flex !important;
    justify-content: center !important;
    margin: 2rem 0 !important; /* Espacio arriba y abajo del botón */
}

/* Estilos para el botón de Payhip y centrar su texto */
a.payhip-buy-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 200px !important; /* Ancho mínimo para que no se vea pequeño */
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 0 !important; /* Bordes cuadrados para coincidir con tu estilo */
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    background-color: #0a0a0a !important; /* Fondo negro */
    color: #f5f5f5 !important; /* Texto blanco */

    /* Estilos al pasar el ratón */
    &:hover {
        background-color: #333 !important;
        color: #fff !important;
    }
}