.books-catalogue-body {
  --catalogue-paper: #f7f4ec;
  --catalogue-surface: #fffdf8;
  --catalogue-muted: rgba(7, 20, 33, 0.64);
  --catalogue-faint: rgba(7, 20, 33, 0.1);
  --catalogue-filter-width: 17.75rem;
  --catalogue-ring:
    0 0 0 1px rgba(7, 20, 33, 0.07),
    0 1px 2px -1px rgba(7, 20, 33, 0.08),
    0 14px 34px -28px rgba(7, 20, 33, 0.32);
  --catalogue-ring-hover:
    0 0 0 1px rgba(142, 31, 47, 0.16),
    0 8px 26px -24px rgba(7, 20, 33, 0.48),
    0 20px 44px -32px rgba(142, 31, 47, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(247, 244, 236, 0)),
    var(--catalogue-paper);
}

.books-catalogue-body.book-detail-body {
  --container: 1320px;
}

.books-catalogue-body .primary-nav .books-menu-trigger.is-active {
  color: var(--red);
  background: rgba(142, 31, 47, 0.07);
  box-shadow: inset 0 -2px 0 rgba(142, 31, 47, 0.72);
}

.books-page-main {
  padding-top: var(--header-height);
}

.books-page-hero {
  color: var(--navy);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 244, 236, 0.94)),
    var(--catalogue-paper);
  box-shadow: inset 0 -1px 0 rgba(7, 20, 33, 0.08);
}

.books-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding-block: clamp(2.4rem, 6vw, 5rem) clamp(2.2rem, 4vw, 3.7rem);
}

.books-page-copy {
  display: grid;
  max-width: 62rem;
  gap: 0.85rem;
}

.books-back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  width: fit-content;
  color: rgba(7, 20, 33, 0.62);
  font-size: 0.84rem;
  font-weight: 820;
  transition-property: color, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.books-back-link:hover,
.books-back-link:focus-visible {
  color: var(--red);
  transform: translateX(-2px);
}

.books-page-copy h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-listing-title-size);
  font-weight: 720;
  letter-spacing: 0;
  line-height: var(--type-listing-title-line);
  text-wrap: balance;
}

.books-page-copy p:not(.section-label) {
  max-width: 58ch;
  margin: 0;
  color: rgba(7, 20, 33, 0.68);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.books-active-summary {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
  background: rgba(255, 253, 248, 0.68);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.books-active-summary span {
  color: rgba(7, 20, 33, 0.5);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.books-active-summary strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.08;
  text-wrap: balance;
}

.books-active-summary p {
  margin: 0;
  color: rgba(7, 20, 33, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.books-catalogue-section {
  padding: clamp(1.8rem, 4vw, 3.3rem) 0 clamp(4rem, 7vw, 6rem);
}

.books-catalogue-shell {
  display: grid;
  grid-template-columns: minmax(16rem, var(--catalogue-filter-width)) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.6vw, 2.1rem);
  align-items: start;
}

.catalogue-filter-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  z-index: 20;
  display: grid;
  width: auto;
  max-height: calc(100dvh - var(--header-height) - 2rem);
  gap: 1rem;
  align-self: start;
  overflow: auto;
  padding: clamp(0.95rem, 1.2vw, 1.1rem);
  background: rgba(255, 253, 248, 0.76);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.catalogue-mobile-filter-button,
.catalogue-filter-overlay,
.filter-sheet-close,
.filter-apply-button {
  display: none;
}

.filter-sheet-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.filter-sheet-close {
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.78);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(7, 20, 33, 0.12);
  transition:
    color 180ms var(--ease-premium),
    background-color 180ms var(--ease-premium),
    transform 180ms var(--ease-premium);
}

.filter-sheet-close svg,
.catalogue-mobile-filter-button svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.filter-sheet-close:hover,
.filter-sheet-close:focus-visible {
  color: var(--white);
  background: var(--red);
}

.filter-sheet-close:active {
  transform: scale(0.96);
}

.filter-sheet-actions {
  display: grid;
  gap: 0.55rem;
}

.filter-panel-group {
  display: grid;
  gap: 0.38rem;
  max-width: none;
}

.filter-panel-group h2,
.catalogue-toolbar h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-results-title-size);
  line-height: var(--type-results-title-line);
  text-wrap: balance;
}

.filter-panel-group p,
.catalogue-toolbar p,
.catalogue-status-bar p {
  margin: 0;
  color: var(--catalogue-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.catalogue-filter-panel .filter-panel-group h2 {
  font-size: var(--type-filter-title-size);
  line-height: var(--type-filter-title-line);
}

.catalogue-filter-panel .filter-panel-group p {
  font-size: 0.84rem;
}

.collection-tabs,
.subject-filter-list {
  display: grid;
  min-inline-size: 0;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.collection-tabs legend,
.subject-filter-list legend {
  margin-bottom: 0.12rem;
  color: rgba(7, 20, 33, 0.54);
  font-size: 0.74rem;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.collection-tabs button,
.subject-filter-list button,
.catalogue-reset-button {
  min-height: 40px;
  width: 100%;
  padding: 0.62rem 0.82rem;
  color: rgba(7, 20, 33, 0.76);
  background: rgba(255, 255, 255, 0.54);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 0 0 1px rgba(7, 20, 33, 0.1);
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.2;
  text-align: left;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.collection-tabs button,
.subject-filter-list button {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
}

.filter-label {
  min-width: 0;
}

.filter-count {
  display: inline-flex;
  min-width: 1.65rem;
  min-height: 1.55rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 0.42rem;
  color: rgba(7, 20, 33, 0.62);
  background: rgba(7, 20, 33, 0.06);
  border-radius: 999px;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  font-weight: 880;
}

.collection-tabs button.is-selected .filter-count,
.subject-filter-list button.is-selected .filter-count {
  color: var(--navy);
  background: var(--gold);
}

.collection-tabs button {
  padding-inline: 1rem;
}

.subject-filter-list button {
  justify-self: stretch;
}

.collection-tabs button:hover,
.collection-tabs button:focus-visible,
.subject-filter-list button:hover,
.subject-filter-list button:focus-visible {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(142, 31, 47, 0.22),
    0 8px 18px -16px rgba(7, 20, 33, 0.36);
}

.collection-tabs button.is-selected,
.subject-filter-list button.is-selected {
  color: var(--white);
  background: var(--navy);
  box-shadow:
    inset 0 -3px 0 var(--gold),
    0 14px 28px -22px rgba(7, 20, 33, 0.5);
}

.collection-tabs button:active,
.subject-filter-list button:active,
.catalogue-reset-button:active,
.catalogue-card-actions .button:active {
  transform: scale(0.96);
}

.catalogue-reset-button {
  color: var(--red);
  background: transparent;
  text-align: center;
}

.catalogue-reset-button:hover,
.catalogue-reset-button:focus-visible {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 30px -24px rgba(142, 31, 47, 0.6);
}

.catalogue-results-panel {
  grid-column: 2;
  min-width: 0;
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(13rem, 0.52fr) minmax(22rem, 1fr) minmax(10rem, 0.28fr);
  gap: 1rem;
  align-items: end;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid rgba(7, 20, 33, 0.1);
}

.catalogue-toolbar-heading {
  display: grid;
  gap: 0.35rem;
}

.books-search-form {
  display: grid;
  gap: 0.45rem;
}

.books-search-form label,
.sort-control label {
  color: rgba(7, 20, 33, 0.62);
  font-size: 0.76rem;
  font-weight: 860;
}

.books-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.55rem;
}

.books-search-row input,
.sort-control select {
  min-height: 44px;
  width: 100%;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.82);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 0 0 1px rgba(7, 20, 33, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.68);
}

.books-search-row input {
  padding: 0.74rem 0.85rem;
}

.books-search-row input::placeholder {
  color: rgba(7, 20, 33, 0.48);
}

.catalogue-clear-search {
  min-height: 44px;
  color: var(--red);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: inset 0 0 0 1px rgba(142, 31, 47, 0.18);
}

.catalogue-clear-search[hidden] {
  display: none;
}

.catalogue-clear-search:hover,
.catalogue-clear-search:focus-visible {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 28px -24px rgba(142, 31, 47, 0.62);
}

.sort-control {
  display: grid;
  gap: 0.45rem;
}

.sort-control select {
  padding: 0.74rem 0.85rem;
}

.catalogue-status-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin: 1rem 0 clamp(1.3rem, 3vw, 2rem);
}

.catalogue-active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.55rem 0 clamp(1.2rem, 2.4vw, 1.65rem);
}

.catalogue-active-chips[hidden] {
  display: none;
}

.active-filter-chip {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 0.56rem;
  padding: 0.46rem 0.68rem;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.88);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 0 0 1px rgba(7, 20, 33, 0.11),
    0 10px 22px -20px rgba(7, 20, 33, 0.24);
  font-size: 0.78rem;
  font-weight: 840;
  line-height: 1.2;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.active-filter-chip-remove {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
}

.active-filter-chip:hover,
.active-filter-chip:focus-visible {
  background: var(--catalogue-surface);
  box-shadow:
    inset 0 0 0 1px rgba(142, 31, 47, 0.24),
    0 14px 24px -20px rgba(7, 20, 33, 0.34);
}

.active-filter-chip:active {
  transform: scale(0.97);
}

.catalogue-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1.25rem, 2.3vw, 2rem);
  align-items: stretch;
}

