/* Картинки до послуг: кружок, редактор (емодзі / фото з центруванням), список */
.si-badge { --si: 36px; flex: 0 0 var(--si); width: var(--si); height: var(--si); border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #f1eff8; box-shadow: 0 0 0 1.5px rgba(217,178,76,.7); vertical-align: middle; }
.si-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si-badge.emoji { font-size: calc(var(--si) * .56); line-height: 1; }
.si-badge.empty { box-shadow: none; border: 1.5px dashed #bdb7d6; color: #8a84a8; font-size: 16px; background: transparent; }
.si-back { position: fixed; inset: 0; z-index: 600; background: rgba(20,18,30,.6); display: flex; align-items: flex-end; justify-content: center; backdrop-filter: blur(3px); }
.si-sheet { width: min(100%, 440px); max-height: 94dvh; overflow-y: auto; background: #fbfaf7; border-radius: 20px 20px 0 0; padding: 14px 14px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; }
.si-head { display: flex; align-items: center; justify-content: space-between; } .si-head b { font-size: 16px; }
.si-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.07); font-size: 20px; line-height: 1; cursor: pointer; }
.si-name { margin: 0; font-size: 13px; color: #6a6760; }
.si-tabs { display: flex; gap: 6px; } .si-tabs button { flex: 1; height: 34px; border: 0; border-radius: 10px; background: rgba(0,0,0,.06); font: 700 13px Inter, sans-serif; cursor: pointer; }
.si-tabs button.on { background: linear-gradient(135deg, #544e6e, #6b6585); color: #fff; box-shadow: 0 0 0 1.5px #d9b24c; }
.si-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.si-e { aspect-ratio: 1; border: 1.5px solid transparent; border-radius: 12px; background: #fff; font-size: 22px; cursor: pointer; padding: 0; }
.si-e.on { border-color: #d9b24c; background: #fff8e1; box-shadow: 0 0 0 2px rgba(217,178,76,.3); }
.si-crop-wrap { position: relative; width: 240px; height: 240px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #eceae4; touch-action: none; }
.si-canvas { width: 240px; height: 240px; display: block; touch-action: none; cursor: grab; }
.si-ring { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 50%, transparent 0 109px, rgba(20,18,30,.55) 110px); }
.si-ring::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px solid #d9b24c; }
.si-hint { margin: 2px 0 0; text-align: center; font-size: 12px; color: #7a766c; }
.si-zoom { width: 100%; accent-color: #d9b24c; }
.si-file span { display: block; text-align: center; padding: 10px; border-radius: 12px; background: rgba(84,78,110,.1); color: #3b3552; font: 700 13px Inter, sans-serif; cursor: pointer; }
.si-actions { display: flex; gap: 8px; } .si-actions button { flex: 1; height: 44px; border: 0; border-radius: 12px; font: 800 14px Inter, sans-serif; cursor: pointer; }
.si-save { background: linear-gradient(110deg, #e9c766, #fff0b0 30%, #d9b24c 60%, #f3d98b); color: #3a2a14; box-shadow: 0 4px 14px rgba(217,178,76,.45); }
.si-del { background: rgba(217,83,79,.12); color: #c93b3b; } .si-actions button[hidden] { display: none; }
html.si-lock, html.si-lock body { overflow: hidden; }
.si-card { background: #fff; border: 1px solid rgba(0,0,0,.07); border-radius: 14px; padding: 12px 13px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.si-head2 { display: flex; align-items: center; justify-content: space-between; } .si-head2 b { font-size: 14px; color: #2a2723; }
.si-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-top: 1px solid rgba(0,0,0,.05); } .si-row:first-of-type { border-top: 0; }
.si-info { flex: 1; min-width: 0; display: flex; flex-direction: column; } .si-info b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .si-info small { font-size: 11px; color: #8a867c; }
.si-edit { border: 0; border-radius: 999px; padding: 6px 12px; background: rgba(84,78,110,.1); color: #3b3552; font: 700 12px Inter, sans-serif; cursor: pointer; }
.si-empty { margin: 6px 0; text-align: center; font-size: 13px; color: #8a867c; }
.si-locked { background: linear-gradient(145deg, #f7f4ff, #fff); border-color: #bdb7d6; } .si-locked p { margin: 0; font-size: 13px; line-height: 1.45; color: #5d5a52; }
.si-cta { border: 0; cursor: pointer; font: 800 13px Inter, sans-serif; padding: 10px 20px; border-radius: 999px; color: #3a2a14; background: linear-gradient(110deg, #e9c766 0%, #fff0b0 22%, #d9b24c 45%, #f3d98b 70%, #d9b24c 100%); box-shadow: 0 4px 14px rgba(217,178,76,.45); }
.si-toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 9999; max-width: 90vw; padding: 10px 16px; border-radius: 12px; background: #16181c; color: #fff; font-size: 13px; transition: all .25s ease; }
.si-toast.show { opacity: 1; transform: translate(-50%, 0); }
/* кружок поруч з назвою послуги у списках */
.service-item .si-badge { display: flex; margin: 0 auto 7px; --si: 46px; }
.j-svc-tile .si-badge { --si: 26px; margin-right: 8px; }

.si-b { flex: 0 0 auto; border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; display: inline-flex; }
.si-sec { margin: 6px 0 0; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8a867c; }
.si-row .si-edit + .si-edit { margin-left: 0; }
.si-row { flex-wrap: nowrap; }
.si-edit { white-space: nowrap; }
/* значок салону / майстра в онлайн-записі */
.master-item .si-badge { display: flex; margin: 0 auto 7px; --si: 46px; }
.salon-item.has-ico { display: flex; align-items: center; gap: 12px; }
.salon-item.has-ico .si-badge { --si: 44px; margin: 0; }
.salon-item.has-ico .salon-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }

.si-edit.si-ico { padding: 6px 9px; font-size: 14px; line-height: 1; }
.si-info { min-width: 0; }
.si-info small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* dep173: список «Картинки та дизайн» у Маркеті вдвічі компактніший — рядок ≈ 30px: значок 26px, назва й майстер в одному рядку, кнопки менші */
.si-card { gap: 4px; padding: 9px 11px; }
.si-sec { margin: 3px 0 0; }
.si-row { gap: 6px; padding: 2px 0; }
.si-row .si-badge { --si: 26px !important; font-size: 12px; }
.si-info { flex-direction: row; align-items: baseline; gap: 6px; overflow: hidden; }
.si-info b { font-size: 12px; flex: 0 1 auto; min-width: 0; }
.si-info small { font-size: 10px; flex: 1 1 0; min-width: 0; }
.si-edit { padding: 4px 9px; font-size: 11px; }
.si-edit.si-ico { padding: 4px 7px; font-size: 13px; }
