.commerce-main{max-width:1180px;padding-top:32px;padding-bottom:64px;color:#173d5e}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.commerce-heading h1{font-size:clamp(26px,4vw,38px);line-height:1.2;margin:0 0 10px}.commerce-heading p{color:#536d81;line-height:1.6;margin:0}.commerce-panel{background:#fff;border:1px solid #dbe5ed;border-radius:16px;padding:24px;margin-bottom:22px;min-width:0}.commerce-panel h2{font-size:21px;margin:0 0 18px}.commerce-panel h3{font-size:17px;margin:22px 0 12px}.commerce-panel p{line-height:1.65}.commerce-tabs,.commerce-links{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 24px}.commerce-tabs a{display:inline-flex;padding:10px 14px;border:1px solid #cddce8;border-radius:9px;background:#fff;color:#315a78;font-weight:600;font-size:13px;line-height:1.5}.commerce-tabs a[aria-current]{background:#e6f4f3;border-color:#7ab5ae;color:#156056}.commerce-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:24px;align-items:start}.commerce-form{display:grid;gap:18px}.commerce-form label{display:grid;gap:7px;font-size:14px;color:#284d69;line-height:1.5;font-weight:600}.commerce-form input:not([type=checkbox]),.commerce-form select,.commerce-form textarea,.commerce-filters select{font:inherit;color:#173d5e;border:1px solid #bfcfdb;border-radius:9px;width:100%;min-width:0;min-height:44px;padding:10px 12px;background:#fff}.commerce-form textarea{resize:vertical}.commerce-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.commerce-form .commerce-check{display:flex;align-items:flex-start;gap:11px;font-weight:400}.commerce-check input{flex:0 0 19px;width:19px;height:19px;margin:2px 0 0;accent-color:#087f78}.commerce-form small,.commerce-muted{color:#536d81;font-weight:400;font-size:13px;line-height:1.6}.commerce-total{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:18px 0;border-top:1px solid #dbe5ed;margin-top:18px;font-size:16px}.commerce-total strong,.commerce-total output{font-size:25px;font-weight:700;text-align:right;white-space:nowrap}.commerce-lines{display:grid;gap:12px}.commerce-lines>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;font-size:14px}.commerce-lines strong{white-space:nowrap}.commerce-lines small{display:block;color:#587085;font-size:12px;margin-top:3px}.commerce-notice{padding:16px 18px;background:#edf6f6;border:1px solid #bedbd8;color:#215953;border-radius:10px;margin:0 0 22px;line-height:1.6}.commerce-notice.is-error{background:#fff2ef;border-color:#e7bdb3;color:#87372c}.commerce-orders{display:grid;gap:18px}.commerce-order-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.commerce-order-head h2{margin:12px 0;font-size:20px;line-height:1.4;overflow-wrap:anywhere}.commerce-badge{display:inline-flex;align-items:center;background:#edf4f7;color:#285972;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:600}.commerce-badge[data-status=confirmed]{background:#e4f4ec;color:#26704f}.commerce-badge[data-status=cancelled],.commerce-badge[data-status=expired]{background:#f1f1f1;color:#686b70}.commerce-order-price{font-weight:700;font-size:21px;white-space:nowrap}.commerce-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.commerce-filters label{display:grid;gap:7px;font-size:13px;flex:1;max-width:300px}.commerce-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.commerce-facts div{min-width:0}.commerce-facts dt{color:#5d7284;font-size:12px;margin-bottom:4px}.commerce-facts dd{margin:0;font-size:14px;overflow-wrap:anywhere}.commerce-text{white-space:pre-wrap;overflow-wrap:anywhere}.commerce-history{list-style:none;padding:0;display:grid;gap:12px;font-size:13px}.commerce-history li{display:flex;justify-content:space-between;gap:16px}.commerce-history time{color:#617a8b;white-space:nowrap}.commerce-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.commerce-cancel summary{color:#884137;cursor:pointer;font-size:14px;padding:5px 0}.commerce-cancel form{margin-top:16px}.commerce-pagination{display:flex;gap:20px;justify-content:center;margin-top:24px}.commerce-main button:disabled{opacity:.55;cursor:not-allowed}.commerce-main :focus-visible{outline:3px solid #138b96;outline-offset:3px}.admin-content .commerce-main{padding:0}.admin-content .commerce-form{max-width:900px}.admin-content .commerce-panel .ag-button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:10px 17px;border-radius:9px;font-size:14px;font-weight:600;background:#062b59;color:#fff}
@media(max-width:850px){.commerce-grid{grid-template-columns:minmax(0,1fr)}.commerce-heading{align-items:start;flex-direction:column}.commerce-main{padding-top:24px}.commerce-total strong,.commerce-total output{font-size:23px}}
.commerce-form>.promo-checkout{margin:0;border-bottom:0}.commerce-form>.commerce-total{margin-top:0}.admin-content .campaign-form .form-grid>label{align-content:start}
.admin-content .promo-order-summary{display:grid;gap:10px;margin-top:12px;font-size:13px}.admin-content .promo-order-summary>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.admin-content .promo-order-summary strong{flex-shrink:0;white-space:nowrap}.admin-content .promo-order-summary>span:last-child{color:#16624d}
@media(max-width:500px){.commerce-panel{padding:18px;border-radius:12px}.commerce-fields,.commerce-facts{grid-template-columns:minmax(0,1fr)}.commerce-order-head{flex-direction:column;gap:8px}.commerce-order-price{font-size:20px}.commerce-tabs a{font-size:12px;padding:9px 11px}.commerce-history li{flex-direction:column;gap:3px}.commerce-filters button{width:100%}.commerce-filters label{max-width:none}.commerce-total{font-size:14px;gap:9px}.commerce-total strong,.commerce-total output{font-size:22px}.commerce-main .ag-button{white-space:normal;text-align:center}.commerce-lines>div{gap:8px}}
