

.book-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  background: #fafafa;
  max-width2: 900px;
  font-family: "Segoe UI", Arial, sans-serif;
  margin-bottom: 32px;
}

.book-description {
  grid-column: 1 / -1; /* ВАЖНО */
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

.book-cover img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}


.book-content {
  display: flex;
  flex-direction: column;
}

.book-title {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 6px;
}

.book-author {
  font-size: 17px;
  color: #555;
  margin-bottom: 12px;
}

.book-meta {
  color: #666;
  margin-bottom: 14px;
}

.book-meta span {
  display: inline-block;
  margin-right: 12px;
}



.book-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
}

.price-label {
  font-weight: normal;
  color: #666;
  margin-right: 6px;
}

.price-value {
  font-weight: 600;
  font-weight: 500;
  color: #8b0000;
}

.book-price {
  font-size: 18px;
  font-weight: 500;
  color: #8b0000;
}

.book-link {
  padding: 10px 18px;
  border: 1px solid #333;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  font-size: 14px;
  transition: all .2s ease;
}

.book-link:hover {
  background: #333;
  color: #fff;
}

@media (max-width: 720px) {
  .book-card {
    grid-template-columns: 1fr;
  }
}


.book-where {
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.book-where-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.book-where-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.book-where-list a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px dotted #999;
}

.book-where-list a:hover {
  border-bottom-color: #333;
}


