.za-book-promo {
  --stage-width: clamp(200px, 30%, 420px);
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  isolation: isolate;
  margin: 0 0 22px;
  border: 1px solid white;
  border-radius: 26px;
  background: linear-gradient(110deg, #eee4fb, #f7f5fc 52%, #e4f3fa);
  box-shadow: inset 0 2px 2px white, 0 10px 24px #715c9b12;
  color: #302344;
}
.za-book-promo [hidden] { display: none !important; }
.zp-slide {
  --accent: #674593;
  --glow: #cabce6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--stage-width);
  align-items: center;
  padding-inline: clamp(20px, 3vw, 52px);
  min-height: 224px;
}
.zp-slide[data-level="A2"] { --accent: #31634f; --glow: #b4decc; }
.zp-slide[data-level="B1"] { --accent: #864728; --glow: #ebc7b3; }
.zp-slide[data-level="B2"] { --accent: #365d83; --glow: #b4d4ec; }
.zp-slide[data-level="C1"] { --accent: #744052; --glow: #e6bdcf; }
.zp-copy { position: relative; z-index: 1; padding: 18px 0; }
.zp-copy h2 { margin: 0 0 9px; font-size: clamp(26px, 3vw, 43px); font-weight: 600; line-height: 1.12; letter-spacing: -.035em; color: #302344; }
.zp-copy p { margin: 0 0 19px; max-width: 54ch; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.5; color: #584e69; }
.zp-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 24px; border-radius: 14px; background: var(--accent); box-shadow: inset 0 1px 0 #ffffff60, 0 3px 9px #39275320; text-decoration: none; color: white; font-weight: 600; }
.zp-cta:hover { filter: brightness(1.09); }
.zp-stage { position: relative; display: grid; place-items: center; align-self: stretch; padding: 12px 0 43px; isolation: isolate; }
.zp-stage::before { content: ''; position: absolute; inset: 0 -10% 0; z-index: -1; background: radial-gradient(ellipse closest-side, var(--glow), transparent); opacity: .8; }
.zp-stage::after { content: ''; position: absolute; width: 77%; height: 20px; bottom: 33px; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #3c3a582b, transparent 70%); }
.zp-stage img { width: auto; height: 163px; max-width: 90%; object-fit: contain; transform: perspective(720px) rotateY(-9deg) rotateZ(3deg); border-radius: 2px; box-shadow: 1px 1px 0 #fff, 2px 2px 0 #d5d0d1, 3px 3px 0 #fff, 5px 8px 14px #37294930; }
.zp-controls { position: absolute; bottom: 5px; right: clamp(20px, 3vw, 52px); width: calc((100% - 2 * clamp(20px, 3vw, 52px)) * .30); min-width: 200px; max-width: 420px; display: flex; justify-content: center; align-items: center; }
.zp-controls button { display: grid; place-items: center; width: 25px; height: 32px; padding: 0; border: 0; color: #514769; background: transparent; cursor: pointer; }
.zp-controls [data-promo-index] span { width: 6px; height: 6px; background: #9f97af; border-radius: 20px; }
.zp-controls [aria-pressed="true"] span { width: 17px; background: #5b4979; }
.zp-controls .zp-toggle { margin-left: 6px; border-left: 1px solid #cbc5d6; width: 31px; }
.zp-toggle span { width: 9px; height: 10px; border-inline: 3px solid currentColor; }
.zp-toggle[data-paused="true"] span { width: 0; height: 0; border: 5px solid transparent; border-right: 0; border-left: 8px solid currentColor; }
.za-book-promo :is(a,button):focus-visible { outline: 2px solid #65458a; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .zp-enter .zp-copy { animation: zp-copy-in .48s ease-out both; }
  .zp-enter .zp-stage img { animation: zp-cover-in .7s cubic-bezier(.2,.75,.24,1) both; }
  @keyframes zp-copy-in { from { opacity: 0; transform: translateY(5px); } }
  @keyframes zp-cover-in { from { opacity: 0; transform: perspective(720px) translateX(18px) rotateY(-20deg) rotateZ(5deg); } }
}
@container (max-width: 540px) {
  .zp-slide { grid-template-columns: minmax(0, 1fr) 105px; gap: 10px; min-height: 206px; padding: 14px 16px 40px; }
  .zp-copy { padding: 0; }
  .zp-copy h2 { font-size: clamp(20px, 5.7cqw, 28px); }
  .zp-copy p { font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
  .zp-stage { align-self: center; padding: 0; }
  .zp-stage img { height: 118px; }
  .zp-stage::after { bottom: -9px; }
  .zp-cta { min-height: 36px; padding: 7px 13px; font-size: 13px; }
  .zp-controls { bottom: 4px; width: 100%; right: 0; max-width: none; min-width: 0; }
}
