.site-service-choice {
  min-width: 0;
  overflow-wrap: anywhere;
}

.site-service-choice[aria-pressed="true"] {
  border-color: #2c6e32;
  background: #f0f7f0;
  box-shadow: inset 0 0 0 1px #2c6e32;
}

.site-service-choice:focus-visible,
.tour-stop-card[role="button"]:focus-visible,
.site-booking-panel button:focus-visible,
.site-booking-panel a:focus-visible,
#booking-panel-title:focus-visible {
  outline: 2px solid #2c6e32;
  outline-offset: 3px;
}

.site-service-choice-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e7e5e4;
  color: #2c6e32;
  font-size: 0.8125rem;
  font-weight: 600;
}

.site-service-choice-check {
  display: none;
  flex-shrink: 0;
}

.site-service-choice[aria-pressed="true"] .site-service-choice-check {
  display: block;
}

.site-booking-panel {
  min-width: 0;
  scroll-margin-top: 6rem;
  overflow-wrap: anywhere;
}

.site-booking-panel [hidden],
#booking-account-link[hidden],
#booking-agenda-link[hidden],
#booking-mobile-actions [hidden] {
  display: none !important;
}

.site-booking-service-name {
  overflow-wrap: anywhere;
}

.site-booking-service-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
}

.site-booking-contact,
.site-booking-change {
  display: block;
  align-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
}

.site-booking-contact {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  background: #2c6e32;
  color: #fff;
  font-weight: 600;
}

.site-booking-contact:hover {
  background: #24592a;
}

.site-booking-change {
  color: #2c6e32;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#booking-mode-tabs {
  flex-wrap: wrap;
}

#booking-mobile-actions button {
  min-height: 44px;
  white-space: normal;
  overflow-wrap: anywhere;
}

#booking-mobile-actions button:focus-visible {
  outline: 2px solid #2c6e32;
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  #booking-mobile-actions {
    flex-wrap: wrap;
  }

  #booking-mobile-actions > #booking-mobile-profile-price {
    max-width: 100%;
    flex-basis: 100%;
  }

  #booking-mobile-actions > #booking-mobile-book {
    flex: 1 1 8rem;
  }
}

#profile-floating-message {
  display: none;
}

#profile-contact-modal[aria-hidden="true"] {
  display: none;
}

@media (max-width: 1023px) {
  #profile-floating-message:not([hidden]) {
    display: block;
    bottom: var(--profile-bottom-offset, env(safe-area-inset-bottom, 0px));
    padding-inline: max(.75rem, env(safe-area-inset-left)) max(.75rem, env(safe-area-inset-right));
  }

  #profile-floating-message:not([data-visible]), .site-keyboard-open #profile-floating-message {
    visibility: hidden;
    pointer-events: none;
  }

  body > main[data-professional-profile] {
    padding-bottom: calc(1.5rem + var(--profile-message-height, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-service-choice,
  .site-service-choice img,
  .site-booking-panel button {
    transition: none;
  }
}
