/* Запись в сервис и хранение */
.svc-hero { margin: 6px 0 28px; }
.svc-hero .h2 { margin: 14px 0 12px; }
.booking-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(18px, 3vw, 30px); }
.bk-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 14px; background: var(--bg-2); margin-bottom: 22px; }
.bk-kind button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 10px; font-weight: 700; color: var(--text-2); transition: .2s; }
.bk-kind button.is-on { background: var(--surface); color: var(--text); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); }
.bk-kind .ico { width: 18px; height: 18px; }
.bk-form { display: grid; gap: 28px; }
.bk-step { display: grid; gap: 14px; }
.bk-h { display: flex; align-items: center; gap: 10px; font: 700 18px/1.2 var(--font); }
.bk-h > span:first-child { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 14px; flex: none; }
.bk-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.bk-svc { position: relative; cursor: pointer; }
.bk-svc input { position: absolute; opacity: 0; }
.bk-svc span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); transition: .2s; height: 100%; }
.bk-svc b { font-size: 15px; font-weight: 700; }
.bk-svc small { color: var(--muted); font-size: 13px; }
.bk-svc input:checked + span { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 1px var(--red); }
.bk-svc input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-size: 16px; }
.cal-head .icon-btn { font-size: 22px; line-height: 1; }
.cal-head .icon-btn:disabled { opacity: .3; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day { position: relative; aspect-ratio: 1; max-height: 52px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 700; transition: .15s; }
.cal-day:hover:not(:disabled) { border-color: var(--text-2); }
.cal-day:disabled { border-color: transparent; color: var(--muted); opacity: .45; cursor: default; }
.cal-day i { position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--green); }
.cal-day.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.cal-day.is-on i { background: #fff; }
.cal-empty { margin: 10px 0 0; font-size: 14px; }
.bk-slots { display: grid; gap: 10px; }
.bk-sub { font-size: 14px; font-weight: 700; color: var(--text-2); }
.bk-slots .pill { min-width: 72px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-summary { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-size: 15px; }
.bk-done { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; }
.bk-done .ok { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.bk-done .ok .ico { width: 32px; height: 32px; }
.bk-done p { color: var(--text-2); max-width: 46ch; }
.svc-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; }
.svc-card p { margin: 0; color: var(--text-2); font-size: 15px; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.price-list li:last-child { border-bottom: 0; }
.price-list b { white-space: nowrap; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 700; color: var(--text-2); transition: .15s; }
.pill:hover { color: var(--text); border-color: var(--line-3); }
.pill.is-on { background: var(--text); color: var(--on-text); border-color: var(--text); }
.faq { display: grid; gap: 10px; margin-top: 22px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red-hi); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 16px; color: var(--text-2); }
@media (max-width: 980px) { .booking-layout { grid-template-columns: 1fr; } .svc-side { position: static; } }
@media (max-width: 560px) { .bk-grid { grid-template-columns: 1fr; } .bk-kind button { font-size: 14px; } .cal-grid { gap: 4px; } }
