/* 移动端响应式样式 */
/* Mobile Responsive Styles */

/* 添加viewport meta标签后才能生效 */

/* 平板设备 (768px - 1199px) */
@media screen and (max-width: 1199px) {
    body {
        min-width: 100% !important;
    }
    
    .w {
        width: 95% !important;
        padding: 0 2.5%;
    }
    
    .header {
        padding: 0 15px;
    }
    
    .header .logo {
        width: 150px;
    }
    
    .header .logo img {
        max-width: 100%;
        height: auto;
    }
    
    .nav_ul_big > li > a {
        padding: 0 10px;
        font-size: 14px;
    }
    
    .banner {
        height: 400px;
    }
    
    #full-screen-slider,
    #slides {
        height: 400px;
    }
    
    #pagination {
        top: 370px;
    }
    
    .pdt_cat .main li {
        margin-right: 50px;
    }
    
    .certificate .main a {
        width: 23%;
        margin-right: 2%;
    }
    
    .news li {
        width: 45%;
        margin-right: 5%;
    }
    
    .footer li {
        width: 30%;
    }
    
    #left, #right {
        width: 95% !important;
    }
    
    .products_list li {
        width: 30%;
        margin: 0 1.5% 20px;
    }
    
    .products_list li img {
        width: 100%;
        height: auto;
    }
}

