/* ===== MUSEN 响应式样式表 ===== */

/* 基础重置 */
body {
    margin: 0;
    padding: 0;
    background-color: #F2F2F2;
    background-repeat: repeat-y;
    background-position: center top;
    font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
div, ul, li, p, h3 { padding: 0; margin: 0; list-style: none; }

/* 自定义容器最大宽度 1400px */
.uk-container {
    max-width: 1400px;
}

.clear { clear: both; }
.clearboth { clear: both; }
img { border: 0; max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ===== 页头 ===== */
.b_wrap { background: #fff; }
.b_wrap_b { background: #323433; }

.b-header {
    background: #fff !important;
    border-bottom: 1px solid #eee;
}
.b-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    padding: 0 15px;
}
.b-header .uk-logo {
    color: #1f3682;
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.b-main-menu li a {
    color: #333;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 15px;
    padding: 0 20px;
    line-height: 68px;
    height: 68px;
}
.b-main-menu li a:hover,
.b-main-menu li.uk-active a {
    color: #1f3682;
}
.b-lang a {
    font-size: 13px;
    color: #333;
}
.b-lang a:hover { color: #1f3682; }
.b-menu-toggle { display: none; }

/* ===== 页脚 ===== */
.b-footer {
    color: #fff;
    padding: 30px 15px;
}
.b-footer h3 {
    height: 50px;
    line-height: 50px;
    font-size: 20px;
}
.b-footer ul li {
    line-height: 30px;
    font-size: 14px;
    opacity: 0.9;
}
.b-footer-beian {
    color: #fff !important;
    font-size: 12px !important;
    opacity: 0.7;
}
.b-footer-beian:hover { opacity: 1; }

/* ===== 首页主图 ===== */
.ipimg {
    width: 100%;
    overflow: hidden;
}
.ipimg img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== 首页三栏图片区 ===== */
.index_pic1 {
    padding: 20px 0;
    background: #fff;
}
.index_pic1-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.index-pic-box {
    position: relative;
    overflow: hidden;
    display: block;
}
.index-pic-box img {
    width: 100%;
    height: auto;
    display: block;
}
.index-pic-box a {
    display: block;
    position: relative;
}
#pic1 img, #pic2 img, #right img { width: 100%; }

.hv {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}

/* ===== 首页产品网格 ===== */
.index_pro {
    padding: 20px 0 40px;
    background: #F2F2F2;
}
.index-pro-item {
    display: block;
    overflow: hidden;
    background: #000;
    position: relative;
}
.index-pro-item img {
    width: 100%;
    display: block;
    transition: opacity 0.8s ease;
}
.index-pro-item:hover img {
    opacity: 0.5;
    filter: alpha(opacity=50);
}

/* ===== 列表页Banner ===== */
.listbanner {
    height: 300px;
    background-image: url(../images/about1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ===== 产品分类菜单 ===== */
.pro_menu {
    padding: 40px 0;
}
.pro_menu_grid { text-align: center; }
.pro_menu_grid li {
    position: relative;
    padding: 10px 0;
}
.pro_menu_grid li a {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    color: #333;
    text-align: center;
}
.pro_menu_grid li a:hover,
.pro_menu_grid li.cur a {
    color: #1f3684;
    font-weight: bold;
}
.pro_menu_grid li a img {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 8px;
}
.pro_menu_grid li a span {
    display: block;
    line-height: 18px;
}
.pro_menu_grid li > a:after {
    content: '';
    width: 20px;
    height: 2px;
    position: absolute;
    background: transparent;
    left: 50%;
    margin-left: -10px;
    bottom: 0;
    transition: all 0.3s;
}
.pro_menu_grid li:hover > a:after,
.pro_menu_grid li.cur > a:after {
    background: #1f3684;
}

/* ===== 产品列表 ===== */
.prolist {
    padding-bottom: 30px;
}
.prolist-item {
    background: #fff;
    margin-bottom: 15px;
    overflow: hidden;
}
.prolist-item a {
    display: block;
    overflow: hidden;
}
.prolist-item img {
    width: 100%;
    height: auto;
    display: block;
}
.prolist-item .txt {
    margin-bottom: 10px;
    text-align: center;
}
.prolist-item .txt a {
    display: inline-block;
    width: 100px;
    height: 30px;
    line-height: 30px;
    background: #1f3684;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}
.prolist-item .txt a:hover {
    background: #15295e;
}

/* ===== 页面内容区 ===== */
.pagecontent {
    padding: 30px 0;
    background: #fff;
    min-height: 300px;
}
.pagecontent h3 {
    font-size: 36px;
    text-transform: capitalize;
    margin-bottom: 20px;
    color: #333;
}

/* ===== 搜索结果 ===== */
#searchlist { padding: 20px 0; }
#searchlist ul li a {
    font-size: 16px;
    color: #1f3684;
    font-weight: bold;
}
#searchlist ul li a:hover { text-decoration: underline; }
.search-desc { font-size: 13px; color: #999; line-height: 20px; padding-top: 6px; }
.search-date { font-size: 12px; color: #bbb; padding-top: 4px; }

/* ===== 消息提示 ===== */
.diymsg {
    padding: 80px 15px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    min-height: 200px;
}
.diymsg a { color: #1f3684; }
.diymsg a:hover { text-decoration: underline; }

/* ===== 分页 ===== */
.diypage {
    margin: 40px 0 20px 0;
    text-align: center;
    padding: 5px;
}
.diypage ul li { display: inline; }
.diypage ul li a {
    display: inline-block;
    background-color: #fff;
    border-radius: 3px;
    font-size: 14px;
    margin-left: 5px;
    text-decoration: none;
    height: 32px;
    line-height: 32px;
    border: 1px solid #e3e3e3;
    padding: 0 8px;
    color: #333;
}
.diypage ul li a:hover {
    background-color: #333;
    color: #FFF;
}
.diypage ul li.active a {
    background-color: #333;
    border-radius: 3px;
    color: #fff;
    border: 1px solid #333;
}
.diypage ul li.disabled a {
    border: 1px solid #eee;
    color: #ddd;
}

/* ===== 产品详情页 ===== */
#sdWrap {
    padding: 50px 0 60px;
    background: #fff;
}
#sdLeft {
    position: relative;
}
#sdRight {
    padding-top: 20px;
}

/* 滑块容器：与 slider 同宽并居中，箭头相对它定位 */
.sd-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

#sdSlider {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: #f8f8f8;
    border: 1px solid #eee;
}
#sdSlider .sd-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}
#sdSlider .sd-slide.on {
    opacity: 1;
    z-index: 2;
}
#sdSlider .sd-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#sdThumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin: 16px auto 0;
    padding: 0 4px;
    list-style: none;
    max-width: 600px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}
/* 隐藏滚动条 */
#sdThumbs::-webkit-scrollbar { display: none; }
#sdThumbs { scrollbar-width: none; -ms-overflow-style: none; }
#sdThumbs li {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border-radius: 4px;
}
#sdThumbs li:hover {
    border-color: #999;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
#sdThumbs li.on {
    border-color: #1f3684;
    box-shadow: 0 0 0 2px rgba(31,54,132,.2);
}
#sdThumbs li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,.85);
    color: #333;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.sd-arrow:hover {
    background: #fff;
    border-color: #bbb;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.sd-prev { left: 15px; }
.sd-next { right: 15px; }

.sd-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,.55);
    color: #fff;
    padding: 5px 14px;
    font-size: 13px;
    border-radius: 20px;
    z-index: 10;
    letter-spacing: 1px;
}

