/* ===== PUBLIC / CUSTOMER SIDE ===== */
.b2c { min-height: 100vh; display: flex; flex-direction: column; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head-inner {
  max-width: 1080px; margin: 0 auto;
  height: 60px; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
}
.site-nav { display: flex; gap: 4px; flex: 1; }
.tab-btn {
  height: 34px; padding: 0 12px; border-radius: var(--radius);
  font-weight: 550; color: var(--mute);
}
.tab-btn:hover { color: var(--text); background: var(--surface-2); }
.tab-btn.active { color: var(--text); background: #eef0f3; }
.site-user { display: flex; align-items: center; gap: 10px; }
.site-user .n { font-weight: 550; font-size: 13.5px; }

.b2c-body { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 32px 24px 80px; }
.site-foot { text-align: center; font-size: 12.5px; color: var(--faint); padding: 24px; }

/* ===== BROWSE ===== */
.browse-hero { margin-bottom: 24px; }
.browse-hero h1 { font-size: 28px; letter-spacing: -0.025em; }
.browse-hero p { color: var(--mute); margin-top: 6px; font-size: 15px; }
.browse-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.search-wrap { position: relative; max-width: 520px; }
.search-wrap .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search-wrap input { padding-left: 38px; height: 44px; font-size: 15px; }

.biz-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.biz-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.biz-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.biz-card-top { display: flex; gap: 12px; align-items: center; }
.biz-card .n { font-weight: 650; font-size: 15.5px; }
.biz-card .m { font-size: 13px; color: var(--mute); }
.biz-card .desc { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.biz-card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.biz-card-foot .go { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* Logo image instead of initials */
.avatar-logo { object-fit: contain; background: var(--surface); border: 1px solid var(--line); }
.avatar-photo { object-fit: cover; background: var(--surface-2); }
.photo-edit { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }

/* Settings: logo upload */
.logo-upload { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.logo-upload-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

/* ===== BUSINESS DETAIL ===== */
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--mute); font-weight: 500; margin-bottom: 16px; }
.back-link:hover { color: var(--text); text-decoration: none; }

.biz-detail-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.biz-detail-head h1 { font-size: 26px; letter-spacing: -0.02em; }
.biz-detail-head .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--mute); margin-top: 6px; }
.biz-detail-head .meta span, .biz-detail-head .meta a { display: inline-flex; align-items: center; gap: 5px; }
.biz-detail-head .meta a { color: inherit; text-decoration: none; }
.biz-detail-head .meta a:hover { color: var(--brand); }
.contact-list .contact-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: inherit; text-decoration: none; min-width: 0; }
.contact-list .contact-row:last-child { border-bottom: 0; }
.contact-list .contact-row svg { flex: none; color: var(--mute); }
.contact-list .contact-row .k { color: var(--mute); flex: none; }
.contact-list .contact-row .v { margin-left: auto; font-weight: 550; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.contact-list .contact-row:hover .v { color: var(--brand); }
.biz-detail-head .desc { margin-top: 10px; color: var(--text-2); max-width: 640px; }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.booking-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 16px; }
.booking-side > .card + .card { margin-top: 0; }

.step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--text); color: #fff;
  font-size: 12px; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-num.done { background: var(--brand); }
.step-title { display: flex; align-items: center; gap: 10px; }

.svc-list { display: flex; flex-direction: column; }
.svc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
}
.svc-item:last-child { border-bottom: none; }
.svc-item:hover { background: var(--surface-2); }
.svc-item .radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.svc-item.sel { background: var(--brand-soft); }
.svc-item.sel .radio { border-color: var(--brand); }
.svc-item.sel .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.svc-item .n { font-weight: 600; }
.svc-item .m { font-size: 13px; color: var(--mute); }
.svc-item .pr { margin-left: auto; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

.staff-pick { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.staff-pick .label { margin-bottom: 10px; color: var(--mute); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.staff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 5px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); font-weight: 550; font-size: 14px;
  transition: border-color .12s, background .12s;
}
.staff-chip:hover { border-color: var(--text); }
.staff-chip.sel { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-hover); box-shadow: 0 0 0 3px var(--brand-ring); }

.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.date-chip {
  flex: 0 0 64px;
  height: 74px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  transition: border-color .12s, background .12s;
}
.date-chip .wd { font-size: 11.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.date-chip .dd { font-size: 19px; font-weight: 650; line-height: 1.2; }
.date-chip .mm { font-size: 11.5px; color: var(--mute); }
.date-chip:hover:not(:disabled) { border-color: var(--text); }
.date-chip.sel { background: var(--text); border-color: var(--text); color: #fff; }
.date-chip.sel .wd, .date-chip.sel .mm { color: #cbd5e1; }
.date-chip:disabled { opacity: .4; background: var(--surface-2); }
.date-other { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: var(--mute); }
.date-other input { width: auto; min-height: 34px; padding: 5px 10px; }

.time-group + .time-group { margin-top: 16px; }
.time-group .label { display: block; margin-bottom: 8px; color: var(--mute); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.time-btn {
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color .12s, background .12s;
}
.time-btn:hover { border-color: var(--brand); color: var(--brand); }
.time-btn.sel { background: var(--brand); border-color: var(--brand); color: #fff; }

.summary .kv .v { max-width: 60%; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); }
.summary-total .v { font-size: 20px; font-weight: 700; }
.summary .btn-primary { margin-top: 16px; }

.hours-list .kv { padding: 6px 0; font-size: 13px; }
.hours-list .kv.today .k, .hours-list .kv.today .v { color: var(--brand); font-weight: 650; }

/* ===== CUSTOMER BOOKINGS / MANAGE ===== */
.narrow { max-width: 640px; margin: 0 auto; }
.manage-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }

/* ---- Podpora ---- */
.support-page { max-width: 720px; }
.support-page h1 { margin: 8px 0 6px; }
.support-page h2 { font-size: 17px; margin: 28px 0 10px; }
.support-page .lead { margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 600; font-size: 14.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: none; color: var(--faint); transition: transform .15s; }
.faq-item[open] summary svg { transform: rotate(90deg); }
.faq-item p { margin: 0; padding: 0 18px 16px; color: var(--mute); font-size: 14px; line-height: 1.55; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.support-done { text-align: center; padding: 32px 20px; }
.support-done h3 { margin: 12px 0 6px; }
.support-done p { margin: 0 0 18px; }
.support-done-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand); }
.support-link { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: underline; cursor: pointer; }
.support-link:hover { color: var(--brand); }
.auth-help { text-align: center; font-size: 13px; color: var(--mute); margin-top: 18px; }
.auth-help a { color: var(--brand); cursor: pointer; }
.nav-support { margin-top: auto; }
