/* Shared product editor: quiet surfaces, aligned fields and full image previews. */
html .ui-unified .sell-page.seller-product-wizard{max-width:1400px!important;margin:auto;padding:24px 28px!important}
.ui-unified .seller-product-wizard{--spw-green:#efa33a;--spw-border:#2b3036;--spw-panel:#111518;--spw-field:#090d10}
html .ui-unified .seller-product-wizard .spw-grid{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:20px}
html .ui-unified .seller-product-wizard .spw-card{padding:22px!important;border-color:#2a3036!important;border-radius:12px!important;background:#111518!important}
html .ui-unified .seller-product-wizard .spw-aside-card{background:#0d1114!important}
html .ui-unified .seller-product-wizard .spw-card h2{font-size:16px!important;letter-spacing:-.2px;line-height:1.4;margin-bottom:14px!important}
html .ui-unified .seller-product-wizard .spw-card label{display:grid;align-content:start;gap:8px!important;color:#aab3bc!important}
html .ui-unified .seller-product-wizard .spw-card .field{height:42px;min-height:42px;border-radius:8px!important;background:#080c0f!important;border-color:#303840!important;padding:10px 12px!important;transition:border-color .16s,background .16s,box-shadow .16s}
html .ui-unified .seller-product-wizard .spw-card .field:hover{border-color:#4b555e!important}
html .ui-unified .seller-product-wizard .spw-card .field:focus{border-color:#b98236!important;outline:none;box-shadow:0 0 0 2px #efa33a15!important}
html .ui-unified .seller-product-wizard textarea.field{height:auto;min-height:140px!important}
html .ui-unified .seller-product-wizard .spw-pair{gap:16px}
html .ui-unified .seller-product-wizard .spw-market-row{gap:16px;margin-bottom:24px}
.seller-product-wizard .spw-category-stack{gap:8px}
html .ui-unified .seller-product-wizard .spw-upload-pair label{padding:16px;background:#0a0e11!important;border:1px solid #303840!important;transition:border-color .16s}
html .ui-unified .seller-product-wizard .spw-upload-pair label:hover{border-color:#63604c!important}
html .ui-unified .seller-product-wizard .spw-upload-pair .cover-preview-box{width:176px!important;max-width:100%!important;height:176px!important;min-height:0!important;aspect-ratio:1;display:grid;place-items:center;margin:8px auto 0!important;overflow:hidden;background:#080c0f!important;border:0!important}
html .ui-unified .seller-product-wizard .spw-upload-pair .cover-preview-box img{display:block;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important;position:static!important}
.seller-product-wizard .spw-extra,.seller-product-wizard .spw-price-limits{margin-top:22px;padding-top:16px;border-top:1px solid #2a3036}
.seller-product-wizard .spw-extra>summary,.seller-product-wizard .spw-price-limits>summary{padding:3px 0;color:#c2cad1;font-size:13px;cursor:pointer;transition:color .15s}
.seller-product-wizard :is(.spw-extra,.spw-price-limits)>summary:hover{color:#f0b65e}
.seller-product-wizard .spw-category-close{justify-self:end!important;width:auto!important;padding:6px 10px!important;border:1px solid #39434b;border-radius:6px;background:transparent;color:#b8c2cc;font-size:12px;cursor:pointer}
.seller-product-wizard .spw-setting{padding:14px;border-color:#2b333a;background:#090d10}
html .ui-unified .seller-product-wizard .spw-switch-row{display:flex!important;align-items:center;gap:16px!important}
.seller-product-wizard .spw-stock-summary{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:24px;padding-bottom:16px;border-bottom:1px solid #2b333a;font-size:13px;color:#929fa9}
.seller-product-wizard .spw-stock-summary strong{color:#e5ebef;font-size:20px;font-weight:600}
.seller-product-wizard .spw-delivery-note{color:#9da8b1;font-size:13px;line-height:1.65;margin:16px 0 0}
html .ui-unified .seller-product-wizard .spw-stock-card{min-height:0}
html .ui-unified .seller-product-wizard .spw-stock-editor{min-height:300px;background:#080c0f;border-color:#303840}
html .ui-unified .seller-product-wizard .spw-stock-editor textarea.field{min-height:300px!important;line-height:1.8;font-family:Consolas,monospace}
.seller-product-wizard .spw-stock-editor:has(textarea:disabled){opacity:.45}
.seller-product-wizard .spw-line-numbers{background:#10161a}
html .ui-unified .seller-product-wizard .spw-publish-card{margin:0;max-width:none;width:100%}
.seller-product-wizard .spw-pricing-fields{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:16px;margin:22px 0 16px}
html .ui-unified .seller-product-wizard .spw-pricing-fields :is(label,.field){width:100%}
html .ui-unified .seller-product-wizard .spw-pricing-fields .field{height:48px;font-size:18px!important;font-variant-numeric:tabular-nums}
.seller-product-wizard .spw-discount-input-label>.hint{display:none}
.seller-product-wizard .spw-discount-range{width:100%;height:4px;margin:10px 0;accent-color:#efa33a;cursor:pointer}
.seller-product-wizard .spw-range-labels{display:flex;justify-content:space-between;font-size:11px;color:#74818c}
.seller-product-wizard .spw-discount-hint{margin:14px 0 0;color:#95a1ab;font-size:12px;line-height:1.6}
.seller-product-wizard .spw-step3-rest{margin-top:22px;padding-top:18px;border-top:1px solid #2a3036}
html .ui-unified .seller-product-wizard .spw-step3-rest .check{display:flex!important;align-items:flex-start;gap:10px!important;font-size:12px;line-height:1.6}
html .ui-unified .seller-product-wizard .spw-step3-rest .check input{margin:3px 0 0;flex:none}
html .ui-unified .seller-product-wizard .spw-buyer-price{border:0!important;border-radius:0!important;padding:0 0 20px!important;background:transparent!important;box-shadow:none!important}
.seller-product-wizard .spw-buyer-price>div:has(del[hidden]){min-height:0}
.seller-product-wizard .spw-buyer-price>strong{margin-top:8px;font-size:32px}
.seller-product-wizard .spw-buyer-price>div>span{background:#3d2917;color:#efbb79;font-size:12px;padding:3px 7px}
html .ui-unified .seller-product-wizard .spw-income{border:0!important;border-top:1px solid #2a3036!important;border-radius:0!important;margin:0;padding:20px 0 0;background:transparent!important}
html .ui-unified .seller-product-wizard .spw-income h2{margin-bottom:6px!important}
.seller-product-wizard .spw-income>div{padding:10px 0;border-color:#293138!important;font-size:12px}
.seller-product-wizard .spw-income-total strong{color:#f1b55e!important;font-size:21px!important}
html .ui-unified .seller-product-wizard .spw-footer{display:flex;justify-content:space-between;border:0!important;border-top:1px solid #2a3036!important;border-radius:0!important;padding:18px 0!important;background:transparent!important}
html .ui-unified .seller-product-wizard .spw-footer button{width:auto;min-width:120px;height:42px;min-height:42px;transition:background .16s,transform .16s,border-color .16s}
html .ui-unified .seller-product-wizard .spw-footer :is(.primary,.spw-footer-submit){background:#efa33a!important;border-color:#efa33a!important;color:#17110a!important}
html .ui-unified .seller-product-wizard .spw-footer .primary:hover{background:#ffb851!important;transform:translateY(-1px)}
.seller-product-wizard .spw-step{transition:color .15s}
.seller-product-wizard .spw-step:hover{color:#f1b55e!important}
.seller-product-wizard .spw-panel:not([hidden]){animation:editor-enter .16s ease-out}
.seller-sold-content{margin-top:7px;font-size:11px;color:#aeb9c3}
.seller-sold-content summary{cursor:pointer}
.seller-sold-content pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#0b1014;padding:10px;border-radius:5px;max-width:100%;font-size:12px}
@keyframes editor-enter{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:960px){html .ui-unified .seller-product-wizard .spw-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:620px){html .ui-unified .sell-page.seller-product-wizard{padding:18px 14px!important}html .ui-unified .seller-product-wizard .spw-card{padding:16px!important}html .ui-unified .seller-product-wizard :is(.spw-market-row,.spw-pair){grid-template-columns:1fr}.seller-product-wizard .spw-pricing-fields{grid-template-columns:minmax(0,1fr) 105px}.seller-product-wizard .spw-price-bounds{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.seller-product-wizard *{animation:none!important;transition:none!important}}

/* Configurations share the editor's spacing and controls. */
html .ui-unified .seller-product-wizard .lb-builder{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
html .ui-unified .seller-product-wizard .lb-group{padding:0!important;margin:20px 0 0!important;background:none!important;border:0!important;border-radius:0!important}
html .ui-unified .seller-product-wizard .spw-aside-card .lb-group{margin:0!important}
.seller-product-wizard .lb-group+.lb-group{padding-top:20px!important;border-top:1px solid #2d353c!important}
.seller-product-wizard .lb-group-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.seller-product-wizard .lb-group-head>div{min-width:0}
html .ui-unified .seller-product-wizard .lb-group-head h3{margin:0 0 5px;font-size:15px;font-weight:600;line-height:1.4;color:#e2e7eb}
html .ui-unified .seller-product-wizard .lb-group-head p{margin:0;font-size:12px;line-height:1.55;color:#8997a2}
html .ui-unified .seller-product-wizard .lb-add,.seller-product-wizard .lb-remove{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px!important;height:auto!important;width:auto!important;flex:none;padding:7px 11px!important;margin:0!important;border:1px solid #36414a!important;border-radius:7px!important;background:#141b20!important;color:#d1d9e0!important;font:500 12px/1.4 inherit!important;white-space:normal;cursor:pointer;box-shadow:none!important;transition:background .15s,border-color .15s}
html .ui-unified .seller-product-wizard .lb-add:hover{background:#20282f!important;border-color:#61717e!important}
html .ui-unified .seller-product-wizard .lb-remove{min-height:28px!important;padding:4px 8px!important;background:transparent!important;color:#a4afb8!important;font-size:11px!important}
html .ui-unified .seller-product-wizard .lb-remove:hover{border-color:#89504c!important;color:#eda6a0!important}
.seller-product-wizard .lb-field-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
html .ui-unified .seller-product-wizard .lb-row{display:block!important;padding:16px!important;margin:12px 0 0!important;background:#0a0f13!important;border:1px solid #2c373f!important;border-radius:9px!important}
.seller-product-wizard .spw-aside-card .lb-row{padding:13px!important}
.seller-product-wizard .lb-row-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}
.seller-product-wizard .lb-row-title strong{font-size:12px;font-weight:500;color:#a7b3bd}
.seller-product-wizard .lb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.seller-product-wizard .lb-variant-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 130px}
html .ui-unified .seller-product-wizard .spw-aside-card .lb-field>.lb-grid{grid-template-columns:1fr}
html .ui-unified .seller-product-wizard :is(.lb-group,.lb-row) label{min-width:0;font-size:12px!important}
html .ui-unified .seller-product-wizard :is(.lb-group,.lb-row) .field{height:38px!important;min-height:38px!important;font-size:13px!important;min-width:0}
html .ui-unified .seller-product-wizard :is(.lb-group,.lb-row) textarea.field{height:auto!important;min-height:90px!important;line-height:1.6}
html .ui-unified .seller-product-wizard label.lb-check{display:flex!important;align-items:center!important;gap:9px!important;margin:14px 0 0!important;font-size:12px!important;line-height:1.5!important;font-weight:400!important}
.seller-product-wizard .lb-check input{flex:none;appearance:auto!important;width:15px!important;height:15px!important;min-height:0!important;margin:0!important;accent-color:#efa33a;box-shadow:none!important}
.seller-product-wizard .lb-check input::after{display:none!important}
.seller-product-wizard .lb-number-settings{padding-top:14px;margin-top:14px;border-top:1px solid #283239}
.seller-product-wizard .lb-number-settings>label,.seller-product-wizard .lb-unit-price{margin-bottom:12px!important}
.seller-product-wizard .lb-unit-price>small{display:block;margin-top:6px;color:#7f909e;font-size:11px;line-height:1.5}
.seller-product-wizard .lb-number-bounds{margin-top:12px}
.seller-product-wizard .lb-calculation{color:#bdc9d2;font-size:11px;line-height:1.6;margin:14px 0 0;overflow-wrap:anywhere}
.seller-product-wizard .lb-field-extra{border-top:1px solid #283239;margin-top:14px;padding-top:12px}
.seller-product-wizard .lb-field-extra>summary{font-size:11px;color:#8494a1;cursor:pointer}
.seller-product-wizard .lb-field-extra[open]>.lb-grid{margin-top:12px;grid-template-columns:1fr}
.seller-product-wizard .lb-options{margin-top:12px!important}
.seller-product-wizard .lb-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.seller-product-wizard .lb-gallery img{width:80px;height:80px;object-fit:contain;border-radius:6px;background:#0b1014}
.seller-product-wizard .lb-gallery-upload{border:0!important;padding:0!important;background:none!important}
.seller-product-wizard input[type=file]::file-selector-button{padding:5px 8px;margin-right:8px;border:1px solid #3d4953;border-radius:5px;background:#1a2228;color:#c9d3dc;font-family:inherit;font-size:11px;cursor:pointer}
.seller-product-wizard .spw-dynamic-base{display:flex;align-items:center;min-height:70px;color:#becbd5;font-size:13px;line-height:1.65}
@media(max-width:620px){.seller-product-wizard .lb-variant-grid{grid-template-columns:1fr}.seller-product-wizard .lb-group-head{align-items:flex-start;flex-direction:column;gap:10px}.seller-product-wizard .lb-field-actions .lb-add{flex:1!important}.seller-product-wizard .spw-dynamic-base{min-height:0;padding:10px 0}}

html .ui-unified .seller-product-wizard .spw-discount-hint{padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:#9da8b0!important}

html .ui-unified .seller-product-wizard .spw-switch-row input[type=checkbox]:checked::after{transform:translateX(16px)!important;background:#22180b!important}
@media(max-width:620px){
html .ui-unified .seller-product-wizard .spw-stepper{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:start!important}
html .ui-unified .seller-product-wizard .spw-stepper>i{display:none!important}
html .ui-unified .seller-product-wizard .spw-step{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;min-width:0!important;white-space:normal!important;line-height:1.4!important;font-size:10px!important;text-align:center;gap:7px!important}
html .ui-unified .seller-product-wizard .spw-step>span:last-child{width:100%;white-space:normal!important;overflow-wrap:normal;line-height:1.4}
}

html .ui-unified .seller-product-wizard :is(.lb-add,.lb-remove){font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important}
.seller-product-wizard details.lb-field>summary{cursor:pointer;margin:0;list-style:none}
.seller-product-wizard details.lb-field>summary::before{content:'›';font-size:19px;color:#8494a1;transition:transform .15s}
.seller-product-wizard details.lb-field[open]>summary{margin-bottom:14px}
.seller-product-wizard details.lb-field[open]>summary::before{transform:rotate(90deg)}
.seller-product-wizard details.lb-field>summary strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.seller-product-wizard details.lb-field>summary::-webkit-details-marker{display:none}
html .ui-unified .sell-page.seller-product-wizard [hidden]{display:none!important}