.catalogue-loading {
  margin: 0;
  padding: 2rem;
  color: rgba(7, 20, 33, 0.68);
  background: rgba(255, 253, 248, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.catalogue-book-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  background: var(--catalogue-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
  transition-property: box-shadow, transform;
  transition-duration: 220ms;
  transition-timing-function: var(--ease-premium);
}

.catalogue-book-card:hover,
.catalogue-book-card:focus-within {
  box-shadow: var(--catalogue-ring-hover);
  transform: translateY(-3px);
}

.catalogue-cover-link {
  display: block;
  padding: 0.82rem 0.82rem 0.32rem;
}

.catalogue-cover-frame {
  position: relative;
  display: grid;
  aspect-ratio: 15 / 22;
  place-items: center;
  overflow: hidden;
  background: transparent;
  border-radius: var(--radius-sm);
}

.catalogue-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  box-shadow: 0 24px 44px -28px rgba(7, 20, 33, 0.72);
  transition-property: transform, filter;
  transition-duration: 240ms;
  transition-timing-function: var(--ease-premium);
}

.catalogue-book-card:hover .catalogue-cover-frame img,
.catalogue-book-card:focus-within .catalogue-cover-frame img {
  filter: saturate(1.03) contrast(1.02);
  transform: translateY(-2px) scale(1.018);
}

.catalogue-cover-frame.is-missing {
  padding: 1rem;
  color: var(--navy);
  text-align: center;
}

.cover-fallback-title {
  max-width: 16ch;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 720;
  line-height: 1.12;
  text-wrap: balance;
}

.catalogue-book-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem 1rem;
}

.catalogue-book-category {
  width: fit-content;
  margin: 0;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 880;
  line-height: 1.15;
}

.catalogue-book-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-card-title-size);
  line-height: var(--type-card-title-line);
  text-wrap: balance;
}

.catalogue-book-card h3 a {
  transition-property: color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.catalogue-book-card h3 a:hover,
.catalogue-book-card h3 a:focus-visible {
  color: var(--red);
}

.catalogue-book-contributors,
.catalogue-book-detail-line,
.catalogue-subject-line,
.catalogue-price-block {
  margin: 0;
}

.catalogue-book-contributors {
  color: rgba(7, 20, 33, 0.64);
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.4;
  text-wrap: pretty;
}

.catalogue-book-detail-line,
.catalogue-subject-line {
  color: rgba(7, 20, 33, 0.55);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  line-height: 1.38;
}

.catalogue-commerce-row {
  display: grid;
  gap: 0.72rem;
  margin-top: auto;
  padding-top: 0.78rem;
}

.catalogue-price-block {
  display: flex;
  min-height: 1.25rem;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.3rem 0.52rem;
  align-items: baseline;
}

.catalogue-price {
  color: var(--navy);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.catalogue-list-price {
  color: rgba(7, 20, 33, 0.45);
  font-size: 0.8rem;
  text-decoration: line-through;
}

.catalogue-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 0.5rem;
}

.catalogue-card-actions .button {
  min-height: 42px;
  padding-inline: 0.72rem;
  font-size: 0.8rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.catalogue-view-button {
  box-shadow: 0 14px 28px -20px rgba(142, 31, 47, 0.46);
}

.catalogue-source-button {
  color: var(--navy);
  background: rgba(255, 253, 248, 0.7);
}

.catalogue-source-button:hover,
.catalogue-source-button:focus-visible {
  color: var(--red);
  background: var(--catalogue-surface);
  box-shadow:
    inset 0 0 0 1px rgba(142, 31, 47, 0.22),
    0 14px 26px -24px rgba(7, 20, 33, 0.42);
}

.catalogue-empty-state {
  margin-top: 1rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  background: rgba(255, 253, 248, 0.86);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
  text-align: center;
}

.catalogue-empty-state h3 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-subsection-title-size);
  line-height: var(--type-subsection-title-line);
}

.catalogue-empty-state p,
.catalogue-enquiry-status {
  margin: 0;
  color: rgba(7, 20, 33, 0.66);
}

.catalogue-empty-state .button {
  margin-top: 1rem;
}

.catalogue-enquiry-status {
  min-height: 1.45rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 760;
}

.noscript-catalogue {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 24rem;
  padding: 0.9rem 1rem;
  color: var(--white);
  background: var(--red);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 46px rgba(7, 20, 33, 0.2);
}

.book-detail-main {
  padding-top: var(--header-height);
}

.book-detail-body .site-header .primary-nav > a {
  min-width: var(--nav-tab-min-width);
}

.book-detail-body .books-back-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
}

.book-detail-body .site-footer nav a,
.book-detail-body .footer-contact-compact a {
  min-height: 40px;
}

.book-product {
  color: var(--navy);
}

.product-hero-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.97), rgba(247, 244, 236, 0.94)),
    var(--catalogue-paper);
  box-shadow: inset 0 -1px 0 rgba(7, 20, 33, 0.08);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.74fr) minmax(0, 1.22fr) minmax(19rem, 0.86fr);
  gap: clamp(1.4rem, 4vw, 3.6rem);
  align-items: start;
  padding-block: clamp(1.8rem, 5vw, 4.8rem);
}

.product-cover-column,
.product-copy-column,
.purchase-panel {
  min-width: 0;
}

.product-cover-column {
  display: grid;
  gap: 1rem;
}

.product-cover-frame {
  display: grid;
  aspect-ratio: 0.72;
  place-items: center;
  margin: 0;
  padding: clamp(1rem, 2vw, 1.35rem);
  background:
    linear-gradient(145deg, rgba(7, 20, 33, 0.08), rgba(185, 154, 88, 0.12)),
    rgba(255, 253, 248, 0.74);
  border-radius: var(--radius-md);
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.07),
    0 28px 70px -44px rgba(7, 20, 33, 0.62);
}

