*{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  tabindex: -1;
}
body::-webkit-scrollbar{
	display:none;
}
body{
	margin:0;
	background:#f5f5f5;
}
h1,h2,h3,h4,h5,h6,p{
	margin:0;
	font-weight:normal;
}
ul,ol,dd{
	margin:0;
	padding:0;
	list-style:none;
}
a{
	text-decoration:none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}
img{
	border:none;
	vertical-align:top;
}
em{
	font-style:normal;
}
strong{
	font-weight:normal;
}
@font-face{
	font-family: philosophycolor;
	src:url(/philosophycolor.woff);
}
input[type=checkbox]{
	font-size:1rem;
	width:1rem;
	height:1rem;
	position:relative;
	vertical-align:middle;
}
input[type=checkbox]:after{
	position:absolute;
	width:1rem;
	height:1rem;
	top:-0.1rem;
	left:-0.1rem;
	content:" ";
	background-color:#fff;
	color:#fff;
	display:inline-block;
	visibility:visible;
	padding:0rem;
	border-radius:0.2rem;
	border:1px solid #cccfd5;
}

input[type=checkbox]:checked:after{
	background-color:#118E06;
	/* border-color:#fff; */
}
input[type=checkbox]:checked:before{
	content:"+";
	display:block;
	position:relative;
	top:0.14rem;
	left:0.08rem;
	color:#fff;
	font-weight:bold;
	z-index:1;
	font-size:0.6rem;
	font-family:philosophycolor;
}



header .nav{
	display:flex;
	justify-content:space-between;
	align-items:center;
	padding:0 5%;
	height:6.25rem;
	min-width:62.5rem;
}
header .nav .logo img{
	height:3.75rem;
}
header .nav .search{
	display:flex;
	align-items:center;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 0.5rem 1rem;
	transition:500ms;
}
header .nav .search input{
	width:10rem;
	border: none;
	outline: none;
	background: transparent;
	transition:500ms;
}
header .nav .search input:focus{
	width:20rem;
}
header .nav .search button{
	background: none;
	border: none;
	cursor: pointer;
	color: #666;
	font-family:philosophycolor;
}
header .nav nav{
	display: flex;
	gap: 1rem;
}
header .nav nav a{
	color:#666;
	font-size:1rem;
}

.product{
	padding:1rem 5%;
	background:#097039;
	display:flex;
	gap:2rem;
	position:sticky;
	top:0;
	z-index:10;
}
.product li{
	font-size:1rem;
	color:#fff;
	cursor:pointer;
    transition: border-color 0.3s ease;
	border-bottom: 3px solid rgba(0,0,0,0);
}
.product li.active{
    border-bottom: 3px solid #ffffff;
	font-weight:600;
}

.breadcrumb {
	padding: 1rem 5%;
	font-size: 0.9rem;
	color: #666;
	background-color: #fff;
	border-bottom: 1px solid #eee;
}
.breadcrumb a {
	color: #2c6e49;
	text-decoration: none;
}

.container {
	display: flex;
	padding: 2rem 5%;
	gap: 2rem;
}
.filter-sidebar {
	width: 15rem;
	background-color: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	align-self:flex-start;
	/* position:sticky; */
	/* top:5.3rem; */
}
.filter-group {
	margin-bottom: 1.5rem;
}
.filter-group h3 {
	font-size: 1rem;
	margin-bottom: 0.8rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor:pointer;
	gap:1rem;
}
.filter-group h3 em{
	color: #2c6e49;
	font-family:philosophycolor;
	font-size: 0.8rem;
}
.filter-group ul {
	list-style: none;
}
.filter-group li {
	margin-bottom: 0.5rem;
	align-items: center;
	font-size: 0.9rem;
}
.filter-group li input{
	margin-right:0.5rem;
}

.product-list {
	flex: 1;
}
.list-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1.5rem;
}
.list-header h2 {
	font-size: 1.8rem;
	color: #2c6e49;
}
.list-header select {
	padding: 0.4rem 0.8rem;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-left:2rem;
}

.product-card{
	display: flex;
	align-items: center;
	background-color: #fff;
	padding: 1.5rem 3rem 1.5rem 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	gap: 1.5rem;
}
.product-card img {
	width: 240px;
	height: 240px;
	object-fit: cover;
	border-radius: 4px;
}
.product-info {
	flex: 1;
}
.product-info h3 {
	color:#000;
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}
.product-info .tag {
	font-size: 0.8rem;
	color: #666;
	margin-bottom: 0.8rem;
}
.product-info .resistance {
	font-size: 0.9rem;
	color: #555;
}
.product-actions {
	color:#000;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
.product-actions button {
	background-color: #2c6e49;
	color: #fff;
	border: none;
	padding: 0.5rem 1.2rem;
	border-radius: 4px;
	cursor: pointer;
}
.product-actions label {
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

/* 响应式适配 */
@media (max-width: 1000px) {
	.container {
		flex-direction: column;
	}
	.filter-sidebar {
		width: calc(100% - 50px);
		position:static;
	}
	.product-card {
		flex-direction: column;
		text-align: center;
	}
}


/* --- 新增：右下角固定品种对比条 --- */
.compare-bar{
	position: fixed;
	bottom: 1rem;
	right: -15rem;
	background-color: #097039;
	border-radius: 2rem;
	padding: 0.5rem 1rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	z-index: 999;
	max-width: 90vw;
	overflow-x: auto;
	transition:500ms;
}
.compare-bar ul{
	display:flex;
	gap: 0.8rem;
}
.compare-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 0.3rem 0.6rem;
	font-size: 0.85rem;
	color: #fff;
	white-space: nowrap;
}
.compare-item img {
	height: 1.5rem;
	width: auto;
}
.compare-item .close {
	font-size: 0.75rem;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.8);
	margin-left: 0.3rem;
}
.compare-item .close:hover {
	color: #fff;
}
.compare-btn {
	background-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	border: none;
	border-radius: 12px;
	padding: 0.4rem 0.8rem;
	font-size: 0.85rem;
	cursor: pointer;
	white-space: nowrap;
}
.compare-btn:hover {
	background-color: rgba(255, 255, 255, 0.3);
}