@charset "UTF-8";

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    background-color: #f4f4f4 !important;
    color: #3e3d3d;
    font-size: 14px;
    line-height: 1.6;
}
ul, li { list-style: none; }
a { color: #3e3d3d; text-decoration: none; }
a:hover { color: #0d5286; text-decoration: none; }
.clearfix::after { content: ""; display: block; clear: both; }
.fl { float: left; }
.fr { float: right; }

/* ===== 顶部栏 ===== */
.bartop {
    background-color: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    height: 32px;
    line-height: 32px;
    width: 100%;
    font-size: 12px;
    color: #585858;
    position: relative;
    z-index: 102;
}
.bartop .barcenter {
    width: 1200px;
    margin: 0 auto;
}
.bartop .barleft { float: left; width: 600px; text-align: left; }
.bartop .barright { float: right; width: 400px; text-align: right; }
.bartop a { color: #585858; }
.bartop a:hover { text-decoration: none; color: #0d5286; }

/* ===== Logo 搜索区域 ===== */
.outside-box { width: 100%; overflow: hidden; background: #fff; position: relative; z-index: 101; }
.inside-box { width: 1200px; margin: 0 auto; }
.ls-box { margin-top: 20px; margin-bottom: 20px; }
.ls-box .logo {
    display: block;
    margin-top: 15px;
    float: left;
}
.ls-box .logo img { max-height: 60px; }
.ls-box .search {
    margin-left: 44px;
    margin-top: 34px;
    width: 35%;
    float: left;
}
.ls-box .search form { position: relative; }
.ls-box .search form input[type="text"] {
    float: left;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border: 2px solid #0d5286;
    border-right: none;
    padding: 0 15px;
    font-size: 14px;
    color: #9d9d9d;
    outline: none;
}
.ls-box .search form button {
    position: absolute;
    right: 0;
    top: 0;
    width: 80px;
    height: 40px;
    background: #0d5286;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.ls-box .search form button:hover { background: #09416a; }

.top-logo-phonebox {
    float: right;
    margin-top: 28px;
}
.top-logo-phonebox img { float: left; margin-top: 8px; }
.top-logo-phonebox div { float: right; margin-left: 10px; }
.top-logo-phonebox i {
    font-style: normal;
    font-size: 12px;
    color: #666;
}
.top-logo-phonebox p {
    font-size: 22px;
    color: #0d5286;
    font-weight: bold;
    line-height: 1.2;
}
.top-logo-phonebox a.post-btn {
    padding: 0 20px !important;
    border: none;
    background: #0d5286;
    display: inline-block;
    height: 38px;
    line-height: 38px;
    color: #fff;
    font-size: 14px;
    margin-left: 20px;
}
.top-logo-phonebox a.post-btn:hover { background: #09416a; }

/* ===== 导航栏 ===== */
.navs-box {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #0d5286;
    position: relative;
    z-index: 100;
}
.navs {
    width: 1200px;
    margin: 0 auto;
    height: 44px;
    line-height: 44px;
}
.navs li { float: left; }
.navs li a {
    float: left;
    display: block;
    padding: 0 25px;
    height: 44px;
    color: #3d3d3d;
    font-weight: 700;
    font-size: 16px;
    line-height: 44px;
}
.navs li a:hover,
.navs li a.active {
    background: #0d5286;
    color: #fff;
    text-decoration: none;
}

/* ===== 轮播图 ===== */
.ban-box { 
    width: 100%; 
    overflow: hidden; 
    display: flex;
    justify-content: center;
}
.ban-box .fullSlide {
    position: relative;
    height: 400px;
    background: #000;
    overflow: hidden;
    width: 1200px; /* 与正文部分宽度一致 */
    margin: 0 auto;
}
.ban-box .fullSlide .bd {
    width: 100%;
    overflow: hidden;
}
.ban-box .fullSlide .bd ul {
    width: 200%;
    transition: transform 0.5s ease;
    display: flex;
}
.ban-box .fullSlide .bd li {
    width: 50%;
    height: 400px;
    overflow: hidden;
    text-align: center;
    background-size: cover !important;
    background-position: center center !important;
    flex-shrink: 0;
}
.ban-box .fullSlide .bd li a { display: block; height: 400px; }
.ban-box .fullSlide .hd {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.ban-box .fullSlide .hd .dots {
    display: flex;
    gap: 10px;
}
.ban-box .fullSlide .hd .dots li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}
.ban-box .fullSlide .hd .dots li.active,
.ban-box .fullSlide .hd .dots li:hover {
    background: #fff;
}

/* ===== 品类专区 ===== */
.product-wrap {
    width: 1200px;
    margin: 30px auto;
}
.product-wrap .t {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid #0d5286;
}
.product-wrap .t span {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}
.product-wrap .dl {
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
}
.product-wrap .dt {
    float: left;
    width: 180px;
    height: 260px;
    background: #f8f8f8;
    text-align: center;
    padding-top: 40px;
}
.product-wrap .dt .n {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #0d5286;
}
.product-wrap .dt .icon {
    width: 60px;
    height: 60px;
    margin: 20px auto;
    background: #0d5286;
    border-radius: 50%;
}
.product-wrap .dd {
    margin-left: 180px;
    padding: 15px;
}
.product-wrap .dd .item {
    float: left;
    width: 220px;
    margin-right: 15px;
    margin-bottom: 15px;
    display: block;
}
.product-wrap .dd .item .img {
    width: 220px;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
    margin-bottom: 8px;
}
.product-wrap .dd .item .n {
    font-size: 14px;
    color: #333;
    height: 40px;
    overflow: hidden;
    line-height: 20px;
    margin-bottom: 5px;
}
.product-wrap .dd .item .c {
    font-size: 12px;
    color: #999;
}
.product-wrap .dd .item:hover .n { color: #0d5286; }

/* ===== 热门推荐 ===== */
.supplys-wrap {
    width: 1200px;
    margin: 30px auto;
}
.supplys-wrap .t {
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 2px solid #0d5286;
    padding-bottom: 10px;
}
.supplys-wrap .t .l {
    float: left;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}
.supplys-wrap .t .l span {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}
.supplys-wrap .t .r {
    float: right;
    font-size: 14px;
    color: #999;
    line-height: 36px;
}
.supplys-wrap .list .item {
    float: left;
    width: 280px;
    margin-right: 20px;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 10px;
    display: block;
}
.supplys-wrap .list .item .img {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
    margin-bottom: 10px;
}
.supplys-wrap .list .item .n {
    font-size: 14px;
    color: #333;
    height: 40px;
    overflow: hidden;
    line-height: 20px;
    margin-bottom: 5px;
}
.supplys-wrap .list .item .a {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}
.supplys-wrap .list .item .btn {
    display: block;
    width: 100%;
    height: 36px;
    line-height: 36px;
    background: #0d5286;
    color: #fff;
    text-align: center;
    font-size: 14px;
}
.supplys-wrap .list .item:hover { border-color: #0d5286; }
.supplys-wrap .list .item:hover .btn { background: #09416a; }

/* ===== 供应信息 ===== */
.info-section {
    width: 1200px;
    margin: 30px auto;
    overflow: hidden;
}
.info-section .left {
    float: left;
    width: 860px;
}
.info-section .right {
    float: right;
    width: 310px;
}
.info-section .sec-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0d5286;
}
.info-section .sec-title small {
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}
.info-list {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 15px;
}
.info-list .info-item {
    padding: 10px 0;
    border-bottom: 1px dashed #e8e8e8;
    overflow: hidden;
}
.info-list .info-item:last-child { border-bottom: none; }
.info-list .info-item a {
    float: left;
    color: #333;
    font-size: 14px;
    width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.info-list .info-item a:hover { color: #0d5286; }
.info-list .info-item .arrow {
    float: right;
    color: #0d5286;
    font-size: 12px;
}

/* ===== 企业名录 ===== */
.company-list {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 15px;
}
.company-list .comp-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.company-list .comp-item:last-child { border-bottom: none; }
.company-list .comp-item h4 {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}
.company-list .comp-item h4 a:hover { color: #0d5286; }
.company-list .comp-item p {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
.company-list .more-btn {
    display: block;
    width: 100%;
    height: 36px;
    line-height: 36px;
    background: #f8f8f8;
    color: #0d5286;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    border: 1px solid #e8e8e8;
}
.company-list .more-btn:hover { background: #0d5286; color: #fff; }

/* ===== 底部 ===== */
.footer-box {
    width: 100%;
    background-color: #f4f4f4;
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid #e8e8e8;
}
.footer-box .foot-inner {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.footer-box .foot-box {
    float: left;
    width: 280px;
    margin-right: 20px;
}
.footer-box .foot-box .hd {
    font-size: 16px;
    line-height: 36px;
    color: #000;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-box .foot-box .bd li,
.footer-box .foot-box .bd p {
    line-height: 26px;
    color: #666;
    font-size: 14px;
}
.footer-box .foot-box .bd a { color: #666; }
.footer-box .foot-box .bd a:hover { color: #0d5286; }
.footer-powered {
    width: 100%;
    background-color: #2b2d2e;
    text-align: center;
    padding: 20px 0;
    color: #999;
    font-size: 12px;
}
.footer-powered a { color: #999; }
.footer-powered a:hover { color: #fff; }

/* ===== 分页 ===== */
.pagination { text-align: center; margin-top: 20px; }
.pagination a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #333;
    font-size: 14px;
}
.pagination a:hover,
.pagination a.active {
    background: #0d5286;
    color: #fff;
    border-color: #0d5286;
}
.pagination a.disabled {
    color: #999;
    background: #f4f4f4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== 面包屑 ===== */
.breadcrumb-box {
    width: 1200px;
    margin: 15px auto;
    font-size: 14px;
    color: #666;
}
.breadcrumb-box a { color: #0d5286; }

/* ===== 详情页 ===== */
.detail-page {
    width: 1200px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 30px;
}
.detail-page h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.detail-page .meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}
.detail-page .content {
    line-height: 1.8;
    color: #444;
    font-size: 14px;
}

/* ===== 登录注册 ===== */
.auth-box {
    width: 420px;
    margin: 60px auto;
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 30px;
}
.auth-box h3 {
    text-align: center;
    font-size: 20px;
    color: #0d5286;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0d5286;
}
.auth-box .form-group {
    margin-bottom: 15px;
}
.auth-box label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}
.auth-box input[type="text"],
.auth-box input[type="password"] {
    width: 100%;
    height: 40px;
    border: 1px solid #e8e8e8;
    padding: 0 10px;
    font-size: 14px;
}
.auth-box .btn-submit {
    width: 100%;
    height: 44px;
    background: #0d5286;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}
.auth-box .btn-submit:hover { background: #09416a; }

/* ===== 搜索页 ===== */
.search-box {
    width: 1200px;
    margin: 20px auto;
}
.search-result {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 20px;
}
.search-result .item {
    padding: 15px 0;
    border-bottom: 1px dashed #e8e8e8;
}
.search-result .item:last-child { border-bottom: none; }
.search-result .item h4 a { color: #0d5286; font-size: 16px; }
.search-result .item h4 a:hover { text-decoration: underline; }
.search-result .item .meta { color: #999; font-size: 12px; margin: 5px 0; }
.search-result .item .summary { color: #666; font-size: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .inside-box, .product-wrap, .supplys-wrap, .info-section, .footer-box .foot-inner, .search-box, .detail-page, .breadcrumb-box {
        width: 100%;
        padding: 0 15px;
    }
    .bartop .barcenter { width: 100%; padding: 0 15px; }
    .navs { width: 100%; }
    .navs li a { padding: 0 15px; font-size: 14px; }
    .product-wrap .dt { width: 100%; height: auto; padding: 15px; }
    .product-wrap .dd { margin-left: 0; }
    .product-wrap .dd .item { width: 48%; margin-right: 2%; }
    .supplys-wrap .list .item { width: 48%; margin-right: 2%; }
    .info-section .left, .info-section .right { width: 100%; float: none; margin-bottom: 20px; }
    .footer-box .foot-box { width: 100%; margin-right: 0; margin-bottom: 20px; }
    .ls-box .logo, .ls-box .search, .top-logo-phonebox { float: none; width: 100%; margin: 10px 0; text-align: center; }
    .ls-box .search { width: 100%; }
}