.product-cover-frame img {
  width: min(82%, 18rem);
  max-height: 94%;
  object-fit: contain;
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  box-shadow: 0 26px 54px -30px rgba(7, 20, 33, 0.76);
}

.product-cover-fallback {
  display: grid;
  min-height: 18rem;
  place-items: center;
  padding: 1.2rem;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.8);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 720;
  line-height: 1.1;
  text-align: center;
}

.product-copy-column {
  display: grid;
  gap: 0.75rem;
  padding-top: clamp(1.6rem, 4vw, 3.2rem);
}

.product-subject {
  width: fit-content;
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 880;
}

.product-copy-column h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-product-title-size);
  line-height: var(--type-product-title-line);
  font-weight: 720;
  letter-spacing: 0;
  text-wrap: balance;
}

.product-subtitle,
.product-authors,
.product-summary {
  margin: 0;
  text-wrap: pretty;
}

.product-subtitle {
  max-width: 46rem;
  color: rgba(7, 20, 33, 0.72);
  font-family: var(--serif);
  font-size: var(--type-product-subtitle-size);
  line-height: 1.22;
}

.product-authors {
  color: rgba(7, 20, 33, 0.66);
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.45;
}

.product-authors a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition-property: color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.product-authors a:hover,
.product-authors a:focus-visible {
  color: var(--red-deep);
}

.product-summary {
  max-width: 58ch;
  color: rgba(7, 20, 33, 0.68);
  font-size: 1rem;
  line-height: 1.68;
}

.purchase-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 253, 248, 0.86);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.purchase-panel-header {
  display: grid;
  gap: 0.35rem;
}

.purchase-panel h2,
.product-editorial-section h2,
.book-details-panel h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-line);
}

.purchase-panel-header p,
.purchase-status {
  margin: 0;
  color: rgba(7, 20, 33, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.format-tile-list {
  display: grid;
  gap: 0.7rem;
}

.format-tile {
  display: grid;
  min-height: 116px;
  width: 100%;
  gap: 0.7rem;
  padding: 0.85rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow:
    inset 0 0 0 1px rgba(7, 20, 33, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.62);
  text-align: left;
  transition-property: background-color, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.format-tile:hover,
.format-tile:focus-visible {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(142, 31, 47, 0.2),
    0 12px 26px -22px rgba(7, 20, 33, 0.46);
}

.format-tile.is-selected {
  background: var(--navy);
  color: var(--white);
  box-shadow:
    inset 0 -3px 0 var(--gold),
    0 18px 38px -26px rgba(7, 20, 33, 0.58);
}

.format-tile.is-disabled:not(.is-selected) {
  color: rgba(7, 20, 33, 0.62);
  background: rgba(255, 255, 255, 0.4);
}

.format-tile:active,
.product-action-button:active,
.product-source-link:active {
  transform: scale(0.96);
}

.format-tile-header {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.format-tile-header strong,
.format-price {
  font-variant-numeric: tabular-nums;
}

.format-tile-header strong {
  font-size: 1rem;
  line-height: 1.2;
}

.format-availability,
.format-retailer {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
  opacity: 0.72;
}

.format-availability {
  text-align: right;
}

.format-price {
  color: currentColor;
  font-size: 1.24rem;
  font-weight: 900;
  line-height: 1;
}

.format-price:not(.has-price) {
  font-size: 0.92rem;
  font-weight: 780;
  opacity: 0.78;
}

.purchase-action-area {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.purchase-action-area .button {
  min-height: 44px;
  width: 100%;
  justify-content: center;
}

.purchase-action-area .button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.product-content-section {
  padding: clamp(2.2rem, 5vw, 4.8rem) 0 clamp(4rem, 7vw, 6rem);
}

.product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
  gap: clamp(1.6rem, 4vw, 4rem);
  align-items: start;
}

.product-main-copy {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
}

.product-editorial-section {
  display: grid;
  gap: 1rem;
}

.product-prose {
  display: grid;
  max-width: 68ch;
  gap: 1rem;
}

.product-prose p {
  margin: 0;
  color: rgba(7, 20, 33, 0.72);
  font-size: 1.05rem;
  line-height: 1.78;
}

.book-details-panel {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 253, 248, 0.84);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.book-details-grid {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.book-detail-row {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.2rem;
}

.book-detail-row dt {
  color: rgba(7, 20, 33, 0.52);
  font-size: 0.76rem;
  font-weight: 860;
}

.book-detail-row dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
  line-height: 1.38;
}

.author-profile-list {
  display: grid;
  max-width: 72ch;
  gap: 0.85rem;
}

.author-profile-card {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  background: rgba(255, 253, 248, 0.72);
  border-radius: var(--radius-md);
  box-shadow: var(--catalogue-ring);
}

.author-profile-card h3,
.author-profile-card p {
  margin: 0;
}

.author-role {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 880;
}

.author-profile-card h3 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-profile-name-size);
  line-height: var(--type-profile-name-line);
}

.author-bio {
  color: rgba(7, 20, 33, 0.68);
  line-height: 1.62;
}

.author-profile-card a {
  width: fit-content;
  min-height: 40px;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 820;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.product-not-found {
  padding: calc(var(--header-height) + 3rem) 0 5rem;
}

.product-not-found-card {
  display: grid;
  max-width: 44rem;
  gap: 1rem;
  text-align: center;
}

.product-not-found-card h2,
.product-not-found-card p {
  margin: 0;
}

.product-not-found-card h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-size: var(--type-editorial-title-size);
  line-height: var(--type-editorial-title-line);
}

.product-not-found-card p {
  color: rgba(7, 20, 33, 0.68);
}

.product-not-found-card .button {
  justify-self: center;
}

@media (min-width: 1660px) {
  .catalogue-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .books-page-hero-grid,
  .books-catalogue-shell,
  .catalogue-toolbar,
  .product-hero-grid,
  .product-content-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-filter-panel,
  .purchase-panel,
  .book-details-panel {
    position: static;
  }

  .catalogue-filter-panel {
    width: auto;
    max-height: none;
    overflow: visible;
    padding: clamp(1rem, 2vw, 1.35rem);
  }

  .filter-panel-group {
    max-width: 46rem;
  }

  .catalogue-filter-panel .filter-panel-group h2 {
    font-size: var(--type-filter-title-size);
  }

  .catalogue-filter-panel .filter-panel-group p {
    font-size: 0.92rem;
  }

  .collection-tabs,
  .subject-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .collection-tabs legend,
  .subject-filter-list legend {
    flex-basis: 100%;
    margin-bottom: 0.04rem;
  }

  .collection-tabs button,
  .subject-filter-list button {
    width: auto;
  }

  .subject-filter-list button {
    flex: 1 1 10.6rem;
  }

  .catalogue-reset-button {
    width: fit-content;
  }

  .catalogue-results-panel {
    grid-column: auto;
  }

  .catalogue-status-bar {
    grid-template-columns: 1fr;
  }

  .product-copy-column {
    padding-top: 0;
  }

  .product-copy-column h1 {
    max-width: 16ch;
  }

  .product-cover-frame {
    max-width: 24rem;
  }
}

@media (max-width: 760px) {
  .books-page-hero-grid {
    padding-block: clamp(2rem, 8vw, 3rem);
  }

  .books-page-copy h1 {
    max-width: 100%;
    font-size: var(--type-listing-title-size);
  }

  .books-active-summary,
  .catalogue-filter-panel {
    padding: 0.9rem;
  }

  .subject-filter-list,
  .collection-tabs {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
    scrollbar-width: auto;
  }

  .collection-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subject-filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-tabs legend,
  .subject-filter-list legend {
    grid-column: 1 / -1;
  }

  .collection-tabs button,
  .subject-filter-list button {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    scroll-snap-align: none;
  }

  .filter-label {
    overflow-wrap: anywhere;
  }

  .books-search-row,
  .catalogue-card-actions {
    grid-template-columns: 1fr;
  }

  .catalogue-toolbar {
    gap: 0.85rem;
  }

  .product-hero-grid {
    padding-block: clamp(1.4rem, 6vw, 2.4rem);
  }

  .product-cover-frame {
    max-width: 18rem;
  }

  .product-copy-column h1 {
    max-width: 100%;
    font-size: var(--type-product-title-size);
  }

  .format-tile-header {
    display: grid;
  }

  .format-availability {
    text-align: left;
  }

  .catalogue-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .catalogue-cover-link {
    padding: 0.72rem 0.72rem 0.25rem;
  }

  .catalogue-book-content {
    padding: 0.78rem;
  }
}
/* Product hero refinement */
.book-detail-body .product-hero-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(185, 154, 88, 0.1), transparent 26rem),
    linear-gradient(180deg, rgba(250, 247, 240, 0.98), rgba(244, 239, 229, 0.96));
}

