/* 站点补充样式（在原站 style.css 之后加载，只作用于新增/改造过的区块） */

/* ---------- 联系我们：信息表 ---------- */
.contact-info {
    padding: 0 10px;
}
.contact-info .ci-name {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.contact-info .ci-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}
.contact-info .ci-list li {
    display: flex;
    align-items: flex-start;
    line-height: 32px;
    font-size: 14px;
}
.contact-info .ci-label {
    flex: 0 0 96px;
    width: 96px;
    color: #999;
}
.contact-info .ci-value {
    flex: 1;
    color: #333;
}
.contact-info .ci-value a {
    color: #1a6daf;
    text-decoration: none;
}
.contact-info .ci-value a:hover {
    text-decoration: underline;
}
.contact-info .ci-map {
    margin: 18px 0 0;
    text-align: center;
}
.contact-info .ci-map img {
    display: block;
    width: 100%;
    max-width: 660px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}
.contact-info .ci-map-tip {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    line-height: 20px;
}

/* ---------- 联系我们：在线留言 ---------- */
.contact-form {
    margin: 24px 10px 0;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}
.contact-form h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 30px;
}
.contact-form .form-tip {
    margin: 6px 0 14px;
    font-size: 12px;
    color: #999;
    line-height: 20px;
}
.contact-form .form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}
.contact-form .form-row label {
    flex: 0 0 88px;
    width: 88px;
    font-size: 14px;
    color: #666;
    line-height: 34px;
}
.contact-form .form-row label em {
    color: #ee1d24;
    font-style: normal;
    margin-left: 2px;
}
.contact-form .form-row input[type="text"] {
    flex: 1;
    height: 34px;
    line-height: 32px;
    padding: 0 10px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    color: #333;
    font-family: inherit;
    box-sizing: border-box;
}
.contact-form .form-row textarea {
    flex: 1;
    height: 120px;
    padding: 8px 10px;
    border: 1px solid #dcdcdc;
    border-radius: 3px;
    background: #fff;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}
.contact-form .form-row input:focus,
.contact-form .form-row textarea:focus {
    border-color: #ee1d24;
    outline: none;
}
.contact-form .form-row .btn-submit {
    height: 34px;
    padding: 0 28px;
    border: 0;
    border-radius: 3px;
    background: #ee1d24;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}
.contact-form .form-row .btn-submit:hover {
    background: #cf181f;
}
.contact-form .alert {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 20px;
}
.contact-form .alert.success {
    background: #f0f9eb;
    border: 1px solid #d7edc4;
    color: #3d8b1f;
}
.contact-form .alert.error {
    background: #fef0f0;
    border: 1px solid #f7d2d2;
    color: #c32222;
}

/* 文章正文里的图片，避免超出内容区 */
.page-right .box .content .detail img {
    max-width: 100%;
    height: auto;
}

/* ---------- 移动端适配（保留原站版式，窄屏自动收拢） ---------- */
@media (max-width: 1024px) {
    .fw {
        width: 100%;
        max-width: 980px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    #header .logo {
        width: 320px;
    }
    #header .logo h1 a {
        width: 320px;
        background-size: contain;
        background-repeat: no-repeat;
    }
    #nav {
        overflow-x: auto;
    }
    #nav .fw {
        min-width: 720px;
    }
    .page-left,
    .page-right {
        float: none;
        width: 100%;
    }
    .page-left {
        margin-bottom: 20px;
    }
    .copyright {
        width: 100%;
    }
    #footer .fw > div:last-child {
        display: none;
    }
}
@media (max-width: 640px) {
    #header .logo {
        width: 220px;
    }
    #header .logo h1 a {
        width: 220px;
    }
    .search {
        width: 160px;
    }
    .search .sbox {
        width: 110px;
    }
    .page-right .product-list li {
        width: 100%;
    }
    .contact-form .form-row {
        flex-wrap: wrap;
    }
    .contact-form .form-row label {
        flex: 0 0 100%;
        width: 100%;
    }
}

/* ---------- 产品中心：图片放大一倍（100px -> 200px），上图下文 ---------- */
.page-right .product-list li {
    width: 320px;
    height: auto;
    overflow: visible;
    margin: 4px 10px 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}
.page-right .product-list li .thumb {
    float: none;
    width: 100%;
    height: auto;
    text-align: center;
}
.page-right .product-list li .thumb a {
    display: inline-block;
}
.page-right .product-list li .thumb img {
    display: block;
    width: 200px;
    height: auto;
    max-width: 200px;
    margin: 0 auto;
    padding: 4px;
    border: 1px solid #eee;
    border-radius: 3px;
    background: #fff;
}
.page-right .product-list li .intro {
    float: none;
    width: 100%;
    height: auto;
    margin-top: 6px;
    text-align: center;
}
.page-right .product-list li .intro h5 {
    margin: 0 0 6px;
    font-size: 14px;
}
.page-right .product-list li .intro h5 a {
    color: #333;
    text-decoration: none;
}
.page-right .product-list li .intro h5 a:hover {
    color: #ee1d24;
}
.page-right .product-list li .intro p {
    height: 18px;
    overflow: hidden;
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: #777;
    white-space: nowrap;
    text-overflow: ellipsis;
}
