.alpi-book-jump {display:inline-flex;align-items:center;min-height:44px;gap:.45em;margin-inline-start:.8rem;color:inherit;font-size:.85rem;text-decoration:underline;text-underline-offset:.22em;}
.alpi-physical {padding:clamp(32px,5vw,72px) var(--page);}
.alpi-physical-inner {max-width:960px;margin-inline:auto;scroll-margin-top:6px;}
.alpi-book-request {max-width:960px;margin:20px auto 0;}
.alpi-physical-heading {display:flex;align-items:end;justify-content:space-between;gap:12px 32px;margin-bottom:16px;}
.alpi-physical-heading h2 {margin:0;font-size:clamp(1.8rem,3.3vw,3.1rem);font-weight:450;line-height:1.1;letter-spacing:-.035em;}
.alpi-photo-pager {display:flex;align-items:center;gap:clamp(10px,1.5vw,24px);white-space:nowrap;}
.alpi-photo-pager button {min-height:44px;display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:inherit;font:inherit;font-size:.9rem;cursor:pointer;}
.alpi-photo-pager button:hover {text-decoration:underline;text-underline-offset:4px;}
.alpi-photo-pager [data-book-count] {color:#55594f;font-size:.84rem;font-variant-numeric:tabular-nums;}
.alpi-physical figure {margin:0;}
.alpi-physical .book-photo-frame {background:#000;display:flex;align-items:center;justify-content:center;aspect-ratio:auto;height:clamp(340px,53svh,630px);}
.alpi-physical .book-photo-frame img {display:block;width:100%;height:100%;object-fit:contain;}
.alpi-physical-zoom {position:absolute;inset-inline-start:50%;transform:translateX(-50%);bottom:9px;white-space:nowrap;display:flex;align-items:center;gap:6px;padding:6px 10px;background:#161616e8;color:white;font-size:.78rem;}
.alpi-physical figcaption {margin-top:8px;color:#56584e;font-size:.9rem;line-height:1.5;}
.alpi-physical .book-photo-choices {grid-template-columns:repeat(7,minmax(0,1fr));gap:clamp(4px,.8vw,12px);margin-top:10px;}
.alpi-physical .book-thumb-art {aspect-ratio:3/2;background:#000;}
.alpi-physical .book-thumb-art img {width:100%;height:100%;object-fit:contain;}
.alpi-physical .book-photo-choice {text-align:start;}
[dir="rtl"] .alpi-photo-pager button [aria-hidden] {transform:scaleX(-1);}
@media(max-width:760px) {

  .alpi-physical-heading {display:block;margin-bottom:6px;}
  .alpi-photo-pager {justify-content:space-between;}
  .alpi-physical .book-photo-frame {height:auto;aspect-ratio:4/3;}
  .alpi-physical .book-photo-choices {grid-template-columns:repeat(4,minmax(0,1fr));}
}

/* Frame the open spreads more tightly while keeping the full photograph available on click. */
.alpi-physical .book-photo-frame:is([data-view="open-book"],[data-view="veneer-swatches"]) img {flex:none;width:min(100%,112svh,1180px);height:auto;}
.alpi-physical .book-photo-choice:is([data-view="open-book"],[data-view="veneer-swatches"]) img {object-fit:cover;}
[dir="rtl"] .alpi-physical-zoom {transform:translateX(50%);}
@media(max-width:760px) {
  .alpi-physical .book-photo-frame:is([data-view="open-book"],[data-view="veneer-swatches"]) img {width:115%;max-width:none;}
}
