/*
Theme Name: Hongwei Corporate
Theme URI: https://hongweimaoyi.com/
Author: OpenAI for Dalian Hongwei
Description: 大连弘伟进出口贸易有限公司企业官网主题。支持中/英/日三语前端、产品/CAS搜索、响应式设计。建议同时启用 Hongwei Products 插件。
Version: 1.10.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hongwei
License: GPL-2.0-or-later
*/
:root{
 --navy:#0b2343;--blue:#0d5ca8;--blue2:#1677c8;--sky:#eef6ff;--text:#172235;
 --muted:#65758b;--line:#dbe6f2;--white:#fff;--soft:#f7fafc;--shadow:0 18px 45px rgba(11,35,67,.10);
 --radius:18px;--max:1180px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,"Noto Sans SC","Microsoft YaHei","PingFang SC",Arial,sans-serif;color:var(--text);background:#fff;line-height:1.7}
a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.topbar{background:var(--navy);color:#dce9f7;font-size:13px}.topbar .container{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:8px 0}.topbar .right{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(219,230,242,.8)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;min-width:280px}.brand-mark{width:54px;height:54px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,var(--navy),var(--blue2));color:white;font-weight:900;letter-spacing:-2px;font-size:22px;box-shadow:0 8px 22px rgba(13,92,168,.22)}
.brand-text strong{display:block;font-size:17px;line-height:1.25;color:var(--navy)}.brand-text small{display:block;color:var(--muted);font-size:10px;letter-spacing:.2px;margin-top:3px}
.main-nav{display:flex;align-items:center;gap:22px}.main-nav .menu{list-style:none;margin:0;padding:0;display:flex;gap:24px;align-items:center}.main-nav .menu a{font-size:15px;font-weight:650;color:#263750}.main-nav .menu a:hover{color:var(--blue)}
.lang{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}.lang a{padding:7px 9px;font-size:11px;color:var(--muted);background:#fff}.lang a.active{background:var(--navy);color:#fff}.menu-btn{display:none;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;font-size:20px}
.hero{background:radial-gradient(circle at 82% 20%,rgba(22,119,200,.18),transparent 25%),linear-gradient(135deg,#f8fbff 0%,#eef6ff 52%,#f9fcff 100%);border-bottom:1px solid var(--line);overflow:hidden}
.hero .container{min-height:600px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;padding:80px 0}.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-weight:800;font-size:13px;letter-spacing:.8px;text-transform:uppercase}.dot{width:8px;height:8px;border-radius:50%;background:var(--blue)}
.hero h1{font-size:56px;line-height:1.08;margin:16px 0 20px;color:var(--navy);letter-spacing:-1.5px}.hero p{font-size:18px;color:var(--muted);max-width:660px;margin:0 0 30px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;padding:13px 20px;font-weight:750;border:1px solid transparent;cursor:pointer}.btn.primary{background:var(--blue);color:#fff;box-shadow:0 10px 25px rgba(13,92,168,.20)}.btn.secondary{background:#fff;border-color:var(--line);color:var(--navy)}
.chem-visual{position:relative;min-height:400px}.chem-card{position:absolute;inset:20px 0 20px 20px;border-radius:32px;background:linear-gradient(145deg,#0b2343,#0f5f9f);box-shadow:var(--shadow);overflow:hidden}.chem-card:before,.chem-card:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.24);border-radius:50%}.chem-card:before{width:310px;height:310px;right:-95px;top:-80px}.chem-card:after{width:220px;height:220px;left:-70px;bottom:-95px}
.molecule{position:absolute;inset:0}.atom{position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 0 0 7px rgba(255,255,255,.12)}.bond{position:absolute;height:2px;background:rgba(255,255,255,.65);transform-origin:left center}.atom.a1{left:25%;top:32%}.atom.a2{left:48%;top:22%}.atom.a3{left:66%;top:40%}.atom.a4{left:51%;top:61%}.atom.a5{left:29%;top:67%}.bond.b1{left:28%;top:35%;width:105px;transform:rotate(-22deg)}.bond.b2{left:51%;top:25%;width:97px;transform:rotate(33deg)}.bond.b3{left:66%;top:44%;width:105px;transform:rotate(128deg)}.bond.b4{left:52%;top:64%;width:105px;transform:rotate(166deg)}.bond.b5{left:31%;top:68%;width:125px;transform:rotate(-83deg)}.chem-label{position:absolute;left:38px;bottom:34px;color:#fff}.chem-label strong{display:block;font-size:24px}.chem-label small{opacity:.75}
.search-panel{margin-top:-48px;position:relative;z-index:5}.search-box{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:12px}.search-box input,.toolbar input,.toolbar select,.hw-form input,.hw-form textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:14px 16px;font-size:16px;outline:none;background:#fff}.search-box input:focus,.toolbar input:focus{border-color:#7eb5e4;box-shadow:0 0 0 3px rgba(22,119,200,.08)}
section{padding:84px 0}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:34px}.section-head h2{font-size:38px;line-height:1.2;margin:6px 0;color:var(--navy)}.section-head p{max-width:650px;color:var(--muted);margin:0}.grid{display:grid;gap:22px}.grid.four{grid-template-columns:repeat(4,1fr)}.grid.three{grid-template-columns:repeat(3,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:0 8px 28px rgba(11,35,67,.05)}.icon{width:48px;height:48px;border-radius:14px;background:var(--sky);display:grid;place-items:center;color:var(--blue);font-size:22px;font-weight:900;margin-bottom:18px}.card h3{margin:0 0 9px;color:var(--navy);font-size:20px}.card p{margin:0;color:var(--muted)}.soft{background:var(--soft)}
.category{min-height:220px;position:relative;overflow:hidden}.category .code{position:absolute;right:18px;bottom:4px;font-size:60px;font-weight:900;color:#edf3f9}.category a{display:inline-block;margin-top:18px;color:var(--blue);font-weight:750}
.about-split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.about-visual{min-height:420px;border-radius:28px;background:linear-gradient(135deg,#e9f3fd,#d7ebfb);position:relative;overflow:hidden;border:1px solid var(--line)}.about-visual .factory{position:absolute;left:10%;right:10%;bottom:0;height:55%;background:var(--navy);clip-path:polygon(0 38%,22% 38%,22% 12%,45% 38%,45% 18%,67% 38%,100% 38%,100% 100%,0 100%)}.about-visual .sun{position:absolute;width:130px;height:130px;border-radius:50%;right:10%;top:12%;background:#fff;box-shadow:0 0 0 25px rgba(255,255,255,.35)}
.statrow{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}.stat{border-left:3px solid var(--blue);padding-left:14px}.stat strong{display:block;font-size:26px;color:var(--navy)}.stat span{font-size:13px;color:var(--muted)}
.cta{background:linear-gradient(135deg,var(--navy),#0d5ca8);color:#fff;border-radius:28px;padding:42px;display:flex;justify-content:space-between;gap:30px;align-items:center}.cta h2{margin:0 0 8px;font-size:34px}.cta p{margin:0;color:#d8e8f7}
.page-hero{padding:72px 0;background:linear-gradient(135deg,#f6faff,#eaf4ff);border-bottom:1px solid var(--line)}.page-hero h1{font-size:46px;color:var(--navy);margin:8px 0}.page-hero p{color:var(--muted);max-width:760px}.breadcrumb{font-size:13px;color:var(--muted)}
.toolbar{display:grid;grid-template-columns:1fr 220px;gap:12px;margin-bottom:26px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff}.product-card .cas{font-family:ui-monospace,Consolas,monospace;color:var(--blue);font-size:13px}.product-card h3{margin:6px 0;color:var(--navy)}.product-card p{color:var(--muted)}.empty{padding:38px;border:1px dashed #b9cbdb;border-radius:16px;text-align:center;color:var(--muted);background:#fbfdff}
.news-item{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}.news-date{font-weight:800;color:var(--blue)}.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:30px}.hw-form{display:grid;gap:14px}.hw-form textarea{min-height:150px;resize:vertical}.contact-list{display:grid;gap:12px}.contact-item{padding:15px 0;border-bottom:1px solid var(--line)}.contact-item strong{display:block;color:var(--navy)}.contact-item span{color:var(--muted)}.notice{padding:14px 16px;border-left:4px solid var(--blue);background:var(--sky);border-radius:8px;color:#40536b;font-size:14px}
.entry-content{max-width:850px;margin:auto}.entry-content h2,.entry-content h3{color:var(--navy)}.entry-content p{color:#45566c}.entry-meta{color:var(--muted);font-size:13px}
.site-footer{background:var(--navy);color:#cbd9e8;padding:55px 0 20px;margin-top:30px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:45px}.site-footer h4{color:#fff;margin:0 0 15px}.site-footer p,.site-footer a{font-size:14px;color:#b9c9d9}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:18px;font-size:12px;color:#92a8bd;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.float-contact{position:fixed;right:18px;bottom:18px;z-index:60;display:grid;gap:10px}.float-contact a{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;box-shadow:0 10px 25px rgba(13,92,168,.28);font-weight:900}.float-contact .qq{background:#1485d1}
@media(max-width:980px){.main-nav .menu{display:none;position:absolute;left:20px;right:20px;top:78px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.main-nav .menu.open{display:flex}.menu-btn{display:block}.brand{min-width:0}.brand-text small{display:none}.hero .container,.about-split,.contact-grid{grid-template-columns:1fr}.hero .container{padding:60px 0}.hero h1{font-size:44px}.chem-visual{min-height:340px}.grid.four{grid-template-columns:repeat(2,1fr)}.grid.three,.product-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.container{width:min(var(--max),calc(100% - 28px))}.topbar .right span:first-child{display:none}.nav{height:68px}.brand-mark{width:46px;height:46px}.brand-text strong{font-size:14px}.lang{display:none}.hero .container{min-height:auto;padding:48px 0 70px}.hero h1{font-size:36px}.hero p{font-size:16px}.chem-visual{display:none}.search-box,.toolbar{grid-template-columns:1fr}.section-head{display:block}.section-head h2{font-size:31px}section{padding:62px 0}.grid.four,.grid.three,.product-grid,.statrow{grid-template-columns:1fr}.cta{display:block;padding:30px}.cta .actions{margin-top:22px}.footer-grid{grid-template-columns:1fr}.news-item{grid-template-columns:1fr;gap:5px}.page-hero h1{font-size:36px}}

.product-image{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:14px;padding:8px}.product-detail-image{max-width:420px;width:100%;object-fit:contain;border:1px solid var(--line);border-radius:14px;padding:12px;background:#fff;margin:0 0 24px}


/* v1.2: prevent long English/IUPAC names from widening the product grid */
html, body { max-width: 100%; overflow-x: hidden; }

.container,
.product-grid,
.product-card,
.toolbar,
.page-hero,
.site-header,
.site-footer {
  min-width: 0;
}

.product-grid {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  min-width: 0;
  overflow: hidden;
}

.product-card h3,
.product-card h3 a,
.product-card p,
.product-card .cas {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-card h3 {
  line-height: 1.45;
}

.toolbar {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
}

.toolbar input,
.toolbar select {
  min-width: 0;
}

@media(max-width:980px){
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media(max-width:640px){
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .toolbar { grid-template-columns: minmax(0, 1fr); }
}

/* v1.3 dual product filters */
.toolbar.dual-filter{grid-template-columns:minmax(0,1fr) minmax(180px,240px) minmax(180px,240px);}
@media(max-width:760px){.toolbar.dual-filter{grid-template-columns:minmax(0,1fr);}}

/* v1.6: remove spacing from empty navigation items */
.main-nav .menu li:empty{display:none}


/* v1.7 QQ online consultation */
.float-contact{
  position:fixed;
  right:22px;
  bottom:24px;
  z-index:100;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.float-contact a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  height:52px;
  padding:0 16px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  box-shadow:0 12px 30px rgba(13,92,168,.28);
  transition:.2s ease;
}
.float-contact a:hover{
  transform:translateY(-2px);
  background:var(--navy);
}
.float-contact .qq{
  min-width:132px;
  gap:8px;
}
.float-contact .qq:before{
  content:"QQ";
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  border-radius:50%;
  background:#fff;
  color:var(--blue);
  font-size:12px;
  font-weight:900;
}
.qq-contact-card{
  margin-top:20px;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--sky);
}
.qq-contact-card .btn{
  margin-top:10px;
}
@media(max-width:640px){
  .float-contact{right:14px;bottom:16px}
  .float-contact .qq{min-width:52px;width:52px;padding:0;font-size:0}
  .float-contact .qq:before{font-size:11px}
}

/* v1.8 QQ-only floating contact */
.float-contact .phone-float{display:none!important}
.float-contact .qq{
  display:flex!important;
  min-width:132px;
  height:52px;
  padding:0 16px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-weight:800;
  box-shadow:0 12px 30px rgba(13,92,168,.28);
}

/* v1.9 content, pagination, QQ */
.business-copy{font-size:18px;color:var(--muted);max-width:760px}
.about-cards{margin-top:34px}
.pagination{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:34px}
.pagination a{min-width:40px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:var(--navy);font-weight:700}
.pagination a.active{background:var(--blue);border-color:var(--blue);color:#fff}
.pagination .next{min-width:auto}
.float-contact{position:fixed;right:22px;bottom:24px;z-index:110;display:block}
.float-contact .qq{border:0;cursor:pointer;min-width:138px;height:52px;padding:0 18px;border-radius:999px;background:var(--blue);color:#fff;font-weight:800;box-shadow:0 12px 30px rgba(13,92,168,.28)}
.qq-popover{position:absolute;right:0;bottom:64px;width:310px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:20px;color:var(--text)}
.qq-popover[hidden]{display:none}
.qq-popover strong{display:block;font-size:18px;color:var(--navy);padding-right:28px}
.qq-pop-number{font-size:20px;font-weight:800;margin:8px 0}
.qq-popover p{font-size:13px;color:var(--muted);line-height:1.6}
.qq-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:24px;color:var(--muted);cursor:pointer}
.qq-pop-actions,.qq-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.qq-contact-card{margin-top:10px}
@media(max-width:640px){
 .float-contact{right:14px;bottom:16px}
 .float-contact .qq{min-width:54px;width:54px;padding:0;font-size:0}
 .float-contact .qq:after{content:"QQ";font-size:12px}
 .qq-popover{width:min(310px,calc(100vw - 28px))}
}

/* v1.9.3: center QQ floating button content */
.float-contact .qq.qq-float-open{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-align:center !important;
  line-height:1 !important;
  padding:0 20px !important;
}
.float-contact .qq.qq-float-open::before{
  flex:0 0 auto;
}
.float-contact .qq.qq-float-open::after{
  display:none !important;
}
@media(max-width:640px){
  .float-contact .qq.qq-float-open{
    width:auto !important;
    min-width:118px !important;
    font-size:14px !important;
    padding:0 16px !important;
  }
  .float-contact .qq.qq-float-open::after{
    display:none !important;
    content:none !important;
  }
}

/* v1.9.5 QQ layout fixes */
.float-contact{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}

.float-contact .qq.qq-float-open{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  text-align:center !important;
  white-space:nowrap !important;
  min-width:170px !important;
  height:56px !important;
  padding:0 22px !important;
}

.qq-popover{
  right:0 !important;
  bottom:70px !important;
  width:348px !important;
  padding:24px !important;
  text-align:left !important;
}

.qq-popover strong,
.qq-pop-number,
.qq-popover p{
  text-align:left !important;
}

.qq-pop-actions,
.qq-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  width:100% !important;
}

.qq-pop-actions .btn,
.qq-actions .btn{
  flex:1 1 0 !important;
  min-width:0 !important;
  height:48px !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
  line-height:1.2 !important;
  font-size:15px !important;
  border-radius:12px !important;
}

.qq-pop-actions a.btn,
.qq-actions a.btn{
  writing-mode:horizontal-tb !important;
  text-orientation:mixed !important;
}

@media(max-width:640px){
  .float-contact .qq.qq-float-open{
    min-width:152px !important;
    width:auto !important;
    font-size:14px !important;
    padding:0 18px !important;
  }
  .qq-popover{
    width:min(348px,calc(100vw - 28px)) !important;
    right:0 !important;
  }
  .qq-pop-actions,
  .qq-actions{
    flex-direction:row !important;
    flex-wrap:nowrap !important;
  }
  .qq-pop-actions .btn,
  .qq-actions .btn{
    font-size:14px !important;
    padding:0 10px !important;
  }
}

/* v1.9.9: two QQ accounts */
.qq-account-row{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.qq-account-row:first-of-type{
  border-top:0;
  padding-top:0;
}
.qq-account-label,
.qq-pop-number{
  font-size:18px;
  font-weight:800;
  color:var(--navy);
  margin-bottom:8px;
}
.qq-contact-card .qq-actions,
.qq-popover .qq-pop-actions{
  display:flex !important;
  gap:10px !important;
  width:100% !important;
}
.qq-contact-card .qq-actions .btn,
.qq-popover .qq-pop-actions .btn{
  flex:1 1 0 !important;
}

/* v1.10.0: three QQ numbers, one copy button per number */
.qq-simple-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  width:100% !important;
  margin-top:12px !important;
  padding-top:12px !important;
  border-top:1px solid var(--line) !important;
}
.qq-simple-row:first-of-type{
  margin-top:10px !important;
}
.qq-simple-number{
  flex:1 1 auto !important;
  font-size:17px !important;
  font-weight:800 !important;
  color:var(--navy) !important;
  white-space:nowrap !important;
}
.qq-simple-row .qq-copy{
  flex:0 0 auto !important;
  min-width:118px !important;
  height:42px !important;
  padding:0 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.qq-popover{
  width:360px !important;
}
@media(max-width:640px){
  .qq-popover{
    width:min(360px,calc(100vw - 28px)) !important;
  }
  .qq-simple-row{
    gap:10px !important;
  }
  .qq-simple-number{
    font-size:15px !important;
  }
  .qq-simple-row .qq-copy{
    min-width:100px !important;
    font-size:13px !important;
  }
}

/* v1.10.1: Copy + Open QQ buttons for each account */
.qq-row-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex:0 0 auto !important;
}
.qq-row-actions .btn{
  min-width:112px !important;
  height:42px !important;
  padding:0 12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  white-space:nowrap !important;
  line-height:1.2 !important;
}
.qq-row-actions .qq-open{
  min-width:128px !important;
}
@media(max-width:640px){
  .qq-simple-row{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .qq-row-actions{
    width:100% !important;
  }
  .qq-row-actions .btn{
    flex:1 1 0 !important;
    min-width:0 !important;
  }
}

/* v1.10.2: one shared Open QQ button below three QQ rows */
.qq-simple-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
}
.qq-simple-row .qq-copy{
  flex:0 0 auto !important;
  min-width:118px !important;
}
.qq-shared-open{
  display:flex !important;
  justify-content:center !important;
  width:100% !important;
  margin-top:16px !important;
  padding-top:14px !important;
  border-top:1px solid var(--line) !important;
}
.qq-shared-open .qq-open-shared{
  min-width:180px !important;
  height:46px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
}
@media(max-width:640px){
  .qq-simple-row{
    flex-direction:row !important;
    align-items:center !important;
  }
  .qq-simple-row .qq-copy{
    min-width:96px !important;
  }
  .qq-shared-open .qq-open-shared{
    width:100% !important;
    min-width:0 !important;
  }
}

/* v1.10.3: make QQ number and copy button sit closer together */
.qq-contact-card .qq-simple-row,
.qq-popover .qq-simple-row{
  justify-content:flex-start !important;
  gap:18px !important;
}

.qq-contact-card .qq-simple-number,
.qq-popover .qq-simple-number{
  flex:0 0 auto !important;
  min-width:170px !important;
}

.qq-contact-card .qq-copy,
.qq-popover .qq-copy{
  flex:0 0 auto !important;
  min-width:116px !important;
}

@media(max-width:640px){
  .qq-contact-card .qq-simple-row,
  .qq-popover .qq-simple-row{
    gap:12px !important;
  }
  .qq-contact-card .qq-simple-number,
  .qq-popover .qq-simple-number{
    min-width:150px !important;
  }
}

/* v1.10.4: balance contact page with inquiry guide on the right */
.contact-right{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}
.inquiry-guide{
  padding:24px 28px;
}
.inquiry-guide .eyebrow{
  margin-bottom:8px;
}
.inquiry-guide p{
  margin:6px 0 12px;
  color:var(--muted);
}
.inquiry-guide ul{
  margin:8px 0 10px;
  padding-left:22px;
}
.inquiry-guide li{
  margin:7px 0;
  color:var(--text);
}
.inquiry-guide-note{
  margin-top:12px !important;
  padding-top:12px;
  border-top:1px solid var(--line);
  font-size:14px;
}
