/* ==========================================================================
   Collar & Comb — booking flow
   Mobile-first. The whole flow is one coral panel, as on the live site.
   ========================================================================== */

.bk{
  width:min(100% - 2*var(--gap), 980px);
  margin:0 auto clamp(40px,7vw,80px);
}

.bk-shell{
  background:var(--coral);
  border-radius:var(--r);
  padding:clamp(14px,3.4vw,34px);
}

/* progress ---------------------------------------------------------------- */
.bk-progress{
  display:flex;align-items:center;gap:8px;
  padding:0 4px clamp(12px,2vw,18px);
}
.bk-progress-track{
  flex:1;height:6px;border-radius:99px;
  background:rgba(255,255,255,.4);overflow:hidden;
}
.bk-progress-bar{
  height:100%;width:0;border-radius:99px;background:#fff;
  transition:width .35s cubic-bezier(.4,0,.2,1);
}
.bk-progress-text{
  color:#fff;font-size:12.5px;font-weight:600;letter-spacing:.04em;
  white-space:nowrap;
}

/* card -------------------------------------------------------------------- */
.bk-card{
  background:#fff;border-radius:16px;
  padding:clamp(20px,4.2vw,44px);
}

.bk-step{display:none}
.bk-step.is-active{display:block;animation:bk-in .3s ease}
@keyframes bk-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.bk-step.is-active{animation:none}}

