/* Shared storefront/member adaptation. Desktop rules remain in the original theme. */
.product-form-sections { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 10px; background: #f5f8ff; border-radius: 6px; }
.product-form-sections button { border: 1px solid #d9e5f5; background: white; color: #2466dc; border-radius: 5px; padding: 10px 14px; cursor: pointer; }
.product-form-heading { font-size: 17px; color: #254b7e; padding: 12px 0; margin: 16px 0; border-bottom: 1px solid #d9e5f5; scroll-margin-top: 16px; }
@media (max-width: 767px) {
  html, body { min-width: 0 !important; width: 100% !important; font-size: 14px; }
  body { overflow-wrap: break-word; }
  .main, .umain, .mainMin, .wrap, .rowElem { width: 100% !important; min-width: 0 !important; box-sizing: border-box; padding-left: 12px; padding-right: 12px; }
  img { max-width: 100%; }
  input, select, textarea { max-width: 100%; box-sizing: border-box; font-size: 16px !important; }
  .top_box .top { width: 100%; display: flex; justify-content: space-between; height: auto; }
  .top_box .right { display: none; }
  .top_box .left { white-space: nowrap; }
  .header .general { height: auto !important; padding: 12px 0; }
  .header .general.main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; }
  .header .general.main > li { position: relative !important; float: none !important; margin: 0 !important; height: auto !important; }
  .header .s-logo img { max-width: 130px; height: auto; }
  .header .top_sinfo { flex: 1; min-width: 200px; }
  .header .shead_tips { width: 100%; box-sizing: border-box; }
  .shop_nav { height: auto !important; }
  .shop_nav > .main { display: flex; flex-wrap: wrap; height: auto !important; }
  .shop_nav li { float: none; }
  .mobile-has-purchase > .main { display: flex; flex-direction: column; }
  .mobile-has-purchase > .main > .g_main { order: 0; }
  .mobile-has-purchase > .main > .g_side { order: 1; margin-top: 16px; }
  .product-form-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header .general .main { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .pageheader_t_l { width: 100% !important; height: auto !important; }
  .pageheader_t_l img { max-height: 42px; width: auto; }
  .pageheader_t_l_text, .newstylehuo, .Quick-link { display: none !important; }
  .header .Search-box { display: flex; position: relative !important; left: auto !important; top: auto !important; width: 100% !important; margin: 0 !important; box-sizing: border-box; }
  .header .Search-inp { width: auto !important; flex: 1; min-width: 0; }
  .header .Search-btn { flex: 0 0 64px; }
  .head-nav, .head-nav .main, .indexnav-link { height: auto !important; min-width: 0 !important; }
  .head-nav .main { overflow-x: auto; padding: 0 12px; }
  .indexnav-link, .nav-link { display: flex; width: max-content !important; }
  .indexnav-link .left, .indexnav-link .index-right { display: flex; float: none; white-space: nowrap; }
  .head-nav a { padding: 0 12px !important; min-height: 44px; line-height: 44px; }
  .indexnav-link .alls { display: none; }
  .head-nav .mobile-nav-ready { display: block; width: 100% !important; }
  .mobile-nav-ready .left { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .mobile-nav-ready .left > a, .mobile-nav-more { padding: 0 3px !important; text-align: center; font-size: 14px; white-space: nowrap; }
  .mobile-nav-more { min-height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; }
  .mobile-nav-ready:not(.mobile-nav-open) .left > a:nth-of-type(n+4), .mobile-nav-ready:not(.mobile-nav-open) .index-right { display: none !important; }
  .mobile-nav-ready.mobile-nav-open .index-right { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .mobile-nav-ready .index-right > em, .mobile-nav-ready .clear { display: none; }
  .index-slider { position: relative; height: clamp(140px, 42vw, 240px) !important; min-width: 0 !important; }
  .index-lubo, .index-lubo-box, .index-lubo-box li { width: 100% !important; height: 100% !important; }
  .index-lubo-box li > a { background-size: contain !important; background-position: center !important; }
  .index-slider .sidebar, .index-slider .t-right { display: none !important; }
  .index-goods { height: auto !important; margin-top: 16px; display: flow-root; }
  .goods-sidebar { float: none; width: 100% !important; height: auto !important; background: #2869e8 !important; border-radius: 6px; display: flex; align-items: center; }
  .goods-sidebar h3 { padding: 12px; margin: 0; }
  .goods-sidebar h3 .iconfont, .goods-sidebar .shop { display: none; }
  .goods-sidebar cite { display: flex; flex-wrap: wrap; margin: 0; }
  .goods-sidebar cite a { margin: 0; padding: 10px; }
  .goods-box, .goods-main, .goods-shop, .goods-web, .goods-domain, .goods-task, .goods-demand { width: 100% !important; height: auto !important; float: none !important; box-sizing: border-box; }
  .goods-main:not(.hide), .goods-shop, .clist .list_items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .goods-main dl, .goods-shop dl, .clist .list_items dl { width: 100% !important; height: auto !important; min-width: 0; margin: 0 !important; padding: 8px !important; box-sizing: border-box; float: none; }
  .goods-main dt img, .clist .list_items dt > .pic img { width: 100% !important; height: auto !important; aspect-ratio: 1.25; object-fit: cover; }
  .goods-main dd h2 { position: static !important; font-size: 16px; margin: 8px 0; }
  .goods-main dd span { position: static !important; width: 100%; display: flex; align-items: center; gap: 6px; }
  .goods-main dd span img { width: 24px !important; height: 24px !important; margin: 0; }
  .goods-main dt, .clist .list_items dt, .clist .pic { width: 100% !important; height: auto !important; }
  .goods-main dl > a, .goods-main dt > a { width: 100% !important; height: auto !important; display: block; }
  .goods-main dl { overflow: hidden; }
  .goods-main dd { position: static !important; height: auto !important; width: 100% !important; }
  .goods-main .tit, .clist .title { white-space: normal !important; height: auto !important; min-height: 40px; line-height: 20px; }
  .goods-main .clear { display: none; }
  .goods-shop { margin-top: 12px; }
  .index-news, .index-blog, .index-bbs, .index-link { width: 100% !important; float: none !important; height: auto !important; box-sizing: border-box; }
  .index-blog-wrap { display: none; }
  .list_left, .list_right, .g_main, .g_side, .g_right, .uright { width: 100% !important; float: none !important; margin: 0 !important; min-width: 0 !important; box-sizing: border-box; }
  .list_right { margin-top: 16px !important; }
  .screen_box, .sort_box, .clist { width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  .screen_lists { max-height: 240px; overflow: auto; }
  .screen_list { display: flex; padding: 8px 0; }
  .screen_name { flex: 0 0 52px; width: 52px !important; }
  .screen_con { flex: 1; width: auto !important; margin-left: 0 !important; }
  .screen_con a { display: inline-block; margin: 2px 8px 2px 0; line-height: 30px; }
  .screen_count, .sort_option { display: none; }
  .sort_top, .sort_bottom { height: auto !important; display: flex; flex-wrap: wrap; gap: 6px; }
  .sort_box { position: static !important; }
  .sort_input { max-width: 100%; }
  .sort_checkbox { display: flex; flex-wrap: wrap; }
  .sort_checkbox a { min-height: 32px; }
  .clist .ly { display: none !important; }
  .clist .list_items { width: 100% !important; margin: 0 !important; }
  .screen_name { letter-spacing: normal !important; white-space: nowrap; }
  .screen_name i { display: none; }
  .clist .attr { white-space: normal; height: auto; }
  .clist .info { width: 100%; }
  .g_top, .g_box, .c_g_show, .c_g_det, .c_g_att, .c_g_txt { width: 100% !important; float: none !important; box-sizing: border-box; margin-left: 0 !important; height: auto !important; }
  .g_top { padding: 12px !important; }
  .c_g_show .G-image { width: 100%; height: auto; max-height: 320px; object-fit: contain; }
  .c_g_det { padding: 12px 0; }
  .c_g_tit { font-size: 18px; line-height: 1.5; height: auto; white-space: normal; }
  .c_g_but { display: flex; flex-wrap: wrap; height: auto !important; }
  .c_g_but li { float: none; width: 100%; }
  .c_g_but a { max-width: 100%; box-sizing: border-box; }
  .mobile-has-purchase { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-has-purchase .c_g_but { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; margin: 0 !important; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e5e8ed; box-shadow: 0 -2px 10px #0000000d; gap: 8px; flex-wrap: nowrap; align-items: center; box-sizing: border-box; }
  .mobile-has-purchase .c_g_but li { display: flex; gap: 8px; flex: 1; min-width: 0; margin: 0 !important; padding: 0 !important; }
  .mobile-has-purchase .c_g_but li > a { flex: 1; width: auto !important; margin: 0 !important; min-height: 44px; line-height: 44px; text-align: center; border-radius: 6px; }
  .mobile-has-purchase .c_g_but #acar { flex: 0 0 48px; }
  .mobile-has-purchase .c_g_but .pingfen_btn { display: none; }
  .mobile-has-purchase .c_g_but .computing_item { flex: 0 0 64px; margin: 0; }
  .mobile-contact-button { min-height: 44px; padding: 0 12px; border: 1px solid #cbd9ef; color: #2466dc; background: #f5f8ff; border-radius: 6px; font-size: 14px; }
  .c_g_moy { display: flex; align-items: center; height: auto !important; padding: 12px 0 !important; }
  .c_g_moy .l1 { flex: 0 0 58px; }
  .c_g_moy .l2 { flex: 1; min-width: 0; width: auto !important; }
  .c_g_moy .price { font-size: 28px; line-height: 1.4; }
  .c_g_spe li { height: auto !important; min-height: 32px; line-height: 1.8; }
  .c_g_spe .demo { display: inline-block; padding: 4px 12px; border: 1px solid #d9e5f5; border-radius: 5px; }
  .c_r_menu { position: static !important; width: 100% !important; height: auto !important; display: flex; flex-wrap: wrap; }
  .c_r_menu > em { flex: 1 0 33%; margin: 0 !important; padding: 0 4px !important; text-align: center; box-sizing: border-box; }
  .c_r_menu > ul:not(.layer_uim) { display: none !important; }
  .c_r_menu .layer_uim { float: none; width: 100%; height: auto; padding: 10px; box-sizing: border-box; }
  .c_r_menu .layer_uim.mobile-contact-open { display: block !important; background: #f5f8ff; }
  .c_r_menu .layer_uim { margin: 8px 0 !important; }
  .c_r_menu .layer_uim li.uim { position: static !important; height: auto !important; display: flow-root; box-shadow: none; }
  .header .shop_banner { height: 64px !important; background-size: cover; }
  .header .shop_banner .main { height: 64px !important; display: flex; align-items: center; }
  .header .shop_banner .main > * { margin-top: 0 !important; padding-top: 0 !important; }
  .c_r_par, .c_r_par > ul { width: 100% !important; height: auto !important; box-sizing: border-box; }
  .c_r_par li { width: 100% !important; height: auto !important; min-height: 32px; float: none; }
  .dqwz { width: auto !important; padding: 10px 12px; }
  .g_main img { max-width: 100% !important; height: auto; }
  .g_main iframe, .g_main video { max-width: 100%; }
  .mobile-table-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mobile-table-scroll table { min-width: 650px; }
  .uleft { float: none !important; width: 100% !important; position: static !important; height: auto !important; }
  .mobile-menu-toggle { display: block; width: 100%; min-height: 44px; margin: 8px 0; border: 1px solid #ddd; border-radius: 6px; background: white; color: #2466dc; font-size: 16px; }
  .uleft.mobile-menu-closed { display: none !important; }
  .mobile-panel-toggle { display: block; min-height: 44px; padding: 8px 12px; border: 1px solid #d9e5f5; border-radius: 6px; background: #f5f8ff; color: #2466dc; font-size: 14px; margin: 8px 0; }
  .mobile-panel-closed, .gdlist dd .quickset.mobile-panel-closed { display: none !important; }
  .uhead { height: auto !important; margin-bottom: 10px; }
  .uhead > .umain { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 6px; padding-bottom: 6px; }
  .uhead .logo { float: none; flex: 0 0 100px; }
  .uhead .logo img { width: 100px; height: auto; max-height: 40px; object-fit: contain; }
  .uhead .ubar { float: none; margin-left: auto; display: flex; font-size: 13px; }
  .uhead .ubar > li { padding: 12px 5px; height: 20px; }
  .uhead .ubar > li > div { top: 44px; left: auto; right: 0; max-width: calc(100vw - 24px); white-space: normal; }
  .uhead .uinfo > p { max-width: 92px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .uhead .mobile-panel-toggle { order: 3; width: 100%; margin: 0; min-height: 36px; }
  .uhead .uso { order: 4; float: none; width: 100%; margin: 4px 0; display: flex; }
  .uhead .uso .first_input { flex: 1; }
  .uhead .uso .first_input input { width: 100% !important; }
  .mso.sell { height: auto !important; padding: 8px !important; }
  .mso.sell .Search-box { display: flex; flex-wrap: wrap; gap: 8px; }
  .mso.sell .layui-form-label { padding: 4px 0 !important; }
  .uright { padding: 12px !important; }
  .mwz { display: flex; overflow-x: auto; white-space: nowrap; width: 100% !important; }
  .mwz li { flex-shrink: 0; }
  .uright .layui-form-label { float: none; display: block; text-align: left; width: auto; padding-left: 0; }
  .uright .layui-input-block { margin-left: 0 !important; }
  .uright .layui-input-inline { max-width: 100%; margin-left: 0 !important; }
  .zhxx, .zhxx dd, .zhxx .info, .zhxx .fund, .mix, .mix > .left, .mix > .right { float: none !important; width: 100% !important; height: auto !important; box-sizing: border-box; }
  .loginHead, .loginHead .main { height: auto !important; padding: 12px; }
  .loginBtnBar { float: none; clear: both; }
  .loginBtnBar .gray, .userLogin .show { display: none; }
  .userInfoLogin, .formInfo, .login_box, .userInfoLogin dl, .userInfoLogin dd { width: 100% !important; max-width: 100%; box-sizing: border-box; float: none !important; margin-left: 0 !important; }
  .userInfoLogin { padding: 12px !important; }
  .userInfoLogin { height: auto !important; min-height: 0 !important; }
  .gdlist dd { display: grid !important; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; height: auto !important; padding: 12px !important; }
  .gdlist dd > li { width: auto !important; height: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; }
  .gdlist dd .l1 img { width: 80px; height: 64px; object-fit: cover; }
  .gdlist dd .l2 .tit { white-space: normal !important; height: auto !important; }
  .gdlist dd .quickset { position: static !important; display: block; width: 100% !important; float: none !important; margin: 6px 0 0 !important; border: 0 !important; box-sizing: border-box; }
  .gdlist dd .l3, .gdlist dd .l4 { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; border: 0 !important; }
  .gdlist dd .l4 a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid #d9e5f5; border-radius: 5px; }
  .gdlist dd .l4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .gdlist dd .l4 a { justify-content: center; padding: 0 4px; margin: 0; }
  .gdlist dd .l2 .mobile-panel-toggle { margin-bottom: 0; }
  .gdlist dt { height: auto !important; min-height: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
  .userInfoLogin input.text { width: 100% !important; }
  .userInfoLogin .login_type, .login-three-home { width: 100% !important; margin-left: 0 !important; box-sizing: border-box; }
  .login-three-home { display: flex; flex-wrap: wrap; justify-content: center; }
  .login-three-home h3 { width: 100%; }
  .mainMin .wrap, .mainMin .tab, .mainMin .userLogin, .mainMin #form-login { padding: 0 !important; }
  .userInfoLogin input.text { min-height: 44px; }
  .mainMin .tabs, .mainMin .tab, .userLogin, .userLogin form, .loginBox, .loginForm { width: 100% !important; margin: 0 !important; padding: 12px !important; box-sizing: border-box; float: none !important; height: auto !important; }
  .layui-layer { max-width: calc(100vw - 24px) !important; left: 12px !important; box-sizing: border-box; }
  .layui-layer-content { max-width: 100%; overflow: auto !important; }
  .footer, .foot, .footer-gt { width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
  .footer-gt { display: none; }
  .footer-link, .footer-link-a, .footer-link-i { width: 100% !important; float: none !important; height: auto !important; box-sizing: border-box; text-align: center; }
  .footer-link p, .footer-link cite { width: 100% !important; white-space: normal !important; }
  .footer-link em { display: block; }
  .footer-link-i { display: flex; flex-wrap: wrap; justify-content: center; }
  .index-news li, .goods-web li, .goods-domain li, .goods-task li { max-width: 100%; overflow: hidden; }
  .fixed-tab, .fixed-cart, .fixed-click { display: none !important; }
}
@media (min-width: 768px) { .mobile-menu-toggle, .mobile-panel-toggle, .mobile-nav-more, .mobile-contact-button { display: none; } }
