/* ── Appointment promo modal ───────────────────────────────────────────────── */
.appointment-promo-modal .modal-dialog {
  max-width: 520px;
}
.appointment-promo-modal__content {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.appointment-promo-modal__carousel {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.appointment-promo-modal .card {
  position: relative;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.appointment-promo-modal__cover {
  flex-shrink: 0;
  display: block;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.appointment-promo-modal .card-body {
  flex-shrink: 0;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  overflow: hidden;
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.appointment-promo-modal .card-body .card-title {
  flex-shrink: 0;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  max-height: 2.75em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.appointment-promo-modal .card-body .card-text {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 0;
  overflow-y: auto;
  line-height: 1.5;
  -webkit-overflow-scrolling: touch;
}
.appointment-promo-modal__indicators {
  position: absolute;
  top: calc(220px - 28px);
  bottom: auto;
  left: 0;
  right: 0;
  margin: 0;
  z-index: 4;
  justify-content: center;
}
.appointment-promo-modal__indicators li {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: none;
  margin: 0 3px;
  box-sizing: content-box;
}
.appointment-promo-modal__indicators li.active {
  background-color: #fff;
}
.appointment-promo-modal__carousel .carousel-control-prev,
.appointment-promo-modal__carousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 110px;
  bottom: auto;
  transform: none;
  opacity: 1;
  background: rgba(32, 125, 255, 0.92);
  border-radius: 50%;
}
.appointment-promo-modal__carousel .carousel-control-prev {
  left: 10px;
}
.appointment-promo-modal__carousel .carousel-control-next {
  right: 10px;
}
.appointment-promo-modal__carousel .carousel-control-prev-icon,
.appointment-promo-modal__carousel .carousel-control-next-icon {
  width: 14px;
  height: 14px;
}
.appointment-promo-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 15;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  opacity: 1;
  text-shadow: none;
  line-height: 34px;
  font-size: 1.5rem;
}
.appointment-promo-modal__close:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
}
.appointment-promo-modal .card-title {
  font-weight: 600;
  color: #222;
}
.appointment-services-modal-trigger {
  cursor: pointer;
  border-radius: 8px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}
.appointment-services-modal-trigger:hover {
  box-shadow: 0 6px 24px rgba(32, 125, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.65);
}
.appointment-services-modal-trigger:focus {
  outline: 2px solid rgba(32, 125, 255, 0.6);
  outline-offset: 2px;
}

/* ── Responsive overrides ──────────────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .appointment-promo-modal .card-body {
    height: 188px;
    min-height: 188px;
    max-height: 188px;
    padding: 1.1rem 1.25rem;
  }
}
@media (max-width: 575.98px) {
  .appointment-promo-modal__cover {
    height: 170px;
    min-height: 170px;
    max-height: 170px;
  }
  .appointment-promo-modal .card-body {
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    padding: 1rem 1.1rem;
  }
  .appointment-promo-modal .card-body .card-title {
    font-size: 1.05rem;
  }
  .appointment-promo-modal__indicators {
    top: calc(170px - 26px);
  }
  .appointment-promo-modal__carousel .carousel-control-prev,
  .appointment-promo-modal__carousel .carousel-control-next {
    top: 85px;
  }
}
