/* نموذج المنتج — صفحة المنتج والسلة (Assets/js/pages/product-form.js) */
.pf-box { border:1px solid var(--color-border, #d5d9d9); border-radius:10px; padding:12px 14px; margin-top:10px; background:#fbfbfb; }
.pf-box.has-missing { border-color:#e77600; background:#fffaf2; }
.pf-box__title { display:flex; align-items:center; gap:8px; font-weight:700; font-size:.92rem; margin-bottom:8px; flex-wrap:wrap; }
.pf-badge { margin-inline-start:auto; font-size:.75rem; font-weight:600; background:#fde8d3; color:#a34700; border-radius:12px; padding:2px 9px; }
.pf-badge.is-ok { background:#e3f6ef; color:#067d62; }
.pf-field { padding:8px 0; border-top:1px dashed #e3e6e8; }
.pf-field:first-of-type { border-top:0; }
.pf-label { display:block; font-weight:600; font-size:.88rem; margin-bottom:4px; }
.pf-req { color:#c40000; }
.pf-opt { color:#6c757d; font-weight:400; font-size:.78rem; }
.pf-help { font-size:.8rem; color:#565959; margin:-2px 0 6px; }
.pf-input { font-size:.9rem; }
.pf-field.is-missing .pf-input, .pf-field.is-missing .pf-drop { border-color:#e77600; }
.pf-miss { color:#a34700; font-size:.78rem; margin-top:4px; }
.pf-status { font-size:.78rem; min-height:0; margin-top:3px; }
.pf-saved { color:#067d62; }
.pf-err { color:#c40000; }
.pf-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; border:2px dashed #c7ccd1; border-radius:10px;
           padding:14px 10px; text-align:center; cursor:pointer; background:#fff; margin:0; position:relative; transition:border-color .15s, background .15s; }
.pf-drop:hover { border-color:#007185; background:#f3fafb; }
.pf-drop i { font-size:1.4rem; color:#007185; }
.pf-drop span { font-weight:600; font-size:.88rem; }
.pf-drop small { color:#6c757d; font-size:.75rem; }
.pf-progress { position:absolute; inset-inline:10px; bottom:6px; height:4px; background:#e3e6e8; border-radius:4px; overflow:hidden; }
.pf-progress span { display:block; height:100%; width:0; background:#007185; transition:width .2s; }
.pf-file { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #e3e6e8; border-radius:8px; padding:8px; flex-wrap:wrap; }
.pf-thumb { width:56px; height:56px; object-fit:cover; border-radius:6px; display:block; }
.pf-file__icon { font-size:2rem; color:#007185; width:56px; text-align:center; }
.pf-file__info { flex:1; min-width:120px; display:flex; flex-direction:column; font-size:.85rem; overflow-wrap:anywhere; }
.pf-file__info small { color:#6c757d; }
.pf-file__btn { margin:0; cursor:pointer; }
.pf-product-note { font-size:.8rem; color:#565959; margin-top:6px; }
.ck-forms-alert { border:1px solid #e77600; background:#fff8ec; color:#7a3d00; border-radius:8px; padding:8px 12px; font-size:.85rem; margin-top:10px; cursor:pointer; }
