/* ----------------------------------------------------------------------------
 * Easy!Appointments - Online Appointment Scheduler
 *
 * @package     EasyAppointments
 * @author      A.Tselegidis <alextselegidis@gmail.com>
 * @copyright   Copyright (c) Alex Tselegidis
 * @license     https://opensource.org/licenses/GPL-3.0 - GPLv3
 * @link        https://easyappointments.org
 * @since       v1.5.0
 * ---------------------------------------------------------------------------- */
/* Responsive booking wizard styles (rounded corners and shadow on md+ screens) */
@media (min-width: 768px) {
  #book-appointment-wizard {
    border-radius: var(--bs-border-radius) !important;
    box-shadow: var(--bs-box-shadow-sm) !important;
  }
}
/* Active step indicator - dynamic state that changes via JavaScript */
#book-appointment-wizard .book-step.active-step {
  height: 45px !important;
  width: 45px !important;
  background: var(--bs-white) !important;
  padding: 7px !important;
  margin-right: 13px !important;
  margin-top: 0 !important;
}

#book-appointment-wizard .book-step.active-step strong {
  color: var(--bs-primary) !important;
  font-size: 21px !important;
}

/* Inactive step indicator - ensures consistent styling when step becomes inactive */
#book-appointment-wizard .book-step:not(.active-step) {
  height: 35px !important;
  width: 35px !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 8px !important;
  margin-right: 12px !important;
  margin-top: 6px !important;
}

#book-appointment-wizard .book-step:not(.active-step) strong {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
}

/* Selected hour button state */
#book-appointment-wizard #available-hours .available-hour {
  margin-bottom: 10px;
}

#book-appointment-wizard #available-hours .selected-hour {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: var(--bs-white) !important;
}

/* Captcha refresh icon hover effect */
#book-appointment-wizard .captcha-title .fa-sync-alt {
  cursor: pointer;
  transition: all 0.3s linear;
}

#book-appointment-wizard .captcha-title .fa-sync-alt:hover {
  color: var(--bs-primary);
}

/* Language popover list */
.popover .popover-title {
  text-align: center;
}

.popover .popover-content #language-list .language {
  margin: 15px 0;
}

#book-appointment-wizard .flatpickr-calendar.inline {
  margin: auto;
}

#book-appointment-wizard .flatpickr-wrapper .flatpickr-day.ea-available-date {
  font-weight: 800 !important;
  color: var(--bs-primary) !important;
  background: rgba(21, 140, 186, 0.12) !important;
  box-shadow: inset 0 -2px 0 var(--bs-primary);
}

#book-appointment-wizard .flatpickr-wrapper .flatpickr-day.ea-available-date.selected {
  color: var(--bs-white) !important;
  background: var(--bs-primary) !important;
  border-color: #0f6f95 !important;
  box-shadow: 0 0 0 3px rgba(21, 140, 186, 0.24);
}

#book-appointment-wizard #available-hours.booking-day-schedule {
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  background: var(--bs-white);
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
}

#book-appointment-wizard #available-hours.booking-day-schedule .available-hour {
  margin-bottom: 0;
}

#book-appointment-wizard .booking-schedule-slot {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--bs-border-color);
  border-radius: 0;
  background: transparent;
  color: var(--bs-body-color);
  text-align: left;
}

#book-appointment-wizard .booking-schedule-slot:not(.available-hour) {
  cursor: default;
}

@media (min-width: 768px) {
  #book-appointment-wizard .booking-schedule-slot {
    min-height: 32px;
  }
}

#book-appointment-wizard .booking-schedule-slot:last-child {
  border-bottom: 0;
}

#book-appointment-wizard .booking-schedule-time {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid var(--bs-border-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding-top: 5px;
}

#book-appointment-wizard .booking-schedule-line {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 100%;
  padding: 0 8px;
  background: linear-gradient(to bottom, transparent calc(50% - 1px), rgba(0, 0, 0, 0.12) 50%, transparent calc(50% + 1px));
}

#book-appointment-wizard .booking-schedule-detail {
  display: none;
  min-width: 0;
  overflow: hidden;
  color: #23323a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#book-appointment-wizard .booking-schedule-slot:hover .booking-schedule-line,
