/* Approved 28 October 2026: centered catalog screens and a shared viewport-fit viewer. */
#aranstad-site .review-product .ap-cover-window > .ap-window-top{flex:0 0 auto}
#aranstad-site .review-product .ap-cover-window > .ay-card-screens{flex:1 1 0;min-height:0;height:auto;align-items:center;justify-content:center;padding:12px 8px}
:is(#ay-viewer,#az-viewer){box-sizing:border-box;inset:0;margin:0;width:100%;height:100vh;height:100dvh;max-width:100%;max-height:100vh;max-height:100dvh;padding:12px 16px;overflow:hidden}
:is(#ay-viewer,#az-viewer)[open]{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px;align-items:stretch;justify-items:center}
:is(#ay-viewer,#az-viewer) > .ay-viewer-heading{width:100%;min-width:0;padding:0;gap:12px}
:is(#ay-viewer,#az-viewer) > .ay-viewer-heading > span{min-width:0;overflow-wrap:anywhere}
:is(#ay-viewer,#az-viewer) > .ay-viewer-heading > button{flex-shrink:0;white-space:nowrap}
:is(#ay-viewer,#az-viewer) > :is(#ay-full-image,#az-full-image){display:block;box-sizing:border-box;min-width:0;min-height:0;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;align-self:stretch;justify-self:stretch}
:is(#ay-viewer,#az-viewer) > .ay-prevnext{margin:0;gap:16px;align-self:center;justify-self:center}

/* Supplied 3 November 2026 media: keep all image pixels; CSS phone frame for clean Azimut screens. */
#aranstad-site .ay-hero-image{object-fit:contain;height:auto}
#aranstad-site #az-gallery .ay-shot img{box-sizing:border-box;border:6px solid #14212d;border-radius:24px;background:#14212d}
#az-viewer > #az-full-image{width:auto;height:100%;max-width:100%;justify-self:center;border:6px solid #14212d;border-radius:24px;background:#14212d}
@media(max-width:460px){#aranstad-site #az-gallery .ay-shot img,#az-viewer > #az-full-image{border-width:4px;border-radius:18px}}
