.product-visual-reference{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:12px 0;min-width:0}
.product-photo-button{display:inline-flex;flex-direction:column;align-items:stretch;flex:0 0 80px;width:80px;max-width:100%;padding:4px;border:1px solid #d3e2de;border-radius:10px;background:#fff;color:#24594f;cursor:pointer;text-align:center}
.product-photo-button [data-media-frame]{display:grid;place-items:center;position:relative;width:70px;height:70px;max-width:100%;overflow:hidden;border-radius:7px;background:#f1f6f4}
.product-photo-button img{width:100%;height:100%;object-fit:contain}.product-photo-count{font-size:10px;line-height:1.5;padding-top:3px}
.product-photo-fallback{display:none;font-size:10px;padding:4px}.product-photo-button .media-unavailable .product-photo-fallback{display:block}.product-photo-button .media-unavailable img{display:none}.product-photo-empty{font-size:11px;color:#657a75;display:inline-block;margin:6px 0}
.product-colour-references{flex:1 1 125px;min-width:0;margin:0;font-size:12px}.product-reference-label{display:block;color:#657a75;font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}.product-colour-reference{margin:0 0 7px;overflow-wrap:anywhere}.product-colour-reference>strong{display:block;font-size:12px;margin-bottom:4px}
.product-fabric-chips{display:flex;flex-wrap:wrap;gap:5px}.product-fabric-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:4px 6px;border:1px solid #dbe6e2;border-radius:6px;background:#f7faf9;line-height:1.4}.product-fabric-chip small{display:block;font-size:10px;font-weight:400;color:#60736d}
.product-reference-swatch{display:inline-block;flex:0 0 22px;width:22px;height:22px;border-radius:5px;border:1px solid #889a95;background:var(--product-shade);box-shadow:inset 0 0 0 2px #fff}
.product-photo-dialog{width:min(780px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;border:1px solid #c9d9d3;border-radius:16px;padding:16px;background:#fff;color:#143a30;overflow:auto}.product-photo-dialog::backdrop{background:rgba(9,30,25,.7)}.product-photo-dialog header,.product-photo-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.product-photo-dialog h2{font-size:18px;margin:0;overflow-wrap:anywhere}.product-photo-dialog button{min-height:44px;padding:8px 12px;border:1px solid #c9d9d3;border-radius:8px;background:#f7faf9;color:#143a30;cursor:pointer}.product-photo-dialog button:disabled{opacity:.4;cursor:default}.product-photo-stage{min-height:200px;display:grid;place-items:center;margin:12px 0}.product-photo-stage img{max-width:100%;max-height:65dvh;object-fit:contain}.product-photo-stage [hidden]{display:none}.product-photo-stage p:empty{display:none}.product-photo-dialog footer{font-size:12px}.product-photo-button:focus-visible,.product-photo-dialog button:focus-visible{outline:3px solid #337dde;outline-offset:3px}