#book-appointment-wizard .booking-schedule-slot:focus .booking-schedule-line {
  background: rgba(21, 140, 186, 0.12);
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range {
  background: #fff799 !important;
  border-left: 2px solid var(--bs-primary);
  border-right: 2px solid var(--bs-primary);
  border-bottom-color: rgba(15, 111, 149, 0.32);
  color: var(--bs-body-color) !important;
  cursor: grab;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range .booking-schedule-time {
  background: rgba(21, 140, 186, 0.16);
  color: #0f6f95;
  font-weight: 800;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range .booking-schedule-line {
  background: #fff799;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-range-start {
  border-top: 2px solid var(--bs-primary);
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-range-end {
  border-bottom: 2px solid var(--bs-primary);
}

#book-appointment-wizard #available-hours.booking-day-schedule.booking-schedule-dragging .booking-schedule-slot.booking-schedule-selected-range {
  cursor: grabbing;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour {
  min-height: 44px;
  background: #fff799 !important;
  border-color: #d8cb4a !important;
  color: var(--bs-body-color) !important;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.selected-hour .booking-schedule-time {
  background: var(--bs-primary);
  color: var(--bs-white);
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-line {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding-right: 36px;
  background: #fff799;
}

#book-appointment-wizard .booking-schedule-slot.booking-schedule-unavailable .booking-schedule-time {
  color: #6c757d;
  font-weight: 600;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-detail {
  display: block;
}

#book-appointment-wizard .booking-schedule-clear {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 4px;
  right: 6px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(15, 111, 149, 0.48);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: #0f6f95;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  user-select: none;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-clear {
  display: flex;
}

#book-appointment-wizard .booking-schedule-clear:hover,
#book-appointment-wizard .booking-schedule-clear:focus {
  background: var(--bs-white);
  border-color: var(--bs-primary);
}

#book-appointment-wizard .booking-schedule-end-time {
  position: absolute;
  right: 8px;
  bottom: -1px;
  padding: 0 5px;
  background: #fff799;
  color: #0f6f95;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
}

#book-appointment-wizard .booking-schedule-detail-time,
#book-appointment-wizard .booking-schedule-detail-service {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#book-appointment-wizard .booking-schedule-detail-service {
  font-weight: 600;
}
#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked {
  background: #d9edf7;
  border-left: 2px solid #86b7cf;
  border-right: 2px solid #86b7cf;
  color: #27485a;
  cursor: not-allowed;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked .booking-schedule-time {
  background: rgba(21, 140, 186, 0.18);
  color: #0f6f95;
  font-weight: 800;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked .booking-schedule-line,
#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked:hover .booking-schedule-line,
#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked:focus .booking-schedule-line {
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  background: #d9edf7;
}

#book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked-label-slot {
  min-height: 44px;
}

#book-appointment-wizard .booking-schedule-booked-detail {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #27485a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#book-appointment-wizard .booking-schedule-booked-detail-time,
#book-appointment-wizard .booking-schedule-booked-detail-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#book-appointment-wizard .booking-schedule-booked-detail-label {
  font-weight: 600;
}

#book-appointment-wizard .booking-schedule-booked-end-time {
  position: absolute;
  right: 8px;
  bottom: -1px;
  padding: 0 5px;
  background: #d9edf7;
  color: #0f6f95;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
}

#book-appointment-wizard:has(#booking-catalog-home) #steps {
  display: none !important;
}

#booking-catalog-home {
  background: #fbfcfb;
  color: #213238;
}

#booking-catalog-home .booking-catalog-hero {
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  padding: 40px 28px;
  background:
    linear-gradient(120deg, rgba(19, 63, 73, 0.9), rgba(121, 54, 82, 0.58)),
    linear-gradient(135deg, #14414c, #7f3f55);
  background-position: center;
  background-size: cover;
}

#booking-catalog-home .booking-catalog-hero-content {
  max-width: 720px;
  color: #fff;
}

#booking-catalog-home .booking-catalog-kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.82;
}

#booking-catalog-home h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

#booking-catalog-home .booking-catalog-hero p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

#booking-catalog-home .booking-catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(33, 50, 56, 0.12);
}

#booking-catalog-home .booking-catalog-nav a {
  flex: 0 0 auto;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(33, 50, 56, 0.16);
  border-radius: 999px;
  color: #245261;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

#booking-catalog-home .booking-catalog-sections {
  padding: 26px 22px 36px;
}

#booking-catalog-home .booking-catalog-category {
  max-width: 980px;
  margin: 0 auto 34px;
}

#booking-catalog-home .booking-catalog-category-heading {
  margin-bottom: 18px;
}

#booking-catalog-home .booking-catalog-category-heading.has-image {
  display: grid;
  grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

#booking-catalog-home .booking-catalog-category-image {
  width: 100%;
  min-height: 160px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

#booking-catalog-home h2 {
  margin: 0 0 8px;
  color: #1f4854;
  font-size: 28px;
  line-height: 1.15;
}

#booking-catalog-home .booking-catalog-category-heading p {
  max-width: 760px;
  margin: 0;
  color: #52666d;
  line-height: 1.6;
}

#booking-catalog-home .booking-catalog-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#booking-catalog-home .booking-catalog-service {
  min-height: 168px;
  overflow: hidden;
  border: 1px solid rgba(33, 50, 56, 0.13);
  border-radius: 8px;
  background: #fff;
}

#booking-catalog-home .booking-catalog-service.has-image {
  display: grid;
  grid-template-columns: minmax(140px, 28%) minmax(0, 1fr);
}

#booking-catalog-home .booking-catalog-service-image {
  min-height: 100%;
  background-position: center;
  background-size: cover;
}

#booking-catalog-home .booking-catalog-service-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
}

#booking-catalog-home .booking-catalog-service-title-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

#booking-catalog-home h3 {
  margin: 0;
  color: #213238;
  font-size: 18px;
  line-height: 1.2;
}

#booking-catalog-home .booking-catalog-service-title-row span {
  flex: 0 0 auto;
  color: #8b3f5a;
  font-size: 15px;
  font-weight: 800;
}

#booking-catalog-home .booking-catalog-meta {
  margin-top: 6px;
  color: #587079;
  font-size: 13px;
  font-weight: 700;
}

#booking-catalog-home .booking-catalog-service-body p {
  margin: 10px 0 14px;
  color: #52666d;
  font-size: 14px;
  line-height: 1.45;
}

