/* ShopUP 식단 : 날짜별 사진 칸 (관리자·고객 공용) */
.su-ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #f3f3f1; }
.su-ph-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.su-ph-edit { cursor: pointer; outline: 2px dashed transparent; outline-offset: -2px; }
.su-ph-edit:not(.has) { outline-color: #ccc; }
.su-ph-edit:hover, .su-ph-edit.drag { outline-color: var(--su-point, #e5322d); }
.su-ph-add { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 10px; border-radius: 14px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.su-ph-edit:not(.has) .su-ph-add, .su-ph-edit:hover .su-ph-add, .su-ph-edit.drag .su-ph-add { opacity: 1; }
.su-ph-edit:not(.has) .su-ph-add { background: none; color: #999; }
.su-ph-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; line-height: 22px; cursor: pointer; display: none; }
.su-ph-edit.own .su-ph-del { display: block; }
.su-ph-tag { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 3px; background: rgba(255,255,255,.85); color: #888; font-size: 10px; pointer-events: none; }
.su-ph.own .su-ph-tag, .su-ph:not(.has) .su-ph-tag { display: none; }
.su-ph.busy::after { content: '올리는 중…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.75); font-size: 12px; color: #333; }
.su-ph-toast { position: fixed; left: 50%; bottom: 90px; z-index: 2000; transform: translateX(-50%); padding: 10px 18px; border-radius: 20px; background: rgba(0,0,0,.8); color: #fff; font-size: 13px; }
.su-ph-toast[hidden] { display: none; }
.su-ph-bulk { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.su-ph-bulk input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
