/* Keep the cover and description stacked until both columns have room. */
.profile-page #book .book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.profile-page #book .book-cover-wrap {
  justify-self: center;
  max-width: 100%;
}

.profile-page #book .book-cover-img {
  display: block;
  width: 176px;
}

.profile-page #book .book-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.profile-page #book .book-retailers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.profile-page #book .book-retailers .button {
  min-height: 44px;
}

@media (max-width: 767px) {
  .profile-page #book > .product-card { padding: clamp(18px, 5vw, 28px) !important; }
  .profile-page #book .book-quote-box { margin-top: 0; padding: 16px; }
}

@media (min-width: 390px) {
  .profile-page #book .book-retailers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .profile-page #book .book-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .profile-page #book .book-cover-img { width: 260px; }
  .profile-page #book .book-retailers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
