/* iPoolGo product catalog */
.catalog-index-page,
.catalog-page--products {
  color: #0b252e;
  background: #ffffff;
}

.catalog-page--products {
  overflow: hidden;
}

.catalog-shell {
  width: min(calc(100% - 112px), 1580px);
  margin: 0 auto;
}

.catalog-discovery {
  position: relative;
  z-index: 3;
  padding-top: 148px;
  background: #ffffff;
}

.catalog-discovery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: center;
  min-height: 98px;
}

.catalog-discovery-row--category {
  grid-template-columns: minmax(0, 1fr) auto;
}

.catalog-discovery-row--tabs-only {
  grid-template-columns: minmax(0, 1fr);
}

.catalog-all-products-link {
  display: inline-flex;
  align-items: center;
  color: #0b252e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  gap: 9px;
}

.catalog-all-products-link:hover {
  color: #0b252e;
}

.catalog-category-tabs {
  display: flex;
  gap: 30px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.catalog-category-tabs::-webkit-scrollbar {
  display: none;
}

.catalog-category-tabs a {
  position: relative;
  flex: 0 0 auto;
  padding: 38px 0 34px;
  color: #7b898d;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-category-tabs a::after {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  height: 2px;
  content: "";
  background: transparent;
}

.catalog-category-tabs a:hover,
.catalog-category-tabs a.is-active {
  color: #0b252e;
}

.catalog-category-tabs a.is-active::after {
  background: #d4ff39;
}

.catalog-search {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  height: 48px;
  padding: 0 5px 0 16px;
  border: 1px solid #dbe2e2;
  border-radius: 4px;
  background: #ffffff;
}

.catalog-search > i {
  color: #6e7f83;
  font-size: 18px;
}

.catalog-search input {
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #0b252e;
  background: transparent;
  font-size: 13px;
}

.catalog-search input::placeholder {
  color: #96a2a5;
}

.catalog-search-clear,
.catalog-search button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  color: #0b252e;
  background: transparent;
  text-decoration: none;
  place-items: center;
}

.catalog-search-clear:hover {
  color: #0b252e;
  background: #eef2f2;
}

.catalog-search button,
.catalog-search button:hover {
  color: #0b252e;
  background: #d4ff39;
}

.catalog-products {
  padding: 54px 0 120px;
  background: #ffffff;
}

.catalog-results-head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.catalog-results-head--search .catalog-search {
  width: 320px;
}

.catalog-results-head .featured-products-kicker {
  display: block;
  width: auto;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  color: #648087;
  background: transparent;
  font-size: 10px;
  line-height: 1.2;
}

.catalog-results-head h1 {
  margin: 0;
  color: #0b191d;
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.catalog-results-count {
  color: #76868a;
  font-size: 12px;
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 86px 24px;
  text-align: center;
  background: #f3f6f6;
}

.catalog-empty > i {
  display: block;
  margin-bottom: 18px;
  color: #7d8c90;
  font-size: 30px;
}

.catalog-empty h2 {
  margin: 0;
  color: #0b252e;
  font-family: var(--font-title);
  font-size: 28px;
}

.catalog-empty p {
  margin: 12px 0 22px;
  color: #748388;
  font-size: 13px;
}

.catalog-empty a {
  color: #0b252e;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.catalog-pagination {
  margin-top: 64px;
}

.catalog-pagination .pagination {
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.catalog-pagination .page-link {
  display: grid;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 3px;
  color: #5f7075;
  background: #f0f4f4;
  font-size: 12px;
  place-items: center;
}

.catalog-pagination .active .page-link {
  color: #0b252e;
  background: #d4ff39;
}

@media (max-width: 1199px) {
  .catalog-shell {
    width: min(calc(100% - 64px), 1580px);
  }

  .catalog-discovery-row {
    grid-template-columns: 1fr 260px;
  }

  .catalog-discovery-row--tabs-only {
    grid-template-columns: 1fr;
  }

  .catalog-category-tabs {
    gap: 22px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .catalog-shell {
    width: min(calc(100% - 36px), 1580px);
  }

  .catalog-discovery {
    padding-top: 104px;
  }

  .catalog-discovery-row {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 0 24px;
  }

  .catalog-discovery-row--category {
    gap: 0;
  }

  .catalog-all-products-link {
    display: none;
  }

  .catalog-category-tabs {
    margin-right: -18px;
  }

  .catalog-category-tabs a {
    padding: 12px 0 16px;
  }

  .catalog-category-tabs a::after {
    bottom: 8px;
  }

  .catalog-search {
    width: 100%;
  }

  .catalog-products {
    padding: 42px 0 82px;
  }

  .catalog-results-head {
    margin-bottom: 28px;
  }

  .catalog-results-head--search {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-results-head--search .catalog-search {
    width: 100%;
  }

  .catalog-results-head h1 {
    font-size: 34px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
