dialog.cart-designer{width:min(1180px,calc(100% - 28px));padding:32px;max-height:92vh}.cart-designer #panel-content>h2{margin-bottom:22px}.bag-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px}.bag-summary{border-right:1px solid #e5e5e5;padding-right:24px}.bag-summary .bag-item{gap:8px;align-items:flex-start}.bag-summary .bag-item:first-child{padding-top:0}.bag-summary .bag-quantity button{width:28px}.bag-summary .bag-quantity span{min-width:26px}.bag-summary .button{font-size:14px;padding:12px 15px;width:100%}.designer-area{min-width:0}.designer-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.designer-heading h3{font-size:22px;letter-spacing:-.6px;margin:0}.design-count{font-size:13px;border:1px solid #dce1dd;background:#f2f6f3;border-radius:20px;padding:7px 12px;white-space:nowrap}.keyboard-select-label{display:block;margin-bottom:7px}.keyboard-select{font:inherit;color:#111;background:#fff;border:1px solid #cdd0d5;border-radius:7px;width:100%;padding:12px;min-height:46px}.designer-hint{font-size:14px;margin:9px 0 15px}.keyboard-scroll{overflow:auto;border:1px solid #dfe1e4;border-radius:10px;background:#f3f4f5;padding:14px}.keyboard-board{position:relative;width:100%;min-width:640px;aspect-ratio:var(--board-width)/var(--board-height)}.keyboard-key{position:absolute;left:calc(var(--x)/var(--board-width)*100%);top:calc(var(--y)/var(--board-height)*100%);width:calc((var(--w) - .09)/var(--board-width)*100%);height:calc((var(--h) - .09)/var(--board-height)*100%);border:1px solid #d1d4d9;border-bottom:3px solid #b9bdc4;border-radius:5px;background:#fff;font-size:clamp(9px,1vw,12px);padding:3px;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:22px}.keyboard-key:hover{border-color:#111;background:#f2f2f2}.keyboard-key[aria-pressed="true"]{outline:2px solid #111;outline-offset:1px;z-index:1}.keyboard-key.has-art{background:#e5eee5;border-color:#829c83}.keyboard-key img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.keyboard-key.has-art span{position:absolute;left:2px;bottom:2px;background:#ffffffdf;padding:1px 3px;border-radius:2px;color:#111;font-size:9px}.keyboard-key:focus-visible{z-index:2}.keyboard-caption{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;font-size:12px;color:#69707b}.keyboard-caption a{text-decoration:underline}.key-editor{margin-top:20px;background:#fafafa;border:1px solid #e1e1e1;border-radius:9px;padding:18px}.key-editor h4{font-size:18px;margin:0 0 7px}.key-editor p{font-size:14px;margin:8px 0}.key-editor .editor-fields{display:grid;grid-template-columns:1fr 85px;gap:15px;margin:14px 0}.key-editor input[type=number]{margin:5px 0 0;height:41px;padding:8px}.key-editor select{width:100%;padding:8px;margin-top:5px;border:1px solid #bbb;border-radius:5px;background:#fff;font:inherit;min-height:41px}.key-editor .button{font-size:14px;min-height:42px;padding:10px 16px;margin:0}.editor-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.remove-art{border:0;background:none;text-decoration:underline;font-size:14px}.art-preview{width:72px;height:72px;object-fit:contain;border:1px solid #ddd;border-radius:7px;background:#fff;float:right;margin:0 0 10px 16px}.design-progress{margin-top:17px;display:flex;gap:13px;flex-wrap:wrap;font-size:13px;color:#59645e}.design-progress span{background:#f1f4f1;border-radius:5px;padding:6px 9px}.design-status{min-height:22px;font-size:14px;margin:12px 0!important}.design-status.error{color:#a52929}.design-save{display:flex;justify-content:space-between;gap:14px;align-items:center;border-top:1px solid #e5e5e5;padding-top:16px;margin-top:18px}.design-save p{font-size:12px;line-height:1.5;margin:0;max-width:330px}.design-save .button{font-size:14px;min-height:45px;white-space:nowrap;padding:12px 20px;margin:0}.design-save button:disabled{opacity:.45}.assignment-list{margin-top:16px;display:flex;gap:8px;flex-wrap:wrap}.assignment-chip{font-size:12px;padding:6px 9px;border:1px solid #dedede;border-radius:6px;background:#fff}.assignment-chip img{width:24px;height:24px;object-fit:cover;vertical-align:middle;margin-right:7px;border-radius:3px}.assignment-chip.unplaced{border-color:#b47623;background:#fff8ec}.design-empty{padding:20px;text-align:center;color:#666;font-size:14px}.designer-loading{padding:35px;text-align:center}.cart-designer .form-note{font-size:12px}.keyboard-board button:disabled{cursor:progress;opacity:.65}
.keyboard-board .keyboard-key.unavailable-key{background:#e2e4e7;border-color:#d1d4d9;color:#868b93;cursor:not-allowed;opacity:1;box-shadow:none}.keyboard-board .keyboard-key.unavailable-key:hover{background:#e2e4e7;border-color:#d1d4d9}
@media(max-width:850px){dialog.cart-designer{padding:28px 20px}.bag-layout{grid-template-columns:1fr;gap:24px}.bag-summary{border-right:0;border-bottom:1px solid #ddd;padding-right:0;padding-bottom:20px}.bag-summary .bag-item{padding:12px 0;align-items:center}.bag-summary .bag-total{margin-top:14px}.bag-summary .bag-shipping,.bag-summary .form-note{margin:8px 0}.bag-summary>a{display:none}.designer-heading{align-items:flex-start;gap:10px}.designer-heading h3{font-size:20px}.keyboard-scroll{padding:10px}.design-save{flex-direction:column;align-items:stretch}.design-save .button{width:100%}.design-count{font-size:12px}.keyboard-caption{align-items:flex-start}.keyboard-key{font-size:10px}}

.order-checkout{border-top:1px solid #ddd;margin-top:24px;padding-top:22px}.order-checkout h3{font-size:24px}.order-checkout>p{font-size:15px;line-height:1.5}.order-checkout>label{display:block;font-size:16px;margin:15px 0}.order-checkout input:not([type=checkbox]),.order-checkout textarea{display:block;width:100%;box-sizing:border-box;font:inherit;border:1px solid #bbb;border-radius:7px;padding:11px;margin-top:7px}.order-checkout .order-confirm{display:flex;gap:12px;align-items:start;line-height:1.45;font-size:14px}.order-checkout .order-confirm input{width:19px;height:19px;flex-shrink:0;margin-top:2px}.order-checkout .button{width:100%}.order-submit-status{min-height:22px}
