/* catalogo */

#main .imagen-principal{
    text-align: center;
}

#main .imagen-principal img{
    max-height: 350px; 
    width: auto; 
    cursor: pointer;
}

#main h1 {
    text-align: center; 
    margin-top: 40px;
    text-transform: uppercase;
    font-weight: 800;
}

#main h4 {
    text-align: center;
    margin-bottom: 30px;
}

#main h5 {
    font-weight: 700;
}

#main .info p{
    font-size: 0.8em;
    margin-bottom: 0.5px;
    color: #807e7e;
}

#main .synopse {
    font-size: 17px;
    text-align: justify;
}

#main .muestra {
    justify-items: right;
    text-decoration: none;
    color: #807e7e;
    font-weight: bold;
    cursor: pointer;
}

.miniaturas {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
  }
  
.miniaturas img {
    width: 60px;
    margin: 10px 10px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.6;
}

.miniaturas img:hover {
    transform: scale(1.1);
}

.miniaturas img.activa {
    opacity: 1;
}

/* modal */

.modal-content {
    border-radius: 10px;
}

.modal-footer {
    background-color: #f8f9fa;
}

/* Botones */

#btn-reserva {
    background-color: #222;
    border-color: #222;
    color: #ffffff;
    letter-spacing: 0.3px;
}

#btn-reserva:hover {
    background-color: #000;
    border-color: #000;
    transform: scale(1.05);
}

#btn-muestra {
    background-color: transparent;
    border: 1px solid #555;
    color: #222;
}

#btn-muestra:hover {
    background-color: #f2f2f2;
    border-color: #222;
    color: #000;
    transform: scale(1.05);
}

#btn-ebook {
    background-color: #f5f5f5;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* Loader */

.loader {
  width: 30px;
  height: 30px;
  border: 4px solid #ccc;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reseñas de Goodreads */
  #goodreads-widget {
    padding: 18px 0;
  }

  iframe{
    width:100%;
  }

  .gr_review_by{
    color:#000;
  }
  #goodreads-widget a {
    text-decoration: none;
    color:#555;
  }
  #goodreads-widget a:hover { text-decoration: underline; }
  #goodreads-widget .gr_branding{
    color: #ccc;
    font-size: 15px;
    text-decoration: none;
  }
