/* Favoritos (en #/reserva-mueble) y Solicitud a taller (#/solicitud-taller) */
.rm-fav{background:none;border:0;padding:4px;cursor:pointer;color:#b9ae98;line-height:0;border-radius:8px}
.rm-fav svg{fill:none;stroke:currentColor;stroke-width:2}
.rm-fav:hover{color:#c0392b}
.rm-fav.on{color:#d1344b}.rm-fav.on svg{fill:currentColor}
.rm-favrow td{background:#fff8f8}
.page-head .rm-cart{display:inline-flex!important;white-space:nowrap;align-self:flex-start}
.rm-comp{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:6px 0 16px}
.rm-card{position:relative;background:#fff;border:1px solid #e6dccb;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:6px}
.rm-card .rm-fav{position:absolute;top:16px;right:16px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.rm-card img{width:100%;height:160px;object-fit:cover;border-radius:10px}
.rm-card h3{margin:4px 0 0;font-size:16px}.rm-card h3 small{font-weight:400;color:#8a7c62;font-size:12px}
.rm-card dl{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:4px 0;font-size:13px}
.rm-card dt{color:#7a6f58}.rm-card dd{margin:0;text-align:right;font-weight:600}
.rm-card .btn{margin-top:auto}
.rm-en{color:#2f6b3f;border-color:#9cc5a6}
.st-ctrl{display:flex;flex-wrap:wrap;gap:14px;align-items:end;margin-bottom:14px}
.st-ctrl label,.st-med label,.st-w,.st-ia label{display:flex;flex-direction:column;font-size:12px;color:#5a5040;gap:4px}
.st-ctrl input,.st-ctrl select,.st-med input,.st-med select,.st-w textarea,.st-ia input{padding:7px 9px;border:1px solid #d8cfbc;border-radius:8px;font-size:14px;background:#fff;font-family:inherit}
.st-ctrl input{width:170px}
.st-ctrl .st-chk{flex-direction:row;align-items:center;gap:6px;font-size:13px}
.st-favs{display:flex;flex-direction:column;gap:8px}
.st-favi{display:flex;align-items:center;gap:10px}.st-favi img{width:72px;height:48px;object-fit:cover;border-radius:6px}
.st-favi div{flex:1;display:flex;flex-direction:column}.st-favi small{color:#8a7c62}
.st-item{margin-bottom:14px}
.st-ih{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;border-bottom:1px solid #eee3d0;padding-bottom:10px;margin-bottom:10px}
.st-ih b{font-size:17px}.st-ih small{color:#8a7c62}
.st-n{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#1f3d31;color:#fff;font-weight:700;margin-right:8px;font-size:13px}
.st-ia{display:flex;gap:10px;align-items:end}.st-ia input{width:80px}
.st-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:20px}
@media (max-width:900px){.st-grid{grid-template-columns:1fr}}
.st-grid h3{font-size:14px;margin:6px 0 8px}
.st-med{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:10px}
.st-med small{color:#b3261e;font-size:11px}
.st-dif{border-color:#c0392b!important;background:#fff3f1!important}
.st-mod{background:#fde2e2;color:#b3261e;border-radius:999px;padding:2px 8px;font-size:11px;margin-left:6px}
.st-w{margin-bottom:10px}.st-w textarea{resize:vertical}
.st-fotos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px}
.st-foto{position:relative;padding:0;border:2px solid transparent;border-radius:10px;background:#f4efe6;cursor:pointer;overflow:hidden;opacity:.55}
.st-foto img{width:100%;height:72px;object-fit:cover;display:block}
.st-foto.on{border-color:#1f3d31;opacity:1}
.st-foto span{position:absolute;top:4px;left:4px;background:#1f3d31;color:#fff;border-radius:50%;width:20px;height:20px;font-size:11px;font-weight:700;display:grid;place-items:center}
.st-foto em{position:absolute;bottom:3px;right:4px;background:#fff;font-size:10px;font-style:normal;padding:1px 5px;border-radius:6px}
.st-acc{display:flex;gap:10px;align-items:center;flex-wrap:wrap;position:sticky;bottom:10px;z-index:3;box-shadow:0 4px 16px rgba(0,0,0,.12)}
.st-estado{min-height:20px;color:#2f6b3f;font-weight:600;margin:6px 0 14px}
.st-ctrl .st-chk input{width:auto;padding:0}
.page-head a.rm-cart{text-decoration:none}
.rm-tot{display:flex;flex-wrap:wrap;gap:12px 28px;align-items:flex-end;background:#1f3d31;color:#fff;border-radius:14px;padding:14px 18px;margin:6px 0 12px}
.rm-tot div{display:flex;flex-direction:column}
.rm-tot small{font-size:12px;color:#b9d3c6}
.rm-tot b{font-size:18px}
.rm-tot .rm-tot-main b{font-size:28px}
.rm-tot em{font-style:normal;font-size:12px;color:#ffd9a8}
.rm-tot .rm-res{color:#ffc2b3}
/* selector de telas */
.st-tela{border:1px solid #eee3d0;border-radius:12px;padding:10px;margin-bottom:10px;background:#fcfaf6}
.st-tela-on{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:8px;border-radius:10px;background:#eef5ef;border:1px solid #9cc5a6}
.st-tela-on img{width:52px;height:52px;border-radius:8px;object-fit:cover}
.st-tela-on div{flex:1;display:flex;flex-direction:column}.st-tela-on small{color:#5a5040}
.st-sws{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px;max-height:250px;overflow-y:auto;padding:2px}
.st-sw{position:relative;padding:0;border:2px solid transparent;border-radius:8px;background:#fff;cursor:pointer;overflow:hidden;display:flex;flex-direction:column}
.st-sw img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
.st-sw span{font-size:10px;padding:2px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#3d3528}
.st-sw i{position:absolute;top:2px;right:3px;color:#c79c43;font-style:normal;font-size:13px;text-shadow:0 0 2px #fff}
.st-sw.on{border-color:#1f3d31;box-shadow:0 0 0 2px #9cc5a6}
/* vista 3D con la tela */
.st-3d{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#f4f1ea;border:1px solid #e6dccb;border-radius:12px;padding:8px 10px;margin-bottom:10px}
.st-3d img{width:110px;height:74px;object-fit:cover;border-radius:8px;border:2px solid #1f3d31}
.st-3d>div:not(.st-3d-b){flex:1;min-width:160px;display:flex;flex-direction:column;gap:2px}.st-3d small{color:#6b5e48}
.st-3d .st-chk{flex-direction:row;display:flex;align-items:center;gap:6px;font-size:12px}
.st-3d-b{display:flex;gap:6px;flex-wrap:wrap}
.st3-back{position:fixed;inset:0;background:rgba(20,28,24,.55);z-index:100;display:grid;place-items:center;padding:16px}
.st3{background:#fff;border-radius:16px;width:min(1100px,100%);height:min(760px,calc(100vh - 32px));display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.st3-h{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#1f3d31;color:#fff}
.st3-h div{flex:1;display:flex;flex-direction:column}.st3-h small{color:#b9d3c6}
.st3-h select{padding:6px 8px;border-radius:8px;border:0;font-size:14px;color:#1f3d31;background:#fff}
.st3-x{background:transparent;border:0;color:#fff;font-size:20px;cursor:pointer;width:36px;height:36px;border-radius:50%}
.st3-v{flex:1;min-height:0;background:#f4f1ea;position:relative;overflow:hidden}.st3-v model-viewer{position:absolute;inset:0;width:100%!important;height:100%!important}.st3-load{position:absolute;inset:0;display:grid;place-items:center;margin:0}.st3-load{color:#6b5e48}
.st3-f{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #eee3d0}
.st3-e{font-size:13px;color:#2f6b3f;font-weight:600;max-width:46%}

/* Gemelo: acciones junto al ID, fuera del área del chat flotante. */
.st-order-actions{margin-top:8px;min-width:120px}.st-edit-actions{flex-wrap:wrap;gap:12px;border:2px solid #a66b20}.st-edit-actions span{flex:1}body:has(.st-ctrl) #view{padding-bottom:150px}.st-edit-actions:first-of-type{margin-bottom:16px}

.st3-inline{margin:16px 0;padding:14px;border:1px solid #d2d7cf;border-radius:10px;background:#f4f1ea}.st3-inline-view model-viewer{width:100%;height:340px}.st3-inline-head{display:flex;gap:12px;align-items:center;justify-content:space-between}.st3-inline-status{font-size:12px;color:#31594a}.st3-inline small{font-size:11px}

@media(max-width:760px){.st-grid{grid-template-columns:1fr!important}.st3-inline-view model-viewer{height:300px}.st3-inline-head{flex-wrap:wrap}.st-edit-actions .btn{flex:1;min-width:120px}}
@media(max-width:760px){.st-acc{position:static!important;bottom:auto!important}.st-edit-actions span{flex-basis:100%}.st-ctrl label{min-width:0}.st3-inline{max-width:100%}}
