.product-photo-gallery{display:flex;flex-direction:column;justify-content:center;gap:14px;padding:24px;min-width:0}.product-photo-gallery #product-photo-stage{width:100%;display:flex;align-items:center;justify-content:center;min-height:200px}.product-photo-gallery #product-photo-stage>img{width:100%;height:auto;max-height:520px;object-fit:contain}.product-photo-thumbs{display:flex;gap:9px;flex-wrap:wrap;width:100%}.product-photo-thumbs button{width:62px;height:62px;border:2px solid transparent;border-radius:6px;background:#101722;padding:3px;overflow:hidden}.product-photo-thumbs button[aria-pressed=true]{border-color:#00AEEF}.product-photo-thumbs img{height:100%;width:100%;object-fit:contain}.product-photo-gallery>p{margin:0;text-align:center}.product-extra-editor{padding:26px 35px;border-top:1px solid #304050}.product-extra-editor h3{font-size:22px}.product-extra-editor h3 small{font-size:14px;color:#98a5b7;letter-spacing:0}.product-extra-url{display:flex;align-items:end;gap:12px;margin:20px 0}.product-extra-url label{flex:1}.product-extra-row{display:flex;gap:18px;align-items:center;padding:14px;border:1px solid #304050;border-radius:8px;margin:12px 0}.product-extra-row>img{width:90px;height:90px;object-fit:contain;background:#111f2d;border-radius:6px}.product-extra-row strong{font-size:14px}.product-extra-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.product-extra-actions .button{padding:8px;font-size:14px}.storage-admin>p,.storage-admin #storage-summary{font-size:14px;color:#a5b5c6}.storage-file{display:flex;flex-direction:row;align-items:center;padding:12px;border:1px solid #304050;border-radius:7px;gap:12px;margin:10px 0}.storage-file input{width:18px;flex-shrink:0}.storage-file img{width:65px;height:65px;object-fit:contain;background:#111f2d}.storage-file span{min-width:0}.storage-file strong{display:block;font-size:14px;overflow-wrap:anywhere}.storage-file small{display:block;font-size:14px;margin-top:7px}.storage-page{display:flex;align-items:center;gap:14px;margin:18px 0;font-size:14px}@media(max-width:620px){.product-extra-editor{padding:20px}.product-extra-url{flex-direction:column;align-items:stretch}.product-extra-row{align-items:flex-start;gap:10px}.product-extra-row>img{width:65px;height:65px}.product-photo-gallery{padding:18px}.product-photo-thumbs button{width:54px;height:54px}.storage-file img{width:48px;height:48px}}

/* The gallery has intrinsic height, including on small screens. */
.product-modal-art.product-photo-gallery{height:auto;min-height:0;align-self:start;justify-content:flex-start;overflow:visible;flex-shrink:0}
#product-photo-open{display:block;width:100%;padding:0;cursor:zoom-in;flex-shrink:0}
.product-photo-gallery #product-photo-stage{display:flex;width:100%;min-height:0;align-items:center;justify-content:center}
.product-photo-gallery #product-photo-stage>img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}
.photo-enlarge-hint{display:block;color:#90cfe9;font-size:14px;margin-top:12px}
.product-photo-thumbs{flex-shrink:0}.product-photo-thumbs button{flex-shrink:0}
#photo-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:16px;border:0;border-radius:0;background:#080e16;color:#e8edf3;overflow:hidden}
#photo-dialog[open]{display:flex;flex-direction:column;gap:12px}
.photo-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-shrink:0;font-size:14px}.photo-viewer-toolbar button{font-size:30px;padding:0 10px}
.photo-zoom-viewport{overflow:auto;flex:1;min-height:0;width:100%;background:#101a25;touch-action:auto;cursor:grab}.photo-full-image{display:block;max-width:none;object-fit:contain;user-select:none;-webkit-user-drag:none}
.photo-viewer-controls{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;flex-shrink:0}.photo-viewer-controls button,.photo-viewer-controls a{border:1px solid #3c5870;border-radius:6px;padding:9px 13px;font-size:14px}.photo-viewer-controls a{color:#76cdf1}.photo-viewer-help{margin:0;text-align:center;font-size:14px;color:#94a9bd;flex-shrink:0}
@media(max-width:560px){.product-modal-art.product-photo-gallery{padding:20px 18px 16px}.product-photo-gallery #product-photo-stage>img{height:auto;max-height:55dvh;width:100%;object-fit:contain}.product-photo-thumbs{flex-wrap:nowrap;overflow-x:auto;padding:3px 0 8px;max-width:100%;min-height:65px}.product-photo-gallery>p{position:static;margin:0}.photo-viewer-controls{gap:6px}.photo-viewer-controls button,.photo-viewer-controls a{padding:9px;font-size:14px}#photo-dialog{padding:12px}.photo-viewer-toolbar strong{font-size:14px}}

.color-options b{font-weight:inherit}.color-options .color-unavailable span{opacity:.5;cursor:not-allowed;border-style:dashed}.color-options .color-unavailable b{text-decoration:line-through}.color-options .color-unavailable small{font-size:14px;color:#b7c0ca;text-decoration:none}.color-options .color-unavailable i{filter:grayscale(.65)}
