.shop-page { font-synthesis: none; }
.shop-page .site-header { max-width: 1320px; }
.shop-nav { display: flex; gap: 1.5rem; font-size: .9rem; font-weight: 600; }
.shop-nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 7px; }
.shop-shell { max-width: 1180px; margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 3rem); }
.preview-notice { margin: 1.2rem 0 3rem; padding: .85rem 1rem; border-left: 3px solid var(--butter); background: #f5efe2; color: #59524a; font-size: .8rem; }
.shop-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.book-details { padding-top: 1.2rem; }
.book-details h1 { font: 400 clamp(3.2rem, 5vw, 4.5rem)/1.08 var(--display); max-width: 12ch; letter-spacing: -.025em; }
.book-price { margin: 1.6rem 0 .2rem; font-size: 2.2rem; font-weight: 650; }
.book-price span { font-size: 1.05rem; font-weight: 400; }
.price-caption { font-size: .78rem; color: var(--muted); }
.book-intro { margin-top: 1.5rem; max-width: 38ch; }
.book-specs { margin: 2rem 0; font-size: .85rem; border: 0; }
.book-specs > div { display: grid; grid-template-columns: 105px 1fr; gap: .6rem; padding: .7rem 0; border: 0; }
.book-specs dt { color: var(--muted); }
.book-specs dd { margin: 0; overflow-wrap: anywhere; }
.book-contact { font-size: .84rem; }
.book-contact a { text-decoration: underline; text-underline-offset: 3px; }
.order-panel { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 12px; background: #fffefa; }
.order-panel h2 { font: 400 2.4rem/1.1 var(--display); letter-spacing: -.015em; }
.order-intro { font-size: .87rem; margin: .7rem 0 1.4rem; color: #635c54; }
#fulfillment-form fieldset { padding: 0; margin: 0; border: 0; }
#fulfillment-form legend { font-size: .8rem; font-weight: 650; margin-bottom: .7rem; }
.fulfillment-option { display: grid; grid-template-columns: 18px 1fr auto; align-items: start; gap: .7rem; padding: .9rem; margin-bottom: .6rem; border: 1px solid #c6beb3; border-radius: 6px; cursor: pointer; }
.fulfillment-option:has(input:checked) { border-color: var(--ink); background: #f8f1e6; box-shadow: inset 3px 0 0 var(--coral); }
.fulfillment-option:focus-within { outline: 3px solid #75612c; outline-offset: 3px; }
.fulfillment-option input { margin: .25rem 0 0; width: 17px; height: 17px; accent-color: var(--ink); }
.fulfillment-option strong { display: block; font-size: .88rem; font-weight: 600; }
.fulfillment-option small { display: block; font-size: .72rem; color: #635c54; line-height: 1.45; margin-top: .25rem; }
.fulfillment-option b { padding-top: .05rem; font-size: .8rem; font-weight: 600; }
.fulfillment-option .pending-rate { font-size: .71rem; }
.order-summary { margin-top: 1.7rem; }
.order-summary h3 { font-size: .85rem; }
.order-summary dl { margin: .7rem 0; }
.order-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .85rem; }
.order-summary dd { margin: 0; white-space: nowrap; font-weight: 600; }
.order-summary dt small { display: block; font-size: .68rem; color: var(--muted); font-weight: 400; }
.order-summary .summary-total { border-top: 1px solid var(--line); padding-top: .85rem; margin-top: .4rem; font-size: 1.08rem; font-weight: 650; }
.order-summary .summary-total dd { font-size: 1.15rem; }
.summary-note { padding: .7rem .8rem; background: #edf4f5; border-radius: 4px; font-size: .73rem; line-height: 1.5; }
.checkout-button { width: 100%; margin-top: .5rem; border: 0; cursor: not-allowed; opacity: .72; }
.checkout-button:hover { transform: none; }
.payment-note { margin: .7rem 0 0; font-size: .71rem; color: #635c54; }
.shop-explanation { margin: 3.5rem 0; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 740px; }
.shop-explanation h2 { font: 400 1.8rem/1.2 var(--display); letter-spacing: 0; }
.shop-explanation p { font-size: .88rem; margin: .8rem 0 0; color: #635c54; }
.shop-footer { background: var(--ink); color: var(--paper); padding: 1.5rem 0; font-size: .8rem; }
.shop-footer .shop-shell { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.8rem; }
.shop-footer span { font-weight: 650; margin-right: auto; }
.shop-footer a { text-decoration: underline; text-underline-offset: 3px; }
.shop-footer p { width: 100%; margin: 0; font-size: .67rem; }
@media (max-width: 740px) {
  .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .preview-notice { margin-bottom: 1.2rem; font-size: .73rem; }
  .book-details { padding-top: .4rem; }
  .book-details h1 { font-size: 3.3rem; max-width: 13ch; }
  .book-specs { margin: 1.3rem 0; }
  .book-price { margin-top: 1rem; }
  .shop-nav { gap: .8rem; font-size: .78rem; }
  .fulfillment-option { gap: .55rem; padding: .8rem .65rem; }
  .fulfillment-option strong { font-size: .84rem; }
  .shop-explanation { margin: 2.5rem 0; }
  .shop-footer span { width: 100%; }
}
@media (max-width: 360px) {
  .fulfillment-option { grid-template-columns: 18px 1fr; }
  .fulfillment-option b { grid-column: 2; }
}

/* Approved controls sit below the original handover Shop content. */
.shop-page .shop-shell { margin-block: 2rem 4rem; }
.shop-page .book-price span { font-family: var(--body); }
.shop-page .checkout-button { background: var(--ink); color: var(--paper); }
.shop-page .book-details h1 { margin-bottom: 1rem; }
.shop-page .section-kicker { color: var(--muted); font-size: .85rem; }

/* User-supplied cover and foreword-based book presentation. */
.book-feature { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(2rem,5vw,4rem); align-items: start; margin-block: 1rem 4rem; }
.book-cover { margin: 0; max-width: 360px; justify-self: center; }
.book-cover img { display: block; width: 100%; height: auto; max-width: 100%; object-fit: contain; border-radius: 0; clip-path: none; filter: none; }
.book-story h2 { margin: 0 0 1rem; font-family: Chennai, sans-serif; font-weight: 400; font-size: clamp(2.7rem,4.5vw,4.2rem); line-height: 1.08; letter-spacing: -.025em; }
.book-subtitle { margin: 0 0 1.7rem; max-width: 42ch; font-size: 1.06rem; line-height: 1.5; }
.book-blurb p { margin: 0 0 1.2rem; max-width: 58ch; font-size: .97rem; line-height: 1.7; }
.book-blurb { font-weight: 400; }
.book-blurb .book-closing { padding-top: 0; border: 0; font-weight: 400; }
.book-blurb cite, .order-intro cite { font-style: italic; font-synthesis: style; text-decoration: none; color: inherit; }
.book-details h2 { margin: 0 0 1rem; font-family: Chennai, sans-serif; font-weight: 400; font-size: clamp(2.3rem,4vw,3.4rem); line-height: 1.12; }
@media (max-width: 740px) {
  .book-feature { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
  .book-cover { width: min(100%,300px); }
  .book-story h2 { font-size: 3rem; }
  .book-blurb p { max-width: none; }
}

/* Amazon-style book-sales hierarchy, adapted to Souper rather than Amazon branding. */
.shop-page .shop-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: 0;
  border: 0;
}
.shop-page .book-details { padding-top: 0; }
.shop-page .book-details h2,
.shop-page .order-panel h2 {
  font-family: Golos, sans-serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 1rem;
}
.format-label { margin: 0 0 .45rem; font-size: .78rem; color: #635c54; }
.book-format {
  display: inline-flex;
  flex-direction: column;
  min-width: 160px;
  gap: .2rem;
  padding: .8rem 1rem;
  border: 1px solid #e48177;
  border-radius: 6px;
  background: #fbf2e8;
}
.format-name { font-size: .97rem; font-weight: 400; color: #414042; }
.format-alias { font-size: .74rem; color: #635c54; }
.shop-page .book-price {
  display: flex;
  align-items: baseline;
  gap: .1rem;
  margin: 1.25rem 0 .35rem;
  line-height: 1;
  font-weight: 400;
}
.shop-page .book-price .price-currency { font-size: .94rem; }
.shop-page .book-price .price-major { font-size: 2.7rem; font-weight: 400; }
.shop-page .book-price .price-cents { align-self: flex-start; margin-top: .2rem; font-size: .94rem; }
.shop-page .book-price .price-tax { margin-left: .45rem; font-size: .87rem; }
.shop-page .price-caption { margin: 0; color: #635c54; font-size: .75rem; line-height: 1.5; }
.product-details-title { margin: 1.7rem 0 .55rem; font-family: Golos, sans-serif; font-size: .95rem; font-weight: 500; }
.shop-page .book-specs { margin: 1.3rem 0 0; border: 0; font-size: .86rem; }
.shop-page .book-specs > div {
  grid-template-columns: 120px minmax(0, 1fr);
  padding: .65rem 0;
  border: 0;
  line-height: 1.5;
}
.shop-page .book-specs dt { color: #635c54; font-weight: 400; }
.shop-page .book-specs dd { color: #414042; font-weight: 400; }
.shop-page .order-panel {
  padding: 1.4rem;
  border-color: #d6d0c5;
  border-radius: 9px;
  background: #fffefa;
}
.shop-page .order-intro { margin-top: -.35rem; font-size: .8rem; line-height: 1.6; }
.shop-page .fulfillment-option { padding: .72rem .65rem; gap: .55rem; }
.shop-page .fulfillment-option strong { font-size: .78rem; font-weight: 500; }
.shop-page .fulfillment-option small { font-size: .68rem; }
.shop-page .fulfillment-option b { font-size: .71rem; font-weight: 500; }
.shop-page .fulfillment-option .pending-rate { font-size: .66rem; }
.shop-page .order-summary { margin-top: 1.2rem; }
.shop-page .order-summary dl > div { font-size: .8rem; }
.shop-page .order-summary .summary-total { font-size: .96rem; }
@media (max-width: 860px) {
  .shop-page .shop-layout { grid-template-columns: 1fr; gap: 2rem; }
  .shop-page .order-panel { max-width: none; }
}
@media (max-width: 420px) {
  .shop-page .book-specs > div { grid-template-columns: 98px minmax(0, 1fr); }
  .shop-page .order-panel { padding: 1.1rem; }
}

.postage-help { margin: .9rem 0 1.2rem; font-size: .78rem; line-height: 1.55; }
.postage-help a { color: #414042; text-decoration: underline; text-underline-offset: 3px; }
.postage-help a:focus-visible { outline: 3px solid #75612c; outline-offset: 3px; }
.postage-help small { display: block; margin-top: .3rem; color: #635c54; font-size: .71rem; }
