/*
 * P1 read-only mode (source_of_truth = 'sheet'): hide every mutation entry
 * point. body.read-only is toggled by js/readOnlyMode.js from the readOnly
 * flag in getReferenceData. !important so these rules win regardless of the
 * ported stylesheets loaded after this file.
 */

/* "Add" button on each category header (createNewProductInCategory) */
body.read-only .category-header-add-button,
/* Product modal: Apply Now / Schedule / Delete / Disable / Remove special */
body.read-only #btnApplyNow,
body.read-only #btnSchedule,
body.read-only .schedule-buttons,
body.read-only #btnToggleDelete,
body.read-only #btnToggleDisable,
body.read-only #btnRemoveSpecial,
/* Photo upload (claim button, secondary button, placeholder, source picker) */
body.read-only #btnUploadPhoto,
body.read-only #btnUploadPhotoSecondary,
body.read-only #photoPlaceholderUploadBtn,
body.read-only #photoSourceModal,
/* Sync panel Fix / Resync / Refresh buttons */
body.read-only .sync-button,
/* Wholesale flyer: menu entry + generate/send buttons */
body.read-only #menuWholesaleFlyer,
body.read-only #btnGenerateFlyer,
body.read-only #btnIterateFlyer,
body.read-only #btnSendFlyer {
  display: none !important;
}
