/* pages/category/category.wxss */

page {
  height: 100%;
}

.container {
  display: flex;
  flex-direction: row;
  height: 100%;
}

.main {
  position: fixed;
  display: flex;
  overflow: hidden;
  margin-top: 78rpx;
  height: calc(100% - 100rpx);
}

/* 搜索栏 */
.top-search-input {
  margin-left: 20rpx;
  margin-top: -10rpx;
  display: flex;
  align-items: center;
  width: 500rpx;
  border: 2rpx solid #04358D;
  border-radius: 40rpx;
  height: 60rpx;
}

.top-search-swiper {
  width: 440rpx;
  height: 60rpx;
  line-height: 60rpx;
  margin-top: 0;
  font-weight: normal;
  font-size: 24rpx;
  color: #AAAAAA;
  margin-left: 28rpx;
}

.top-search-line {
  color: #DEDEDE;
  margin-right: 16rpx;
}

.top-search-text {
  width: 100rpx;
  font-weight: bold;
  font-size: 28rpx;
  color: #04358D;
}

/* 左侧菜单栏 */

.leftmenu {
  width: 200rpx;
  height: 100%;
  box-sizing: border-box;
  background-color: #f5f6f7;
  overflow: scroll;
  z-index: 2;
}
scroll-view ::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
  display: none;
}
.menu-item {
  line-height: 94rpx;
  height: 94rpx;
  text-align: center;
  border-bottom: 2rpx silid #e3e3e3;
  position: relative;
  color: #666;
  font-size: 24rpx;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.menu-item.active {
  color: #333;
  font-size: 28rpx;
  font-weight: bold;
  position: relative;
  background: #fff;
}

.menu-item.active:before {
  position: absolute;
  left: 0;
  content: "";
  width: 8rpx;
  height: 60rpx;
  top: 20rpx;
  background: #04358D;
}

.menu-item text.tips-num {
  position: absolute;
  top: 20rpx;
  right: 15rpx;
  border-radius: 15rpx;
  width: 30rpx;
  height: 30rpx;
  background: red;
  color: #fff;
  font-size: 25rpx;
  line-height: 30rpx;
}

/* 右侧商品栏 */

.rightcontent {
  width: 550rpx;
  height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  z-index: 1;
}

.rightcontent .adver-map {
  width: auto;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  margin: 30rpx 20rpx 0;
}

.rightcontent .adver-map .item-a {
  display: block;
  font-size: 0;
  width: 100%;
  height: 160rpx;
}

.rightcontent .adver-map .item-a image {
  width: 100%;
  height: 100%;
  border-radius: 16rpx;
}

/* .rightcontent .sub-category {
  display: flex;
  flex-wrap: wrap;
} */

/* 二级分类 */
.sub-category-con {
  margin: 20rpx;
}

.sub-cate-title {
  display: flex;
  align-items: center;
  font-weight: 800;
}

.view-all {
  color: #999;
  font-weight: normal;
  font-size: 24rpx;
}

.sub-cate-text {
  flex: 1;
}

.th-cate-con {
  display: flex;
  flex-wrap: wrap;
}

.sub-category-item {
  width: 33.33%;
  display: flex;
  flex-direction: column;
  padding: 30rpx;
  box-sizing: border-box;
  align-items: center;
}

.sub-category-item .sub-category-item-pic {
  width: 120rpx !important;
  height: 120rpx !important;
  border-radius: 16rpx;
}

.sub-category-item text {
  margin-top: 10rpx;
  font-size: 25rpx;
}
.not-category-data{
  padding: 20rpx;
}
.not-data-list{
  width: 100%;
}
.reset-localization{
  text-align: center;
  font-size: 26rpx;
  color: #AAAAAA;
}