.home-product-catalog {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  background: var(--Background-default, #F5F5F5);
}

.home-product-catalog__container {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-left: var(--page-padding-x);
  padding-right: var(--page-padding-x);
  box-sizing: border-box;
  width: 100%;
}

.home-product-catalog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.home-product-catalog__title {
  margin: 0;
  color: var(--text-color-default, #151515);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
}

.home-product-catalog__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-color-highlight-green, #0EA780);
  text-align: center;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  text-decoration: none;
}

.home-product-catalog__link img {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.home-product-catalog__card {
  display: flex;
  padding: 32px 24px 24px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
  border-radius: 16px;
  background: var(--input-border-white, #FFF);
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.10);
  overflow: visible;
}

.home-product-catalog__intro {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.home-product-catalog__icon-box {
  display: flex;
  width: 76px;
  height: 76px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--Green-gradient, #17CA88);
}

.home-product-catalog__icon-box img {
  width: 32px;
  height: 32px;
  display: block;
}

.home-product-catalog__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.home-product-catalog__card-title {
  margin: 0;
  color: var(--text-color-default, #151515);
  font-family: Inter, Arial, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
}

.home-product-catalog__description {
  margin: 0;
  color: var(--text-color-default, #151515);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 122%;
}

.home-product-catalog__form {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.home-product-catalog__field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  z-index: 10;
}

.home-product-catalog__input {
  width: 100%;
  height: 48px;
  padding: 8px 16px 8px 36px;
  border-radius: 8px;
  border: 1px solid var(--Schemes-Outline-Variant, #E1E1F8);
  background: #FFF;
  color: var(--text-color-default, #151515);
  font-family: var(--Body-Large-Font, Roboto), Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
}

.home-product-catalog__input:focus {
  border-color: #0EA780;
}

.home-product-catalog__suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #E1E1F8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  will-change: transform;
  transform: translateZ(0);
}

.home-product-catalog__suggestions[hidden] {
  display: none !important;
}

.home-product-catalog__suggestion-item {
  padding: 10px 16px;
  color: #151515;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 140%;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}

.home-product-catalog__suggestion-item:hover {
  background: rgba(14, 167, 128, 0.08);
}

.home-product-catalog__suggestion-item--empty {
  color: rgba(0, 0, 0, 0.5);
  cursor: default;
}

.home-product-catalog__suggestion-item--empty:hover {
  background: transparent;
}

.home-product-catalog__field-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
}

.home-product-catalog__field-icon--left {
  left: 12px;
}

.home-product-catalog__field-icon--right {
  right: 12px;
}

.home-product-catalog__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: flex;
  width: 100%;
  height: 48px;
  padding: 8px 40px 8px 36px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--Schemes-Outline-Variant, #E1E1F8);
  background: #FFF;
  overflow: hidden;
  color: var(--text-color-default, #151515);
  text-overflow: ellipsis;
  font-family: var(--Body-Large-Font, Roboto), Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  outline: none;
}

.home-product-catalog__select:focus {
  border-color: #0EA780;
}

.home-product-catalog__button {
  display: flex;
  padding: 13px 40px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  background: linear-gradient(0deg, var(--fill-general-green-hard, #0A8166) 0%, var(--fill-general-green-hard, #0A8166) 100%), var(--Background-default, #F5F5F5);
  color: var(--Background-default, #F5F5F5);
  text-align: center;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  white-space: nowrap;
}

.home-product-catalog__button img {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .home-product-catalog__form {
    flex-direction: column;
    align-items: stretch;
  }

  .home-product-catalog__button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .home-product-catalog__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-product-catalog__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-product-catalog__title {
    font-size: 28px;
  }
}

.home-product-catalog__loading {
  display: none;
  width: 100%;
}

.home-product-catalog__loading.is-visible {
  display: block;
}

.home-product-catalog__loading-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.home-product-catalog__loading-line {
  display: block;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    rgba(225, 225, 248, 0.45) 25%,
    rgba(225, 225, 248, 0.8) 50%,
    rgba(225, 225, 248, 0.45) 75%
  );
  background-size: 200% 100%;
  animation: homeProductCatalogSkeleton 1.2s infinite linear;
}

.home-product-catalog__loading-line--field {
  flex: 1 1 auto;
}

.home-product-catalog__loading-line--button {
  width: 160px;
  flex-shrink: 0;
}

@keyframes homeProductCatalogSkeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.home-product-catalog__error {
  margin: 0;
  color: #b42318;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 140%;
}

.home-product-catalog__button:disabled,
.home-product-catalog__select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.home-product-catalog__form.is-hidden {
  display: none;
}

.home-product-catalog .select2-container {
  width: 100% !important;
}

.home-product-catalog .select2-container .select2-selection--single {
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--Schemes-Outline-Variant, #E1E1F8);
  background: #fff;
  display: flex;
  align-items: center;
  padding-left: 36px;
  padding-right: 40px;
  box-shadow: none;
}

.home-product-catalog .select2-container--default.select2-container--open .select2-selection--single,
.home-product-catalog .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #0EA780;
}

.home-product-catalog .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--text-color-default, #151515);
  font-family: var(--Body-Large-Font, Roboto), Arial, sans-serif;
  font-size: 16px;
  line-height: 46px;
  padding-left: 0;
  padding-right: 0;
}

.home-product-catalog .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(21, 21, 21, 0.65);
}

.home-product-catalog .select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none;
}

.home-product-catalog .select2-dropdown {
  border: 1px solid var(--Schemes-Outline-Variant, #E1E1F8);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  margin-top: 6px;
}

.home-product-catalog .select2-search--dropdown {
  padding: 12px;
  background: #fff;
  border-bottom: 1px solid #f0f0f4;
}

.home-product-catalog .select2-search--dropdown .select2-search__field {
  height: 40px;
  border: 1px solid var(--Schemes-Outline-Variant, #E1E1F8);
  border-radius: 8px;
  padding: 0 12px;
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  outline: none;
}

.home-product-catalog .select2-results__options {
  max-height: 280px;
  padding: 8px 0;
  background: #fff;
}

.home-product-catalog .select2-results__option {
  padding: 12px 16px;
  color: #151515;
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  line-height: 140%;
}

.home-product-catalog .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: rgba(14, 167, 128, 0.08);
  color: #151515;
}

.home-product-catalog .select2-container--default .select2-results__option--selected {
  background: rgba(14, 167, 128, 0.12);
  color: #151515;
}

@media (max-width: 1024px) {
  .home-product-catalog__loading-row {
    flex-direction: column;
  }

  .home-product-catalog__loading-line--button {
    width: 100%;
  }
}