.catalog-section__title {
  font-size: 50px;
  font-weight: 500;
  border-bottom: 1px solid #ececec;
  padding-bottom: 30px;
}

.catalog-header {
  display: grid;
  grid-template-columns: 1fr 10fr;
  grid-template-areas: 'button search';
  gap: 1rem;
}

.catalog-header__button {
  display: flex;
  align-items: center;
  gap: 1rem;

  font-size: 12px;

  border-radius: 100px;

  padding: 10px 20px;

  background-color: #f1f1f1;
  border: 1px solid #f1f1f1;

  cursor: pointer;

  grid-area: button;

  width: 100%;
}

.catalog-header__search {
  grid-area: search;
}

.catalog-sidebar__filter {
  border-bottom: 1px solid #f1f1f1;
}

.catalog-sidebar__label {
  color: #868686;
  font-size: 12px;
}

.catalog-sidebar__range-values {
  display: flex;
  justify-content: space-between;

  padding-top: 20px;
}

.catalog-sidebar__range-input {
  width: 100%;
}

.catalog-section__content {
  display: grid;
  grid-template-columns: 1.2fr 4fr;
  padding: 2rem 0;
  gap: 2rem;
}

.catalog-sidebar__size-options {
  display: grid;
  grid-template-columns: 4fr 1fr 4fr;
}
.catalog-sidebar__size-btn {
  border: 1px solid #ee575c;
  color: #000000;
  border-radius: 100px;

  padding: 10px 33px;

  font-size: 12px;
}

.catalog-sidebar__size-separator {
  color: #ee575c;
  width: 100%;
}

.catalog-sidebar__label-categories {
  font-size: 15px;
  font-weight: 500;
}

.catalog-sidebar__category-list {
  display: grid;
  gap: 1rem;

  padding-top: 1rem;
}

.catalog-sidebar__category-item {
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.catalog-sidebar__category-text {
  color: #2f2f2f;
  font-size: 12px;
}

.catalog-sidebar__checkbox {
  margin: 0;
}

.catalog-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  place-items: start;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination-arrow-left-icon {
  cursor: pointer;
  padding: 0.5rem;
}

.pagination-arrow-left-icon:hover {
  background-color: #f5f5f5;
  border-radius: 50%;
}

.page-btn,
.ellipsis {
  border-radius: 50%;
  padding: 3px 7px;
  border: 0;
  background: none;
  font-size: 15px;
}

.page-btn.active {
  background-color: #ee575c;
  border: 1px solid #ee575c;
  color: #fff;
}

.product-item {
  display: flex;
  flex-direction: column;
}

.product-item-title {
  flex-grow: 1;
}

.icon {
  cursor: pointer;
}

.product-item-image > a > img {
  width: 100%;
  aspect-ratio: 1/1.2;
}

.catalog-sidebar__range-input[type='range'] {
  -webkit-appearance: none; /* Removes default styling */
  width: 100%;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
}

.catalog-sidebar__range-input[type='range']::-webkit-slider-runnable-track {
  height: 8px;
  background: #3498db; /* Track color */
  border-radius: 5px;
}

.catalog-sidebar__range-input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background: #2ecc71; /* Thumb color */
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px; /* Center thumb on track */
}

.favorite-icon {
  height: 30px;
  width: 30px;
}

.product-item-color-item {
  border-radius: 50%;
  width: 15px;
  aspect-ratio: 1/1;
}

@media (max-width: 1024px) {
  .catalog-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .catalog-products {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-section__content {
    grid-template-columns: 2fr 4fr;
  }
}

@media (max-width: 600px) {
  .catalog-section__content {
    grid-template-columns: 1fr;
  }

  .catalog-header {
    grid-template-columns: 1fr;
    grid-template-areas: 'search' 'button';
  }

  .catalog-header__search {
    padding: 1rem 0.5rem;
  }

  .catalog-header__button {
    display: flex !important;
  }

  .catalog-sidebar__filter--categories.desktop {
    display: none;
  }

  .catalog-section__title {
    font-size: 40px;
    padding-bottom: 10px;
    padding-top: 10px;
  }
}
