
.dashboard-commerce-host{display:none}.dashboard-commerce-host.active{display:block}.commerce-admin{display:grid;gap:15px}.commerce-admin-head{display:flex;align-items:flex-start;gap:16px}.commerce-admin-head h2{margin:0 0 5px;font-size:27px}.commerce-admin-head p{margin:0;color:var(--muted)}.commerce-admin-actions{margin-left:auto;display:flex;gap:9px}.commerce-admin-btn{border:1px solid var(--line2);background:#182129;color:#eef2f5;border-radius:9px;padding:10px 13px;font:inherit;font-weight:800;cursor:pointer}.commerce-admin-btn.primary{background:var(--accent);border-color:var(--accent);color:white}.commerce-admin-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding-bottom:10px}.commerce-admin-tabs button{border:0;background:transparent;color:var(--muted);padding:9px 13px;border-radius:8px;font:inherit;font-weight:800;cursor:pointer}.commerce-admin-tabs button.active{background:#44262f;color:#ff95a1}.commerce-admin-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.commerce-admin-stat{border:1px solid var(--line);background:#131b22;border-radius:10px;padding:13px}.commerce-admin-stat strong{display:block;font-size:20px}.commerce-admin-stat span{color:var(--muted);font-size:11px}.commerce-admin-toolbar{display:flex;gap:10px}.commerce-admin-search{flex:1;border:1px solid var(--line2);background:#111820;color:#fff;border-radius:9px;padding:10px 12px;font:inherit}.commerce-admin-list{display:grid;gap:9px}.commerce-admin-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:13px;align-items:center;border:1px solid var(--line);border-radius:11px;background:linear-gradient(180deg,#151e25,#11181e);padding:11px}.commerce-admin-cover{width:76px;height:64px;border-radius:8px;background:#202a32;overflow:hidden;display:grid;place-items:center;color:#798691;font-size:10px}.commerce-admin-cover img{width:100%;height:100%;object-fit:cover}.commerce-admin-main{min-width:0}.commerce-admin-main strong{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-admin-main p{margin:4px 0 0;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.commerce-admin-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:7px}.commerce-admin-chip{padding:3px 7px;border-radius:999px;background:#222d35;color:#bac3cb;font-size:9px;font-weight:800}.commerce-admin-chip.live{background:#17382c;color:#76d9ad}.commerce-admin-chip.auction{background:#302846;color:#c0adff}.commerce-admin-card-actions{display:flex;gap:6px}.commerce-admin-card-actions button{border:1px solid var(--line2);background:#1b252d;color:#e7ebef;border-radius:7px;padding:7px 9px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.commerce-admin-card-actions .danger{color:#ff97a3}.commerce-admin-empty{border:1px dashed var(--line2);border-radius:12px;padding:38px;text-align:center;color:var(--muted)}.commerce-admin-empty strong{display:block;color:#eef2f5;margin-bottom:5px}.commerce-admin-status{min-height:18px;color:#7edaae;font-size:12px}.commerce-admin-status.error{color:#ff95a2}.commerce-edit-dialog{width:min(650px,calc(100vw - 28px));border:1px solid #35414b;border-radius:15px;background:#121920;color:#fff;padding:0;box-shadow:0 28px 90px #000b}.commerce-edit-dialog::backdrop{background:#05070ad1;backdrop-filter:blur(4px)}.commerce-edit-form{padding:20px}.commerce-edit-form h3{margin:0 0 14px}.commerce-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.commerce-field{display:grid;gap:6px}.commerce-field.full{grid-column:1/-1}.commerce-field label{font-size:11px;font-weight:800;color:#cbd2d8}.commerce-field input,.commerce-field textarea,.commerce-field select{width:100%;border:1px solid var(--line2);background:#0d141a;color:#fff;border-radius:8px;padding:10px;font:inherit}.commerce-field textarea{min-height:110px;resize:vertical}.commerce-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.commerce-form-actions button{border:1px solid var(--line2);background:#1a232b;color:#fff;border-radius:8px;padding:9px 12px;font:inherit;font-weight:800;cursor:pointer}.commerce-form-actions .save{background:var(--accent);border-color:var(--accent)}.commerce-current-cover{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:11px}.commerce-current-cover img{width:62px;height:48px;object-fit:cover;border-radius:7px}@media(max-width:780px){.commerce-admin-head{display:block}.commerce-admin-actions{margin:12px 0 0}.commerce-admin-summary{grid-template-columns:1fr 1fr}.commerce-admin-card{grid-template-columns:58px minmax(0,1fr)}.commerce-admin-cover{width:58px;height:52px}.commerce-admin-card-actions{grid-column:1/-1}.commerce-form-grid{grid-template-columns:1fr}}

.commerce-field small,.commerce-field-help{color:var(--muted);font-size:11px;line-height:1.4}.commerce-gallery-editor{display:grid;grid-template-columns:repeat(5,minmax(76px,1fr));gap:8px;min-height:0}.commerce-gallery-item{position:relative;aspect-ratio:1;border:1px solid #394550;border-radius:9px;overflow:hidden;background:#0d141a;cursor:grab;user-select:none}.commerce-gallery-item.dragging{opacity:.45}.commerce-gallery-item.principal{border-color:#f25768;box-shadow:0 0 0 1px #f25768}.commerce-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}.commerce-gallery-badge{position:absolute;left:5px;bottom:5px;padding:3px 6px;border-radius:999px;background:#0a0e12d9;color:#fff;font-size:9px;font-weight:850}.commerce-gallery-main,.commerce-gallery-remove{position:absolute;top:5px;width:25px;height:25px;border:0!important;border-radius:50%!important;display:grid;place-items:center;padding:0!important;background:#10161ddd!important;color:#fff!important}.commerce-gallery-main{left:5px;color:#ffd05f!important}.commerce-gallery-remove{right:5px;font-size:18px!important}.commerce-gallery-picker{display:flex;align-items:center;gap:10px;justify-content:space-between}.commerce-gallery-picker input{min-width:0}.commerce-gallery-picker span{white-space:nowrap;color:var(--muted);font-size:10px}.commerce-upload-progress{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:14px}.commerce-upload-progress-track{height:9px;border-radius:999px;background:#27323c;overflow:hidden}.commerce-upload-progress-bar{display:block;width:0;height:100%;background:linear-gradient(90deg,#f25768,#ff8b98);transition:width .15s}.commerce-upload-progress-label{font-size:10px;color:#cbd2d8;min-width:98px;text-align:right}.commerce-form-feedback{margin-right:auto;align-self:center;color:#75d5aa;font-size:11px}.commerce-form-feedback.error{color:#ff95a2}.commerce-save-toast{position:fixed;right:22px;bottom:82px;z-index:1000;transform:translateY(18px);opacity:0;pointer-events:none;padding:12px 16px;border:1px solid #3b6957;border-radius:10px;background:#17362bdc;color:#92e2bd;font-weight:800;box-shadow:0 18px 50px #0008;transition:.2s}.commerce-save-toast.show{transform:none;opacity:1}.commerce-save-toast.error{border-color:#7f3d49;background:#3a2026;color:#ffabb5}@media(max-width:780px){.commerce-gallery-editor{grid-template-columns:repeat(3,minmax(72px,1fr))}.commerce-form-actions{flex-wrap:wrap}.commerce-form-feedback{flex-basis:100%}}

.commerce-shipping-block{margin-top:5px;padding-top:12px;border-top:1px solid var(--line2)}
.commerce-subsection-title{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}
.commerce-subsection-title strong{font-size:13px;color:#f2f5f7}
.commerce-subsection-title span{font-size:10px;color:var(--muted);font-weight:500}
.commerce-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;min-height:40px;padding:9px 10px;border:1px solid var(--line2);border-radius:8px;background:#0d141a;cursor:pointer}
.commerce-check input{width:16px!important;height:16px!important;margin:0;accent-color:var(--accent)}
.commerce-check span{font-size:11px;color:#d8dfe3}

.commerce-orders{margin-top:18px;border:1px solid var(--line);border-radius:12px;background:#11181e;overflow:hidden}
.commerce-orders-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 15px;border-bottom:1px solid var(--line2)}
.commerce-orders-head strong{display:block;font-size:13px}.commerce-orders-head span{display:block;margin-top:3px;color:var(--muted);font-size:10px}.commerce-orders-head>b{min-width:28px;height:28px;border-radius:999px;background:#1f2a31;display:grid;place-items:center;font-size:10px;color:#cbd4d9}
.commerce-orders-list{display:grid}.commerce-order-row{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:14px;align-items:center;padding:13px 15px;border-bottom:1px solid var(--line2)}.commerce-order-row:last-child{border-bottom:0}
.commerce-order-row>div:first-child small{display:block;color:#667681;font-size:9px;font-weight:850;letter-spacing:.08em}.commerce-order-row>div:first-child strong{display:block;margin-top:3px;font-size:12px}.commerce-order-row>div:first-child span{display:block;margin-top:4px;color:#7c8b95;font-size:10px}
.commerce-order-state b{display:block;color:#8ee0b5;font-size:10px}.commerce-order-state small{display:block;margin-top:4px;color:#74848e;font-size:9px}
.commerce-order-actions{display:flex;gap:6px}.commerce-order-actions a,.commerce-order-actions button{border:1px solid #35424b;border-radius:8px;background:#172129;color:#dce3e7;text-decoration:none;padding:7px 9px;font:inherit;font-size:9px;font-weight:850;cursor:pointer}.commerce-order-actions button{border-color:rgba(241,78,102,.35);color:#ff9aa6;background:rgba(241,78,102,.07)}
.commerce-orders-empty{padding:24px;text-align:center;color:#697983;font-size:10px}
@media(max-width:780px){.commerce-order-row{grid-template-columns:1fr}.commerce-order-actions{justify-content:flex-start}}

.commerce-payments-card{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;padding:15px 16px;border:1px solid #4e3940;border-radius:12px;background:linear-gradient(135deg,#24181d,#151c22)}
.commerce-payments-card.ready{border-color:#315f4a;background:linear-gradient(135deg,#11251c,#151c22)}
.commerce-payments-copy{min-width:0}.commerce-payments-kicker{display:block;color:#ff8291;font-size:9px;font-weight:900;letter-spacing:.12em;margin-bottom:4px}.commerce-payments-card.ready .commerce-payments-kicker{color:#78d5a4}
.commerce-payments-copy strong{display:block;font-size:13px}.commerce-payments-copy p{margin:4px 0 0;color:#8998a1;font-size:10px;line-height:1.45}
.commerce-payments-card .commerce-admin-btn{flex:0 0 auto}
@media(max-width:700px){.commerce-payments-card{align-items:flex-start;flex-direction:column}.commerce-payments-card .commerce-admin-btn{width:100%}}
