/* 顶部导航栏 */
    .top-nav {
      height: 50px;
      line-height: 50px;
      background-color: #666;
      color: #fff;
      padding: 0 20px;
    }
    .top-nav .logo {
      font-size: 28px;
      font-weight: bold;
      color: #fff;
      float: left;
      margin-right: 30px;
    }
    .top-nav .nav-left a {
      color: #fff;
      font-size: 16px;
      margin-right: 25px;
      text-decoration: none;
    }
    .top-nav .nav-right {
      float: right;
    }
    .top-nav .nav-right a {
      color: #fff;
      font-size: 16px;
      margin-left: 25px;
      text-decoration: none;
    }

 /* 面包屑导航 */
    .breadcrumb {
      padding: 15px 20px;
      background-color: #f8f8f8;
      border-bottom: 1px solid #e6e6e6;
    }
    .breadcrumb a {
      color: #333;
      text-decoration: none;
    }
    .breadcrumb span {
      color: #999;
      margin: 0 5px;
    }

    /* 主体容器 */
    .container {
      display: flex;
      padding: 20px;
    }

    /* 左侧侧边栏 */
    .sidebar {
      width: 300px;
      background-color: #00b0f0;
      color: #fff;
      padding: 15px 0;
      border-radius: 4px;
	  min-height:calc(100vh - 200px)
    }
    .sidebar .menu-item {
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
    }
    .sidebar .menu-item:hover {
      background-color: #0090d0;
    }

    /* 右侧内容区 */
    .content {
      flex: 1;
      margin-left: 20px;
    }
    .content .tip-bar {
      padding: 10px 15px;
      background-color: #f5fdea;
      margin-bottom: 20px;
      border-radius: 4px;
    }
    .content .tip-bar a {
      color: #666;
      text-decoration: none;
      margin-right: 15px;
    }

    /* 药品列表表格 */
    .drug-table {
      border-collapse: collapse;
	  width:80%;
	  max-with:900px;
	  margin-top:20px;
    }
    .drug-table tr {
      border: 1px solid #e6e6e6;
    }
    .drug-table td {
      padding: 15px 10px;
      vertical-align: top;
    }
    .drug-table .drug-name {
      font-size: 18px;
      font-weight: bold;
      color: #0066cc;
      margin-bottom: 5px;
    }
    .drug-table .drug-info {
      font-size: 14px;
      line-height: 1.8;
      color: #333;
    }
    .drug-table .drug-info .category {
      color: #009933;
    }
    .drug-table .btn-price {
      background-color: #fff;
      color: #0066cc;
      border: 1px solid #0066cc;
      padding: 5px 15px;
      border-radius: 4px;
      text-decoration: none;
      display: inline-block;
      margin-bottom: 10px;
    }
    .drug-table .btn-factory {
      background-color: #0066cc;
      color: #fff;
      border: none;
      padding: 8px 20px;
      border-radius: 4px;
      text-decoration: none;
      display: inline-block;
    }
	.hide{
		display:none;
	}
	.categoryHide{
		display:none;
	}
dl {
	width: 100%;
	padding: 0px 0px 10px 0px;
	line-height:30px;
}
dt{
	width: 100%;
    float: left;
    line-height: 35px;
    display: block;
    position: relative;
    clear: left;
	text-indent: 0;
}
dd {

    width: auto;
    float: left;
    display: block;
    position: relative;
    overflow: hidden;
    padding-right: 20px;

}
.categoryShow{
	background:while;
	position:relative;
	display:block;
	height:auto;
	overflow: hidden; /* 最简单 */
	text-indent:1rem;
	display:none;
	border:1px solid #E3E3E3;
	width:80%;
	max-with:900px;

}
dt a{
	padding:5px 10px;
    white-space: nowrap;
}


