/* FUSSZEIT production refinements - intentionally versioned to bypass old CSS caches. */

/* Compact visual-guide thumbnails */
@media (min-width: 1101px) {
  .self-massage-page [data-slide-thumbs] {
    display: grid !important;
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-auto-rows: 118px !important;
    align-items: start !important;
    gap: 11px !important;
    width: 100% !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    overflow: visible !important;
    padding: 4px 2px 0 !important;
  }

  .self-massage-page [data-slide-thumbs] button {
    width: 100% !important;
    min-width: 0 !important;
    height: 118px !important;
    min-height: 118px !important;
    max-height: 118px !important;
    aspect-ratio: auto !important;
    align-self: start !important;
  }

  .self-massage-page [data-slide-thumbs] img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 118px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .self-massage-page [data-slide-thumbs] {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: auto !important;
    grid-auto-rows: 145px !important;
    gap: 11px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .self-massage-page [data-slide-thumbs] button,
  .self-massage-page [data-slide-thumbs] img {
    width: 100% !important;
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

@media (max-width: 720px) {
  .self-massage-page [data-slide-thumbs] {
    display: grid !important;
    grid-template-columns: none !important;
    grid-auto-flow: column !important;
    grid-auto-columns: 72px !important;
    grid-auto-rows: 92px !important;
    align-items: start !important;
    gap: 9px !important;
    width: 100% !important;
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 3px 2px 12px !important;
  }

  .self-massage-page [data-slide-thumbs] button,
  .self-massage-page [data-slide-thumbs] img {
    width: 72px !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* Michael: compact trust credentials, not a presentation of piano skills */
.trust-credentials {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 30px !important;
}

.trust-credentials .credential {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  display: flex !important;
  min-width: 0 !important;
  min-height: 188px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 20px 19px 18px !important;
  border: 1px solid rgba(13, 64, 56, .13) !important;
  border-radius: 22px !important;
  color: #103f38 !important;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,243,234,.88)) !important;
  box-shadow: 0 14px 35px rgba(28, 58, 51, .07) !important;
  font: inherit !important;
  text-align: left !important;
  text-decoration: none !important;
  cursor: default;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.trust-credentials a.credential,
.trust-credentials button.credential {
  width: 100% !important;
  cursor: pointer !important;
}

.trust-credentials a.credential:hover,
.trust-credentials button.credential:hover {
  border-color: rgba(239, 109, 80, .38) !important;
  box-shadow: 0 20px 44px rgba(25, 58, 51, .12) !important;
  transform: translateY(-3px) !important;
}

.trust-credentials .credential-icon {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  margin: 0 0 20px !important;
  border: 1px solid rgba(13, 64, 56, .13) !important;
  border-radius: 12px !important;
  color: #0f594d !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 8px 20px rgba(22, 65, 57, .08) !important;
}

.trust-credentials .credential-icon svg {
  display: block !important;
  width: 19px !important;
  height: 19px !important;
  max-width: 19px !important;
  max-height: 19px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.65 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.trust-credentials .credential small {
  display: block !important;
  margin: 0 0 7px !important;
  color: #d95c42 !important;
  font-size: .58rem !important;
  font-weight: 850 !important;
  letter-spacing: .13em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.trust-credentials .credential strong {
  display: block !important;
  margin: 0 0 8px !important;
  color: inherit !important;
  font-family: var(--font-display, Georgia, serif) !important;
  font-size: clamp(1.18rem, 1.45vw, 1.42rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.02em !important;
}

.trust-credentials .credential > span:last-child {
  margin-top: auto !important;
  color: #697b75 !important;
  font-size: .72rem !important;
  line-height: 1.45 !important;
}

.trust-credentials .credential-google {
  border-color: rgba(255,255,255,.12) !important;
  color: #fff !important;
  background: radial-gradient(circle at 94% 3%, rgba(245,171,97,.22), transparent 31%), linear-gradient(145deg, #0a3b34, #12594d) !important;
  box-shadow: 0 18px 42px rgba(13, 64, 56, .18) !important;
}

.trust-credentials .credential-google small { color: #f5b06c !important; }
.trust-credentials .credential-google > span:last-child { color: rgba(255,255,255,.76) !important; }

.trust-credentials .google-stars {
  display: block !important;
  margin: 0 0 18px !important;
  color: #f4aa67 !important;
  font-size: .88rem !important;
  letter-spacing: .13em !important;
  line-height: 1 !important;
  text-shadow: 0 5px 18px rgba(244,170,103,.25) !important;
}

@media (max-width: 900px) {
  .trust-credentials { grid-template-columns: minmax(0, 1fr) !important; }
  .trust-credentials .credential { min-height: 0 !important; }
  .trust-credentials .credential-google { order: -1 !important; }
}

@media (max-width: 720px) {
  .trust-credentials { gap: 10px !important; margin-top: 25px !important; }
  .trust-credentials .credential {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 13px !important;
    padding: 17px 16px !important;
    border-radius: 19px !important;
  }
  .trust-credentials .credential-icon,
  .trust-credentials .google-stars {
    grid-row: 1 / span 3 !important;
    grid-column: 1 !important;
    margin: 0 !important;
  }
  .trust-credentials .google-stars {
    width: 38px !important;
    padding-top: 3px !important;
    font-size: .6rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere !important;
  }
  .trust-credentials .credential small,
  .trust-credentials .credential strong,
  .trust-credentials .credential > span:last-child { grid-column: 2 !important; }
  .trust-credentials .credential strong { font-size: 1.24rem !important; }
  .trust-credentials .credential > span:last-child { margin-top: 1px !important; }
}

/* Mobile profile alignment */
@media (max-width: 720px) {
  .home-profile { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
  .home-profile-image { position: relative !important; width: 100% !important; min-height: 0 !important; aspect-ratio: 4 / 5 !important; overflow: hidden !important; border-radius: 27px !important; }
  .home-profile-image > img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 18% !important; }
  .home-profile-badge { right: 13px !important; bottom: 13px !important; left: 13px !important; width: auto !important; max-width: none !important; padding: 15px 17px !important; border-radius: 17px !important; }
  .home-profile h2 { font-size: clamp(3rem, 14vw, 4.45rem) !important; overflow-wrap: break-word !important; }
  .home-profile .action-row,
  .home-profile .action-row .button { width: 100% !important; }
  .home-profile .action-row .button { justify-content: center !important; }
}

/* Mobile Safari: keep the shared booking date field inside its column. */
@media (max-width: 760px) {
  .field {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .field input[type="date"] {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    overflow: hidden;
  }

  .field input[type="date"]::-webkit-date-and-time-value {
    min-width: 0;
    text-align: left;
  }

  .field input[type="date"]::-webkit-calendar-picker-indicator {
    flex: 0 0 auto;
    margin-left: auto;
  }
}
/* Shared mobile booking shell: independent scrolling, persistent close control and sticky site header. */
.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1200 !important;
}

@media (max-width: 980px) {
  .booking-modal,
  .booking-overlay,
  .booking-sheet,
  [data-booking-modal] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    scroll-behavior: smooth;
  }

  .booking-modal__dialog,
  .booking-dialog,
  .booking-panel,
  .booking-sheet__inner,
  [data-booking-dialog] {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .booking-modal__close,
  .booking-close,
  [data-close-booking] {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    z-index: 10020 !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    margin: 0 !important;
    border: 1px solid rgba(8, 63, 54, 0.2) !important;
    border-radius: 50% !important;
    background: #fffaf1 !important;
    color: #0b4a3e !important;
    box-shadow: 0 12px 32px rgba(5, 39, 33, 0.2) !important;
    cursor: pointer !important;
  }

  .booking-modal__close:focus-visible,
  .booking-close:focus-visible,
  [data-close-booking]:focus-visible {
    outline: 3px solid #f2c96d !important;
    outline-offset: 3px !important;
  }
}