#booking-catalog-home .booking-catalog-book-button {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 13px;
  border-radius: 6px;
  background: #1d839b;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

#booking-catalog-home .booking-catalog-book-button:hover,
#booking-catalog-home .booking-catalog-book-button:focus {
  background: #166a7e;
  color: #fff;
}

@media (max-width: 900px) {
  #booking-catalog-home .booking-catalog-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  #booking-catalog-home .booking-catalog-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding: 14px 16px;
  }

  #booking-catalog-home .booking-catalog-nav a {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    padding: 10px 8px;
    text-align: center;
    line-height: 1.3;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #booking-catalog-home .booking-catalog-hero {
    min-height: 245px;
    padding: 32px 20px;
  }

  #booking-catalog-home .booking-catalog-category-heading.has-image,
  #booking-catalog-home .booking-catalog-service.has-image {
    grid-template-columns: 1fr;
  }

  #booking-catalog-home .booking-catalog-category-image,
  #booking-catalog-home .booking-catalog-service-image {
    width: 100%;
    min-height: 180px;
  }
}

#booking-catalog-home .booking-catalog-hero {
  min-height: clamp(430px, 78vh, 720px);
  padding: clamp(42px, 8vw, 86px) clamp(24px, 7vw, 72px);
}

#booking-catalog-home .booking-catalog-hero-content {
  max-width: min(760px, calc(100vw - 56px));
  min-width: 0;
}

#booking-catalog-home .booking-catalog-hero-subtitle {
  display: block;
  box-sizing: border-box;
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  white-space: normal;
}

#booking-catalog-home .booking-catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  margin-top: 24px;
}

#booking-catalog-home .booking-catalog-nav {
  scrollbar-width: none;
}

#booking-catalog-home .booking-catalog-nav::-webkit-scrollbar {
  display: none;
}

#booking-catalog-home .booking-catalog-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #fff;
  color: #173640;
  font-weight: 800;
  text-decoration: none;
}

#booking-catalog-home .booking-catalog-primary-button:hover,
#booking-catalog-home .booking-catalog-primary-button:focus {
  color: #173640;
  background: #f1f7f8;
}

#booking-catalog-home .booking-catalog-secondary-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

#booking-catalog-home .booking-catalog-secondary-link:hover,
#booking-catalog-home .booking-catalog-secondary-link:focus-visible {
  border-bottom-width: 2px;
  outline: none;
}

#booking-catalog-home .booking-catalog-intro {
  padding: clamp(34px, 7vw, 78px) 22px;
  background: #fff;
}

#booking-catalog-home .booking-catalog-intro-inner {
  max-width: 1080px;
  margin: 0 auto;
}

#booking-catalog-home .booking-catalog-intro-inner.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

#booking-catalog-home .booking-catalog-intro-copy {
  max-width: 720px;
}

#booking-catalog-home .booking-catalog-intro-nav {
  max-width: 1080px;
  margin: 0 auto clamp(24px, 4vw, 42px);
  padding: 0 0 16px;
}

#booking-catalog-home .booking-catalog-intro-copy h2 {
  margin: 0 0 14px;
  color: #213238;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
}

#booking-catalog-home .booking-catalog-intro-copy p {
  margin: 0;
  color: #4e6269;
  font-size: 16px;
  line-height: 1.72;
}

#booking-catalog-home .booking-catalog-contact {
  padding: 56px 22px 64px;
  border-top: 1px solid color-mix(in srgb, var(--ea-public-text, #213238) 14%, transparent);
  background: color-mix(in srgb, var(--ea-public-surface, #fff) 92%, var(--ea-public-primary, #1d839b));
  color: var(--ea-public-text, #213238);
}

#booking-catalog-home .booking-catalog-contact-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

#booking-catalog-home .booking-catalog-contact-heading {
  max-width: 620px;
  margin-bottom: 28px;
}

#booking-catalog-home .booking-catalog-contact-heading h2 {
  margin: 4px 0 0;
  color: var(--ea-public-text, #213238);
  font-family: var(--ea-public-heading-font, inherit);
  font-size: 32px;
  line-height: 1.15;
}

#booking-catalog-home .booking-catalog-contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--ea-public-text, #213238) 14%, transparent);
}

#booking-catalog-home .booking-catalog-contact-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid color-mix(in srgb, var(--ea-public-text, #213238) 14%, transparent);
}

#booking-catalog-home .booking-catalog-contact-item:only-child {
  grid-column: 1 / -1;
}

#booking-catalog-home .booking-catalog-contact-item > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ea-public-cta-text, #fff);
  background: var(--ea-public-cta-background, #1d839b);
  border-radius: 50%;
}

#booking-catalog-home .booking-catalog-contact-item h3 {
  margin: 0 0 5px;
  color: var(--ea-public-text, #213238);
  font-family: var(--ea-public-heading-font, inherit);
  font-size: 16px;
  line-height: 1.3;
}

#booking-catalog-home .booking-catalog-contact-item p,
#booking-catalog-home .booking-catalog-contact-item a {
  margin: 0;
  color: var(--ea-public-muted-text, #4e6269);
  line-height: 1.6;
  overflow-wrap: anywhere;
  white-space: normal;
}

#booking-catalog-home .booking-catalog-contact-item a {
  color: var(--ea-public-primary, #1d839b);
  font-weight: 700;
  text-underline-offset: 3px;
}

