/* ───────── Profile ───────── */
.bk-profile { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px){ .bk-profile { grid-template-columns: 1fr; } }

.bk-pcard {
    background: #fff; border: 1px solid var(--tg-line); border-radius: 16px;
    overflow: hidden; box-shadow: var(--tg-shadow-card); position: sticky; top: 24px;
}
.bk-pcard .photo { aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 68px; font-weight: 800; position: relative; }
.bk-pcard .photo img { width: 100%; height: 100%; object-fit: cover; }
.bk-pcard .pbody { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.bk-pcard .pname { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.bk-pcard .prole { font-size: 14px; color: var(--tg-ink-2); margin-top: 2px; }
.bk-pcard .rate-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--tg-line-soft); border-bottom: 1px solid var(--tg-line-soft); }
.bk-pcard .rate-row .l { font-size: 14px; color: var(--tg-ink-2); }
.bk-pcard .rate-row .v { font-size: 20px; font-weight: 800; }
.bk-pcard .grp-title { font-size: 13px; font-weight: 700; color: var(--tg-ink-2); display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bk-pcard .grp-title svg { color: var(--tg-accent); }
.bk-stat-row { display: flex; gap: 20px; }
.bk-stat { display: flex; flex-direction: column; }
.bk-stat .n { font-size: 18px; font-weight: 800; }
.bk-stat .l { font-size: 12px; color: var(--tg-ink-3); }

.bk-tabs { display: flex; gap: 4px; background: #eef2f8; border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.bk-tabs button { flex: 1; border: none; background: transparent; cursor: pointer; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--tg-ink-2); font-family: inherit; }
.bk-tabs button.active { background: #fff; color: var(--tg-ink); box-shadow: 0 1px 3px rgba(16,24,40,.1); }

.bk-panel { background: #fff; border: 1px solid var(--tg-line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--tg-shadow-card); }
.bk-panel + .bk-panel { margin-top: 18px; }
.bk-panel h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin: 0 0 14px; }
.bk-panel h3 svg { color: var(--tg-accent); }
.bk-panel p { font-size: 14.5px; line-height: 1.6; color: #3a424e; margin: 0 0 10px; }
.bk-panel .hint { font-size: 13.5px; color: var(--tg-ink-2); }

/* weekly availability grid */
.bk-week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
@media (max-width: 620px){ .bk-week { grid-template-columns: 1fr; } }
.bk-day {
    border: 1px solid var(--tg-line); border-radius: 12px; padding: 14px; background: #fff;
}
.bk-day.empty { background: #f7f9fc; }
.bk-day .dname { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.bk-day.empty .dname { color: var(--tg-ink-3); }
.bk-day .noslot { font-size: 12.5px; color: var(--tg-ink-3); }
.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slot {
    border: 1px solid var(--tg-line); background: #fff; cursor: pointer;
    padding: 8px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--tg-ink);
    font-family: inherit; font-variant-numeric: tabular-nums;
    text-decoration: none;
}
.bk-slot:hover { border-color: var(--tg-accent); color: var(--tg-accent); }
.bk-slot.sel { background: var(--tg-accent); border-color: var(--tg-accent); color: #fff; }
.bk-slot.add { border-style: dashed; color: var(--tg-ink-2); }
.bk-slot.add:hover { color: var(--tg-accent); }

.bk-review { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--tg-line-soft); }
.bk-review:last-child { border-bottom: none; }
.bk-review .ra { width: 44px; height: 44px; border-radius: 999px; flex-shrink: 0; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.bk-review .rn { font-weight: 700; font-size: 14.5px; }
.bk-review .rstars { color: #f5b544; font-size: 13px; margin: 2px 0 6px; }
.bk-review .rtext { font-size: 14px; color: #3a424e; line-height: 1.55; }
.bk-review .rdate { font-size: 12.5px; color: var(--tg-ink-3); margin-left: auto; flex-shrink: 0; }

.bk-exp-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tg-line-soft); }
.bk-exp-item:last-child { border-bottom: none; }
.bk-exp-item .ei { width: 40px; height: 40px; border-radius: 10px; background: var(--tg-accent-soft); color: var(--tg-accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-exp-item .et { font-weight: 700; font-size: 14.5px; }
.bk-exp-item .es { font-size: 13px; color: var(--tg-ink-2); margin-top: 2px; }

/* sticky bottom bar for profile */
.bk-stickybar {
    position: sticky; bottom: 0; z-index: 5;
    background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
    border-top: 1px solid var(--tg-line);
    padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.bk-stickybar .info { font-size: 14px; color: var(--tg-ink-2); }
.bk-stickybar .info b { color: var(--tg-ink); font-weight: 800; }

/* ───────── Booking step 1 ───────── */
.bk-book { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
@media (max-width: 900px){ .bk-book { grid-template-columns: 1fr; } }

.bk-stepper { display: flex; align-items: center; margin: 22px 0 26px; }
.bk-step { display: flex; align-items: center; gap: 10px; }
.bk-step .num {
    width: 34px; height: 34px; border-radius: 999px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px; font-weight: 800; background: #e4e9f0; color: var(--tg-ink-3);
}
.bk-step.active .num { background: var(--tg-accent); color: #fff; }
.bk-step.done .num { background: #2ca25f; color: #fff; }
.bk-step .lbl { font-size: 14px; font-weight: 700; color: var(--tg-ink-3); }
.bk-step.active .lbl { color: var(--tg-accent); }
.bk-step-line { flex: 1; height: 2px; background: #e4e9f0; margin: 0 12px; border-radius: 2px; }

.bk-form-card { background: #fff; border: 1px solid var(--tg-line); border-radius: 16px; padding: 26px; box-shadow: var(--tg-shadow-card); }
.bk-form-card h2 { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.bk-form-card .lead { font-size: 14px; color: var(--tg-ink-2); margin: 0 0 22px; }

.bk-field { margin-bottom: 18px; }
.bk-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px){ .bk-row2 { grid-template-columns: 1fr; } }
.bk-label { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.bk-input, .bk-textarea, .bk-nativesel {
    width: 100%; border: 1px solid var(--tg-line); border-radius: 11px;
    padding: 12px 14px; font-family: inherit; font-size: 14.5px; color: var(--tg-ink);
    background: #fff; outline: none;
}
.bk-input:focus, .bk-textarea:focus, .bk-nativesel:focus { border-color: var(--tg-accent); box-shadow: 0 0 0 3px var(--tg-accent-soft); }
.bk-input.with-ic { padding-left: 42px; }
.bk-inputwrap { position: relative; }
.bk-inputwrap .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--tg-ink-3); pointer-events: none; }
.bk-textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
.bk-nativesel { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa3b2' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }

/* time-slot chooser inside form */
.bk-timegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 520px){ .bk-timegrid { grid-template-columns: repeat(3,1fr); } }
.bk-timegrid .t {
    border: 1px solid var(--tg-line); background: #fff; cursor: pointer; padding: 10px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; color: var(--tg-ink); font-family: inherit; font-variant-numeric: tabular-nums; text-align: center;
}
.bk-timegrid .t:hover { border-color: var(--tg-accent); color: var(--tg-accent); }
.bk-timegrid .t.sel { background: var(--tg-accent); border-color: var(--tg-accent); color: #fff; }
.bk-timegrid .t:disabled { opacity: .4; cursor: not-allowed; }

.bk-dur { display: flex; gap: 10px; flex-wrap: wrap; }
.bk-dur .d {
    border: 1px solid var(--tg-line); background: #fff; cursor: pointer; padding: 11px 16px; border-radius: 11px;
    font-size: 14px; font-weight: 600; color: var(--tg-ink); font-family: inherit;
    display: flex; flex-direction: column; gap: 1px; min-width: 108px;
}
.bk-dur .d .dp { font-size: 12px; color: var(--tg-ink-2); font-weight: 600; }
.bk-dur .d.sel { border-color: var(--tg-accent); background: var(--tg-accent-soft); }
.bk-dur .d.sel .dp { color: var(--tg-accent-dark); }

