.product-page { background: var(--cream); }
.product-page .site-header { background: rgba(255,255,255,.98); }
.product-main { overflow: hidden; }
.product-breadcrumb { padding-top: 22px; }
.product-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 12px; }
.product-breadcrumb a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; color: var(--sage-dark); font-weight: 700; }
.product-breadcrumb li + li::before { content: "›"; margin-right: 10px; color: var(--coral); }

.product-hero { position: relative; padding: 28px 0 64px; }
.product-hero::before { content: ""; position: absolute; left: -75px; top: 90px; width: 190px; height: 190px; border-radius: 50%; background: var(--peach-pale); }
.product-hero::after { content: ""; position: absolute; right: -45px; bottom: 22px; width: 150px; height: 150px; border-radius: 50%; background: var(--sage-pale); }
.product-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .86fr); align-items: start; gap: clamp(42px, 6vw, 84px); }

.product-gallery { min-width: 0; }
.carousel-stage { position: relative; min-height: 690px; display: grid; place-items: center; padding: 28px 72px 48px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-raised); }
.carousel-slide { width: 100%; margin: 0; text-align: center; }
.carousel-slide[hidden] { display: none; }
.carousel-slide img { width: auto; max-width: 100%; height: 610px; margin-inline: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 12px 30px rgba(40,42,35,.13); }
.carousel-slide figcaption { margin-top: 16px; color: var(--ink-soft); font-size: 12px; }
.carousel-control { position: absolute; top: 50%; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.94); box-shadow: var(--shadow); cursor: pointer; transform: translateY(-50%); }
.carousel-control:hover { color: var(--coral-dark); background: var(--white); }
.carousel-control.prev { left: 16px; }
.carousel-control.next { right: 16px; }
.carousel-thumbnails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.carousel-thumbnail { min-height: 116px; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; padding: 7px; border: 1px solid var(--line); border-radius: var(--radius-control); color: var(--ink-soft); background: var(--surface); text-align: left; cursor: pointer; }
.carousel-thumbnail img { width: 64px; height: 94px; object-fit: cover; object-position: center; border-radius: 5px; }
.carousel-thumbnail span { font-size: 11px; font-weight: 700; line-height: 1.25; }
.carousel-thumbnail.is-active { border-color: var(--sage-dark); color: var(--ink); background: var(--sage-pale); box-shadow: inset 0 0 0 1px var(--sage-dark); }
.product-copy { padding-top: 34px; }
.product-eyebrow { margin-bottom: 14px; color: var(--coral-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.product-copy h1 { max-width: 620px; margin-bottom: 20px; font-size: clamp(43px, 4.2vw, 62px); line-height: 1.02; }
.product-lead { margin-bottom: 22px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.product-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.product-tags span { min-height: 38px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; color: #486052; background: var(--sage-pale); font-size: 12px; font-weight: 700; }
.product-price-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.product-price-label { display: grid; gap: 3px; color: var(--ink-soft); font-size: 12px; }
.product-price { color: var(--ink); font: 700 38px/1 var(--serif); }
.product-format { color: var(--sage-dark); font-size: 12px; font-weight: 750; text-align: right; }
.product-buy { width: 100%; margin-top: 24px; min-height: 58px; font-size: 16px; }
.other-book-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--sage-dark); font-size: 12px; font-weight: 750; }

.product-details { padding: 68px 0; background: var(--white); }
.product-section-heading { max-width: 820px; margin-bottom: 34px; }
.product-section-heading p { margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.selling-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.selling-card { min-height: 210px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
.selling-card .card-number { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 50%; color: var(--coral-dark); background: var(--peach-pale); font: 700 16px/1 var(--serif); }
.selling-card h2 { margin-bottom: 11px; font-size: 23px; }
.selling-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

.product-content { padding: 66px 0; background: var(--cream); }
.product-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.content-panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow); }
.content-panel h2 { margin-bottom: 20px; }
.product-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.product-list li { position: relative; padding-left: 28px; color: var(--ink-soft); line-height: 1.55; }
.product-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sage-dark); font-weight: 800; }
.medical-note { margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--coral); color: var(--ink-soft); background: var(--peach-pale); font-size: 12px; line-height: 1.55; }

.product-final { padding: 52px 0; background: var(--sage-pale); }
.product-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.product-final h2 { margin-bottom: 8px; }
.product-final p { margin: 0; color: var(--ink-soft); }
.product-final .button { flex: 0 0 auto; }

@media (max-width: 1120px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr); gap: 38px; }
  .carousel-stage { min-height: 620px; padding-inline: 64px; }
  .carousel-slide img { height: 535px; }
  .carousel-thumbnail { grid-template-columns: 52px 1fr; }
  .carousel-thumbnail img { width: 52px; height: 80px; }
}

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-copy { grid-row: 1; padding-top: 8px; }
  .product-gallery { grid-row: 2; }
  .product-copy h1 { max-width: 720px; }
  .carousel-stage { min-height: 680px; }
  .carousel-slide img { height: 600px; }
  .selling-grid { grid-template-columns: 1fr; }
  .selling-card { min-height: 0; }
}

@media (max-width: 640px) {
  .product-breadcrumb { padding-top: 10px; }
  .product-breadcrumb li[aria-current="page"] { display: none; }
  .product-hero { padding-top: 18px; padding-bottom: 44px; }
  .product-copy h1 { font-size: 40px; }
  .product-lead { font-size: 16px; }
  .product-price-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .product-format { text-align: left; }
  .carousel-stage { min-height: 510px; padding: 20px 52px 44px; }
  .carousel-slide img { height: 435px; }
  .carousel-control { width: 44px; height: 44px; }
  .carousel-control.prev { left: 5px; }
  .carousel-control.next { right: 5px; }
  .carousel-thumbnails { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .carousel-thumbnail { min-height: 86px; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0; padding: 5px; text-align: center; }
  .carousel-thumbnail img { width: 48px; height: 72px; }
  .carousel-thumbnail span { display: none; }
  .product-details, .product-content { padding-block: 45px; }
  .product-content-grid { grid-template-columns: 1fr; }
  .content-panel { padding: 25px 20px; }
  .product-final-inner { align-items: stretch; flex-direction: column; }
  .product-final .button { width: 100%; }
}
