/* GPT_PRODUCT_EDIT_PERMISSION_V40R21A
   제품정보 수정: 브랜드·상품코드·상품명·유통기한·카운셀러노출·사진 URL·메모
   가격·구성 수정: 구성·구성수량·가격 설정·최대 주문수량 */
html[data-auth-role="branchStaff"][data-product-editor-access="off"] #invBody [data-act="edit"]{display:none!important;}
html[data-auth-role="branchStaff"] #btnDeleteEditProd{display:none!important;}
html[data-auth-role="branchStaff"] #gptStaffMaxOrderStage2C1Note,
html[data-auth-role="branchStaff"] #gptStaffQtyStage2C1Note,
html[data-auth-role="branchStaff"] #gptStaffTypeStage2C1Note,
html[data-auth-role="branchStaff"] #gptStaffCodeStage2C1Note,
html[data-auth-role="branchStaff"] #gptStaffNameStage2ANote{display:none!important;}

html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epBrand,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epCategory,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epName,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epCode,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epExpiry,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epVisible,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epImg,
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #epMemo,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epType,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epCompQty,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epMaxOrderQty,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epCostPrice,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epMarkupRate,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epFixedPrice,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epModeCost,
html[data-auth-role="branchStaff"][data-product-price-image-permission="off"] #epModeFixed{
  opacity:.46!important;cursor:not-allowed!important;
}
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epBrand,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epCategory,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epName,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epCode,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epExpiry,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epVisible,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epImg,
html[data-auth-role="branchStaff"][data-product-edit-permission="on"] #epMemo,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epType,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epCompQty,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epMaxOrderQty,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epCostPrice,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epMarkupRate,
html[data-auth-role="branchStaff"][data-product-price-image-permission="on"] #epFixedPrice{
  opacity:1!important;cursor:auto!important;
}
html[data-auth-role="branchStaff"] #epImgFile,
html[data-auth-role="branchStaff"] #btnUploadEpImg{opacity:.46!important;cursor:not-allowed!important;pointer-events:none!important;}
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #btnClearEpImg{opacity:.46!important;cursor:not-allowed!important;pointer-events:none!important;}
html[data-auth-role="branchStaff"][data-product-edit-permission="off"] #invBody [data-act="vis"]{opacity:.46!important;cursor:not-allowed!important;}
#gptProductPermissionV40R21ANote{margin:8px 0 0;padding:10px 12px;border:1px solid #e8c487;border-radius:10px;background:#fff8e9;color:#7a4a10;font-size:12px;font-weight:900;line-height:1.5;}
/* v40R21B: 권한 OFF 항목은 보이기만 하고 마우스·키보드 입력 자체를 받지 않음 */
html[data-auth-role="branchStaff"] #ovEditProd [data-product-permission-locked="1"]{pointer-events:none!important;user-select:none!important;-webkit-user-select:none!important;caret-color:transparent!important;}
html[data-auth-role="branchStaff"] #ovEditProd input[data-product-permission-locked="1"],
html[data-auth-role="branchStaff"] #ovEditProd textarea[data-product-permission-locked="1"],
html[data-auth-role="branchStaff"] #ovEditProd select[data-product-permission-locked="1"]{background-color:#f5f2ed!important;color:#aaa39b!important;}