.sd-title {
    font-size: 26px;
    color: #222;
    margin: 0 0 16px 0;
    font-weight: 600;
    line-height: 1.4;
}
.sd-divider {
    width: 50px;
    height: 3px;
    background: #1f3684;
    margin: 0 0 24px 0;
    border-radius: 2px;
}
.sd-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 32px;
}
.sd-fields {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border: 1px solid #eee;
    border-radius: 6px;
    overflow: hidden;
}
.sd-fields td {
    padding: 14px 18px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
}
.sd-fields tr:last-child td { border-bottom: none; }
.sd-fields td:first-child {
    background: #fafbfc;
    color: #888;
    width: 130px;
    font-weight: 500;
}
.sd-fields td:last-child { color: #333; }

/* ===== 产品详情内容大图 ===== */
.b_content {
    padding: 20px 0 40px;
    text-align: center;
    background: #fff;
}
.b_content img {

    max-width: 100%;
    margin-bottom: 10px;
    border-radius: 4px;

}

/* ===== 表单页 ===== */
.form-post-wrap {
    padding: 30px 15px;
    background: #fff;
    min-height: 300px;
}

/* ===== 响应式：平板 (max-width: 960px) ===== */
@media (max-width: 960px) {
    .b-main-menu { display: none; }
    .b-lang { display: none; }
    .b-menu-toggle { display: flex; }

    .pagecontent h3 { font-size: 28px; }
    .sd-title { font-size: 22px; }
}

/* ===== 响应式：手机 (max-width: 640px) ===== */
@media (max-width: 640px) {
    .b-header-inner { min-height: 56px; padding: 0 12px; }
    .b-header .uk-logo { font-size: 22px; }

    .listbanner { height: 200px; }

    .index-pic-box img { width: 100%; }

    .pro_menu { padding: 20px 0; }

    .pagecontent h3 { font-size: 22px; }
    .sd-title { font-size: 20px; }
    .sd-desc { font-size: 14px; }

    #sdThumbs li { width: 60px; height: 60px; }

    .sd-arrow {
        width: 36px;
        height: 36px;
    }

    .diymsg { padding: 40px 15px; font-size: 14px; }

    .b-footer { padding: 20px 15px; }
    .b-footer h3 { font-size: 18px; }
}

/* ===== 响应式：小手机 (max-width: 400px) ===== */
@media (max-width: 400px) {
    .b-header .uk-logo { font-size: 18px; letter-spacing: 1px; }
    .listbanner { height: 150px; }
    #sdThumbs li { width: 50px; height: 50px; }
}
