.cat-icon{display:inline-block;width:17px;height:17px;flex:none;vertical-align:middle}.supplier-brand{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#fffcfa;box-shadow:0 1px 5px #12213228;border-radius:7px;padding:3px;min-width:33px;height:25px;max-width:66px}.supplier-brand img{display:block;width:auto;height:100%;max-width:100%;object-fit:contain}.supplier-brand.initials{font:700 10px/1 'Segoe UI';letter-spacing:.04em;color:#294562}.shelf-quick .cat-topline{align-items:center;margin:3px 0 9px}.shelf-types{display:flex;gap:12px;align-items:center}.scene-catalog .shelf-types button{border:none;border-radius:0;background:transparent!important;padding:6px 0;color:#52657b;font-weight:600;font-size:14px;box-shadow:none!important;border-bottom:2px solid transparent}.scene-catalog .shelf-types button[aria-pressed=true]{color:#163859;border-bottom-color:#204776}.shelf-query,.fac-query{display:flex;align-items:center;gap:7px;border:1px solid #b8c8d8;border-radius:12px;background:white;padding:0 8px;color:#47627e}.shelf-query input,.fac-query input{width:100%;border:0;outline:none;padding:8px 0;background:transparent;color:#1b3553;font:13px 'Segoe UI',Arial;min-width:0}.shelf-query:focus-within,.fac-query:focus-within{outline:2px solid #648bb4}.shelf-actions{display:flex;gap:6px;margin-top:7px}.scene-catalog .shelf-actions button{display:flex;gap:6px;align-items:center;border:1px solid #bac9d8;border-radius:10px;padding:6px 8px;min-height:32px;background:#edf2f8;color:#233f5e;font:600 12px 'Segoe UI',Arial;min-width:0}.shelf-actions button:first-child{flex:1}.shelf-actions button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shelf-actions button .cat-icon{width:15px;height:15px}.shelf-actions button .cat-icon:last-child:not(:first-child){margin-left:auto;width:12px}.shelf-count{padding:8px 0 5px;color:#54697f;font:11px 'Segoe UI',Arial}.scene-catalog .scene-items [data-asset]{border-radius:13px;display:block}.shelf-image{display:block;position:relative}.scene-catalog .scene-items button>.shelf-image{height:clamp(68px,19vh,126px);border:0;border-radius:0;min-width:100%;margin:0;padding:0;background:none}.shelf-image .ico-sample{height:100%;width:100%}.scene-catalog .shelf-image .supplier-brand{position:absolute;bottom:5px;right:5px;height:22px;width:auto;min-width:29px;border-radius:5px;margin:0;background:#fff}.scene-catalog .shelf-image .supplier-brand img{height:100%;width:auto}.scene-catalog .scene-items button>b{font:600 13px/1.2 'Segoe UI';padding:1px 7px 0}.scene-catalog .scene-items button>small{font:11px 'Segoe UI';padding:0 7px}
.shelf-dialog{position:fixed;inset:12px 12px 12px auto;margin:0;width:min(365px,calc(100vw - 24px));height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border:1px solid #c0cfdd;border-radius:19px;background:#f6f8fb;color:#19334e;padding:0;box-shadow:0 15px 45px #071e354f;font:14px/1.4 'Segoe UI',Arial}.shelf-dialog[open]{display:flex;flex-direction:column}.shelf-dialog::backdrop{background:#10284255}.shelf-dialog header,.shelf-dialog footer,.shelf-dialog nav{flex:none;display:flex;gap:7px;align-items:center;padding:11px 15px}.shelf-dialog header{justify-content:space-between;background:linear-gradient(105deg,#243e5d,#335475);color:white}.shelf-dialog header small{color:#c6d7e9}.shelf-dialog h2{font:600 22px/1.15 Bahnschrift,'Segoe UI';margin:1px 0}.shelf-dialog button{cursor:pointer;background:white;border:1px solid #c2cfdd;border-radius:10px;min-height:37px;padding:6px 10px;color:#213a55;font:600 13px 'Segoe UI',Arial}.shelf-dialog header button{background:#ffffff1c;border:none;color:#fff}.shelf-dialog nav{padding-bottom:2px}.shelf-dialog nav button{flex:1}.shelf-dialog nav [aria-pressed=true],.shelf-dialog footer [data-apply]{background:#21415f;color:white;border-color:#21415f}.shelf-scroll{min-height:0;flex:1;overflow:auto;padding:8px 15px}.shelf-dialog footer{justify-content:space-between;border-top:1px solid #cad5df}.shelf-categories{margin-top:8px}.shelf-dialog .facet-row{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;border-radius:0;border-bottom:1px solid #d2dce7;background:transparent;padding:6px 1px}.shelf-dialog .facet-row[aria-pressed=true]{color:#2e547f}.facet-row .fac-art{width:46px;height:34px;flex:none;overflow:hidden;border-radius:7px}.fac-art .ico-sample,.fac-art .group-empty{width:100%;height:100%;display:grid;place-items:center;background:#e6edf4}.fac-art .ico-no-sample{display:none}.facet-row b{margin-left:auto}.facet-row small,.facet-row strong{display:block}.facet-row small,.fac-caption{color:#5d7186;font-size:11px}.shelf-dialog .fac-back,.shelf-dialog .fac-all{border:0;display:flex;gap:6px;align-items:center;background:none;padding-left:0}.shelf-fields label{display:grid;gap:4px;margin:10px 0}.shelf-fields select,.shelf-fields input{padding:8px;width:100%;min-width:0;border-radius:8px;border:1px solid #b9c8d8;background:#fff;color:#193652;font:14px 'Segoe UI'}.fac-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.shelf-fields{padding:0 1px}.cat-empty{color:#53677b;font-size:13px}@media(max-width:540px) and (orientation:portrait){.shelf-dialog{inset:auto 0 0;width:100vw;height:min(75dvh,640px);max-height:90dvh;border-radius:18px 18px 0 0}}@media(max-height:445px){.shelf-dialog{inset:4px 4px 4px auto;height:calc(100dvh - 8px);max-height:calc(100dvh - 8px);width:min(320px,48vw)}.shelf-dialog header,.shelf-dialog footer,.shelf-dialog nav{padding:5px 10px}.shelf-dialog h2{font-size:19px}.shelf-dialog .facet-row{min-height:38px}.shelf-dialog header small{display:none}.shelf-actions{margin-top:4px}.scene-catalog .scene-items button>.shelf-image{height:68px}}

.shelf-quick .shelf-deck{display:flex;align-items:center;justify-content:flex-start;flex:none;overflow:visible;height:27px;padding-right:3px}.shelf-deck i{width:24px;height:22px;display:block;border:1px solid white;border-radius:4px;overflow:hidden;box-shadow:0 1px 2px #253a502e;transform:rotate(-7deg)}.shelf-deck i+i{margin-left:-10px;transform:rotate(6deg)}.shelf-deck .ico-sample,.shelf-deck .group-empty{width:100%;height:100%;display:grid;place-content:center}.shelf-deck .ico-no-sample{display:none}.scene-catalog .scene-items:has(>button:only-child){grid-template-columns:1fr}.scene-catalog .scene-items:has(>button:only-child) .shelf-image{height:clamp(72px,24vh,135px)}
/* La zona táctil gira con cada eje. El lienzo recibe los gestos fuera de las flechas. */
.ico-move-axes{position:absolute;left:0;top:0;width:0;height:0;z-index:6;pointer-events:none}
.ico-move-axes[hidden],.ico-move-axes button[hidden]{display:none}
.ico-move-axes button{position:absolute;left:0;top:-14px;transform-origin:0 50%;width:60px;height:28px;border:0;padding:0;border-radius:3px;background:transparent;pointer-events:auto;touch-action:none;cursor:grab;color:#bb3b30;filter:drop-shadow(0 0 1px white)}
.ico-move-axes button:active{cursor:grabbing}.ico-move-axes button:focus-visible{outline:2px solid currentColor}
.ico-move-axes button::before{content:"";position:absolute;left:7px;right:10px;top:12px;height:4px;border-radius:2px;background:currentColor}
.ico-move-axes button::after{content:"";position:absolute;right:0;top:7px;border:7px solid transparent;border-left:13px solid currentColor;border-right:0}
.ico-move-axes button[data-move-axis=y]{color:#267441}.ico-move-axes button[data-move-axis=z]{color:#2463a7}
