/* STM · Galería de 3 vistas por artículo · revisión 2026-10-23 */
.stm-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}
.stm-photo-slot{min-height:72px;border:1px solid #d8e4ef;border-radius:10px;background:#f7fafc;padding:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;color:#526b82;font-size:11px}
.stm-photo-slot img{width:100%;height:72px;object-fit:contain;border-radius:7px;background:#fff}
.stm-photo-slot.is-pending{border-style:dashed;background:#fbfdff;color:#60788e}
.stm-photo-slot.is-review{border-color:#f0be65;background:#fffaf0}
.stm-photo-slot.is-replace{border-color:#e38a8a;background:#fff6f6;color:#8c2e2e}
.stm-photo-slot strong{font-size:10px;line-height:1.2}
.stm-photo-note{margin:9px 0 0;font-size:12px;line-height:1.45;color:#526b82}
.stm-product-ficha{margin-top:10px;padding:9px 10px;border:1px solid #dce8f4;border-radius:12px;background:#f7fbff;color:#244761;font-size:12px;line-height:1.4}
.stm-product-ficha strong{display:block;margin-bottom:4px;color:#082848}
.stm-product-ficha ul{margin:4px 0 0 16px;padding:0}
.stm-photo-status{display:inline-flex;align-items:center;gap:5px;margin-top:6px;padding:3px 7px;border-radius:99px;background:#eef5fb;color:#45627b;font-size:10px;font-weight:700}
.stm-photo-status.is-replace{background:#fff0f0;color:#983b3b}
.stm-photo-status.is-review{background:#fff4dc;color:#805b1b}
.stm-photo-group-summary{margin:12px 0;padding:12px 14px;border:1px solid #dce8f4;border-radius:12px;background:linear-gradient(135deg,#f8fbff,#fff);font-size:12px;color:#526b82}
.stm-photo-group-summary strong{color:#173b62}
.stm-photo-empty-group{border:1px dashed #9fb8cf!important;background:#f8fbfe!important;color:#61798f!important;cursor:default!important}
.stm-photo-empty-group:hover{transform:none!important;border-color:#9fb8cf!important}
.stm-color-picker{display:flex;align-items:center;gap:8px;margin:9px 0;padding:8px 10px;border:1px solid #cfe0ef;border-radius:10px;background:#fff;color:#173b62;font-size:12px;font-weight:700}.stm-color-picker select{min-width:130px;border:1px solid #b8cfe2;border-radius:8px;padding:6px 8px;background:#f8fbff;color:#173b62;font:inherit;font-weight:600}
#stmCatalogShell .products{grid-template-columns:repeat(auto-fill,minmax(218px,1fr));gap:14px;align-items:start}
#stmCatalogShell .products article{padding:11px;border-radius:16px;gap:5px;border:1px solid #dfe8f1;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);box-shadow:0 4px 14px #164c850c;transition:box-shadow .18s ease,transform .18s ease}
#stmCatalogShell .products article:hover{transform:translateY(-2px);box-shadow:0 8px 20px #164c8517}
#stmCatalogShell .products article>img{height:132px;border-radius:11px;background:#fff;object-fit:contain}
#stmCatalogShell .products article h3{font-size:13px;line-height:1.3;margin:7px 0 1px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#stmCatalogShell .products article p{font-size:10.5px;line-height:1.35;margin:2px 0;color:#5b7084}
#stmCatalogShell .products article .price{font-size:18px;line-height:1.2;margin:5px 0 2px;font-weight:800;color:#123d61}
#stmCatalogShell .products article label{font-size:10px;color:#5b7084;display:flex;align-items:center;gap:6px;margin-top:4px}
#stmCatalogShell .products article label input{width:58px;min-height:30px;padding:4px 6px;border-radius:8px}
#stmCatalogShell .products article .actions{gap:5px;margin-top:7px;flex-wrap:wrap}
#stmCatalogShell .products article .actions button{font-size:10px;padding:6px 8px;border-radius:8px;min-height:31px;flex:1 1 44%;white-space:nowrap}
@media(max-width:650px){.stm-photo-gallery{gap:6px}.stm-photo-slot{min-height:64px;padding:4px;font-size:10px}.stm-photo-slot img{height:58px}#stmCatalogShell .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#stmCatalogShell .products article{padding:9px;border-radius:13px}#stmCatalogShell .products article>img{height:108px;border-radius:9px}#stmCatalogShell .products article h3{font-size:12px}#stmCatalogShell .products article .price{font-size:16px}#stmCatalogShell .products article .actions button{padding:6px 5px;font-size:9.5px;min-height:30px}}
