/* Nailsalon Manager – public booking. © Codeharven */
.nsmb { --nsmb-brand: #c2417a; --nsmb-line: #ece6ef; --nsmb-muted: #77707f; max-width: 780px; margin: 0 auto; font-size: 15px; line-height: 1.5; }
.nsmb * { box-sizing: border-box; }
.nsmb-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; counter-reset: s; }
.nsmb-steps li { flex: 1; padding: 8px 0 0; border-top: 3px solid var(--nsmb-line); font-size: 13px; color: var(--nsmb-muted); counter-increment: s; }
.nsmb-steps li::before { content: counter(s) ". "; }
.nsmb-steps li.is-active, .nsmb-steps li.is-done { border-color: var(--nsmb-brand); color: inherit; font-weight: 600; }
.nsmb-cat { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--nsmb-muted); margin: 20px 0 8px; }
.nsmb-services, .nsmb-staff { display: grid; gap: 8px; }
.nsmb-service, .nsmb-tech { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--nsmb-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.nsmb-service:hover, .nsmb-tech:hover { border-color: color-mix(in srgb, var(--nsmb-brand) 50%, white); }
.nsmb-service:has(input:checked), .nsmb-tech:has(input:checked) { border-color: var(--nsmb-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nsmb-brand) 15%, transparent); }
.nsmb-service input, .nsmb-tech input { margin-top: 4px; accent-color: var(--nsmb-brand); }
.nsmb-service.is-addon { border-style: dashed; }
.nsmb-service__body, .nsmb-tech span { display: flex; flex-direction: column; flex: 1; }
.nsmb-service small, .nsmb-tech small { color: var(--nsmb-muted); }
.nsmb-service em { font-style: normal; font-weight: 600; margin-top: 2px; }
.nsmb-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; flex: 0 0 44px; }
.nsmb-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 12px 0; background: linear-gradient(transparent, #fff 35%); }
.nsmb-total { font-weight: 700; }
.nsmb-next, .nsmb-back { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--nsmb-brand); background: var(--nsmb-brand); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-block; }
.nsmb-back { background: #fff; color: inherit; border-color: var(--nsmb-line); }
.nsmb-next:disabled { opacity: .6; }
.nsmb-dates { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.nsmb-date { flex: 0 0 auto; min-width: 70px; padding: 10px; border: 1px solid var(--nsmb-line); border-radius: 14px; background: #fff; cursor: pointer; font: inherit; font-size: 13px; line-height: 1.3; scroll-snap-align: start; color: inherit; }
.nsmb-date.is-active { background: var(--nsmb-brand); border-color: var(--nsmb-brand); color: #fff; }
.nsmb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 16px; }
.nsmb-slot { padding: 10px; border: 1px solid var(--nsmb-line); border-radius: 12px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: inherit; }
.nsmb-slot:hover { border-color: var(--nsmb-brand); color: var(--nsmb-brand); }
.nsmb-summary { padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--nsmb-brand) 8%, white); margin-bottom: 16px; }
.nsmb-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: 13px; font-weight: 600; }
.nsmb-form input:not([type=checkbox]), .nsmb-form textarea { padding: 10px 12px; border: 1px solid var(--nsmb-line); border-radius: 10px; font: inherit; font-weight: 400; width: 100%; }
.nsmb-form .nsmb-check { flex-direction: row; align-items: center; font-weight: 400; }
.nsmb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nsmb-note { color: var(--nsmb-muted); }
.nsmb-hp { position: absolute !important; left: -9999px !important; }
.nsmb-done { text-align: center; padding: 30px 0; }
.nsmb-check-icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--nsmb-brand); color: #fff; font-size: 34px; display: grid; place-items: center; }
.nsmb-prices ul { list-style: none; padding: 0; margin: 0 0 10px; }
.nsmb-prices li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--nsmb-line); }
.nsmb-prices small { color: var(--nsmb-muted); }
.nsmb-portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; max-width: none; }
.nsmb-portfolio a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.nsmb-portfolio img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nsmb-portfolio a:hover img { transform: scale(1.04); }
@media (max-width: 560px) { .nsmb-row { grid-template-columns: 1fr; } .nsmb-steps li { font-size: 12px; } }