.bk-step h2{
  font-family:var(--sans);font-size:clamp(20px,3.2vw,26px);font-weight:700;
  color:var(--ink);margin-bottom:6px;
}
.bk-step-intro{color:#666;font-size:15px;margin-bottom:clamp(18px,3vw,26px)}

/* advisory poster --------------------------------------------------------- */
/* The old form opened on this full-bleed. At 1024x1280 that eats a whole
   phone screen before the visitor reaches a single field, so it is capped
   and centred instead. */
.bk-advisory{
  display:block;
  width:100%;
  max-width:340px;
  height:auto;
  margin:0 auto clamp(22px,3.6vw,30px);
  border-radius:12px;
}

/* fields ------------------------------------------------------------------ */
.bk-field{margin-bottom:20px}
.bk-field > label,
.bk-legend{
  display:block;font-weight:600;font-size:15px;color:var(--ink);margin-bottom:6px;
}
.bk-hint{display:block;font-weight:400;font-size:13.5px;color:#767676;margin-top:2px}
.bk-req{color:var(--brick)}

.bk-field input[type=text],
.bk-field input[type=email],
.bk-field input[type=tel],
.bk-field input[type=number],
.bk-field input[type=date],
.bk-field select,
.bk-field textarea{
  width:100%;
  /* 16px minimum or iOS Safari zooms the page on focus */
  font:inherit;font-size:16px;
  padding:13px 14px;
  color:var(--ink);background:#fff;
  border:1.5px solid #d6d6d6;border-radius:10px;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.bk-field textarea{min-height:110px;resize:vertical}
.bk-field select{
  appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23555' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:11px;
  padding-right:38px;
}
.bk-field :is(input,select,textarea):focus{
  outline:none;border-color:var(--coral);box-shadow:0 0 0 3px rgba(237,128,96,.25);
}
.bk-field :is(input,select,textarea)[aria-invalid="true"]{border-color:var(--brick)}

.bk-row{display:grid;gap:16px}
@media (min-width:640px){ .bk-row--2{grid-template-columns:1fr 1fr} }

.bk-error{
  display:block;color:var(--brick);font-size:13.5px;font-weight:600;margin-top:6px;
}
.bk-error:empty{display:none}

/* choice cards ------------------------------------------------------------ */
.bk-choices{display:grid;gap:12px;margin:0;padding:0;border:0}
.bk-choice{
  display:flex;gap:13px;align-items:flex-start;
  padding:15px 16px;
  border:1.5px solid #ddd;border-radius:12px;cursor:pointer;
  transition:border-color .18s ease, background .18s ease;
}
.bk-choice:hover{border-color:var(--coral);background:#fffaf8}
.bk-choice input{
  margin:2px 0 0;width:20px;height:20px;flex:0 0 auto;accent-color:var(--coral);
}
.bk-choice input:focus-visible{outline:3px solid var(--brick);outline-offset:2px}
.bk-choice:has(input:checked){border-color:var(--coral);background:#fff4ef}
.bk-choice-body{flex:1;min-width:0}
.bk-choice-title{display:block;font-weight:600;color:var(--ink)}
.bk-choice-desc{display:block;font-size:13.5px;color:#6a6a6a;margin-top:3px;line-height:1.5}

/* notices ----------------------------------------------------------------- */
.bk-notice{
  border-left:4px solid var(--coral);
  background:#fff6f2;border-radius:0 10px 10px 0;
  padding:14px 16px;margin-bottom:22px;
}
.bk-notice h3{
  font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--brick);margin-bottom:5px;
}
.bk-notice p,.bk-notice li{font-size:14.5px;color:#4a4a4a;line-height:1.6}
.bk-notice ul{padding-left:18px;list-style:disc}
.bk-notice li{margin-bottom:7px}

/* date + time picker ------------------------------------------------------ */
.bk-when{display:grid;gap:22px}
@media (min-width:760px){ .bk-when{grid-template-columns:minmax(0,300px) minmax(0,1fr)} }

.bk-slots{min-height:120px}
.bk-slot-grid{
  display:grid;gap:10px;
  grid-template-columns:repeat(auto-fill, minmax(104px, 1fr));
}
.bk-slot{
  min-height:46px;padding:11px 8px;
  font:inherit;font-size:15px;font-weight:600;
  color:var(--ink);background:#fff;
  border:1.5px solid #ddd;border-radius:10px;cursor:pointer;
  transition:border-color .16s ease, background .16s ease, color .16s ease;
}
.bk-slot:hover:not(:disabled){border-color:var(--coral)}
.bk-slot[aria-pressed="true"]{background:var(--coral);border-color:var(--coral);color:#fff}
.bk-slot:disabled{opacity:.38;cursor:not-allowed;text-decoration:line-through}
.bk-slot small{display:block;font-size:11.5px;font-weight:500;opacity:.7;margin-top:2px}

.bk-status{font-size:14.5px;color:#666;padding:10px 0}
.bk-status--error{color:var(--brick);font-weight:600}

/* signature --------------------------------------------------------------- */
.bk-sig-wrap{position:relative}
.bk-sig{
  width:100%;height:180px;display:block;
  background:#fdfdfd;border:1.5px dashed #c9c9c9;border-radius:12px;
  touch-action:none;cursor:crosshair;
}
.bk-sig-clear{
  position:absolute;top:8px;right:8px;
  padding:6px 12px;min-height:32px;
  font:inherit;font-size:13px;font-weight:600;
  color:#666;background:#fff;border:1px solid #ddd;border-radius:8px;cursor:pointer;
}
.bk-sig-clear:hover{color:var(--brick);border-color:var(--brick)}

/* review ------------------------------------------------------------------ */
.bk-review{border:1.5px solid #eee;border-radius:12px;padding:18px;margin-bottom:22px}
.bk-review dt{font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:#8a8a8a;font-weight:600}
.bk-review dd{margin:2px 0 14px;font-size:15.5px;color:var(--ink);word-break:break-word}
.bk-review dd:last-child{margin-bottom:0}

/* actions ----------------------------------------------------------------- */
.bk-actions{
  display:flex;gap:12px;align-items:center;
  margin-top:clamp(20px,3vw,30px);
  padding-top:clamp(16px,2.5vw,22px);
  border-top:1px solid #eee;
}
.bk-actions .btn{flex:1}
.bk-back{
  flex:0 0 auto;min-height:48px;padding:12px 20px;
  font:inherit;font-weight:600;color:#666;
  background:none;border:1.5px solid #ddd;border-radius:999px;cursor:pointer;
}
.bk-back:hover{color:var(--ink);border-color:#bbb}
@media (max-width:479px){
  .bk-actions{flex-direction:column-reverse;align-items:stretch}
  .bk-actions .btn,.bk-back{width:100%}
}

/* done -------------------------------------------------------------------- */
.bk-done{text-align:center;padding:clamp(14px,3vw,30px) 0}
.bk-done-mark{
  width:74px;height:74px;margin:0 auto 20px;border-radius:50%;
  background:var(--coral);display:grid;place-items:center;
}
.bk-done-mark svg{width:36px;height:36px;color:#fff}
.bk-done h2{font-size:clamp(23px,4vw,30px);margin-bottom:10px}
.bk-done p{color:#555;max-width:46ch;margin:0 auto 10px}
.bk-done .bk-when-line{
  display:inline-block;margin:16px auto 0;padding:12px 20px;
  background:var(--cream);border-radius:12px;font-weight:600;color:var(--brick);
}

/* waiver link ------------------------------------------------------------- */
.bk-waiver-link{text-align:center;padding:clamp(22px,4vw,38px) var(--gap) var(--sp-end)}
.bk-waiver-link .eyebrow{margin-bottom:8px}
.bk-waiver-link a{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 8px;          /* was a 23px-tall tap target */
  color:var(--coral);font-size:clamp(16px,2.2vw,19px);font-weight:600;
}

/* honeypot ---------------------------------------------------------------- */
.bk-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}


/* ==========================================================================
   Density pass, 28 Sep 2026: the same steps, less scrolling, real columns
   on desktop, and consent that reads like small print rather than shouting.
   ========================================================================== */
/* service cards side by side once there is room */
@media (min-width:640px){
  .bk-choices--cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));align-items:stretch}
}
/* add-ons: two columns, the bracket as small print */
.bk-choices--tight{gap:8px}
.bk-choices--tight .bk-choice{padding:10px 12px}
.bk-choices--tight .bk-choice-title{font-size:15px}
.bk-choices--tight .bk-choice-desc{font-size:12.5px;margin-top:1px}
@media (min-width:640px){ .bk-choices--tight{grid-template-columns:1fr 1fr} }
/* consent lines */
.bk-choices--consent{gap:8px}
.bk-choice--consent{padding:10px 12px;align-items:flex-start}
.bk-choice--consent .bk-choice-title{font-size:14.5px;font-weight:500;line-height:1.45;color:#333}
/* notices: present, not loud */
.bk-notice{padding:10px 14px;margin-bottom:16px}
.bk-notice h3{font-size:11.5px;margin-bottom:3px}
.bk-notice p,.bk-notice li{font-size:14px;line-height:1.5}
.bk-notice li{margin-bottom:4px}
/* the one-line cashless note on the confirm step */
.bk-cashless{font-size:14px;color:#555;background:#fff7f3;border:1px solid rgba(237,128,96,.35);border-radius:10px;padding:10px 14px;margin:14px 0 0}
/* desktop actions: Back on the left, a button-sized Next on the right */
@media (min-width:640px){
  .bk-actions{justify-content:flex-end}
  .bk-actions .btn{flex:0 0 auto;min-width:240px;padding-left:40px;padding-right:40px}
  .bk-back{margin-right:auto}
}

/* phones: a service shows its detail once chosen, as the old form did;
   add-ons sit two across from 400px; consent lines tighten further */
@media (max-width:639px){
  .bk-choices--cards .bk-choice:not(:has(input:checked)) .bk-choice-desc{display:none}
  .bk-choices--cards .bk-choice{padding:12px 14px}
  .bk-choice--consent .bk-choice-title{font-size:14px}
  .bk-choice--consent{padding:9px 11px}
}
@media (min-width:360px) and (max-width:639px){
  .bk-choices--tight{grid-template-columns:1fr 1fr;gap:6px}
  .bk-choices--tight .bk-choice{padding:9px 10px}
  .bk-choices--tight .bk-choice-title{font-size:14px}
  .bk-choices--tight .bk-choice-desc{font-size:12px}
}

/* several pets on one booking ------------------------------------------- */
.bk-pets{display:grid;gap:14px}
.bk-pet{border:1.5px solid #eee;border-radius:14px;padding:16px 16px 4px}
.bk-pet + .bk-pet{border-color:#e5e5e5}
.bk-pet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.bk-pet-head .bk-legend{margin:0}
.bk-pet-remove{font:inherit;font-size:13.5px;font-weight:600;color:#8a8a8a;background:none;border:0;cursor:pointer;min-height:44px;padding:0 6px}
.bk-pet-remove:hover{color:var(--brick)}
.bk-add-pet{display:inline-flex;align-items:center;min-height:48px;margin-top:14px;padding:0 18px;font:inherit;font-weight:700;color:var(--brick);background:#fff7f3;border:1.5px dashed var(--coral);border-radius:999px;cursor:pointer}
.bk-add-pet:hover{background:#fff0ea}
.bk-add-pet[hidden]{display:none}
.bk-svc + .bk-svc{margin-top:22px;padding-top:18px;border-top:1.5px solid #eee}
.bk-svc-name{font-size:15px;font-weight:700;color:var(--brick);margin:0 0 10px}
.bk-ala{margin-top:14px}
.bk-ala summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;min-height:44px}
.bk-ala summary::-webkit-details-marker{display:none}
.bk-ala summary::before{content:'';width:8px;height:8px;border-right:2px solid #999;border-bottom:2px solid #999;transform:rotate(-45deg);margin-right:4px;transition:transform .15s}
.bk-ala[open] summary::before{transform:rotate(45deg)}
.bk-ala .bk-legend{margin:0}
.bk-ala .bk-choices{margin-top:8px}
.bk-slot--short{opacity:.45;cursor:not-allowed}
.bk-slot--short small{color:#a33928}

/* loading: nothing for 300ms, then the shape of what is coming ------------ */
@keyframes bk-spin{to{transform:rotate(360deg)}}
@keyframes bk-appear{from{opacity:0}to{opacity:1}}
@keyframes bk-sheen{0%{background-position:-200px 0}100%{background-position:200px 0}}
.bk-status--busy{display:flex;align-items:center;gap:10px}
.bk-status--busy::before{content:'';width:16px;height:16px;border-radius:50%;border:2.5px solid rgba(237,128,96,.28);border-top-color:var(--coral);animation:bk-spin .8s linear infinite;flex:0 0 auto}
.bk-slot--sk{pointer-events:none;border-style:solid;border-color:#eee;color:transparent;min-height:48px;background:linear-gradient(90deg,rgba(0,0,0,.05) 25%,rgba(0,0,0,.1) 50%,rgba(0,0,0,.05) 75%);background-size:400px 100%;animation:bk-appear .25s ease .3s both,bk-sheen 1.2s ease-in-out .3s infinite}
.btn.is-busy{position:relative;color:transparent!important}
.btn.is-busy::after{content:'';position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border-radius:50%;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;animation:bk-spin .8s linear infinite}
@media (prefers-reduced-motion:reduce){.bk-status--busy::before,.bk-slot--sk,.btn.is-busy::after{animation:none}}

/* --- returning clients: prefilled owner, pets on file, personal link ------- */
.bk-known{background:var(--cream);border-radius:14px;padding:12px 16px;font-size:14.5px;line-height:1.5;color:#555;margin:0 0 18px}
.bk-known[hidden]{display:none}
.bk-link-btn{background:none;border:0;padding:0;font:inherit;font-weight:600;color:var(--coral);text-decoration:underline;cursor:pointer;min-height:24px}
#bk-known-pets{margin:0 0 16px}
#bk-known-pets[hidden]{display:none}
.bk-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bk-chip{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;border:2px solid #e3e3e3;background:#fff;font-weight:600;font-size:15px;cursor:pointer;user-select:none}
.bk-chip input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.bk-chip:has(input:checked){border-color:var(--coral);background:var(--coral);color:#fff}
.bk-chip:has(input:focus-visible){outline:3px solid rgba(237,128,96,.45);outline-offset:2px}
.bk-link{background:var(--cream);border-radius:16px;padding:16px;margin-top:22px;text-align:left}
.bk-link b{display:block;margin-bottom:4px}
.bk-link p{margin:0;color:#555;font-size:14.5px;line-height:1.5}
.bk-link-row{display:flex;gap:8px;align-items:stretch;margin-top:10px}
.bk-link-row input{flex:1;min-width:0;font-size:14px;padding:12px;border:1px solid #ddd;border-radius:12px;background:#fff}
.bk-link-row .btn{padding-left:18px;padding-right:18px}

/* --- a family spread over the hours ---------------------------------------- */
.bk-split{background:var(--cream);border-radius:14px;padding:14px 16px;margin-top:12px}
.bk-split[hidden]{display:none}
.bk-split-line{margin:0 0 10px;font-size:14.5px;line-height:1.5;color:#555}
.bk-split-line b{color:var(--body)}
.bk-split-pets{display:grid;gap:8px}
@media (min-width:560px){.bk-split-pets{grid-template-columns:1fr 1fr}}
.bk-split-pet{display:flex;align-items:center;gap:10px;font-weight:600;font-size:15px}
.bk-split-pet span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bk-split-pet select{flex:0 0 auto;font:inherit;font-size:16px;min-height:44px;padding:8px 10px;border:1.5px solid #ddd;border-radius:10px;background:#fff}
.bk-choice--off{opacity:.5}
.bk-choice--off .bk-choice-title::after{content:''}

/* --- the month calendar ---------------------------------------------------- */
.bk-calwrap{min-width:0}
.bk-cal{background:#fff;border:1.5px solid #e6e6e6;border-radius:16px;padding:12px 12px 10px}
.bk-cal-sk{height:280px;border-radius:12px;background:linear-gradient(90deg,rgba(0,0,0,.04) 25%,rgba(0,0,0,.08) 50%,rgba(0,0,0,.04) 75%);background-size:200% 100%;animation:bk-sk 1.2s linear infinite}
@keyframes bk-sk{to{background-position:-200% 0}}
.bk-cal-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}
.bk-cal-head b{font-size:15px;color:var(--ink)}
.bk-cal-nav{width:40px;height:40px;border-radius:999px;border:1.5px solid #e3e3e3;background:#fff;font-size:22px;line-height:1;color:var(--body);cursor:pointer}
.bk-cal-nav:disabled{opacity:.3;cursor:default}
.bk-cal-dows{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:0 0 4px}
.bk-cal-dows span{text-align:center;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.bk-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.bk-cal-cell{min-width:0}
.bk-cal-day{width:100%;min-height:50px;padding:5px 2px 4px;border-radius:10px;border:1.5px solid #e6e6e6;background:#fff;font:inherit;color:var(--body);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.1}
.bk-cal-day b{font-size:14.5px;font-weight:700}
.bk-cal-day small{font-size:9.5px;font-weight:600;color:#1f6b33;white-space:nowrap}
.bk-cal-day:hover:not(:disabled){border-color:var(--coral)}
.bk-cal-day.is-off{color:#b5b5b5;border-color:#efefef;cursor:default}
.bk-cal-day.is-off small{color:#b5b5b5}
.bk-cal-day.is-full{background:#fafafa}
.bk-cal-day.is-full small{color:#c26a5a}
.bk-cal-day.is-range{background:#fdece7;border-color:#f4c4b6}
.bk-cal-day.is-in,.bk-cal-day.is-out{background:var(--coral);border-color:var(--coral);color:#fff}
.bk-cal-day.is-in small,.bk-cal-day.is-out small{color:#fff;opacity:.9}
.bk-cal-key{margin:8px 2px 0;font-size:11.5px;color:var(--muted)}
.bk-cal-line{margin:10px 2px 0;font-size:14.5px;color:#555;min-height:1.4em}
@media (min-width:760px){ .bk-when{grid-template-columns:minmax(0,360px) minmax(0,1fr)} }
.bk-cal-day{position:relative}
.bk-cal-day i{position:absolute;top:2px;left:4px;font-style:normal;font-size:8.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.bk-cal-day.is-in i,.bk-cal-day.is-out i{color:#fff;opacity:.85}
.bk-cal-day.is-past{visibility:hidden}
