.product-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.product-toolbar input{flex:1;min-width:160px}.product-toolbar select{max-width:210px}.product-editor{width:min(960px,calc(100% - 28px));padding:0}.product-editor header{padding:22px 26px;background:#0d151d;border-bottom:1px solid #214663}.product-editor h2{margin:0}.product-editor-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(280px,1.2fr);gap:24px;padding:24px}.product-photo-panel{display:flex;flex-direction:column;gap:12px}.product-photo-preview{width:100%;height:310px;object-fit:contain;background:#08141e;border:1px dashed #2b6583;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#9db7cf;cursor:pointer}.product-photo-preview img{width:100%;height:100%;object-fit:contain;border-radius:12px}.product-photo-preview:focus-visible{outline:2px solid #6bdcff}.product-photo-panel input[type=file]{max-width:100%}.product-editor label{margin:0 0 7px}.product-editor .product-form-field{margin-bottom:16px}.product-money-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.product-check{display:flex!important;align-items:center;gap:10px;padding:12px;background:#15232d;border-radius:10px}.product-check input{width:20px;height:20px}.product-editor footer{padding:18px 24px;background:#0d151d;border-top:1px solid #214663}.product-editor footer .actions{margin:0;justify-content:flex-end;flex-wrap:wrap}.product-editor .error{padding:0 24px;white-space:pre-wrap}.product-inactive{opacity:.7}.product-editor small{color:#9db7cf;line-height:1.5}.product-editor button{min-height:44px}.product-editor .product-danger{margin-right:auto;color:#ffb5a9}.product-photo-panel.dragging{outline:2px solid #6bdcff;outline-offset:6px}.product-preview-note{margin:0!important}.product-card-meta{display:flex;justify-content:space-between;gap:12px}.product-card-meta span{font-size:12px;color:#9db7cf}@media(max-width:650px){.product-editor-layout{grid-template-columns:1fr;padding:18px;gap:20px}.product-photo-preview{height:210px}.product-editor header{padding:18px}.product-editor footer{padding:16px}.product-money-row{gap:10px}.product-toolbar{gap:8px}.product-toolbar select{max-width:100%}.product-editor footer .actions button{flex:1}.product-editor .product-danger{flex-basis:100%!important}}
.product-editor{overflow:hidden}.product-editor form{display:flex;flex-direction:column;max-height:90vh;min-width:0}.product-editor header,.product-editor footer{flex-shrink:0}.product-editor-layout{overflow-y:auto;min-height:0}.product-editor-layout>*{min-width:0}.product-photo-panel input[type=file]{width:100%;min-width:0}.product-money-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.product-editor .error{flex-shrink:0;max-height:120px;overflow:auto}.product-editor footer button{white-space:normal}@media(max-width:650px){.product-editor-layout{grid-template-columns:minmax(0,1fr)}.product-editor header h2{font-size:19px}.product-editor footer .actions{gap:6px}}
.product-categories{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.product-categories button{min-width:100px;min-height:44px}.product-categories button[aria-pressed=true]{background:#0877ef;border-color:#44c8ff;color:white}@media(max-width:480px){.product-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.product-categories button{min-width:0;padding:10px 6px}}