#booking-catalog-home .booking-catalog-contact-item a .fa-external-link-alt {
  margin-left: 5px;
  font-size: 11px;
}

#booking-catalog-home .booking-catalog-intro-image {
  min-height: 360px;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
}

.homepage-preview {
  overflow: hidden;
  border: 1px solid rgba(33, 50, 56, 0.14);
  border-radius: 8px;
}

.homepage-preview-hero {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background:
    linear-gradient(120deg, rgba(18, 35, 39, 0.88), rgba(129, 55, 81, 0.6)),
    linear-gradient(135deg, #14414c, #7f3f55);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.homepage-preview-contact {
  padding: 20px 28px;
  border-top: 1px solid rgba(33, 50, 56, 0.14);
  color: #213238;
  background: #f5f8f7;
}

.homepage-preview-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 8px;
  color: #4e6269;
}

.homepage-preview-contact-details span {
  white-space: pre-line;
}

.homepage-preview-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.homepage-preview h2 {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.05;
}

.homepage-preview-subtitle {
  max-width: 600px;
  margin: 0 0 18px;
  white-space: pre-line;
  line-height: 1.55;
}

@media (max-width: 760px) {
  #booking-catalog-home .booking-catalog-contact {
    padding: 40px 20px 48px;
  }

  #booking-catalog-home .booking-catalog-contact-details {
    grid-template-columns: minmax(0, 1fr);
  }

  #booking-catalog-home .booking-catalog-hero {
    min-height: min(430px, 68vh);
    padding: 34px 28px 28px;
  }

  #booking-catalog-home .booking-catalog-hero-content,
  #booking-catalog-home .booking-catalog-hero-subtitle {
    width: min(calc(100vw - 56px), 31ch);
    max-width: min(calc(100vw - 56px), 31ch);
  }

  #booking-catalog-home .booking-catalog-hero-subtitle {
    font-size: 15px;
  }

  #booking-catalog-home .booking-catalog-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    width: min(100%, 310px);
  }

  #booking-catalog-home .booking-catalog-primary-button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  #booking-catalog-home .booking-catalog-secondary-link {
    min-width: 0;
    padding: 6px 4px;
    font-size: 15px;
  }

  #booking-catalog-home .booking-catalog-intro-inner.has-image {
    grid-template-columns: 1fr;
  }

  #booking-catalog-home .booking-catalog-intro-image {
    min-height: 240px;
  }
}

.catalog-image-upload-control .input-group {
  max-width: 100%;
}

.catalog-image-upload-control .catalog-image-upload-button {
  white-space: nowrap;
}

.catalog-image-upload-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}

.catalog-image-upload-preview[hidden] {
  display: none !important;
}

.catalog-image-upload-preview img {
  width: 112px;
  height: 76px;
  border: 1px solid rgba(33, 50, 56, 0.16);
  border-radius: 6px;
  object-fit: cover;
  background: #f5f7f8;
}

@media (max-width: 560px) {
  .catalog-image-upload-control .input-group {
    display: block;
  }

  .catalog-image-upload-control .catalog-image-url-field,
  .catalog-image-upload-control .catalog-image-upload-button {
    width: 100%;
  }

  .catalog-image-upload-control .catalog-image-upload-button {
    margin-top: 8px;
    border-radius: 6px !important;
  }
}

/* Deterministic frames make the backend crop preview match public pages. */
#booking-catalog-home .booking-catalog-category-image,
#booking-catalog-home .booking-catalog-service-image {
  background-position: var(--catalog-image-position, 50% 50%);
  background-repeat: no-repeat;
  background-size: var(--catalog-image-fit, cover);
  background-color: rgba(33, 50, 56, 0.06);
}

#booking-catalog-home .booking-catalog-category-image {
  min-height: 0;
  aspect-ratio: 3 / 2;
}

#booking-catalog-home .booking-catalog-service.has-image {
  align-items: start;
}

#booking-catalog-home .booking-catalog-service-image {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

@media (max-width: 620px) {
  #booking-catalog-home .booking-catalog-category-image {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  #booking-catalog-home .booking-catalog-service-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Per-device crop profiles: keep preview and public catalog framing identical. */
#booking-catalog-home .booking-catalog-category-image,
#booking-catalog-home .booking-catalog-service-image {
  position: relative;
  overflow: hidden;
  background: rgba(33, 50, 56, 0.06);
}

#booking-catalog-home .booking-catalog-category-image > img,
#booking-catalog-home .booking-catalog-service-image > img {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--catalog-image-desktop-width, 100%);
  height: var(--catalog-image-desktop-height, 100%);
  object-fit: var(--catalog-image-fit, cover);
  object-position: var(--catalog-image-desktop-position, 50% 50%);
  transform: translate(-50%, -50%) rotate(var(--catalog-image-desktop-rotation, 0deg)) scale(var(--catalog-image-desktop-zoom, 1));
  transform-origin: 50% 50%;
}

@media (max-width: 620px) {
  #booking-catalog-home .booking-catalog-category-image > img,
  #booking-catalog-home .booking-catalog-service-image > img {
    object-position: var(--catalog-image-mobile-position, 50% 50%);
    width: var(--catalog-image-mobile-width, 100%);
    height: var(--catalog-image-mobile-height, 100%);
    transform: translate(-50%, -50%) rotate(var(--catalog-image-mobile-rotation, 0deg)) scale(var(--catalog-image-mobile-zoom, 1));
  }
}

