/* =====================================================
   Different Hair Skin Body - Online Boeking
   Brand: #000 / #fff / #abb8c3
   ===================================================== */

:root {
  --black:      #000000;
  --white:      #ffffff;
  --accent:     #abb8c3;
  --accent-bg:  #f0f4f6;
  --grey-50:    #fafafa;
  --grey-100:   #f3f3f3;
  --grey-200:   #e2e2e2;
  --grey-300:   #c8c8c8;
  --grey-500:   #888888;
  --grey-700:   #444444;
  --err:        #b44040;

  --font:   'Inter', system-ui, -apple-system, sans-serif;
  --serif:  'Cormorant Garamond', Georgia, serif;

  --r:     2px;
  --sh:    0 1px 4px rgba(0,0,0,0.07);
  --tr:    150ms ease;
  --mw:    880px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--black);
  background: var(--grey-50);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
button { cursor: pointer; font-family: var(--font); }
a { color: inherit; }
input, textarea, select { font-family: var(--font); }

/* ===== UTILITIES ===== */
.is-hidden { display: none !important; }
.container { max-width: var(--mw); margin: 0 auto; padding: 0 28px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-main {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1;
}
.logo-sub {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
}
.header-loc {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 36px 24px 40px;
}
.page-banner-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 5vw, 46px);
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-banner-sub {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ===== MAIN ===== */
.main {
  flex: 1;
  padding: 40px 0 80px;
}

/* ===== PROGRESS NAV ===== */
.prog-nav { margin-bottom: 36px; }
.prog-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.p-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background var(--tr), border-color var(--tr);
}
.p-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey-500);
  transition: color var(--tr);
}
.p-chk { display: none; }
.p-chk svg { width: 12px; height: 12px; }
.p-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-500);
  white-space: nowrap;
  transition: color var(--tr);
}

/* Active step */
.p-step.is-active .p-dot {
  background: var(--black);
  border-color: var(--black);
}
.p-step.is-active .p-num { color: var(--white); }
.p-step.is-active .p-label { color: var(--black); font-weight: 600; }

/* Completed step */
.p-step.is-done .p-dot {
  background: var(--black);
  border-color: var(--black);
}
.p-step.is-done .p-num { display: none; }
.p-step.is-done .p-chk { display: flex; align-items: center; justify-content: center; }
.p-step.is-done .p-chk svg polyline { stroke: var(--white); }
.p-step.is-done .p-label { color: var(--grey-700); }

.p-line {
  flex: 1;
  height: 1px;
  background: var(--grey-200);
  min-width: 16px;
  max-width: 72px;
  margin-bottom: 28px; /* offset for label height */
  transition: background var(--tr);
}
.p-step.is-done + .p-line { background: var(--black); }

/* ===== PANEL ===== */
.panels { }
.panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  padding: 40px 44px;
  border-radius: var(--r);
}
.panel-head { margin-bottom: 28px; }
.panel-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.panel-desc {
  font-size: 13px;
  color: var(--grey-500);
  font-weight: 300;
}

/* ===== FILTER TABS ===== */
.ftab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.ftab {
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--grey-700);
  border-radius: var(--r);
  transition: all var(--tr);
}
.ftab:hover {
  border-color: var(--accent);
  color: var(--black);
}
.ftab.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ===== SERVICES GRID ===== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
@media (max-width: 680px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .svc-grid { grid-template-columns: 1fr; } }

.svc-card {
  border: 1px solid var(--grey-200);
  background: var(--white);
  padding: 18px 16px;
  cursor: pointer;
  border-radius: var(--r);
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  user-select: none;
}
.svc-card:hover {
  border-color: var(--accent);
}
.svc-card.is-sel {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.svc-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.svc-desc {
  font-size: 11px;
  color: var(--grey-500);
  line-height: 1.5;
  font-weight: 300;
  flex: 1;
}
.svc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.svc-dur {
  font-size: 11px;
  color: var(--grey-500);
  letter-spacing: 0.03em;
}
.svc-price {
  font-size: 13px;
  font-weight: 500;
}
.svc-sel-ring {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-200);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  margin-left: auto;
}
.svc-card.is-sel .svc-sel-ring {
  background: var(--black);
  border-color: var(--black);
}
.svc-sel-ring::after {
  content: '';
  display: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}
.svc-card.is-sel .svc-sel-ring::after { display: block; }

/* ===== STYLIST GRID ===== */
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}
@media (max-width: 640px) { .stylist-grid { grid-template-columns: repeat(2, 1fr); } }

.stylist-card {
  border: 1px solid var(--grey-200);
  background: var(--white);
  padding: 24px 12px 18px;
  cursor: pointer;
  border-radius: var(--r);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
  user-select: none;
}
.stylist-card:hover { border-color: var(--accent); }
.stylist-card.is-sel {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 0 0 1px var(--accent);
}
.stylist-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.02em;
  background: var(--grey-100);
  color: var(--grey-700);
  flex-shrink: 0;
}
.stylist-card--nopref .stylist-avatar {
  background: transparent;
  border: 1.5px dashed var(--grey-300);
  color: var(--grey-300);
  font-size: 20px;
  font-weight: 200;
}
.stylist-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.stylist-role {
  font-size: 10px;
  color: var(--grey-500);
  font-weight: 300;
  line-height: 1.5;
}

