.sheet-photo{background:var(--sheet-background,#e9e5dc)!important;overflow:hidden;display:flex;align-items:center;justify-content:center}
.sheet-photo>svg,.sheet-photo>img{display:block;width:100%;height:100%;max-width:100%;max-height:100%}
.grid-product-photo.sheet-photo{padding:0!important}
/* Three discreet dots; the active view stays visible to assistive technology. */
[data-product-gallery]{position:relative}
.product-view-controls{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:0;padding:0;background:transparent}
.product-view-controls button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer}
.product-view-controls button span{display:block;width:7px;height:7px;border-radius:50%;background:#1b1b1b66;box-shadow:0 0 0 1px #fff9;transition:transform .15s,background .15s}
.product-view-controls button[aria-pressed=true] span{background:#1b1b1b;transform:scale(1.3)}
.product-view-controls button:focus-visible{outline:2px solid #d4f52b;outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){.sheet-photo{animation:sheet-appear .2s ease-out}@keyframes sheet-appear{from{opacity:.65}to{opacity:1}}}
.product-sheet-modal{width:min(960px,calc(100vw - 32px));max-height:92dvh;border:0;border-radius:18px;padding:0;background:#f9f8f2;color:#1b1b1b}
.product-sheet-modal .modalinner{padding:24px;position:relative}
.product-sheet-modal .eyebrow{display:block;margin:0 44px 18px 0}
.sheet-modal-layout{width:100%;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(200px,1fr);gap:26px}
.product-sheet-modal .sheet-photo{width:100%;max-width:none;margin:0;padding:0;min-height:0;height:min(62dvh,650px)!important;aspect-ratio:auto;border-radius:10px}

.sheet-product-info h2{font:800 clamp(24px,3vw,36px)/1.05 var(--td-font);margin:10px 0 24px;text-transform:uppercase;letter-spacing:-.04em}
.sheet-product-info h2 span{display:block}.sheet-product-info p{font-size:13px;line-height:1.6;margin:24px 0}
.sheet-product-info dl{margin:0}.sheet-product-info dl>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ddd}.sheet-product-info dd{font-weight:700;margin:0}
@media(max-width:600px){.product-sheet-modal .modalinner{padding:16px}.sheet-modal-layout{grid-template-columns:minmax(0,1fr);gap:14px}.product-sheet-modal .sheet-photo{width:100%;max-width:none;margin:0;padding:0;min-height:0;height:48dvh!important}.sheet-product-info h2{font-size:24px;margin:4px 0 12px}.sheet-product-info p{margin:12px 0}.sheet-product-info dl>div{padding:8px 0}.product-view-controls button{min-height:32px;height:32px}}

.product-sheet-modal .sheet-photo>svg{width:100%!important;height:100%!important;max-height:100%!important;padding:0;position:static}
/* Legacy picture() fallback: a public packshot always shows its first third. */
.product-photo[style*="packshot/online/"]{background-size:300% auto!important;background-position:0 center!important;aspect-ratio:1056/1344}

/* Intrinsic dimensions reserve the frame; one responsive view replaces the full board. */
.sheet-photo>img{object-fit:contain;min-width:0;min-height:0}
.product-sheet-modal .sheet-photo>img{width:100%!important;height:100%!important;max-height:100%!important}

/* Manual two-view navigation; originals are never cropped into triptych windows. */
.sheet-photo>img{object-fit:contain}
.product-view-controls{background:#ffffffed;border:1px solid #b8b8b8;border-radius:24px;padding:2px;box-shadow:0 2px 8px #0002}
.product-view-controls button[data-product-step]{font-size:22px;color:#161616;min-width:40px;min-height:40px}
.grid-product>.product-view-controls{bottom:48px}

.parcel-summary-link{color:inherit;text-decoration:none}
.grid-product figcaption>.parcel-piece-link{display:flex;justify-content:space-between;align-items:center;gap:5px;width:100%;color:inherit;text-decoration:none}
