.book {
  margin-top: 60px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 60px var(--hero-gutter);
  gap: clamp(20px, 3vw, 40px);
  margin: auto;
}

.book-hero {
  text-align: center;
  padding: 48px 16px 24px;
  margin: 0 auto;
}

.book-hero h1 {
  margin: 0;
  text-align: center;
  color: #594a47;
  font-family: 'Noto Serif Display', serif;
  line-height: 1.1;
  font-weight: 400;
  font-size: clamp(36px, 3vw, 46px);
}

.book-title {
  display: none;
}


/* Kolumna: kolejność */
.book-order {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-number {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: bold;
  color: #594a47;
  font-family: 'Majesty', serif;
}


/* Kolumna: zdjęcie i gatunek */
.book-left {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.book-left img {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.book-genre {
  font-family: 'Majesty', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  color: #594a47;
}

/* Kolumna: tytuł, opis i przyciski */
.book-right {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2vw, 30px);
  text-align: center;
  align-items: center;
}

.book-right h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  margin: 0;
  color: #594a47;
}

.book-description {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
  color: #594a47;
}

.book-btn {
  align-self: flex-start;
  padding: 20px 40px;
  background-color: #73876e;
  color: #fafafa;
  text-decoration: none;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  align-self: center;
  width: clamp(280px, 22vw, 390px);
  border: 2px solid #73876e;
  text-align: center;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.chapter-btn {
  background-color: transparent;
  border: 2px solid #73876e;
  color: #73876e;
}


.book-btn:hover {
  background-color: #476a58;
  box-shadow: 0 8px 14px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.chapter-btn:hover {
  background-color: transparent;
  border: 2px solid #476a58;
  color: #476a58;
}


@media (max-width: 768px) {
  .book {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 30px;
    gap: 20px;
  }

  .book-title {
    display: block;
    font-size: clamp(40px, 6vw, 4rem);
    text-align: center;
    color: #594a47;
    font-family: 'Noto Serif Display', serif;
    font-style: italic;
    line-height: 1.1;
    font-weight: 400;
  }

  .book-btn {
    padding: 15px 20px;
  }

  .book-order {
    order: 1;
  }

  .book-left {
    order: 2;
  }

  .book-right {
    order: 3;
    align-items: center;
  }

  .book-left img {
    width: 100%;
    max-width: 360px;
  }

  .book-btn {
    align-self: center;
  }
}