.book-detail-body .product-hero-section::before {
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(7, 20, 33, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 82%);
}

.book-detail-body .product-hero-shell {
  gap: clamp(0.8rem, 1.6vw, 1.1rem);
  padding-block: clamp(1rem, 2.5vw, 1.8rem) clamp(2.2rem, 5.2vw, 4.6rem);
}

.book-detail-body .product-hero-grid {
  grid-template-columns: minmax(12rem, 0.56fr) minmax(0, 1.16fr) minmax(18rem, 0.72fr);
  gap: clamp(1.5rem, 3.6vw, 3.6rem);
  align-items: center;
}

.book-detail-body .product-cover-column {
  position: relative;
  justify-items: center;
  align-self: center;
  gap: 0.8rem;
}

.book-detail-body .product-cover-column::after {
  width: min(74%, 16rem);
  height: 1.2rem;
  content: "";
  background: radial-gradient(ellipse at center, rgba(7, 20, 33, 0.28), transparent 68%);
  filter: blur(8px);
  transform: translateY(-0.15rem);
}

.book-detail-body .product-cover-frame {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  perspective: 1200px;
}

.book-detail-body .product-cover-frame img {
  width: clamp(12.5rem, 22vw, 20.5rem);
  max-height: min(66vh, 32rem);
  object-fit: contain;
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  box-shadow:
    14px 22px 36px -28px rgba(7, 20, 33, 0.66),
    0 34px 60px -42px rgba(7, 20, 33, 0.72);
  transform: rotateY(-3deg) rotateZ(-0.35deg);
  transform-origin: center;
  transition-property: box-shadow, filter, transform;
  transition-duration: 260ms;
  transition-timing-function: var(--ease-premium);
}

.book-detail-body .product-cover-frame:hover img,
.book-detail-body .product-cover-frame:focus-within img {
  filter: saturate(1.02) contrast(1.02);
  box-shadow:
    18px 26px 42px -30px rgba(7, 20, 33, 0.72),
    0 42px 74px -48px rgba(7, 20, 33, 0.78);
  transform: rotateY(-2deg) rotateZ(0deg) translateY(-3px);
}

.book-detail-body .product-cover-note {
  display: none;
}

.book-detail-body .product-copy-column {
  align-content: center;
  gap: 0.72rem;
}

.book-detail-body .product-subject {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.book-detail-body .product-copy-column h1 {
  max-width: 17ch;
  color: #071421;
  font-size: var(--type-product-title-size);
  letter-spacing: 0;
  line-height: var(--type-product-title-line);
}

.book-detail-body .product-subtitle {
  max-width: 38rem;
  color: rgba(7, 20, 33, 0.7);
  font-size: var(--type-product-subtitle-size);
  line-height: 1.34;
}

.book-detail-body .product-authors {
  margin-top: 0.1rem;
  color: rgba(7, 20, 33, 0.68);
  font-size: 0.96rem;
  line-height: 1.45;
}

.book-detail-body .product-authors a {
  min-height: 32px;
  color: var(--red);
  font-weight: 820;
}

.book-detail-body .product-summary {
  max-width: 58ch;
  margin-top: 0.25rem;
  color: rgba(7, 20, 33, 0.64);
  font-size: 1rem;
  line-height: 1.68;
}

.book-detail-body .product-quick-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 42rem;
  margin-top: 1.05rem;
  padding-block: 0.65rem;
  border-block: 1px solid rgba(7, 20, 33, 0.13);
}

.book-detail-body .product-fact {
  min-height: 0;
  padding: 0.22rem 0.85rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.book-detail-body .product-fact + .product-fact {
  border-left: 1px solid rgba(7, 20, 33, 0.12);
}

.book-detail-body .product-fact:first-child {
  padding-left: 0;
}

.book-detail-body .product-fact dt {
  color: rgba(7, 20, 33, 0.48);
  font-size: 0.7rem;
}

.book-detail-body .product-fact dd {
  color: rgba(7, 20, 33, 0.92);
  font-size: 0.88rem;
}

.book-detail-body .purchase-panel {
  gap: 0.86rem;
  padding: 1rem;
  background: rgba(255, 253, 248, 0.72);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.09),
    0 24px 58px -46px rgba(7, 20, 33, 0.5);
}

.book-detail-body .purchase-panel-header {
  gap: 0.28rem;
}

.book-detail-body .purchase-eyebrow {
  color: rgba(142, 31, 47, 0.84);
  font-size: 0.72rem;
}

.book-detail-body .purchase-panel h2 {
  font-size: var(--type-subsection-title-size);
  line-height: var(--type-subsection-title-line);
}

.book-detail-body .purchase-panel-header p:not(.purchase-eyebrow) {
  color: rgba(7, 20, 33, 0.58);
  font-size: 0.86rem;
}

.book-detail-body .format-tile-list {
  gap: 0.58rem;
}

.book-detail-body .format-tile {
  min-height: 100px;
  gap: 0.4rem;
  padding: 0.78rem 0.82rem 0.78rem 0.92rem;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 7px;
  box-shadow: 0 0 0 1px rgba(7, 20, 33, 0.1);
}

.book-detail-body .format-tile:hover,
.book-detail-body .format-tile:focus-visible {
  background: rgba(255, 253, 248, 0.92);
  box-shadow:
    0 0 0 1px rgba(142, 31, 47, 0.18),
    0 12px 28px -24px rgba(7, 20, 33, 0.48);
}

.book-detail-body .format-tile.is-selected {
  padding-top: 0.78rem;
  padding-left: 1.12rem;
  color: var(--navy);
  background: rgba(255, 253, 248, 0.96);
  box-shadow:
    inset 4px 0 0 var(--gold),
    0 0 0 1px rgba(142, 31, 47, 0.22),
    0 16px 36px -30px rgba(7, 20, 33, 0.46);
}

.book-detail-body .format-tile.is-selected::before {
  top: 0.72rem;
  right: 0.82rem;
  color: var(--red);
  font-size: 0.66rem;
}

.book-detail-body .format-tile.is-selected .format-availability {
  margin-top: 1.05rem;
}

.book-detail-body .format-tile.is-disabled:not(.is-selected) {
  color: rgba(7, 20, 33, 0.58);
  background: rgba(255, 255, 255, 0.36);
}