#book-appointment-wizard .booking-addons {
  border-top: 1px solid var(--bs-border-color);
  padding-top: 1rem;
}

#book-appointment-wizard .booking-addon-options {
  display: grid;
  gap: 0.5rem;
}

#book-appointment-wizard .booking-addon-option {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  background: var(--bs-white);
  cursor: pointer;
}

#book-appointment-wizard .booking-addon-option:hover {
  border-color: rgba(21, 140, 186, 0.45);
  background: rgba(21, 140, 186, 0.06);
}

#book-appointment-wizard .booking-addon-option .form-check-input {
  margin-top: 0.2rem;
}

#book-appointment-wizard .booking-addon-title {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  justify-content: space-between;
  font-weight: 700;
}

#book-appointment-wizard .booking-addon-meta {
  color: var(--bs-secondary-color);
  font-weight: 600;
}

#book-appointment-wizard .booking-time-efficiency-hint {
  max-width: 288px;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-line {
  overflow: visible;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-detail {
  display: grid;
  gap: 2px;
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 36px;
  left: 8px;
  max-height: calc(var(--booking-selected-range-height, 44px) - 8px);
  overflow: hidden;
  pointer-events: none;
  white-space: normal;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-detail-time {
  font-weight: 800;
  white-space: nowrap;
}

#book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-detail-service {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
  word-break: normal;
}

#book-appointment-wizard .booking-schedule-detail-meta {
  color: #38525f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

#book-appointment-wizard .booking-schedule-clear {
  z-index: 3;
}

/* Public customer theme overrides. This stylesheet is loaded only by booking_layout.php. */
body.ea-public-booking,
body.ea-public-booking #main {
  background: var(--ea-public-page-background);
}

body.ea-public-booking #main,
body.ea-public-booking #book-appointment-wizard {
  color: var(--ea-public-text);
  font-family: var(--ea-public-font);
}

body.ea-public-booking #book-appointment-wizard {
  background: var(--ea-public-surface) !important;
}

body.ea-public-booking #book-appointment-wizard #header #company-name > span {
  color: var(--ea-public-header-title-text) !important;
}

body.ea-public-booking #book-appointment-wizard #header .display-booking-selection {
  color: var(--ea-public-header-subtitle-text) !important;
  border-right-color: var(--ea-public-header-subtitle-text) !important;
}

body.ea-public-booking #book-appointment-wizard h1,
body.ea-public-booking #book-appointment-wizard h2,
body.ea-public-booking #book-appointment-wizard h3,
body.ea-public-booking #book-appointment-wizard h4,
body.ea-public-booking #book-appointment-wizard h5,
body.ea-public-booking #book-appointment-wizard h6 {
  color: var(--ea-public-text);
  font-family: var(--ea-public-heading-font);
}

body.ea-public-booking #book-appointment-wizard .btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--ea-public-primary-hover);
  --bs-btn-hover-border-color: var(--ea-public-primary-hover);
  --bs-btn-active-bg: var(--ea-public-primary-active);
  --bs-btn-active-border-color: var(--ea-public-primary-active);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
  border-radius: var(--ea-public-radius);
}

body.ea-public-booking #book-appointment-wizard .btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
  --bs-btn-active-bg: var(--ea-public-primary-active);
  --bs-btn-active-border-color: var(--ea-public-primary-active);
  border-radius: var(--ea-public-radius);
}

body.ea-public-booking #book-appointment-wizard .form-control:focus,
body.ea-public-booking #book-appointment-wizard .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.18);
}

