.cm-shell{min-height:680px;overflow:hidden;border:1px solid #dfe3e8;border-radius:18px;background:#fff;box-shadow:0 14px 38px rgba(22,29,37,.06)}
.cm-command{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px 28px;border-bottom:1px solid #e5e8ec;background:#fff}.cm-command:has(.cm-back){grid-template-columns:auto minmax(0,1fr) auto}.cm-command span,.cm-title span,.cm-form>section>span,.cm-form>label>span,.cm-products header span{color:#89919d;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.cm-command h2{margin:4px 0 0;font-size:26px;letter-spacing:-.035em}.cm-command>button:not(.cm-back){min-height:42px;border:0;border-radius:11px;background:#171a20;color:#fff;padding:0 16px;font:800 13px/1 inherit}.cm-back{min-height:42px;border:1px solid #d9dee4;border-radius:11px;background:#fff;padding:0 14px;color:#4d5662;font:750 13px/1 inherit}
.cm-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:28px}.cm-choice-grid>button{display:grid;grid-template-columns:38px minmax(0,1fr) auto;min-height:116px;align-items:center;gap:14px;border:1px solid #dfe3e8;border-radius:15px;background:#fff;padding:18px;text-align:left;transition:border-color .14s,box-shadow .14s,transform .14s}.cm-choice-grid>button:hover,.cm-choice-grid>button:focus-visible{border-color:#f12637;box-shadow:0 12px 28px rgba(25,31,40,.09);outline:0;transform:translateY(-1px)}.cm-choice-grid kbd{display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:10px;background:#171a20;color:#fff;font:800 13px/1 inherit;box-shadow:none}.cm-choice-grid span{display:grid;min-width:0;gap:6px}.cm-choice-grid b{overflow:hidden;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.cm-choice-grid small{color:#8c949f;font-size:11px}.cm-choice-grid i{color:#a4abb4;font-style:normal;font-size:18px}.cm-empty{grid-column:1/-1;padding:60px;text-align:center;color:#8c949f}
.cm-workspace{min-width:0;padding:0 28px 28px}.cm-editor-command{padding-bottom:20px}.cm-title{display:flex;min-height:1px;justify-content:flex-end;padding-top:18px}.cm-danger{border:1px solid #efc8cd;border-radius:9px;background:#fff7f8;color:#c92634;padding:9px 12px;font-weight:750}.cm-danger:disabled{opacity:.35}.cm-form{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:12px 0 22px}.cm-form>label{display:grid;gap:7px}.cm-form input,.cm-form select,.cm-products input,.cm-products select{box-sizing:border-box;width:100%;height:44px;border:1px solid #d5dae0;border-radius:10px;background:#fff;padding:0 12px;font:inherit}.cm-profile,.cm-axes{grid-column:1/-1;display:grid;gap:9px}.cm-profile>div,.cm-axes>div{display:flex;flex-wrap:wrap;gap:7px}.cm-profile button{border:1px solid #d9dee4;border-radius:9px;background:#f8f9fa;padding:9px 11px;font-weight:700}.cm-axes label{position:relative;display:flex;align-items:center;gap:7px;border:1px solid #d9dee4;border-radius:999px;background:#fff;padding:8px 11px;font-size:12px;font-weight:700}.cm-axes input{position:absolute;opacity:0}.cm-axes i{width:8px;height:8px;border-radius:50%;background:#c7cdd5}.cm-axes label:has(input:checked){border-color:#f12637;background:#fff6f7;color:#d62231}.cm-axes label:has(input:checked) i{background:#f12637}.cm-save{align-self:end;height:44px;border:0;border-radius:10px;background:#f12637;color:#fff;font-weight:850}
.cm-products{margin-top:4px;border-top:1px solid #e5e8ec}.cm-products>header{display:grid;grid-template-columns:1fr 280px;align-items:end;gap:14px;padding:20px 0 12px}.cm-products header div{display:grid;gap:4px}.cm-products header b{font-size:24px}.cm-product-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:590px;overflow:auto;padding:2px}.cm-product-list article{display:grid;min-width:0;border:1px solid #e1e5e9;border-radius:14px;background:#fff;padding:14px}.cm-product-list article>label{display:grid;min-width:0;gap:12px}.cm-product-list article>label>input{position:absolute;width:22px;height:22px;margin:5px;accent-color:#f12637}.cm-product-image{display:grid;width:100%;height:150px;place-items:center;border-radius:11px;background:#f6f7f8}.cm-product-list img{width:126px;height:126px;object-fit:contain}.cm-product-list label>span:last-child{display:grid;min-width:0;gap:4px}.cm-product-list span b{overflow:hidden;min-height:38px;font-size:13px;line-height:1.4;text-overflow:ellipsis}.cm-product-list span small{color:#8c949f;font-size:10px}.cm-product-list article>button{min-height:38px;margin-top:12px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;color:#d62231;font-weight:800}.cm-product-list>p{grid-column:1/-1;padding:45px;text-align:center;color:#8c949f}.cm-products>footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding-top:12px}.cm-products>footer button{border:0;border-radius:10px;background:#171a20;color:#fff;padding:0 16px;font-weight:800}.cm-loading{padding:80px;text-align:center;color:#8c949f}
@media(max-width:1200px){.cm-choice-grid,.cm-product-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.cm-choice-grid,.cm-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-workspace{padding:0 18px 20px}.cm-form{grid-template-columns:1fr}.cm-profile,.cm-axes{grid-column:auto}.cm-products>header,.cm-products>footer{grid-template-columns:1fr}}@media(max-width:600px){.cm-choice-grid,.cm-product-list{grid-template-columns:1fr}.cm-command,.cm-command:has(.cm-back){grid-template-columns:1fr}.cm-command{padding:18px}}

/* Выбор товара привязан к карточке и не смещается при прокрутке. */
.cm-product-list article{position:relative}
.cm-product-list article>label{position:relative;cursor:pointer}
.cm-product-list article>label>input{position:absolute;z-index:2;top:8px;left:8px;width:22px;height:22px;margin:0;accent-color:#f12637;cursor:pointer}
