/* Booking flow only. The site header and footer stay on the shared brand styles.
   Rules: no scroll animation, no size change when something is selected, about one
   phone screen per step, Back/Next pinned to the bottom on phones. */

html.page-book-html { scroll-behavior: auto; }

/* ---------- Slim page: no big footer, no footer band, no floating Call/Text bar ---------- */

body.page-book .footer-band,
body.page-book .footer-main,
body.page-book .mobile-action-bar,
body.page-book .shp-chat-btn,
body.page-book .shp-chat-panel { display: none !important; }

body.page-book { padding-bottom: 0 !important; }

body.page-book .site-footer { padding-bottom: 0; }

body.page-book .footer-legal { font-size: 13px; }

body.page-book .site-header .site-nav { padding-top: 8px; padding-bottom: 8px; }

body.page-book .nav__links { display: none !important; }

body.page-book .nav__phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 4px;
  font-size: 17px;
  white-space: nowrap;
}

body.page-book .nav__logo-wordmark--stacked { height: 40px; width: auto; }

/* Slim header on phones: logo, phone link and menu on one row. */
@media (max-width: 1023px) {
  body.page-book .site-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo phone toggle";
    min-height: 0;
    column-gap: 8px;
  }
  body.page-book .nav__phone-cta { grid-area: phone; justify-self: end; font-size: 16px; }
  body.page-book .mobile-menu-toggle { margin-left: 0; }
}

@media (min-width: 1024px) {
  body.page-book .site-nav { grid-template-areas: "logo phone"; padding: 12px 0; }
}

/* ---------- Layout ---------- */

body.page-book .book [hidden] { display: none !important; }

/* The slim footer sits at the bottom of the window, never with empty gray under it. */
body.page-book { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
body.page-book main.book { flex: 1 0 auto; }

/* On phones each step fills the screen, so the Back/Next bar sits at the bottom and the footer stays below the fold. */
@media (max-width: 799px) {
  body.page-book main.book { display: flex; flex-direction: column; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
  body.page-book #book-app,
  body.page-book #book-form { flex: 1 0 auto; display: flex; flex-direction: column; }
  body.page-book .book-sheet { flex: 1 0 auto; }
}

body.page-book .book {
  background: #fff;
  color: #111;
  padding: 0;
}

body.page-book .book__wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

body.page-book .is-packages .book__wrap { max-width: 1040px; }

body.page-book .book-band {
  background: #fff;
  color: #111;
  border-bottom: 1px solid #E8E8E8;
  padding: 16px 0 14px;
}

body.page-book .book-sheet {
  background: #fff;
  padding: 18px 0 8px;
}

body.page-book .book__title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 6px 0 6px;
  color: #111;
  outline: none;
}

body.page-book .book__lead,
body.page-book .book__aside,
body.page-book .book__hint {
  color: #5A5A5A;
  font-size: 16px;
  line-height: 1.45;
  margin: 0 0 10px;
}

body.page-book .book-band .book__lead { margin: 0; }

body.page-book .book__sub {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 22px;
  margin: 22px 0 10px;
  color: #111;
}

/* ---------- Progress ---------- */

body.page-book .book__progress {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}

body.page-book .book__progress li {
  flex: 1;
  text-align: center;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111;
}

body.page-book .book__progress li span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: #E8E8E8;
  color: #111;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 15px;
}

body.page-book .book__progress li.is-current span:first-child,
body.page-book .book__progress li.is-done span:first-child {
  background: #EB1B18;
  color: #fff;
  font-size: 15px;
}

body.page-book .book__stepof {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A5A5A;
}

@media (max-width: 799px) {
  body.page-book .book__progress-label { display: none; }
}

@media (min-width: 800px) {
  body.page-book .book__stepof { display: none; }
}

/* ---------- Package cards: same size selected or not ---------- */

body.page-book .book__choices,
body.page-book fieldset {
  border: 0;
  margin: 0 0 14px;
  padding: 0;
  min-width: 0;
}

