.product-edit-page.product-edit-page{width:min(700px,calc(100vw - 32px))!important;max-height:calc(100vh - 32px)!important;border-radius:24px!important}
.product-edit-page.product-edit-page>header{padding:25px 34px 22px!important;background:#10295c!important}
.product-edit-page>header h1{font-size:26px!important;font-weight:800}
.product-edit-page>header p{font-size:13px}
.product-edit-page .product-edit-close{position:absolute!important;top:17px!important;right:18px!important}
.product-edit-page .product-edit-form>main{gap:22px!important;padding:28px 34px!important;scrollbar-width:thin;scrollbar-color:#7890ae #edf2f7}
.product-edit-page .product-edit-form>main::-webkit-scrollbar{width:10px}
.product-edit-page .product-edit-form>main::-webkit-scrollbar-track{background:#edf2f7}
.product-edit-page .product-edit-form>main::-webkit-scrollbar-thumb{border:2px solid #edf2f7;border-radius:999px;background:#7890ae}
.product-edit-page .product-edit-form>footer{justify-content:flex-end!important;padding:16px 34px!important}
.product-edit-page .field label,.product-edit-page .section-label{color:#203d69;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.product-edit-page .field input,.product-edit-page .field select,.product-edit-page .field textarea,.product-edit-page select{min-height:47px;border:1px solid #d3dfed;border-radius:14px;background:#fff;color:#10284f}
.product-edit-page .field textarea{padding:13px 15px;line-height:1.5}
.product-edit-page .field small{display:block;margin-top:7px;color:#607794;font-size:10px}
.product-edit-page .form-grid{gap:12px}
.product-edit-page .product-edit-name input{font-weight:600}

.product-edit-page .edit-image-section{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.product-edit-page .edit-image-section>.section-label{align-self:stretch;margin:0}
.product-edit-page .edit-image-section .product-preview{position:relative;align-self:center;width:min(390px,100%);height:390px;border:2px dashed #cbd9ea;border-radius:18px;background:#fff}
.product-edit-page .edit-image-section .product-preview img{padding:12px;object-fit:contain}
.product-edit-page .product-preview-empty{display:grid;place-items:center;width:100%;height:100%;color:#8095b1}
.product-edit-page .product-preview-empty svg{width:58px;height:58px}
.product-edit-page .product-image-actions{display:grid;gap:8px;width:100%}
.product-edit-page .product-image-actions button{width:100%;min-height:45px;border-radius:13px;font-weight:800}
.product-edit-page .remove-image{position:absolute;top:10px;right:10px;display:grid!important;place-items:center;width:38px;height:38px;margin:0!important;padding:0!important;border:1px solid #f0c1c9!important;border-radius:11px!important;background:#fff!important;color:#e12645!important;box-shadow:0 4px 13px #18315e18;cursor:pointer}
.product-edit-page .remove-image input{position:absolute;opacity:0;pointer-events:none}
.product-edit-page .remove-image span{font-size:19px;font-weight:800;line-height:1}
.product-edit-page .remove-image:has(input:checked){background:#e12645!important;color:#fff!important}

.product-edit-page .product-edit-catalog-row{grid-template-columns:1fr 1fr}
.product-edit-page .edit-suppliers{padding:15px 16px;border:1px solid #d9e4f0;border-radius:16px;background:#fbfcfe}
.product-edit-page .section-heading{gap:14px}
.product-edit-page .section-heading h2{font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.product-edit-page .section-heading p{font-size:10px}
.product-edit-page #add-product-supplier{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:32px;padding:7px 11px;border:1px solid #b8cbe5;border-radius:10px;background:#fff;color:#173f7d;font-size:10px;font-weight:800;cursor:pointer}
.product-edit-page .supplier-price-row{grid-template-columns:minmax(0,1fr) 135px 36px;gap:9px;margin-top:9px;padding:0;border:0;background:transparent}
.product-edit-page .supplier-price-row .field label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.product-edit-page .supplier-price-row select,.product-edit-page .supplier-price-row input{min-height:41px}
.product-edit-page .product-money-input{position:relative}
.product-edit-page .product-money-input>span{position:absolute;left:12px;top:50%;z-index:1;transform:translateY(-50%);color:#7890ae;font-weight:700}
.product-edit-page .product-money-input input{width:100%;padding-left:27px}
.product-edit-page .remove-supplier-row{align-self:end;height:41px;border:1px solid #ffd4dc;border-radius:10px;background:#fff4f6;color:#e52b49;font-size:18px}

.product-edit-page .product-edit-packaging-row{grid-template-columns:1.05fr 1fr 1.05fr}
.product-edit-page .product-edit-dry-panel{padding:16px;border:1px solid #79d0f5;border-radius:16px;background:#f1faff}
.product-edit-page .product-edit-dry-panel[hidden]{display:none!important}
.product-edit-page .product-edit-dry-panel>header{display:flex;align-items:center;gap:10px;margin-bottom:13px;color:#173c68}
.product-edit-page .product-edit-dry-panel>header>b{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:9px;background:#08a9e8;color:#fff}
.product-edit-page .product-edit-dry-panel>header strong,.product-edit-page .product-edit-dry-panel>header small{display:block}
.product-edit-page .product-edit-dry-panel>header small{margin-top:3px;color:#587492;font-size:10px;font-weight:400;line-height:1.4}
.product-edit-page .product-edit-dry-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.product-edit-page .product-edit-dry-help{display:block;margin-top:7px;color:#4f6e8e;font-size:10px}

.product-edit-page .product-unit-cost-panel{padding:17px;border:1px solid #f2c44e;border-radius:16px;background:#fffaf0}
.product-edit-page .product-unit-cost-panel>header{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#1b3156}
.product-edit-page .product-unit-cost-panel>header>b{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:10px;background:#ff9d00;color:#fff;font-size:17px}
.product-edit-page .product-unit-cost-panel>header strong,.product-edit-page .product-unit-cost-panel>header small{display:block}
.product-edit-page .product-unit-cost-panel>header small{margin-top:3px;color:#8b5413;font-size:10px;font-weight:400;line-height:1.4}
.product-edit-page .product-unit-cost-display{position:relative}
.product-edit-page .product-unit-cost-display>span{position:absolute;left:14px;top:50%;z-index:1;transform:translateY(-50%);color:#8094ae;font-weight:800}
.product-edit-page .product-unit-cost-display>input{width:100%;padding-left:34px;padding-right:145px;background:#fff!important}
.product-edit-page .product-unit-cost-display>small{position:absolute;right:14px;top:50%;margin:0;transform:translateY(-50%);color:#7489a6;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}

.product-edit-page .product-tariff-field{margin-top:1px}
.product-edit-page .product-edit-danger{margin:0;padding:18px;border-color:#f2c665;background:#fffaf0}
.product-edit-page .product-edit-danger>header{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.product-edit-page .product-edit-danger>header>span{display:grid;place-items:center;flex:0 0 31px;height:31px;border:1px solid #f3cf77;border-radius:10px;background:#fff5ce;color:#b46a00;font-size:10px;font-weight:800}
.product-edit-page .product-edit-danger>header strong,.product-edit-page .product-edit-danger>header small{display:block}
.product-edit-page .product-edit-danger>header small{margin-top:3px;color:#72592f;font-size:10px;font-weight:400}
.product-edit-page .product-edit-danger .check-field{display:flex;align-items:center;gap:8px;min-height:40px;padding:9px 11px;border:1px solid #dbe4ec;border-radius:12px;background:#fff;color:#17335f}
.product-edit-page .product-edit-danger .check-field small{margin-left:0;color:#60758d;font-weight:400}
.product-edit-page .product-export-control{margin-top:16px;padding-top:15px;border-top:1px solid #efd58f}
.product-edit-page .product-export-control h3{margin:0 0 10px;color:#a35b00;font-size:10px;letter-spacing:.16em}
.product-edit-page .product-edit-status .section-label{margin:0 0 9px}
.product-edit-page .supplier-status-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.product-edit-page .product-edit-status .supplier-status-options label{position:relative;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important}
.product-edit-page .product-edit-status .supplier-status-options input{position:absolute;opacity:0}
.product-edit-page .product-edit-status .supplier-status-options label span{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;padding:12px 15px;border:1px solid #d6e1ee;border-radius:14px;background:#fff;color:#29405f;font-size:11px;font-weight:800;text-transform:uppercase;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
.product-edit-page .product-edit-status .supplier-status-options label i{width:17px;height:17px;flex:0 0 17px;border:2px solid #9aacc2;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 3px #fff}
.product-edit-page .product-edit-status .supplier-status-options label input:focus-visible+span{outline:3px solid rgba(49,102,181,.18);outline-offset:2px}
.product-edit-page .product-edit-status .supplier-status-options label input:checked+span{border-color:#10b879!important;background:#eafbf4!important;color:#087952!important;box-shadow:0 0 0 1px rgba(16,184,121,.18)!important}
.product-edit-page .product-edit-status .supplier-status-options label input:checked+span i{border-color:#0caf74;background:#0caf74;box-shadow:inset 0 0 0 3px #eafbf4}
.product-edit-page .product-edit-status .supplier-status-options label.status-suspended input:checked+span{border-color:#e36a78!important;background:#fff0f2!important;color:#b72b3d!important;box-shadow:0 0 0 1px rgba(227,106,120,.14)!important}
.product-edit-page .product-edit-status .supplier-status-options label.status-suspended input:checked+span i{border-color:#d9485c;background:#d9485c;box-shadow:inset 0 0 0 3px #fff0f2}

@media(max-width:700px){
  .product-edit-page.product-edit-page{width:100%!important;max-height:calc(100vh - 20px)!important}
  .product-edit-page.product-edit-page>header{padding:21px 22px 18px!important}
  .product-edit-page .product-edit-form>main{padding:22px!important}
  .product-edit-page .product-edit-form>footer{padding:14px 22px!important}
  .product-edit-page .edit-image-section .product-preview{height:min(390px,calc(100vw - 76px))}
  .product-edit-page .product-edit-packaging-row{grid-template-columns:1fr 1fr}
  .product-edit-page .product-edit-packaging-row>.field:first-child{grid-column:1/-1}
}
@media(max-width:520px){
  .product-edit-page .product-edit-catalog-row,.product-edit-page .product-edit-packaging-row,.product-edit-page .product-edit-dry-fields,.product-edit-page .thirds{grid-template-columns:1fr}
  .product-edit-page .product-edit-packaging-row>.field:first-child{grid-column:auto}
  .product-edit-page .supplier-price-row{grid-template-columns:1fr 90px 36px}
  .product-edit-page .section-heading{align-items:flex-start;flex-direction:column}
}
