.home-search-hero {
  padding: 1.75rem 0 2rem;
  background: transparent;
  border-bottom: none;
}

.home-search-hero__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .home-search-hero__inner {
    padding: 0 1.5rem;
  }
}

.home-search-hero__title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

@media (min-width: 640px) {
  .home-search-hero__title {
    font-size: 2.375rem;
  }
}

.home-search-hero__subtitle {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #6b7280;
}

.home-search-hero__bar {
  margin-top: 1.5rem;
  padding: 2px;
  border-radius: calc(0.75rem + 2px);
  background: linear-gradient(
    90deg,
    #ff9933 0%,
    #ffffff 35%,
    #138808 50%,
    #ffffff 65%,
    #ff9933 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  animation: home-search-border-flow 24s ease-in-out infinite;
  box-shadow: 0 4px 18px rgb(255 153 51 / 0.12);
  contain: paint;
  isolation: isolate;
}

@keyframes home-search-border-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.home-search-hero__input-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: none;
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgb(229 231 235 / 0.9);
  transition: box-shadow 0.2s ease;
}

.home-search-hero__input-btn:hover,
.home-search-hero__input-btn:focus-visible {
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.65),
    0 2px 10px rgb(19 136 8 / 0.08);
  outline: none;
}

.home-search-hero__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bharat-primary);
}

.home-search-hero__placeholder {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  color: #4b5563;
}

.home-search-hero__kbd {
  display: none;
  padding: 0.125rem 0.375rem;
  font-size: 0.6875rem;
  font-family: inherit;
  color: #6b7280;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
}

@media (min-width: 640px) {
  .home-search-hero__kbd {
    display: inline-block;
  }
}

.home-search-hero__popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem 0.875rem;
  margin-top: 1rem;
  text-align: center;
}

.home-search-hero__popular-label {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: #4b5563;
  white-space: nowrap;
}

.home-search-hero__chips {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  min-width: 0;
}

.home-search-hero__chip {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: blur(4px);
  border: 1px solid rgb(229 231 235 / 0.85);
  border-radius: 9999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-search-hero__chip:hover,
.home-search-hero__chip:focus-visible {
  color: var(--bharat-primary);
  border-color: var(--bharat-primary-muted);
  background: var(--bharat-primary-light);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-search-hero__bar {
    animation: none;
    background-size: 100% 100%;
    background: linear-gradient(90deg, #ff9933, #ffffff, #138808);
  }
}