.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.428571429;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  margin-left: -1px;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  background-color: #eeeeee;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 2;
  color: #ffffff;
  background-color: #5e87b0;
  border-color: #5e87b0;
  cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #999999;
  background-color: #ffffff;
  border-color: #dddddd;
  cursor: not-allowed;
}
.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}
.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-bottom-left-radius: 6px;
  border-top-left-radius: 6px;
}
.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}
.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px;
}
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px;
}
.pDetail{
	margin:10px auto;
	color:#3399ff;
}




	/* 让三个卡片等高，flex 布局 */
	.product-row {
		display: flex;
		gap: 20px;
		margin-top: 20px;
		flex-wrap: wrap; /* 小屏时自适应 */
	}
	.product-col {
		flex: 1 1 0;       /* 等分剩余空间 */
		min-width: 250px;  /* 防止过窄 */
		background-color: #ffffff;
		border-radius: 4px;
		box-shadow: 0 2px 4px rgba(0,0,0,.05);
		transition: all .2s;
	}
	/* 中间卡片稍微突出一点，视觉焦点 */
	.product-col.mid-col {
		box-shadow: 0 4px 12px rgba(0,0,0,.1);
		transform: scale(1.02);
		z-index: 1;
	}
	/* 卡片标题栏 与 layui 风格搭配 */
	.product-header {
		padding: 15px 20px;
		border-bottom: 1px solid #f8f8f8;
		font-size: 16px;
		font-weight: 500;
		background-color: #fafafa;
		border-radius: 4px 4px 0 0;
		color: #333;
	}
	.product-header i {
		margin-right: 6px;
		color: #5FB878; /* layui 成功色，用于上游 */
	}
	.mid-col .product-header i {
		color: #1E9FFF; /* 中间用蓝色强调 */
	}
	.product-header .right-icon {
		color: #FFB800; /* 下游用黄色 */
	}
	/* 列表区域，滚动以防内容过多 */
	.product-list {
		padding: 10px 15px;
		max-height: 600px;
		overflow-y: auto;
	}

	/* 自定义列表条目样式，模仿 layui 的简洁风格 */
	.list-item {
		padding: 12px 10px;
		border-bottom: 1px dashed #f2f2f2;
		display: flex;
		align-items: center;
		transition: background 0.2s;
		cursor: default;
	}
	.list-item:hover {
		background-color: #f8f8f8;
	}
	.list-item:last-child {
		border-bottom: none;
	}
	.list-item .layui-badge {
		margin-right: 10px;
		flex-shrink: 0;
	}
	.list-item span {
		font-size: 14px;
		color: #333;
	}
	.list-item small {
		color: #999;
		font-size: 12px;
		margin-left: auto; /* 右对齐次要信息 */
		padding-left: 15px;
	}
	/* 当前产品展示区，加强显示 */
	.current-product-display {
		text-align: center;
		padding: 30px 15px;
		background: linear-gradient(145deg, #f9fcff, #eef5fa);
		border-radius: 100px;
		margin: 20px auto;
		width: 220px;
		height: 180px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		box-shadow: inset 0 -2px 0 #d4e2f0, 0 6px 12px rgba(30, 159, 255, 0.1);
		border: 2px solid rgba(30, 159, 255, 0.3);
	}
	.current-product-display .product-icon {
		font-size: 48px;
		color: #1E9FFF;
		margin-bottom: 8px;
	}
	.current-product-display .product-name {
		font-size: 24px;
		font-weight: 600;
		color: #1E6f9f;
		line-height: 1.2;
	}
	.current-product-display .product-desc {
		font-size: 13px;
		color: #5F9ea0;
		margin-top: 8px;
	}
	/* 无数据占位 */
	.list-placeholder {
		padding: 30px 15px;
		text-align: center;
		color: #ccc;
		font-size: 14px;
	}
	/* 适配移动端 */
	@media screen and (max-width: 768px) {
		.product-row {
			flex-direction: column;
		}
		.product-col.mid-col {
			transform: none;
			order: -1;  /* 中间产品移到最上面 */
		}
	}
	.layui-fixbar{
		display:none;
	}

	.blockHeader{
		width:90%;
		margin:10px auto;
		height:30px;
		text-align:center;
		font-weight:bold;
	}

	.product-list1 {
		padding: 10px 15px;
		min-height: 600px;
		overflow-y: auto;
	}
	/* 自定义列表条目样式，模仿 layui 的简洁风格 */
	.list-item1 {
		padding: 12px 10px;
		border-bottom: 1px dashed #f2f2f2;
		display: flex;
		align-items: center;
		transition: background 0.2s;
		cursor: default;
	}
	.list-item1:hover {
		background-color: #f8f8f8;
	}
	.list-item1:last-child {
		border-bottom: none;
	}
	.list-item1 .layui-badge {
		margin-right: 10px;
		flex-shrink: 0;
	}
	.list-item1 span {
		width:120px;
		font-size: 14px;
		color: #333;
		font-weight:normal;
	}
	.list-item1 small {
		color: #999;
		font-size: 12px;
		/*margin-left: auto;*/ /* 右对齐次要信息 */
		padding-left: 15px;
		width:75%;
		text-align:left;
	}
	.list-item1 .attribute {
		color: black;
		font-size: 12px!important;
		/*margin-left: auto;*/ /* 右对齐次要信息 */
		padding-left: 15px;
		width:85%;
		text-align:left;
	}
	.product-list3{
		flex-basis:33.33%!important;
	}
	.productAttribute p,.productAttribute span,.productAttribute table,.productAttribute span,.productAttribute div{
		color:black!important;
		font-size:12px!important;
	}

