.break-words {
  overflow-wrap: anywhere;
  word-break: normal;
}

.hyphens-auto {
  hyphens: auto;
}

.cfb-service-name,
.cfb-service-card-title {
  display: block;
  max-width: 100%;
  hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
  word-break: normal;
}

.cfb-showcase-mobile-list {
  display: none;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  padding: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.cfb-showcase-mobile-list.hidden {
  display: none;
}

.cfb-showcase-mobile-item {
  display: grid;
  grid-template-columns: 0.625rem minmax(0, 1fr);
  align-items: start;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  background: hsl(var(--muted) / 0.45);
  color: hsl(var(--foreground));
  font-size: 0.78rem !important;
  font-weight: 500;
  line-height: 1.25 !important;
  overflow-wrap: break-word;
  word-break: normal;
}

.cfb-showcase-mobile-dot {
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.25rem;
  border-radius: 9999px;
  background: #2563eb;
  box-shadow: 0 0 0 2px #fff, 0 1px 3px rgb(15 23 42 / 0.25);
}

.cfb-whatsapp-button {
  right: 0.75rem;
  bottom: 5rem;
}

.cfb-phone-cta {
  right: 0.75rem;
  bottom: 0.75rem;
}

@media (max-width: 639px) {
  .cfb-showcase-mobile-list:not(.hidden) {
    display: grid;
  }

  .cfb-showcase-hotspot-mobile-extra {
    display: none !important;
  }

  .cfb-showcase-tab {
    font-size: clamp(0.68rem, 2.75vw, 0.78rem);
    letter-spacing: 0;
  }

  .cfb-service-picker-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cfb-service-picker-tile {
    min-height: 4rem;
    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .cfb-service-name {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  .cfb-service-card-title {
    font-size: clamp(0.64rem, 2.65vw, 0.78rem) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word;
    padding-left: 0.125rem;
    padding-right: 0.125rem;
  }

  .cfb-service-card-grid {
    gap: 0.75rem;
  }

  .cfb-service-card-grid > * {
    min-width: 0;
  }

  .cfb-service-card-grid .rounded-lg {
    min-width: 0;
  }

  .cfb-service-card-grid .p-5,
  .cfb-service-card-grid .p-4 {
    padding-left: 0.625rem;
    padding-right: 0.625rem;
  }
}

@media (min-width: 768px) {
  .cfb-whatsapp-button {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (min-width: 640px) {
  .cfb-showcase-hotspot-label {
    display: inline !important;
  }
}
