/* 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;
}
.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%!important;
    border: 1px solid var(--tg-line)!important;
    border-radius: 11px!important;
    padding: 12px 14px;!important;
    font-family: inherit;
    font-size: 14.5px!important;
    color: var(--tg-ink)!important;
    background: #fff!important;
    outline: none!important;
}
.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); }

/* summary sidebar */
.bk-summary { background: #fff; border: 1px solid var(--tg-line); border-radius: 16px; padding: 22px; box-shadow: var(--tg-shadow-card); position: sticky; top: 24px; }
.bk-summary h4 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; margin: 0 0 16px; }
.bk-summary h4 svg { color: var(--tg-accent); }
.bk-sum-author { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--tg-line-soft); }
.bk-sum-author .a { width: 52px; height: 52px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bk-sum-author .a { overflow: hidden; }
.bk-sum-author .a img { width: 100%; height: 100%; object-fit: cover; }
.bk-sum-author .an { font-weight: 800; font-size: 15px; }
.bk-sum-author .as { font-size: 13px; color: var(--tg-ink-2); }
.bk-sum-sect { padding: 16px 0; border-bottom: 1px solid var(--tg-line-soft); }
.bk-sum-sect .st { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tg-ink-3); margin-bottom: 10px; }
.bk-sum-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tg-ink); margin-bottom: 9px; }
.bk-sum-line svg { color: var(--tg-ink-3); flex-shrink: 0; }
.bk-sum-line.muted { color: var(--tg-ink-3); }
.bk-sum-price { display: flex; justify-content: space-between; font-size: 14px; color: var(--tg-ink-2); margin-bottom: 8px; }
.bk-sum-price .v { color: var(--tg-ink); font-weight: 600; }
.bk-sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--tg-line); margin-top: 4px; }
.bk-sum-total .l { font-size: 15px; font-weight: 800; }
.bk-sum-total .v { font-size: 22px; font-weight: 800; color: var(--tg-accent-dark); }
.bk-note { font-size: 13px; color: var(--tg-ink-2); line-height: 1.5; }
.bk-help { background: #f4f6fa; border-radius: 11px; padding: 12px 14px; font-size: 13px; color: var(--tg-ink-2); margin-top: 16px; }
.bk-help a { color: var(--tg-accent); font-weight: 700; text-decoration: none; }

.bk-message { margin: 18px 0; padding: 14px 16px; border-radius: 11px; font-size: 14px; line-height: 1.45; }
.bk-message.success { color: #176b3a; background: #eaf8f0; border: 1px solid #bce7cd; }
.bk-message.error { color: #9d2525; background: #fff0f0; border: 1px solid #f2c3c3; }
.bk-no-times { color: var(--tg-ink-2); font-size: 13.5px; padding: 10px 0; }
.bk-optional { color: var(--tg-ink-3); font-weight: 600; }
.bk-empty-booking { max-width: 720px; }

.bk-month-calendar { max-width: 520px; padding: 14px; border: 1px solid var(--tg-line); border-radius: 14px; background: #fff; }
.bk-month-navigation {
    display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; align-items: center; gap: 10px;
    margin-bottom: 12px;
}
.bk-month-navigation span { text-align: center; font-size: 15px; font-weight: 800; text-transform: capitalize; }
.bk-month-navigation button {
    width: 38px; height: 34px; border: 1px solid var(--tg-line); border-radius: 9px;
    background: #fff; color: var(--tg-ink); cursor: pointer; font-size: 22px; line-height: 1;
}
.bk-month-navigation button:hover:not(:disabled) { border-color: var(--tg-accent); color: var(--tg-accent); }
.bk-month-navigation button:disabled { opacity: .3; cursor: default; }
.bk-calendar-weekdays, .bk-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(36px, 1fr)); gap: 5px; }
.bk-calendar-weekdays { margin-bottom: 5px; }
.bk-calendar-weekdays span { padding: 4px 0; color: var(--tg-ink-3); font-size: 11px; font-weight: 700; text-align: center; }
.bk-calendar-day {
    position: relative; min-width: 0; min-height: 42px; border: 1px solid transparent; border-radius: 9px;
    background: #f7f9fc; color: var(--tg-ink-3); cursor: not-allowed; font-size: 13.5px; font-weight: 600;
}
.bk-calendar-day.other-month { background: transparent; color: #c8ced8; }
.bk-calendar-day.available { border-color: var(--tg-line); background: #fff; color: var(--tg-ink); cursor: pointer; }
.bk-calendar-day.available::after {
    content: ''; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px;
    border-radius: 50%; background: var(--tg-accent); transform: translateX(-50%);
}
.bk-calendar-day.available:not(.selected):hover {
    border-color: var(--tg-accent);
    color: var(--tg-accent);
}
.bk-calendar-day.selected { border-color: var(--tg-accent); background: var(--tg-accent); color: #fff; }
.bk-calendar-day.selected::after { background: #fff; }
.bk-calendar-day.today:not(.selected) { box-shadow: inset 0 0 0 1px var(--tg-accent); }
.bk-calendar-hint { max-width: 520px; margin-top: 7px; color: var(--tg-ink-3); font-size: 12.5px; }
@media (max-width: 520px) {
    .bk-month-calendar { padding: 10px; }
    .bk-calendar-weekdays, .bk-calendar-days { grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 3px; }
    .bk-calendar-day { min-height: 38px; }
}