.book-detail-body .format-tile-header strong {
  font-size: 0.98rem;
}

.book-detail-body .format-availability,
.book-detail-body .format-compare-price,
.book-detail-body .format-retailer,
.book-detail-body .format-note {
  font-size: 0.74rem;
}

.book-detail-body .format-price {
  font-size: 1.08rem;
}

.book-detail-body .purchase-action-area {
  gap: 0.5rem;
}

.book-detail-body .purchase-action-area .button {
  min-height: 44px;
  padding-inline: 0.7rem;
  font-size: 0.82rem;
}

@media (max-width: 1120px) {
  .book-detail-body .product-hero-grid {
    grid-template-columns: minmax(12rem, 0.58fr) minmax(0, 1fr);
    align-items: start;
  }

  .book-detail-body .purchase-panel {
    grid-column: 1 / -1;
    position: static;
  }

  .book-detail-body .format-tile-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .book-detail-body .product-hero-shell {
    padding-block: 0.95rem 2rem;
  }

  .book-detail-body .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .book-detail-body .product-cover-frame img {
    width: clamp(11.5rem, 56vw, 15rem);
    max-height: 20rem;
    transform: none;
  }

  .book-detail-body .product-cover-column::after {
    width: min(60%, 12rem);
  }

  .book-detail-body .product-copy-column h1 {
    font-size: var(--type-product-title-size);
    line-height: 1.05;
  }

  .book-detail-body .product-quick-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-detail-body .product-fact:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .book-detail-body .product-fact:nth-child(n + 3) {
    padding-top: 0.62rem;
  }

  .book-detail-body .format-tile-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-detail-body .product-cover-frame img {
    transform: none !important;
  }
}
/* Product detail content refinement */
.book-detail-body .product-content-section {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 86% 10%, rgba(185, 154, 88, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(244, 239, 229, 0.98), rgba(251, 248, 242, 0.99));
}

.book-detail-body .product-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.book-detail-body .product-main-copy {
  gap: clamp(2.8rem, 5vw, 4.75rem);
}

.book-detail-body .product-editorial-section {
  gap: clamp(1rem, 2vw, 1.45rem);
}

.book-detail-body .product-editorial-section h2,
.book-detail-body .book-details-panel h2 {
  margin: 0;
  color: var(--navy);
  font-size: var(--type-section-title-size);
  font-weight: 680;
  letter-spacing: 0;
  line-height: var(--type-section-title-line);
}

.book-detail-body .product-prose {
  max-width: 72ch;
  gap: 1.15rem;
  padding-top: 0.4rem;
  box-shadow: inset 0 1px 0 rgba(7, 20, 33, 0.12);
}

.book-detail-body .product-prose p {
  max-width: 66ch;
  color: rgba(7, 20, 33, 0.74);
  font-size: 1.05rem;
  line-height: 1.82;
}

.book-detail-body .product-key-themes {
  display: grid;
  gap: 0.7rem;
  max-width: 66ch;
  margin-top: 0.65rem;
  padding-top: 1rem;
  box-shadow: inset 0 1px 0 rgba(7, 20, 33, 0.1);
}

.book-detail-body .product-key-themes h3 {
  margin: 0;
  color: rgba(7, 20, 33, 0.62);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.book-detail-body .product-key-themes ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-detail-body .product-key-themes li {
  padding: 0.42rem 0.58rem;
  color: rgba(7, 20, 33, 0.76);
  background: rgba(255, 253, 248, 0.58);
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(7, 20, 33, 0.09);
  font-size: 0.82rem;
  font-weight: 760;
}

.book-detail-body .author-profile-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 100%;
  gap: 1rem;
}

