/* 全局侧栏 */
#sidebar {
  position: fixed;
  right: 0;
  right: -250px;
  top: 0;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  z-index: 100;
}

#sidebar .side {
  -webkit-box-pack: center;
  justify-content: center;
  margin-right: 1px;
}

#sidebar .side .side_list {
  opacity: 1;
}

/* 侧栏列表 */
.side_list ul {
  box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
  border-radius: 8px 0 0 8px;
  overflow: hidden;
}

/* 列表每项 */
#sidebar .side ul li {
  width: 40px;
  border-bottom: 1px solid #f1f1f1;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  height: 40px;
  line-height: 40px;
}

/* 选中时 */
#sidebar .side ul li.active {
  background-color: var(--main-color);
  position: relative;
}

#sidebar .side ul li.active .iconfont-ut {
  color: #fff;
}

#sidebar .side ul li:last-child {
  border: none;
}

#sidebar .side ul li:hover {
  background-color: var(--main-color);
}

/* 每项图标 */
#sidebar .side ul li .iconfont-ut {
  font-size: 20px;
  color: #999;
}

#sidebar .side ul li:hover .iconfont-ut {
  color: #fff;
}

/* 返回顶部 */
#sidebar .side .top {
  width: 40px;
  -webkit-box-pack: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgb(0 0 0 / 10%);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  position: absolute;
  bottom: 160px;
  height: 40px;
}

/* 进度环 */
.progress-wrap {
  position: absolute;
  height: 42px;
  width: 42px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transform: translateY(1px);
  transform: translateX(0px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.progress-wrap path {
  transition: stroke-dashoffset 10ms linear 0s;
  stroke-dasharray: 307.919, 307.919;
  fill: none;
  box-sizing: border-box;
  stroke: var(--main-color);
  stroke-width: 4;
}

/* 进度环结束 */

#sidebar .side .top:hover {
  background-color: var(--default);
}

#sidebar .side .top .iconfont-ut {
  font-size: 20px;
}

/* 侧栏展开面板 */
#sidebar .itemBoxs {
  width: 250px;
  background-color: var(--default);
  box-shadow: 1px 0 6px rgb(0 0 0 / 20%);
  padding-bottom: 60px;
}

/* 面板标题 */
#sidebar .itemBoxs .title {
  height: 50px;
}

#sidebar .itemBoxs .title .iconfont-ut {
  width: 36px;
  font-size: 22px;
  height: 36px;
}

#sidebar .itemBoxs .cot {
  overflow-y: auto;
}

/* 无数据时 */
#sidebar .itemBoxs .cot .notDataImg {
  text-align: center;
}

#sidebar .itemBoxs .cot .notDataImg img {
  width: 100%;
}

.itemBoxs.icon2 {
  display: none;
}

.itemBoxs.icon3 {
  display: none;
}

.itemBoxs.icon4 {
  display: none;
}


/* 初次显示时最后一个商品显示的动画 */
.breathe {
  animation: breathe 3s linear infinite;
  -webkit-animation: breathe 3s linear infinite;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

@keyframes breathe {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


/* 小屏时 */
@media screen and (max-width: 1024px) {
  #sidebar {
    display: none !important;
  }
}