/* detalleLibro.css*/

/* ===== BOTÓN PDF ===== */
.btn-pdf {
  display: inline-flex; /* Ocupa todo el ancho */
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  /* width: 100%; Ocupa todo el ancho del contenedor */
  padding: 0.75rem 1.5rem; 
  background-color: var(--color-accent, #C2410C);
  color: #ffffff;
  
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.15s, transform 0.1s;
  cursor: pointer;
  font-family: inherit;

  margin: 0 auto;
}

.btn-pdf:hover {
  background-color: var(--color-accent-hover, #9a3412);
  transform: translateY(-2px);
}

.btn-pdf:focus-visible {
  outline: 3px solid var(--color-accent, #c2410c);
  outline-offset: 3px;
}

.btn-pdf .icono {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  color: currentColor;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .btn-pdf {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }
}