.book-detail-body .author-profile-card {
  align-content: start;
  gap: 0.48rem;
  min-height: 0;
  padding: 0 0 1rem;
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 rgba(7, 20, 33, 0.12);
  transition-property: box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.book-detail-body .author-profile-card:hover,
.book-detail-body .author-profile-card:focus-within {
  box-shadow: inset 0 -1px 0 rgba(142, 31, 47, 0.28);
  transform: translateY(-1px);
}

.book-detail-body {
  --product-profile-name-size: var(--type-profile-name-size);
  --product-profile-name-line-height: var(--type-profile-name-line);
}

.book-detail-body .author-role {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.book-detail-body .author-profile-card h3 {
  margin: 0;
  font-size: var(--product-profile-name-size);
  font-weight: 680;
  line-height: var(--product-profile-name-line-height);
}

.book-detail-body .author-profile-card h3 a {
  position: relative;
  display: inline;
  min-height: 0;
  line-height: inherit;
}

.book-detail-body .author-name-link {
  color: var(--navy);
  text-decoration: none;
  transition-property: color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.book-detail-body .author-profile-card h3 a::before {
  content: "";
  position: absolute;
  inset: -0.6rem -0.45rem;
}

.book-detail-body .author-name-link:hover,
.book-detail-body .author-name-link:focus-visible,
.book-detail-body .author-profile-link:hover,
.book-detail-body .author-profile-link:focus-visible {
  color: var(--red);
}

.book-detail-body .author-bio {
  max-width: 42rem;
  color: rgba(7, 20, 33, 0.68);
  font-size: 0.97rem;
  line-height: 1.68;
}

.book-detail-body .author-profile-link {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 820;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.book-detail-body .book-details-panel {
  top: calc(var(--header-height) + 1.4rem);
  gap: 0.9rem;
  padding: 1rem 1.05rem;
  background: rgba(255, 253, 248, 0.6);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.08),
    0 20px 54px -48px rgba(7, 20, 33, 0.46);
}

.book-detail-body .book-details-grid {
  gap: 0;
}

.book-detail-body .book-detail-row {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.42fr) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.74rem 0;
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 rgba(7, 20, 33, 0.09);
}

.book-detail-body .book-detail-row:last-child {
  box-shadow: none;
}

.book-detail-body .book-detail-row dt {
  color: rgba(7, 20, 33, 0.5);
  font-size: 0.72rem;
  font-weight: 880;
  line-height: 1.3;
}

.book-detail-body .book-detail-row dd {
  color: rgba(7, 20, 33, 0.9);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

@media (max-width: 1120px) {
  .book-detail-body .product-content-grid {
    grid-template-columns: 1fr;
  }

  .book-detail-body .book-details-panel {
    position: static;
    order: 2;
  }

  .book-detail-body .product-main-copy {
    order: 1;
  }
}

@media (max-width: 760px) {
  .book-detail-body .product-content-section {
    padding-block: 2.6rem 4.5rem;
  }

  .book-detail-body .author-profile-list {
    grid-template-columns: 1fr;
  }

  .book-detail-body .book-detail-row {
    grid-template-columns: 1fr;
    gap: 0.22rem;
    padding: 0.68rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .book-detail-body .author-profile-card {
    transition-duration: 1ms !important;
  }

  .book-detail-body .author-profile-card:hover,
  .book-detail-body .author-profile-card:focus-within {
    transform: none !important;
  }
}

@media (max-width: 520px) {
  .books-catalogue-section {
    padding-top: 1.15rem;
  }

  .catalogue-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .catalogue-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 0.9rem;
  }

  .catalogue-book-card {
    display: grid;
    grid-template-columns: 5.95rem minmax(0, 1fr);
    align-items: start;
    overflow: hidden;
  }

  .catalogue-book-card:hover,
  .catalogue-book-card:focus-within {
    transform: none;
  }

  .catalogue-cover-link {
    padding: 0.78rem;
  }

  .catalogue-cover-frame {
    aspect-ratio: 2 / 3;
  }

  .catalogue-book-content {
    gap: 0.38rem;
    padding: 0.78rem 0.88rem 0.88rem 0;
  }

  .catalogue-book-card h3 {
    font-size: var(--type-card-title-size);
    line-height: 1.16;
  }

  .catalogue-book-contributors {
    font-size: 0.82rem;
  }

  .catalogue-subject-line {
    display: none;
  }

  .catalogue-commerce-row {
    gap: 0.5rem;
    padding-top: 0.38rem;
  }

  .catalogue-card-actions {
    grid-template-columns: 1fr;
  }

  .catalogue-source-button {
    display: none;
  }
}

@media (max-width: 760px) {
  .books-page-hero-grid {
    gap: 1.1rem;
  }

  .books-page-copy h1 {
    font-size: var(--type-listing-title-size);
    line-height: 1.08;
  }

  .books-page-copy p:not(.section-label) {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .books-catalogue-shell {
    gap: 1rem;
  }

  .catalogue-filter-panel {
    border-radius: 16px;
    box-shadow:
      inset 0 0 0 1px rgba(7, 20, 33, 0.08),
      0 12px 28px -26px rgba(7, 20, 33, 0.32);
  }

  .catalogue-filter-panel .filter-panel-group h2 {
    font-size: 1.32rem;
    line-height: 1.16;
  }

  .catalogue-filter-panel .filter-panel-group p {
    max-width: 34ch;
    font-size: 0.86rem;
    line-height: 1.48;
  }

  .catalogue-toolbar {
    padding: 0.95rem;
    border-radius: 16px;
  }

  .catalogue-toolbar h2 {
    font-size: 1.38rem;
  }

  .catalogue-product-grid {
    grid-template-columns: 1fr;
    gap: 0.78rem;
  }

  .catalogue-book-card {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    align-items: start;
    overflow: hidden;
    border-radius: 16px;
  }

  .catalogue-book-card:hover,
  .catalogue-book-card:focus-within {
    transform: none;
  }

  .catalogue-cover-link {
    padding: 0.72rem;
  }

  .catalogue-cover-frame {
    aspect-ratio: 2 / 3;
    border-radius: 10px;
  }

  .catalogue-cover-frame img {
    box-shadow: 0 16px 28px -22px rgba(7, 20, 33, 0.7);
  }

  .catalogue-book-content {
    gap: 0.34rem;
    padding: 0.72rem 0.78rem 0.82rem 0;
  }

  .catalogue-book-category {
    font-size: 0.68rem;
  }

  .catalogue-book-card h3 {
    font-size: 1.05rem;
    line-height: 1.16;
    text-wrap: pretty;
  }

  .catalogue-book-contributors {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .catalogue-book-detail-line,
  .catalogue-subject-line {
    font-size: 0.72rem;
    line-height: 1.34;
  }

  .catalogue-subject-line {
    display: none;
  }

  .catalogue-commerce-row {
    gap: 0.48rem;
    padding-top: 0.34rem;
  }

  .catalogue-price {
    font-size: 0.92rem;
  }

  .catalogue-card-actions {
    grid-template-columns: 1fr;
    gap: 0.42rem;
  }

  .catalogue-card-actions .button {
    min-height: 40px;
    justify-content: center;
    font-size: 0.78rem;
  }

  .catalogue-source-button {
    display: none;
  }

  .product-hero-section {
    overflow: hidden;
  }

  .product-hero-grid {
    gap: 1.1rem;
  }

  .product-cover-column {
    justify-items: start;
  }

  .product-cover-frame {
    max-width: min(15.75rem, 74vw);
    margin-inline: 0;
  }

  .purchase-panel,
  .book-details-panel,
  .product-main-copy {
    border-radius: 16px;
  }
}

@media (max-width: 430px) {
  .collection-tabs,
  .subject-filter-list {
    grid-template-columns: 1fr;
  }

  .catalogue-book-card {
    grid-template-columns: 5.15rem minmax(0, 1fr);
  }

  .catalogue-cover-link {
    padding: 0.64rem;
  }

  .catalogue-book-content {
    padding: 0.64rem 0.68rem 0.72rem 0;
  }

  .catalogue-book-card h3 {
    font-size: 0.98rem;
  }

  .catalogue-book-detail-line {
    display: none;
  }
}

@media (max-width: 760px) {
  .catalogue-mobile-filter-button {
    display: inline-flex;
    min-height: 48px;
    width: 100%;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.78rem 0.95rem;
    color: var(--navy);
    background: rgba(255, 253, 248, 0.9);
    border: 0;
    border-radius: 14px;
    box-shadow:
      inset 0 0 0 1px rgba(7, 20, 33, 0.12),
      0 12px 28px -24px rgba(7, 20, 33, 0.42);
    font-size: 0.92rem;
    font-weight: 880;
    transition:
      color 180ms var(--ease-premium),
      background-color 180ms var(--ease-premium),
      box-shadow 180ms var(--ease-premium),
      transform 180ms var(--ease-premium);
  }

  .catalogue-mobile-filter-button strong {
    display: inline-flex;
    min-width: 1.55rem;
    min-height: 1.55rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.4rem;
    color: var(--white);
    background: var(--red);
    border-radius: 999px;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
  }

  .catalogue-mobile-filter-button strong[hidden] {
    display: none;
  }

  .catalogue-mobile-filter-button:hover,
  .catalogue-mobile-filter-button:focus-visible {
    color: var(--red);
    background: var(--catalogue-surface);
    box-shadow:
      inset 0 0 0 1px rgba(142, 31, 47, 0.2),
      0 14px 30px -24px rgba(7, 20, 33, 0.48);
  }

  .catalogue-mobile-filter-button:active {
    transform: scale(0.98);
  }

  .catalogue-filter-overlay {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(7, 20, 33, 0.42);
    opacity: 0;
    transition: opacity 180ms var(--ease-premium);
  }

  .books-page-main.is-filter-open .catalogue-filter-overlay {
    display: block;
    opacity: 1;
  }

  .catalogue-filter-panel {
    position: fixed;
    inset: auto 0.7rem 0.7rem;
    z-index: 220;
    max-height: min(78dvh, 42rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0.9rem;
    border-radius: 18px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.58),
      0 28px 72px -30px rgba(7, 20, 33, 0.56);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 1.5rem));
    transition:
      opacity 200ms var(--ease-premium),
      transform 240ms var(--ease-premium),
      visibility 200ms var(--ease-premium);
    visibility: hidden;
  }

  .books-page-main.is-filter-open .catalogue-filter-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .filter-sheet-header {
    position: sticky;
    top: -0.9rem;
    z-index: 2;
    margin: -0.9rem -0.9rem 0;
    padding: 0.9rem 0.9rem 0.78rem;
    background: rgba(255, 253, 248, 0.98);
    border-bottom: 1px solid rgba(7, 20, 33, 0.1);
  }

  .filter-sheet-close {
    display: grid;
  }

  .collection-tabs,
  .subject-filter-list {
    grid-template-columns: 1fr;
    gap: 0.48rem;
  }

  .collection-tabs button,
  .subject-filter-list button {
    min-height: 46px;
    padding: 0.72rem 0.8rem;
  }

  .filter-sheet-actions {
    position: static;
    margin: 0 -0.9rem -0.9rem;
    padding: 0.78rem 0.9rem 0.9rem;
    background: rgba(255, 253, 248, 0.99);
    border-top: 1px solid rgba(7, 20, 33, 0.1);
  }

  .filter-sheet-actions .button,
  .filter-sheet-actions .catalogue-reset-button {
    width: 100%;
    min-height: 46px;
  }

  .filter-apply-button {
    display: inline-flex;
  }

  .books-catalogue-body.filter-sheet-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .books-back-link,
  .collection-tabs button,
  .subject-filter-list button,
  .catalogue-reset-button,
  .catalogue-mobile-filter-button,
  .filter-sheet-close,
  .catalogue-book-card,
  .catalogue-cover-frame img,
  .catalogue-book-card h3 a,
  .format-tile,
  .product-authors a,
  .product-action-button,
  .product-source-link {
    transition-duration: 1ms !important;
  }

  .books-back-link:hover,
  .books-back-link:focus-visible,
  .catalogue-book-card:hover,
  .catalogue-book-card:focus-within,
  .catalogue-book-card:hover .catalogue-cover-frame img,
  .catalogue-book-card:focus-within .catalogue-cover-frame img {
    transform: none !important;
  }
}
/* Product detail redesign: editorial commerce layout */
.book-detail-body {
  --product-panel:
    0 0 0 1px rgba(7, 20, 33, 0.07),
    0 1px 2px -1px rgba(7, 20, 33, 0.08),
    0 30px 76px -56px rgba(7, 20, 33, 0.5);
  --product-panel-hover:
    0 0 0 1px rgba(142, 31, 47, 0.16),
    0 18px 42px -34px rgba(7, 20, 33, 0.42);
}

.product-hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(185, 154, 88, 0.16), transparent 32rem),
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(242, 237, 225, 0.96));
}

