﻿@charset "utf-8";

/* ================================================================
   响应式样式 - 小屏幕 & 手机端
   断点: 1400px / 1024px / 768px / 480px
   ================================================================ */

/* ---- ≤1400 容器自适应 ---- */
@media (max-width: 1400px) {
  .wrap { width: 100%; padding: 0 20px; }
}

/* ---- PC 端隐藏手机菜单 ---- */
@media (min-width: 1025px) {
  .menu_btn,
  .menu_overlay,
  .menu_panel { display: none !important; }
}

/* ================================================================
   ≤1024px 平板 & 手机端菜单
   ================================================================ */
@media (max-width: 1024px) {
  /* --- Header --- */
  .header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .header .wrap {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }
  .header .nav { display: none; }
  .header .logo { width: 110px; flex-shrink: 0; }
  body.menu_open { overflow: hidden; }

  /* --- 汉堡按钮 --- */
  .menu_btn {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
  }
  .menu_btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: all .3s ease;
  }
  .menu_btn span:nth-child(1) { top: 0; }
  .menu_btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .menu_btn span:nth-child(3) { bottom: 0; }
  .menu_btn.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
  .menu_btn.active span:nth-child(2) { opacity: 0; }
  .menu_btn.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

  /* --- 遮罩 --- */
  .menu_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
  }
  .menu_overlay.active { opacity: 1; visibility: visible; }

  /* --- 侧滑面板 --- */
  .menu_panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    padding: 24px 28px;
    transition: right .35s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
    overflow-y: auto;
  }
  .menu_panel.active { right: 0; }
  .menu_close {
    align-self: flex-end;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  .menu_close:active { opacity: .5; }
  .menu_panel a {
    display: block;
    color: #222;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 14px 4px;
    border-bottom: 1px solid #f2f2f2;
  }
  .menu_panel a:active { color: #006F2A; }
  .menu_panel .menu_quote {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    background: linear-gradient(180deg, #006F2A 0%, #23A567 100%);
    color: #FFF;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 28px;
    text-align: center;
    border-bottom: none;
  }

  /* --- 布局微调 --- */
  .public_title_txt { font-size: 28px; }
  .home_banner .title { font-size: 32px; line-height: 1.25; }
  .home_banner .content { font-size: 15px; }
  .products_list { grid-template-columns: repeat(2, 1fr); }
  .app_list { grid-template-columns: repeat(2, 1fr); }
  .page_products_item { width: calc((100% - 24px) / 2); }
  .page_content_icon { grid-template-columns: repeat(2, 1fr); }
  .about_content_right { width: 320px; padding-top: 60px; }
  .form_section .wrap { gap: 40px; }
  .form_section .wrap > img { width: 380px; }
  .listbanner img { min-height: 220px; }
  .listbanner .listbanner_title { font-size: 36px; }
}

/* ================================================================
   ≤768px 手机端
   ================================================================ */
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }

  /* --- Header --- */
  .header { padding: 10px 0; }
  .header .logo { width: 100px; }

  /* --- Search --- */
  .search_overlay { top: 52px; padding: 12px 0; }
  .search_box { max-width: 100%; padding: 0 16px; }
  .search_input { height: 40px; font-size: 14px; border-radius: 20px; }
  .search_submit { width: 40px; height: 40px; }
  .search_submit svg { width: 16px; height: 16px; }
  .search_close { padding: 0 4px; }

  /* --- Banner --- */
  .home_banner .swiper-slide,
  .home_banner .wrap { min-height: 360px; }
  .home_banner .wrap { padding: 50px 16px; justify-content: flex-end; padding-bottom: 60px; }
  .home_banner .title { font-size: 24px; line-height: 1.3; }
  .home_banner hr { width: 36px; height: 2px; margin: 10px 0; }
  .home_banner .content { font-size: 13px; }
  .btn_row { margin-top: 24px; gap: 10px; }
  .sw1_btn { padding: 10px 20px; font-size: 13px; }
  .home_swiper .swiper-pagination-bullet { width: 8px; height: 8px; }

  /* --- Section --- */
  .section { padding: 40px 0; }
  .public_title {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 24px;
  }
  .public_title_txt { font-size: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .public_title::after { width: 28px; height: 28px; left: -5px; top: -2px; }
  .public_title_more {
    font-size: 12px;
    padding: 9px 14px;
    gap: 5px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .public_title_more svg { width: 16px; height: 16px; }

.public_detail::after,.public_detail::before{
display: none;
}
.public_detail{
  padding: 15px;
  font-size: 14px;
  margin-bottom: 15px;
}
.products_item .imgbox{

}
.products_item .imgbox img{
  object-fit: contain;
}
.form_lxwm_row{
  width: 100%;
}
.form_left{
  width: 100%;
}
.form_lxwm{
  flex-direction: column;
  width: 100%;
  gap: 15px;
}


  /* --- Products --- */
  .products_list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .products_item .imgbox { height: 140px; }
  .products_item .title { font-size: 18px; padding: 14px 12px 30px 12px; }
  .products_item .title::after { left: 12px; bottom: 14px; width: 32px; height: 2px; }

  /* --- App Scenarios --- */
  .app_list { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app_item { padding-bottom: 50px; }
  .app_item .imgbox { height: 130px; }
  .app_item .title {
    font-size: 13px; padding: 12px; width: calc(100% - 20px);
    left: 10px; margin-top: -22px; border-left-width: 3px;
  }

  /* --- Info List --- */
  .info_list { padding: 36px 0; }
  .info_list:after { background-size: cover; }
  .info_content { flex-direction: column; gap: 28px; }
  .info_content .imgbox { width: 68px; height: 68px; }
  .info_content .imgbox img { width: 36px; height: 36px; }
  .info_content .info_item { gap: 10px; padding-right: 0;}
  .info_content .info_item::after{
    display: none;
  }
  .info_content .info_item .title { font-size: 18px; }
  .info_content .info_item .content { font-size: 14px; max-width: 260px; }

  /* --- Form --- */
  .form_section { padding: 40px 0; }
  .form_section .wrap { flex-direction: column; gap: 20px; }
  .form_section .wrap > img { width: 100%; }
  .form_content { padding: 24px 20px; }
  .form_content .title { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; }
  .form_row { margin-bottom: 14px; }
  .form_row .label { font-size: 13px; margin-bottom: 2px; }
  .form_row input { padding: 12px 14px; font-size: 14px; }
  .form_btn { width: 100%; padding: 13px 24px; font-size: 16px; margin-top: 20px; }

  /* --- Footer --- */
  .footer { padding: 36px 0 0; }
  .footer .wrap { flex-direction: column; gap: 10px; }
  .footer_left { max-width: 100%; }
  .footer_title { font-size: 17px; margin-bottom: 10px; }
  .footer_content { font-size: 14px; line-height: 1.7; }
  .footer_right { align-items: flex-start; gap: 14px; width: 100%; }
  .footer_nav_list { gap: 16px; flex-wrap: wrap; }
  .footer_nav_item a { font-size: 13px; }
  .footer hr { margin-top: 20px; }
  .footer_copyright { flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 0; }
  .footer_copyright p { font-size: 12px; }

  /* --- ListBanner --- */
  .listbanner img { min-height: 160px; }
  .listbanner::after { width: 100%; background: linear-gradient(0deg, #006D2A 0%, rgba(0,109,42,.3) 100%); }
  .listbanner .wrap { padding: 0 16px; }
  .listbanner .listbanner_title { font-size: 22px; }
  .listbanner hr { width: 28px; height: 2px; margin-top: 8px; }

  /* --- Location --- */
  .location { padding: 10px 0; }
  .location a, .location span { font-size: 12px; }
  .location .wrap { gap: 6px; }
  .location svg { width: 16px; height: 16px; }

  /* --- Page 通用 --- */
  .page { padding: 36px 0; }
  .page .wrap { flex-direction: column; gap: 20px; }
  .page_title h2 { font-size: 22px; }
  .page_title hr { width: 40px; margin-top: 10px; }

  /* --- About --- */
  .about_content_right { width: 100%; flex-direction: row; padding-top: 0; }
  .about_content_right img { width: calc(50% - 6px); }
  .about_content_text { font-size: 14px; margin-top: 12px; }
  .about_content_text p { margin-bottom: 12px; }

  /* --- Page Products --- */
  .page_products_list { gap: 12px; }
  .page_products_item { width: calc((100% - 12px) / 2); }
  .page_products_item .imgbox { height: 150px; }
  .page_products_item .txt { padding: 12px 14px; }
  .page_products_item .txt .title { font-size: 13px; margin-bottom: 6px; }
  .page_products_item .txt hr { width: 28px; height: 2px; }

  /* --- Page Products Show --- */
  .page_products_show { flex-direction: column; gap: 20px; }
  .page_products_show_left { width: 100%; }
  .show_swiper .imgbox { height: 240px; }
  .show_thumbs .thumb-imgbox { height: 54px; }
  .product_show_title { font-size: 20px; margin-bottom: 12px; }
  .product_show_content { font-size: 13px; line-height: 1.7; }

  /* --- Page Application --- */
  .page_application_list { gap: 14px; }
  .page_application_item { flex-direction: column; padding: 14px; gap: 14px; }
  .page_application_item .imgbox { width: 100%; height: 170px; border-radius: 8px; }
  .page_application_item .txt .tips { font-size: 11px; margin-bottom: 4px; }
  .page_application_item .txt .title { font-size: 16px; margin-bottom: 8px; }
  .page_application_item .txt hr { width: 30px; height: 2px; margin-bottom: 10px; }
  .page_application_item .txt .content { font-size: 13px; line-height: 1.6; }

  /* --- Page Content (Contact) --- */
  .page_content_icon { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
  .page_content_icon .item { padding: 16px 12px; gap: 10px; }
  .page_content_icon .item .imgbox { width: 52px; height: 52px; }
  .page_content_icon .item .imgbox img { width: 26px; height: 26px; }
  .page_content_icon .item .txt b { font-size: 13px; }
  .page_content_icon .item .txt p { font-size: 12px; }
}

/* ================================================================
   ≤480px 小屏手机
   ================================================================ */
@media (max-width: 480px) {
  .wrap { padding: 0 12px; }

  .header .logo { width: 90px; }

  .home_banner .swiper-slide,
  .home_banner .wrap { min-height: 300px; }
  .home_banner .wrap { padding-bottom: 50px; }
  .home_banner .title { font-size: 20px; }
  .home_banner .content { font-size: 14px; }
  .btn_row { margin-top: 18px; gap: 8px; }
  .sw1_btn { padding: 8px 16px; font-size: 14px; }

  .section { padding: 30px 0; }
  .public_title_txt { font-size: 16px; }
  .public_title_more { font-size: 11px; padding: 7px 12px; gap: 4px; }
  .public_title_more svg { width: 14px; height: 14px; }

  .products_list { grid-template-columns: 1fr; }
  .products_item .imgbox { height: 180px; }

  .app_list { grid-template-columns: 1fr; }
  .app_item .imgbox { height: 160px; }

  .info_content .info_item .title { font-size: 16px; }

  .page_products_item { width: 100%; }
  .page_products_item .imgbox { height: 180px; }

  .about_content_right { flex-direction: column; }
  .about_content_right img { width: 100%; }

  .page_content_icon { grid-template-columns: 1fr; }

  .page_application_item .imgbox { height: 150px; }

  .listbanner img { min-height: 140px; }
  .listbanner .listbanner_title { font-size: 18px; }
  .listbanner hr { margin-top: 6px; }

  .menu_panel { width: 260px; }

  .footer_links a { width: 36px; height: 36px; }

  /* --- Detail --- */
  .detail_text { margin-top: 20px; }
  .detail_text p { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
  .detail_text h3 { font-size: 18px; margin: 24px 0 10px; }
  .detail_text ul li { font-size: 13px; line-height: 1.8; }
  .detail_text img { margin: 14px 0; }
}
