/* Product photo viewer and compact, accessible product controls. */
#modalImg{aspect-ratio:1;background:#f3f2f4;cursor:zoom-in;margin-top:18px}
#modalImg:after,.shoe-dialog .product-image-button:after{content:'⊕ Ampliar foto';position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:8px 14px;border-radius:24px;background:#fff;color:#30243c;font-size:12px;box-shadow:0 2px 12px #0002;white-space:nowrap;pointer-events:none}
.modal{position:relative;overscroll-behavior:contain;max-height:92dvh}.modal-close{position:sticky;top:0;float:right;z-index:3;background:#fff;border:1px solid #ded8e5;border-radius:8px}
#photoThumbs{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0}#photoThumbs button{width:76px;height:76px;padding:4px;border:2px solid #ddd7e4;border-radius:8px;background:#f5f4f6;overflow:hidden}#photoThumbs img{width:100%;height:100%;object-fit:contain}#photoThumbs button[aria-pressed=true]{border-color:#7742df}
.shoe-dialog .product-image-button{pointer-events:auto;cursor:zoom-in;overflow:hidden;aspect-ratio:1;position:relative;top:auto}.shoe-dialog .product-image-button img{width:100%;height:100%;object-fit:contain!important}
.shoe-dialog .picker-heading{position:sticky;top:-24px;background:#fff;z-index:4;padding:12px 0;border-bottom:1px solid #eee8f3}
.shoe-dialog .shoe-swatches{grid-auto-rows:88px;gap:14px!important;max-height:300px}.shoe-dialog .shoe-swatch:hover{border-color:#9876d5}.shoe-dialog .shoe-swatch[aria-pressed=true]{border-width:3px}
.shoe-dialog select,#modalSizes button{font-size:16px!important}.option-btn.selected{box-shadow:inset 0 0 0 1px currentColor}
.photo-viewer{margin:auto;padding:0;border:0;border-radius:16px;width:min(1080px,96vw);height:min(880px,94dvh);max-width:none;max-height:none;background:#f5f4f6;color:#251b30;overflow:hidden}.photo-viewer::backdrop{background:#100b19e6}.photo-viewer[open]{display:flex;flex-direction:column}.photo-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;padding:12px 16px;border-bottom:1px solid #e6deec}.photo-toolbar h2{font-size:15px;margin:0;flex:1 1 220px}.photo-toolbar button{min-width:44px;min-height:44px;border:1px solid #d4cadf;border-radius:8px;padding:8px 12px;font:inherit;background:#fff;color:#30223e}.photo-toolbar button:disabled{opacity:.4;cursor:default}.photo-stage{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y;cursor:zoom-in}.photo-stage.zoomed{cursor:grab}.photo-stage.dragging{cursor:grabbing;user-select:none}.photo-canvas{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.photo-canvas img{width:100%;height:100%;object-fit:contain;display:block;max-width:none;pointer-events:none}.photo-help{margin:0;padding:8px 16px;background:#fff;color:#675b72;font-size:12px;text-align:center}.photo-scale{min-width:46px;text-align:center;font-size:13px}
@media(max-width:700px){.shoe-dialog .product-image-button{max-width:340px}.shoe-dialog .shoe-swatches{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:76px;gap:12px!important;max-height:252px}.shoe-dialog .picker-heading{top:-18px}.photo-viewer{width:100vw;height:100dvh;border-radius:0}.photo-toolbar{padding:10px;gap:6px}.photo-toolbar h2{flex-basis:calc(100% - 60px);order:-2}.photo-close{order:-1}.photo-help{padding-bottom:max(10px,env(safe-area-inset-bottom))}.modal{padding:18px;max-height:94dvh}.modal-name{font-size:21px}#modalImg{margin-top:10px}}
.price-before{display:block;font-size:13px;font-weight:500;color:#817889;line-height:1.5;text-decoration-thickness:1px}.price-current{display:block;color:#6530c5;line-height:1.4}.shoe-dialog .price-before,#modalPrice .price-before{font-size:16px}.shoe-dialog .price-current{font-size:24px}

.shirt-personalization{margin:20px 0;padding:14px;border:1px solid #ddd4e8;border-radius:10px;background:#faf8fd}.shirt-personalization summary{cursor:pointer;min-height:44px;display:list-item;font-weight:700;padding:10px 0}.shirt-personalization label{display:block;font-weight:600;font-size:14px;margin:12px 0 6px}.shirt-personalization input,.bag-editor input{width:100%;box-sizing:border-box;min-height:46px;padding:12px;border:1px solid #cbbfd8;border-radius:6px;background:white;color:#251b30;font:inherit;font-size:16px}.shirt-personalization p{font-size:12px;line-height:1.5;color:#716679;margin:8px 0}
