*{box-sizing:border-box}
:root{
  --bg:#fbf8f7;
  --paper:#ffffff;
  --paper-2:#fffdfd;
  --ink:#3f5656;
  --ink-soft:#667b7b;
  --muted:#8b9999;
  --line:#ead8de;
  --brand:#70b6b8;
  --brand-strong:#5aa9ab;
  --brand-deep:#4b9295;
  --brand-soft:#e7f6f6;
  --blush:#f8dce3;
  --blush-soft:#fff7f8;
  --blush-deep:#e9bdc8;
  --accent:#70b6b8;
  --shadow:0 18px 44px rgba(116,82,92,.10);
}
html,body{
  margin:0;
  min-height:100%;
  background:
    radial-gradient(circle at 12% 0%, rgba(248,220,227,.42) 0, rgba(248,220,227,0) 28%),
    radial-gradient(circle at 88% 0%, rgba(112,182,184,.10) 0, rgba(112,182,184,0) 24%),
    linear-gradient(180deg,#fffdfd 0%,#fbf8f7 52%,#ffffff 100%);
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
body{padding-bottom:88px}
.page{padding:18px 14px 22px}
.container{max-width:1120px;margin:0 auto}


.ob-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 0 18px;
  flex-wrap:wrap;
}
.ob-header-left{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.icon-link{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.site-return-btn{
  white-space:nowrap;
}
.icon-btn,.ghost-btn{
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.icon-btn{
  width:42px;
  height:42px;
  padding:0;
  font-size:21px;
  line-height:1;
}
.ghost-btn{
  padding:11px 18px;
  color:#3f4948;
  background:#ffffff;
  border:1px solid #e2e7e5;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.icon-btn:hover,.ghost-btn:hover{
  border-color:#cfd7d5;
  background:#f7f7f5;
  transform:translateY(-1px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand-mark,.summary-mark{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:var(--brand-deep);
  font-weight:800;
  overflow:hidden;
  border:1px solid var(--line);
  flex:0 0 auto;
}
.brand-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  background:#fff;
}
.brand-copy{min-width:0}
.brand-name{
  font-family:Georgia,"Times New Roman",serif;
  font-size:26px;
  font-weight:500;
  line-height:1;
  letter-spacing:.03em;
  color:#000000;
}
.brand-steps{
  margin-top:5px;
  font-size:11px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.16em;
  white-space:nowrap;
}

.layout{display:block}
.content{min-width:0}

.categories-shell{
  background:transparent;
  margin-bottom:14px;
}
.categories-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}
.categories-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}
.categories-controls{display:none;gap:8px}
.scroll-btn{
  width:32px;
  height:32px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--brand-deep);
  font-size:18px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,0,0,.03);
}

.category-tabs{
  display:flex;
  flex-wrap:wrap;
  overflow:visible;
  gap:10px;
  padding-bottom:2px;
  align-items:stretch;
}
.category-tabs::-webkit-scrollbar{display:none}
.category-tab{
  flex:0 1 auto;
  min-width:max-content;
  border:1px solid #dbe2e0;
  border-radius:999px;
  padding:10px 16px;
  background:var(--paper-2);
  color:var(--ink-soft);
  cursor:pointer;
  text-align:center;
  transition:all .16s ease;
  display:flex;
  align-items:center;
  justify-content:center;
}
.category-tab:hover{
  transform:translateY(-1px);
  border-color:#cad4d2;
}
.category-tab.active{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
  box-shadow:0 10px 20px rgba(149,166,162,.24);
}
.category-tab-name{
  font-size:13px;
  font-weight:700;
  line-height:1.12;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
}
.category-tab-sub{display:none}

@media (max-width:560px){
  .category-tabs{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:5px;
    max-height:83px; /* 2 compact rows visible, remaining categories scroll */
    overflow-y:auto;
    overflow-x:hidden;
    padding-right:2px;
    padding-bottom:1px;
    scrollbar-width:thin;
  }
  .category-tab{
    flex:none;
    width:100%;
    min-width:0;
    min-height:38px;
    padding:5px 4px;
    border-radius:12px;
  }
  .category-tab-name{
    font-size:9.8px;
    line-height:1.05;
    white-space:normal;
    word-break:normal;
  }
  .category-tab.category-secondary{
    opacity:.78;
    background:rgba(255,255,255,.76);
  }
  .category-tab.category-secondary.active{
    opacity:1;
  }
}

@media (max-width:390px){
  .category-tabs{
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-height:83px;
  }
  .category-tab{
    min-height:38px;
    padding:5px 4px;
  }
  .category-tab-name{
    font-size:9.6px;
  }
}
.search-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.search-input{
  flex:1;
  min-width:0;
  border:1px solid var(--line);
  background:#fff;
  border-radius:16px;
  padding:15px 16px;
  font-size:15px;
  outline:none;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.search-input:focus{
  border-color:#bfcbca;
  box-shadow:0 0 0 3px rgba(149,166,162,.14);
}
.service-count{
  min-width:40px;
  text-align:right;
  color:var(--muted);
  font-size:12px;
}

.active-category{
  font-size:14px;
  font-weight:700;
  margin-bottom:10px;
  color:var(--brand-deep);
}
.service-list{
  display:grid;
  gap:12px;
}
.service-card{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 18px;
  background:rgba(255,255,255,.98);
  border:1px solid #dfe5e3;
  border-radius:18px;
  box-shadow:0 6px 16px rgba(63,73,72,.04);
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.service-card:hover{
  transform:translateY(-1px);
  border-color:#c9d3d1;
  box-shadow:0 12px 24px rgba(63,73,72,.08);
}
.service-main{
  min-width:0;
  flex:1;
}
.service-name{
  font-size:18px;
  font-weight:700;
  line-height:1.24;
  margin-bottom:6px;
  color:#3f4948;
}
.service-meta{
  font-size:12px;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.service-price{
  font-size:19px;
  font-weight:800;
  color:var(--brand-deep);
}
.service-desc{
  font-size:12px;
  color:#7c8785;
  line-height:1.5;
  margin-top:6px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.add-btn{
  width:40px;
  height:40px;
  border-radius:12px;
  border:none;
  background:var(--brand);
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
  flex:0 0 auto;
  transition:transform .16s ease, opacity .16s ease, background .16s ease;
  box-shadow:0 10px 22px rgba(149,166,162,.22);
}
.add-btn:hover{transform:scale(1.04)}
.add-btn.added{background:var(--brand-deep)}

.state-card{
  border:1px dashed #d6dedd;
  background:#fbfcfb;
  color:#6f7a78;
  border-radius:16px;
  padding:16px;
  font-size:14px;
}

.summary-panel{display:none}
.summary-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);
  border:1px solid #dfe5e3;
  border-radius:24px;
  padding:20px;
  box-shadow:var(--shadow);
  position:sticky;
  top:18px;
}
.summary-business{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.summary-name{
  font-size:18px;
  font-weight:700;
  color:#3f4948;
}
.summary-address{
  font-size:12px;
  color:var(--muted);
  margin-top:3px;
}
.summary-empty{
  font-size:14px;
  color:var(--muted);
  padding:10px 0 18px;
}
.summary-items{
  display:grid;
  gap:10px;
  margin-bottom:18px;
}
.summary-item{
  border:1px solid #dfe5e3;
  border-radius:16px;
  padding:12px;
  background:#fff;
}
.summary-item-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.summary-item-name{
  font-size:14px;
  font-weight:700;
  line-height:1.3;
}
.summary-item-meta{
  font-size:12px;
  color:var(--muted);
  margin-top:5px;
}
.remove-btn{
  border:1px solid #dbe2e0;
  background:var(--paper-2);
  color:var(--ink);
  border-radius:10px;
  padding:8px 10px;
  font-weight:700;
  cursor:pointer;
}
.summary-total-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:14px;
  border-top:1px solid var(--line);
  font-size:19px;
  color:#3f4948;
}
.continue-btn{
  border:none;
  background:var(--brand);
  color:#fff;
  border-radius:999px;
  padding:13px 18px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 12px 22px rgba(149,166,162,.25);
}
.continue-btn:hover:not([disabled]){background:var(--brand-deep)}
.continue-btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
}
.desktop-continue{
  width:100%;
  margin-top:16px;
}

.mobile-bar{
  position:fixed;
  left:0;right:0;bottom:0;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg,rgba(245,245,242,0) 0%,rgba(245,245,242,.96) 40%,rgba(245,245,242,1) 100%);
}
.mobile-bar-inner{
  max-width:1120px;
  margin:0 auto;
  background:#fff;
  border:1px solid #dfe5e3;
  border-radius:18px;
  padding:12px 14px;
  box-shadow:0 12px 24px rgba(63,73,72,.10);
  display:flex;
  align-items:center;
  gap:12px;
}
.mobile-copy{flex:1;min-width:0}
.mobile-count{
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:3px;
}
.mobile-total{
  font-size:17px;
  font-weight:800;
  color:#3f4948;
}

.hidden{display:none !important}

@media (max-width:979px){
  .page{padding:14px 12px 18px}
  .brand-name{font-size:22px}
  .brand-steps{font-size:10px}
  .service-card{padding:14px 15px}
  .service-name{font-size:16px}
  .ob-header{align-items:flex-start}
  .header-actions{width:100%;justify-content:flex-start}
  .site-return-btn{order:1}
}

@media (min-width:980px){
  body{padding-bottom:32px}
  .page{padding:22px 18px 28px}
  .layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 350px;
    gap:28px;
    align-items:start;
  }
  .summary-panel{display:block}
  .mobile-bar{display:none}
}

