/* 基础样式 */
.text-r{text-align:right;}
.text-l{text-align:left;}
.text-indent{text-indent:2em;}
.text-dn{text-decoration:none;}

.c-54{color:#545454}

.f-12{font-size:12px;}
.f-14{font-size:14px;}

.border-l-3{border-left:3px solid #d3d3d3}
.border-r-3{border-right:3px solid #d3d3d3}
.border-b-3{border-bottom:3px solid #d3d3d3}
.border-t-3{border-top:3px solid #d3d3d3}

.topnavlist a{
	text-decoration:none;
	color:#545454;
	font-size:15px;
	padding: 5px;
	position:relative;
}
.topnavlist a:hover{
	color:#7f7f7f;
}
.topnavlist a:hover .navlistas {
	width: 100%; /* 悬停时宽度变为 100% */
}

.navlistas{
	background: #545454;
	width: 0%;
	height: 2px;
	position: absolute;
	bottom: 0px;
	left: 50%; /* 初始位置在中间 */
	transform: translateX(-50%); /* 居中 */
	transition: width 0.3s ease; /* 动画效果：宽度变化，持续 0.3 秒 */
}
	

/*幻灯片*/
.navbar-brand {
	font-weight: bold;
	font-size: 1.5rem;
}
.carousel-item {
	height: 90vh;
	background: no-repeat center center scroll;
	background-size: cover;
}
.carousel-caption {
	background-color: rgba(0, 0, 0, 0.5);
	padding: 20px;
	border-radius: 10px;
}

/*
* 首页
*/
.index-goods{
	color:#545454;
	text-decoration:none;
	padding: 10px;
	overflow:hidden;
}
.index-goods-img{
	overflow:hidden;
	text-align:center;
}
.index-goods-img img {
  width: 100%; /* 确保图片宽度填满容器 */
  height: auto; /* 保持比例 */
  transition: transform 0.3s ease; /* 平滑过渡效果 */
}
.index-goods-img:hover img {
  transform: scale(1.1); /* 放大 10% */
}
.index-goods h3{
	font-size:16px;
}
.index-news-img{
	height:130px;
	overflow:hidden;
	border: 1px solid #ebebeb;
    border-radius: 10px;
}
.index-news-img img{
	width:100%;
	height: 100%;
	object-fit: cover; /* 关键：保持比例并裁剪多余部分 */
    object-position: center; /* 可选：图片居中显示 */
}
.index-goods-img{
	height:350px;
	overflow:hidden;
}
.index-goods-img img{
	width: 100%;
    height: 100%; /* 关键：让图片高度填满容器 */
    object-fit: cover; /* 关键：保持比例并裁剪多余部分 */
    object-position: center; /* 可选：图片居中显示 */
}
.index-news-text a{
	text-decoration:none;
	
}
.list_action{
	background:#e3e3e3;
}
.classifya{
	color:#545454;
	text-decoration:none;
}

.list_price{
    text-align: right;
    margin: 2px 8px;
    font-weight: bold;
    color: red;
}

.index-products a{
	min-height:510px;
}
.product-list a{
	min-height:310px;
	display: block;
}
/*
* 页脚
*/
.footer-box{
	background: #545454;
	padding: 20px 0px;
	color:#dfdfdf;
	font-size:14px;
}


/* 产品导航列表内容 */
body { font-family: 'Microsoft YaHei', sans-serif; padding-top: 60px; }
.navbar { height: 60px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.banner {
	overflow: hidden;
	position: relative;
	height: 150px; /* 默认高度 */
	min-height: 150px; /* 保证最小高度 */
}
 
.banner img {
	width: 100%; /* 宽度100%拉满 */
	height: auto; /* 高度自适应 */
	min-height: 150px; /* 窄屏时最小高度 */
	object-fit: cover; /* 保持图片比例，避免变形 */
	display: block;
}

.filter-section { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.product-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-img { height: 180px; object-fit: cover; }
.page-link { color: #6e8efb; }
.page-link.active { background-color: #6e8efb; border-color: #6e8efb; }

#navbarNav{
	background: #fff;
	padding: 5px 50px;
	text-align: right;
}

.list-filter-list h6{
	background: #d2d2d2;
	padding: 9px;
	border-radius: 10px
}
.product-list a{
	text-decoration:none;
}

/* 响应式调整 */
@media (max-width: 768px) {
	.banner { height: 100px; }
	.banner img { min-height: 100px; }
	.filter-section .row > div { margin-bottom: 15px; }
}

/*
产品内容
*/
.product-image {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.price {
	color: #ff6700;
	font-size: 2rem;
	font-weight: bold;
}
.original-price {
	text-decoration: line-through;
	color: #999;
	margin-left: 10px;
}
.btn-taobao {
	background-color: #FF5000;
	color: white;
}
.btn-jd {
	background-color: #E83632;
	color: white;
}
.btn-pdd {
	background-color: #E02E24;
	color: white;
}
.goco{
	cursor:pointer;
}
.product-desc{
	color:#545454;
	font-size:14px;
}