.photo-colorway{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;color:var(--ink)}
.photo-colorway-stages{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.photo-colorway.is-comparing .photo-colorway-stages{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-colorway-stage{position:relative;overflow:hidden;aspect-ratio:var(--photo-aspect,4/5);border:1px solid var(--line);border-radius:5px;background:var(--surface-2)}
.photo-colorway-stage[hidden]{display:none}
.photo-colorway-canvas{display:block;width:100%;height:100%;object-fit:contain}
.photo-colorway-tag{position:absolute;left:8px;bottom:8px;padding:3px 6px;border-radius:3px;background:#17171bcc;color:#fff;font:9px var(--mono);letter-spacing:.06em;text-transform:uppercase}
.photo-colorway-note{color:var(--muted);font:10px/1.4 var(--mono)}
.photo-colorway-status{margin:0;color:var(--muted);font-size:11px}
.photo-colorway-status[hidden]{display:none}
.photo-colorway[data-state="loading"] .photo-colorway-canvas,.photo-colorway[data-state="error"] .photo-colorway-canvas{visibility:hidden}
/* Keep the result at a working size, even when its column becomes wider. */
.photo-preview-kit .photo-colorway-stages{justify-items:center;align-items:start}
.photo-preview-kit .photo-colorway-stage{width:100%;max-width:420px}
.photo-preview-kit .care-preview-body{grid-template-columns:minmax(0,1fr);min-height:0;padding:10px 0;gap:10px}
.photo-preview-kit{padding:12px}
.photo-preview-kit>header{align-items:center;flex-wrap:wrap;gap:8px;padding-bottom:8px}
.photo-preview-kit h4{font-size:22px;margin-top:3px}
.photo-preview-kit .colorway-toolbar{flex:1;padding:0;justify-content:flex-end;gap:6px}
.photo-preview-kit .product-preview-meta{display:none}
.photo-preview-kit>footer{border:0;padding-top:0;justify-content:center}
.photo-preview-kit>footer>span:first-child{display:none}
@media (min-width:901px){.photo-preview-kit .photo-colorway-stage{max-width:min(420px,max(280px,calc(100svh - 380px)))}}
@media (max-width:520px){.photo-colorway.is-comparing .photo-colorway-stages{grid-template-columns:minmax(0,1fr)}}