.step-heading-wrap{margin-bottom:18px}
.step-back-btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  border-radius:999px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  margin-bottom:14px;
}
.step-back-btn:hover{border-color:#cfd7d5;background:#f7f7f5}
.step-eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:8px;
}
.step-title{
  margin:0 0 8px;
  font-size:42px;
  line-height:1.04;
  color:#111;
  letter-spacing:-.03em;
}
.step-copy{
  margin:0;
  font-size:15px;
  color:#667271;
  line-height:1.55;
  max-width:700px;
}
.staff-list{display:grid;gap:14px}
.staff-card{
  width:100%;
  border:1px solid #dfe5e3;
  background:rgba(255,255,255,.98);
  border-radius:22px;
  box-shadow:0 6px 16px rgba(63,73,72,.04);
  padding:18px;
  display:flex;
  align-items:center;
  gap:16px;
  text-align:left;
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.staff-card:hover{
  transform:translateY(-1px);
  border-color:#c9d3d1;
  box-shadow:0 12px 24px rgba(63,73,72,.08);
}
.staff-card.selected{
  border-color:var(--brand);
  background:linear-gradient(180deg,#ffffff 0%, #f6f9f8 100%);
  box-shadow:0 14px 28px rgba(149,166,162,.18);
}
.staff-avatar-wrap{
  width:72px;height:72px;border-radius:50%;flex:0 0 auto;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:var(--brand-soft);border:1px solid #dbe2e0;
}
.staff-avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.staff-avatar-fallback{
  display:flex;align-items:center;justify-content:center;
  width:100%;height:100%;font-weight:800;font-size:24px;color:var(--brand-deep);
}
.staff-card-main{min-width:0;flex:1;display:grid;gap:6px}
.staff-card-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.staff-card-name{font-size:22px;font-weight:700;line-height:1.2;color:#111}
.staff-card-subtitle{font-size:14px;color:#6d7876;line-height:1.45}
.staff-card-action{
  border:1px solid #dbe2e0;background:#fff;border-radius:999px;padding:11px 16px;min-width:102px;
  display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#222;flex:0 0 auto;
}
.staff-card.selected .staff-card-action{background:var(--brand);border-color:var(--brand);color:#fff}
.staff-pill{
  font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  color:var(--brand-deep);background:var(--brand-soft);padding:6px 10px;border-radius:999px;
}
.summary-staff{
  margin-top:-2px;
  margin-bottom:18px;
  border:1px solid #dfe5e3;
  border-radius:16px;
  padding:12px;
  background:#fff;
}
.summary-staff-label{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.summary-staff-name{font-size:15px;font-weight:700;color:#111}
.mobile-staff{margin-top:4px;font-size:12px;color:var(--muted)}

@media (max-width:979px){
  .step-title{font-size:34px}
  .staff-card{padding:15px 14px;border-radius:18px;gap:12px}
  .staff-avatar-wrap{width:58px;height:58px}
  .staff-card-name{font-size:18px}
  .staff-card-action{min-width:88px;padding:10px 12px}
}



.availability-shell{
  display:grid;
  grid-template-columns:240px minmax(0,1fr);
  gap:18px;
  align-items:start;
}
.availability-days-panel,
.availability-times-panel{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);
  border:1px solid #dfe5e3;
  border-radius:24px;
  padding:16px;
  box-shadow:0 6px 16px rgba(63,73,72,.04);
}
.availability-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
  flex-wrap:wrap;
}
.availability-tools-title{
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--muted);
}
.availability-tools-actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.calendar-nav-btn,
.calendar-picker-btn{
  border:1px solid #dbe2e0;
  background:#fff;
  color:#222;
  border-radius:12px;
  min-height:38px;
  padding:0 12px;
  font-weight:700;
  cursor:pointer;
}
.calendar-nav-btn{
  width:38px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
}
.calendar-picker-btn:hover,
.calendar-nav-btn:hover{
  background:#f7f7f5;
  border-color:#cfd7d5;
}
.hidden-date-input{
  position:absolute;
  pointer-events:none;
  opacity:0;
  width:1px;
  height:1px;
}
.availability-month-label{
  font-size:14px;
  font-weight:700;
  color:#6b7674;
  margin-bottom:12px;
}
.availability-days{
  display:grid;
  gap:10px;
}
.availability-day-card{
  width:100%;
  border:1px solid #dfe5e3;
  background:#fff;
  border-radius:18px;
  padding:14px 14px 13px;
  text-align:left;
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.availability-day-card:hover{
  transform:translateY(-1px);
  border-color:#c9d3d1;
  box-shadow:0 10px 20px rgba(63,73,72,.06);
}
.availability-day-card.selected{
  border-color:#9eb0ac;
  background:linear-gradient(180deg,#f7faf9 0%,#eef4f2 100%);
  box-shadow:0 10px 20px rgba(149,166,162,.16);
}
.availability-day-top{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin-bottom:4px;
}
.availability-day-dow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#6f7b79;
}
.availability-day-date{
  font-size:20px;
  font-weight:800;
  color:#111;
}
.availability-day-month{
  display:block;
  font-size:13px;
  color:#6f7b79;
  margin-bottom:8px;
}
.availability-day-count{
  display:block;
  font-size:12px;
  color:var(--brand-deep);
}
.availability-times-head{
  margin-bottom:14px;
}
.availability-times-title{
  font-size:18px;
  font-weight:800;
  color:#111;
  margin-bottom:4px;
}
.availability-times-subtitle{
  font-size:13px;
  color:#6d7876;
}
.availability-groups{
  display:grid;
  gap:16px;
}
.time-group-title{
  margin:0 0 10px;
  font-size:18px;
  font-weight:800;
  color:#111;
}
.time-slot-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.time-slot-btn{
  border:1px solid #dfe5e3;
  background:#fff;
  color:#111;
  border-radius:16px;
  min-height:56px;
  padding:12px 14px;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.time-slot-btn:hover{
  transform:translateY(-1px);
  border-color:#c9d3d1;
  box-shadow:0 8px 18px rgba(63,73,72,.08);
}
.time-slot-btn.selected{
  border-color:var(--brand);
  background:linear-gradient(180deg,#ffffff 0%, #f1f6f4 100%);
  box-shadow:0 10px 20px rgba(149,166,162,.16);
  color:#111;
}
.summary-time,
.summary-staff{
  margin-top:-2px;
  margin-bottom:18px;
  border:1px solid #dfe5e3;
  border-radius:16px;
  padding:12px;
  background:#fff;
}
.summary-selection-label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}
.summary-selection-name{
  font-size:15px;
  font-weight:700;
  color:#111;
  line-height:1.35;
}

@media (max-width:979px){
  .availability-shell{
    grid-template-columns:1fr;
    gap:12px;
  }
  .availability-days-panel,
  .availability-times-panel{
    border-radius:18px;
    padding:14px;
  }
  .availability-days{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
  }
  .availability-day-card{
    position:relative;
    min-height:82px;
    padding:10px 8px 9px;
    text-align:center;
    border-radius:16px;
  }
  .availability-day-top{
    justify-content:center;
    gap:5px;
    margin-bottom:1px;
  }
  .availability-day-dow{font-size:10px}
  .availability-day-date{font-size:20px}
  .availability-day-month{
    font-size:11px;
    margin-bottom:5px;
  }
  .availability-day-count{
    font-size:11px;
    line-height:1.15;
  }
  .availability-day-card.selected{
    border-width:3px;
    border-color:var(--brand-deep);
    box-shadow:0 0 0 3px rgba(112,182,184,.22), 0 10px 20px rgba(75,146,149,.16);
    transform:translateY(-1px);
  }
  .availability-day-card.selected::after{
    content:"✓";
    position:absolute;
    top:-7px;
    right:-7px;
    width:22px;
    height:22px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--brand-deep);
    color:#fff;
    font-size:13px;
    font-weight:900;
    box-shadow:0 4px 10px rgba(75,146,149,.22);
  }
  .availability-times-head{margin-bottom:10px}
  .time-slot-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

 (max-width:380px){
  .availability-days{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}


.confirm-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:18px;
  align-items:start;
}
.confirm-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfb 100%);
  border:1px solid #dfe5e3;
  border-radius:24px;
  padding:20px;
  box-shadow:0 6px 16px rgba(63,73,72,.04);
}
.confirm-card-title{
  margin:0 0 16px;
  font-size:20px;
  font-weight:800;
  color:#111;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.field{
  display:grid;
  gap:8px;
}
.field span{
  font-size:13px;
  font-weight:700;
  color:#55615f;
}
.field input,.field textarea{
  width:100%;
  border:1px solid #dfe5e3;
  background:#fff;
  border-radius:16px;
  padding:14px 15px;
  font-size:15px;
  color:#111;
  outline:none;
}
.field input:focus,.field textarea:focus{
  border-color:#bfcbca;
  box-shadow:0 0 0 3px rgba(149,166,162,.14);
}
.field-full{grid-column:1 / -1}
.deposit-summary-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #ecefef;
  font-size:15px;
}
.deposit-summary-row strong{
  font-size:18px;
  color:#111;
}
.deposit-help{
  margin-top:14px;
  font-size:13px;
  line-height:1.55;
  color:#667271;
}
.pay-btn{
  width:100%;
  margin-top:16px;
  border:none;
  border-radius:999px;
  padding:15px 18px;
  font-weight:800;
  font-size:15px;
  background:#111;
  color:#fff;
  cursor:pointer;
}
.pay-btn[disabled]{opacity:.65;cursor:not-allowed}
.confirm-error{
  margin-top:14px;
  border-radius:14px;
  padding:12px 14px;
  font-size:14px;
}
.confirm-error.is-error{
  background:#fff1f1;
  border:1px solid #f0caca;
  color:#8b1f1f;
}
.confirm-error.is-success{
  background:#eff8f1;
  border:1px solid #cfe7d4;
  color:#1f6b31;
}
@media (max-width:979px){
  .confirm-shell{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
}

.service-assignment-list{display:grid;gap:14px}
.service-assignment-card{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:flex-start;padding:16px 18px;border:1px solid #dfe5e3;border-radius:18px;background:#fff}
.service-assignment-order{display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--paper-2);border:1px solid #dbe2e0;padding:12px 8px;font-weight:800;color:#6a7573}
.service-assignment-name{font-size:20px;font-weight:700;color:#111;line-height:1.3}
.service-assignment-controls{display:grid;gap:8px;margin-top:8px}
.service-staff-select{width:100%;max-width:360px;padding:12px 14px;border-radius:12px;border:1px solid #dbe2e0;background:#fff;font:inherit}
.service-assignment-help{font-size:13px;color:#6d7876;line-height:1.4}
@media (max-width: 720px){
  .service-assignment-card{grid-template-columns:1fr}
  .service-assignment-order{justify-self:start;min-width:56px}
  .service-assignment-name{font-size:18px}
}

.availability-day-card.available{
  background:linear-gradient(180deg,#f3fbf6 0%,#e9f7ef 100%);
  border-color:#cfe7d6;
}
.availability-day-card.available:hover{
  border-color:#bddcc7;
  box-shadow:0 10px 20px rgba(98,158,119,.10);
}

.availability-day-card.closed{
  background:linear-gradient(180deg,#fff2f2 0%,#ffe1e1 100%);
  border-color:#e3a6ad;
}
.availability-day-card.closed:hover{
  border-color:#cf7b85;
  box-shadow:0 10px 20px rgba(176,42,55,.12);
}
.availability-day-card.closed .availability-day-count{
  color:#9f1f2d;
  font-weight:800;
}

.availability-day-card.unavailable{
  background:linear-gradient(180deg,#fff7f7 0%,#fdeaea 100%);
  border-color:#f1d0d4;
}
.availability-day-card.unavailable:hover{
  border-color:#e8bfc5;
  box-shadow:0 10px 20px rgba(176,42,55,.08);
}
.availability-day-card.unavailable .availability-day-count{
  color:#b02a37;
  font-weight:700;
}
.availability-day-card.available .availability-day-count{
  color:#567a62;
  font-weight:700;
}
.availability-day-card.selected{
  border-width:2px;
}


.guest-checkout-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:16px;
  background:#f7f7f5;
  border:1px solid #e2e7e5;
  color:#5e6766;
  font-size:14px;
  line-height:1.45;
}
.policy-card{
  margin-top:14px;
  padding:14px;
  border-radius:18px;
  background:#fafaf8;
  border:1px solid #e2e7e5;
}
.policy-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.policy-card-title{
  font-size:14px;
  font-weight:800;
  color:#3f4948;
}
.policy-toggle-btn{
  border:1px solid #d8dfdd;
  background:#fff;
  color:#3f4948;
  border-radius:999px;
  padding:9px 14px;
  font-weight:700;
  cursor:pointer;
}
.policy-toggle-btn:hover{
  background:#f7f7f5;
}
.policy-copy{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #ecefed;
  color:#5e6766;
  font-size:14px;
  line-height:1.55;
}
.policy-agree{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:12px;
  color:#3f4948;
  font-size:14px;
  line-height:1.5;
}
.policy-agree input{
  margin-top:3px;
  width:18px;
  height:18px;
  accent-color:#708582;
  flex:0 0 auto;
}

/* Silk Finish Beauty visual alignment overrides
   Blush header with cleaner neutral page space and teal actions to match silkfinish.co.nz. */
.ob-header{
  background:linear-gradient(90deg,#fde2e8 0%,#fff1f4 58%,#fffafa 100%);
  border:1px solid rgba(243,197,207,.86);
  border-radius:26px;
  padding:18px 20px;
  margin-bottom:20px;
  box-shadow:0 16px 38px rgba(116,82,92,.07);
}
.icon-btn,.ghost-btn,.scroll-btn,.step-back-btn,.calendar-nav-btn,.calendar-picker-btn,.policy-toggle-btn,.remove-btn{
  border-color:rgba(112,182,184,.28);
  color:var(--brand-deep);
}
.icon-btn,.ghost-btn{
  background:rgba(255,255,255,.88);
}
.icon-btn:hover,.ghost-btn:hover,.scroll-btn:hover,.step-back-btn:hover,.calendar-picker-btn:hover,.calendar-nav-btn:hover,.policy-toggle-btn:hover{
  background:#fffafb;
  border-color:rgba(112,182,184,.46);
}
.brand-mark,.summary-mark{
  border-color:rgba(233,189,200,.78);
  background:#fff;
  box-shadow:0 8px 18px rgba(112,182,184,.10);
}
.brand-name{
  color:#243f40;
  font-weight:500;
  letter-spacing:.01em;
}
.brand-steps,.categories-title,.step-eyebrow,.availability-tools-title,.summary-selection-label,.summary-staff-label,.mobile-count{
  color:var(--brand-deep);
}
.category-tab{
  background:#ffffff;
  border-color:rgba(112,182,184,.24);
  color:#4c8587;
}
.category-tab:hover{
  background:#fffafb;
  border-color:rgba(112,182,184,.42);
}
.category-tab.active{
  background:linear-gradient(180deg,#80c3c4 0%,#68afb1 100%);
  border-color:#68afb1;
  color:#fff;
  box-shadow:0 12px 24px rgba(112,182,184,.28);
}
.search-input,.field input,.field textarea,.service-staff-select{
  border-color:rgba(241,203,211,.78);
  background:#ffffff;
}
.search-input:focus,.field input:focus,.field textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(112,182,184,.16);
}
.active-category,.service-price,.availability-day-count{
  color:var(--brand-deep);
}
.service-card,.staff-card,.availability-days-panel,.availability-times-panel,.confirm-card,.summary-card,.mobile-bar-inner,.summary-item,.service-assignment-card{
  border-color:rgba(241,203,211,.72);
  background:#ffffff;
  box-shadow:0 12px 28px rgba(116,82,92,.055);
}
.service-card:hover,.staff-card:hover,.availability-day-card:hover,.time-slot-btn:hover{
  border-color:rgba(112,182,184,.42);
  box-shadow:0 16px 34px rgba(116,82,92,.11);
}
.service-name,.staff-card-name,.availability-day-date,.availability-times-title,.time-group-title,.confirm-card-title,.summary-name,.summary-total-row,.mobile-total,.service-assignment-name,.step-title{
  color:#244344;
}
.step-title{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-.015em;
}
.service-desc,.step-copy,.availability-times-subtitle,.staff-card-subtitle,.deposit-help,.guest-checkout-note,.policy-copy{
  color:#6f7e7e;
}
.add-btn,.continue-btn,.staff-card.selected .staff-card-action,.pay-btn{
  background:linear-gradient(180deg,#7dc0c1 0%,#65abad 100%);
  color:#fff;
  box-shadow:0 12px 24px rgba(112,182,184,.27);
}
.add-btn:hover,.continue-btn:hover:not([disabled]),.pay-btn:hover:not([disabled]){
  background:linear-gradient(180deg,#6fb7b9 0%,#579fa1 100%);
}
.add-btn.added{
  background:linear-gradient(180deg,#e8b8c4 0%,#d99aaa 100%);
}
.summary-total-row{
  border-top-color:rgba(241,203,211,.78);
}
.mobile-bar{
  background:linear-gradient(180deg,rgba(251,248,247,0) 0%,rgba(251,248,247,.96) 45%,rgba(251,248,247,1) 100%);
}
.state-card,.guest-checkout-note,.policy-card{
  background:#fffafb;
  border-color:rgba(241,203,211,.72);
}
.policy-agree input{
  accent-color:var(--brand);
}
.availability-day-card,.time-slot-btn{
  border-color:rgba(241,203,211,.72);
  background:#fff;
}
.availability-day-card.selected,.time-slot-btn.selected,.staff-card.selected{
  border-color:var(--brand);
  background:linear-gradient(180deg,#ffffff 0%,#eefafa 100%);
  box-shadow:0 14px 30px rgba(112,182,184,.18);
}
.availability-day-card.available{
  background:linear-gradient(180deg,#f2fbfb 0%,#e5f7f7 100%);
  border-color:rgba(112,182,184,.40);
}
.service-count{
  color:#82a7a7;
}
@media (min-width:980px){
  .page{padding-top:34px}
}
@media (max-width:979px){
  .ob-header{border-radius:22px;padding:15px 14px}
}


/* v22 mobile refinements: minimal header and category-row actions */
@media (max-width:560px){
  .top-site-link-wrap{
    margin:-2px 2px 5px;
    justify-content:flex-end;
  }

  .top-site-link{
    font-size:11px;
    line-height:1;
    text-decoration:underline;
    text-underline-offset:2px;
  }

  .ob-header{
    padding:9px 12px;
    border-radius:18px;
    align-items:center;
    gap:10px;
    margin-bottom:14px;
  }

  .ob-header-left{
    gap:9px;
    min-width:0;
    align-items:center;
  }

  .icon-btn{
    width:32px;
    height:32px;
    min-width:32px;
    font-size:17px;
  }

  .brand{
    gap:8px;
    min-width:0;
  }

  .brand-mark{
    width:32px;
    height:32px;
    min-width:32px;
  }

  .brand-name{
    font-size:17px;
    line-height:1.08;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .brand-steps{
    font-size:8.5px;
    letter-spacing:.12em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .categories-head{
    margin-bottom:5px;
  }

  .category-clear-btn{
    min-height:26px;
    padding:4px 10px;
    font-size:11px;
  }

  .category-tabs{
    position:relative;
    border-bottom:1px solid rgba(112,182,184,.18);
    box-shadow:inset 0 -15px 13px -18px rgba(36,63,64,.75);
  }

  .category-more-btn{
    margin:5px 0 0;
    padding:3px 9px;
    border:1px solid rgba(112,182,184,.32);
    border-radius:999px;
    background:rgba(255,250,251,.97);
    color:var(--brand-deep);
    font-size:8.5px;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
    box-shadow:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .category-more-btn.hidden{
    display:none;
  }
}

/* v22: move website link above header and place Clear beside Categories */
.top-site-link-wrap{
  display:flex;
  justify-content:flex-end;
  margin:0 0 8px;
}
.top-site-link{
  color:var(--brand-deep);
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.top-site-link:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}
.categories-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.categories-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.category-clear-btn{
  border:1px solid rgba(112,182,184,.30);
  background:#fff;
  color:var(--brand-deep);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.category-clear-btn:hover{
  border-color:rgba(112,182,184,.52);
  background:#fffafb;
}


/* v23: remove "more categories" button and use a clearer visible scrollbar instead */
.category-more-btn{
  display:none !important;
}

@media (max-width:560px){
  .category-tabs{
    overflow-y:scroll;
    scrollbar-width:auto;
    scrollbar-color:var(--brand-deep) rgba(112,182,184,.16);
    scrollbar-gutter:stable;
    padding-right:6px;
  }

  .category-tabs::-webkit-scrollbar{
    display:block;
    width:10px;
  }

  .category-tabs::-webkit-scrollbar-track{
    background:rgba(112,182,184,.14);
    border-radius:999px;
  }

  .category-tabs::-webkit-scrollbar-thumb{
    background:var(--brand-deep);
    border-radius:999px;
    border:2px solid rgba(255,255,255,.8);
  }

  .category-tabs::-webkit-scrollbar-thumb:hover{
    background:var(--ink);
  }
}

@media (max-width:390px){
  .category-tabs{
    overflow-y:scroll;
    scrollbar-width:auto;
    padding-right:6px;
  }

  .category-tabs::-webkit-scrollbar{
    width:10px;
  }
}


/* v24: make the category vertical scrollbar much more obvious */
@media (max-width:560px){
  .category-tabs{
    padding-right:12px;
    border-right:2px solid rgba(112,182,184,.30);
    box-shadow:
      inset -12px 0 0 rgba(112,182,184,.12),
      inset 0 -15px 13px -18px rgba(36,63,64,.75);
  }

  .category-tabs::-webkit-scrollbar{
    width:14px;
  }

  .category-tabs::-webkit-scrollbar-track{
    background:rgba(112,182,184,.24);
    border-radius:999px;
    border:1px solid rgba(112,182,184,.18);
  }

  .category-tabs::-webkit-scrollbar-thumb{
    background:#4f8f93;
    border-radius:999px;
    border:2px solid rgba(255,255,255,.9);
  }

  .category-tabs::-webkit-scrollbar-thumb:hover{
    background:#3f7b80;
  }
}

@media (max-width:390px){
  .category-tabs{
    padding-right:12px;
    border-right:2px solid rgba(112,182,184,.30);
    box-shadow:
      inset -12px 0 0 rgba(112,182,184,.12),
      inset 0 -15px 13px -18px rgba(36,63,64,.75);
  }

  .category-tabs::-webkit-scrollbar{
    width:14px;
  }
}


/* v25: show confirm-form validation beside the field that needs fixing */
.field-error{
  display:block;
  margin-top:6px;
  color:#a31515;
  font-size:12px;
  font-weight:700;
  line-height:1.3;
}
.field-error.hidden{
  display:none;
}
.field.has-error input,
.field.has-error textarea{
  border-color:#df9a9a !important;
  box-shadow:0 0 0 4px rgba(198,47,47,.10) !important;
}
@media (max-width:560px){
  .field-error{
    font-size:11.5px;
    margin-top:5px;
  }
}