.product-hero-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(90deg, rgba(7, 20, 33, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(7, 20, 33, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
}

.product-hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding-block: clamp(1.2rem, 3vw, 2rem) clamp(2.3rem, 6vw, 5rem);
}

.product-hero-grid {
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.18fr) minmax(20rem, 0.9fr);
  gap: clamp(1.4rem, 3.5vw, 3.2rem);
  padding-block: 0;
}

.product-cover-column {
  align-self: stretch;
}

.product-cover-frame {
  width: 100%;
  aspect-ratio: auto;
  min-height: clamp(25rem, 48vw, 35rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.76), rgba(255, 253, 248, 0.5)),
    rgba(255, 253, 248, 0.7);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    var(--product-panel);
}

.product-cover-frame img {
  width: min(86%, 22rem);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 34px 72px -34px rgba(7, 20, 33, 0.82);
}

.product-cover-note {
  margin: 0;
  color: rgba(7, 20, 33, 0.54);
  font-size: 0.78rem;
  font-weight: 760;
  text-align: center;
}

.product-copy-column {
  align-content: center;
  gap: 0.78rem;
  padding-top: 0;
}

.product-subject,
.purchase-eyebrow {
  width: fit-content;
  margin: 0;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
}

.product-copy-column h1 {
  max-width: 14ch;
  font-size: var(--type-product-title-size);
  line-height: var(--type-product-title-line);
}

.product-subtitle {
  max-width: 34rem;
  color: rgba(7, 20, 33, 0.74);
  font-size: var(--type-product-subtitle-size);
}

.product-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.24rem;
  align-items: baseline;
  max-width: 38rem;
}

.product-author-role {
  color: rgba(7, 20, 33, 0.56);
}

.product-summary {
  max-width: 55ch;
  margin-top: 0.4rem;
  color: rgba(7, 20, 33, 0.68);
}

.product-quick-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 34rem;
  margin: 1rem 0 0;
}

.product-fact {
  display: grid;
  gap: 0.18rem;
  min-height: 4.2rem;
  padding: 0.72rem 0.8rem;
  background: rgba(255, 253, 248, 0.68);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(7, 20, 33, 0.08);
}

.product-fact dt {
  color: rgba(7, 20, 33, 0.5);
  font-size: 0.72rem;
  font-weight: 860;
}

.product-fact dd {
  margin: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  font-weight: 840;
  line-height: 1.25;
}

.purchase-panel {
  top: calc(var(--header-height) + 1.2rem);
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 253, 248, 0.94);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    var(--product-panel);
}

.purchase-panel h2 {
  font-size: var(--type-subsection-title-size);
  line-height: var(--type-subsection-title-line);
}

.format-tile-list {
  gap: 0.75rem;
}

.format-tile {
  position: relative;
  min-height: 132px;
  gap: 0.55rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.76);
  transition-property: background-color, box-shadow, transform;
}

.format-tile:hover,
.format-tile:focus-visible {
  box-shadow: var(--product-panel-hover);
}

.format-tile.is-selected {
  padding-top: 1.65rem;
  background:
    linear-gradient(180deg, rgba(7, 20, 33, 0.98), rgba(12, 29, 43, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 4px 0 var(--gold),
    0 22px 48px -34px rgba(7, 20, 33, 0.7);
}

.format-tile.is-selected::before {
  position: absolute;
  top: 0.62rem;
  right: 0.72rem;
  content: "Selected";
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 900;
}

.format-tile-header {
  gap: 0.65rem;
}

.format-availability {
  max-width: 10rem;
}

.format-compare-price,
.format-note {
  color: currentColor;
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
  opacity: 0.66;
}

.format-note {
  opacity: 0.58;
}

.purchase-action-area {
  grid-template-columns: 1fr 1fr;
}

.purchase-action-area .product-action-button:first-child:last-child {
  grid-column: 1 / -1;
}

.purchase-status {
  min-height: 1.5rem;
}

.product-content-section {
  background:
    linear-gradient(180deg, rgba(247, 244, 236, 0.9), rgba(251, 248, 242, 0.98));
}

.product-content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 25rem);
}

.product-main-copy {
  gap: clamp(2.4rem, 4vw, 4.2rem);
}

.product-editorial-section {
  gap: 1.1rem;
}

.product-editorial-section h2,
.book-details-panel h2,
.related-books-header h2 {
  color: var(--navy);
  font-family: var(--serif);
  letter-spacing: 0;
}

.product-prose {
  max-width: 70ch;
  gap: 1.05rem;
}

.product-prose p {
  color: rgba(7, 20, 33, 0.74);
  font-size: 1.05rem;
}

.book-details-panel {
  padding: 1.05rem;
  background: rgba(255, 253, 248, 0.86);
  border-radius: 10px;
  box-shadow: var(--product-panel);
}

.book-details-grid {
  gap: 0.75rem;
}

.book-detail-row {
  padding: 0.68rem 0.72rem;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 6px;
}

.author-profile-card {
  padding: 1.1rem;
  background: rgba(255, 253, 248, 0.72);
  border-radius: 10px;
  box-shadow: var(--product-panel);
}

.related-books-section {
  display: grid;
  width: min(calc(100% - clamp(2rem, 6vw, 4rem)), var(--container));
  gap: 1rem;
  margin-inline: auto;
  margin-top: clamp(2.4rem, 5vw, 4.5rem);
  padding-block: clamp(1.8rem, 4vw, 3.2rem);
  align-content: center;
  box-shadow: none;
}

.related-books-header {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  min-width: 0;
}

.related-books-header h2 {
  margin: 0;
  font-size: var(--type-section-title-size);
  line-height: var(--type-section-title-line);
}

.related-books-header a {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 40px;
  align-items: center;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 840;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.related-books-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.related-book-card {
  min-width: 0;
}

.related-book-link {
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr);
  gap: 0.8rem;
  min-height: 9rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 253, 248, 0.78);
  border-radius: 10px;
  box-shadow: var(--product-panel);
  transition-property: box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-premium);
}

