/* SuperSwish v1606 — Gestor de fotografías del catálogo */
.ss1606-card{margin:14px 0;padding:18px;background:linear-gradient(115deg,#fff9df,#fff);border:1px solid #ffdf8d;border-radius:18px;box-shadow:0 5px 20px #1520330a}
.ss1606-card h3{margin:0 0 5px;font-size:1.06rem;font-weight:900;color:#121a26}
.ss1606-card p{margin:5px 0 12px;color:#48556a;font-size:.87rem;line-height:1.5}
.ss1606-card button{display:inline-flex!important;gap:8px;align-items:center;justify-content:center;width:auto!important;max-width:100%;background:#ffc900!important;color:#111827!important;border:0!important;border-radius:12px!important;padding:12px 18px!important;font-weight:950!important;cursor:pointer}
.ss1606-dialog{max-width:880px;width:calc(100vw - 24px);max-height:calc(100dvh - 26px);padding:0;border:0;border-radius:22px;box-shadow:0 30px 100px #0b101a70;color:#172235;background:#fff;overflow:hidden}
.ss1606-dialog::backdrop{background:#060d19a9;backdrop-filter:blur(2px)}
.ss1606-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 26px);min-height:250px}
.ss1606-head{background:#0b111b;color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px;border-bottom:4px solid #ffc900;flex-shrink:0}
.ss1606-head small{color:#ffce30;font-size:.65rem;font-weight:900;letter-spacing:.09em}
.ss1606-head h2{margin:5px 0 4px;font-weight:950;font-size:1.33rem;line-height:1.15;color:#fff}
.ss1606-head p{margin:0;color:#d4dae3;font-size:.84rem;line-height:1.4}
.ss1606-close{display:grid;place-items:center;flex-shrink:0;background:#273241;color:white;border:0;border-radius:100%;height:35px;width:35px;cursor:pointer}
.ss1606-inner{overflow:auto;min-height:0;overscroll-behavior:contain;padding:16px 20px 24px}
.ss1606-status{font-weight:750;padding:20px;background:#f1f5f9;border-radius:14px}.ss1606-status.error{background:#fff1f2;color:#a0182b}
.ss1606-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:14px}
.ss1606-stats>span{background:#f1f4f8;border:1px solid #e1e6ef;border-radius:12px;text-align:center;padding:9px 4px;font-size:.75rem;color:#536174;display:flex;flex-direction:column}
.ss1606-stats strong{color:#152132;font-size:1.25rem;font-weight:950}
.ss1606-tools{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.ss1606-tools button,.ss1606-upload{font-size:.83rem!important;font-weight:850!important;border-radius:12px!important;border:1px solid #dce2eb!important;background:#eff4fa!important;color:#17243a!important;padding:10px 13px!important;cursor:pointer!important;min-height:41px;display:inline-flex;align-items:center;justify-content:center}
.ss1606-upload{background:#ffc900!important;border-color:#ffc900!important;color:#09121c!important}.ss1606-upload input,.ss1606-actions label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ss1606-explainer{font-size:.81rem;color:#667085;line-height:1.45;margin:8px 0 14px}
.ss1606-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px;font-weight:750;font-size:.83rem}
.ss1606-filter select{margin-left:6px;border:1px solid #d4dae4;border-radius:9px;padding:7px;max-width:240px;background:white;color:#172235}
.ss1606-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.ss1606-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;padding:11px;border:1px solid #dce3ed;border-radius:16px;background:#fff;min-width:0}
.ss1606-current img{width:88px;height:91px;object-fit:cover;border-radius:10px;background:#f1f4f7}
.ss1606-no-photo{width:88px;height:91px;background:linear-gradient(135deg,#e9eef5,#f5f8fb);color:#65758a;border:1px dashed #bac5d2;border-radius:10px;display:grid;place-items:center;text-align:center;font-size:.71rem;font-weight:900}
.ss1606-content{min-width:0}.ss1606-product-head{display:flex;justify-content:space-between;gap:6px;align-items:flex-start;flex-wrap:wrap}
.ss1606-product-head h3{font-size:.86rem;font-weight:950;margin:0;color:#172335;line-height:1.3;overflow-wrap:anywhere}
.ss1606-product-head span{font-size:.64rem;border-radius:100px;padding:4px 6px;background:#fff0d1;color:#805300;font-weight:850;line-height:1.15}.ss1606-product-head span.ok{background:#e6f8ed;color:#12723b}
.ss1606-content>small{display:block;margin-top:3px;color:#7d8798;font-size:.72rem}
.ss1606-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.ss1606-actions label,.ss1606-actions>button,.ss1606-actions summary,.ss1606-actions .ss1606-url button{border:1px solid #d3dbe5;border-radius:8px;background:#f5f8fc;color:#23354d;padding:6px 8px;font-size:.7rem;font-weight:850;cursor:pointer;display:inline-block;width:auto;white-space:normal;min-height:31px}
.ss1606-actions details{flex-basis:100%}.ss1606-actions summary{width:max-content}.ss1606-url{display:flex;gap:5px;margin-top:5px}.ss1606-url input{flex:1;width:40px;min-width:0;border:1px solid #dae0e9;border-radius:8px;padding:7px;font-size:.75rem}
.ss1606-selected{margin-top:8px;border:1px solid #ffc73b;background:#fffcf1;border-radius:9px;padding:6px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ss1606-selected img{height:47px;width:47px;object-fit:cover;border-radius:7px}.ss1606-selected span{flex:1;font-size:.7rem;min-width:100px;overflow-wrap:anywhere}.ss1606-selected small{display:block;color:#b17300}.ss1606-selected button{border:0;border-radius:7px;background:#e7eff9;padding:5px;font-size:.65rem;font-weight:800;cursor:pointer}
.ss1606-candidates{display:flex;gap:6px;overflow-x:auto;padding:7px 0}.ss1606-candidates button{flex:0 0 69px;background:#fff;border:1px solid #d5dbe7;border-radius:8px;padding:3px;cursor:pointer;font-size:.61rem}
.ss1606-candidates img{width:60px;height:50px;object-fit:cover;border-radius:4px}.ss1606-candidates small{font-size:.55rem;display:block;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss1606-license{font-size:.65rem;color:#6b7280;display:block}.ss1606-license a{color:#0864b9;text-decoration:underline}
.ss1606-bottom{padding:15px 0 2px;display:grid;gap:9px;border-top:1px solid #e6e8ee;margin-top:12px}.ss1606-bottom label{font-size:.78rem;line-height:1.45;color:#3e4a5d;display:flex;align-items:flex-start;gap:8px}.ss1606-bottom input{accent-color:#d7a500;margin-top:3px;width:17px;height:17px;flex-shrink:0}
.ss1606-save{background:#ffc900!important;color:#07101c!important;border:0!important;padding:13px 16px!important;font-weight:950!important;font-size:.91rem!important;border-radius:13px!important;cursor:pointer!important;min-height:45px}.ss1606-save:disabled{opacity:.56;cursor:not-allowed!important}
.ss1606-bottom p{font-size:.8rem;color:#31516c;margin:3px 0 0;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:680px){.ss1606-dialog{width:100vw;max-width:100vw;max-height:100dvh;border-radius:0}.ss1606-shell{max-height:100dvh}.ss1606-head{padding:16px}.ss1606-head h2{font-size:1.2rem}.ss1606-inner{padding:12px}.ss1606-items{grid-template-columns:1fr}.ss1606-item{grid-template-columns:76px minmax(0,1fr)}.ss1606-current img,.ss1606-no-photo{width:76px;height:81px}.ss1606-stats{gap:5px}.ss1606-stats strong{font-size:1.08rem}.ss1606-tools>*{flex:1 1 135px}.ss1606-filter select{max-width:220px}}

.ss1607-include{display:flex;align-items:flex-start;gap:8px;background:#fff8db;border:1px solid #e5ca7a;padding:12px;border-radius:12px;margin:8px 0 12px;color:#313028;font-size:13px}.ss1607-include input{margin-top:4px;flex:none}.ss1607-import{background:#fffdf3!important;color:#151719!important;border:1px solid #e6c852!important}.ss1606-selected small{display:block;color:#a45f09;margin-top:5px}
