/* CFM V15: imágenes administrables para categorías y subcategorías. */
.admin-body .cfm-cat-upload{grid-column:1/-1;display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:center;padding:15px;border:1px solid #dbe6f1;border-radius:12px;background:#f8fbff}
.admin-body .cfm-cat-upload-preview{position:relative;width:100%;aspect-ratio:16/10;background:#ecf3f9;border:1px solid #d5e2ed;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;color:#71869a}
.admin-body .cfm-cat-upload-preview img{display:block;width:100%;height:100%;object-fit:cover}
.admin-body .cfm-cat-upload-preview img[hidden]{display:none!important}
.admin-body .cfm-cat-upload-preview [data-cfm-cat-placeholder]{display:grid;gap:3px;justify-items:center;font-size:26px}
.admin-body .cfm-cat-upload-preview [data-cfm-cat-placeholder] small{font-size:11px;font-weight:650;color:#8295a7}
.admin-body .cfm-cat-upload-controls{display:grid;gap:9px;min-width:0}
.admin-body .cfm-cat-upload-controls>label:not(.cfm-cat-remove-image){display:grid;gap:7px;font-size:12px;font-weight:740;color:#244b6b;min-width:0}
.admin-body .cfm-cat-upload-controls input[type=file]{height:auto!important;min-height:43px;max-width:100%;padding:9px!important;font-size:12px;background:white}
.admin-body .cfm-cat-upload-controls label small{font-size:11px;font-weight:450;color:#70879a;line-height:1.5}
.admin-body .cfm-cat-upload-controls .cfm-cat-remove-image{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:630;color:#9b3e35;cursor:pointer}
.admin-body .cfm-cat-remove-image input[type=checkbox]{accent-color:#ae4941;width:16px;height:16px;flex:0 0 auto}
.admin-body .cfm-cat-upload-error{min-height:0;font-size:11px;color:#b43131;font-weight:650}
.admin-body .cfm-cat-list-thumb{display:block;flex:0 0 45px;width:45px;height:40px;object-fit:cover;border-radius:7px;background:#eff4f8;border:1px solid #dce7ef}
.admin-body .cfm-cat-edit-form .cfm-cat-upload{grid-column:1/-1}
.admin-body .cfm-cat-create-form .cfm-cat-primary{grid-column:1/-1}
.admin-body .cfm-cat-edit-form .cfm-cat-primary{justify-self:start}
body.ae35-body .sc37-subcategories a.cfm-subcategory-with-image{display:flex;gap:8px;align-items:center;padding:6px 10px 6px 6px;min-height:44px;max-width:100%}
body.ae35-body .cfm-subcategory-with-image img{width:35px;height:32px;flex:0 0 35px;border-radius:5px;object-fit:cover;background:white}
@media(max-width:720px){.admin-body .cfm-cat-upload{grid-template-columns:1fr}.admin-body .cfm-cat-upload-preview{width:min(100%,330px)}.admin-body .cfm-cat-list-thumb{flex-basis:34px;width:34px;height:34px}.admin-body .cfm-cat-upload-controls input[type=file]{font-size:11px}}

.sc30-body .cfm-cat-dialog .cfm-cat-quick-upload{grid-template-columns:110px minmax(0,1fr);padding:11px;gap:12px}
.sc30-body .cfm-cat-dialog .cfm-cat-upload-controls input[type=file]{width:100%;height:auto;min-height:40px;padding:7px 8px}
.sc30-body .cfm-cat-dialog .cfm-cat-upload-preview{min-height:85px}
.sc30-body .cfm-cat-dialog .cfm-cat-upload-controls label small{display:block}
