.home-featured-businesses {
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  background: linear-gradient(180deg, var(--bharat-primary-light) 0%, #ffffff 42%);
}

.home-featured-businesses__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .home-featured-businesses__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.home-featured-businesses__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.home-featured-businesses__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #111827;
}

@media (min-width: 640px) {
  .home-featured-businesses__title {
    font-size: 1.75rem;
  }
}

.home-featured-businesses__subtitle {
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: #6b7280;
}

.home-featured-businesses__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #fff;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-featured-businesses__view-all:hover {
  color: var(--bharat-primary);
  border-color: var(--bharat-primary-muted);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}

.home-featured-businesses__viewport {
  overflow-x: auto;
  overflow-y: visible;
  margin: 0 -0.125rem;
  padding: 0.75rem 0.125rem 0.625rem;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--bharat-primary-muted) transparent;
}

.home-featured-businesses__viewport::-webkit-scrollbar {
  height: 6px;
}

.home-featured-businesses__viewport::-webkit-scrollbar-thumb {
  background: var(--bharat-primary-muted);
  border-radius: 9999px;
}

.home-featured-businesses__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  width: max-content;
  min-width: 100%;
}

.home-featured-businesses__nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.home-featured-businesses__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #374151;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-featured-businesses__btn:hover:not(:disabled) {
  color: var(--bharat-primary);
  border-color: var(--bharat-primary-muted);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
}

.home-featured-businesses__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.home-featured-businesses__btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.featured-business-card {
  box-sizing: border-box;
  flex: 0 0 17.5rem;
  width: 17.5rem;
  max-width: 17.5rem;
  min-width: 17.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  overflow: visible;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
  scroll-snap-align: start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.featured-business-card:hover {
  border-color: var(--bharat-primary-muted);
  box-shadow: 0 12px 32px rgb(var(--bharat-primary-rgb) / 0.1);
  transform: translateY(-2px);
}

.featured-business-card__labels {
  width: 100%;
}

.featured-business-card__labels .biz-custom-tag--sm {
  font-size: 0.625rem;
  padding: 0.2rem 0.62rem;
}

.featured-business-card__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 0;
}

.featured-business-card__logo-wrap {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.featured-business-card__logo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-business-card__head--no-logo {
  display: block;
}

.featured-business-card__head--no-logo .featured-business-card__name {
  width: 100%;
}

.featured-business-card__name {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.featured-business-card__name a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.featured-business-card__name a:hover {
  color: var(--bharat-primary);
}

.featured-business-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: #4b5563;
}

.featured-business-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.35;
  min-width: 0;
}

.featured-business-card__meta-row span {
  min-width: 0;
  word-break: break-word;
}

.featured-business-card__meta-row svg {
  flex-shrink: 0;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.1rem;
  color: var(--bharat-primary);
}

.featured-business-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.featured-business-card__category {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #c2410c;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.featured-business-card__desc {
  flex: 1;
  margin: 0.65rem 0 0.875rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #6b7280;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.featured-business-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.featured-business-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.featured-business-card__whatsapp {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-left: auto;
  color: #fff;
  text-decoration: none;
  background: #25d366;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgb(37 211 102 / 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.featured-business-card__whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(37 211 102 / 0.4);
}

.featured-business-card__whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
}

.featured-businesses-page {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.featured-businesses-page__header {
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .featured-businesses-page {
    padding-bottom: 3rem;
  }

  .featured-businesses-page__header {
    margin-bottom: 1.5rem;
  }
}

.featured-businesses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .featured-businesses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .featured-businesses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.featured-businesses-grid .featured-business-card {
  flex: none;
  width: 100%;
  max-width: none;
  min-width: 0;
}