body.ea-public-booking #booking-catalog-home {
  background: var(--ea-public-page-background);
  color: var(--ea-public-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-hero:not([style]) {
  background:
    linear-gradient(120deg, var(--ea-public-hero-overlay), var(--ea-public-hero-accent));
}

body.ea-public-booking #booking-catalog-home .booking-catalog-hero-content h1 {
  color: var(--ea-public-hero-title-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-hero-subtitle,
body.ea-public-booking #booking-catalog-home .booking-catalog-secondary-link {
  color: var(--ea-public-hero-support-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-secondary-link:hover,
body.ea-public-booking #booking-catalog-home .booking-catalog-secondary-link:focus {
  color: var(--ea-public-hero-support-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-hero h1 {
  font-family: var(--ea-public-heading-font);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-primary-button {
  border-radius: var(--ea-public-radius);
  background: var(--ea-public-cta-background);
  color: var(--ea-public-cta-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-primary-button:hover,
body.ea-public-booking #booking-catalog-home .booking-catalog-primary-button:focus {
  background: color-mix(in srgb, var(--ea-public-cta-background) 88%, var(--ea-public-text));
  color: var(--ea-public-cta-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-intro,
body.ea-public-booking #booking-catalog-home .booking-catalog-service {
  background: var(--ea-public-surface);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-nav a {
  border-color: var(--ea-public-cta-background);
  border-radius: var(--ea-public-radius);
  color: var(--ea-public-cta-text);
  background: var(--ea-public-cta-background);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-nav a:hover,
body.ea-public-booking #booking-catalog-home .booking-catalog-nav a:focus {
  border-color: color-mix(in srgb, var(--ea-public-cta-background) 88%, var(--ea-public-text));
  color: var(--ea-public-cta-text);
  background: color-mix(in srgb, var(--ea-public-cta-background) 88%, var(--ea-public-text));
}

body.ea-public-booking #booking-catalog-home h2,
body.ea-public-booking #booking-catalog-home h3,
body.ea-public-booking #booking-catalog-home .booking-catalog-intro-copy h2 {
  color: var(--ea-public-text);
  font-family: var(--ea-public-heading-font);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-category-heading p,
body.ea-public-booking #booking-catalog-home .booking-catalog-service-body p,
body.ea-public-booking #booking-catalog-home .booking-catalog-intro-copy p {
  color: var(--ea-public-muted-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-service {
  border-color: color-mix(in srgb, var(--ea-public-text) 16%, transparent);
  border-radius: var(--ea-public-radius);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-service-title-row span,
body.ea-public-booking #booking-catalog-home .booking-catalog-meta {
  color: var(--bs-primary);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-book-button {
  border-radius: var(--ea-public-radius);
  background: var(--bs-primary);
  color: #fff;
}

body.ea-public-booking #booking-catalog-home .booking-catalog-book-button:hover,
body.ea-public-booking #booking-catalog-home .booking-catalog-book-button:focus {
  background: var(--ea-public-primary-hover);
  color: #fff;
}

body.ea-public-booking #booking-catalog-home .booking-catalog-contact-text {
  border-left-color: var(--bs-primary);
  color: var(--ea-public-text);
}

body.ea-public-booking #book-appointment-wizard .flatpickr-wrapper .flatpickr-day.ea-available-date {
  color: var(--bs-primary) !important;
  background: var(--ea-public-available) !important;
  box-shadow: inset 0 -2px 0 var(--bs-primary);
}

body.ea-public-booking #book-appointment-wizard .flatpickr-wrapper .flatpickr-day.ea-available-date.selected {
  color: #fff !important;
  background: var(--bs-primary) !important;
  border-color: var(--ea-public-primary-active) !important;
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.24);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot:hover .booking-schedule-line,
body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot:focus .booking-schedule-line {
  background: var(--ea-public-available);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range,
body.ea-public-booking #book-appointment-wizard .booking-schedule-slot.selected-hour {
  background: var(--ea-public-selected) !important;
  border-color: var(--ea-public-selected-border) !important;
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range .booking-schedule-line,
body.ea-public-booking #book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-line,
body.ea-public-booking #book-appointment-wizard .booking-schedule-end-time {
  background: var(--ea-public-selected);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-selected-range .booking-schedule-time {
  background: color-mix(in srgb, var(--bs-primary) 16%, var(--ea-public-selected));
  color: var(--ea-public-primary-active);
}

body.ea-public-booking #book-appointment-wizard .booking-schedule-slot.selected-hour .booking-schedule-time {
  background: var(--bs-primary);
  color: #fff;
}

body.ea-public-booking #book-appointment-wizard .booking-schedule-clear,
body.ea-public-booking #book-appointment-wizard .booking-schedule-end-time,
body.ea-public-booking #book-appointment-wizard .booking-schedule-detail-meta {
  color: var(--ea-public-primary-active);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked {
  background: var(--ea-public-booked);
  border-left-color: var(--ea-public-booked-border);
  border-right-color: var(--ea-public-booked-border);
  color: var(--ea-public-text);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked .booking-schedule-time {
  background: color-mix(in srgb, var(--bs-primary) 14%, var(--ea-public-booked));
  color: var(--ea-public-primary-active);
}

body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked .booking-schedule-line,
body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked:hover .booking-schedule-line,
body.ea-public-booking #book-appointment-wizard #available-hours.booking-day-schedule .booking-schedule-slot.booking-schedule-booked:focus .booking-schedule-line {
  background: var(--ea-public-booked);
}

body.ea-public-booking #book-appointment-wizard .booking-schedule-booked-detail,
body.ea-public-booking #book-appointment-wizard .booking-schedule-booked-end-time {
  color: var(--ea-public-text);
}

#public-theme-preview {
  --public-preview-primary: #1d839b;
  --public-preview-page: #f5f8f9;
  --public-preview-surface: #fff;
  --public-preview-text: #213238;
  --public-preview-muted: #52666d;
  --public-preview-cta-bg: #fff;
  --public-preview-cta-text: #173640;
  --public-preview-hero-overlay: #122327;
  --public-preview-hero-accent: #813751;
  --public-preview-header-title-text: #fff;
  --public-preview-header-subtitle-text: #fff;
  --public-preview-hero-title-text: #fff;
  --public-preview-hero-support-text: #fff;
  --public-preview-available: #e7f4f7;
  --public-preview-selected: #fff799;
  --public-preview-booked: #d9edf7;
  --public-preview-radius: 6px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--public-preview-text) 18%, transparent);
  border-radius: 8px;
  background: var(--public-preview-page);
  color: var(--public-preview-text);
}

#public-theme-preview .public-theme-preview-header {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: var(--public-preview-primary);
}

#public-theme-preview .public-theme-preview-header strong {
  color: var(--public-preview-header-title-text);
  font-size: 18px;
}

#public-theme-preview .public-theme-preview-header span {
  color: var(--public-preview-header-subtitle-text);
  font-size: 13px;
}

