.book-preview-stack {
  grid-area: preview;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}

.chapter-sample-toggle {
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
  gap: 8px;
  height: 44px;
  flex-shrink: 0;
}

.chapter-sample-toggle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.chapter-sample-toggle [hidden] {
  display: none;
}

.chapter-sample-label {
  min-width: 0;
}

.chapter-sample-toggle:hover,
.chapter-sample-toggle[aria-pressed="true"] {
  background: #000000;
  color: #f5b3cc;
}

.chapter-sample-toggle:focus-visible,
.book-retail-art:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 4px;
}

.chapter-sample-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.book-retail-art {
  display: block;
  width: 100%;
  max-width: 448px;
  margin: 12px auto 0;
}

.book-retail-art img {
  display: block;
  width: 100%;
  height: auto;
}

.book-preview-stack .book-retail-art {
  max-width: none;
}

.book-retail-banner {
  max-width: 728px;
}

@media (max-width: 860px) {
  .chapter-sample-toggle {
    gap: 4px;
  }

  .chapter-sample-toggle svg {
    width: 12px;
    height: 12px;
  }
}
