/* Estilos principais */
html {
  font-family: Montserrat, sans-serif;
}

.container {
  display: flex;
  width: 100%;
  max-width: 1475px;
  margin: 0 auto;
}

.box-titulo {
  padding: 15px 40px;
  box-sizing: border-box;
}

.encartes-container {
  background: #f9f9f9;
}

.encartes-cards {
  display: grid;
  place-content: center;
  grid-template-columns: repeat(auto-fill, 325px);
  gap: 30px;
  padding: 20px 40px 80px 40px;
  width: 100%;
}

.encartes-cards .df-book-cover img,
.encartes-cards .df-book-cover picture {
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.encarte-item {
  background: #fff;
  border-radius: 4px;
  text-align: center;
  padding-bottom: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 350px;
}

.encarte-item h2 {
  font-size: 20px;
  font-weight: 700;
  padding: 0 8px;
}

.encarte-item button {
  background: #0069b4;
  color: #fff;
  border: none;
  padding: 14px 60px;
  border-radius: 8px;
  cursor: pointer;
}

.encarte-item button:hover {
  background: #005a9c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.encarte-item .df-popup-thumb {
  width: 80% !important;
}

.df-bg,
.df-lightbox-bg {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.df-loading-info {
  display: none !important;
}

.encarte-item .df-book-cover span {
  display: none;
}

.scroll-warning {
  display: none;
}

@media (max-width: 769px) {
  .scroll-warning {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0069b4;
    color: #fff;
    text-align: center;
    padding: 12px;
    font-size: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .arrow-down {
    display: inline-block;
    animation: bounceDown 1s infinite;
    font-size: 18px;
  }

  @keyframes bounceDown {
    0% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(5px);
    }

    100% {
      transform: translateY(0);
    }
  }
}