#public-theme-preview .public-theme-preview-hero {
  min-height: 180px;
  padding: 28px;
  background: linear-gradient(120deg, var(--public-preview-hero-overlay), var(--public-preview-hero-accent));
}

#public-theme-preview .public-theme-preview-hero-kicker {
  margin: 0 0 8px;
  color: var(--public-preview-hero-title-text);
  font-size: 12px;
  font-weight: 800;
  opacity: 0.82;
  text-transform: uppercase;
}

#public-theme-preview h2,
#public-theme-preview h3 {
  color: inherit;
}

#public-theme-preview .public-theme-preview-hero h2 {
  margin: 0 0 18px;
  color: var(--public-preview-hero-title-text);
  font-size: 28px;
}

#public-theme-preview .public-theme-preview-hero-support {
  max-width: 520px;
  margin: -8px 0 18px;
  color: var(--public-preview-hero-support-text);
  font-size: 13px;
}

#public-theme-preview .public-theme-preview-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

#public-theme-preview .public-theme-preview-secondary-link {
  color: var(--public-preview-hero-support-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
}

#public-theme-preview .public-theme-preview-cta,
#public-theme-preview article a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: var(--public-preview-radius);
  background: var(--public-preview-cta-bg);
  color: var(--public-preview-cta-text);
  font-size: 13px;
  font-weight: 800;
}

#public-theme-preview .public-theme-preview-content {
  padding: 18px;
}

#public-theme-preview .public-theme-preview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

#public-theme-preview .public-theme-preview-nav span {
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--public-preview-primary) 32%, transparent);
  border-radius: var(--public-preview-radius);
  color: var(--public-preview-primary);
  font-size: 12px;
  font-weight: 700;
}

#public-theme-preview .public-theme-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(190px, 0.9fr);
  gap: 14px;
}

#public-theme-preview article,
#public-theme-preview .public-theme-preview-schedule {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--public-preview-text) 15%, transparent);
  border-radius: var(--public-preview-radius);
  background: var(--public-preview-surface);
}

#public-theme-preview article {
  padding: 14px;
}

#public-theme-preview article h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

#public-theme-preview article p {
  margin: 0 0 14px;
  color: var(--public-preview-muted);
  font-size: 13px;
  line-height: 1.45;
}

#public-theme-preview article a {
  background: var(--public-preview-primary);
  color: #fff;
}

#public-theme-preview .preview-slot {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 40px;
  border-bottom: 1px solid color-mix(in srgb, var(--public-preview-text) 13%, transparent);
  font-size: 12px;
}

#public-theme-preview .preview-slot:last-child {
  border-bottom: 0;
}

#public-theme-preview .preview-slot b,
#public-theme-preview .preview-slot span {
  display: flex;
  align-items: center;
  padding: 6px 8px;
}

#public-theme-preview .preview-slot b {
  justify-content: center;
  border-right: 1px solid color-mix(in srgb, var(--public-preview-text) 13%, transparent);
}

#public-theme-preview .preview-slot-available span { background: var(--public-preview-available); }
#public-theme-preview .preview-slot-selected span { background: var(--public-preview-selected); }
#public-theme-preview .preview-slot-booked span { background: var(--public-preview-booked); }

@media (max-width: 640px) {
  #public-theme-preview .public-theme-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* Public brand logos */
body.ea-public-booking #header .public-header-logo {
  display: block;
  width: auto;
  max-width: min(100%, 560px);
  max-height: var(--ea-public-header-logo-height);
  object-fit: contain;
  object-position: left center;
}

body.ea-public-booking #header .display-booking-selection {
  font-size: var(--ea-public-header-subtitle-size) !important;
  line-height: 1.35;
}

body.ea-public-booking .booking-catalog-hero-logo {
  display: block;
  width: auto;
  max-width: min(100%, 620px);
  max-height: var(--ea-public-hero-logo-height);
  margin: 0 0 14px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 767.98px) {
  body.ea-public-booking #header .public-header-logo {
    max-width: min(100%, 420px);
    object-position: center;
  }

  body.ea-public-booking .booking-catalog-hero-logo {
    max-width: 100%;
  }
}

