
       /* 全局样式 */
 
        body {
            font-family: Arial, sans-serif;
        	 font-size: 15px;
            margin: 0;
            padding: 0;
          /*  line-height: 1.6;*/
            color: #333;
            background-color: #fff;
        	   
        }
        a {
            color: #333;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
       img{
        max-width: 100%;
       	 vertical-align: middle;
     }

        
        header{
	            position: fixed;
			    width: 100%;
			    background: #ffffff;
        	    background-color: #ffffffe6;
			    z-index: 2;
        }
header form {
    max-width: 1200px;
    margin: 0 auto;
}
        
        header .search-box {
            display: flex;
            align-items: center;
        	    max-width: 500px;
			   /* margin: 0 auto;*/
			    padding: 20px 0;
        	    position: relative;
        }
        header .search-box input[type="text"] {
		    padding: 8.5px;
		    width: 100%;
		    max-width: 100%;
		    border: 0px solid #ccc;
		    border-right: none;
		    border-radius: 40px;
		    font-size: 14px;
		    background: #f3f6fc;
		    margin: 0;
		    border: 1px solid #fbfbfb;
		    /*border-right: none;*/
        	   outline: none; /* 移除聚焦时的外边框 */
        	   
                   padding-left: 20px;
        }
        header .search-box button {
	/*padding: 7.3px 1rem;*/
    background-color: #edf2fa;
    color: #ff6b6b;
   /* border-radius: 0 4px 4px 0;*/
    border: 0px solid #edf2fa;
    border-left: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    margin: 0;
    position: absolute;
    right: 5px;

    width: 24px;
    height: 24px;
    border-radius: 50px;
    background: #ff6b6b url(../style/img/search.png) no-repeat center;
        	
        	
        }
        header .search-box button:hover {
           /* background-color: #ff6b6b;*/
        }
        
        header .search-box .quickdelete{
	          display: inline;
			    width: 16px;
			    height: 16px;
			    font-size: 16px;
			    line-height: 16px;
			    text-align: center;
			    position: absolute;
			    /* display: none; */
			    top: 50%;
			    right: 16px;
			    margin-top: -9px;
			    cursor: pointer;
			    left: 0;
        	    background: url(../style/img/closure.png) 0px no-repeat;
        }
        
         /* main-nav导航栏样式 */
        .main-nav {
		    text-align: center;
		    border-bottom: 1px solid #ddd;
		    border-top: 0px solid #dddddd;
        	background: #fbfbfb;
  			border-bottom: 1px solid #d3e3fd;	
        	background: #f3f6fc;
        	background-image: linear-gradient(#ffffff, #fbfbfb, #eeeeee);
        	background-image: linear-gradient(#ffffff, #fbfdff, #f3f6fc);
        }
        .main-nav .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            /*padding: 5px 20px;*/
        }
        .main-nav .logo {
		    padding: 5px 0;
		    /*color: #cfcfcf;*/
		    text-decoration: none;
        	/*font-size: 20px;*/
        }

        .main-nav ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
        }
        .main-nav ul li {
            margin: 10px;
        }
        .main-nav ul li a {
            color: #000;
            text-decoration: none;
            /*font-weight: bold;*/
        	/*font-size: 16px;*/
			
        }
        .main-nav ul li a:hover {
            text-decoration: underline;
        }
        
        .container {
            display: flex;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            gap: 20px;
        	padding-top: 170px
        }
        .main-content {
            flex: 3;
        	padding: 0;
        	background-color: #fff;
            border-radius: 8px;
        	width: 80%;
            padding: 1rem 0;
        }
        .main-content h1 {
        	font-size: 1.5rem;
		    margin-bottom: 1rem;
		    color: #ff6b6b;
        }

        .product-images img {
            width: 100%;
            max-width: 400px;
            height: auto;
            border-radius: 8px;
        }
        .price {
            font-size: 1.5rem;
            color: #ff6b6b;
            font-weight: bold;
        }
        .coupon {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            background-color: #ff6b6b;
            color: #fff;
            border-radius: 4px;
            margin-top: 0.5rem;
            cursor: pointer;
            text-align: center;
        }
        .reviews, .faq {
            margin-top: 2rem;
        }
        .review-card, .faq-item {
            background-color: #fff;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            margin-bottom: 1rem;
        }
        .sidebar {
            background-color: #fff;
            padding: 1rem 0;
            border-radius: 8px;
            /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
        	 flex: 1;
        	    width: 20%;
        }
        .sidebar h2 {
            margin-bottom: 1rem;
            color: #333;
        }
        .sidebar ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .sidebar ul li {
            margin-bottom: 0.5rem;
        }
        .sidebar ul li a {
            color: #3d3d3d;
            text-decoration: none;
        }
        .sidebar ul li a:hover {
            text-decoration: underline;
        }
        
        .content{
	         flex: 2;
        }
        
.tree > ul:nth-child(1) {
   border-left: 0px solid #eae3e3;
	padding-left: 0px;
}
.tree ul{
    list-style: none;
	border-left: 1px solid #eae3e3;
	padding-left: 20px;
}
.tree ul li{
	margin: 10px 0px;
}
.tree ul li a{
    padding-left: 10px;
    /* margin-left: 5px; */
}
.tree ul li a:hover{
	color: #0071c5;
    background: url(../style/images/arrow.png) 0px no-repeat;

}
.main-nav ul li .active,
.nav-container .active > a ,
.tree .active,
.tree .active > a{
	color: #0071c5;
	font-weight: bold;
    background: url(../style/images/arrow.png) 0px no-repeat;
}

.tree .toggle {
    cursor: pointer;
    padding: 5px;
    user-select: none;
	    background-image: linear-gradient(#ffffff, #fbfbfb, #eeeeee);
}

.tree .toggle::before {
    content: "-";
	  font-size: 18px;	color: #000;
}

.tree .toggle.collapsed::before {
    content: "+";
	  font-size: 18px;	color: #000;
}

.tree ul.collapsed {
    display: none;
}

/**/
.system .contentlist{
 width: 100%;
 box-sizing: border-box;
 overflow: auto;
}
        .system .fixed-column {
            position: sticky;
            left: 0;
            background-color: #fbfbfb;
            z-index: 1;
            border-right: 1px solid #e3e3e3;
        }
        
        .system .fixed-column-2 {
            position: sticky;
            left: 66px; /* æ ¹æ®ç¬¬ä¸€åˆ—çš„å®½åº¦è°ƒæ•´ */
            background-color: #edf2faa8;
            z-index: 1;
        }
		.system .fixed-column-2 input[type="text"] {
		    background: none;
		    border: 1px solid #f5f5f5;
		}

.contentlist input[type="checkbox"]{
	height: auto;
   width: auto;
}

/* 面包屑 */
.breadcrumb {
    list-style: none;
	padding: 20px 0;
    margin: 0;
    background: #fbfbfb;
    border-bottom: 1px solid #e9e9e9;
	background: #fbfdff;
    border-bottom: 0px solid #edf2fa;
}

.breadcrumb .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
}
.breadcrumb ol{
	padding: 0;
	    margin: 0;
}
 
.breadcrumb-item {
  display: inline;
}
.breadcrumb-item a {
  color: #6c757d;
}
.breadcrumb-item2{
  display: inline;
}
 
.breadcrumb-item + .breadcrumb-item:before {
  padding: 0 5px;
  color: #6c757d;
  content: "/\00a0"; 
}
 
.breadcrumb-item.active {
  color: #6c757d; 
}

/*////////////////////////////////////////////////*/
     /* 表格容器样式 */
        .table-container {
            width: 80%;
            margin: 20px auto;
            font-family: Arial, sans-serif;
        }
        
        /* 表格行样式 - 用于表头和普通行 */
        .table-row {
            display: flex;
            border-bottom: 1px solid #ddd;
        }
        
        /* 表头行特殊样式 */
        .table-header {
            background-color: #edf2fa;
            font-weight: bold;
            border-top: 1px solid #ddd;
        }
        
        .table-header .table-cell input[type="text"]{
			 background: none;
			 border: none;
		}
		.table-header .table-cell input[type="text"]:hover{
			border: none;
		}
        
        /* 单元格样式 */
        .table-cell {
            padding: 12px 15px;
            flex: 1;
            text-align: left;
        }
        
        /* 第一列加宽 */
        .table-cell:first-child {
            flex: 1;
        }
        
        /* 鼠标悬停效果 */
        .table-row:not(.table-header):hover {
            background-color: #f5f5f5;
        }
        
        /* 斑马条纹效果 */
        .table-row:nth-child(even):not(.table-header) {
            background-color: #fbfdff;
        }

/*//////////////////////////////分页/////////////////////////////////////*/

/* 分页容器 */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* 总记录数 */
.total-records {
    font-size: 14px;
    color: #666;
margin: 5px;
}

/* 分页链接 */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/* 当前页码 */
.pagination li.active span {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* 分页链接悬停效果 */
.pagination li a:hover {
    background-color: #f8f9fa;
    color: #0056b3;
    border-color: #ddd;
}

/* 禁用链接样式（上一页/下一页禁用时） */
.pagination li.disabled span {
    color: #ccc;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #ddd;
}

/* 省略号样式 */
.pagination li span.ellipsis {
    padding: 8px 12px;
    color: #666;
    cursor: default;
}


/*////////////////////////上传文件///////////////////////////////////*/
   .file-item {
      margin-bottom: 20px;
      border: 1px solid #ccc;
      padding: 10px;
      border-radius: 5px;
    }
    .progress-bar {
      width: 100%;
      height: 20px;
      background-color: #f3f3f3;
      border-radius: 10px;
      overflow: hidden;
      margin-top: 10px;
      position: relative;
    }
    .progress {
      height: 100%;
      background-color: #4caf50;
      width: 0;
      transition: width 0.3s ease;
    }
    .progress-text {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 12px;
      color: #fff;
    }
    .status {
      margin-top: 10px;
      font-weight: bold;
    }
    button {
      /*margin: 5px;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;*/
    }
    .delete-btn {
      background-color: #ff4d4d;
      color: white;
      border: none;
      padding: 5px 10px;
      border-radius: 5px;
      cursor: pointer;
    }
        

/*///////////////字段排序////////////////*/

.sort-field{

	color: #b8b8b8; 
	cursor: pointer;
	    background: url(../style/img/sort.png) -5px no-repeat;
	    padding-left: 20px;

}

.sort-field:hover {

     /* background: url(../style/img/sort-hover.png) -5px no-repeat;*/
}
.sort-field-DESC{
	   background: url(../style/img/sort_desc.png) 5px 0px no-repeat;
}
.sort-field-ASC{
	   background: url(../style/img/sort_asc.png) 5px -5px no-repeat;
}

/* 设置表格的基本样式 */
.system table {
    width: 100%;
    border-collapse: collapse; /* 合并边框 */
    font-family: Arial, sans-serif;
	border-left: 0px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
    border-spacing: 0;
	     margin: 10px 0;
}
/*/////////////////////*/
/* 设置表头样式 */
.system th {
  
    text-align: center;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    padding: 5px 10px;
    /*height: 35px;*/
    white-space: nowrap;
	/*background-image: linear-gradient(#ffffff, #fbfbfb, #eeeeee);*/
	background: #fbfbfb;
}
.system th input{
	  /*  font-weight: bold;*/
}

/* 设置表格单元格样式 */
.system td {
    text-align: center;
    border-bottom: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    padding: 5px 10px;
    /*height: 35px;*/
    white-space: nowrap;
    overflow: hidden;
    max-width: 200px;
}
/* 选择所有最后一个 <td> 元素 */
.system th:last-child,
.system td:last-child {
 border-right: 0px solid #e3e3e3;
}

/* 鼠标悬停时改变行背景色 */
.system tr:hover {
   /* background-color: #fbfbfb;*/
}

/*/////////input select textarea//////////*/
.system input[type="text"],
.system select{
    width: 100%;
    padding:  1px;
    border: 1px solid #fbfbfb;
    border-radius: 5px;
    font-family: 'Arial', sans-serif;
    font-size: 12px;
    color: #333;
    transition: all 0.3s ease;
    resize: vertical;
    height: 30px;
    line-height: 30px;
    background: #fbfbfb;
}

.system input:hover{
	border: 1px solid #ccc;
}
.system textarea{
	    vertical-align: middle;
	        width: 100%;
            padding: 1px;
            border: 1px solid #fff;
            border-radius: 5px;
            font-family: 'Arial', sans-serif;
            font-size: 12px;
            color: #333;
            transition: all 0.3s ease;
            resize: vertical; /* 允许垂直调整大小 */
	        height: 30px;
            line-height: 30px;
	
}
.system textarea:hover{
	border: 1px solid #ccc;
}
/*///////////coolbg////////////*/
 .submit {
    margin: 10px 0;
    text-align: right;
}

 .coolbg {
	margin: 0 5px 0 0;
	       display: inline-flex;
            align-items: center;
            padding: 10px 15px;
          
            color: #333;
            background-color: #007bff;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            cursor: pointer;
	background-image: linear-gradient(#ffffff, #fbfbfb, #eeeeee);
}

 .coolbg:hover {
    background: #397cbe;
    color: #fff;
    text-decoration: none;
}
 .system .coolbgDelete {
            background-color: #e65a5a;
 	    background-image: none;
    color: #fff;
        }
/*编辑器**/
.editorList{
	width:100%;
	padding: 0px;
}

.editorList li{
	display:inline;
	}
.editorList li a{
    /*border: none;
    border-right: 1px solid #9a9a9a;
    border-bottom: 1px solid #9a9a9a;
    padding: 5px 10px;
    background: #fafafa;
    cursor: pointer;*/
	}
.editorList li a:hover{
    background: #397cbe;
    color: #fff;
    text-decoration: none;

	}
#editortext {
	border: 1px solid #e1e1e1;
	border-bottom: 0;
	border-right: 0;
	border-left: 0;
    background: #fff;
    width: 100%;
    height: 100%;
	resize:none;
	text-align: left;
scrollbar-face-color:#C00;
scrollbar-highlight-color:#fff;
scrollbar-3dlight-color:#F00;
scrollbar-darkshadow-color:#000;
scrollbar-Shadow-color:#000;
scrollbar-arrow-color:#fff;
scrollbar-track-color:#fff;
}
#editortext:hover {
    border: 1px solid #ccc;
}





/*展开与收起*/

.toggle-icon{
	 position: absolute;
	 left: -200%;
	 top: 0;
	 bottom: 0;
}
/*////////////////////////////////////////////////////////////*/

        /* 设置大图预览容器的样式 */
        .preview {
            display: none;
            position: fixed;

		   top: 5px;
		   right: 0;
		   max-width: 500px;
            border: 2px solid #ccc;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            z-index: 10;
        }

        /* 大图样式 */
        .preview img {
            width: 100%;
            height: auto;
        }
        /* 删除搜索词*/
        .quickdelete{
	          display: inline;
			    width: 16px;
			    height: 16px;
			    font-size: 16px;
			    line-height: 16px;
			    text-align: center;
			    position: absolute;
			    /* display: none; */
			    top: 50%;
			    right: 16px;
			    margin-top: -9px;
			    cursor: pointer;
        	    background: url(../style/img/closure.png) 0px no-repeat;
        }
        

 /* 主体内容样式 */
        main {
            padding: 0;
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            font-size: 17px;
            margin-bottom: 1rem;
            color: #333;
        }
        h3{
			 font-size: 16px;
        }

        /* 商品推荐区块 */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .product-card {
            background-color: #fff;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .product-card:hover {
           /* transform: translateY(-5px);*/
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .product-card img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 1rem;
        }

        .product-card h3 {
            margin-bottom: 0.5rem;
        }

        .product-card p {
            margin-bottom: 1rem;
            color: #666;
        }

        .product-card .price {
            font-size: 1.5rem;
            color: #ff6b6b;
            font-weight: bold;
        }

        .product-card .coupon {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            background-color: #ff6b6b;
            color: #fff;
            border-radius: 4px;
            margin-top: 0.5rem;
        }

        /* 优惠券区块 */
        .coupons {
            background-color: #f1f1f1;
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
        }

        .coupons h2 {
            margin-bottom: 1rem;
        }

        .coupon-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }

        .coupon-card {
            background-color: #fff;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
        }
        
		.coupon-card img {
		    width: 100%;
		    height: auto;
		    border-radius: 8px;
		    margin-bottom: 1rem;
		}

        .coupon-card h3 {
            margin-bottom: 0.5rem;
        }

        .coupon-card p {
            margin-bottom: 1rem;
            color: #666;
        }

        .coupon-card .code {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            background-color: #ff6b6b;
            color: #fff;
            border-radius: 4px;
            margin-top: 0.5rem;
        }

        /* 用户评价区块 */
        .testimonials {
            background-color: #fff;
            padding: 2rem;
            margin: 2rem 0;
            text-align: center;
        }

        .testimonials h2 {
            margin-bottom: 1rem;
        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }

        .testimonial-card {
            background-color: #f9f9f9;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        .testimonial-card p {
            font-style: italic;
            color: #666;
        }

        .testimonial-card span {
            display: block;
            margin-top: 1rem;
            font-weight: bold;
        }

        /* 常见问题区块 */
        .faq {
            background-color: #f1f1f1;
            padding: 2rem;
            margin: 2rem 0;
        }

        .faq h2 {
            text-align: center;
            margin-bottom: 1rem;
        }

        .faq-item {
            margin-bottom: 1rem;
        }

        .faq-item h3 {
            margin-bottom: 0.5rem;
        }

        .faq-item p {
            color: #666;
        }

        /* 底部样式 */
        footer {

            color: #333;
            text-align: center;
            padding: 1rem 0;
        	background: #fbfdff;
		    margin-top: 10px;
		    border-top: 1px solid #e9e9e9;
        	
        }
        footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
        }
        footer ul li {
            margin: 0 1rem;
        }
        footer ul li a {
            color: #333;
            text-decoration: none;
        }
        footer ul li a:hover {
            text-decoration: underline;
        }
        /* 响应式设计 */
        @media (max-width: 768px) {
	        header{
		            position: inherit;
	        }
			.sidebar {
			    width: 100%;
				padding: 0;
			}
			.main-content {
			    width: 100%;
				padding: 0;
			}
            .container {
                flex-direction: column;
            	padding-top: 0px;
            	gap:0px;
            }
			.table-cell {
			    /*padding: 5px 0;*/
			}
            .table-container{
				margin-top: 0px;
            }
            .main-nav .nav-container {
                flex-direction: column;
                align-items: flex-start;
            	padding: 0 20px;
            }
            .main-nav .search-box {
                width: 100%;
                margin-top: 1rem;
            }
            .main-nav .search-box input[type="text"] {
                width: 100%;
            }
            .main-nav ul {
                flex-direction: column;
                align-items: flex-start;
                margin-top: 0;
            }
            .main-nav ul li {
                margin: 0.5rem 0;
            }

			.pagination-container {
			   display: block;
			}
			.pagination {
			    display: block;
			}
			
			.pagination li {
			    margin: 5px;
			}
			
			.toggle-icon{
				 position: static;
			}
			.sidebar > section > div,
			.sidebar > section > nav{
				 position: absolute;
				 left: -200%;
				 top: 0;
				 bottom: 0;				
			}




        }
        
    