/* NGGARAGE · Stock: miniatura pulsable, ampliación y borrado controlado. */
.gg-photo-modal.hidden{display:none!important}
.gg-photo-modal{position:fixed;inset:0;z-index:12500;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(8,16,30,.84);box-sizing:border-box}
.gg-photo-modal-panel{width:min(100%,1100px);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 20px 60px #0008}
.gg-photo-modal-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;color:#17243a;font-size:15px}
.gg-photo-modal-close{border:0;border-radius:8px;background:#e8edf4;color:#17243a;font-size:21px;cursor:pointer;width:37px;height:37px;flex:0 0 37px}
.gg-photo-modal-view{display:flex;align-items:center;justify-content:center;min-height:0;flex:1;background:#101827;overflow:hidden}
.gg-photo-modal-view img{display:block;max-width:100%;max-height:calc(100dvh - 174px);height:auto;width:auto;object-fit:contain}
.gg-photo-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:12px 16px}
#stockTable .gg-stock-thumb:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
@media(max-width:600px){.gg-photo-modal{padding:8px}.gg-photo-modal-panel{max-height:calc(100dvh - 16px);border-radius:11px}.gg-photo-modal-header{padding:10px 12px}.gg-photo-modal-actions{padding:10px 12px}.gg-photo-modal-actions .btn{flex:1;min-width:0}.gg-photo-modal-view img{max-height:calc(100dvh - 160px)}}
