/* =================================
   产品页面专用样式
   ================================= */

/* 单篇文章和产品详情样式 */
.single-post {
	margin-bottom: 40px;
}

.entry-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.entry-title {
	color: #333;
	margin-bottom: 15px;
}

.entry-meta {
	color: #999;
	font-size: 14px;
}

.entry-meta span {
	margin-right: 20px;
}

.entry-meta i {
	margin-right: 5px;
}

.entry-thumbnail {
	margin-bottom: 30px;
	text-align: center;
}

.entry-content {
	line-height: 1.8;
	margin-bottom: 30px;
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

.page-links {
	margin: 20px 0;
	text-align: center;
}

.product-meta {
	margin: 40px 0;
}

.product-gallery {
	margin: 30px 0;
}

.product-flex ul {
	display: block;
}

.product-flex ul li {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.product-specifications {
	margin: 30px 0;
	padding: 20px;
	background-color: #f8f9fa;
	border-left: 4px solid #d83127;
}

.post-navigation {
	margin: 40px 0;
	padding: 20px 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

.post-navigation a {
	color: #333;
	text-decoration: none;
	padding: 10px 15px;
	display: inline-block;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.post-navigation a:hover {
	background-color: #f8f9fa;
	color: #d83127;
}

.related-posts {
	margin: 40px 0;
}

.related-posts h3 {
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #d83127;
}

.related-item {
	margin-bottom: 20px;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
}

.related-thumbnail img {
	width: 100%;
	height: 150px;
	object-fit: cover;
}

.related-content {
	padding: 15px;
}

.related-content h4 {
	margin: 0 0 10px 0;
	font-size: 16px;
}

.related-content h4 a {
	color: #333;
	text-decoration: none;
}

.related-content h4 a:hover {
	color: #d83127;
}

.related-content p {
	color: #666;
	font-size: 14px;
	margin-bottom: 10px;
}

.btn-primary {
	background-color: #d83127;
	border-color: #d83127;
}

.btn-primary:hover {
	background-color: #c72e1f;
	border-color: #c72e1f;
}

/* 响应式调整 */
@media (max-width: 767px) {
	.entry-meta span {
		display: block;
		margin-bottom: 5px;
		margin-right: 0;
	}
	
	.post-navigation .col-md-6:last-child {
		text-align: left !important;
		margin-top: 10px;
	}
	
	.mobile-photos .play,
	.mobile-photos .img_hd {
		width: 100%;
		float: none;
	}
	
	.mobile-photos .img_hd ul {
		flex-direction: row;
		justify-content: space-around;
	}
	
	.mobile-photos .img_hd ul li {
		width: 20%;
		margin-bottom: 0;
	}
}

/* 产品详情页面 */
.product-single {
    margin-bottom: 30px;
}

.product-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.product-title {
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.product-meta {
    color: #666;
    font-size: 14px;
}

.product-meta span {
    margin-right: 20px;
}

.product-meta i {
    margin-right: 5px;
}

.product-meta a {
    color: #d83127;
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.product-featured-image {
    text-align: center;
    margin-bottom: 30px;
}

.product-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-specifications {
    margin-bottom: 30px;
}

.product-specifications h3 {
    color: #333;
    margin-bottom: 15px;
    border-left: 4px solid #d83127;
    padding-left: 10px;
}

.product-navigation {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin: 30px 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-previous a,
.nav-next a {
    color: #d83127;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #d83127;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    background-color: #d83127;
    color: #fff;
}

.related-products {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.related-products h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.related-product-item {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.related-product-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.related-product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.related-product-item h4 {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.related-product-item a {
    text-decoration: none;
}

.related-product-item a:hover h4 {
    color: #d83127;
}

.no-product {
    text-align: center;
    padding: 60px 0;
}

.no-product h2 {
    color: #d83127;
    margin-bottom: 20px;
}

/* 产品分类页面 */
.category-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.category-title {
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.category-title i {
    color: #d83127;
    margin-right: 10px;
}

.category-description {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #d83127;
    margin: 15px 0;
    border-radius: 3px;
}

.category-meta {
    color: #666;
    font-size: 14px;
}

.category-meta i {
    margin-right: 5px;
}

.products-grid {
    margin-bottom: 30px;
}

.product-item {
    margin-bottom: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #d83127;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    margin-bottom: 10px;
    font-size: 18px;
}

.product-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #d83127;
}

.product-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-actions {
    margin-top: auto;
}

.btn {
    padding: 8px 16px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #d83127;
    color: #fff;
}

.btn-primary:hover {
    background-color: #c02920;
    color: #fff;
    text-decoration: none;
}

.no-products {
    text-align: center;
    padding: 60px 0;
}

.no-products h3 {
    color: #d83127;
    margin-bottom: 20px;
}

.other-categories {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.other-categories h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.category-link {
    text-align: center;
    margin-bottom: 15px;
}

.category-link a {
    display: block;
    padding: 15px 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.category-link a:hover {
    background-color: #f8f9fa;
    border-color: #d83127;
    color: #d83127;
    text-decoration: none;
}

.category-link i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.category-link span {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
}

.category-link small {
    color: #999;
}

/* 产品归档页面 */
.archive-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.archive-title {
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.archive-title i {
    color: #d83127;
    margin-right: 10px;
}

.archive-description {
    color: #666;
    margin-bottom: 20px;
}

.archive-meta {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.product-stats {
    margin-bottom: 15px;
}

.total-products {
    color: #666;
    font-size: 14px;
}

.total-products i {
    color: #d83127;
    margin-right: 5px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.filter-label {
    color: #333;
    font-weight: bold;
    margin-right: 10px;
}

.category-btn {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: #d83127;
    border-color: #d83127;
    color: #fff;
    text-decoration: none;
}

.category-btn .count {
    font-size: 12px;
    opacity: 0.8;
}

.products-archive {
    margin-bottom: 30px;
}

.no-products-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

/* 移动端图片展示 */
.mobile-photos .play{width:100%;text-align:center;position:relative;overflow:hidden;}
.mobile-photos .play .change_a{width:50%;height:100%;position:absolute;top:0;z-index:1;cursor:pointer;display:block;overflow:hidden;background:url(about:blank)}
.mobile-photos .play .change_a span{font-size:2em;width:44px;height:43px;display:block;position:absolute;top:50%;margin-top:-21px;display:none}
.mobile-photos .play .prev_a{left:0}
.mobile-photos .play .next_a{right:0}
.mobile-photos .play .img_ul{position:relative;z-index:1}
.play a span i{color:#fff;text-shadow:1px 1px 12px #000}
.mobile-photos .img_hd{width:100%;padding:2px 0;margin-top:15px;margin:0 auto;}
.mobile-photos .img_hd ul{width:100%;z-index:1;display:flex;justify-content:space-around}
.mobile-photos .img_hd ul li{border:1px solid #eee;cursor:pointer;margin:0 3px;overflow:hidden;width:25%;padding:1px;text-align:center}
.mobile-photos .img_hd ul li a{display:block;}
.mobile-photos .img_hd ul li.on{border-color:#2d96e9}
@media (min-width: 768px){
	.mobile-photos .play{
		width: 60%;
	}
	.mobile-photos .img_hd{
		width: 40%;
	}
	.mobile-photos .play,
	.mobile-photos .img_hd{
		float: left;
	}
	.mobile-photos .img_hd ul{
		flex-direction: column;
	}
	.mobile-photos .img_hd ul li{
		width: 100%;
		margin-bottom: 10px;
	}
}

/* 产品特性展示 */
.product-flex{
	margin: 30px 0;
}

.product-flex h4{
	color: #d83127;
	margin-bottom: 20px;
}

.product-flex ul{
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
}

.product-flex ul li {
	flex: 1 1 50%;
	padding: 10px;
	display: flex;
	align-items: center;
}

.product-flex ul li i{
	color: #d83127;
	margin-right: 10px;
	font-size: 18px;
}

@media (min-width: 768px){
	.product-flex ul li i{
		font-size: 24px;
	}
}

/* 产品标题 */
.product-title{
	text-align: center;
	margin: 40px 0;
}

.product-title h3{
	color: #d83127;
	font-size: 28px;
	margin-bottom: 10px;
}

.product-title p{
	color: #666;
	font-size: 16px;
}

/* 产品左侧信息 */
.product-left-info ul li{
	padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.product-left-info ul li i{
	color: #d83127;
	margin-right: 10px;
	width: 20px;
	text-align: center;
}

.product-left-info ul li:last-child{
	border-bottom: none;
}

/* 产品内容标题 */
.product-content >h4{
	color: #d83127;
	margin: 30px 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 2px solid #d83127;
}

/* 移动端隐藏 */
@media (max-width: 768px){.title-Rick{display: none;}}

/* =================================
   产品页面响应式调整
   ================================= */

@media (max-width: 767px) {
    /* 产品详情页 */
    .product-meta span {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-previous {
        margin-bottom: 10px;
    }
    
    .related-product-item {
        margin-bottom: 15px;
    }
    
    /* 产品列表页 */
    .product-image img {
        height: 150px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .category-link {
        margin-bottom: 10px;
    }
    
    /* 产品归档页 */
    .category-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-label {
        margin-bottom: 8px;
    }
    
    .category-btn {
        margin-bottom: 5px;
    }
    
    .product-meta span {
        font-size: 13px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-6 {
        width: 50%;
    }
} 