.commerce-tools{display:flex;gap:8px;padding:8px 12px;border-bottom:1px solid var(--line);background:var(--white);flex-shrink:0}.commerce-tools[hidden],.commerce-panel[hidden]{display:none}.commerce-tools form{display:flex;gap:6px;margin:0;min-width:0;flex:1}.commerce-tools input{min-width:0;width:100%;margin:0;padding:9px;font-size:13px}.commerce-tools button,.commerce-panel button{font:inherit;font-size:13px;cursor:pointer;padding:9px 12px;border:1px solid var(--line);border-radius:8px;background:var(--soft);color:var(--ink)}.commerce-tools button:disabled,.commerce-panel button:disabled{opacity:.5;cursor:wait}.commerce-panel{max-height:65%;min-height:130px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--white);padding:12px;margin:0 10px 8px;flex-shrink:1;font-size:13px;overflow-wrap:anywhere}.commerce-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:-12px;background:var(--white);padding:8px 0;z-index:1}.commerce-content>button,.commerce-product>button,.commerce-order>button{display:block;width:100%;margin:10px 0}.commerce-product,.commerce-cart-item{padding:12px 0;border-bottom:1px solid var(--line)}.commerce-product h3,.commerce-order h3{font-size:15px;margin:8px 0}.commerce-product p{max-height:170px;overflow:auto;white-space:pre-line;line-height:1.6}.commerce-product>a,.commerce-product>strong,.commerce-product>small,.commerce-order>small{display:block;margin:8px 0}.commerce-product img{width:100%;height:140px;object-fit:contain}.commerce-panel input,.commerce-panel select{max-width:100%;box-sizing:border-box;margin:5px 0;padding:9px;font-size:14px}.commerce-panel label{display:block;margin-top:10px}.commerce-panel label>input:not([type=checkbox]),.commerce-panel label>select{display:block;width:100%}.commerce-cart-item>input{width:70px;margin-right:6px}.commerce-cart-item>small{display:block}.commerce-cart-item>button{margin:4px}.commerce-address fieldset{border:1px solid var(--line);border-radius:8px;margin:12px 0;padding:10px;min-width:0}.commerce-address fieldset[hidden]{display:none}.commerce-address small{display:block;margin:10px 0}.commerce-address input[type=checkbox]{width:auto;margin-right:8px}.commerce-notice{padding:10px;background:var(--soft);border-radius:8px}.commerce-total{display:block;font-size:17px;margin:16px 0}.commerce-pay{display:block;text-align:center;padding:12px;border-radius:8px;background:var(--purple);color:#fff;margin:12px 0}.commerce-panel button:focus-visible,.commerce-tools button:focus-visible{outline:3px solid var(--purple);outline-offset:2px}@media(max-width:400px){.commerce-tools{padding:8px;gap:5px}.commerce-tools button{padding:8px}.commerce-panel{margin:0 6px 6px;padding:10px}}
