/* ============================================================
   Mingmei site UI — single source of truth (v7)
   Loaded LAST on every page with a version query to defeat cache.
   No CSS variables, no icon fonts: literal colors + inline SVG only.
   ============================================================ */

/* ---------- base ---------- */
html{scroll-behavior:smooth}
body{font-family:'Montserrat',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;color:#2f3543}
[id]{scroll-margin-top:86px}
img{max-width:100%}

/* ---------- header brand: company name leads, slogan supports ---------- */
.mm-brand{display:flex;align-items:center;gap:16px;margin:24px 0 18px;text-decoration:none}
.mm-brand:hover{text-decoration:none}
.mm-brand svg{width:56px;height:auto;flex:0 0 auto;display:block}
.mm-brand .t{display:block;min-width:0}
.mm-brand .t b{display:block !important;font-family:'Montserrat',Helvetica,Arial,sans-serif;
  font-size:27px;font-weight:800;letter-spacing:.3px;line-height:1.28;color:#14213d;white-space:normal}
.mm-brand .t small{display:block !important;margin-top:9px;font-size:13px;font-weight:600;
  letter-spacing:2.4px;color:#8b8f99;line-height:1.4;text-transform:none}

/* ---------- top contact strip ---------- */
.top_email{margin:0 0 16px}
.top_email .email_text_custom{font-size:10.5px;letter-spacing:1.7px;color:#9aa0ab;
  line-height:2.1;margin:0 0 8px;text-transform:uppercase;font-weight:600}
.top_email .email_text_link{margin:0}
.top_email .email_text_link a{font-size:13.5px;font-weight:700;color:#14213d;line-height:1.9}
.top_email .email_text_link a:hover{color:#b08a3e}

/* ---------- navbar: white, one line, gold active underline ---------- */
.navbar,#top_nav{position:static !important;background:#fff !important;border:none !important;
  border-bottom:1px solid #e6e3dc !important;box-shadow:none !important;margin-bottom:0 !important;min-height:48px}
.navbar-collapse{padding-left:0 !important;padding-right:0 !important;border:none !important;box-shadow:none !important}
.navbar-nav{display:flex !important;flex-wrap:nowrap !important;float:none !important;margin:0 !important}
.navbar-nav>li{float:none !important;display:block !important}
.navbar-nav>li>a{display:block;padding:15px 9px !important;margin:0 !important;
  font-family:'Montserrat',Helvetica,Arial,sans-serif;font-size:11.5px !important;font-weight:700;
  letter-spacing:1px;text-transform:uppercase;color:#3c4354 !important;background:transparent !important;
  background-image:none !important;white-space:nowrap;transition:color .18s}
.navbar-nav>li>a:hover,.navbar-nav>li>a:focus{color:#b08a3e !important;background:transparent !important}
.navbar-nav>.active>a,.navbar-nav>.active>a:hover,.navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover{
  color:#b08a3e !important;background:transparent !important;background-image:none !important;
  box-shadow:inset 0 -3px 0 #b08a3e}

/* ---------- search: gold button + real SVG magnifier ---------- */
.search_group{width:100%}
.search_group .form-control{height:36px !important;border:1px solid #ddd !important;
  border-right:0 !important;border-radius:3px 0 0 3px !important;box-shadow:none !important;font-size:13px}
#search_submit{display:block !important;position:relative;width:46px !important;height:36px !important;
  background:#b08a3e !important;border-radius:0 3px 3px 0 !important;cursor:pointer;overflow:hidden}
#search_submit:hover{background:#96742f !important}
#search_submit svg{position:absolute;top:9px;left:13px;width:18px;height:18px;display:block}
.search_group .glyphicon-search:before,.search_group #search_submit:before{content:none !important}

/* ---------- buttons ---------- */
.mm-btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 26px;border-radius:4px;
  font-family:'Montserrat',Helvetica,Arial,sans-serif;font-weight:700;font-size:15px;line-height:1.2;
  text-decoration:none !important;border:2px solid transparent;transition:background .18s,color .18s,border-color .18s;white-space:nowrap}
.mm-btn-gold{background:#b08a3e;border-color:#b08a3e;color:#fff !important}
.mm-btn-gold:hover,.mm-btn-gold:focus{background:#96742f;border-color:#96742f;color:#fff !important}
.mm-btn-line{background:#fff;border-color:#b08a3e;color:#b08a3e !important}
.mm-btn-line:hover,.mm-btn-line:focus{background:#b08a3e;border-color:#b08a3e;color:#fff !important}
.mm-btn-navy{background:#14213d;border-color:#14213d;color:#fff !important}

/* ---------- hero ---------- */
.mm-hero{padding:56px 0 48px}
.mm-hero .row{display:flex;align-items:center;gap:44px;flex-wrap:wrap}
.mm-hero .col{flex:1 1 440px;min-width:0}
.mm-hero .mm-h1{font-size:42px;line-height:1.18;color:#14213d;font-weight:800;margin:0 0 16px;letter-spacing:-.2px}
.mm-hero .mm-h1 .g{color:#b08a3e}
.mm-hero .mm-sub{font-size:16px;line-height:1.85;color:#2f3543;font-weight:500;max-width:600px;margin:0 0 4px}
.mm-slogan{font-size:15px;line-height:1.65;color:#b08a3e;font-weight:700;margin:0 0 16px;letter-spacing:.2px}
.mm-cta{margin-top:22px;display:flex;gap:12px;flex-wrap:wrap}
.mm-cta-note{font-size:13.5px;color:#4b5364;margin:16px 0 0;line-height:1.7}
.mm-cta-note a{color:#14213d;font-weight:700;border-bottom:1px solid #b08a3e;text-decoration:none}
.mm-cta-note a:hover{color:#b08a3e}
/* product photo: no hard plate — blend into the light background */
.mm-hero-img{flex:1 1 460px}
.mm-hero-img img{width:100%;max-width:560px;display:block;margin:0 auto;border-radius:0;
  box-shadow:none !important;mix-blend-mode:multiply;transform:translateX(10px)}

/* ---------- trust badges row ---------- */
.mm-badges{background:#fff;border-bottom:1px solid #ece9e2;padding:26px 0}
.mm-badges .row{display:flex;flex-wrap:wrap;gap:22px}
.mm-badge{flex:1 1 210px;display:flex;align-items:center;gap:12px}
.mm-badge svg{flex:0 0 auto;display:block}
.mm-badge b{display:block;font-size:14px;color:#14213d;font-weight:700;line-height:1.4}
.mm-badge span{display:block;font-size:12px;color:#5a6270;margin-top:3px;line-height:1.5}

/* ---------- navy fact strip (brighter text) ---------- */
.mm-trust{background:#14213d;padding:28px 0}
.mm-trust .row{display:flex;flex-wrap:wrap;gap:14px}
.mm-trust .t{flex:1 1 220px;text-align:center;font-size:16px;font-weight:700;color:#ffffff;line-height:1.4}
.mm-trust .t span{display:block;font-size:12.5px;font-weight:500;color:#e3cf9c;margin-top:6px;
  letter-spacing:1px;text-transform:uppercase}

/* ---------- section shell ---------- */
.mm-sec{padding:64px 0}
.mm-sec.alt{background:#fbfaf7}
.mm-kicker{font-size:12.5px;letter-spacing:2.4px;color:#b08a3e;font-weight:700;text-transform:uppercase;margin-bottom:12px}
.mm-h2{font-size:30px;line-height:1.3;color:#14213d;font-weight:800;margin:0 0 12px}
.mm-sub{font-size:15.5px;color:#4b5364;line-height:1.8}

/* ---------- cards: product floats with breathing room ---------- */
.mm-cards{display:flex;flex-wrap:wrap;gap:24px;margin-top:32px;align-items:stretch}
.mm-card{flex:1 1 300px;display:flex;flex-direction:column;background:#fff;border:1px solid #ece9e2;
  border-radius:10px;overflow:hidden;text-decoration:none !important;
  box-shadow:0 1px 2px rgba(20,33,61,.05);transition:box-shadow .2s,transform .2s}
.mm-card:hover{box-shadow:0 12px 28px rgba(20,33,61,.10);transform:translateY(-2px)}
/* 图片不贴边：四周留白 + contain 完整显示（换任何比例的高清图都不裁切不变形）
   multiply 正片叠底：图片白底融入卡片，灰底也不再像"膏药" */
.mm-card img{display:block;width:100% !important;height:260px !important;
  object-fit:contain !important;object-position:center;
  padding:20px 24px;background:transparent;border-radius:0;
  mix-blend-mode:multiply;
  -webkit-box-sizing:border-box;box-sizing:border-box}
.mm-card .bd{flex:1 1 auto;display:flex;flex-direction:column;padding:6px 24px 24px}
.mm-card h3{font-size:18px;font-weight:700;color:#14213d;margin:0 0 8px;line-height:1.35}
.mm-card p{font-size:13.5px;color:#5a6270;line-height:1.65;margin:0}

/* document cards (patents / certificates): white, shadow, no hard border, contain */
.mm-card--doc{border:none !important;box-shadow:0 14px 34px rgba(20,33,61,.09);background:#fff}
.mm-card--doc img{height:330px !important;object-fit:contain !important;padding:14px}
.mm-card--doc h3{font-size:17px}
.mm-card--doc p{font-size:14px}

/* certificate cards: faint 1px frame around the scan only */
.mm-card--cert{border:none !important;box-shadow:0 14px 34px rgba(20,33,61,.08)}
.mm-card--cert img{height:300px !important;object-fit:contain !important;padding:8px;
  border-bottom:1px solid #f0ede6}
.mm-card--cert h3{font-size:17px}
.mm-card--cert p{font-size:14px;color:#4b5364}

/* wide plant photo: never stretched */
.mm-card--wide{flex:1 1 100% !important;border:none !important;box-shadow:0 14px 34px rgba(20,33,61,.10)}
.mm-card--wide img{height:auto !important;max-height:520px;object-fit:cover !important;
  filter:brightness(1.07) contrast(1.03) saturate(1.05)}
.mm-card--wide .bd{text-align:center;padding:20px 24px 24px}

/* ---------- OEM steps with arrows ---------- */
.mm-steps{display:flex;flex-wrap:wrap;gap:16px;margin-top:30px;align-items:stretch}
.mm-step{position:relative;flex:1 1 160px;background:#fff;border:1px solid #ece9e2;border-radius:10px;
  padding:20px 18px;box-shadow:0 1px 2px rgba(20,33,61,.05)}
.mm-step .n{font-size:11px;color:#b08a3e;font-weight:800;letter-spacing:1.6px}
.mm-step b{display:block;color:#14213d;font-size:16px;font-weight:700;margin:7px 0 5px}
.mm-step span{font-size:13px;color:#5a6270;line-height:1.6}
.mm-step:not(:last-child)::after{content:"\2192";position:absolute;right:-15px;top:50%;
  transform:translateY(-50%);color:#b08a3e;font-size:19px;font-weight:700;line-height:1}

/* ---------- inquiry section ---------- */
.mm-sec.inq{background:#14213d !important;background-image:none !important}
.mm-sec.inq h2{color:#fff}
.mm-sec.inq .mm-sub{color:#c5cbdb}
.mm-mail-line{font-size:14px !important;color:#cfd6e4 !important;margin:0 0 20px !important;line-height:1.75 !important}
.mm-mail-line a{color:#e3cf9c !important;font-weight:600 !important;text-decoration:underline !important}
.mm-form{background:#fff;border-radius:10px;padding:30px;max-width:640px;box-shadow:0 18px 40px rgba(0,0,0,.18)}
.mm-form label{display:block;font-size:13.5px;font-weight:700;color:#1b2230;margin:16px 0 6px}
.mm-form label:first-of-type{margin-top:0}
.mm-form input,.mm-form select,.mm-form textarea{width:100%;padding:12px 13px;font-size:14.5px;color:#111827;
  background:#fff;border:1px solid #c9d0da;border-radius:4px;box-sizing:border-box;box-shadow:none}
.mm-form input::placeholder,.mm-form textarea::placeholder{color:#8b93a3}
.mm-form input:focus,.mm-form select:focus,.mm-form textarea:focus{border-color:#b08a3e;outline:none;
  box-shadow:0 0 0 3px rgba(176,138,62,.14)}
.mm-form .btn{width:100%;margin-top:20px;padding:15px;border:none;border-radius:4px;
  background:#b08a3e;color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.mm-form .btn:hover{background:#96742f}
/* WhatsApp becomes a quiet outline button under the gold primary */
.mm-form .wa-btn{display:flex !important;align-items:center;justify-content:center;gap:8px;
  width:100% !important;margin:10px 0 0 !important;padding:13px !important;
  background:#fff !important;border:2px solid #128c7e !important;color:#128c7e !important;
  font-size:15px !important;font-weight:700;border-radius:4px !important;text-decoration:none}
.mm-form .wa-btn:hover{background:#f2fbf9 !important;color:#0e7268 !important}
.mm-form .wa-btn svg{fill:currentColor;flex:0 0 auto}
.mm-direct{color:#dfe4ee;font-size:14.5px;line-height:2}
.mm-direct a{color:#8fe0c0}
.mm-grid2{display:flex;gap:44px;flex-wrap:wrap}
.mm-grid2 .l{flex:1 1 420px}
.mm-grid2 .r{flex:1 1 280px}

/* ---------- floating WhatsApp ---------- */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:9998;width:52px;height:52px;border-radius:50%;
  background:#128c7e;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(18,140,126,.30),0 0 0 6px rgba(18,140,126,.07);
  border:1px solid rgba(255,255,255,.18);transition:transform .18s,background .18s}
.wa-float:hover{transform:scale(1.06);background:#0e7268}
.wa-float svg{fill:#fff}

/* ---------- footer ---------- */
footer{background-color:#14213d !important;background-image:none !important;
  background-repeat:no-repeat !important;
  padding:46px 0 88px}
/* 彻底清掉页脚里的底纹/鬼影（含伪元素与任何残留背景层） */
footer::before,footer::after{display:none !important;content:none !important;
  background:none !important;background-image:none !important}
footer *{background-image:none !important}
footer .container{position:relative;z-index:1}
/* ---------- 客服悬浮面板（老模板遗留，含 FB/TW/in 分享图标）：整体隐藏 ---------- */
#cmsFloatPanel,#cmsFloatPanel *{display:none !important}
.a2a_kit,.a2a_dd{display:none !important}

/* ---------- bottom TAGS row (page must end clean) ---------- */
.tags_box{background:#ffffff !important;background-image:none !important;
  border-top:1px solid #e6e3dc;border-bottom:0;padding:24px 0 28px !important;
  text-align:center;color:#6b7280 !important;font-size:13px}
.tags_box .container{padding-bottom:0}
.tags_box a{color:#6b7280 !important;font-size:13px;padding:0 4px 0 8px}
.tags_box a:hover{color:#b08a3e !important;text-decoration:none}
.tags_box .tags_title a{color:#14213d !important;font-weight:700;letter-spacing:1.2px}
.tags_box button{display:none !important}
.footer_brand{margin-bottom:22px}
.footer_brand b{display:block;font-family:'Montserrat',Helvetica,Arial,sans-serif;font-size:16px;
  font-weight:800;letter-spacing:.4px;line-height:1.45;color:#fff}
.footer_brand small{display:block;margin-top:7px;font-size:11.5px;letter-spacing:2.2px;
  color:#b08a3e;font-weight:600}
.footer_contact p{font-size:14px;line-height:1.9;color:#c6cbd6;margin:0 0 16px}
.footer_contact p:last-of-type{margin-bottom:0}
.footer_contact .footer_sitemap{color:#aab2c2 !important;font-size:13.5px}
.footer_contact p a{color:#e6ebf5}
.footer_contact p a:hover{color:#b08a3e}
footer a{color:#c6cbd6}
footer a:hover{color:#b08a3e;text-decoration:none}
.footer_menu p{line-height:2.1;font-size:13.5px}
.footer_menu_first a{color:#fff !important;font-weight:700}
/* social icons removed - no dead placeholders */
.footer_icon{display:none !important}
.mm-copy{border-top:1px solid rgba(255,255,255,.14);margin-top:34px;
  padding:20px 0 6px;font-size:13px;color:#9aa3b5;line-height:1.9;
  display:flex;flex-wrap:wrap;gap:4px 22px;align-items:center;
  justify-content:space-between;text-align:left}
.mm-copy .mm-copy-links{white-space:nowrap}
.mm-copy a{color:#c6cbd6}
.mm-copy a:hover{color:#b08a3e}

/* ---------- responsive ---------- */
@media (max-width:991px){
  .mm-hero .mm-h1{font-size:34px}
  .mm-hero-img img{transform:none;max-width:420px}
  .mm-card img{height:230px !important}
}
@media (max-width:768px){
  .navbar-nav{display:block !important;flex-wrap:wrap !important}
  .navbar-nav>li>a{padding:12px 15px !important;font-size:12px !important}
  .navbar-nav>.active>a{box-shadow:inset 3px 0 0 #b08a3e !important}
  .mm-brand{margin:16px 0 12px;gap:12px}
  .mm-brand svg{width:40px}
  .mm-brand .t b{font-size:16px;line-height:1.4}
  .mm-brand .t small{font-size:10.5px;letter-spacing:1.6px;margin-top:5px}
  .mm-hero{padding:36px 0 30px}
  .mm-hero .mm-h1{font-size:28px}
  .mm-hero .mm-sub{font-size:15px}
  .mm-sec{padding:44px 0}
  .mm-h2{font-size:23px}
  .mm-btn{width:100%;padding:14px 18px}
  .mm-cta{flex-direction:column}
  .mm-card img{height:210px !important}
  .mm-card--doc img{height:260px !important}
  .mm-card--cert img{height:230px !important}
  .mm-step::after{display:none}
  .mm-form{padding:22px}
  footer{padding-bottom:112px}
  .mm-copy{flex-direction:column;align-items:flex-start;gap:8px;padding-bottom:0}
  .footer_menu{padding-bottom:18px}
}
