.book-shop-product .product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'intro' 'cover' 'order';
  align-items: start;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.product-intro {
  grid-area: intro;
}

.product-intro .book-eyebrow {
  margin-bottom: 8px;
  color: #28625d;
}

.product-intro h1 {
  margin-bottom: 10px;
  color: #2a1542;
  font-size: clamp(32px, 4.7vw, 59px);
  line-height: 1.03;
  text-wrap: balance;
}

.product-intro .casefile-hook {
  margin-bottom: 4px;
  color: #27615b;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 750;
  line-height: 1.25;
}

.product-intro .casefile-lead {
  max-width: 43ch;
  color: #503a61;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.5;
}

.casefile-scene {
  position: relative;
  isolation: isolate;
  grid-area: cover;
  aspect-ratio: 1.52;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c3926480;
  border-radius: 17px;
  background: #b17856;
  box-shadow: 0 4px 0 #9f724729, 0 14px 29px #51314b17;
}

.casefile-scene::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #38213e56, transparent 43%);
  content: '';
}

.casefile-street {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.casefile-scene .product-cover-prop {
  position: absolute;
  z-index: 1;
  inset: auto auto 12% 19%;
  width: 35%;
  border-radius: 3px 7px 7px 3px;
  box-shadow: 3px 2px 0 #e7d4ad, 6px 4px 0 #806a59, 12px 15px 21px #44242c80;
  transform: rotate(-7deg);
}

.casefile-scene .product-cover-prop img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  border-radius: inherit;
}

.casefile-character {
  position: absolute;
  z-index: 2;
  inset: auto 12% 10% auto;
  width: auto;
  height: 75%;
  filter: drop-shadow(5px 7px 4px #4f262966);
}

.casefile-character-caption {
  position: absolute;
  z-index: 3;
  inset: auto 7% 4% auto;
  display: flex;
  align-items: baseline;
  gap: 5px;
  max-width: 45%;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fff6dd;
  color: #462b53;
  font-size: 10px;
  line-height: 1.15;
  box-shadow: 0 1px 3px #4b23334f;
}

.casefile-character-caption strong {
  font-size: 12px;
}

.product-order {
  grid-area: order;
  min-width: 0;
}

.casefile-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.casefile-facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 3px;
  border-block: 1px solid #e8d8c6;
  background: #fffaf0;
  color: #523865;
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
}

.casefile-facts img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.casefile-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  color: #655170;
  font-size: 11px;
}

.casefile-specs li + li::before {
  margin-inline-end: 12px;
  color: #9b719d;
  content: '·';
}

.product-hero .shop-purchase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 9px 11px;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid #e2d0b6;
  background: #fffdf4;
}

.product-hero .shop-purchase > .shop-field { grid-area: 1 / 1; }
.product-hero .shop-edition-panel:not([hidden]) { display: contents; }
.product-hero .shop-market { grid-area: 1 / 2; min-width: 0; }

.product-hero .shop-field {
  margin: 0;
  color: #4a3057;
  font-size: 12px;
}

.product-hero .shop-field select {
  padding-inline: 7px;
  border-color: #c2adcd;
  font-size: clamp(13px, 2vw, 15px);
}

.product-hero .shop-edition-title,
.product-hero .shop-store-note,
.product-hero .shop-status,
.product-hero .shop-purchase > noscript {
  grid-column: 1 / -1;
  margin: 0;
}

.product-hero .shop-purchase > noscript:empty { display: none; }

.booksite .product-hero .shop-purchase [data-shop-buy] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 7px 11px;
  border: 1px solid #b97e26;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffdf77, #ffc451);
  box-shadow: 0 3px 0 #9b641d4a;
  color: #2b1a22;
  text-align: start;
}

.booksite .product-hero .shop-purchase [data-shop-buy]:hover {
  background: linear-gradient(180deg, #ffe69c, #ffcc65);
}

.product-hero .amazon-order-copy {
  display: grid;
  gap: 2px;
  font: 650 12px/1.2 system-ui, sans-serif;
}

.product-hero .amazon-order-copy [data-shop-buy-market] {
  font: clamp(18px, 3vw, 21px)/1.04 var(--display);
  overflow-wrap: anywhere;
}

.product-hero .amazon-order-icon,
.product-hero .amazon-order-arrow {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.booksite .product-hero .amazon-order-icon {
  width: 33px;
  height: 33px;
  padding: 6px;
  border-radius: 7px;
  background: #fff2ba;
}

.book-shop-product .product-preview {
  align-items: center;
  gap: clamp(11px, 2vw, 22px);
  padding: clamp(15px, 3vw, 30px);
  border: 1px solid #d7c5df;
  border-radius: 16px;
  background: radial-gradient(ellipse at 100% 50%, #e9dcf1, transparent 72%), #faf3fa;
}

.product-preview-copy h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
}

.product-preview .product-preview-copy p:not(.book-eyebrow) {
  font-size: 14px;
  color: #4e3961;
}

.product-preview .product-preview-copy p:last-child {
  font-size: 11px;
  font-weight: 650;
}

.product-preview > a { position: relative; }
.product-preview > a:hover { border-color: #8257a1; }

.product-page-zoom {
  position: absolute;
  inset: auto 8px 8px auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #362050;
  color: #fff8e7;
}

.product-page-zoom svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.book-shop-product .book-inside { align-items: center; }
.book-shop-product .inside-facts { gap: 7px; }
.book-shop-product .inside-facts li { background: #fffdf5; }

.booksite .product-hints {
  border-color: #435950;
  background: radial-gradient(ellipse at 78% 45%, #365f58, transparent 73%), #23453e;
  color: #fff9e8;
}

.product-hints .book-eyebrow { color: #d9ead0; }
.product-hints p:not(.book-eyebrow) { color: #f7f3e6; }
.product-hints .shop-feature-image { max-height: 205px; width: auto; max-width: 100%; }

@media (max-width: 359px) {
  .product-hero .shop-purchase { grid-template-columns: minmax(0, 1fr); }
  .product-hero .shop-market { grid-area: auto; grid-column: 1; }
}

@media (min-width: 800px) {
  .book-shop-product .product-hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: 'cover intro' 'cover order';
    grid-template-rows: 1fr auto;
    gap: 14px clamp(24px, 4vw, 44px);
  }

  .casefile-scene {
    align-self: stretch;
    min-height: 390px;
    aspect-ratio: auto;
    border-radius: 21px;
  }

  .casefile-scene .product-cover-prop { width: min(43%, 245px); }
  .casefile-character-caption { padding: 5px 9px; }
  .product-intro { align-self: end; padding-top: 7px; }
  .casefile-facts li { flex-direction: row; gap: 6px; padding: 8px 5px; }
  .casefile-facts img { width: 32px; height: 32px; }
}

@media (min-width: 1060px) {
  .casefile-scene { min-height: 445px; }
}
