.wq-entry{padding:8px 12px 12px;width:100%;box-sizing:border-box}.wq-entry .wq-open{width:100%;background:#fff;color:#183e38;border:1px solid #aebeb8;border-radius:8px;padding:9px;font:600 13px system-ui;cursor:pointer}.wq-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(960px,95vw);max-height:92dvh;border:0;border-radius:18px;padding:0;background:#fff;color:#17231f;overflow:auto;font:15px/1.5 system-ui;z-index:999999}.wq-dialog::backdrop{background:#101820b5}.wq-dialog *{box-sizing:border-box}.wq-dialog .wq-close{display:block;margin:10px 12px 0 auto;width:44px;height:44px;border:1px solid #ddd;border-radius:50%;background:#fff;color:#17231f;font:26px system-ui;cursor:pointer}.wq-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;padding:12px 24px 24px}.wq-stage{height:clamp(220px,45vh,420px);overflow:hidden;display:grid;place-items:center;background:#f5f5f3;border-radius:12px;touch-action:none;cursor:zoom-in}.wq-stage img{width:100%;height:100%;object-fit:contain;transform-origin:center;max-width:none;pointer-events:none}.wq-tools,.wq-thumbs{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.wq-dialog .wq-tools button,.wq-dialog .wq-thumbs button{background:white;color:#17231f;border:1px solid #ccd5d0;border-radius:8px;padding:8px;min-height:40px;cursor:pointer}.wq-thumbs img{display:block;width:46px;height:46px;object-fit:contain}.wq-detail h2{font:700 clamp(20px,3vw,30px)/1.2 system-ui;margin:8px 0;color:#17231f}.wq-category,.wq-stock{color:#435d51}.wq-price{font-size:24px;color:var(--wq-accent)}.wq-description{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto}.wq-detail label{display:grid;gap:5px;margin:12px 0}.wq-detail select,.wq-detail input{width:100%;padding:10px;border:1px solid #aebeb8;border-radius:8px;background:white;color:#17231f;font:inherit}.wq-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.wq-dialog .wq-actions button{background:var(--wq-accent);color:#fff;border:0;border-radius:9px;padding:12px;font:700 14px system-ui;cursor:pointer;min-height:44px}.wq-dialog .wq-actions button:last-child{background:#16232c}.wq-dialog button:disabled{opacity:.5;cursor:not-allowed}.wq-dialog :focus-visible,.wq-open:focus-visible{outline:3px solid #0b79ac;outline-offset:2px}.wq-image-trigger{cursor:zoom-in!important}@media(max-width:650px){.wq-content{grid-template-columns:1fr;padding:10px 15px 20px;gap:12px}.wq-stage{height:280px}.wq-dialog{max-height:94dvh}.wq-description{max-height:none}} 

.wq-dialog .wq-stage,.wq-dialog .wq-stage img,.wq-dialog .wq-thumbs img{user-select:none!important;-webkit-user-select:none!important;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}.wq-dialog .wq-stage img::selection{background:transparent}.wq-dialog .wq-stage img{display:block;min-width:0;min-height:0;max-height:100%;filter:none;opacity:1}.wq-dialog .wq-stage{grid-template: minmax(0,1fr) / minmax(0,1fr)}.wq-dialog .wq-content,.wq-dialog .wq-gallery,.wq-dialog .wq-detail{min-width:0}.wq-dialog{max-width:calc(100vw - 24px);margin:auto!important}.wq-dialog .wq-detail h2{overflow-wrap:anywhere}.wq-dialog .wq-actions{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:400px){.wq-dialog .wq-actions{grid-template-columns:1fr}}