/* public-seo-pages */
.public-header-home-link { display: block; width: 100%; max-width: 100%; color: inherit; text-decoration: none; }
.public-header-home-link:hover { color: inherit; text-decoration: none; }
.public-header-home-link:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
body.ea-public-booking #header .public-header-home-link > span { color: var(--ea-public-header-title-text) !important; }
#public-contact-footer { margin: -1rem -1rem 1rem; padding: 1.25rem; border-bottom: 1px solid color-mix(in srgb, var(--ea-public-text) 14%, transparent); background: var(--ea-public-surface, #fff); color: var(--ea-public-text, #1f2933); font-family: var(--ea-public-font); text-align: left; }
.public-contact-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem 1.5rem; max-width: 980px; margin: 0 auto; }
.public-contact-footer-brand { display: block; margin-bottom: .45rem; color: var(--ea-public-text, #1f2933); font-family: var(--ea-public-heading-font); font-size: 1rem; font-weight: 700; text-decoration: none; }
.public-contact-footer-brand:hover { color: var(--bs-primary); }
.public-contact-footer-location address { display: flex; gap: .55rem; margin: 0; font-style: normal; line-height: 1.5; }
.public-contact-footer-location address i, .public-contact-footer-links i { width: 1rem; margin-top: .2rem; color: var(--bs-primary); text-align: center; }
.public-contact-footer-links { display: flex; flex-direction: column; gap: .55rem; }
.public-contact-footer-links a, .public-contact-footer-links span { display: flex; gap: .55rem; align-items: flex-start; overflow-wrap: anywhere; }
.public-contact-footer-hours { display: flex; flex-direction: column; gap: .35rem; line-height: 1.5; }
.public-contact-footer-legal { max-width: 980px; margin: 1rem auto 0; padding-top: .75rem; border-top: 1px solid color-mix(in srgb, var(--ea-public-text) 10%, transparent); color: var(--ea-public-muted-text, #52666d); font-size: .8rem; }
.booking-catalog-detail-link { color: inherit; text-decoration: none; }
.booking-catalog-detail-link:hover { color: var(--bs-primary, currentColor); text-decoration: underline; }
.public-seo-page { max-width: 1080px; margin: 0 auto; padding: clamp(1.25rem, 4vw, 3rem); color: var(--ea-public-text, #1f2933); font-family: var(--ea-public-font); }
.public-seo-page h1, .public-seo-page h2, .public-seo-page h3 { color: var(--ea-public-text, #1f2933); font-family: var(--ea-public-heading-font); }
.public-seo-breadcrumb { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; color: var(--ea-public-muted-text, #52666d); font-size: .9rem; }
.public-seo-breadcrumb a, .public-seo-actions > a:not(.booking-catalog-book-button), .public-seo-kicker { color: var(--bs-primary, #0d6efd); }
.public-seo-detail, .public-seo-category-header { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.public-seo-detail.has-image, .public-seo-category-header.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.public-seo-main-image { display: block; width: 100%; max-height: 34rem; object-fit: cover; border-radius: var(--ea-public-radius, 6px); }
.public-seo-copy h1, .public-seo-category-header h1 { margin: .35rem 0 1rem; font-size: 1.75rem; line-height: 1.15; letter-spacing: 0; }
.public-seo-kicker { font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.public-seo-facts { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: .85rem 0; border-block: 1px solid color-mix(in srgb, var(--ea-public-text) 16%, transparent); color: var(--bs-primary); font-weight: 700; }
.public-seo-facts span { display: inline-flex; align-items: center; gap: .5rem; }
.public-seo-description { margin-top: 1.25rem; color: var(--ea-public-muted-text, #52666d); line-height: 1.6; overflow-wrap: anywhere; }
.public-seo-providers { margin: 1rem 0 0; }
.public-seo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.public-seo-page .booking-catalog-book-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 0; border-radius: var(--ea-public-radius, 6px); background: var(--ea-public-cta-background, #0d6efd); color: var(--ea-public-cta-text, #fff); font-weight: 800; text-decoration: none; }
.public-seo-page .booking-catalog-book-button:hover, .public-seo-page .booking-catalog-book-button:focus { background: color-mix(in srgb, var(--ea-public-cta-background) 88%, var(--ea-public-text)); color: var(--ea-public-cta-text, #fff); }
.public-seo-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 2rem; }
.public-seo-service-list article { display: flex; flex-direction: column; gap: .75rem; min-height: 168px; padding: 14px; border: 1px solid color-mix(in srgb, var(--ea-public-text) 16%, transparent); border-radius: var(--ea-public-radius, 6px); background: var(--ea-public-surface, #fff); }
.public-seo-service-list article > div { flex: 1 1 auto; }
.public-seo-service-list h2 { margin: 0 0 .35rem; font-size: 18px; line-height: 1.2; }
.public-seo-service-list h2 a { color: inherit; }
.public-seo-service-list p { margin: 0 0 .5rem; color: var(--bs-primary); font-size: 13px; font-weight: 700; }
.public-seo-service-list .public-seo-description, .public-seo-service-list article > div > div { color: var(--ea-public-muted-text, #52666d); font-size: 14px; line-height: 1.45; }
.public-seo-service-list .booking-catalog-book-button { align-self: flex-start; }
@media (max-width: 767.98px) {
    .public-header-home-link { width: 100%; }
    .public-contact-footer-grid { grid-template-columns: 1fr; }
    .public-seo-detail, .public-seo-detail.has-image, .public-seo-category-header, .public-seo-category-header.has-image { grid-template-columns: 1fr; }
    .public-seo-service-list { grid-template-columns: 1fr; }
    .public-seo-service-list .booking-catalog-book-button { width: 100%; text-align: center; }
}

/* Public performance and accessibility safeguards. */
body.ea-public-booking #booking-catalog-home .booking-catalog-nav a,
body.ea-public-booking #booking-catalog-home .booking-catalog-book-button {
  color: var(--ea-public-cta-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-book-button:hover,
body.ea-public-booking #booking-catalog-home .booking-catalog-book-button:focus {
  color: var(--ea-public-cta-text);
}

body.ea-public-booking #booking-catalog-home .booking-catalog-service-title-row span,
body.ea-public-booking #booking-catalog-home .booking-catalog-meta,
body.ea-public-booking .public-seo-breadcrumb a,
body.ea-public-booking .public-seo-actions > a:not(.booking-catalog-book-button),
body.ea-public-booking .public-seo-kicker,
body.ea-public-booking .public-seo-service-list p {
  color: var(--ea-public-accent-text);
}
