/* =========================================================================
   legacy-overrides.css
   Keeps the original 960px desktop design intact and adds:
   - real H1 / map / form feedback / back-to-top
   - a proper responsive layer for phones and small tablets
   - mobile drawer navigation and a category chip bar
   ========================================================================= */

/* -------------------------------------------------------------------------
   Desktop additions (unchanged visual system)
   ------------------------------------------------------------------------- */
.legacy-h1 {
  font-size: 22px;
  line-height: 1.5;
  color: #333;
  font-weight: bold;
  margin: 12px 10px 10px;
  font-family: "Microsoft Yahei", Arial, sans-serif;
}
.legacy-h1 a { color: #333; }
.legacy-h1 a:hover { color: #009edf; text-decoration: none; }

/* Homepage H1: same visual style as the original slogan */
.logo h1.logo-slogan {
  font-size: 22px;
  padding: 35px 0 0 20px;
  color: #000;
  font-weight: bold;
  line-height: normal;
}
.logo h1.logo-slogan strong {
  display: block;
  font-size: 30px;
  color: #0093dd;
  line-height: 30px;
  padding-bottom: 3px;
}

/* Nav dropdown: original menu relied on JS; pure CSS now works too */
.nav li:hover > ul.erj,
.nav li:focus-within > ul.erj { display: block; }

/* Current sub-column inside the desktop dropdown */
.nav li ul.erj li.cur > a { color: #fff100; }

/* Left column current state: the CMS outputs .cur1, the skin expects .cur */
.leib2 h4.cur > a,
.leib3 h4.cur > a,
.leib h4.cur > a,
.aside h4.cur > a {
  color: #009edf;
  background-image: url(../images/skins/Index/aside_h4-2.gif);
}
.leib2 li.cur > a,
.leib3 li.cur > a,
.leib li.cur > a {
  color: #009edf;
  font-weight: bold;
}

/* Original case/product tabs: hover + click states handled by legacy.js */
#projectcat_main .c_tabc > div { min-height: 1px; }

/* Back to top, styled to match the original blue */
.back-top-legacy {
  position: fixed; right: 24px; bottom: 28px; z-index: 999;
  width: 46px; height: 46px; line-height: 46px; text-align: center;
  background: #009edf; color: #fff; font-size: 12px; border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18); display: none;
}
.back-top-legacy:hover { background: #0db6f1; color: #fff; text-decoration: none; }

/* Simple leave-word feedback */
.legacy-form-status {
  margin: 10px 0 0; padding: 8px 12px; font-size: 13px; line-height: 1.7;
  background: #fff7e6; border: 1px solid #ffd591; color: #ad6800; display: none;
}
.legacy-form-status.is-ok { background: #f6ffed; border-color: #b7eb8f; color: #237804; }
.legacy-form-status.is-error { background: #fff1f0; border-color: #ffa39e; color: #cf1322; }

/* Product detail: keep the original h4 look when the title becomes a real H1 */
.propar h1.propar-title {
  color: #333;
  line-height: 28px;
  padding: 0 8px;
  border-bottom: 1px dashed #ccc;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}

/* Static replacement for the old JS Baidu map */
.legacy-map {
  width: 697px;
  max-width: 100%;
  height: 550px;
  border: 1px solid #ccc;
  background: #f7f7f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: 30px;
  background-image: linear-gradient(rgba(0,158,223,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,158,223,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.legacy-map-title { font-size: 20px; color: #333; font-weight: bold; margin-bottom: 8px; }
.legacy-map-address { font-size: 14px; color: #666; line-height: 1.8; margin-bottom: 18px; }
.legacy-map-btn {
  display: inline-block; padding: 8px 24px; background: #009edf; color: #fff;
  font-size: 14px; border-radius: 2px;
}
.legacy-map-btn:hover { background: #0db6f1; color: #fff; text-decoration: none; }
.legacy-map-tip { margin-top: 16px; font-size: 12px; color: #999; }

/* Mobile-only helpers, hidden on desktop */
.mnav-toggle,
.mnav-overlay,
.mnav-head,
.mobile-subnav { display: none; }
.nav-all-item { display: none !important; }

/* -------------------------------------------------------------------------
   Responsive layer: phones / small tablets
   ------------------------------------------------------------------------- */
@media screen and (max-width: 1000px) {

  /* ---------- base ---------- */
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
  }
  body {
    min-width: 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    background: #f2f2f2;
  }
  img { max-width: 100%; }
  a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }
  body.mnav-open { overflow: hidden; }

  /* ---------- header ---------- */
  .h_top { display: none !important; }
  .h_mid {
    height: auto;
    padding: 8px 12px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  .h_mid .header {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100% !important;
    overflow: visible;
  }
  .logo {
    width: auto !important;
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
  }
  .logo > div,
  .logo > .fl { float: none !important; }
  .logo .hd_logo {
    width: 58px !important;
    height: auto !important;
    display: block;
  }
  .logo p,
  .logo h1.logo-slogan { display: none !important; }

  .phone {
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    margin: 0 !important;
    flex: 0 0 auto;
    line-height: 1.25;
  }
  .phone a { display: none !important; }
  .phone span {
    display: block;
    padding: 0;
    font-size: 10px;
    color: #999;
  }
  .phone em {
    display: block;
    font-size: 18px;
    line-height: 1.25;
    color: #009edf;
    font-family: Arial, Helvetica, sans-serif;
  }

  .mnav-toggle {
    display: inline-flex !important;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    padding: 0 9px;
    border: 1px solid #d7e8f3;
    border-radius: 4px;
    background: #f7fbfe;
    cursor: pointer;
  }
  .mnav-toggle span {
    display: block;
    height: 2px;
    background: #009edf;
    border-radius: 2px;
  }

  .lk_main { display: none !important; }

  /* ---------- drawer navigation ---------- */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 86vw;
    max-width: 348px;
    height: 100% !important;
    margin: 0;
    padding: 0;
    background: #009edf;
    z-index: 10001;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,.22);
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .mnav-overlay {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .mnav-overlay.is-open { opacity: 1; visibility: visible; }
  .mnav-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 14px;
    background: #008bcf;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .mnav-close {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }
  .nav ul {
    display: block;
    width: 100% !important;
    margin: 0;
    font-size: 14px;
  }
  .nav ul li {
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    background: none;
    border-bottom: 1px solid rgba(255,255,255,.14);
    position: relative;
    text-align: left;
  }
  .nav li a {
    display: block;
    height: 48px;
    line-height: 48px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: normal;
    color: #fff;
    text-align: left;
    background: transparent;
  }
  .nav li > a { position: relative; }
  .nav .cur > a { background: #0db6f1; }
  .nav li.has-sub > a { padding-right: 44px; }
  .nav li.has-sub > a::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
  }
  .nav li.open > a::after { transform: translateY(-20%) rotate(-135deg); }
  .nav li ul.erj {
    display: none;
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    background: #0083c2;
  }
  .nav li ul.erj li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav li ul.erj li:last-child { border-bottom: 0; }
  .nav li ul.erj li a {
    height: 44px;
    line-height: 44px;
    padding: 0 16px 0 28px;
    font-size: 13px;
    border: 0;
    background: transparent;
  }
  .nav li ul.erj li a:hover { background: rgba(0,0,0,.12); }
  .nav li ul.erj li.cur > a { color: #fff100; }
  .nav-all-item { display: block !important; }
  .nav-all { color: #fff100 !important; font-weight: bold; }

  /* disable hover-open inside the drawer; only tap/click opens it */
  .nav li:hover > ul.erj { display: none; }
  .nav li:focus-within > ul.erj { display: none; }
  .nav li.open:hover > ul.erj,
  .nav li.open:focus-within > ul.erj { display: block; }

  /* ---------- banners ---------- */
  .banner,
  .banner .bgitem {
    height: 180px !important;
    background-size: cover !important;
    background-position: left center !important;
  }
  .banner .bgitem { position: absolute !important; }
  #flashs .btn {
    right: 12px !important;
    bottom: 10px !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  #flashs .btn span {
    display: inline-block;
    width: 26px;
    height: 26px;
    line-height: 25px;
    margin-left: 6px;
    padding: 0;
    text-align: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0,0,0,.38);
    color: #fff;
    font-size: 12px;
  }
  #flashs .btn span.cur { background: #008be6; }

  .topadcs {
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
    background: #009edf;
  }
  .topadcs a {
    display: block;
    width: 100% !important;
    margin: 0 !important;
  }
  .topadcs a,
  .topadcs img {
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* ---------- page shell ---------- */
  .header,
  .content,
  .footer,
  .f_cp,
  .f_nav {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  .content {
    padding: 0 10px !important;
    box-sizing: border-box;
    overflow: visible;
  }

  .left,
  .left3,
  .aside,
  .leib2,
  .leib3,
  .contactn,
  .right2,
  .right3 {
    display: none !important;
  }
  .right,
  .left2,
  .right2,
  .rightl,
  .right_main,
  .left2_main,
  .right2_main,
  .pro_main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  .righttop,
  .rightbot { display: none !important; }

  .right_main,
  .left2_main,
  .right2_main {
    border: 1px solid #e7e7e7 !important;
    background: #fff;
    padding: 0 0 10px !important;
    margin: 0 0 12px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  /* ---------- breadcrumb + page H1 ---------- */
  .plc,
  .plcpi,
  .plc2 {
    height: auto !important;
    line-height: 1.7 !important;
    padding: 8px 10px !important;
    border: 1px solid #e7e7e7 !important;
    border-bottom: 0 !important;
    background: #fafafa !important;
    font-size: 12px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .plcpi .curm span,
  .plcpi .curm em {
    color: #009edf !important;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.7 !important;
  }
  .plcpi .curm em a { color: #666 !important; font-weight: normal; }
  .plc span,
  .plcpi span {
    display: block;
    padding: 0 !important;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .plc span::-webkit-scrollbar,
  .plcpi span::-webkit-scrollbar { display: none; }
  .plcpi .curm {
    position: static !important;
    height: auto !important;
  }
  .plcpi em {
    display: block;
    padding-left: 0 !important;
    background: none !important;
    line-height: 1.7 !important;
    white-space: nowrap;
  }

  .legacy-h1 {
    font-size: 20px;
    line-height: 1.4;
    margin: 12px 0 10px;
    padding: 0 0 8px 10px;
    border-left: 4px solid #009edf;
    border-bottom: 1px solid #eee;
    color: #222;
    overflow-wrap: break-word;
  }

  /* ---------- mobile category chips (built by legacy.js) ---------- */
  .mobile-subnav {
    display: block !important;
    margin: 0 0 10px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .ms-title {
    font-size: 12px;
    line-height: 1.6;
    color: #009edf;
    font-weight: bold;
    margin-bottom: 6px;
  }
  .mobile-subnav ul {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0 0 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-subnav ul::-webkit-scrollbar { display: none; }
  .mobile-subnav:not(.is-many) ul {
    flex-wrap: wrap;
    overflow: visible;
  }
  .mobile-subnav li {
    flex: 0 0 auto;
    list-style: none;
    margin: 0;
    padding: 0;
    float: none;
  }
  .mobile-subnav a {
    display: block;
    white-space: nowrap;
    padding: 5px 12px;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    background: #f4f8fb;
    border: 1px solid #dcebf5;
    border-radius: 14px;
  }
  .mobile-subnav a.cur {
    background: #009edf;
    border-color: #009edf;
    color: #fff;
    font-weight: bold;
  }

  /* ---------- article / about content ---------- */
  .agent_con,
  .news_con,
  .printableview {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    box-sizing: border-box;
    line-height: 1.8 !important;
    font-size: 14px;
  }
  .agent_con .age_li_about { padding: 0 !important; }
  .age_li_about h2 {
    font-size: 19px !important;
    line-height: 1.5 !important;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    border-top: 0 !important;
    border-bottom: 1px solid #eee !important;
    font-weight: bold !important;
    color: #009edf !important;
    background: none !important;
    white-space: normal !important;
    clear: both;
    word-wrap: break-word;
  }
  .age_li_about h4 { font-size: 16px; line-height: 1.5; margin: 14px 0 8px; }
  .age_li_about p {
    margin: 9px 0 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
  }
  .age_li_about p[style*="padding-left"] {
    padding-left: 0 !important;
    text-indent: 0 !important;
  }
  .age_li_about span { margin-left: 0 !important; }
  .age_li_about img {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto !important;
    padding: 0 !important;
  }
  .age_li_about table,
  .n_info_con table,
  .proinfo table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
  }

  /* CMS articles often carry fixed inline widths; make them fluid on phones */
  .agent_con div[style*="width:720px"],
  .agent_con div[style*="width:700px"],
  .agent_con div[style*="width:568px"],
  .agent_con div[style*="width:220px"],
  .agent_con div[style*="width:120px"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  .agent_con div[style*="float: left"] { float: none !important; }

  .n_info_con,
  .n_info_con2 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px !important;
    box-sizing: border-box;
  }
  .n_info_con h1 { font-size: 20px; line-height: 1.5; }
  .n_info_con p {
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    word-spacing: normal !important;
  }
  .n_info_con img { max-width: 100% !important; height: auto !important; }
  .n_info_con .info_con_tit,
  .n_info_con .n_tit { width: auto !important; }
  .n_info_con .info_key,
  .info_key {
    width: 100% !important;
    height: auto !important;
    line-height: 1.9 !important;
    padding: 6px 8px !important;
    box-sizing: border-box;
  }
  .info_b,
  .info_b2 {
    width: 100% !important;
    box-sizing: border-box;
    padding: 6px !important;
  }
  ul.p_list_ul li,
  ul.p_list_ul2 li {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }

  .legacy-map {
    width: 100% !important;
    height: 280px !important;
    padding: 20px 14px;
  }
  .legacy-map-title { font-size: 16px; }
  .legacy-map-address { font-size: 13px; }

  /* ---------- contact page ---------- */
  .age_li_about p a[href^="tel:"] { color: #009edf; }

  /* ---------- tabs (case / product / about) ---------- */
  .til01 {
    width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    background: #009edf !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }
  .til01::-webkit-scrollbar { display: none; }
  .til01 ul {
    display: flex !important;
    float: none !important;
    width: max-content !important;
    height: 44px !important;
    overflow: visible !important;
  }
  .til01 li {
    float: none !important;
    flex: 0 0 auto;
  }
  .til01 li a {
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    white-space: nowrap;
    background: transparent !important;
  }
  .til01 li a:hover,
  .til01 .cur a { background: #0b8fd0 !important; }
  .til01 li a em,
  .til01 li.cur em { display: none !important; }
  .til01 .more1 { display: none !important; }

  .ca_tl {
    height: 42px !important;
    line-height: 42px !important;
  }
  .ca_tl h4 {
    height: 41px !important;
    font-size: 15px !important;
    padding-left: 26px !important;
    background-size: 20px auto !important;
  }
  .ca_tl .more {
    width: 118px !important;
    height: 24px !important;
    line-height: 24px !important;
    margin-top: 9px !important;
    font-size: 11px !important;
  }

  .c_ser {
    height: auto !important;
    padding: 10px 0 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .c_ser li {
    width: auto !important;
    padding: 0 !important;
    float: none !important;
    line-height: 1.5 !important;
  }
  .c_ser img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 200 / 142;
    object-fit: cover;
    padding: 0 !important;
    border-width: 1px !important;
    box-sizing: border-box;
    background: #fff;
  }
  .c_ser span {
    display: block;
    padding-top: 4px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ---------- homepage: cases ---------- */
  .case {
    padding: 20px 0 6px !important;
    margin-bottom: 12px !important;
  }
  .case h3 {
    padding-bottom: 10px !important;
    background-size: auto 8px !important;
  }
  .case h3 a { font-size: 20px !important; }
  .ca_t,
  .ca_m {
    width: 100% !important;
    box-sizing: border-box;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .ca_t {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 16px !important;
  }
  .ca_t li {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    float: none !important;
  }
  .ca_t li a {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 52px;
    padding: 9px 4px !important;
    font-size: 13px !important;
    box-sizing: border-box;
  }
  .ca_t li em {
    padding-top: 3px !important;
    font-size: 8px !important;
    transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ca_m {
    margin-top: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
  }
  .ca_m dl {
    height: auto !important;
    display: flex;
    flex-direction: column;
    padding: 12px 0 0 !important;
    overflow: visible !important;
  }
  .ca_m dt { width: 100% !important; float: none !important; }
  .ca_m dt img {
    width: 100% !important;
    height: auto !important;
    max-height: 360px;
    object-fit: cover;
    padding: 0 !important;
    border: 0 !important;
    box-sizing: border-box;
  }
  .ca_m dd {
    width: 100% !important;
    float: none !important;
    padding-top: 10px;
    line-height: 1.8 !important;
    font-size: 14px !important;
    box-sizing: border-box;
  }
  .ca_m dd h4 { padding: 0 0 8px !important; font-size: 18px !important; }
  .ca_m dd p { font-size: 13px !important; line-height: 1.8 !important; }
  .ca_m dd span {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px !important;
  }
  .ca_m dd span a {
    width: calc(50% - 4px) !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0 !important;
    font-size: 13px !important;
    box-sizing: border-box;
  }

  /* ---------- homepage: phone CTA strips ---------- */
  .s_ban {
    width: 100% !important;
    min-height: 140px;
    margin: 0 !important;
    padding: 0 !important;
    background: #009edf;
    overflow: hidden;
  }
  .s_ban .s_pic,
  .s_ban > img { display: none !important; }
  .s_ban p {
    position: static !important;
    display: block !important;
    padding: 22px 16px !important;
    margin: 0;
  }
  .s_ban span {
    display: inline-block;
    padding-left: 36px !important;
    background-size: 26px auto !important;
    font-size: 14px !important;
    line-height: 1.5;
    color: #fff;
  }
  .s_ban span em { display: block; font-size: 22px !important; line-height: 1.4; }
  .s_ban p a {
    width: 120px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin: 10px 0 0 36px !important;
    font-size: 13px !important;
    box-sizing: border-box;
  }

  /* ---------- homepage: products ---------- */
  .pro {
    width: 100% !important;
    padding: 14px 10px 0 !important;
    box-sizing: border-box;
  }
  .p_rm {
    width: 100% !important;
    float: none !important;
  }
  .p_ban img {
    width: 100% !important;
    height: auto !important;
    padding-bottom: 10px !important;
  }
  .pro .slm { padding: 10px 0 20px !important; }
  .pro .slm_c,
  .coo .slm_c,
  .ab .slm_c {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pro .slm_c::-webkit-scrollbar,
  .coo .slm_c::-webkit-scrollbar,
  .ab .slm_c::-webkit-scrollbar { display: none; }
  .pro .slm ul,
  .coo .slm ul,
  .ab .slm ul {
    width: max-content !important;
    display: flex;
    float: none;
  }
  .pro .slm li,
  .coo .slm li,
  .ab .slm li {
    width: 160px !important;
    height: auto !important;
    padding-right: 10px !important;
    box-sizing: border-box;
    line-height: 1.5 !important;
    flex: 0 0 auto;
  }
  .pro .slm img,
  .coo .slm img,
  .ab .slm img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 197 / 142;
    object-fit: contain;
    box-sizing: border-box;
    background: #fff;
  }
  .pro .slm .btn,
  .coo .slm .btn,
  .ab .slm .btn { display: none !important; }

  .p_ph {
    height: auto !important;
    padding: 12px 10px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f7f7f8 !important;
    box-sizing: border-box;
  }
  .p_ph span {
    width: auto !important;
    padding-left: 40px !important;
    background-size: 26px auto !important;
    font-size: 12px !important;
    background-position: 0 center !important;
  }
  .p_ph span em { font-size: 20px !important; line-height: 1.3; }
  .p_ph a {
    width: 110px !important;
    height: 34px !important;
    line-height: 34px !important;
    background: #009edf;
    border-radius: 3px;
    text-align: center;
    font-size: 13px;
  }

  /* ---------- homepage: advantages ---------- */
  .ys {
    height: auto !important;
    padding: 20px 10px 26px !important;
    background-size: cover !important;
  }
  .ys h3 {
    height: auto !important;
    padding: 0 0 18px !important;
    font-size: 22px !important;
    line-height: 1.5 !important;
  }
  .ys h3 em { font-size: 34px !important; line-height: 1.2 !important; }
  .ys h3 span {
    display: block;
    margin-top: 4px;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  .ys h3 b {
    display: block;
    height: auto !important;
    margin-top: 6px;
    font-size: 18px !important;
    line-height: 1.5 !important;
    background: none !important;
  }
  .ys h3 b strong { font-size: 24px !important; }
  .ys_m { width: 100% !important; display: block !important; }
  .ys_m .ys1,
  .ys_m .ys2,
  .ys_m .ys3,
  .ys_m .ys4,
  .ys_m .ys5 {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px;
    padding: 18px 14px !important;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
  }
  .ys_m .ys1 img,
  .ys_m .ys2 img,
  .ys_m .ys3 img,
  .ys_m .ys4 img,
  .ys_m .ys5 img {
    position: relative !important;
    z-index: 1 !important;
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 12px 0 0 !important;
  }
  .ys h4 { color: #009edf !important; font-size: 17px !important; line-height: 1.5 !important; }
  .ys h4 strong { display: block; color: #009edf !important; font-size: 21px !important; line-height: 1.4 !important; }
  .ys p {
    padding: 8px 0 !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    color: #555 !important;
  }
  .ys p b { color: #333 !important; }
  .ys .y_ask {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 16px;
    font-size: 13px !important;
    color: #fff !important;
    background: #009edf;
    border: 0 !important;
    border-radius: 3px;
    text-align: center;
  }

  /* ---------- homepage: partners ---------- */
  .coo {
    width: 100% !important;
    padding: 22px 10px 0 !important;
    box-sizing: border-box;
  }
  .coo h3 {
    padding-bottom: 6px !important;
    font-size: 20px !important;
    line-height: 1.5 !important;
    background: none !important;
  }
  .coo h3 span {
    display: block;
    padding: 4px 0 0 !important;
    font-size: 13px !important;
  }
  .coo .slm li { width: 170px !important; }
  .coo .slm img {
    aspect-ratio: 189 / 134;
    object-fit: cover;
    padding: 0 !important;
    border: 1px solid #e5e5e5;
  }

  /* ---------- homepage: customer cards ---------- */
  .cus {
    margin-top: 20px !important;
    padding: 20px 10px 8px !important;
    background: #f4f7f9 !important;
  }
  .cus h3 { font-size: 20px !important; line-height: 1.5 !important; }
  .cus_m {
    width: 100% !important;
    padding: 10px 0 !important;
    box-sizing: border-box;
  }
  .cus dl,
  .cus dl.odd {
    display: flex !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 10px !important;
    padding: 12px !important;
    gap: 12px;
    box-sizing: border-box;
    background: #fff !important;
    border: 1px solid #e7e7e7 !important;
  }
  .cus dl.cur {
    height: auto !important;
    padding: 12px !important;
    border: 2px solid #009edf !important;
    background: #fff !important;
  }
  .cus dt {
    width: 96px !important;
    flex: 0 0 96px;
    float: none !important;
  }
  .cus dt img { width: 100% !important; height: auto !important; }
  .cus dd {
    width: auto !important;
    flex: 1 1 auto;
    float: none !important;
  }
  .cus dd h4 { padding-bottom: 4px !important; font-size: 15px !important; }
  .cus dd p {
    height: auto !important;
    padding: 4px 0 8px !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
  }
  .cus dd .det {
    width: 100px !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 12px !important;
  }

  /* ---------- homepage: about + news ---------- */
  .a_n {
    width: 100% !important;
    margin: 24px auto 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box;
  }
  .ab { width: 100% !important; float: none !important; }
  .ab dl {
    height: auto !important;
    padding: 12px 0 18px !important;
    display: flex;
    flex-direction: column;
  }
  .ab dt { width: 100% !important; float: none !important; }
  .ab dt img {
    width: 100% !important;
    height: auto !important;
    max-height: 360px;
    object-fit: cover;
    padding: 0 !important;
    border: 0 !important;
  }
  .ab dd { width: 100% !important; float: none !important; }
  .ab dd h4 { padding-top: 10px; }
  .ab dd p {
    width: auto !important;
    height: auto !important;
    padding: 8px 0 14px !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }
  .ab dd span a {
    width: calc(50% - 6px) !important;
    height: 34px !important;
    line-height: 34px !important;
    font-size: 13px !important;
    box-sizing: border-box;
  }
  .ab .slm { padding: 12px 0 18px !important; }
  .ab_t {
    height: 42px !important;
    line-height: 42px !important;
  }
  .ab_t ul {
    position: static !important;
    display: flex !important;
    height: auto !important;
    line-height: 42px !important;
  }
  .ab_t li { float: none !important; font-size: 15px !important; }
  .ab_t li a {
    height: 42px !important;
    line-height: 42px !important;
    padding: 0 14px !important;
  }
  .ab_t .more { display: none !important; }

  .news {
    width: 100% !important;
    float: none !important;
    margin-top: 18px !important;
  }
  .news .nw_m {
    width: 100% !important;
    margin-top: 10px !important;
    box-sizing: border-box;
  }
  .news dt img {
    width: 100% !important;
    height: auto !important;
    max-height: 260px;
    object-fit: cover;
    aspect-ratio: 273 / 96;
  }
  .news dd p { height: auto !important; padding-bottom: 10px !important; }
  .news ul {
    height: auto !important;
    overflow: visible !important;
    margin: 12px 9px 0 !important;
  }
  .news li {
    height: auto !important;
    line-height: 2 !important;
    white-space: normal !important;
  }

  /* ---------- homepage: why choose us ---------- */
  .d_w { padding: 0 !important; }
  .dw {
    width: 100% !important;
    padding: 16px 10px 4px !important;
    box-sizing: border-box;
  }
  .wd,
  .dyn {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
  }
  .dyn ul {
    height: auto !important;
    overflow: visible !important;
  }
  .dyn li {
    height: auto !important;
    line-height: 2 !important;
    overflow: visible !important;
  }
  .dyn li a { white-space: normal; }
  .wd_m {
    height: auto !important;
    overflow: visible !important;
  }
  .wd dl { padding-right: 0 !important; }
  .til02 { height: 36px !important; line-height: 36px !important; }
  .til02 h4 { font-size: 15px !important; }
  .til02 h4 a { padding: 0 12px !important; }

  /* ---------- homepage: leave-word form ---------- */
  .fm {
    height: auto !important;
    padding: 18px 10px 22px !important;
    background-size: cover !important;
    background-position: center center !important;
    box-sizing: border-box;
  }
  .fm_m {
    width: 100% !important;
    height: auto !important;
    padding: 16px 14px !important;
    background: none !important;
    box-sizing: border-box;
  }
  .fm h4 {
    padding: 0 0 12px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .fm h4 a { font-size: 18px !important; }
  .fm ul { padding: 0 !important; }
  .fm li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: auto !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
  }
  .fm li label {
    width: 60px !important;
    float: none !important;
    padding-right: 4px !important;
    font-size: 13px !important;
    text-align: left !important;
    color: #fff;
  }
  .fm li input,
  .fm li textarea,
  .fm li span,
  .fm li em { float: none !important; }
  .fm li input[type="text"],
  .fm li input[type="tel"],
  .fm li textarea {
    width: calc(100% - 64px) !important;
    flex: 1 1 auto;
    box-sizing: border-box;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 8px !important;
    border: 0 !important;
  }
  .fm li textarea {
    height: 80px !important;
    line-height: 1.6 !important;
    padding: 8px !important;
  }
  .fm li.fst p {
    width: 100% !important;
    float: none !important;
    margin-bottom: 8px;
  }
  .fm li p > span,
  .fm li.adr > span { display: none !important; }
  .fm .fst input { width: calc(100% - 64px) !important; }
  .fm li.rad { display: flex; flex-wrap: wrap; }
  .fm li.rad input { width: 16px !important; height: 16px !important; flex: 0 0 16px; margin: 8px 0 0 !important; }
  .fm li.rad em { padding: 0 10px 0 4px !important; font-size: 13px !important; }
  .fm .area { height: auto !important; }
  .fm .btn {
    width: 100% !important;
    height: auto !important;
    padding: 6px 0 0 !important;
  }
  .fm .btn input {
    width: 92px !important;
    height: 32px !important;
  }
  .fm li.test { display: none !important; }

  /* ---------- inner lists: cases / products ---------- */
  .pro_main,
  .pro_main2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px !important;
    border: 1px solid #e7e7e7 !important;
    border-top: 1px solid #e7e7e7 !important;
    background: #fff;
  }
  .pro_main > .dl_proj,
  .pro_main2 > .dl_proj {
    width: calc(50% - 6px) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block;
  }
  .dl_proj dt,
  .dl_proj dt a {
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .dl_proj img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 210 / 149;
    object-fit: cover;
    box-sizing: border-box;
  }
  .dl_proj dd {
    width: 100% !important;
    height: auto !important;
    padding: 6px 2px 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    text-align: left !important;
    overflow: hidden;
  }
  .pro_main > .clear,
  .pro_main2 > .clear { display: none; }
  .apage,
  #pagerMain {
    width: 100% !important;
    flex: 0 0 100%;
    height: auto !important;
    min-height: 26px;
    box-sizing: border-box;
    padding: 8px 6px !important;
    font-size: 12px;
    line-height: 28px;
  }
  .apage a,
  #pagerMain a {
    display: inline-block;
    min-width: 26px;
    height: 26px;
    line-height: 26px;
    margin: 0 2px;
    padding: 0 4px;
    text-align: center;
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #555;
    background-image: none !important;
    box-sizing: border-box;
  }
  .apage .cust_txt {
    display: block;
    float: none;
    font-size: 11px;
    line-height: 1.8;
    color: #999;
  }
  .apage a.oran_pg_np::before { content: "›"; font-size: 15px; }
  .apage a.oran_pg_lp::before { content: "»"; font-size: 14px; }
  .apage a.oran_pg_pp::before { content: "‹"; font-size: 15px; }
  .apage a.oran_pg_fp::before { content: "«"; font-size: 14px; }
  .apage select,
  .apage .oran_pg_txt,
  .apage .oran_pg_btn { display: none !important; }

  .pd_list_dl,
  .pd_list_dls,
  .pj_list_dl,
  .pj_list_dls,
  .p_list_dl {
    width: calc(50% - 6px) !important;
    height: auto !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    float: left;
    box-sizing: border-box;
    overflow: hidden;
  }
  .pd_list_dl:nth-of-type(2n),
  .pd_list_dls:nth-of-type(2n),
  .pj_list_dl:nth-of-type(2n),
  .pj_list_dls:nth-of-type(2n),
  .p_list_dl:nth-of-type(2n) { margin-right: 0 !important; }
  .pd_list_dl dt,
  .pd_list_dls dt,
  .pj_list_dl dt,
  .pj_list_dls dt,
  .p_list_dl dt { width: 100% !important; height: auto !important; }
  .pd_list_dl dt img,
  .pd_list_dls dt img,
  .pj_list_dl dt img,
  .pj_list_dls dt img,
  .p_list_dl dt img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0 !important;
    box-sizing: border-box;
    background: #fff;
  }
  .pd_list_dl dd,
  .pd_list_dls dd,
  .pj_list_dl dd,
  .pj_list_dls dd,
  .p_list_dl dd {
    width: 100% !important;
    height: auto !important;
    padding-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pro2 {
    width: 100% !important;
    border: 0 !important;
    overflow: hidden;
  }
  .nrcs,
  .prodesc {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .nrcs { padding: 8px !important; border: 0 !important; }
  .pro2 ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 8px;
  }
  .pro2 ul li {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    float: none !important;
  }
  .pro2 ul li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 0 !important;
    box-sizing: border-box;
    background: #fff;
  }
  .pro2 ul li span {
    width: 100% !important;
    height: auto !important;
    padding-top: 5px;
    font-size: 13px;
    line-height: 1.5 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
  }
  .riti1_con ul { padding: 4px 8px; }
  .riti1_con ul li {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    padding: 4px 0 !important;
    line-height: 1.8 !important;
  }
  .riti1_con ul li .fr { float: none !important; font-size: 11px; color: #999; }

  .cps,
  .cp {
    width: 100% !important;
    border: 0 !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .cps dl,
  .cp dl {
    width: calc(50% - 5px) !important;
    margin: 0 10px 10px 0 !important;
    padding: 0 !important;
    float: left;
    box-sizing: border-box;
  }
  .cps dl:nth-of-type(2n),
  .cp dl:nth-of-type(2n) { margin-right: 0 !important; }
  .cps dt,
  .cps dt a,
  .cp dt,
  .cp dt a { width: 100% !important; height: auto !important; }
  .cps dt img,
  .cp dt img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .cps dd,
  .cp dd {
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding-top: 5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cases dl {
    display: flex;
    width: 100% !important;
    height: auto !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    gap: 10px;
    box-sizing: border-box;
  }
  .cases dt {
    width: 110px !important;
    flex: 0 0 110px;
    height: auto !important;
  }
  .cases dt a,
  .cases dt img {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .cases dd {
    width: auto !important;
    flex: 1 1 auto;
    float: none !important;
    margin: 0 !important;
    padding-right: 0 !important;
  }

  .news_dl {
    width: 100% !important;
    padding: 8px 4px !important;
    box-sizing: border-box;
  }
  .news_dl dt {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 4px !important;
    line-height: 1.6 !important;
    overflow: visible !important;
  }
  .news_dl .dt_2,
  .last {
    float: none !important;
    display: inline-block;
    padding: 0 6px 0 0 !important;
    font-size: 11px !important;
    color: #999 !important;
  }
  .news_dl dd {
    height: auto !important;
    max-height: 72px;
    padding: 0 4px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    overflow: hidden;
  }
  .news_top {
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
  }
  .RandomNews,
  .RandomNews .news_random {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .RandomNews .news_random {
    padding: 8px !important;
    border: 0 !important;
  }
  .RandomNews .diysr { font-size: 15px; }
  .RandomNews .news_random li {
    width: 100% !important;
    float: none !important;
    box-sizing: border-box;
  }
  .RandomNews .news_random li a { width: auto !important; }
  .news_top img,
  .news_top .n_top_img {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 8px !important;
  }
  .news_img_rt,
  .new_top_tit {
    width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
  }

  /* ---------- forms / tables ---------- */
  .help_tab,
  .info_fb,
  .club_pl_tab {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box;
  }
  .tab_1 {
    width: 100% !important;
    margin: 8px 0 0 !important;
  }
  .tab_1 td,
  .tab_1 th {
    width: auto !important;
    padding: 6px 4px !important;
    box-sizing: border-box;
  }
  .tab_1 td.tab_lt,
  .tab_1 th.tab_lt {
    width: 72px !important;
    white-space: nowrap;
    font-size: 13px;
  }
  .tab_1 input[type="text"],
  .tab_1 input[type="tel"],
  .tab_1 input[type="email"],
  .tab_1 input[type="password"] {
    width: 100% !important;
    max-width: 100%;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 8px !important;
    border: 1px solid #d5d5d5 !important;
    box-sizing: border-box;
  }
  .tab_1 input[id^="txtTel"] { width: auto !important; }
  .tab_1 #txtTel1 { width: 46px !important; margin-right: 4px !important; }
  .tab_1 #txtTel2 { width: 78px !important; margin-right: 4px !important; }
  .tab_1 #txtTel3 { width: 46px !important; margin-right: 4px !important; }
  .tab_1 textarea {
    width: 100% !important;
    height: 90px !important;
    line-height: 1.6 !important;
    padding: 8px !important;
    border: 1px solid #d5d5d5 !important;
    box-sizing: border-box;
  }
  .tab_1 img { max-width: 100%; }
  .info_fb .text { width: 100% !important; box-sizing: border-box; }
  .info_fb .textarea { width: 100% !important; box-sizing: border-box; }
  .club_pl_tab .textarea { width: 100% !important; box-sizing: border-box; }

  /* purchase form on product detail */
  .caigou {
    height: auto !important;
    margin: 10px 0 !important;
    padding: 8px 10px !important;
    line-height: 1.8 !important;
    font-size: 13px;
  }
  .caigou .span_1 {
    float: none !important;
    display: block;
    font-size: 11px;
    color: #999;
  }
  .caigou_tab {
    width: 100% !important;
    table-layout: auto;
  }
  .caigou_tab td {
    width: auto !important;
    padding: 5px 4px !important;
    box-sizing: border-box;
  }
  .caigou_tab td.tr {
    width: 78px !important;
    white-space: nowrap;
    font-size: 13px;
  }
  .caigou_tab input.text {
    width: calc(100% - 8px) !important;
    max-width: 100%;
    height: 34px !important;
    box-sizing: border-box;
    border: 1px solid #d5d5d5 !important;
    padding: 0 8px !important;
  }
  .caigou_tab td > span {
    display: block;
    font-size: 11px;
    line-height: 1.6;
    color: #999;
  }
  .caigou_tab input[type="radio"] { width: 16px; height: 16px; }
  .caigou_tab textarea {
    width: calc(100% - 8px) !important;
    max-width: 100%;
    height: 90px !important;
    box-sizing: border-box;
    border: 1px solid #d5d5d5 !important;
    padding: 8px !important;
  }

  /* product comment form */
  #tbCmt {
    width: 100% !important;
    table-layout: fixed !important;
  }
  #tbCmt td {
    width: auto !important;
    padding: 5px 4px !important;
    box-sizing: border-box;
  }
  #tbCmt td:first-child {
    width: 76px !important;
    white-space: nowrap;
    font-size: 13px;
    vertical-align: top;
  }
  #tbCmt input[type="text"] {
    width: 100% !important;
    max-width: 100%;
    height: 32px !important;
    box-sizing: border-box;
    border: 1px solid #d5d5d5 !important;
    padding: 0 8px !important;
  }
  #tbCmt textarea {
    width: 100% !important;
    max-width: 100%;
    height: 90px !important;
    box-sizing: border-box;
    border: 1px solid #d5d5d5 !important;
    padding: 8px !important;
  }
  .div_prothumb .span_prev,
  .div_prothumb .span_next { display: none !important; }
  .div_prothumb {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .edui-editor-scale-hand2 { display: none !important; }
  .club_con,
  .club_con2 {
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px !important;
  }

  /* ---------- sitemap ---------- */
  .sitemap_con,
  .map_top,
  .site_plc,
  .b4,
  .sitemap_con h4 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .sitemap_con ul {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }
  .sitemap_con ul li {
    width: 50% !important;
    float: left !important;
    box-sizing: border-box;
    padding: 2px 4px !important;
    line-height: 1.8 !important;
    height: auto !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .site_r_link { float: none !important; width: 100% !important; text-align: right; }

  /* ---------- friend-link apply ---------- */
  .formbox {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  #tbForm {
    width: 100% !important;
    table-layout: auto;
  }
  #tbForm td {
    width: auto !important;
    padding: 4px !important;
    box-sizing: border-box;
  }
  #tbForm .ipt-txt {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* ---------- product detail ---------- */
  #printableview,
  .prodetailsinfo,
  .proviewbox,
  .proinfo,
  .nr_list,
  .nr_list ul {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .proinfo img,
  .nr_list img,
  #printableview img {
    max-width: 100% !important;
    height: auto !important;
  }
  .proinfo img,
  .age_li_about img {
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto !important;
  }
  .proinfo div[style*="width"],
  #printableview div[style*="width"] {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  .ul_prothumb .span_prev,
  .ul_prothumb .span_next { display: none !important; }
  .pleft,
  .pright,
  .pleft .mainbox,
  .pleft .maincont,
  .prodetailsinfo,
  .proviewbox,
  .probigshow,
  .pright .propar,
  .propar {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .probigshow a,
  .probigshow img {
    width: 100% !important;
    height: auto !important;
    max-height: 320px;
    object-fit: contain;
  }
  .propar div {
    max-width: 100%;
    box-sizing: border-box;
    line-height: 1.8;
  }
  .propar h1.propar-title { font-size: 18px; line-height: 1.5; padding: 0 0 8px; }
  .ul_prothumb {
    width: auto !important;
    display: flex;
    flex-wrap: wrap;
  }
  .ul_prothumb li {
    width: 25% !important;
    box-sizing: border-box;
  }
  .div_prothumb,
  .thumbporbox { width: 100% !important; }

  /* ---------- footer ---------- */
  .f_wrap { background: #2d2d2d; }
  .f_nav {
    line-height: 1.8 !important;
    padding: 10px 6px !important;
    font-size: 13px !important;
    background: #333 !important;
  }
  .f_nav a {
    display: inline-block;
    padding: 4px 7px !important;
    font-size: 13px !important;
    line-height: 1.8;
  }
  .f_cp {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 14px !important;
  }
  .f_logo {
    float: none !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
  }
  .f_logo img {
    width: 85px !important;
    height: auto !important;
  }
  .f_cp ul {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
  }
  .f_cp li {
    line-height: 1.9 !important;
    font-size: 13px !important;
  }
  .f_cp li span { padding-left: 8px !important; }
  .f_cp p {
    float: none !important;
    width: 100% !important;
    padding: 10px 0 !important;
    text-align: center !important;
    font-size: 12px !important;
  }
  .f_cp p img {
    display: inline-block !important;
    width: 92px !important;
    height: auto !important;
    padding: 0 8px 0 0 !important;
  }
  .relk {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin-top: 8px;
    padding: 14px 0 0 !important;
    background: none !important;
    border-top: 1px solid #3d3d3d;
    box-sizing: border-box;
  }
  .relk h4 { font-size: 18px !important; padding-bottom: 6px !important; }
  .relk .app {
    width: auto !important;
    height: 24px;
    line-height: 24px;
    padding: 0 12px;
    font-size: 12px;
  }
  .relk span { padding-top: 6px !important; line-height: 2 !important; }
  .relk span a {
    padding-right: 12px !important;
    line-height: 2 !important;
    font-size: 12px;
  }

  /* ---------- misc ---------- */
  .back-top-legacy {
    right: 14px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  .legacy-map-btn { padding: 8px 20px; }
  .topadcs a.fullad { height: auto !important; }
  table { max-width: 100%; }
}

/* -------------------------------------------------------------------------
   Desktop: homepage customer testimonials
   The original alternating float layout no longer fits the 960px grid
   (470px content + padding + border), so it left a large empty column.
   Use a tidy 2 x 2 card grid while keeping the original card styling.
   ------------------------------------------------------------------------- */
@media screen and (min-width: 1001px) {
  .cus_m {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 960px;
    box-sizing: border-box;
  }
  .cus_m dl,
  .cus_m dl.odd {
    float: none !important;
    display: block;
    width: auto !important;
    height: auto !important;
    min-height: 190px;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .cus_m dt {
    float: left;
    width: 154px;
  }
  .cus_m dd {
    float: right;
    width: 265px;
  }
  .cus_m dd p {
    height: 48px;
    overflow: hidden;
  }
}