/* ===== DATE STRIP ===== */
.dt-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}
.sec-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 12px;
}

.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--grey-200) transparent;
}
.date-strip::-webkit-scrollbar { height: 3px; }
.date-strip::-webkit-scrollbar-thumb { background: var(--grey-200); border-radius: 2px; }

.date-card {
  flex-shrink: 0;
  width: 60px;
  border: 1px solid var(--grey-200);
  background: var(--white);
  cursor: pointer;
  border-radius: var(--r);
  padding: 10px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  transition: border-color var(--tr), background var(--tr), color var(--tr);
  user-select: none;
}
.date-card:hover { border-color: var(--accent); }
.date-card.is-sel {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.date-day {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 400;
}
.date-card.is-sel .date-day { color: var(--accent); }
.date-num {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.1;
}
.date-mon {
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--grey-500);
}
.date-card.is-sel .date-mon { color: var(--accent); }

/* ===== TIME SLOTS ===== */
.times-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.time-slot {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 400;
  border: 1px solid var(--grey-200);
  background: var(--white);
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
  user-select: none;
}
.time-slot:hover { border-color: var(--accent); }
.time-slot.is-sel {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.times-empty {
  font-size: 13px;
  color: var(--grey-500);
  font-weight: 300;
  padding: 8px 0;
}

/* ===== BOOKING SUMMARY BAR ===== */
.bk-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  margin-bottom: 28px;
  overflow: hidden;
}
.bk-sum-item {
  padding: 14px 20px;
  border-right: 1px solid var(--grey-200);
  flex: 1;
  min-width: 120px;
}
.bk-sum-item:last-child { border-right: none; }
.bk-sum-lbl {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 3px;
}
.bk-sum-val {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

/* ===== FORM ===== */
#bk-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.form-row { display: flex; flex-direction: column; gap: 20px; }
.form-row.two-col { flex-direction: row; }
@media (max-width: 500px) { .form-row.two-col { flex-direction: column; } }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.form-lbl {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-700);
}
.req { color: var(--black); font-weight: 600; }
.opt {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--grey-500);
}
.form-inp {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--grey-200);
  background: var(--white);
  color: var(--black);
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--tr);
  -webkit-appearance: none;
  appearance: none;
}
.form-inp::placeholder { color: var(--grey-300); }
.form-inp:focus { border-color: var(--accent); }
.form-inp.has-err { border-color: var(--err); }
.form-ta { resize: vertical; min-height: 84px; }
.ferr {
  font-size: 11px;
  color: var(--err);
  display: none;
  font-weight: 400;
}
.ferr.is-vis { display: block; }
.form-chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--grey-700);
  line-height: 1.5;
}
.form-chk input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--black);
  cursor: pointer;
}
.inline-lnk {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== PANEL FOOTER ===== */
.panel-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--grey-100);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  transition: all var(--tr);
  white-space: nowrap;
  -webkit-appearance: none;
}
.btn-primary {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.btn-primary:hover:not(:disabled) { background: #222; border-color: #222; }
.btn-primary:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  border-color: var(--grey-200);
  color: var(--grey-700);
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); }

/* Spinner */
.spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== CONFIRMATION ===== */
.ok-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 8px;
}
.ok-ring {
  margin-bottom: 24px;
}
.ok-ring svg { width: 60px; height: 60px; }
.ok-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  line-height: 1.1;
}
.ok-sub {
  font-size: 14px;
  color: var(--grey-500);
  font-weight: 300;
  margin-bottom: 36px;
}
.ok-card {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--r);
  padding: 24px 32px;
  width: 100%;
  max-width: 420px;
  text-align: left;
  margin-bottom: 32px;
}
.ok-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-200);
  font-size: 13px;
}
.ok-row:last-child { border-bottom: none; }
.ok-row-lbl { color: var(--grey-500); white-space: nowrap; }
.ok-row-val { font-weight: 500; text-align: right; }
.ok-divider {
  height: 1px;
  background: var(--grey-200);
  margin: 4px 0;
  grid-column: 1 / -1;
}
.ok-contact {
  font-size: 13px;
  color: var(--grey-500);
  line-height: 1.9;
  margin-bottom: 32px;
  font-weight: 300;
}
.ok-contact strong { color: var(--grey-700); font-weight: 500; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--black);
  padding: 22px 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ft-brand { color: var(--white); font-weight: 400; }
.ft-sep { opacity: 0.35; }

/* ===== RESPONSIVE ===== */
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .panel { padding: 28px 20px; }
  .p-label { display: none; }
  .p-line { min-width: 20px; max-width: 40px; }
  .bk-sum-item { min-width: 100px; }
}
@media (max-width: 440px) {
  .panel { padding: 22px 16px; }
  .ok-card { padding: 18px 16px; }
  .page-banner { padding: 28px 16px 32px; }
}
