.slideshow {
    height: 750px !important;
    object-fit: cover;
}

/* 产品中心图片完整显示样式 - 确保覆盖所有其他样式 */
.card-img-150 {
	height: auto !important;
	overflow: visible !important;
	padding: 10px !important;
	background: #f8f9fa;
}

.card-img-150 .card-img-top {
	height: auto !important;
	width: 100% !important;
	object-fit: contain !important;
	max-height: 200px !important;
	margin: 0 auto !important;
	display: block !important;
}

.swiper-container {
    height: 750px !important;
}

.swiper-slide {
    height: 750px;
}

.swiper-slide img {
    height: 750px !important;
    object-fit: cover;
}

/* 导航栏优化样式 */

/* 导航菜单样式 */
.navbar-nav {
    margin-right: auto !important;
}

.navbar-nav .nav-item {
    white-space: nowrap; /* 强制导航菜单项单行显示 */
}

.navbar-nav .nav-link {
    white-space: nowrap; /* 强制导航文字单行显示 */
    padding-right: 1.2rem !important;
    padding-left: 1.2rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    white-space: nowrap; /* 强制不换行 */
}

.contact-info i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* 联系信息容器 */
.navbar-collapse > .d-none.d-md-flex.align-items-center {
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* 登录注册信息 */
.navbar-text {
    white-space: nowrap;
}

/* 确保导航栏在中等屏幕及以上显示正常 */
@media (min-width: 768px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        justify-content: flex-start !important;
    }
    
    /* 确保联系信息靠最右侧 */
    .navbar-collapse > .d-none.d-md-flex.align-items-center {
        flex: 0 0 auto;
    }
}

/* 产品中心图片完整显示样式 - 确保覆盖所有其他样式 */
/* 为产品中心添加容器ID以便更精确选择 */
#product-center {
    margin: 0 auto;
}

/* 图片容器样式 */
.card-img-150 {
    height: auto !important;
    overflow: visible !important;
    padding: 10px !important;
    background: #f8f9fa !important;
    min-height: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 图片本身样式 */
.card-img-150 img,
.card-img-150 .card-img-top {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
    max-height: 200px !important;
    margin: 0 auto !important;
    display: block !important;
    border-radius: 0 !important;
}

/* 确保在所有屏幕尺寸下都有效 */
@media (max-width: 1200px), (max-width: 992px), (max-width: 768px), (max-width: 576px) {
    .card-img-150 {
        height: auto !important;
        overflow: visible !important;
    }
    .card-img-150 img {
        height: auto !important;
        object-fit: contain !important;
    }
}

/* 新产品图片容器和图片样式 */
.product-image-container {
    height: auto;
    overflow: visible;
    padding: 10px;
    background: #f8f9fa;
    min-height: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    height: auto;
    width: 100%;
    object-fit: contain;
    max-height: 200px;
    margin: 0 auto;
    display: block;
    border-radius: 0;
}

/* 新产品图片容器和图片样式 */
.product-image-container {
    height: auto;
    overflow: visible;
    padding: 10px;
    background: #f8f9fa;
    min-height: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image {
    height: auto;
    width: 100%;
    object-fit: contain;
    max-height: 200px;
    margin: 0 auto;
    display: block;
    border-radius: 0;
}

/* 最高优先级样式 - 确保产品图片完整显示 */
html body div.container div.row#product-center div.col-12.col-sm-6.col-lg-3 div.card div.product-image-container a img.product-image,
html body div.container div.row div.col-12.col-sm-6.col-lg-3 div.card div.card-img-150 a img.card-img-top {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
    max-height: 200px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* 最高优先级样式 - 确保图片容器不裁剪 */
html body div.container div.row#product-center div.col-12.col-sm-6.col-lg-3 div.card div.product-image-container,
html body div.container div.row div.col-12.col-sm-6.col-lg-3 div.card div.card-img-150 {
    height: auto !important;
    overflow: visible !important;
    padding: 10px !important;
}