body.page-book .book__choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.page-book .book__card,
body.page-book .book__card.is-selected,
body.page-book .book__card:focus-within {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  background: #F4F4F4;
  border: 2px solid transparent;
  border-top: 2px solid transparent;
  border-radius: 16px;
  padding: 18px 20px 20px;
  box-shadow: none;
  cursor: pointer;
  transition: none;
  transform: none;
}

body.page-book .book__card.is-selected,
body.page-book .book__card:focus-within {
  border-color: #EB1B18;
  border-top-color: #EB1B18;
}

body.page-book .book__card strong {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  color: #111;
  padding-right: 40px;
}

body.page-book .book__price {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: #111;
}

body.page-book .book__hold { font-weight: 700; color: #111; }

body.page-book .book__card::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #C8C8C8;
  background: #fff;
  box-sizing: border-box;
}

body.page-book .book__card.is-selected::after {
  content: "✓";
  border-color: #EB1B18;
  background: #EB1B18;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

body.page-book .book__card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Buttons and the bottom bar ---------- */

body.page-book .book__bar {
  background: #fff;
  padding: 8px 0 24px;
}

body.page-book .book__nav {
  display: flex;
  gap: 12px;
}

body.page-book .book__next,
body.page-book .book__back,
body.page-book .book__wait {
  min-height: 52px;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 150ms ease-out, color 150ms ease-out;
  transform: none;
}

body.page-book .book__next:hover,
body.page-book .book__next:focus-visible,
body.page-book .book__back:hover,
body.page-book .book__back:focus-visible {
  transform: none;
  box-shadow: none;
}

body.page-book .book__next { flex: 1; }
body.page-book .book__next:disabled { opacity: 0.6; cursor: default; }
body.page-book .book__wait { width: 100%; }

body.page-book .book__error {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-left: 4px solid #EB1B18;
  background: #FDEDED;
  color: #111;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}

body.page-book .book__status {
  margin: 6px 0 0;
  font-size: 14px;
  color: #5A5A5A;
}

body.page-book .book__error:empty,
body.page-book .book__status:empty { display: none; }

@media (max-width: 799px) {
  body.page-book .book__bar {
    position: sticky;
    bottom: 0;
    z-index: 50;
    border-top: 1px solid #E8E8E8;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 18px rgba(17, 17, 17, 0.06);
  }
  body.page-book .book__back { flex: 0 0 96px; }
}

@media (min-width: 800px) {
  body.page-book .book__title { font-size: 44px; }
  body.page-book .is-packages .book__choices { grid-template-columns: 1fr 1fr; gap: 20px; }
  body.page-book .book__next { flex: 0 0 auto; min-width: 240px; }
  body.page-book .book__back { min-width: 140px; }
  body.page-book .book__bar { padding-top: 16px; }
}

/* ---------- Inputs: one spec for every field ---------- */

body.page-book .book__field { margin: 0 0 12px; min-width: 0; }

body.page-book .book__field label,
body.page-book .book fieldset legend {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

body.page-book .book input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.page-book .book textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #C8C8C8;
  border-radius: var(--shp-radius, 8px);
  background: #fff;
  color: #111;
  box-shadow: none;
  font: 400 16px/1.4 Roboto, sans-serif;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

body.page-book .book textarea { min-height: 88px; resize: vertical; }

/* 2px red focus with no size change: the second pixel is an inset shadow. */
body.page-book .book input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
body.page-book .book textarea:focus {
  outline: none;
  border-color: #EB1B18;
  box-shadow: inset 0 0 0 1px #EB1B18;
}

body.page-book .book input[aria-invalid="true"],
body.page-book .book textarea[aria-invalid="true"] {
  border-color: #EB1B18;
}

body.page-book .book input[type="file"] {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px dashed #C8C8C8;
  border-radius: var(--shp-radius, 8px);
  background: #fff;
  font: 400 16px/1.4 Roboto, sans-serif;
  box-sizing: border-box;
}

body.page-book .book input[type="checkbox"],
body.page-book .book input[type="radio"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  accent-color: #EB1B18;
}

body.page-book .book__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 479px) {
  body.page-book .book__row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Checks, chips, pills ---------- */

body.page-book .book__check,
body.page-book .book__check:focus-within {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 10px 12px;
  background: #F4F4F4;
  border: 0;
  border-top: 0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}

body.page-book .book__check--plain { background: transparent; padding: 4px 0; }

body.page-book .book__group legend { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: #5A5A5A; }

body.page-book .book__chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.page-book .book__chip {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 10px;
  background: #F4F4F4;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  color: #111;
  cursor: pointer;
}

body.page-book .book__chip.is-selected { border-color: #EB1B18; background: #fff; }

body.page-book .book__chip input {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px !important;
  min-width: 0 !important;
}

body.page-book .book__chip:focus-within { outline: 2px solid #111; outline-offset: 2px; }

@media (min-width: 800px) {
  body.page-book .book__chips { grid-template-columns: 1fr 1fr 1fr; }
}

body.page-book .book__pills { display: flex; flex-wrap: wrap; gap: 8px; }
body.page-book .book__pills legend { width: 100%; }

body.page-book .book__pill,
body.page-book .book__field label.book__pill {
  display: inline-flex;
  margin: 0;
  font-weight: 500;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: #F4F4F4;
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- Time meter ---------- */

body.page-book .book__meter {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #F4F4F4;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

body.page-book .book__meter.is-fit { background: #EEF7EE; }
body.page-book .book__meter.is-over { background: #FFF4E5; }

body.page-book .book__switch {
  display: inline-block;
  margin-top: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--shp-radius, 8px);
  background: #111;
  color: #fff;
  font: 700 15px Roboto, sans-serif;
  cursor: pointer;
}

body.page-book .book__ok { display: block; font-weight: 500; }

/* ---------- Calendar ---------- */

body.page-book .book-cal {
  background: #F4F4F4;
  border: 1px solid #E8E8E8;
  border-top: 1px solid #E8E8E8;
  border-radius: 14px;
  box-shadow: none;
  overflow: hidden;
  margin-bottom: 12px;
}

body.page-book .book-cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
}

body.page-book .book-cal__month {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 20px;
}

body.page-book .book-cal__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--shp-radius, 8px);
  cursor: pointer;
}

body.page-book .book-cal__nav:disabled { background: #444; color: #999; }

body.page-book .book-cal__dows,
body.page-book .book-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

body.page-book .book-cal__dows span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 0 2px;
}

body.page-book .book-cal__day,
body.page-book .book-cal__day.is-selected,
body.page-book .book-cal__day.is-selected:hover {
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font: 700 16px Roboto, sans-serif;
  box-shadow: none;
  cursor: pointer;
}

body.page-book .book-cal__day.is-closed,
body.page-book .book-cal__day:disabled {
  color: #9A9A9A;
  background: #E8E8E8;
  cursor: default;
}

body.page-book .book-cal__day.is-selected,
body.page-book .book-cal__day.is-selected:hover {
  background: #EB1B18;
  color: #fff;
}

body.page-book .book-cal__times-title {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  font-size: 20px;
  margin: 4px 0 8px;
}

body.page-book .book-cal__times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  outline: none;
}

body.page-book .book-cal__time,
body.page-book .book-cal__time.is-selected,
body.page-book .book-cal__time:hover,
body.page-book .book-cal__time:focus-visible {
  min-height: 52px;
  width: 100%;
  margin: 0;
  border: 2px solid transparent;
  border-radius: var(--shp-radius, 8px);
  background: #F4F4F4;
  color: #111;
  font: 700 17px Roboto, sans-serif;
  box-shadow: none;
  cursor: pointer;
}

body.page-book .book-cal__time.is-selected {
  border-color: #EB1B18;
  background: #EB1B18;
  color: #fff;
}

body.page-book .book-cal__time:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

/* ---------- Notes, spinner, summary ---------- */

body.page-book .book__note,
body.page-book .book__note:focus-within {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: #F4F4F4;
  border: 0;
  border-top: 0;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4;
}

body.page-book .book__note--ok { background: #EEF7EE; font-weight: 700; }

body.page-book .book-spin {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 120px;
  justify-content: center;
  color: #5A5A5A;
  font-size: 16px;
}

body.page-book .book-spin__dot {
  width: 22px;
  height: 22px;
  border: 3px solid #E8E8E8;
  border-top-color: #EB1B18;
  border-radius: 50%;
  animation: book-spin 800ms linear infinite;
}

@keyframes book-spin { to { transform: rotate(360deg); } }

body.page-book .book__summary {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

body.page-book .book__summary div {
  background: #F4F4F4;
  border-radius: 10px;
  padding: 10px 14px;
}

body.page-book .book__summary dt {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5A5A5A;
}

body.page-book .book__summary dd {
  margin: 2px 0 0;
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

/* ---------- Pay box ---------- */

body.page-book .book-pay {
  padding: 14px;
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  background: #fff;
}

body.page-book .book-pay__express { min-height: 52px; }

body.page-book .book-pay__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 13px;
  color: #5A5A5A;
}

body.page-book .book-pay__or::before,
body.page-book .book-pay__or::after { content: ""; flex: 1; height: 1px; background: #E8E8E8; }

body.page-book .book-pay__card { min-height: 52px; }

body.page-book .book-pay__mock {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px dashed #C8C8C8;
  border-radius: var(--shp-radius, 8px);
  color: #5A5A5A;
  font-size: 14px;
}

body.page-book .book-pay__card.book-pay__mock { min-height: 150px; }

body.page-book .book-pay .book__hint { margin: 10px 0 0; font-size: 13px; }

/* ---------- Misc ---------- */

body.page-book .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-book .book__hp { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) {
  body.page-book .book-spin__dot { animation-duration: 2s; }
}

/* ---------- Good to know (Review step): read the list, tick one box ---------- */

body.page-book .book-terms {
  margin: 16px 0;
  padding: 16px;
  background: #F4F4F4;
  border-radius: 10px;
}
body.page-book .book-terms__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}
body.page-book .book-terms__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
body.page-book .book-terms__list li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.45;
}
body.page-book .book-terms__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 6px;
  height: 11px;
  border: solid #EB1B18;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
body.page-book .book-terms__agree {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid #EB1B18;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
body.page-book .book-terms__agree:has(input:checked) { background: #FDECEC; }

/* ---------- Town suggestions on the area step ---------- */

body.page-book .book__combo-box { position: relative; }

body.page-book .book__suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #C8C8C8;
  border-radius: var(--shp-radius, 8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  max-height: 300px;
  overflow-y: auto;
}

body.page-book .book__suggest[hidden] { display: none; }

body.page-book .book__suggest-item {
  padding: 14px 16px;
  font: 500 16px/1.3 Roboto, sans-serif;
  color: #111;
  cursor: pointer;
}

body.page-book .book__suggest-item + .book__suggest-item { border-top: 1px solid #EEE; }

body.page-book .book__suggest-item:hover,
body.page-book .book__suggest-item.is-active { background: #F4F4F4; }

/* ---------- Gift certificate code (Review step, only where gift certificates are on) ---------- */

body.page-book .book-gift { margin: 0 0 14px; }
body.page-book .book-gift__row { display: flex; gap: 8px; }
body.page-book .book-gift__row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.04em; }
body.page-book .book-gift__apply,
body.page-book .book-gift__remove { min-height: 48px; padding: 0 18px; white-space: nowrap; }
body.page-book .book-gift .book__note { margin-bottom: 8px; }
