.custom-container {
  margin: 0 10%;
}
.categories-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding-bottom: 15px;
}
.categories-list__title {
  margin-bottom: 0;
}
.categories-list__count {
  border-radius: 3px;
  background: #F5F5F5;
  padding: 2px 5px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.categories-list__subcategories {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.categories-list__col {
  padding: 0 15px;
  max-width: 25%;
  flex: 0 0 25%;
}
.subcategory-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: 0.2s;
}
.subcategory-block:hover {
  box-shadow: 0px 0px 12px 3px rgba(0, 0, 0, 0.1);
}
.subcategory-block:hover .subcategory-block__arrow {
  transform: translateX(5px);
}
.subcategory-block:hover .subcategory-block__title {
  color: #2F99CC;
}
.subcategory-block:hover,
.subcategory-block:active,
.subcategory-block:focus {
  text-decoration: none !important;
}
.subcategory-block__count {
  font-size: 13px;
  color: #bbbbbb;
  font-style: italic;
  margin-bottom: 0;
}
.subcategory-block__title {
  font-size: 22px;
  color: #000;
  margin-bottom: 0;
  letter-spacing: 1px;
  transition: 0.2s;
}
.subcategory-block__arrow {
  background: #f5f5f5;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: 0.2s;
}
@media screen and (max-width: 1199px) {
  .categories-list__col {
    flex: 0 0 33.33%;
    max-width: 33.33%;
  }
}
@media screen and (max-width: 991px) {
  .categories-list__col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .categories-list__col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .custom-container {
    margin: 0;
  }
  .subcategory-block {
    padding: 20px;
  }
}