.related-book-link:hover,
.related-book-link:focus-visible {
  box-shadow: var(--product-panel-hover);
  transform: translateY(-2px);
}

.related-book-link img {
  width: 100%;
  max-height: 7.2rem;
  object-fit: contain;
  border-radius: 2px;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.related-book-content {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.related-book-subject,
.related-book-meta {
  color: rgba(7, 20, 33, 0.58);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}

.related-book-content strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.15;
  text-wrap: balance;
}

@media (max-width: 1120px) {
  .product-hero-shell {
    padding-block: 1.1rem clamp(2rem, 5vw, 3.2rem);
  }

  .product-hero-grid,
  .product-content-grid {
    grid-template-columns: 1fr;
  }

  .product-cover-frame {
    min-height: 28rem;
  }

  .purchase-panel,
  .book-details-panel {
    position: static;
  }

  .related-books-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .product-hero-shell {
    padding-block: 1rem 2rem;
  }

  /* audit-css: allow-duplicate -- restores mobile spacing after the later desktop product layer. */
  .product-hero-grid {
    gap: 1.1rem;
  }

  .product-cover-frame {
    min-height: 20rem;
    max-width: none;
  }

  .product-cover-frame img {
    width: min(78%, 15rem);
  }

  /* audit-css: allow-duplicate -- restores the mobile title width after the later desktop product layer. */
  .product-copy-column h1 {
    max-width: 100%;
    font-size: var(--type-product-title-size);
  }

  .product-quick-facts,
  .purchase-action-area,
  .related-books-row {
    grid-template-columns: 1fr;
  }

  .format-tile {
    min-height: 124px;
  }

  .related-books-header {
    display: grid;
    align-items: start;
  }
}
/* Product content section split */
.book-detail-body .product-content-section {
  display: grid;
  gap: 0;
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 86% 8%, rgba(185, 154, 88, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(244, 239, 229, 0.98), rgba(251, 248, 242, 0.99));
}

.book-detail-body .product-book-info-section {
  padding: clamp(3rem, 6vw, 5.4rem) 0 clamp(2.8rem, 5vw, 4.4rem);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.46), rgba(247, 244, 236, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(7, 20, 33, 0.11);
}

.book-detail-body .product-author-band {
  padding: clamp(2.5rem, 5vw, 4.6rem) 0 clamp(2.6rem, 5vw, 4.8rem);
  background:
    linear-gradient(180deg, rgba(251, 248, 242, 0.95), rgba(244, 239, 229, 0.72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.book-detail-body .product-about-section {
  min-width: 0;
  padding-right: clamp(0rem, 2vw, 1rem);
}

.book-detail-body .product-author-section {
  gap: clamp(1.15rem, 2vw, 1.65rem);
}

.book-detail-body .product-author-section h2 {
  max-width: 12ch;
}

.book-detail-body .product-author-section .author-profile-list {
  max-width: 100%;
}

.book-detail-body .product-author-section .author-profile-card {
  padding: 0 0 1.05rem;
  background: transparent;
  border-radius: 0;
  box-shadow: inset 0 -1px 0 rgba(7, 20, 33, 0.13);
}

.book-detail-body .product-author-section .author-profile-card:hover,
.book-detail-body .product-author-section .author-profile-card:focus-within {
  box-shadow: inset 0 -1px 0 rgba(142, 31, 47, 0.32);
}

.book-detail-body .product-book-info-section .book-details-panel {
  background: rgba(255, 253, 248, 0.74);
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.08),
    0 18px 54px -46px rgba(7, 20, 33, 0.48);
}

.book-detail-body .product-book-info-section .product-content-grid {
  align-items: start;
}

@media (max-width: 1120px) {
  .book-detail-body .product-book-info-section {
    padding-block: clamp(2.5rem, 6vw, 4.2rem);
  }

  .book-detail-body .product-about-section {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .book-detail-body .product-content-section {
    padding-bottom: 4.4rem;
  }

  .book-detail-body .product-book-info-section,
  .book-detail-body .product-author-band {
    padding-block: 2.35rem;
  }

  .book-detail-body .product-author-section h2 {
    max-width: none;
  }
}
/* Product detail final polish */
.book-detail-body .books-back-link {
  gap: 0.35rem;
  color: rgba(7, 20, 33, 0.66);
  letter-spacing: 0;
}

.book-detail-body .books-back-link::before {
  content: "<";
  color: rgba(142, 31, 47, 0.82);
  font-size: 0.9em;
  transform: translateY(-1px);
}

.book-detail-body .product-authors a {
  min-height: 40px;
  text-decoration-thickness: 1.5px;
}

.book-detail-body .purchase-panel,
.book-detail-body .book-details-panel {
  backdrop-filter: blur(18px);
}

@supports not (backdrop-filter: blur(18px)) {
  .book-detail-body .purchase-panel,
  .book-detail-body .book-details-panel {
    background: rgba(255, 253, 248, 0.94);
  }
}

.book-detail-body .format-tile {
  align-content: start;
}

.book-detail-body .format-tile.is-disabled:not(.is-selected) {
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.book-detail-body .purchase-status:not(:empty) {
  padding: 0.62rem 0.68rem;
  color: rgba(7, 20, 33, 0.72);
  background: rgba(255, 253, 248, 0.66);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(7, 20, 33, 0.08);
}

.book-detail-body .product-prose {
  box-shadow: inset 0 1px 0 rgba(7, 20, 33, 0.08);
}

.book-detail-body .product-key-themes li {
  background: rgba(255, 253, 248, 0.72);
  box-shadow:
    0 0 0 1px rgba(7, 20, 33, 0.08),
    0 8px 18px -16px rgba(7, 20, 33, 0.28);
}

.book-detail-body .book-detail-row {
  padding-inline: 0.12rem;
}

.book-detail-body .related-books-section {
  max-width: min(100% - clamp(2rem, 6vw, 4rem), 1280px);
  gap: clamp(1rem, 2.2vw, 1.35rem);
  margin-top: clamp(1.8rem, 4vw, 3.4rem);
  padding-inline: clamp(0rem, 1vw, 0.4rem);
}

.book-detail-body .related-books-row {
  justify-content: center;
}

.book-detail-body .related-book-link {
  min-height: 8.5rem;
  grid-template-columns: 4.05rem minmax(0, 1fr);
  background: rgba(255, 253, 248, 0.84);
}

.book-detail-body .related-book-link:active {
  transform: translateY(0) scale(0.96);
}

@media (max-width: 760px) {
  .book-detail-body .product-cover-frame img {
    width: clamp(10.75rem, 50vw, 13.75rem);
    max-height: 18rem;
  }

  .book-detail-body .product-copy-column {
    gap: 0.64rem;
  }

  .book-detail-body .product-copy-column h1 {
    font-size: var(--type-product-title-size);
    line-height: var(--type-product-title-line);
  }

  .book-detail-body .product-summary {
    font-size: 0.96rem;
    line-height: 1.62;
  }

  .book-detail-body .purchase-panel {
    gap: 0.72rem;
    padding: 0.9rem;
  }

  .book-detail-body .format-tile {
    min-height: auto;
    padding: 0.78rem 0.82rem;
  }

  .book-detail-body .format-tile.is-selected {
    padding-top: 1.42rem;
  }

  .book-detail-body .purchase-action-area {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-detail-body .purchase-action-area .product-action-button:first-child:last-child {
    grid-column: 1 / -1;
  }

  .book-detail-body .related-books-section {
    margin-top: 1.6rem;
    padding-block: 1.55rem 2.1rem;
  }

  .book-detail-body .related-book-link {
    min-height: 8rem;
  }
}
