/* Neutral, uncropped photography: original colour and visible wear are retained. */
[data-product-gallery]{min-width:0}
[data-product-gallery] .product-main-photo{aspect-ratio:1;background:#f0efec;border:1px solid #dedbd3;overflow:hidden}
.photo-open{display:block;position:relative;width:100%;height:100%;padding:12px;cursor:zoom-in;touch-action:pan-y pinch-zoom}
.photo-open #product-image{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.photo-open .zoom-button{bottom:14px;right:14px;padding:10px 13px;font-size:14px;color:#1c2421;background:#fffefaed;border:1px solid #d6c9ae;pointer-events:none;letter-spacing:.2px}
[data-product-gallery] .gallery-controls{margin:12px 0 8px;font-size:14px;letter-spacing:.4px}
[data-product-gallery] .gallery-controls button,.photo-navigation button,.photo-zoom-controls button{display:inline-grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #d9d4c9;border-radius:2px;background:#fcfbf8;color:#1c2421;font-size:21px}
[data-product-gallery] .gallery-controls button:hover,.photo-navigation button:hover,.photo-zoom-controls button:hover{border-color:#9d7b42;background:#f1ebdf}
[data-product-gallery] .gallery-thumbs{margin-top:6px;padding:5px 3px 10px;gap:9px;scrollbar-width:thin;scrollbar-color:#b09a73 transparent}
[data-product-gallery] .gallery-thumbs button,.photo-thumbs button{flex:0 0 70px;width:70px;height:70px;padding:3px;background:#f0efec;border:1px solid #d9d4c9;border-radius:2px}
[data-product-gallery] .gallery-thumbs button.is-active,.photo-thumbs button.is-active{outline:2px solid #98763d;outline-offset:1px;border-color:#98763d}
[data-product-gallery] .gallery-thumbs img,.photo-thumbs img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}
.gallery-note{font-size:14px;line-height:1.7;color:#62665f;margin-top:4px}
.photo-status{font-size:14px;line-height:1.6;color:#7c542d;min-height:0}
.photo-status:empty{display:none}
.photo-viewer-open{overflow:hidden}
.photo-dialog{position:fixed;inset:0;width:min(1400px,calc(100vw - 40px));height:min(1000px,calc(100dvh - 40px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #c7b998;background:#faf8f3;overflow:hidden}
.photo-dialog::backdrop{background:#111712e6;backdrop-filter:blur(4px)}
.photo-viewer-inner{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;height:100%;min-height:0}
.photo-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px 12px;border-bottom:1px solid #e2ddd3}
.photo-header .eyebrow{font-size:12px;color:#8c7447;letter-spacing:1.7px}
.photo-header h2{font-family:var(--sans);font-size:19px;line-height:1.4;font-weight:500;max-width:100%;overflow-wrap:anywhere;margin-top:4px}
.photo-header .dialog-close{position:static;flex:0 0 44px;width:44px;height:44px;min-height:44px;border:1px solid #d9d4c9;font-size:29px;background:#fcfbf8;line-height:1}
.photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 24px}
.photo-navigation,.photo-zoom-controls{display:flex;align-items:center;gap:8px}
.photo-navigation>span{font-size:14px;min-width:90px;text-align:center;font-variant-numeric:tabular-nums}
.photo-zoom-controls button[data-photo-fit],.photo-zoom-controls button[data-photo-actual]{font-size:14px;padding:0 12px}
.photo-zoom-controls button[aria-pressed=true]{background:#eae2d2;border-color:#9d7b42}
.photo-dialog button:disabled{opacity:.38;cursor:default}
.photo-viewport{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;background:#eae9e6;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:thin;position:relative}
.photo-viewport:focus-visible{outline:2px solid #a77841;outline-offset:-3px}
.photo-canvas{display:grid;place-items:center;min-width:100%;min-height:100%}
.photo-dialog #zoom-image{display:block;max-width:none;max-height:none;width:auto;height:auto;object-fit:contain;background:transparent;margin:0;mix-blend-mode:normal;user-select:none;-webkit-user-drag:none}
.photo-viewport.is-magnified{cursor:grab}.photo-viewport.is-magnified:active{cursor:grabbing}
.photo-caption{display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;padding:10px 24px 0}
.photo-caption #photo-help{font-size:13px;line-height:1.7;color:#66685f;margin:0;text-align:left}
.photo-caption>a{font-size:14px;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:4px;color:#63502e}
.photo-caption .photo-status{width:100%;margin:0;text-align:left}
.photo-thumbs.gallery-thumbs{margin:0;padding:7px 24px 14px;gap:10px;min-height:0;max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:thin}
.photo-thumbs button{flex-basis:56px;width:56px;height:56px}
.photo-dialog .sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@media(min-width:1000px){[data-product-gallery]{position:sticky;top:110px}.product-request .offer-product-link{align-self:stretch;display:flex;align-items:center;justify-content:center;min-height:44px;margin:0}}
@media(max-width:700px){
  .photo-open{padding:8px}.photo-open .zoom-button{bottom:10px;right:10px;font-size:13px;padding:9px 10px}
  [data-product-gallery] .gallery-thumbs button{flex-basis:60px;width:60px;height:60px}
  .gallery-note{font-size:13px}.photo-dialog{width:100vw;height:100dvh;border:0;margin:0;inset:0}
  .photo-header{padding:calc(12px + env(safe-area-inset-top)) 14px 10px;gap:10px}
  .photo-header h2{font-size:15.5px;line-height:1.4}.photo-header .eyebrow{font-size:12px;letter-spacing:1px}
  .photo-toolbar{padding:8px 14px;flex-wrap:wrap;gap:6px}.photo-navigation{flex:1;justify-content:space-between;gap:6px}.photo-navigation>span{min-width:72px}
  .photo-zoom-controls{justify-content:flex-end;gap:5px}.photo-zoom-controls button[data-photo-fit],.photo-zoom-controls button[data-photo-actual]{padding:0 8px}
  .photo-caption{padding:7px 14px 0;gap:0 10px}.photo-caption #photo-help{font-size:12px;flex:1;min-width:180px}.photo-caption>a{font-size:13px}
  .photo-thumbs.gallery-thumbs{padding:6px 14px calc(12px + env(safe-area-inset-bottom));gap:8px}.photo-thumbs button{flex-basis:48px;width:48px;height:48px}
  .product-request .offer-product-link{align-self:stretch;justify-content:center;min-height:44px;display:flex;margin:0;font-size:15px}
}
@media(max-height:500px) and (orientation:landscape){.photo-header{padding:7px 14px}.photo-header .eyebrow,.photo-caption #photo-help,.photo-thumbs{display:none}.photo-toolbar{padding:5px 14px}.photo-caption{padding:0 14px}.photo-header h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){[data-product-gallery] *,[data-photo-viewer] *{scroll-behavior:auto;transition:none}}
