/* Only HEATER accessory thumbnails; existing controls and product galleries stay native. */
.h4y-heater-image,.h4y-heater-image-placeholder{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;vertical-align:middle;border:1px solid #d7dde2;border-radius:3px;background:#fff;color:#8a9299;padding:0;margin:0;line-height:1;overflow:hidden}
button.h4y-heater-image{cursor:zoom-in;min-width:40px;min-height:40px;box-shadow:none}
.h4y-heater-image img{display:block;width:38px;height:38px;max-width:100%;object-fit:contain;margin:0}
.h4y-heater-image:focus-visible{outline:2px solid #ed641e;outline-offset:2px}
.h4y-heater-image-placeholder{background:#f7f8fa;font-size:14px}
.h4y-heater-accessory-image-row{display:flex;align-items:center;gap:8px;margin:6px 0}
.h4y-heater-accessory-image-row>label{flex:1;min-width:0;margin:0}
[data-heater-editor] .heater-accessory-table td:first-child>.h4y-heater-image,[data-heater-editor] .heater-accessory-table td:first-child>.h4y-heater-image-placeholder{float:left;margin:0 8px 4px 0;padding:0}
.h4y-heater-image-popup{position:fixed;z-index:1200;box-sizing:border-box;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 16px);padding:28px 8px 8px;background:#fff;border:1px solid #d7dde2;border-radius:5px;box-shadow:0 4px 20px #0003;overflow:hidden}
.h4y-heater-image-popup[hidden]{display:none!important}
.h4y-heater-image-popup>img{display:block;width:100%;height:auto;max-height:min(320px,calc(100dvh - 60px));object-fit:contain;margin:0}
.h4y-heater-image-popup>button{position:absolute;top:2px;right:3px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;min-height:26px;margin:0;padding:0;border:0;border-radius:3px;background:#f0f3f5;color:#20252b;font-size:22px;line-height:1;cursor:pointer}
