.product-preview {
  padding-block: 18px 28px;
}
.product-preview > h2 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.16;
}
.pp-surface {
  padding: clamp(24px, 3vw, 42px);
  border-radius: 4px;
  background: #f5f5f4;
}
.pp-frame {
  position: relative;
  max-width: 1120px;
  margin-inline: auto;
  background: #fff;
  border-radius: 3px;
}
.pp-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
}
.pp-hotspots { position: absolute; inset: 0; pointer-events: none; }
.pp-hotspot {
  appearance: none;
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #17191b;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.pp-hotspot::before {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #7a7c7e;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px #00000012;
  content: "";
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.pp-hotspot > span { position: relative; }
.pp-hotspot:hover::before { transform: scale(1.08); border-color: #17191b; }
.pp-hotspot[aria-pressed="true"] { color: #fff; }
.pp-hotspot[aria-pressed="true"]::before { background: #17191b; border-color: #17191b; }
.pp-hotspot:focus-visible,
.pp-choice:focus-visible { outline: 2px solid #17191b; outline-offset: 4px; }
.pp-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 18px;
  color: #606265;
  font-size: 16px;
  line-height: 1.4;
}
.pp-instruction { color: #606265; }
.pp-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}
.pp-step {
  min-width: 0;
  padding: 18px 14px 20px;
  margin-inline: -14px;
  border-radius: 3px;
  transition: background 180ms ease;
}
.pp-step.is-selected { background: #ffffffb3; }
.pp-step h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.pp-choice {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: #17191b;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
}
.product-preview .pp-choice:disabled { opacity: 1; cursor: default; }
.pp-step-number {
  flex-shrink: 0;
  color: #6b6d70;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}
.pp-step p { margin-top: 12px; color: #55585b; font-size: 18px; line-height: 1.5; }
.pp-course { padding: 28px; }
.pp-course-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 36px; }
.pp-course-brand { color: #17191b; font-size: 30px; font-weight: 700; letter-spacing: -.05em; }
.pp-course-tag { color: #646669; font-size: 14px; }
.pp-course-grid { display: grid; grid-template-columns: .9fr 1.2fr .9fr; gap: 30px; align-items: start; }
.pp-course-grid > div { outline: 1px solid transparent; outline-offset: 8px; border-radius: 3px; transition: outline-color 180ms ease; }
.pp-course-grid > .is-selected { outline-color: #c9cbcc; }
.pp-course h3 { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.16; letter-spacing: -.03em; margin-bottom: 18px; }
.pp-course p { font-size: 17px; line-height: 1.5; }
.pp-course .pp-course-kicker { color: #696b6e; font-size: 14px; margin-bottom: 16px; }
.pp-source-credit { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 16px; line-height: 1.4; }
.pp-source-credit small { color: #65676a; font-size: 13px; }
.pp-source-symbol { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #efefed; font-size: 21px; }
.pp-lecture { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; aspect-ratio: 1.45; border-radius: 3px; background: #292b2d; color: #fff; font-size: 17px; }
.pp-play-symbol { font-size: 38px; line-height: 1; color: #fff; }
.pp-module-parts { display: flex; justify-content: space-around; gap: 10px; padding-block: 18px; font-size: 16px; }
.pp-course-module > p { color: #65676a; font-size: 14px; }
.pp-course-dialogue { padding: 22px; background: #f5f5f4; border-radius: 3px; }
.pp-companion-note { display: block; color: #65676a; font-size: 13px; line-height: 1.4; margin-top: 24px; }
@media (min-width: 1101px) {
  .pp-surface { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:36px; align-items:center; }
  .pp-frame { width:100%; }
  .pp-caption { margin-top:0; }
  .pp-caption .pp-instruction { flex-basis:100%; }
  .pp-details { grid-template-columns:minmax(0,1fr); gap:8px; margin-top:18px; }
  .pp-step { padding:14px 16px; margin-inline:-16px; }
  .pp-step p { font-size:18px; }
  .pp-course { padding:22px; }
  .pp-course-top { margin-bottom:24px; }
  .pp-course-grid { gap:20px; }
  .pp-course h3 { font-size:23px; }
  .pp-course-dialogue { padding:16px; }
  .pp-course p { font-size:16px; }
}
@media (max-width: 1000px) {
  .pp-details { gap: 22px; }
  .pp-step h3 { font-size: 20px; }
  .pp-step p { font-size: 17px; }
  .pp-course { padding: 22px; }
  .pp-course-grid { gap: 20px; }
  .pp-course-dialogue { padding: 16px; }
  .pp-course p { font-size: 16px; }
}
@media (min-width: 1101px) and (max-width: 1400px) {
  .pp-unifrica .pp-surface { display: block; }
  .pp-unifrica .pp-caption { margin-top: 18px; }
  .pp-unifrica .pp-caption .pp-instruction { flex-basis: auto; }
  .pp-unifrica .pp-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
}
@media (max-width: 700px) {
  .product-preview { padding-block: 8px 18px; }
  .product-preview > h2 { font-size: 30px; margin-bottom: 22px; }
  .pp-surface { padding: 24px 18px; }
  .pp-caption { font-size: 15px; margin-top: 16px; gap: 8px; }
  .pp-instruction { display: none; }
  .pp-details { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 18px; }
  .pp-step { padding: 12px 10px 16px; margin-inline: -10px; }
  .pp-step h3 { font-size: 20px; }
  .pp-step p { margin-top: 6px; font-size: 17px; }
  .pp-course { padding: 18px; }
  .pp-course-top { margin-bottom: 24px; flex-wrap: wrap; gap: 6px 18px; }
  .pp-course-brand { font-size: 27px; }
  .pp-course-tag { font-size: 13px; }
  .pp-course-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pp-course h3 { font-size: 24px; margin-bottom: 12px; }
  .pp-source-credit { margin-top: 18px; }
  .pp-course .pp-course-kicker { margin-bottom: 12px; }
  .pp-course-module { padding-inline: 0; }
  .pp-lecture { aspect-ratio: 1.8; }
  .pp-course-dialogue { padding: 20px; }
  .pp-unifrica .pp-hotspots { display: none; }
}
@media (max-width: 360px) {
  .pp-surface { padding: 20px 16px; }
  .pp-course { padding: 16px; }
  .pp-choice { gap: 10px; }
  .pp-step h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-preview *, .product-preview *::before { transition: none !important; }
}
@media print {
  .pp-surface { padding: 20px; }
  .pp-hotspots, .pp-instruction { display: none; }
  .pp-details { grid-template-columns: 1fr; }
  .pp-step, .pp-step.is-selected { background: transparent; }
  .pp-step p { font-size: 12pt; }
}
