
/* HEADER */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.books-header {
  max-width: 1200px;
  margin: auto;
  font-size: 16px;
  color: #edf0f4;
  margin-bottom: 20px;
  margin-top: 20px;
}

/* GRID */

.books-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

/* CARD */

.book-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  transition: .2s;
}

.book-card:hover {
  transform: translateY(-6px);
}

/* IMAGE */

.book-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* BODY */

.book-body {
  padding: 20px;
}

.tag {
  display: inline-block;
  background: #fff3e8;
  color: #ff7a00;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.tag-blue {
  background: #e8f0ff;
  color: #2563eb;
}

.book-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #111827;
}

.desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

.author,
.pages {
  font-size: 13px;
  color: #374151;
  margin-bottom: 6px;
}

/* RATING */

.rating {
  font-size: 14px;
  color: #f59e0b;
  margin: 10px 0;
}

.rating span {
  color: #6b7280;
  margin-left: 6px;
}

/* FORMATS */

.formats {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.formats span {
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* PRICE */

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-row small {
  font-size: 12px;
  color: #6b7280;
}

.price-row strong {
  font-size: 18px;
  color: #ff7a00;
}

/* BUTTON */

button {
  background: linear-gradient(45deg, #ff7a00, #ff3c00);
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: .2s;
}

button:hover {
  opacity: .9;
}

/* RESPONSIVO */


@media (max-width: 600px) {
  .book-image {
    height: 180px;
  }
}

.books-benefits-section {
  display: flex;
  margin-top: 80px;
  justify-content: center;
}

/* BOX */

.books-benefits-box {
  max-width: 1100px;
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  padding: 50px 40px 60px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  border: 2px solid #ffd1a6;
  text-align: center;
  margin-bottom: 20px;
}

/* TITLE */

.books-benefits-box h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111827;
}

/* GRID */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* ITEM */

.benefit-item {
  padding: 10px 20px;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  border-radius: 50%;
  background: #fff1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ff7a00;
  margin-bottom: 16px;
}

/* TEXT */

.benefit-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #111827;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

/* RESPONSIVO */

@media (max-width: 768px) {

  .books-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .book-card {
    border-radius: 14px;
  }

  .book-body {
    padding: 14px;
  }

}

