body{
    margin: 0;
    padding: 0;
}

.center{
    width: 500px;
    margin: auto;
    padding: 20px 0 0 0;
}

.content_box {
    display: flex;
    width: 1200px;
    margin: auto;
}

.content_middle {
    flex: 1;
    min-width: 0;
    padding-left: 0;
}

.stick {
    position: sticky;
    top: 80px;
    height: fit-content;
    background-color: #fff;
    z-index: 10;
    border: 1px solid rgba(145, 144, 144, 0.5);
    border-right: 0px;
    width: 230px;
    margin-right: 0;
    flex-shrink: 0;
}

.app {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.view{
    display: flex;
    width: 1000px;
    border: 1px solid rgba(145, 144, 144, 0.5);
    border-left: 0px;
    /* border-bottom: 0px; */
    height: 470px;
}

.swiper_wrap{
    width: 100%;
    /* height: 200px; */
}

.swiper{
    width: 100%;
    height: 100%;
}

.swiper-slide{
    display: flex; 
    justify-content: center;
    align-items: center
}

.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

.swiper-button-next{
    width: 20px;
    height: 30px;
    background: rgba(0, 0, 0, .2);
    border-radius: 50% 0  0 50%;
}

.swiper-button-prev{
    width: 20px;
    height: 30px;
    background: rgba(0, 0, 0, .2);
    border-radius: 0 50%  50% 0;
}

.list-box{
    width: 1200px;
    margin: auto;
    text-align: center;
}

.user { 
    margin: 10px 0; 
    padding: 10px; 
    border: 1px solid #ccc; 
    border-radius: 5px; 
}

.user h3 { 
    margin: 0; 
}

.user p { 
    margin: 5px 0; 
}

.pagination { 
    margin: 20px 0; 
    text-align: center; 
}

.pagination button { 
    margin: 0 5px; 
    padding: 5px 10px; 
    cursor: pointer; 
}

.pagination button.disabled { 
    cursor: not-allowed; 
    color: #aaa; 
}

.contx{
    padding-top: 20px;
    display: flex;
    width: 1200px;
    margin: auto;
}

/* 左侧一级导航 */
.sidebar {
    width: 200px;
    background-color: #f8f8f8;
    border-right: 1px solid #ddd;
    padding: 20px;
    box-sizing: border-box;
}

.sidebar h3 {
    margin-top: 0;
    font-size: 20px;
}

.sidebar ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.sidebar li {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 5px 0;
}

.sidebar li:hover {
    background-color: #f0f0f0;
}

/* 右侧内容区域 */
.content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* 二级导航 */
.subnav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.subnav button {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
}

.subnav button:hover {
    background-color: #f0f0f0;
}

/* 商品展示区 */
.products {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.product {
    color: #444;
    width: 200px;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background-color: #fff;
}

.product img {
    max-width: 100%;
    height: auto;
}


a{
    text-decoration: none;
}

.inputBox{
    display: flex;
}

.submitBox{
    display: flex;
}

.submit{
    width: 50px;
}

.itemBox{
    margin-left: 20px;
}

.swiper-pagination-bullet-active{
    width: 25px;
    height: 10px;
    border-radius: 10px;
    background: #f1f1f1;
}

#user-container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
}

.item{
    border: 1px solid #b3acac;
    color: #444;
}

/* 容器布局 */
.container {
    display: flex;
    position: relative;
}

/* 左侧一级分类 */
.left-category {
  /* background-color: #f3f5f9; */
  /* width: 200px; */
  width: 230px;
  height: 600px;
  overflow: auto;
  /* border-right: 1px solid #ddd; */
}

.left-category ul {
  list-style: none;
  margin: 0;
  padding: 15px 0;
}

.left-category li {
  padding: 6px 16px;
  cursor: pointer;
}

.left-category li:hover {
  background-color: #2e91f6;
}

.left-category li:hover  a{
  color: #ffffff;
}

.left-category li a {
  text-decoration: none;
  color: rgb(131, 128, 128);
  font-weight: 400;
  font-size: 16px;
}

/* 右侧二级分类 */
.right-subcategory {
  min-height: 240px;
  flex: 1;
  /* padding: 10px 20px; */
  display: none; 
  border: 1px solid #2e91f6;
  height: 600px;
  max-height: 600px;
  overflow: auto;
}

.right-subcategory.active {
  display: block; /* 显示 */
}

#right-subcategory-container{
    /* width: 700px; */
    width: 1000px;
    position: absolute;
    left: 100%;
    top: -1px;
    background-color: #fff;
    z-index: 10;
}

.right-subcategory ul {
  list-style: none;
  margin: 0;
  /* padding: 0; */
  padding: 10px 20px;
}

.right-subcategory li {
  margin-bottom: 5px;
}

.right-subcategory li a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  font-weight: bold;
}

.right-subcategory li a:hover {
  color: #e4393c;
}

/* 三级分类 */
.third-category ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.third-category li {
  margin-bottom: 5px;
}

.third-category li a {
  text-decoration: none;
  color: #888;
  font-size: 13px;
}

.third-category li a:hover {
  color: #e4393c;
}

.third-category>ul{
    display: flex;
    flex-wrap: wrap;
}

.third-category>ul a{
    padding: 5px 10px;
    font-weight: 400;
    color: #000000;
}

.right-subcategory>ul>li{
    display: flex;
    /* align-items: center; */
    /* padding: 5px  0 0 0; */
    border-bottom: 1px dotted #dfdada;
}

.right-subcategory>ul>li>a{
    min-width: 100px;
    padding-top: 3px;
    padding-right: 10px;
    border-right: 1px dotted #ebe8e8;
    color: #000000;

}

/* 上架图片 */
.img_box{
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 10px;
  margin-top: 20px !important;
  width: 1000px;
  margin: auto;
}

.item_img{
  padding: 0;
  margin: 0;
  display: flex;
}

.descript{
  color: #ffffff;
  font-weight: 500;
  background-color: #2e91f6;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item_box{
  /* border-radius: 20px; */
  overflow: hidden;
  padding: 10px;
  background-color: rgba(248, 244, 244,0.5);
}

.price{
  color: rgba(46,145,246,0.8);
  font-size: 18px;
}

.login_box_container{
  width: 347px;
  background-color: #f3f5f9;
}

.title_name{
  padding-top: 10px;
  width: 100%;
  font-weight: 500;
  text-align: center;
}

.loginOut{
  float: right;
  padding-right: 30px;
}

.swiper-row {
    width: 1200px;
    margin: 30px auto 30px auto;
}
