```css
/* FINAL SIZE CHART IMAGE FIX */
.sc-overlay {
position: fixed !important;
inset: 0 !important;
z-index: 9999999 !important;
padding: 15px !important;
overflow-y: auto !important;
align-items: center !important;
justify-content: center !important;
}
.sc-overlay.sc-open {
display: flex !important;
}
.sc-modal {
display: block !important;
position: relative !important;
width: auto !important;
height: auto !important;
max-width: 95vw !important;
max-height: 90vh !important;
overflow-x: hidden !important;
overflow-y: auto !important;
flex: 0 0 auto !important;
padding: 45px 10px 10px !important;
box-sizing: border-box !important;
}
.sc-image-container {
display: block !important;
width: auto !important;
height: auto !important;
max-height: none !important;
overflow: visible !important;
}
.sc-image {
display: block !important;
width: auto !important;
height: auto !important;
max-width: calc(95vw - 50px) !important;
max-height: none !important;
object-fit: unset !important;
object-position: initial !important;
aspect-ratio: auto !important;
clip-path: none !important;
margin: 0 auto !important;
}
@media (max-width: 600px) {
.sc-modal {
max-width: 100% !important;
max-height: 90vh !important;
}
.sc-image {
max-width: calc(100vw - 60px) !important;
max-height: none !important;
}
}
```