body {
  font-family: "kanit";
  margin: 0;
  background: #f7f7f7;
  min-height: 1500px !important;
}

.carousel-section {
  margin: 0 auto;
  max-width: 1200px;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}

.carousel-header h2 {
  font-size: 1.5rem;
  color: #2c3e50;
}

.carousel-wrapper {
  position: relative;

}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2.5rem;
  padding: 1rem 0;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 170px; /* mesmo tamanho do card */
}

.carousel-card {
  position: relative;
  flex: 0 0 auto;

  width: 170px;
  background: white;
  border-radius: 8px;
  padding: 0px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: center;
  font-size: 14px;
  display: flex;
  align-items: flex-end;
}

.carousel-card img {
  width: 100%;

  object-fit: cover;
  border-radius: 6px;
}

.carousel-card:hover {
  transform: translateY(-5px);
}

.carousel-info {
  margin-top: 0.5rem;
  font-size: 14px;
  color: #333;
}

.book-title {
  font-weight: bold;
}

.book-rating 
{
  font-size: large;
  color: #f39c12; 
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.carousel-button.left {
  left: 0;
}

.carousel-button.right {
  right: 0;
}

.carousel-button[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.menu-container {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

.menu-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.menu-options {
  display: none;
  position: absolute;
  top: 25px;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 30;
  min-width: 100px;
}

.menu-options div {
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
}

.menu-options div:hover {
  background-color: #f0f0f0;
}

.list-section {
  margin: 0 auto;
  max-width: 1200px;
}
        
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
}
        
.list-wrapper {
  position: relative;
}
        
.list-track {
  display: flex;
  justify-content: center;
  overflow-x: none;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding: 1rem 0;
  scrollbar-width: none;
}