﻿.hm_right .zzimg{ width:30%; float:left}

.specs-row { font-size: 1.2rem;}
/* ===== 跑马灯容器 ===== */
#carousel-responsive {
    overflow: hidden;
    width: 100%;
    position: relative;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

@media screen and (min-width: 768px) {
    .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next {
        margin-right: -15px;
        margin-top: -15px;
    }
	.carousel-control .glyphicon-chevron-left, .carousel-control .icon-next {
        margin-left: -15px;
        margin-top: -15px;
    }
}

#CarouselLst {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
    width: max-content;
    /* 禁用默认的滚动行为，让 JS 完全控制 */
    user-select: none;
    -webkit-user-select: none;
}

/* ===== 轮播项 ===== */
#CarouselLst li {
    flex: 0 0 auto;
    width: 160px;
    padding: 2px 6px;
    box-sizing: border-box;
    list-style: none;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 悬停的位移动画 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* 内层 a 用来承载内容，避免影响 li 的 flex 宽度 */
#CarouselLst li > a {
    display: block;
    text-decoration: none;
    background: #ffffff;
    overflow: hidden;
    border-radius: 6px;
}

/* 轮播图片 */
#CarouselLst li a img {
    width: 100%;
    height: 115px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    pointer-events: none; /* 防止拖拽时触发图片原生拖拽 */
    -webkit-user-drag: none;
}

/* 轮播文字 */
#CarouselLst li a span,
#CarouselLst li a sapn {
    display: block;
    padding: 6px 4px;
    font-size: 12px;
    color: #333;
    text-align: center;
    background: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border-top: 1px solid #eef2f6;
}

/* ===== 悬停效果 ===== */
#CarouselLst li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 50, 127, 0.1);
    border-color: #0B327F;
}

#CarouselLst li:hover a span,
#CarouselLst li:hover a sapn {
    color: #0B327F;
}

/* ===== 响应式 ===== */
@media (min-width: 1200px) {
    #CarouselLst li {
        width: 150px;
        padding: 2px 5px;
    }
    #CarouselLst li a img {
        height: 115px;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    #CarouselLst li {
        width: 140px;
        padding: 0 5px;
    }
    #CarouselLst li a img {
        height: 90px;
    }
}

@media (max-width: 768px) {
	.carousel2{height: 108px;padding-top:5px;}
    #CarouselLst li {
        width: 130px;
        padding: 0 4px;
    }
    #CarouselLst li a img {
        height: 85px;
    }
    #CarouselLst li a span,
    #CarouselLst li a sapn {
        padding: 4px 3px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    #CarouselLst li {
        width: 110px;
        padding: 0 3px;
    }
    #CarouselLst li a img {
        height: 75px;
    }
}

/* ===== 控制按钮（如果保留） ===== */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(11, 50, 127, 0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 12px;
}

.carousel-control:hover {
    background: #0B327F;
}

.carousel-control.left {
    left: 5px;
}

.carousel-control.right {
    right: 5px;
}

/* ===== 指示点 ===== */
.carousel-indicators {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 3px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-indicators span.active {
    background: #0B327F;
    width: 16px;
    border-radius: 3px;
}
/* ============================================================
   1. 原有基础样式保留 (关于我们/Banner/底部)
   ============================================================ */
.about1_list li { line-height: 80px }
.about1_company .container .company_txt { font-size: 1.5rem !important; }
.bannerTxt p { width: 90% !important; }
.product_details .details_bottom p { font-size: 1.4rem; }

@media only screen and (max-width: 767px) {
    .footer_contact h4 { font-size: 1.2rem; color: #000; font-weight: bold; line-height: 1.5rem; padding-bottom: 1rem; }
    .about1_title h2 { font-size: 2rem !important; margin: 10px 0; line-height: 3rem; color: #515151 !important; }
    .about1_title p, .company_txt p { text-align: left; font-size: 1.3rem !important; color: #515151 !important; }
	.about1_list li { line-height: 1.5rem; }
}

.product_left h1 { font-size: 1.5rem; line-height: 3rem; }

/* ============================================================
   2. 产品详情页核心排版 (适配 Python V13.0 逻辑)
   ============================================================ */

/* 段落与普通文字：全面适配 p 和 section 以外的容器 */
.details_bottom p,
.details_bottom div:not(.table-wrapper),
.details_bottom section:not(.table-wrapper) {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
    word-break: break-all;
}

/* 强力标题美化：适配 Python 粉碎套娃后的单层 strong */
.details_bottom strong, 
.details_bottom b {
    display: table; /* 使用 table 布局确保装饰条高度与文字对齐，不受外移 BR 影响 */
    font-size: 1.6rem;
    color: #000;
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    border-left: 5px solid #23439f; /* 工业蓝装饰条 */
    padding-left: 12px;
    line-height: 1.2;
}

/* ============================================================
   3. 表格响应式包装 (适配 <section class="table-wrapper">)
   ============================================================ */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
    /* 关键修改：已移除外层 border */
    border: none !important; 
}

.table-wrapper table {
    display: table !important;
    width: auto !important;     /* 允许表格根据内容收缩 */
    max-width: 100% !important; /* 不超出屏幕 */
    min-width: 600px;           /* 保证数据不挤压 */
    margin: 0 auto 0 0 !important; /* 靠左对齐，符合阅读习惯 */
    border-collapse: collapse !important;
    table-layout: auto !important;
    /* 确保表格主体边框坚固 */
    border: 1px solid #333 !important; 
}

/* 单元格样式 */
.table-wrapper th,
.table-wrapper td {
    border: 1px solid #333 !important; /* 内部黑色细边框线 */
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.5;
}

/* 表头：Python 自动生成的 th 变色 */
.table-wrapper th {
    background-color: #23439f !important;
    color: #ffffff !important;
    font-weight: bold;
}


/* 滚动条美化 */
.table-wrapper::-webkit-scrollbar { height: 8px; }
.table-wrapper::-webkit-scrollbar-track { background: #f1f1f1; }
.table-wrapper::-webkit-scrollbar-thumb { background: #23439f; border-radius: 4px; }

/* ============================================================
   4. 移动端终极适配
   ============================================================ */
@media only screen and (max-width: 767px) {
    .details_bottom p {
        font-size: 1.3rem !important;
        line-height: 1.6;
    }
    
    .details_bottom strong, 
    .details_bottom b {
        font-size: 1.5rem !important;
        margin-top: 15px;
    }

    .table-wrapper {
        margin: 15px 0;
    }
    
    .table-wrapper table {
        min-width: 500px; /* 手机端最小宽度微调 */
    }

    .table-wrapper td,
    .table-wrapper th {
        padding: 8px 10px !important;
        font-size: 12px;
    }
	.specs-row { font-size: 1rem;}
}