/* 手机设备 (小于768px) */
@media screen and (max-width: 767px) {
    body {
        min-width: 100% !important;
        font-size: 14px;
    }
    
    .w {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    /* 头部导航 */
    .header {
        height: auto;
        min-height: 60px;
        padding: 10px 15px;
        position: relative;
    }
    
    .header .logo {
        width: 120px;
        padding-top: 5px;
    }
    
    .header .logo img {
        max-width: 100%;
        height: auto;
    }
    
    /* 导航菜单 - 移动端样式 */
    .nav {
        width: 100%;
        float: none;
        clear: both;
        background: none;
        padding-right: 0;
    }
    
    .nav_ul_big {
        display: none;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 9999;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    
    .nav_ul_big.show {
        display: block !important;
    }
    
    .nav_ul_big li {
        float: none;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav_ul_big > li > a {
        line-height: 50px;
        padding: 0 15px;
        display: block;
    }
    
    #nav_ul_small {
        position: relative;
        background: #f5f5f5;
        display: none;
    }
    
    #nav_ul_small li {
        margin: 0;
        border-bottom: 1px solid #e5e5e5;
    }
    
    #nav_ul_small li a {
        color: #333;
        padding-left: 30px;
    }
    
    /* 汉堡菜单按钮 */
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 15px;
        top: 15px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10000;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 3px;
        background: #333;
        margin-bottom: 5px;
        border-radius: 2px;
        transition: all 0.3s;
    }
    
    /* Banner */
    .banner {
        height: 200px;
        margin-top: 60px;
    }
    
    #full-screen-slider,
    #slides {
        height: 200px;
    }
    
    #slides li {
        background-size: cover !important;
    }
    
    #pagination {
        top: 180px;
    }
    
    #pagination li {
        width: 8px;
        height: 8px;
    }
    
    /* 容器 */
    .container {
        padding-top: 60px;
    }
    
    /* 标题 */
    .index_tt h4 {
        font-size: 24px;
    }
    
    .index_tt p {
        padding: 10px 50px 0;
        font-size: 12px;
    }
    
    .index_tt p i {
        width: 40px;
    }
    
    .mt_100 {
        margin-top: 30px;
    }
    
    .mt_80 {
        margin-top: 20px;
    }
    
    /* 产品分类 */
    .pdt_cat .main {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pdt_cat .main li {
        width: 45%;
        margin: 0 2.5% 20px;
        height: auto;
    }
    
    .pdt_cat .main li span {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .pdt_cat .main li span img {
        margin-top: 15px;
        max-width: 70%;
    }
    
    .pdt_cat .main li p {
        font-size: 16px;
        padding-top: 10px;
    }
    
    /* 环境/图片展示 */
    .envi .item {
        height: auto;
        padding: 0 5px;
    }
    
    .envi .item a img {
        width: 100%;
    }
    
    .envi .item .cover {
        width: 100%;
    }
    
    .envi .item a p {
        height: 50px;
        line-height: 50px;
        font-size: 14px;
    }
    
    /* 证书展示 */
    .certificate .main {
        width: 100%;
    }
    
    .certificate .main a {
        width: 48%;
        height: auto;
        margin: 0 1% 15px;
    }
    
    .certificate .main .cover {
        display: none;
    }
    
    .certificate .main a img {
        width: 100%;
        margin-left: 0;
    }
    
    .certificate .main a span {
        display: block;
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        padding: 10px;
        font-size: 12px;
        box-sizing: border-box;
        background: rgba(0,0,0,0.7);
        color: #fff;
    }
    
    /* 新闻 */
    .news_box {
        background: none;
        padding-bottom: 20px;
    }
    
    .news ul {
        width: 100%;
    }
    
    .news li {
        width: 100%;
        float: none;
        margin: 0 0 15px 0;
    }
    
    .news li a {
        height: auto;
        padding: 15px;
        font-size: 14px;
    }
    
    .news li a span {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        white-space: normal;
    }
    
    /* Footer */
    .footer {
        padding: 20px 10px;
    }
    
    .footer ul {
        width: 100%;
    }
    
    .footer li {
        width: 100%;
        float: none;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .footer h4 {
        font-size: 16px;
        line-height: 40px;
    }
    
    .footer .con div {
        font-size: 13px;
    }
    
    .footer .cat a {
        font-size: 12px;
        padding: 0 10px;
    }
    
    .copyright {
        line-height: 1.5;
        padding: 15px 10px;
        text-align: center;
    }
    
    .copyright .fl,
    .copyright .fr {
        float: none;
        display: block;
        text-align: center;
    }
    
    .copyright .fr {
        padding-top: 10px;
    }
    
    /* 内页 */
    #left, #right {
        width: 100% !important;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .page_banner {
        height: 150px;
        background-size: cover !important;
    }
    
    /* 分类导航 */
    .category {
        margin: 20px auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category li {
        margin-bottom: 5px;
    }
    
    .category a {
        padding: 2px 12px;
        font-size: 14px;
    }
    
    /* 产品列表 */
    .products_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .products_list li {
        width: 48%;
        height: auto;
        margin: 0 0 15px 0;
    }
    
    .products_list li img {
        width: 100%;
        height: auto;
    }
    
    .products_list a p {
        height: auto;
        padding: 10px 5px;
    }
    
    .products_list a span {
        font-size: 14px;
    }
    
    .photo_list li {
        height: auto;
    }
    
    .photo_list li .img {
        width: 100%;
        height: auto;
    }
    
    /* 新闻列表 */
    ul.news_list li a {
        font-size: 14px;
    }
    
    /* 产品详情页 */
    .main_photo {
        float: none;
        width: 100%;
        margin: 15px 0;
        text-align: center;
    }
    
    .main_photo img {
        max-width: 100%;
        height: auto;
    }
    
    .product_group {
        float: none;
        width: 100%;
        margin: 15px 0;
    }
    
    .product_group h1 {
        font-size: 16px;
    }
    
    .product_content {
        padding: 15px 0;
    }
    
    .product_content img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 表单 */
    dl.table dt {
        float: none;
        width: 100%;
        text-align: left;
        height: auto;
    }
    
    dl.table dd {
        width: 100%;
    }
    
    .textwidth {
        width: 100%;
        box-sizing: border-box;
    }
    
    dl.table dd.biezhu textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    input.submit_btn {
        width: 100%;
    }
    
    /* 分页 */
    .page {
        margin: 15px 0;
    }
    
    .page a, .page .current {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    /* 隐藏悬浮客服 */
    #leftsead {
        display: none;
    }
    
    /* 图片自适应 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 内容区域图片 */
    .content_bg img,
    .product_content img,
    .news_content img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 上一个下一个 */
    .point {
        margin: 20px 0;
    }
    
    .point span {
        display: block;
        margin-bottom: 10px;
    }
}

/* 小屏手机 (小于480px) */
@media screen and (max-width: 480px) {
    .index_tt h4 {
        font-size: 20px;
    }
    
    .pdt_cat .main li {
        width: 100%;
        margin: 0 0 20px 0;
    }
    
    .pdt_cat .main li span {
        width: 80px;
        height: 80px;
    }
    
    .certificate .main a {
        width: 100%;
        margin: 0 0 15px 0;
    }
    
    .products_list li {
        width: 100%;
    }
    
    .news li a {
        font-size: 13px;
    }
}
