/* Load AFTER the existing stylesheets. Based on the live 15.6-inch page. */
@media screen and (max-width: 767px) {
  .head_logo, .head_logomid, .ny_aboutbox, .ny_aboutmid,
  .ny_aboutmid .nr, .ny_aboutmid .parBd, .slideBoxxs,
  .mianbaoxies, .ny_aboutleft, .ny_aboutright {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .head_logomid { display: flow-root; padding: 12px 16px !important; }
  .head_logomid .logo img { float: none; margin: 0 !important; }
  .navtop { float: none; margin: 8px 0; font-size: 12px; }
  #nav {
    display: flex !important;
    flex-wrap: wrap !important;
    float: none !important;
    clear: both;
    margin: 8px 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  #nav > .nLi { display: block; position: relative; }
  #nav > .nLi > h3 { float: none; }
  #nav > .nLi > h3 > a { height: auto !important; min-height: 44px; line-height: 44px !important; }
  /* Override the old .nav ul { display:flex!important } rule. */
  #nav .sub { display: none !important; }
  #nav > .nLi:focus-within > .sub {
    display: block !important;
    position: absolute !important;
    left: 0; top: 100%;
    width: min(240px, 65vw) !important;
    padding: 8px !important;
    z-index: 20;
    box-shadow: 0 4px 12px #0002;
  }
  #nav .sub a { white-space: normal !important; height: auto !important; line-height: 1.5 !important; padding: 10px !important; }
  .zhongyingwen, .head_call { float: none !important; position: static !important; margin: 8px 0 !important; }
  .head_phone { overflow-wrap: anywhere; }
  .ny_aboutmid { padding: 0 16px 24px !important; }
  .ny_aboutmid .nr { padding-top: 16px; }
  .mianbaoxies { height: auto; line-height: 1.7; text-align: left; padding-bottom: 12px; }
  .mianbaoxies h1 { float: none; font-size: 24px; line-height: 1.3; margin-bottom: 12px; }
  .ny_yjp, .seo-day5-content, .seo-internal-links { overflow-wrap: anywhere; }
  .seo-day5-content { box-sizing: border-box; width: 100%; padding: 20px 16px !important; }
  .seo-day5-content h2, .seo-day5-content h3 { font-size: 22px; line-height: 1.4; }
  .seo-day5-content p, .seo-day5-content li { font-size: 16px; line-height: 1.7; }
  .seo-day5-content a { white-space: normal; }
  .ny_aboutleft, .ny_aboutright { float: none; margin-top: 20px; }
  /* Keep every category reachable in a bounded, vertically scrollable area. */
  .ny_aboutleft .lists { width: 100%; box-sizing: border-box; max-height: 240px; overflow-y: auto; border: 1px solid #ddd; }
  .ny_aboutleft ul .product_cpzx { width: 100%; height: auto; }
  .ny_aboutleft ul .product_cpzx a { padding: 12px !important; line-height: 1.5; }
  .ny_aboutleft .lists ul li.on > .zgone { display: flex; flex-wrap: wrap; padding: 8px; }
  .ny_aboutleft .lists .zgone li { width: 50%; margin: 0; box-sizing: border-box; }
  .ny_aboutleft .zgone li a { height: auto; min-height: 44px; box-sizing: border-box; padding: 10px !important; margin: 0 !important; line-height: 1.5 !important; }
  .nyproduct_one { float: none; width: 100%; margin: 0 0 16px; box-sizing: border-box; }
  .ny_pimg { display: block; width: 100%; height: auto; }
  .ny_pimg img { width: 100%; max-width: 275px; height: auto; margin: 0 auto; object-fit: contain; }
  .ny_ptitle a { display: block; height: auto; padding: 12px; font-size: 16px; line-height: 1.5; }
  .ny_pxh a { display: block; width: auto; margin: 8px 12px 16px; height: auto; min-height: 44px; line-height: 44px; }
  .pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
  .ny_pdibu {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    height: auto !important;
    padding: 16px;
    line-height: 1.7 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-align: left;
  }
  .ny_pdibu a {
    display: inline !important;
    position: static !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0.25em;
    padding: 0;
    line-height: inherit !important;
    color: #fff !important;
    text-decoration: underline;
  }
  .seo-internal-links li { min-width: 0; }
  /* The live HTML spells this ID "stickey", not "sticky". */
  #stickey_footer { display: none !important; }
  /* Compact nested footer spacing and restore readable link contrast. */
  .bottom_box { padding: 24px 16px !important; }
  .bottom_middle, .bottom_middle .one, .bottom_middle .bottom_ft,
  .bottom_middle .bottom_logo, .bottom_middle .bottom_footers,
  .bottom_middle .bottoms, .bottom_middle .bottoms_con {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .bottom_middle .bottom_ft li, .bottom_middle .bottom_footers li,
  .bottom_middle .bottoms li, .bottom_middle .bottoms_con li {
    float: none !important;
    height: auto !important;
    margin: 0 0 8px !important;
    line-height: 1.6 !important;
    color: #eee !important;
    overflow-wrap: anywhere;
  }
  .bottom_middle a { color: #eee !important; line-height: 1.6 !important; }
  .bottom_middle .bottom_ft a, .bottom_middle .bottom_footers a {
    display: block; min-height: 44px; height: auto !important;
  }
  .bottom_middle img { float: none !important; margin: 0 0 12px !important; }
  .bottom_footer { padding: 16px !important; }
  .footer_mid { padding: 0 !important; }
  .footer_mid p, .footer_mid a {
    height: auto !important;
    line-height: 1.8 !important;
    font-size: 13px !important;
    color: #ddd !important;
    overflow-wrap: anywhere;
  }
}
