.appointment-service-icon {
  width: 2.4rem;
  height: 2.4rem;
  color: #e4472b;
  filter: drop-shadow(0 5px 10px rgba(228, 71, 43, 0.22));
}

/* Mobile-only compact service selector for the appointment page. */
@media (max-width: 639px) {
  .appointment-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .appointment-service-item {
    min-width: 0;
    gap: 0.5rem;
  }

  .appointment-service-card {
    min-height: 9.75rem;
    padding: 0.875rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04),
      0 12px 28px rgba(0, 0, 0, 0.2);
  }

  .appointment-service-card:active {
    transform: scale(0.98);
  }

  .appointment-service-icon {
    width: 2.15rem;
    height: 2.15rem;
    margin-bottom: 0.65rem;
    line-height: 1;
  }

  .appointment-service-name {
    min-height: 2.5rem;
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .appointment-service-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.15rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
  }
}

@media (max-width: 359px) {
  .appointment-services-grid {
    gap: 0.55rem;
  }

  .appointment-service-card {
    min-height: 9.25rem;
    padding: 0.7rem;
  }

  .appointment-service-name {
    font-size: 1rem;
  }
}
