
:root{--orange:#ff6a00;--blue:#12356b;--dark:#0f172a;--muted:#64748b;--bg:#f5f7fb}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,"Microsoft YaHei",sans-serif;background:var(--bg);color:#111827}
a{color:inherit;text-decoration:none}.container{max-width:1200px;margin:auto;padding:0 20px}
.topbar{background:#111827;color:#fff;font-size:13px}.topbar .container{display:flex;justify-content:space-between;gap:20px;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.header{position:sticky;top:0;z-index:50;background:#fff;box-shadow:0 1px 14px rgba(15,23,42,.08)}.header .container{max-width:1500px}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:18px}.header-social-left{display:flex;align-items:center;gap:12px;min-width:120px}.header-social-btn{display:inline-flex;width:34px;height:34px;border-radius:0;background:transparent;border:0;align-items:center;justify-content:center;box-shadow:none;transition:.2s;padding:0}.header-social-btn:hover{transform:translateY(-2px);background:transparent}.header-social-btn img{width:30px;height:30px;object-fit:contain;display:block}.brand{display:flex;align-items:center;gap:0;min-width:360px}.brand img{display:none;width:0;height:0}.brand-text{display:flex;flex-direction:column;line-height:1.12}.brand-title{font-weight:900;font-size:22px}.brand-cn{font-size:18px;color:#334155;margin-top:4px;font-weight:700}.brand-sub{font-size:15px;color:var(--muted);margin-top:4px}
.search{flex:0 0 380px;max-width:380px;min-width:380px}.search input{width:100%;border:1px solid #e5e7eb;border-radius:999px;padding:14px 22px;font-size:15px}
.actions{display:flex;align-items:center;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:11px 18px;font-weight:800;cursor:pointer;background:var(--orange);color:#fff}.btn.secondary{background:#fff;color:#111827;border:1px solid #e5e7eb}.btn.green{background:#20b15a}.btn.small{padding:8px 12px;font-size:12px}

/* Header icon motion */
.header-social-btn,
#waBtn{
  position:relative;
  overflow:visible;
  will-change:transform, box-shadow;
}
.header-social-left .header-social-btn:nth-child(1){
  animation: headerIconFloat1 3.6s ease-in-out infinite;
}
.header-social-left .header-social-btn:nth-child(2){
  animation: headerIconFloat2 3.9s ease-in-out infinite .25s;
}
.header-social-left .header-social-btn::after{
  content:"";
  position:absolute;
  inset:-5px;
  border-radius:999px;
  opacity:.18;
  z-index:-1;
  transform:scale(.82);
}
.header-social-left .header-social-btn:nth-child(1)::after{
  background:radial-gradient(circle, rgba(59,130,246,.22) 0%, rgba(59,130,246,0) 72%);
  animation: headerIconAura 3.6s ease-in-out infinite;
}
.header-social-left .header-social-btn:nth-child(2)::after{
  background:radial-gradient(circle, rgba(236,72,153,.24) 0%, rgba(236,72,153,0) 72%);
  animation: headerIconAura 3.9s ease-in-out infinite .25s;
}
#waBtn{
  overflow:hidden;
  box-shadow:0 10px 24px rgba(32,177,90,.24);
  animation: whatsappBreath 3.4s ease-in-out infinite;
}
#waBtn::after{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:48%;
  height:100%;
  background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 48%, rgba(255,255,255,0) 100%);
  transform:skewX(-22deg);
  animation: whatsappShine 4.2s ease-in-out infinite;
}
#waBtn:hover,
#waBtn:focus-visible,
.header-social-btn:hover,
.header-social-btn:focus-visible{
  animation-play-state:paused;
}
#waBtn:hover::after,
#waBtn:focus-visible::after,
.header-social-btn:hover::after,
.header-social-btn:focus-visible::after{
  animation-play-state:paused;
}
@keyframes headerIconFloat1{
  0%,100%{transform:translateY(0) scale(1);}
  30%{transform:translateY(-4px) scale(1.06);}
  60%{transform:translateY(1px) scale(.98);}
}
@keyframes headerIconFloat2{
  0%,100%{transform:translateY(0) scale(1);}
  35%{transform:translateY(-3px) scale(1.08) rotate(2deg);}
  65%{transform:translateY(1px) scale(.99) rotate(-1deg);}
}
@keyframes headerIconAura{
  0%,100%{opacity:.12;transform:scale(.84);}
  40%{opacity:.28;transform:scale(1.06);}
  70%{opacity:.16;transform:scale(.92);}
}
@keyframes whatsappBreath{
  0%,100%{transform:translateY(0) scale(1);box-shadow:0 10px 24px rgba(32,177,90,.24);}
  40%{transform:translateY(-2px) scale(1.03);box-shadow:0 16px 30px rgba(32,177,90,.33);}
  70%{transform:translateY(0) scale(.995);box-shadow:0 9px 18px rgba(32,177,90,.22);}
}
@keyframes whatsappShine{
  0%,18%{left:-120%;}
  35%{left:130%;}
  100%{left:130%;}
}
@media(max-width:900px){
  .header-social-left .header-social-btn:nth-child(1),
  .header-social-left .header-social-btn:nth-child(2){
    animation-duration:4.2s;
  }
  #waBtn{animation-duration:3.8s;}
}
@media (prefers-reduced-motion: reduce){
  .header-social-btn,
  .header-social-btn::after,
  #waBtn,
  #waBtn::after{
    animation:none !important;
  }
}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#0f172a,#12356b);color:#fff}.hero .container{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;padding-top:56px;padding-bottom:56px}
.badge{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 14px;font-size:13px;margin-bottom:16px}.hero h1{font-size:52px;line-height:1.05;margin:0 0 18px;font-weight:900}.hero p{font-size:18px;line-height:1.7;color:#dbeafe;margin:0 0 24px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:26px}.stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13);border-radius:20px;padding:16px}.stat b{display:block;color:#ffbf80;font-size:24px}
.hero-media{border-radius:30px;overflow:hidden;background:#000;box-shadow:0 20px 60px rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.15)}.hero-media video,.hero-media img{width:100%;height:420px;object-fit:cover;display:block}
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.feature{background:#fff;border-radius:22px;padding:22px;box-shadow:0 8px 24px rgba(15,23,42,.06)}.feature b{display:block;margin-bottom:6px}.feature span{font-size:14px;color:var(--muted)}
.layout{display:grid;grid-template-columns:250px 1fr;gap:28px;margin-bottom:50px}.sidebar{background:#fff;border-radius:24px;padding:20px;height:max-content;box-shadow:0 8px 24px rgba(15,23,42,.06)}.sidebar h3{margin:0 0 14px}.cat{display:flex;justify-content:space-between;width:100%;border:0;background:#f1f5f9;border-radius:16px;margin:8px 0;padding:13px 14px;cursor:pointer;text-align:left;font-weight:700}.cat.active,.cat:hover{background:var(--orange);color:#fff}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:16px}.section-head h2{font-size:32px;margin:0}.section-head p{color:var(--orange);font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin:0 0 4px;font-size:13px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.06);transition:.25s}.card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(15,23,42,.12)}
.media{height:240px;background:#e5e7eb;position:relative}.media img,.media video{width:100%;height:100%;object-fit:cover;display:block}.media.contain-media{background:#fff}.media.contain-media img{object-fit:contain;background:#fff;padding:10px}.thumbs{display:flex;gap:6px;padding:10px;overflow:auto;background:#fff}.thumb{width:54px;height:48px;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;flex:0 0 auto}.thumb.active{border-color:var(--orange)}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover}
.card-body{padding:18px}.card h3{font-size:17px;margin:0 0 8px;line-height:1.35}.desc{font-size:14px;color:var(--muted);line-height:1.55;min-height:44px}.meta{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #eef2f7;margin-top:14px;padding-top:14px}.price{color:var(--orange);font-weight:900}.label{font-size:12px;color:#94a3b8}.edit-product{margin-top:14px;width:100%}
.about{background:#fff;padding:54px 0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.contact-box{background:#f8fafc;border-radius:24px;padding:24px}.contact-box a{display:block;margin:12px 0;color:#334155}.footer{background:#0f172a;color:#fff;padding:28px 0}.footer .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.social a{display:inline-flex;width:46px;height:46px;border-radius:999px;background:rgba(255,255,255,.08);align-items:center;justify-content:center;margin-left:10px;overflow:hidden;transition:.2s}.social a:hover{transform:translateY(-2px);background:rgba(255,255,255,.14)}.social a img{width:34px;height:34px;object-fit:contain;display:block}
.editor{position:fixed;right:18px;top:88px;width:390px;max-height:calc(100vh - 110px);overflow:auto;background:rgba(255,255,255,.98);border:1px solid #e5e7eb;border-radius:26px;box-shadow:0 30px 80px rgba(15,23,42,.28);z-index:100;padding:18px}.editor h2{margin:0 0 12px}.panel{background:#f8fafc;border-radius:18px;padding:14px;margin-bottom:14px}.field{display:block;margin:10px 0}.field span{display:block;font-size:12px;color:#475569;font-weight:800;margin-bottom:5px}.field input,.field textarea,.field select{width:100%;border:1px solid #e2e8f0;border-radius:12px;padding:10px;font-size:14px;background:#fff}.field textarea{min-height:72px}.upload{display:block;border:2px dashed #cbd5e1;border-radius:16px;padding:14px;text-align:center;cursor:pointer;background:#fff;color:#475569}.upload input{display:none}.mini-media{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px}.mini{position:relative;height:60px;border-radius:10px;overflow:hidden;background:#e2e8f0}.mini img,.mini video{width:100%;height:100%;object-fit:cover}.mini button{position:absolute;right:2px;top:2px;border:0;border-radius:999px;background:#fff;cursor:pointer}.hide{display:none!important}
@media(max-width:900px){.hero .container,.layout,.about-grid{grid-template-columns:1fr}.grid,.features{grid-template-columns:repeat(2,1fr)}.search{display:none}.hero h1{font-size:38px}.editor{left:10px;right:10px;width:auto}.hero-media video,.hero-media img{height:300px}}
@media(max-width:560px){.grid,.features,.stats{grid-template-columns:1fr}.brand-sub{display:none}.brand-title{font-size:18px}.brand-cn{font-size:13px}.hero h1{font-size:32px}.topbar{display:none}.header-social-left{display:none}}

.price-link{display:inline-block;text-decoration:underline;text-underline-offset:3px}.price-link:hover{color:#16a34a}
.hero-video-gallery{background:#000}.hero-video-thumbs{display:flex;gap:8px;padding:10px;background:rgba(15,23,42,.92);overflow:auto}.hero-video-thumb{border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;padding:7px 12px;font-weight:800;cursor:pointer;white-space:nowrap}.hero-video-thumb.active,.hero-video-thumb:hover{background:var(--orange);border-color:var(--orange)}
.header-trust{display:flex;flex-direction:column;gap:5px;min-width:330px;margin-left:8px;font-size:13px;line-height:1.15;align-self:center}.trust-badges,.trust-response{display:grid;grid-template-columns:155px 165px;column-gap:8px;align-items:center;white-space:nowrap}.trust-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 10px;font-weight:800;background:#fff}.trust-pill.verified{border:1px solid #16a34a;color:#078126}.trust-pill.assurance{border:1px solid #60a5fa;color:#2563eb}.trust-response{color:#0f172a}.trust-response span{display:block;text-align:left}.trust-response b{font-weight:900}
@media(max-width:1100px){.header-trust{display:none}.header-inner{gap:12px}.search{flex:0 0 340px;max-width:340px;min-width:340px}.header-social-left{min-width:auto}}

/* Public version: hide editing controls */
#editToggle,#addProduct,.edit-product{display:none!important}
.lang-toggle{min-width:auto;padding:10px 18px;font-weight:900;color:#fff;white-space:nowrap;background:#12356b;border:1px solid #12356b;box-shadow:0 4px 12px rgba(18,53,107,.18)}
@media(max-width:560px){.lang-toggle{padding:8px 12px;min-width:auto;font-size:12px}.actions{gap:6px}}
.lang-toggle:hover{background:#0f2c59;border-color:#0f2c59;color:#fff}

/* Responsive layout fixes for laptop, tablet and mobile */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, video { max-width: 100%; }
.container { width: 100%; }
.header-inner { flex-wrap: wrap; }
.search { flex: 1 1 260px; min-width: 220px; max-width: 420px; }
.brand { flex: 1 1 300px; min-width: 260px; }
.header-social-left { flex: 0 0 auto; }
.actions { flex: 0 0 auto; }
.header-trust { flex: 0 1 330px; }

@media (max-width: 1280px) {
  .header .container { max-width: 1180px; }
  .header-inner { gap: 12px; padding: 12px 16px; }
  .brand { min-width: 280px; flex-basis: 310px; }
  .brand-title { font-size: 20px; }
  .brand-cn { font-size: 16px; }
  .brand-sub { font-size: 13px; }
  .search { flex: 1 1 260px; min-width: 220px; max-width: 360px; }
  .header-trust { min-width: 300px; font-size: 12px; }
  .trust-badges,.trust-response { grid-template-columns: 145px 155px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .topbar .container { justify-content: center; text-align: center; }
  .header-inner { justify-content: center; }
  .header-social-left { order: 1; }
  .brand { order: 2; flex: 1 1 360px; min-width: 300px; }
  .search { order: 4; flex: 1 1 100%; max-width: 100%; min-width: 0; }
  .actions { order: 3; }
  .header-trust { order: 5; display: flex; flex-basis: 100%; max-width: 420px; margin-left: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout { grid-template-columns: 220px 1fr; gap: 18px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media { height: 220px; }
}

@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .topbar { display: none; }
  .header { position: sticky; }
  .header-inner { justify-content: flex-start; align-items: center; padding: 12px 14px; }
  .header-social-left { display: flex; order: 1; width: 100%; justify-content: center; }
  .brand { order: 2; width: 100%; flex-basis: 100%; min-width: 0; justify-content: center; text-align: center; }
  .brand-title { font-size: 22px; }
  .brand-cn { font-size: 17px; }
  .brand-sub { display: block; font-size: 13px; }
  .search { order: 3; display: block; flex-basis: 100%; min-width: 0; max-width: 100%; }
  .search input { padding: 12px 16px; font-size: 14px; }
  .actions { order: 4; width: 100%; justify-content: center; }
  .header-trust { order: 5; display: flex; width: 100%; max-width: 360px; min-width: 0; margin: 0 auto; }
  .trust-badges,.trust-response { grid-template-columns: 1fr 1fr; width: 100%; column-gap: 6px; }
  .trust-pill { padding: 4px 8px; font-size: 12px; }
  .trust-response { font-size: 12px; }
  .hero .container { grid-template-columns: 1fr; padding-top: 34px; padding-bottom: 34px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .hero-media video,.hero-media img { height: 280px; }
  .features { grid-template-columns: 1fr; margin: 18px 0; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid { grid-template-columns: 1fr; }
  .media { height: 260px; }
  .section-head { align-items: flex-start; }
  .section-head h2 { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer .container { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .header-inner { gap: 10px; }
  .header-social-left { gap: 18px; }
  .header-social-btn { width: 32px; height: 32px; }
  .header-social-btn img { width: 28px; height: 28px; }
  .brand-title { font-size: 20px; }
  .brand-cn { font-size: 15px; }
  .brand-sub { font-size: 12px; }
  .btn { padding: 10px 14px; font-size: 14px; }
  .lang-toggle { padding: 10px 14px; }
  .hero h1 { font-size: 30px; }
  .hero-media video,.hero-media img { height: 220px; }
  .stats { grid-template-columns: 1fr; }
  .media { height: 230px; }
  .card-body { padding: 16px; }
  .meta { align-items: flex-start; }
  .thumbs { padding: 8px; }
}

/* Final mobile/tablet fix: prevent horizontal cut-off in Facebook/iPhone webviews */
@media (max-width: 920px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  body > *, .header, .hero, main, .about, .footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .container, .header .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }
  .header-social-left,
  .search,
  .header-trust {
    display: none !important;
  }
  .brand {
    grid-column: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    flex: none !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .brand-text {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .brand-title {
    font-size: 20px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }
  .brand-cn {
    font-size: 15px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
  }
  .brand-sub {
    display: none !important;
  }
  .actions {
    grid-column: 2 !important;
    width: auto !important;
    flex: none !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  .lang-toggle {
    padding: 8px 12px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  #waBtn {
    padding: 10px 14px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }
  .hero .container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
  .hero h1 {
    font-size: clamp(30px, 8vw, 42px) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }
  .hero p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    max-width: 100% !important;
  }
  .hero-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }
  .hero-buttons .btn {
    flex: 0 1 auto !important;
  }
  .stats {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .stat {
    width: 100% !important;
  }
  .hero-media,
  .hero-video-gallery,
  .hero-media video,
  .hero-media img {
    width: 100% !important;
    max-width: 100% !important;
  }
  .hero-media video,
  .hero-media img {
    height: auto !important;
    min-height: 220px !important;
    max-height: 360px !important;
    object-fit: cover !important;
  }
  .features,
  .layout,
  .about-grid,
  .grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .sidebar,
  .card,
  .feature,
  .contact-box {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 430px) {
  .header-inner {
    grid-template-columns: 1fr !important;
  }
  .actions {
    grid-column: 1 !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .brand-title { font-size: 19px !important; }
  .brand-cn { font-size: 14px !important; }
  #waBtn { font-size: 14px !important; padding: 9px 13px !important; }
  .lang-toggle { font-size: 12px !important; padding: 8px 11px !important; }
}

/* Facebook / Instagram in-app browser mobile fix */
@media (max-width: 920px) {
  .header-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .brand {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .actions {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    overflow: hidden !important;
  }
  .actions .btn,
  .actions a,
  .actions button {
    flex: 0 0 auto !important;
    max-width: calc(50vw - 22px) !important;
  }
  .lang-toggle {
    max-width: 120px !important;
  }
  #waBtn {
    max-width: 150px !important;
  }
  .hero,
  .hero .container,
  .hero > .container > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .actions {
    gap: 8px !important;
  }
  .lang-toggle {
    font-size: 13px !important;
    padding: 8px 11px !important;
  }
  #waBtn {
    font-size: 14px !important;
    padding: 9px 13px !important;
  }
}


/* Strong final mobile header fix for Facebook / Instagram in-app browsers */
@media (max-width: 1200px) {
  html.mobile-safe-header, html.mobile-safe-header body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  html.mobile-safe-header body {
    position: relative !important;
  }
  html.mobile-safe-header .topbar,
  html.mobile-safe-header .header-social-left,
  html.mobile-safe-header .search,
  html.mobile-safe-header .header-trust {
    display: none !important;
  }
  html.mobile-safe-header .header,
  html.mobile-safe-header .header .container,
  html.mobile-safe-header .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  html.mobile-safe-header .header-inner {
    display: block !important;
    padding: 16px 18px 12px 18px !important;
    box-sizing: border-box !important;
  }
  html.mobile-safe-header .brand {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }
  html.mobile-safe-header .brand-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html.mobile-safe-header .brand-title {
    display: block !important;
    font-size: 20px !important;
    line-height: 1.14 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  html.mobile-safe-header .brand-cn {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
    margin-top: 4px !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
  html.mobile-safe-header .brand-sub {
    display: none !important;
  }
  html.mobile-safe-header .actions {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    overflow: visible !important;
    transform: none !important;
  }
  html.mobile-safe-header .actions .btn,
  html.mobile-safe-header .actions a,
  html.mobile-safe-header .actions button {
    position: static !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
  }
  html.mobile-safe-header .lang-toggle {
    font-size: 13px !important;
    line-height: 1 !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }
  html.mobile-safe-header #waBtn {
    font-size: 15px !important;
    line-height: 1 !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }
  html.mobile-safe-header .hero,
  html.mobile-safe-header main,
  html.mobile-safe-header .about,
  html.mobile-safe-header .footer,
  html.mobile-safe-header .hero .container,
  html.mobile-safe-header main.container,
  html.mobile-safe-header .about .container,
  html.mobile-safe-header .footer .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }
}

/* Emergency fix for Facebook / Instagram in-app browsers on iPhone/Android.
   Uses device-width and JS class so it works even when the in-app browser reports a strange viewport. */
@media screen and (max-device-width: 920px), screen and (max-width: 920px) {
  html, body {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }
  .topbar,
  .header-social-left,
  .search,
  .header-trust,
  .brand-sub {
    display: none !important;
  }
  .header,
  .header .container,
  .header-inner {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 16px 18px 14px 18px !important;
  }
  .brand {
    display: block !important;
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .brand-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .brand-title {
    display: block !important;
    font-size: 20px !important;
    line-height: 1.16 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .brand-cn {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.16 !important;
    margin-top: 4px !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .actions {
    position: static !important;
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    overflow: visible !important;
  }
  .actions .btn,
  .actions a,
  .actions button,
  .lang-toggle,
  #waBtn {
    position: static !important;
    flex: 0 0 auto !important;
    transform: none !important;
    white-space: nowrap !important;
    max-width: calc(100vw - 36px) !important;
  }
  .lang-toggle {
    font-size: 13px !important;
    padding: 9px 14px !important;
    line-height: 1 !important;
  }
  #waBtn {
    font-size: 15px !important;
    padding: 11px 18px !important;
    line-height: 1 !important;
  }
  .hero,
  .hero .container,
  main,
  main.container,
  .about,
  .footer {
    width: 100vw !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

html.force-mobile-header,
html.force-mobile-header body {
  width: 100vw !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
html.force-mobile-header .topbar,
html.force-mobile-header .header-social-left,
html.force-mobile-header .search,
html.force-mobile-header .header-trust,
html.force-mobile-header .brand-sub {
  display: none !important;
}
html.force-mobile-header .header,
html.force-mobile-header .header .container,
html.force-mobile-header .header-inner {
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
html.force-mobile-header .header-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  padding: 16px 18px 14px 18px !important;
}
html.force-mobile-header .brand {
  display: block !important;
  order: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  flex: none !important;
  text-align: left !important;
}
html.force-mobile-header .actions {
  position: static !important;
  order: 2 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 10px !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
}
html.force-mobile-header .lang-toggle {
  font-size: 13px !important;
  padding: 9px 14px !important;
}
html.force-mobile-header #waBtn {
  font-size: 15px !important;
  padding: 11px 18px !important;
}


/* Mobile in-app header: show Facebook/Instagram icons and trust badges safely */
@media screen and (max-device-width: 920px), screen and (max-width: 920px) {
  .header-social-left,
  html.mobile-safe-header .header-social-left,
  html.force-mobile-header .header-social-left {
    display: flex !important;
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .header-social-btn,
  html.mobile-safe-header .header-social-btn,
  html.force-mobile-header .header-social-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    flex: 0 0 32px !important;
  }
  .header-social-btn img,
  html.mobile-safe-header .header-social-btn img,
  html.force-mobile-header .header-social-btn img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain !important;
  }
  .actions,
  html.mobile-safe-header .actions,
  html.force-mobile-header .actions {
    order: 3 !important;
  }
  .header-trust,
  html.mobile-safe-header .header-trust,
  html.force-mobile-header .header-trust {
    display: flex !important;
    order: 4 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    gap: 5px !important;
    overflow: hidden !important;
  }
  .trust-badges,
  .trust-response,
  html.mobile-safe-header .trust-badges,
  html.mobile-safe-header .trust-response,
  html.force-mobile-header .trust-badges,
  html.force-mobile-header .trust-response {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
  .trust-pill,
  html.mobile-safe-header .trust-pill,
  html.force-mobile-header .trust-pill {
    width: 100% !important;
    max-width: 100% !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    justify-content: center !important;
  }
  .trust-response span,
  html.mobile-safe-header .trust-response span,
  html.force-mobile-header .trust-response span {
    font-size: 11px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* Fix mobile Facebook/Instagram white video thumbnails */
.media video { background:#000; }
.video-preview{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background-color:#111827;background-size:cover;background-position:center;position:relative;overflow:hidden;}
.video-preview::before{content:"";position:absolute;inset:0;background:rgba(15,23,42,.18);}
.video-play{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:rgba(255,255,255,.92);color:#111827;font-size:13px;line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.2);padding-left:2px;}
.media .main-video-preview .video-play{width:64px;height:64px;font-size:30px;}
.thumb .video-preview{border-radius:8px;background-color:#0f172a;}
.thumb .video-play{width:24px;height:24px;font-size:11px;}
@media (max-width: 768px){
  .thumb .video-preview{background-color:#111827!important;}
  .thumb .video-play{display:inline-flex!important;}
}


/* Product videos autoplay in product list */
.product-thumb-video{width:100%;height:100%;object-fit:cover;display:block;background:#000;border-radius:8px;}
.product-main-video{width:100%;height:100%;object-fit:cover;display:block;background:#000;}
.media.contain-media .product-main-video{object-fit:contain;background:#000;}
@media (max-width: 768px){
  .product-thumb-video{background:#000;}
}


/* Alibaba-style product detail modal */
.product-title-link{appearance:none;border:0;background:transparent;padding:0;margin:0;text-align:left;font:inherit;font-weight:900;color:#111827;cursor:pointer;line-height:1.35}.product-title-link:hover{color:var(--orange);text-decoration:underline;text-underline-offset:4px}.modal-open{overflow:hidden}.product-detail-modal{position:fixed;inset:0;z-index:9999}.product-detail-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.62);backdrop-filter:blur(3px)}.product-detail-panel{position:relative;margin:28px auto;width:min(1180px,calc(100% - 28px));max-height:calc(100vh - 56px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.35);padding:24px}.product-detail-close{position:sticky;top:0;float:right;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#0f172a;color:white;font-size:28px;line-height:1;cursor:pointer}.product-detail-grid{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(320px,.95fr);gap:24px;clear:both}.detail-gallery,.detail-info,.detail-section{background:#fff;border:1px solid #eef2f7;border-radius:22px;padding:18px}.detail-main{height:520px;background:#f8fafc;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}.detail-main img,.detail-main video{width:100%;height:100%;object-fit:contain;background:#fff}.detail-thumbs{display:flex;gap:10px;margin-top:14px;overflow:auto;padding-bottom:4px}.detail-thumb{position:relative;width:82px;height:72px;border:2px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;padding:0;cursor:pointer;flex:0 0 auto}.detail-thumb.active,.detail-thumb:hover{border-color:var(--orange)}.detail-thumb img,.detail-thumb video{width:100%;height:100%;object-fit:cover}.detail-thumb span{position:absolute;inset:auto 6px 6px auto;background:rgba(15,23,42,.78);color:#fff;border-radius:50%;font-size:11px;width:22px;height:22px;display:flex;align-items:center;justify-content:center}.detail-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.detail-badges span{border:1px solid #fed7aa;background:#fff7ed;color:#c2410c;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900}.detail-info h1{font-size:30px;line-height:1.2;margin:0 0 14px}.detail-desc{color:#64748b;line-height:1.7}.detail-price-box{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:16px;margin:18px 0}.detail-price-box small{display:block;color:#9a3412;margin-bottom:6px}.detail-price-box b{font-size:22px;color:#ea580c}.detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.detail-supplier{display:grid;gap:8px;color:#475569;background:#f8fafc;border-radius:18px;padding:16px}.detail-supplier b{color:#0f172a}.detail-section{grid-column:1/-1}.detail-section h2{margin:0 0 12px;font-size:22px}.detail-section p{color:#475569;line-height:1.8}.detail-specs{width:100%;border-collapse:collapse}.detail-specs th,.detail-specs td{border:1px solid #e5e7eb;padding:12px;text-align:left}.detail-specs th{width:220px;background:#f8fafc;color:#334155}.detail-no-media{color:#94a3b8;padding:40px;text-align:center}
@media(max-width:800px){.product-detail-panel{width:calc(100% - 16px);margin:8px auto;max-height:calc(100vh - 16px);padding:14px;border-radius:18px}.product-detail-grid{grid-template-columns:1fr;gap:14px}.detail-main{height:360px}.detail-info h1{font-size:24px}.detail-section{grid-column:auto}.detail-price-box{grid-template-columns:1fr}.detail-specs th{width:42%}.product-detail-close{width:38px;height:38px;font-size:24px}}

/* Mobile optimization for product detail modal */
.product-detail-panel,
.product-detail-panel *{box-sizing:border-box;}
.product-detail-grid,
.detail-gallery,
.detail-info,
.detail-section{min-width:0;}
.detail-info h1,
.detail-desc,
.detail-section p,
.detail-supplier span{overflow-wrap:anywhere;word-break:break-word;}
.product-detail-modal{overflow:hidden;}
.product-detail-panel{-webkit-overflow-scrolling:touch;}

@media (max-width: 640px){
  .product-detail-modal{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;}
  .product-detail-backdrop{display:none;}
  .product-detail-panel{
    position:absolute;
    inset:0;
    width:100vw;
    max-width:100vw;
    height:100vh;
    height:100dvh;
    max-height:none;
    margin:0;
    border-radius:0;
    padding:calc(12px + env(safe-area-inset-top, 0px)) 12px calc(18px + env(safe-area-inset-bottom, 0px));
    overflow-y:auto;
    overflow-x:hidden;
    box-shadow:none;
  }
  .product-detail-close{
    position:sticky;
    top:calc(8px + env(safe-area-inset-top, 0px));
    float:none;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-left:auto;
    margin-bottom:8px;
    width:40px;
    height:40px;
    min-width:40px;
    border-radius:999px;
    font-size:26px;
    line-height:1;
    z-index:20;
    box-shadow:0 8px 22px rgba(15,23,42,.22);
  }
  .product-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    clear:none;
    width:100%;
  }
  .detail-gallery,
  .detail-info,
  .detail-section{
    width:100%;
    border-radius:16px;
    padding:12px;
  }
  .detail-main{
    height:min(64vh, 380px);
    min-height:260px;
    border-radius:14px;
  }
  .detail-main img,
  .detail-main video{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
  }
  .detail-thumbs{
    gap:8px;
    margin-top:10px;
    padding:0 0 8px;
    -webkit-overflow-scrolling:touch;
  }
  .detail-thumb{
    width:66px;
    height:58px;
    border-radius:10px;
    flex:0 0 66px;
  }
  .detail-badges{
    gap:6px;
    margin-bottom:10px;
  }
  .detail-badges span{
    font-size:11px;
    padding:5px 8px;
  }
  .detail-info h1{
    font-size:21px;
    line-height:1.25;
    margin-bottom:10px;
  }
  .detail-desc{
    font-size:14px;
    line-height:1.55;
    margin:0;
  }
  .detail-price-box{
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px;
    margin:12px 0;
    border-radius:14px;
  }
  .detail-price-box b{
    font-size:18px;
  }
  .detail-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-bottom:12px;
  }
  .detail-actions .btn{
    width:100%;
    justify-content:center;
    text-align:center;
    min-height:44px;
  }
  .detail-supplier{
    padding:12px;
    border-radius:14px;
    font-size:14px;
  }
  .detail-section h2{
    font-size:18px;
    margin-bottom:10px;
  }
  .detail-section p{
    font-size:14px;
    line-height:1.65;
    margin:0;
  }
  .detail-specs,
  .detail-specs tbody,
  .detail-specs tr,
  .detail-specs th,
  .detail-specs td{
    display:block;
    width:100% !important;
  }
  .detail-specs tr{
    border:1px solid #e5e7eb;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:8px;
  }
  .detail-specs th,
  .detail-specs td{
    border:0;
    padding:9px 10px;
  }
  .detail-specs th{
    background:#f8fafc;
    font-size:12px;
  }
  .detail-specs td{
    font-size:14px;
  }
}

@media (max-width: 380px){
  .detail-main{height:300px;min-height:230px;}
  .detail-price-box{grid-template-columns:1fr;}
}

/* Facebook / Instagram in-app browser product detail modal fix */
:root{
  --app-height:100vh;
  --app-width:100vw;
}
html.product-modal-open,
html.product-modal-open body{
  overscroll-behavior:none;
}
html.inapp-browser .product-detail-modal:not(.hide){
  position:fixed !important;
  top:0 !important;
  right:0 !important;
  bottom:auto !important;
  left:0 !important;
  width:var(--app-width, 100vw) !important;
  max-width:100% !important;
  height:var(--app-height, 100vh) !important;
  min-height:var(--app-height, 100vh) !important;
  overflow:hidden !important;
  z-index:2147483647 !important;
  transform:translateZ(0);
  -webkit-transform:translateZ(0);
  background:#fff;
}
html.inapp-browser .product-detail-modal:not(.hide) .product-detail-backdrop{
  display:none !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .product-detail-panel{
  position:absolute !important;
  top:0 !important;
  right:0 !important;
  bottom:auto !important;
  left:0 !important;
  width:100% !important;
  max-width:100% !important;
  height:var(--app-height, 100vh) !important;
  min-height:var(--app-height, 100vh) !important;
  max-height:var(--app-height, 100vh) !important;
  margin:0 !important;
  border-radius:0 !important;
  padding:calc(12px + env(safe-area-inset-top, 0px)) 12px calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior:contain !important;
  box-shadow:none !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .product-detail-close{
  position:sticky !important;
  top:calc(8px + env(safe-area-inset-top, 0px)) !important;
  float:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:auto !important;
  margin-bottom:8px !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  border-radius:999px !important;
  z-index:30 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.22) !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .product-detail-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  gap:12px !important;
  clear:none !important;
  width:100% !important;
  max-width:100% !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-gallery,
html.inapp-browser .product-detail-modal:not(.hide) .detail-info,
html.inapp-browser .product-detail-modal:not(.hide) .detail-section{
  width:100% !important;
  min-width:0 !important;
  border-radius:16px !important;
  padding:12px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-main{
  height:min(58vh, 360px) !important;
  min-height:230px !important;
  border-radius:14px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-main img,
html.inapp-browser .product-detail-modal:not(.hide) .detail-main video{
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-thumbs{
  gap:8px !important;
  margin-top:10px !important;
  padding-bottom:8px !important;
  overflow-x:auto !important;
  -webkit-overflow-scrolling:touch !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-thumb{
  width:66px !important;
  height:58px !important;
  flex:0 0 66px !important;
  border-radius:10px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-info h1{
  font-size:21px !important;
  line-height:1.25 !important;
  margin-bottom:10px !important;
  overflow-wrap:anywhere !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-desc,
html.inapp-browser .product-detail-modal:not(.hide) .detail-section p,
html.inapp-browser .product-detail-modal:not(.hide) .detail-supplier span{
  font-size:14px !important;
  line-height:1.6 !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-price-box{
  grid-template-columns:1fr 1fr !important;
  gap:8px !important;
  padding:12px !important;
  margin:12px 0 !important;
  border-radius:14px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-price-box b{
  font-size:18px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-actions .btn{
  width:100% !important;
  justify-content:center !important;
  text-align:center !important;
  min-height:44px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs,
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs tbody,
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs tr,
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs th,
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs td{
  display:block !important;
  width:100% !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs tr{
  border:1px solid #e5e7eb !important;
  border-radius:12px !important;
  overflow:hidden !important;
  margin-bottom:8px !important;
}
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs th,
html.inapp-browser .product-detail-modal:not(.hide) .detail-specs td{
  border:0 !important;
  padding:9px 10px !important;
}
@media (max-width:380px){
  html.inapp-browser .product-detail-modal:not(.hide) .detail-price-box{grid-template-columns:1fr !important;}
  html.inapp-browser .product-detail-modal:not(.hide) .detail-main{height:300px !important;min-height:220px !important;}
}


/* Facebook in-app browser stronger modal compatibility patch */
html.fb-browser,
html.fb-browser body{
  -webkit-text-size-adjust:100% !important;
  text-size-adjust:100% !important;
}
html.fb-browser.product-modal-open,
html.fb-browser.product-modal-open body{
  overflow:hidden !important;
  overscroll-behavior:none !important;
  touch-action:none;
}
html.fb-browser .product-detail-modal:not(.hide){
  display:block !important;
  z-index:2147483647 !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:hidden !important;
  background:#fff !important;
  transform:none !important;
  -webkit-transform:none !important;
  contain:layout paint;
}
html.fb-browser .product-detail-modal:not(.hide) .product-detail-panel{
  display:block !important;
  margin:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow-x:hidden !important;
  overflow-y:scroll !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior:contain !important;
  padding:12px 12px 24px 12px !important;
  background:#fff !important;
  transform:none !important;
  -webkit-transform:none !important;
}
html.fb-browser .product-detail-modal:not(.hide) .product-detail-close{
  position:-webkit-sticky !important;
  position:sticky !important;
  top:8px !important;
  z-index:2147483647 !important;
}
html.fb-browser .product-detail-modal:not(.hide) .product-detail-grid{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}
html.fb-browser .product-detail-modal:not(.hide) .detail-gallery,
html.fb-browser .product-detail-modal:not(.hide) .detail-info,
html.fb-browser .product-detail-modal:not(.hide) .detail-section{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 12px 0 !important;
  box-sizing:border-box !important;
}
html.fb-browser .product-detail-modal:not(.hide) .detail-main{
  width:100% !important;
  height:320px !important;
  min-height:220px !important;
  max-height:45vh !important;
}
html.fb-browser .product-detail-modal:not(.hide) .detail-main img,
html.fb-browser .product-detail-modal:not(.hide) .detail-main video{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
@media (max-width:420px){
  html.fb-browser .product-detail-modal:not(.hide) .detail-main{height:285px !important;}
}

/* Facebook in-app browser emergency width clamp v2
   Fixes FB WebView reporting double/physical viewport width, which made the modal content wider than the phone. */
html.fb-browser .product-detail-modal:not(.hide),
html.fb-browser .product-detail-modal:not(.hide) *{
  max-width:100% !important;
  box-sizing:border-box !important;
}
html.fb-browser .product-detail-modal:not(.hide){
  width:var(--app-width, 100vw) !important;
  max-width:var(--app-width, 100vw) !important;
  min-width:0 !important;
  left:0 !important;
  right:auto !important;
  overflow:hidden !important;
}
html.fb-browser .product-detail-modal:not(.hide) .product-detail-panel{
  width:var(--app-width, 100vw) !important;
  max-width:var(--app-width, 100vw) !important;
  min-width:0 !important;
  padding-left:12px !important;
  padding-right:12px !important;
  overflow-x:hidden !important;
}
html.fb-browser .product-detail-modal:not(.hide) #productDetailContent,
html.fb-browser .product-detail-modal:not(.hide) .product-detail-grid,
html.fb-browser .product-detail-modal:not(.hide) .detail-gallery,
html.fb-browser .product-detail-modal:not(.hide) .detail-info,
html.fb-browser .product-detail-modal:not(.hide) .detail-section,
html.fb-browser .product-detail-modal:not(.hide) .detail-price-box,
html.fb-browser .product-detail-modal:not(.hide) .detail-supplier{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:hidden !important;
}
html.fb-browser .product-detail-modal:not(.hide) .detail-desc,
html.fb-browser .product-detail-modal:not(.hide) .detail-info h1,
html.fb-browser .product-detail-modal:not(.hide) .detail-section p,
html.fb-browser .product-detail-modal:not(.hide) .detail-supplier span,
html.fb-browser .product-detail-modal:not(.hide) .detail-price-box b,
html.fb-browser .product-detail-modal:not(.hide) .detail-price-box small{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  max-width:100% !important;
}
html.fb-browser .product-detail-modal:not(.hide) .detail-thumbs{
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
}
@media (max-width:520px){
  html.fb-browser .product-detail-modal:not(.hide) .detail-price-box{
    grid-template-columns:1fr !important;
  }
  html.fb-browser .product-detail-modal:not(.hide) .detail-info h1{
    font-size:22px !important;
  }
}


/* Facebook in-app browser: use real product detail page instead of fixed modal */
html.product-page-mode,
html.product-page-mode body{
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  overflow-x:hidden !important;
  background:#fff !important;
  -webkit-text-size-adjust:100% !important;
  text-size-adjust:100% !important;
}
.fb-product-page,
.fb-product-page *{
  box-sizing:border-box !important;
  max-width:100% !important;
}
.fb-product-page{
  width:100% !important;
  max-width:100vw !important;
  min-height:100vh !important;
  padding:12px 12px 28px !important;
  background:#fff !important;
  overflow-x:hidden !important;
}
.fb-product-page-top{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  padding:8px 0;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(8px);
  color:#64748b;
  font-size:13px;
}
.fb-product-page-back{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:999px;
  padding:8px 14px;
  color:#0f172a;
  font-weight:900;
  font-size:15px;
}
.fb-product-page .product-detail-grid{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}
.fb-product-page .detail-gallery,
.fb-product-page .detail-info,
.fb-product-page .detail-section{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 14px !important;
  padding:14px !important;
  border-radius:18px !important;
  overflow:hidden !important;
}
.fb-product-page .detail-main{
  width:100% !important;
  height:360px !important;
  min-height:260px !important;
  max-height:48vh !important;
}
.fb-product-page .detail-main img,
.fb-product-page .detail-main video{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
}
.fb-product-page .detail-thumbs{
  width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  padding-bottom:8px !important;
}
.fb-product-page .detail-thumb{
  flex:0 0 82px !important;
}
.fb-product-page .detail-badges{
  flex-wrap:wrap !important;
}
.fb-product-page .detail-info h1{
  font-size:24px !important;
  line-height:1.2 !important;
  overflow-wrap:anywhere !important;
}
.fb-product-page .detail-desc,
.fb-product-page .detail-section p,
.fb-product-page .detail-supplier span,
.fb-product-page .detail-price-box b,
.fb-product-page .detail-price-box small{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
.fb-product-page .detail-price-box{
  grid-template-columns:1fr 1fr !important;
  width:100% !important;
  overflow:hidden !important;
}
.fb-product-page .detail-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}
.fb-product-page .detail-actions .btn{
  width:100% !important;
  justify-content:center !important;
  min-height:52px !important;
}
.fb-product-page .detail-specs,
.fb-product-page .detail-specs tbody,
.fb-product-page .detail-specs tr,
.fb-product-page .detail-specs th,
.fb-product-page .detail-specs td{
  display:block !important;
  width:100% !important;
}
.fb-product-page .detail-specs tr{
  margin:0 0 10px !important;
  border:1px solid #e5e7eb !important;
  border-radius:14px !important;
  overflow:hidden !important;
}
.fb-product-page .detail-specs th,
.fb-product-page .detail-specs td{
  border:0 !important;
  padding:10px 12px !important;
}
@media (max-width:430px){
  .fb-product-page{padding:10px 10px 24px !important;}
  .fb-product-page .detail-main{height:330px !important;}
  .fb-product-page .detail-info h1{font-size:22px !important;}
}
@media (max-width:380px){
  .fb-product-page .detail-price-box{grid-template-columns:1fr !important;}
  .fb-product-page .detail-main{height:300px !important;}
}


/* Facebook product detail page final safe-width patch
   FB in-app browser sometimes reports physical-pixel viewport width. This page uses --fb-page-width from JS. */
html.fb-browser.product-page-mode,
html.fb-browser.product-page-mode body{
  width:var(--fb-page-width, var(--app-width, 100%)) !important;
  max-width:var(--fb-page-width, var(--app-width, 100%)) !important;
  min-width:0 !important;
  overflow-x:hidden !important;
  position:static !important;
  margin:0 auto !important;
}
html.fb-browser.product-page-mode *{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
html.fb-browser.product-page-mode .fb-product-page{
  width:var(--fb-page-width, var(--app-width, 100%)) !important;
  max-width:var(--fb-page-width, var(--app-width, 100%)) !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:10px 10px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  overflow-x:hidden !important;
  background:#fff !important;
}
html.fb-browser.product-page-mode .fb-product-page .product-detail-grid,
html.fb-browser.product-page-mode .fb-product-page .detail-gallery,
html.fb-browser.product-page-mode .fb-product-page .detail-info,
html.fb-browser.product-page-mode .fb-product-page .detail-section,
html.fb-browser.product-page-mode .fb-product-page .detail-supplier,
html.fb-browser.product-page-mode .fb-product-page .detail-price-box{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:hidden !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-gallery,
html.fb-browser.product-page-mode .fb-product-page .detail-info,
html.fb-browser.product-page-mode .fb-product-page .detail-section{
  padding:12px !important;
  margin:0 0 12px !important;
  border-radius:16px !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-price-box{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
  padding:14px !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-actions{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:10px !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-actions .btn{
  width:100% !important;
  max-width:100% !important;
  min-height:50px !important;
  justify-content:center !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-desc,
html.fb-browser.product-page-mode .fb-product-page .detail-section p,
html.fb-browser.product-page-mode .fb-product-page .detail-supplier span,
html.fb-browser.product-page-mode .fb-product-page h1,
html.fb-browser.product-page-mode .fb-product-page td,
html.fb-browser.product-page-mode .fb-product-page th,
html.fb-browser.product-page-mode .fb-product-page b,
html.fb-browser.product-page-mode .fb-product-page small{
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  overflow:hidden !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-main{
  width:100% !important;
  height:320px !important;
  min-height:240px !important;
  max-height:48vh !important;
  overflow:hidden !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-thumbs{
  display:flex !important;
  flex-wrap:nowrap !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-thumb{
  flex:0 0 76px !important;
  width:76px !important;
  max-width:76px !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-specs,
html.fb-browser.product-page-mode .fb-product-page .detail-specs tbody,
html.fb-browser.product-page-mode .fb-product-page .detail-specs tr,
html.fb-browser.product-page-mode .fb-product-page .detail-specs th,
html.fb-browser.product-page-mode .fb-product-page .detail-specs td{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-badges{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:7px !important;
}
html.fb-browser.product-page-mode .fb-product-page .detail-badges span{
  max-width:100% !important;
  font-size:12px !important;
}

/* Visible back button for Facebook/Instagram in-app product detail page */
.fb-product-page-floating-back{
  position:fixed !important;
  left:12px !important;
  top:calc(76px + env(safe-area-inset-top, 0px)) !important;
  z-index:99999 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  min-height:40px !important;
  padding:9px 14px !important;
  border:1px solid rgba(15,23,42,.12) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.96) !important;
  color:#0f172a !important;
  font-size:15px !important;
  font-weight:900 !important;
  line-height:1 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.14) !important;
  -webkit-backdrop-filter:blur(8px) !important;
  backdrop-filter:blur(8px) !important;
  cursor:pointer !important;
  max-width:140px !important;
  white-space:nowrap !important;
}
.fb-product-page-top{
  padding-top:calc(8px + env(safe-area-inset-top, 0px)) !important;
}
html.fb-browser.product-page-mode .fb-product-page{
  padding-top:58px !important;
}
html.fb-browser.product-page-mode .fb-product-page-floating-back{
  top:calc(64px + env(safe-area-inset-top, 0px)) !important;
  left:12px !important;
}
@media (max-width:430px){
  .fb-product-page-floating-back{
    top:calc(60px + env(safe-area-inset-top, 0px)) !important;
    left:10px !important;
    min-height:38px !important;
    padding:8px 12px !important;
    font-size:14px !important;
  }
  html.fb-browser.product-page-mode .fb-product-page{padding-top:54px !important;}
}


/* Facebook in-app detail page: use the same round X return button style as Instagram modal */
html.fb-browser.product-page-mode .fb-product-page{
  position:relative !important;
  padding-top:calc(76px + env(safe-area-inset-top, 0px)) !important;
}
html.fb-browser.product-page-mode .fb-product-page-close{
  position:fixed !important;
  top:calc(74px + env(safe-area-inset-top, 0px)) !important;
  right:calc(16px + env(safe-area-inset-right, 0px)) !important;
  z-index:99999 !important;
  width:58px !important;
  height:58px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#0f172a !important;
  color:#fff !important;
  font-size:42px !important;
  font-weight:300 !important;
  line-height:54px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 10px 30px rgba(15,23,42,.22) !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
}
html.fb-browser.product-page-mode .fb-product-page-top,
html.fb-browser.product-page-mode .fb-product-page-back,
html.fb-browser.product-page-mode .fb-product-page-floating-back{
  display:none !important;
}
@media (max-width:430px){
  html.fb-browser.product-page-mode .fb-product-page-close{
    width:56px !important;
    height:56px !important;
    font-size:40px !important;
    line-height:52px !important;
    right:calc(14px + env(safe-area-inset-right, 0px)) !important;
  }
}


/* FINAL: Facebook product detail page return button must match Instagram modal X exactly */
html.fb-browser.product-page-mode .fb-product-page{
  padding-top:calc(12px + env(safe-area-inset-top, 0px)) !important;
}
html.fb-browser.product-page-mode .fb-product-page-close,
html.fb-browser.product-page-mode .fb-product-page-close.product-detail-close{
  position:-webkit-sticky !important;
  position:sticky !important;
  top:calc(8px + env(safe-area-inset-top, 0px)) !important;
  right:auto !important;
  left:auto !important;
  float:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-left:auto !important;
  margin-right:0 !important;
  margin-top:0 !important;
  margin-bottom:8px !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  min-height:42px !important;
  max-height:42px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:#0f172a !important;
  color:#fff !important;
  font-size:28px !important;
  font-weight:400 !important;
  line-height:1 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.22) !important;
  z-index:2147483647 !important;
  cursor:pointer !important;
  -webkit-tap-highlight-color:transparent !important;
  transform:none !important;
  -webkit-transform:none !important;
}
html.fb-browser.product-page-mode .fb-product-page-top,
html.fb-browser.product-page-mode .fb-product-page-back,
html.fb-browser.product-page-mode .fb-product-page-floating-back{
  display:none !important;
}
@media (max-width:430px){
  html.fb-browser.product-page-mode .fb-product-page-close,
  html.fb-browser.product-page-mode .fb-product-page-close.product-detail-close{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    font-size:28px !important;
    line-height:1 !important;
    top:calc(8px + env(safe-area-inset-top, 0px)) !important;
  }
}

.detail-spec-section th{background:#fff7ed!important;color:#9a3412!important;font-weight:900;text-transform:uppercase;letter-spacing:.03em;}
.detail-specs td{overflow-wrap:anywhere;word-break:break-word;}

/* Mobile product parameters visibility fix
   Keep the full desktop parameter table, and add a mobile-safe copy directly inside the product info card. */
.detail-mobile-spec-section{
  display:none;
}
.detail-mobile-spec-section h2{
  margin:0 0 12px;
  font-size:22px;
  color:#0f172a;
}
@media (max-width: 800px){
  .product-detail-modal:not(.hide) .detail-mobile-spec-section,
  .fb-product-page .detail-mobile-spec-section{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:14px 0 0 !important;
    padding:14px !important;
    border:1px solid #eef2f7 !important;
    border-radius:16px !important;
    background:#fff !important;
    overflow:visible !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section h2,
  .fb-product-page .detail-mobile-spec-section h2{
    display:block !important;
    margin:0 0 10px !important;
    font-size:18px !important;
    line-height:1.25 !important;
    color:#0f172a !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap,
  .fb-product-page .detail-spec-section-wrap{
    display:none !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs,
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs tbody,
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs tr,
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs th,
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs td,
  .fb-product-page .detail-mobile-spec-section .detail-specs,
  .fb-product-page .detail-mobile-spec-section .detail-specs tbody,
  .fb-product-page .detail-mobile-spec-section .detail-specs tr,
  .fb-product-page .detail-mobile-spec-section .detail-specs th,
  .fb-product-page .detail-mobile-spec-section .detail-specs td{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs,
  .fb-product-page .detail-mobile-spec-section .detail-specs{
    border-collapse:separate !important;
    border-spacing:0 !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs tr,
  .fb-product-page .detail-mobile-spec-section .detail-specs tr{
    margin:0 0 8px !important;
    border:1px solid #e5e7eb !important;
    border-radius:12px !important;
    overflow:hidden !important;
    background:#fff !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs th,
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs td,
  .fb-product-page .detail-mobile-spec-section .detail-specs th,
  .fb-product-page .detail-mobile-spec-section .detail-specs td{
    border:0 !important;
    padding:9px 10px !important;
    text-align:left !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs th,
  .fb-product-page .detail-mobile-spec-section .detail-specs th{
    background:#f8fafc !important;
    color:#334155 !important;
    font-size:12px !important;
    font-weight:900 !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-specs td,
  .fb-product-page .detail-mobile-spec-section .detail-specs td{
    color:#0f172a !important;
    font-size:14px !important;
    line-height:1.55 !important;
  }
  .product-detail-modal:not(.hide) .detail-mobile-spec-section .detail-spec-section th,
  .fb-product-page .detail-mobile-spec-section .detail-spec-section th{
    background:#fff7ed !important;
    color:#c2410c !important;
    text-transform:uppercase !important;
    letter-spacing:.02em !important;
  }
}

/* Final fix: make mobile product parameters use the exact same desktop specification table.
   The earlier mobile duplicate section is hidden so desktop/mobile content cannot diverge. */
@media (max-width: 800px){
  .product-detail-modal:not(.hide) .detail-mobile-spec-section,
  .fb-product-page .detail-mobile-spec-section{
    display:none !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap,
  .fb-product-page .detail-spec-section-wrap{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:16px 0 0 !important;
    padding:14px !important;
    border:1px solid #e5e7eb !important;
    border-radius:16px !important;
    background:#fff !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap h2,
  .fb-product-page .detail-spec-section-wrap h2{
    display:block !important;
    margin:0 0 12px !important;
    font-size:18px !important;
    line-height:1.25 !important;
    color:#0f172a !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs,
  .fb-product-page .detail-spec-section-wrap .detail-specs{
    display:table !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    table-layout:fixed !important;
    border-collapse:collapse !important;
    border-spacing:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs tbody,
  .fb-product-page .detail-spec-section-wrap .detail-specs tbody{
    display:table-row-group !important;
    width:100% !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs tr,
  .fb-product-page .detail-spec-section-wrap .detail-specs tr{
    display:table-row !important;
    width:100% !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs th,
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs td,
  .fb-product-page .detail-spec-section-wrap .detail-specs th,
  .fb-product-page .detail-spec-section-wrap .detail-specs td{
    display:table-cell !important;
    border:1px solid #e5e7eb !important;
    padding:9px 8px !important;
    vertical-align:top !important;
    text-align:left !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    box-sizing:border-box !important;
    line-height:1.45 !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs th,
  .fb-product-page .detail-spec-section-wrap .detail-specs th{
    width:42% !important;
    max-width:42% !important;
    background:#f8fafc !important;
    color:#334155 !important;
    font-size:12px !important;
    font-weight:900 !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs td,
  .fb-product-page .detail-spec-section-wrap .detail-specs td{
    width:58% !important;
    max-width:58% !important;
    color:#0f172a !important;
    font-size:13px !important;
  }
  .product-detail-modal:not(.hide) .detail-spec-section-wrap .detail-specs .detail-spec-section th,
  .fb-product-page .detail-spec-section-wrap .detail-specs .detail-spec-section th{
    display:table-cell !important;
    width:100% !important;
    max-width:100% !important;
    background:#fff7ed !important;
    color:#c2410c !important;
    font-size:12px !important;
    text-transform:uppercase !important;
    letter-spacing:.02em !important;
  }
}


/* Final parameter consistency fix: mobile/Facebook/Instagram use the same localized table as desktop. */
.detail-mobile-spec-section{display:none !important;}
@media (max-width:800px){
  .product-detail-modal:not(.hide) .detail-spec-section-wrap,
  .fb-product-page .detail-spec-section-wrap{display:block !important;}
}


/* Final in-app/Safari parameter consistency patch: show the exact same specification table structure as desktop. */
html.product-page-mode,
html.product-page-mode body{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
  -webkit-text-size-adjust:100% !important;
}
.fb-product-page{
  width:100% !important;
  max-width:100% !important;
  overflow-x:hidden !important;
  padding-left:max(10px, env(safe-area-inset-left)) !important;
  padding-right:max(10px, env(safe-area-inset-right)) !important;
  padding-top:max(10px, env(safe-area-inset-top)) !important;
}
.fb-product-page .product-detail-grid{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
}
.fb-product-page .detail-gallery,
.fb-product-page .detail-info,
.fb-product-page .detail-section{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
}
.fb-product-page .detail-spec-section-wrap{
  overflow-x:auto !important;
  overflow-y:visible !important;
  -webkit-overflow-scrolling:touch !important;
}
.fb-product-page .detail-specs{
  display:table !important;
  width:100% !important;
  min-width:620px !important;
  border-collapse:collapse !important;
  table-layout:auto !important;
}
.fb-product-page .detail-specs tbody{display:table-row-group !important; width:auto !important;}
.fb-product-page .detail-specs tr{display:table-row !important; width:auto !important; margin:0 !important; border:0 !important; border-radius:0 !important; overflow:visible !important;}
.fb-product-page .detail-specs th,
.fb-product-page .detail-specs td{
  display:table-cell !important;
  width:auto !important;
  border:1px solid #e5e7eb !important;
  padding:12px !important;
  text-align:left !important;
  vertical-align:top !important;
  white-space:normal !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
}
.fb-product-page .detail-specs th{width:220px !important; background:#f8fafc !important; color:#334155 !important;}
.fb-product-page .detail-specs .detail-spec-section th{width:auto !important; background:#fff7ed !important; color:#9a3412 !important; font-weight:900 !important;}
.fb-product-page .detail-price-box{grid-template-columns:1fr !important;}
.fb-product-page .detail-info h1,
.fb-product-page .detail-desc,
.fb-product-page .detail-section p,
.fb-product-page .detail-supplier,
.fb-product-page .detail-supplier span{
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
}
@supports (-webkit-touch-callout: none){
  .fb-product-page .detail-main{height:330px !important; max-height:48vh !important;}
  .fb-product-page .detail-gallery,
  .fb-product-page .detail-info,
  .fb-product-page .detail-section{border-radius:18px !important;}
  .fb-product-page .product-detail-close{position:fixed !important; top:max(10px, env(safe-area-inset-top)) !important; right:max(12px, env(safe-area-inset-right)) !important; z-index:99999 !important;}
}

/* FINAL FIX: Keep Facebook in-app product detail X return button visible while scrolling.
   The previous sticky version could scroll out/disappear in Facebook WebView. */
html.fb-browser.product-page-mode .fb-product-page-close,
html.fb-browser.product-page-mode .fb-product-page-close.product-detail-close{
  position:fixed !important;
  top:calc(10px + env(safe-area-inset-top, 0px)) !important;
  right:calc(12px + env(safe-area-inset-right, 0px)) !important;
  left:auto !important;
  bottom:auto !important;
  margin:0 !important;
  float:none !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  min-height:42px !important;
  max-height:42px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:#0f172a !important;
  color:#fff !important;
  font-size:28px !important;
  font-weight:400 !important;
  line-height:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  z-index:2147483647 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.22) !important;
  cursor:pointer !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  -webkit-transform:translateZ(0) !important;
  transform:translateZ(0) !important;
  -webkit-backface-visibility:hidden !important;
  backface-visibility:hidden !important;
  -webkit-tap-highlight-color:transparent !important;
}
html.fb-browser.product-page-mode .fb-product-page{
  padding-top:calc(12px + env(safe-area-inset-top, 0px)) !important;
}

/* REAL FINAL FIX 2026-05-23: Facebook in-app product detail X must stay visible while scrolling.
   The previous final rule changed it back to sticky, so Facebook could scroll it away.
   This rule is intentionally placed last and forces a viewport-fixed Instagram-style X. */
html.fb-browser.product-page-mode body > .fb-product-page > .fb-product-page-close,
html.fb-browser.product-page-mode .fb-product-page-close.product-detail-close,
html.fb-browser.product-page-mode .fb-product-page .fb-product-page-close{
  position:fixed !important;
  -webkit-position:fixed !important;
  top:calc(12px + env(safe-area-inset-top, 0px)) !important;
  right:calc(12px + env(safe-area-inset-right, 0px)) !important;
  left:auto !important;
  bottom:auto !important;
  float:none !important;
  margin:0 !important;
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  min-height:42px !important;
  max-height:42px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:999px !important;
  background:#0f172a !important;
  color:#fff !important;
  font-size:28px !important;
  font-weight:400 !important;
  line-height:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  z-index:2147483647 !important;
  box-shadow:0 8px 22px rgba(15,23,42,.22) !important;
  transform:translateZ(0) !important;
  -webkit-transform:translateZ(0) !important;
  will-change:transform !important;
  -webkit-tap-highlight-color:transparent !important;
}
html.fb-browser.product-page-mode .fb-product-page{
  padding-top:calc(12px + env(safe-area-inset-top, 0px)) !important;
}

/* Header background color updated to match the light blue Alibaba supplier header style */
.header{
  background: linear-gradient(105deg, #eaf6ff 0%, #d7ecff 42%, #bddcff 100%) !important;
  box-shadow: 0 1px 14px rgba(15,23,42,.08) !important;
}
.header .container,
.header-inner{
  background: transparent !important;
}


/* Mobile home header layout update: center and enlarge company name, hide response-rate row */
@media (max-width: 920px) {
  html.mobile-safe-header .header-inner,
  html.force-mobile-header .header-inner,
  .force-mobile-header .header-inner {
    align-items: center !important;
    text-align: center !important;
  }
  html.mobile-safe-header .brand,
  html.force-mobile-header .brand,
  .force-mobile-header .brand {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  html.mobile-safe-header .brand-text,
  html.force-mobile-header .brand-text,
  .force-mobile-header .brand-text {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  html.mobile-safe-header .brand-title,
  html.force-mobile-header .brand-title,
  .force-mobile-header .brand-title {
    font-size: clamp(28px, 7.2vw, 36px) !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    text-align: center !important;
  }
  html.mobile-safe-header .brand-cn,
  html.force-mobile-header .brand-cn,
  .force-mobile-header .brand-cn {
    font-size: clamp(19px, 5.2vw, 26px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-top: 6px !important;
  }
  html.mobile-safe-header .header-social-left,
  html.force-mobile-header .header-social-left,
  .force-mobile-header .header-social-left {
    justify-content: center !important;
  }
  html.mobile-safe-header .actions,
  html.force-mobile-header .actions,
  .force-mobile-header .actions {
    justify-content: center !important;
  }
  html.mobile-safe-header .trust-response,
  html.force-mobile-header .trust-response,
  .force-mobile-header .trust-response {
    display: none !important;
  }
  html.mobile-safe-header .header-trust,
  html.force-mobile-header .header-trust,
  .force-mobile-header .header-trust {
    max-width: 100% !important;
    margin: 0 auto !important;
  }
  html.mobile-safe-header .trust-badges,
  html.force-mobile-header .trust-badges,
  .force-mobile-header .trust-badges {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    gap: 8px !important;
  }
}


/* Product list images: keep full product visible while reducing uneven white margins */
.media.contain-media img,
.card .media img{
  object-fit: contain !important;
  background: #fff !important;
  transition: transform .25s ease;
}
.card .media{
  overflow: hidden;
  background:#fff !important;
}
.card .media.contain-media{
  padding: 2px !important;
}
.card .media.contain-portrait img{
  transform: scale(1.15) !important;
}
.card .media.contain-balanced img{
  transform: scale(1.08) !important;
}
@media (max-width: 768px){
  .card .media.contain-portrait img{
    transform: scale(1.12) !important;
  }
  .card .media.contain-balanced img{
    transform: scale(1.05) !important;
  }
}

/* Home application image gallery inserted between hero and product section */
.home-application-gallery{
  background:#f1f5f9;
  padding:26px 0 8px;
  margin:0;
}
.home-application-gallery .container{
  max-width:none;
  width:100%;
  padding-left:0;
  padding-right:0;
}
.home-application-carousel{
  --gallery-gap: 24px;
  overflow:hidden;
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%);
}
.home-application-track{
  display:flex;
  align-items:stretch;
  gap:var(--gallery-gap);
  width:max-content;
  animation:homeApplicationsScrollX 28s linear infinite;
  will-change:transform;
}
.home-application-carousel:hover .home-application-track{
  animation-play-state:paused;
}
.home-application-carousel.mobile-animation-paused .home-application-track{
  animation-play-state:paused !important;
}
.home-application-slide{
  flex:0 0 clamp(540px, 32vw, 660px);
  margin:0;
}
.home-application-slide img{
  width:100%;
  height:auto;
  display:block;
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 34px rgba(15,23,42,.10);
  border:1px solid rgba(148,163,184,.20);
  box-sizing:border-box;
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
}
@keyframes homeApplicationsScrollX{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - (var(--gallery-gap) / 2)));}
}
@keyframes homeApplicationsScrollY{
  from{transform:translateY(0);}
  to{transform:translateY(calc(-50% - (var(--gallery-gap) / 2)));}
}
@media(max-width:900px){
  .home-application-gallery{padding:18px 0 4px;}
  .home-application-gallery .container{
    padding-left:14px;
    padding-right:14px;
  }
  .home-application-carousel{
    --gallery-gap: 14px;
    width:100%;
    margin-left:0;
    transform:none;
    /* Mobile: show one application image area, then auto scroll vertically. */
    height:calc((100vw - 32px) * 0.54);
    max-height:360px;
    min-height:210px;
    overflow:hidden;
  }
  .home-application-track{
    flex-direction:column;
    align-items:stretch;
    width:100%;
    height:max-content;
    animation:homeApplicationsScrollY 18s linear infinite;
  }
  .home-application-carousel:hover .home-application-track{
    animation-play-state:running;
  }
  .home-application-slide{
    flex:0 0 auto;
    width:100%;
    height:calc((100vw - 32px) * 0.54);
    max-height:360px;
    min-height:210px;
    margin:0;
    overflow:hidden;
    border-radius:16px;
  }
  .home-application-carousel,
  .home-application-carousel *{
    -webkit-touch-callout:none;
  }
  .home-application-carousel{
    touch-action:pan-y;
  }
  .home-application-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    border-radius:16px;
    pointer-events:auto;
  }
}
@media (prefers-reduced-motion: reduce){
  .home-application-track{animation:none !important;}
}


/* Bottom showcase gallery above about section */
.bottom-showcase-gallery{
  background:#f1f5f9;
  padding:26px 0 8px;
  margin:0;
}
.bottom-showcase-gallery .container{
  max-width:none;
  width:100%;
  padding-left:0;
  padding-right:0;
}
.bottom-showcase-carousel{
  --gallery-gap: 24px;
  overflow:hidden;
  width:100vw;
  margin-left:50%;
  transform:translateX(-50%);
}
.bottom-showcase-track{
  display:flex;
  align-items:stretch;
  gap:var(--gallery-gap);
  width:max-content;
  animation:bottomShowcaseScrollX 34s linear infinite;
  will-change:transform;
}
.bottom-showcase-carousel:hover .bottom-showcase-track{
  animation-play-state:paused;
}
.bottom-showcase-carousel.mobile-animation-paused .bottom-showcase-track{
  animation-play-state:paused !important;
}
.bottom-showcase-slide{
  flex:0 0 auto;
  width:auto;
  margin:0;
  overflow:hidden;
  border-radius:22px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.bottom-showcase-slide img{
  width:auto;
  max-width:640px;
  height:420px;
  object-fit:contain;
  display:block;
  background:#fff;
  border-radius:22px;
  box-shadow:0 12px 34px rgba(15,23,42,.10);
  border:1px solid rgba(148,163,184,.20);
  box-sizing:border-box;
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
  padding:0;
  transform:none;
}
@keyframes bottomShowcaseScrollX{
  from{transform:translateX(0);}
  to{transform:translateX(calc(-50% - (var(--gallery-gap) / 2)));}
}
@keyframes bottomShowcaseScrollY{
  from{transform:translateY(0);}
  to{transform:translateY(calc(-50% - (var(--gallery-gap) / 2)));}
}
@media(max-width:900px){
  .bottom-showcase-gallery{padding:18px 0 4px;}
  .bottom-showcase-gallery .container{
    max-width:none;
    width:100%;
    padding-left:14px;
    padding-right:14px;
  }
  .bottom-showcase-carousel{
    --gallery-gap: 14px;
    width:100%;
    margin-left:0;
    transform:none;
    height:calc((100vw - 32px) * 0.54);
    max-height:360px;
    min-height:210px;
    overflow:hidden;
  }
  .bottom-showcase-track{
    flex-direction:column;
    align-items:center;
    width:100%;
    height:max-content;
    animation:bottomShowcaseScrollY 24s linear infinite;
  }
  .bottom-showcase-carousel:hover .bottom-showcase-track{
    animation-play-state:running;
  }
  .bottom-showcase-slide{
    flex:0 0 auto;
    width:100%;
    max-width:100%;
    height:calc((100vw - 32px) * 0.64);
    max-height:420px;
    min-height:240px;
    margin:0 auto;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
  }
  .bottom-showcase-carousel,
  .bottom-showcase-carousel *{
    -webkit-touch-callout:none;
  }
  .bottom-showcase-carousel{
    touch-action:pan-y;
  }
  .bottom-showcase-slide img{
    width:100%;
    max-width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    background:#fff;
    border-radius:16px;
    padding:0;
    transform:none;
    transform-origin:center center;
  }
}
@media (prefers-reduced-motion: reduce){
  .bottom-showcase-track{animation:none !important;}
}


/* Header icon size + stronger mobile WhatsApp motion */
.header-social-left{gap:16px;}
.header-social-btn{
  width:48px !important;
  height:48px !important;
}
.header-social-btn img{
  width:42px !important;
  height:42px !important;
}
#waBtn{
  animation: whatsappBreath 3.2s ease-in-out infinite !important;
}
@media(max-width:900px){
  .header-social-left{gap:20px !important;}
  .header-social-btn,
  html.mobile-safe-header .header-social-btn,
  html.force-mobile-header .header-social-btn{
    width:54px !important;
    height:54px !important;
  }
  .header-social-btn img,
  html.mobile-safe-header .header-social-btn img,
  html.force-mobile-header .header-social-btn img{
    width:46px !important;
    height:46px !important;
  }
  #waBtn,
  html.mobile-safe-header #waBtn,
  html.force-mobile-header #waBtn{
    animation: whatsappPulseMobile 2.2s ease-in-out infinite !important;
    transform-origin:center center;
    box-shadow:0 12px 28px rgba(32,177,90,.30) !important;
  }
  #waBtn::after,
  html.mobile-safe-header #waBtn::after,
  html.force-mobile-header #waBtn::after{
    animation: whatsappShineMobile 2.8s ease-in-out infinite !important;
  }
}
@keyframes whatsappPulseMobile{
  0%,100%{transform:translateY(0) scale(1);box-shadow:0 12px 28px rgba(32,177,90,.30);}
  25%{transform:translateY(-2px) scale(1.04);box-shadow:0 16px 34px rgba(32,177,90,.38);}
  55%{transform:translateY(0) scale(.985);box-shadow:0 10px 22px rgba(32,177,90,.24);}
  78%{transform:translateY(-1px) scale(1.02);box-shadow:0 14px 30px rgba(32,177,90,.34);}
}
@keyframes whatsappShineMobile{
  0%,14%{left:-120%;}
  34%{left:130%;}
  100%{left:130%;}
}


/* Faster breathing + guaranteed visible WhatsApp motion on mobile */
.header-social-left .header-social-btn:nth-child(1){
  animation: headerIconFloatFast1 2.1s ease-in-out infinite !important;
}
.header-social-left .header-social-btn:nth-child(2){
  animation: headerIconFloatFast2 2.3s ease-in-out infinite .12s !important;
}
.header-social-left .header-social-btn:nth-child(1)::after{
  animation: headerIconAuraFast 2.1s ease-in-out infinite !important;
}
.header-social-left .header-social-btn:nth-child(2)::after{
  animation: headerIconAuraFast 2.3s ease-in-out infinite .12s !important;
}
#waBtn,
html.mobile-safe-header #waBtn,
html.force-mobile-header #waBtn{
  animation: whatsappBreathFast 2.05s ease-in-out infinite !important;
}
#waBtn::before,
html.mobile-safe-header #waBtn::before,
html.force-mobile-header #waBtn::before{
  content:"";
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:2px solid rgba(32,177,90,.28);
  pointer-events:none;
  opacity:0;
  animation: whatsappRingFast 2.05s ease-out infinite !important;
}
#waBtn::after,
html.mobile-safe-header #waBtn::after,
html.force-mobile-header #waBtn::after{
  animation: whatsappShineFast 2.35s ease-in-out infinite !important;
}
@media(max-width:900px){
  #waBtn,
  html.mobile-safe-header #waBtn,
  html.force-mobile-header #waBtn{
    animation: whatsappPulseMobileFast 1.7s ease-in-out infinite !important;
  }
  #waBtn::before,
  html.mobile-safe-header #waBtn::before,
  html.force-mobile-header #waBtn::before{
    animation: whatsappRingMobileFast 1.7s ease-out infinite !important;
  }
  #waBtn::after,
  html.mobile-safe-header #waBtn::after,
  html.force-mobile-header #waBtn::after{
    animation: whatsappShineMobileFast 2s ease-in-out infinite !important;
  }
}
@keyframes headerIconFloatFast1{
  0%,100%{transform:translateY(0) scale(1);}
  28%{transform:translateY(-5px) scale(1.08);}
  62%{transform:translateY(1px) scale(.98);}
}
@keyframes headerIconFloatFast2{
  0%,100%{transform:translateY(0) scale(1) rotate(0deg);}
  32%{transform:translateY(-4px) scale(1.1) rotate(2deg);}
  64%{transform:translateY(1px) scale(.985) rotate(-1deg);}
}
@keyframes headerIconAuraFast{
  0%,100%{opacity:.14;transform:scale(.84);}
  45%{opacity:.34;transform:scale(1.12);}
  72%{opacity:.18;transform:scale(.92);}
}
@keyframes whatsappBreathFast{
  0%,100%{transform:translateY(0) scale(1);box-shadow:0 10px 24px rgba(32,177,90,.24);}
  35%{transform:translateY(-2px) scale(1.06);box-shadow:0 17px 34px rgba(32,177,90,.36);}
  70%{transform:translateY(0) scale(.99);box-shadow:0 9px 18px rgba(32,177,90,.22);}
}
@keyframes whatsappRingFast{
  0%{opacity:0;transform:scale(.9);}
  20%{opacity:.28;}
  70%{opacity:0;transform:scale(1.18);}
  100%{opacity:0;transform:scale(1.18);}
}
@keyframes whatsappShineFast{
  0%,12%{left:-120%;}
  32%{left:130%;}
  100%{left:130%;}
}
@keyframes whatsappPulseMobileFast{
  0%,100%{transform:translateY(0) scale(1);box-shadow:0 12px 28px rgba(32,177,90,.30);}
  24%{transform:translateY(-2px) scale(1.08);box-shadow:0 18px 36px rgba(32,177,90,.42);}
  55%{transform:translateY(0) scale(.985);box-shadow:0 10px 22px rgba(32,177,90,.24);}
  78%{transform:translateY(-1px) scale(1.05);box-shadow:0 15px 32px rgba(32,177,90,.36);}
}
@keyframes whatsappRingMobileFast{
  0%{opacity:0;transform:scale(.92);}
  18%{opacity:.34;}
  68%{opacity:0;transform:scale(1.22);}
  100%{opacity:0;transform:scale(1.22);}
}
@keyframes whatsappShineMobileFast{
  0%,10%{left:-120%;}
  28%{left:130%;}
  100%{left:130%;}
}


/* Final mobile WhatsApp motion fix: use translate/scale individual properties so mobile layout transform resets cannot stop it */
@media screen and (max-device-width: 920px), screen and (max-width: 920px){
  #waBtn,
  html.mobile-safe-header #waBtn,
  html.force-mobile-header #waBtn,
  .force-mobile-header #waBtn{
    position:relative !important;
    overflow:visible !important;
    animation:waMobileActualMove 1.35s ease-in-out infinite !important;
    transform-origin:center center !important;
    box-shadow:0 12px 28px rgba(32,177,90,.34) !important;
    isolation:isolate !important;
  }
  #waBtn::before,
  html.mobile-safe-header #waBtn::before,
  html.force-mobile-header #waBtn::before,
  .force-mobile-header #waBtn::before{
    content:"" !important;
    position:absolute !important;
    inset:-7px !important;
    border-radius:999px !important;
    border:2px solid rgba(32,177,90,.35) !important;
    pointer-events:none !important;
    animation:waMobileActualRing 1.35s ease-out infinite !important;
    z-index:-1 !important;
  }
}
@keyframes waMobileActualMove{
  0%,100%{translate:0 0;scale:1;box-shadow:0 12px 28px rgba(32,177,90,.34);filter:brightness(1);}
  24%{translate:0 -4px;scale:1.09;box-shadow:0 18px 38px rgba(32,177,90,.48);filter:brightness(1.07);}
  48%{translate:2px 0;scale:1.01;box-shadow:0 10px 22px rgba(32,177,90,.28);filter:brightness(1);}
  72%{translate:-2px -2px;scale:1.05;box-shadow:0 16px 32px rgba(32,177,90,.42);filter:brightness(1.04);}
}
@keyframes waMobileActualRing{
  0%{opacity:0;transform:scale(.9);}
  18%{opacity:.45;}
  68%{opacity:0;transform:scale(1.25);}
  100%{opacity:0;transform:scale(1.25);}
}


/* Final mobile social icon size and spacing override */
@media(max-width:900px){
  .header-social-left,
  html.mobile-safe-header .header-social-left,
  html.force-mobile-header .header-social-left,
  .force-mobile-header .header-social-left{
    gap:28px !important;
    justify-content:center !important;
  }

  .header-social-btn,
  html.mobile-safe-header .header-social-btn,
  html.force-mobile-header .header-social-btn,
  .force-mobile-header .header-social-btn{
    width:66px !important;
    height:66px !important;
    min-width:66px !important;
    min-height:66px !important;
  }

  .header-social-btn img,
  html.mobile-safe-header .header-social-btn img,
  html.force-mobile-header .header-social-btn img,
  .force-mobile-header .header-social-btn img{
    width:56px !important;
    height:56px !important;
  }
}

@media(max-width:560px){
  .header-social-left,
  html.mobile-safe-header .header-social-left,
  html.force-mobile-header .header-social-left,
  .force-mobile-header .header-social-left{
    display:flex !important;
    gap:24px !important;
  }

  .header-social-btn,
  html.mobile-safe-header .header-social-btn,
  html.force-mobile-header .header-social-btn,
  .force-mobile-header .header-social-btn{
    width:60px !important;
    height:60px !important;
    min-width:60px !important;
    min-height:60px !important;
  }

  .header-social-btn img,
  html.mobile-safe-header .header-social-btn img,
  html.force-mobile-header .header-social-btn img,
  .force-mobile-header .header-social-btn img{
    width:50px !important;
    height:50px !important;
  }
}


/* In-app browser bottom showcase crop fix: force subject-width display and avoid old cached full-width layout */
.bottom-showcase-track{
  align-items:center !important;
}
.bottom-showcase-slide{
  flex:0 0 auto !important;
  width:auto !important;
  max-width:none !important;
  background:transparent !important;
}
.bottom-showcase-slide img{
  width:auto !important;
  height:420px !important;
  max-width:640px !important;
  object-fit:contain !important;
  background:#fff !important;
}
@media(max-width:1100px){
  .bottom-showcase-gallery .container,
  html.mobile-safe-header .bottom-showcase-gallery .container,
  html.force-mobile-header .bottom-showcase-gallery .container,
  .force-mobile-header .bottom-showcase-gallery .container{
    max-width:none !important;
    width:100% !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .bottom-showcase-carousel,
  html.mobile-safe-header .bottom-showcase-carousel,
  html.force-mobile-header .bottom-showcase-carousel,
  .force-mobile-header .bottom-showcase-carousel{
    width:100% !important;
    margin-left:0 !important;
    transform:none !important;
    overflow:hidden !important;
    height:calc(100vw - 24px) !important;
    max-height:420px !important;
    min-height:300px !important;
  }
  .bottom-showcase-track,
  html.mobile-safe-header .bottom-showcase-track,
  html.force-mobile-header .bottom-showcase-track,
  .force-mobile-header .bottom-showcase-track{
    flex-direction:column !important;
    align-items:center !important;
    width:100% !important;
    height:max-content !important;
  }
  .bottom-showcase-slide,
  html.mobile-safe-header .bottom-showcase-slide,
  html.force-mobile-header .bottom-showcase-slide,
  .force-mobile-header .bottom-showcase-slide{
    width:100% !important;
    max-width:100% !important;
    height:calc(100vw - 24px) !important;
    max-height:420px !important;
    min-height:300px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    overflow:hidden !important;
  }
  .bottom-showcase-slide img,
  html.mobile-safe-header .bottom-showcase-slide img,
  html.force-mobile-header .bottom-showcase-slide img,
  .force-mobile-header .bottom-showcase-slide img{
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    object-fit:contain !important;
    object-position:center center !important;
    background:#fff !important;
    border-radius:16px !important;
    transform:none !important;
  }
}


/* Mobile language switch performance: pause expensive animations for one frame while text updates */
.lang-switching .home-application-track,
.lang-switching .bottom-showcase-track,
.lang-switching .hero-video-thumbs,
.lang-switching .thumbs{
  animation-play-state: paused !important;
}
.lang-switching *{
  scroll-behavior:auto !important;
}



/* Mobile performance / temperature guard */
.card, .about, .features, .home-application-section, .bottom-showcase-section, .product-detail-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 820px;
}
.product-card, .card, .media, .thumbs, .home-application-carousel, .bottom-showcase-carousel {
  contain: layout paint;
}
img, video {
  backface-visibility: hidden;
}
@media (max-width: 900px) {
  html.mobile-performance-mode .home-application-track {
    animation-duration: 26s !important;
    will-change: auto !important;
  }
  html.mobile-performance-mode .bottom-showcase-track {
    animation-duration: 42s !important;
    will-change: auto !important;
  }
  html.mobile-performance-mode.mobile-user-scrolling .home-application-track,
  html.mobile-performance-mode.mobile-user-scrolling .bottom-showcase-track,
  html.mobile-performance-mode.page-hidden-performance .home-application-track,
  html.mobile-performance-mode.page-hidden-performance .bottom-showcase-track,
  html.mobile-performance-mode.lang-switching .home-application-track,
  html.mobile-performance-mode.lang-switching .bottom-showcase-track {
    animation-play-state: paused !important;
  }
  html.mobile-performance-mode .product-main-video,
  html.mobile-performance-mode .product-thumb-video,
  html.mobile-performance-mode #heroMainVideo {
    transform: translateZ(0);
  }
  html.mobile-performance-mode .card {
    box-shadow: 0 10px 24px rgba(15,23,42,.08) !important;
  }
}


/* Desktop hero video moved right + home application desktop wider */
@media (min-width: 1024px){
  .hero .container{
    max-width: 1320px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 52px;
  }

  /* Move desktop hero video frame a bit more to the right while keeping layout balanced */
  .hero-media{
    margin-left: 26px;
  }

  /* Widen the desktop home horizontal scrolling image area */
  .home-application-carousel{
    --gallery-gap: 28px;
  }
  .home-application-slide{
    flex: 0 0 clamp(620px, 36vw, 780px);
  }
  .home-application-slide img{
    image-rendering: auto;
  }
}


/* Desktop + mobile home application banner wider v2 */
@media (min-width: 1024px){
  .home-application-carousel{
    --gallery-gap: 32px;
  }
  .home-application-slide{
    flex: 0 0 clamp(700px, 40vw, 860px);
  }
}

@media (max-width: 900px){
  .home-application-gallery .container{
    padding-left: 6px;
    padding-right: 6px;
  }
  .home-application-carousel{
    --gallery-gap: 12px;
    height: calc((100vw - 12px) * 0.62);
    max-height: 440px;
    min-height: 250px;
  }
}


/* Desktop + mobile home application banner wider v3 */
@media (min-width: 1024px){
  .home-application-carousel{
    --gallery-gap: 34px;
  }
  .home-application-slide{
    flex: 0 0 clamp(760px, 44vw, 960px);
  }
}

@media (max-width: 900px){
  .home-application-gallery .container{
    padding-left: 2px;
    padding-right: 2px;
  }
  .home-application-carousel{
    --gallery-gap: 10px;
    height: calc((100vw - 4px) * 0.74);
    max-height: 520px;
    min-height: 300px;
  }
  .home-application-slide{
    height: calc((100vw - 4px) * 0.74);
    max-height: 520px;
    min-height: 300px;
  }
}


/* Mobile home application banner full-visible fix v4 */
@media (max-width: 900px){
  .home-application-gallery .container{
    padding-left: 2px;
    padding-right: 2px;
  }
  .home-application-carousel{
    --gallery-gap: 10px;
    width: 100%;
    margin-left: 0;
    transform: none;
    height: calc((100vw - 4px) * 0.545);
    max-height: 400px;
    min-height: 220px;
    overflow: hidden;
  }
  .home-application-slide{
    width: 100%;
    height: calc((100vw - 4px) * 0.545);
    max-height: 400px;
    min-height: 220px;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
  }
  .home-application-slide img{
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center center;
    border-radius: 16px;
    background: #eef4fb;
    display: block;
  }
}


/* Bluestar 2026 professional upgrade */
:root{--brand-blue:#0056D6;--brand-dark:#1A1A1A;--brand-soft:#f5f8ff}
.main-nav{display:flex;align-items:center;gap:18px;font-weight:800;font-size:14px;white-space:nowrap}
.main-nav a{color:#1A1A1A;text-decoration:none}.main-nav a:hover{color:#0056D6}
.section-title-block{max-width:820px;margin:0 auto 26px;text-align:center}.section-title-block p,.factory-strength p,.contact-upgrade p{margin:0 0 8px;color:#0056D6;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.section-title-block h2,.factory-strength h2,.contact-upgrade h2{margin:0;color:#1A1A1A;font-size:clamp(26px,3vw,42px);line-height:1.15}.section-title-block span,.factory-strength span,.contact-upgrade span{display:block;margin-top:12px;color:#64748b;line-height:1.8}
.solution-categories,.why-upgrade{padding:58px 0 22px}.solution-grid,.why-grid,.project-grid-upgrade{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.solution-card,.why-item,.project-card-upgrade,.contact-form-upgrade{background:#fff;border:1px solid #e5e7eb;border-radius:22px;box-shadow:0 14px 40px rgba(15,23,42,.08);overflow:hidden}.solution-card,.why-item{padding:22px}.solution-card h3,.why-item b,.project-card-upgrade h3{color:#1A1A1A;margin:0 0 10px;font-size:19px}.solution-card p,.why-item span,.project-card-upgrade p{color:#64748b;line-height:1.7;font-size:14px}.solution-card a{display:inline-flex;margin-top:10px;color:#0056D6;font-weight:900;text-decoration:none}.why-grid{grid-template-columns:repeat(4,1fr)}
.projects-upgrade{padding:62px 0;background:#f8fafc}.project-grid-upgrade{grid-template-columns:repeat(3,1fr)}.project-card-upgrade img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.project-card-upgrade div{padding:18px}.project-card-upgrade small{color:#0056D6;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.project-card-upgrade h3{margin-top:8px}
.factory-strength{padding:68px 0;background:linear-gradient(135deg,#0f172a,#1e3a8a);color:#fff}.factory-strength h2,.factory-strength p,.factory-strength span{color:#fff}.factory-strength span{color:#dbeafe}.factory-grid-upgrade{display:grid;grid-template-columns:1.35fr .65fr;gap:28px;align-items:center}.factory-badges{display:grid;grid-template-columns:1fr 1fr;gap:12px}.factory-badges b{display:flex;align-items:center;justify-content:center;min-height:96px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:20px;color:#fff;text-align:center;padding:14px}
.contact-upgrade{padding:70px 0;background:#fff}.contact-upgrade-grid{display:grid;grid-template-columns:1fr 420px;gap:28px;align-items:start}.contact-lines{display:grid;gap:10px;margin:22px 0}.contact-lines b{color:#1A1A1A}.contact-form-upgrade{padding:20px}.contact-form-upgrade label{display:block;color:#1A1A1A;font-weight:800;margin-bottom:12px}.contact-form-upgrade input,.contact-form-upgrade textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #dbe3ef;border-radius:12px;padding:12px;font:inherit}.contact-form-upgrade textarea{min-height:130px;resize:vertical}.contact-form-upgrade .btn{width:100%;justify-content:center;border:0;cursor:pointer}.btn{border-radius:6px!important}.editor{display:none!important}html.admin-mode .editor{display:block!important}.edit-product,#editToggle,#addProduct{display:none!important}html.admin-mode .edit-product,html.admin-mode #editToggle,html.admin-mode #addProduct{display:inline-flex!important}
@media(max-width:1100px){.solution-grid,.why-grid{grid-template-columns:repeat(2,1fr)}.main-nav{display:none}.contact-upgrade-grid,.factory-grid-upgrade{grid-template-columns:1fr}.project-grid-upgrade{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.solution-grid,.why-grid,.project-grid-upgrade,.factory-badges{grid-template-columns:1fr}.solution-categories,.why-upgrade,.projects-upgrade,.factory-strength,.contact-upgrade{padding:42px 0}.contact-form-upgrade{padding:16px}.hero-buttons{align-items:stretch}.hero-buttons .btn{justify-content:center}.section-title-block{text-align:left}}


/* Bluestar conversion optimization v2 */
.quote-guide{padding:58px 0;background:#fff}
.quote-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.quote-guide-grid article{background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;padding:22px;box-shadow:0 14px 36px rgba(15,23,42,.06)}
.quote-guide-grid b{display:inline-flex;width:40px;height:40px;border-radius:999px;align-items:center;justify-content:center;background:#0056D6;color:#fff;margin-bottom:14px}
.quote-guide-grid h3{margin:0 0 8px;color:#1A1A1A;font-size:20px}.quote-guide-grid p{margin:0;color:#64748b;line-height:1.7}
.process-upgrade{padding:64px 0;background:#f5f8ff}.process-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.process-steps div{background:#fff;border:1px solid #dbeafe;border-radius:22px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.process-steps span{color:#0056D6;font-weight:900;font-size:26px}.process-steps b{display:block;margin:10px 0 8px;color:#1A1A1A;font-size:18px}.process-steps p{margin:0;color:#64748b;line-height:1.7;font-size:14px}
.faq-upgrade{padding:68px 0;background:#fff}.faq-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px;align-items:start}.faq-grid>div:first-child p{margin:0 0 8px;color:#0056D6;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.faq-grid h2{margin:0;color:#1A1A1A;font-size:clamp(26px,3vw,42px);line-height:1.15}.faq-grid span{display:block;margin-top:12px;color:#64748b;line-height:1.8}.faq-list{display:grid;gap:12px}.faq-list details{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px}.faq-list summary{cursor:pointer;font-weight:900;color:#1A1A1A}.faq-list p{color:#64748b;line-height:1.7;margin:12px 0 0}.mobile-sticky-whatsapp{display:none;position:fixed;left:16px;right:16px;bottom:14px;z-index:9999;background:#20b15a;color:#fff;text-align:center;text-decoration:none;font-weight:900;padding:14px 18px;border-radius:999px;box-shadow:0 16px 36px rgba(32,177,90,.38)}
.contact-form-upgrade button.btn{background:#0056D6;color:#fff}.hero .btn,.contact-upgrade .btn.green{box-shadow:0 12px 28px rgba(0,86,214,.18)}
@media(max-width:1100px){.process-steps{grid-template-columns:repeat(2,1fr)}.faq-grid{grid-template-columns:1fr}.quote-guide-grid{grid-template-columns:1fr}}
@media(max-width:680px){.quote-guide,.process-upgrade,.faq-upgrade{padding:42px 0}.process-steps{grid-template-columns:1fr}.mobile-sticky-whatsapp{display:block}body{padding-bottom:72px}.quote-guide .section-title-block,.process-upgrade .section-title-block{text-align:left}}

/* V3 pitch focus section */
.pitch-focus{margin-top:32px;background:#f8fbff;border:1px solid #dbeafe;border-radius:24px;padding:26px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.pitch-focus-title{text-align:center;max-width:820px;margin:0 auto 22px}
.pitch-focus-title p{margin:0 0 8px;color:var(--blue);font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:13px}
.pitch-focus-title h3{margin:0;font-size:clamp(28px,4vw,44px);color:#111827;line-height:1.08}
.pitch-focus-title span{display:block;margin-top:12px;color:#58708f;font-size:17px;line-height:1.7}
.pitch-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.pitch-focus-grid article{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px;min-height:154px;transition:.2s ease;box-shadow:0 12px 28px rgba(15,23,42,.05)}
.pitch-focus-grid article:hover{transform:translateY(-3px);border-color:#93c5fd;box-shadow:0 18px 42px rgba(0,86,214,.12)}
.pitch-focus-grid b{display:block;color:var(--blue);font-size:32px;line-height:1;margin-bottom:14px}
.pitch-focus-grid span{display:block;color:#5b708c;line-height:1.65;font-size:15px}
@media(max-width:900px){.pitch-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.pitch-focus{padding:20px}.pitch-focus-grid{grid-template-columns:1fr}.pitch-focus-grid article{min-height:auto}}


/* Bluestar conversion optimization v4 */
.solution-kicker{display:inline-flex;margin-bottom:12px;padding:6px 10px;border-radius:999px;background:#eaf2ff;color:#0056D6;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.quick-specs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 14px}
.quick-specs span{display:block;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:8px 10px;color:#1f2937;font-size:12px;line-height:1.35;min-height:44px}
.quick-specs em{display:block;font-style:normal;color:#0056D6;font-weight:900;font-size:11px;margin-bottom:3px;text-transform:uppercase;letter-spacing:.04em}
.quality-upgrade{padding:68px 0;background:#f8fbff;border-top:1px solid #eaf1fb;border-bottom:1px solid #eaf1fb}
.quality-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:start}
.quality-grid>div:first-child p{margin:0 0 8px;color:#0056D6;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.quality-grid h2{margin:0;color:#1A1A1A;font-size:clamp(26px,3vw,42px);line-height:1.15}.quality-grid span{display:block;margin-top:12px;color:#64748b;line-height:1.8}
.quality-list{display:grid;grid-template-columns:1fr 1fr;gap:14px}.quality-list article{background:#fff;border:1px solid #dbeafe;border-radius:20px;padding:20px;box-shadow:0 14px 34px rgba(15,23,42,.06)}.quality-list b{display:block;color:#1A1A1A;font-size:18px;margin-bottom:8px}.quality-list span{color:#64748b;line-height:1.65}
.contact-form-upgrade select{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #dbe3ef;border-radius:12px;padding:12px;font:inherit;background:#fff;color:#1A1A1A}
.contact-form-upgrade{display:grid;grid-template-columns:1fr 1fr;gap:12px}.contact-form-upgrade label{margin-bottom:0}.contact-form-upgrade label:last-of-type,.contact-form-upgrade button{grid-column:1/-1}
.contact-upgrade-grid{grid-template-columns:minmax(0,1fr) minmax(480px,560px)}
@media(max-width:1100px){.quality-grid{grid-template-columns:1fr}.contact-upgrade-grid{grid-template-columns:1fr}.contact-form-upgrade{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.quick-specs{grid-template-columns:1fr}.quality-upgrade{padding:42px 0}.quality-list,.contact-form-upgrade{grid-template-columns:1fr}.quality-grid>div:first-child{text-align:left}}

.active-solution-filter{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#eef5ff;border:1px solid #cfe1ff;border-radius:18px;padding:16px 18px;margin:0 0 20px;box-shadow:0 10px 30px rgba(0,86,214,.08)}
.active-solution-filter b{display:block;color:#0056d6;font-size:18px;margin-bottom:4px}.active-solution-filter p{margin:0;color:#536a8b;line-height:1.55}.active-solution-filter button{border:0;border-radius:999px;background:#0056d6;color:#fff;font-weight:800;padding:10px 16px;white-space:nowrap;cursor:pointer}.no-products{grid-column:1/-1;background:#fff;border:1px solid #dde5f0;border-radius:20px;padding:28px;color:#536a8b;text-align:center;font-weight:700}
@media(max-width:760px){.active-solution-filter{align-items:flex-start;flex-direction:column}.active-solution-filter button{width:100%}}
.source-link{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.06em;text-decoration:none}.source-link:hover{text-decoration:underline}


/* V7 professional mobile responsive upgrade
   Goal: mobile first sales flow, touch-friendly navigation, no horizontal overflow. */
*, *::before, *::after { box-sizing: border-box; }

@media (max-width: 920px) {
  html, body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
  }

  .container,
  .header .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .topbar,
  .search,
  .header-social-left,
  .header-trust,
  .brand-sub {
    display: none !important;
  }

  .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255,255,255,.96) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid #e8eef7 !important;
  }

  .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 12px 16px 14px !important;
    overflow: visible !important;
  }

  .brand {
    order: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .brand img,
  #logo {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    object-fit: contain !important;
  }

  .brand-text {
    min-width: 0 !important;
    max-width: calc(100% - 60px) !important;
  }

  .brand-title {
    font-size: 18px !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .brand-cn {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

  .main-nav {
    order: 2 !important;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding: 2px 0 4px !important;
    justify-content: flex-start !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .main-nav::-webkit-scrollbar { display: none !important; }

  .main-nav a {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0056D6 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
  }

  .actions {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    max-width: 420px !important;
    gap: 10px !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  .actions .btn,
  .actions a,
  .actions button,
  .lang-toggle,
  #waBtn {
    width: 100% !important;
    max-width: none !important;
    min-height: 42px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 11px 12px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
  }

  .hero .container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    padding-top: 28px !important;
    padding-bottom: 36px !important;
  }

  .hero h1 {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
  }

  .hero p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    margin-bottom: 18px !important;
  }

  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-buttons .btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  .stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
  }

  .stat {
    padding: 14px 12px !important;
    min-height: 88px !important;
  }

  .stat b { font-size: 24px !important; }
  .stat span { font-size: 13px !important; }

  .hero-media,
  .hero-video-gallery {
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .hero-media video,
  .hero-media img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  .home-application-gallery { padding: 22px 0 !important; }
  .home-application-gallery .container { padding-left: 8px !important; padding-right: 8px !important; }
  .home-application-carousel,
  .home-application-slide {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 16px !important;
  }

  .section-title-block,
  .pitch-focus-title,
  .faq-grid > div:first-child,
  .quality-grid > div:first-child {
    text-align: left !important;
  }

  .section-title-block h2,
  .factory-strength h2,
  .contact-upgrade h2,
  .faq-grid h2,
  .quality-grid h2 {
    font-size: clamp(26px, 8vw, 36px) !important;
    line-height: 1.12 !important;
  }

  .solution-grid,
  .why-grid,
  .project-grid-upgrade,
  .quote-guide-grid,
  .process-steps,
  .pitch-focus-grid,
  .quality-list,
  .contact-upgrade-grid,
  .factory-grid-upgrade,
  .faq-grid,
  .layout,
  .grid,
  .about-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .solution-card,
  .why-item,
  .project-card-upgrade,
  .quote-guide-grid article,
  .process-steps div,
  .quality-list article,
  .pitch-focus-grid article,
  .contact-form-upgrade,
  .contact-box,
  .card {
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .solution-card { padding: 20px !important; }
  .solution-card a { min-height: 42px !important; align-items: center !important; }

  .quick-specs,
  .contact-form-upgrade {
    grid-template-columns: 1fr !important;
  }

  .project-card-upgrade img,
  .media,
  .media img,
  .media video {
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    object-fit: cover !important;
  }

  .active-solution-filter {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .active-solution-filter button { width: 100% !important; min-height: 44px !important; }

  .faq-list details {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }

  .faq-list summary {
    line-height: 1.35 !important;
  }

  .contact-form-upgrade input,
  .contact-form-upgrade select,
  .contact-form-upgrade textarea {
    min-height: 46px !important;
    font-size: 16px !important; /* prevents iPhone zoom-in */
  }

  .footer .container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
    justify-items: center !important;
  }

  .mobile-sticky-whatsapp {
    display: block !important;
    left: max(14px, env(safe-area-inset-left)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    min-height: 52px !important;
    line-height: 24px !important;
    padding: 14px 18px !important;
    border-radius: 999px !important;
  }

  body { padding-bottom: 82px !important; }
}

@media (max-width: 380px) {
  .brand-title { font-size: 16px !important; }
  .brand-cn { font-size: 12px !important; }
  .actions { grid-template-columns: 1fr !important; }
  .stats { grid-template-columns: 1fr !important; }
  .main-nav a { padding: 8px 12px !important; }
}

/* v8 header navigation row: Products / Projects / About / Contact in a separate line */
@media (min-width: 1101px) {
  .header-inner {
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 22px !important;
  }
  .header-social-left { order: 1 !important; }
  .brand { order: 2 !important; }
  .search { order: 3 !important; }
  .actions { order: 4 !important; }
  .header-trust { order: 5 !important; }
  .main-nav {
    order: 6 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 34px !important;
    padding: 12px 0 0 !important;
    margin-top: 4px !important;
    border-top: 1px solid rgba(15, 23, 42, .08) !important;
    font-size: 15px !important;
  }
  .main-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    color: #1A1A1A !important;
  }
  .main-nav a:hover {
    background: #eef5ff !important;
    color: #0056D6 !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .main-nav {
    order: 6 !important;
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: center !important;
    gap: 24px !important;
    padding: 10px 0 0 !important;
    margin-top: 4px !important;
    border-top: 1px solid rgba(15, 23, 42, .08) !important;
  }
}

/* v9: make the separate header navigation row larger and easier to click */
@media (min-width: 1101px) {
  .main-nav {
    gap: 56px !important;
    padding: 16px 0 2px !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
  }
  .main-nav a {
    min-height: 44px !important;
    padding: 8px 18px !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .main-nav {
    gap: 36px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    padding: 14px 0 2px !important;
  }
  .main-nav a {
    min-height: 42px !important;
    padding: 8px 16px !important;
  }
}

/* V12 fix: separate Why Choose Us titles and body text */
.why-item b{
  display:block !important;
  margin:0 0 14px 0 !important;
  line-height:1.22 !important;
  font-size:20px !important;
  color:#0f172a !important;
}
.why-item span{
  display:block !important;
  margin:0 !important;
  line-height:1.75 !important;
  font-size:15px !important;
  color:#58708f !important;
}
@media (max-width:680px){
  .why-item b{font-size:19px !important;margin-bottom:12px !important;}
  .why-item span{font-size:15px !important;}
}

/* V13: mobile / desktop view switcher for phones */
.view-mode-toggle{
  display:none;
  position:fixed;
  left:max(14px, env(safe-area-inset-left));
  bottom:max(82px, calc(env(safe-area-inset-bottom) + 82px));
  z-index:10050;
  min-height:42px;
  padding:10px 16px;
  border:0;
  border-radius:999px;
  background:#0056D6;
  color:#fff;
  font-weight:900;
  font-size:14px;
  letter-spacing:.02em;
  box-shadow:0 14px 36px rgba(0,86,214,.34);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.view-mode-toggle:active{transform:translateY(1px)}
@media (max-width:920px){.view-mode-toggle{display:inline-flex}}
html.desktop-view-mode .view-mode-toggle{
  display:inline-flex !important;
  left:18px;
  bottom:18px;
  min-height:44px;
  padding:10px 18px;
  font-size:15px;
}
html.desktop-view-mode .mobile-sticky-whatsapp{display:none !important;}
html.desktop-view-mode body{padding-bottom:0 !important;}
html.desktop-view-mode .topbar{display:block !important;}
html.desktop-view-mode .main-nav{display:flex !important;}
html.desktop-view-mode .search{display:flex !important;}
html.desktop-view-mode .header-social-left{display:flex !important;}
html.desktop-view-mode .header-trust{display:flex !important;}

/* V14: phone PC-version size calibration
   When a visitor switches to PC version on a phone, the site uses an 1180px desktop canvas
   and the viewport is scaled to fit the phone width. This keeps the full desktop layout visible. */
html.desktop-view-mode,
html.desktop-view-mode body{
  min-width:1180px !important;
  width:1180px !important;
  max-width:none !important;
  overflow-x:auto !important;
  -webkit-text-size-adjust:100% !important;
  text-size-adjust:100% !important;
}
html.desktop-view-mode .container{
  max-width:1100px !important;
}
html.desktop-view-mode .header-inner{
  max-width:1100px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.desktop-view-mode .view-mode-toggle{
  min-width:168px !important;
  min-height:58px !important;
  padding:14px 24px !important;
  font-size:20px !important;
  border-radius:999px !important;
}
html.desktop-view-mode .main-nav a{
  font-size:22px !important;
}


/* V15: phone desktop-mode header calibration + view-mode language sync
   On phones, the PC version should keep the desktop header proportions after viewport scaling. */
@media (max-width: 1200px) {
  html.desktop-view-mode,
  html.desktop-view-mode body {
    width: 1180px !important;
    min-width: 1180px !important;
    max-width: none !important;
    overflow-x: auto !important;
  }
  html.desktop-view-mode .header,
  html.desktop-view-mode .topbar,
  html.desktop-view-mode main,
  html.desktop-view-mode .hero,
  html.desktop-view-mode .about,
  html.desktop-view-mode .footer {
    width: 1180px !important;
    min-width: 1180px !important;
    max-width: none !important;
    overflow: visible !important;
  }
  html.desktop-view-mode .container,
  html.desktop-view-mode .header .container {
    width: 1100px !important;
    max-width: 1100px !important;
    min-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html.desktop-view-mode .header-inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px 22px !important;
    width: 1100px !important;
    max-width: 1100px !important;
    min-width: 1100px !important;
    padding: 18px 0 14px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }
  html.desktop-view-mode .header-social-left {
    order: 1 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-start !important;
  }
  html.desktop-view-mode .brand {
    order: 2 !important;
    display: flex !important;
    flex: 0 0 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }
  html.desktop-view-mode .brand-title { font-size: 20px !important; }
  html.desktop-view-mode .brand-cn { font-size: 16px !important; display: block !important; }
  html.desktop-view-mode .brand-sub { display: block !important; font-size: 13px !important; }
  html.desktop-view-mode .search {
    order: 3 !important;
    display: flex !important;
    flex: 0 0 360px !important;
    width: 360px !important;
    max-width: 360px !important;
    min-width: 360px !important;
    height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    border-radius: 0 !important;
    aspect-ratio: auto !important;
    transform: none !important;
  }
  html.desktop-view-mode .search input {
    display: block !important;
    width: 360px !important;
    min-width: 360px !important;
    max-width: 360px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 24px !important;
    margin: 0 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    font-size: 16px !important;
    line-height: 56px !important;
    box-shadow: none !important;
    aspect-ratio: auto !important;
    transform: none !important;
  }
  html.desktop-view-mode .actions {
    order: 4 !important;
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }
  html.desktop-view-mode .header-trust {
    order: 5 !important;
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 4px 0 0 !important;
    align-items: center !important;
  }
  html.desktop-view-mode .trust-badges,
  html.desktop-view-mode .trust-response {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    column-gap: 10px !important;
  }
  html.desktop-view-mode .main-nav {
    order: 6 !important;
    display: flex !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 70px !important;
    padding: 18px 0 8px !important;
    margin: 4px 0 0 !important;
    border-top: 1px solid rgba(15,23,42,.10) !important;
    overflow: visible !important;
  }
  html.desktop-view-mode .main-nav a {
    font-size: 22px !important;
    line-height: 1.2 !important;
    padding: 8px 0 !important;
    white-space: nowrap !important;
  }
}

/* V16: enlarge and normalize the PC-version header when opened on a phone.
   Because the desktop canvas is scaled down to fit the phone screen, header text/icons
   need larger desktop-side sizes so they stay readable after scaling. */
@media (max-width: 1200px) {
  html.desktop-view-mode .topbar,
  html.desktop-view-mode.mobile-safe-header .topbar,
  html.desktop-view-mode.force-mobile-header .topbar{
    display:block !important;
    width:1180px !important;
    min-width:1180px !important;
    height:auto !important;
    padding:8px 0 !important;
    font-size:18px !important;
    line-height:1.25 !important;
    letter-spacing:.01em !important;
  }

  html.desktop-view-mode .header,
  html.desktop-view-mode.mobile-safe-header .header,
  html.desktop-view-mode.force-mobile-header .header{
    width:1180px !important;
    min-width:1180px !important;
    overflow:visible !important;
  }

  html.desktop-view-mode .header-inner,
  html.desktop-view-mode.mobile-safe-header .header-inner,
  html.desktop-view-mode.force-mobile-header .header-inner{
    display:grid !important;
    grid-template-columns:130px 360px 410px 210px !important;
    grid-template-rows:auto auto auto !important;
    gap:18px 18px !important;
    align-items:center !important;
    justify-content:center !important;
    width:1120px !important;
    min-width:1120px !important;
    max-width:1120px !important;
    padding:28px 0 18px !important;
    margin:0 auto !important;
    overflow:visible !important;
    text-align:left !important;
  }

  html.desktop-view-mode .header-social-left,
  html.desktop-view-mode.mobile-safe-header .header-social-left,
  html.desktop-view-mode.force-mobile-header .header-social-left{
    grid-column:1 !important;
    grid-row:1 !important;
    display:flex !important;
    flex:none !important;
    width:auto !important;
    max-width:none !important;
    min-width:0 !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:16px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }
  html.desktop-view-mode .header-social-btn,
  html.desktop-view-mode.mobile-safe-header .header-social-btn,
  html.desktop-view-mode.force-mobile-header .header-social-btn{
    width:58px !important;
    height:58px !important;
    flex:0 0 58px !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
  }
  html.desktop-view-mode .header-social-btn img,
  html.desktop-view-mode.mobile-safe-header .header-social-btn img,
  html.desktop-view-mode.force-mobile-header .header-social-btn img{
    width:56px !important;
    height:56px !important;
    object-fit:contain !important;
  }

  html.desktop-view-mode .brand,
  html.desktop-view-mode.mobile-safe-header .brand,
  html.desktop-view-mode.force-mobile-header .brand{
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    flex:none !important;
    width:360px !important;
    min-width:360px !important;
    max-width:360px !important;
    justify-content:flex-start !important;
    align-items:center !important;
    text-align:left !important;
    gap:12px !important;
    margin:0 !important;
    padding:0 !important;
  }
  html.desktop-view-mode .brand img{width:62px !important;height:62px !important;display:none !important;}
  html.desktop-view-mode .brand-text{display:block !important;min-width:0 !important;}
  html.desktop-view-mode .brand-title{font-size:34px !important;line-height:1.05 !important;font-weight:900 !important;letter-spacing:-.02em !important;}
  html.desktop-view-mode .brand-cn{font-size:24px !important;line-height:1.15 !important;font-weight:800 !important;display:block !important;margin-top:4px !important;}
  html.desktop-view-mode .brand-sub{font-size:18px !important;line-height:1.2 !important;display:block !important;margin-top:5px !important;color:#64748b !important;}

  html.desktop-view-mode .search,
  html.desktop-view-mode.mobile-safe-header .search,
  html.desktop-view-mode.force-mobile-header .search{
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    flex:none !important;
    width:410px !important;
    min-width:410px !important;
    max-width:410px !important;
    height:68px !important;
    max-height:68px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:0 !important;
    overflow:visible !important;
    aspect-ratio:auto !important;
    transform:none !important;
  }
  html.desktop-view-mode .search input{
    width:410px !important;
    min-width:410px !important;
    max-width:410px !important;
    height:68px !important;
    min-height:68px !important;
    max-height:68px !important;
    padding:0 28px !important;
    border-radius:999px !important;
    font-size:22px !important;
    font-weight:600 !important;
    line-height:68px !important;
    background:#fff !important;
    border:1px solid #e5e7eb !important;
    box-shadow:0 10px 28px rgba(15,23,42,.06) !important;
    aspect-ratio:auto !important;
    transform:none !important;
  }

  html.desktop-view-mode .actions,
  html.desktop-view-mode.mobile-safe-header .actions,
  html.desktop-view-mode.force-mobile-header .actions{
    grid-column:4 !important;
    grid-row:1 !important;
    display:flex !important;
    flex:none !important;
    width:210px !important;
    min-width:210px !important;
    max-width:210px !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:10px !important;
    margin:0 !important;
    padding:0 !important;
  }
  html.desktop-view-mode .actions .btn,
  html.desktop-view-mode .lang-toggle,
  html.desktop-view-mode #waBtn{
    min-height:62px !important;
    padding:16px 18px !important;
    font-size:20px !important;
    font-weight:900 !important;
    border-radius:10px !important;
    white-space:nowrap !important;
  }

  html.desktop-view-mode .header-trust,
  html.desktop-view-mode.mobile-safe-header .header-trust,
  html.desktop-view-mode.force-mobile-header .header-trust{
    grid-column:1 / 5 !important;
    grid-row:2 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px 16px !important;
    width:100% !important;
    max-width:100% !important;
    margin:4px 0 0 !important;
    padding:0 !important;
    font-size:18px !important;
    line-height:1.2 !important;
    overflow:visible !important;
  }
  html.desktop-view-mode .trust-badges,
  html.desktop-view-mode .trust-response{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    column-gap:12px !important;
    width:100% !important;
    white-space:nowrap !important;
  }
  html.desktop-view-mode .trust-pill{
    padding:7px 14px !important;
    font-size:18px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    justify-content:center !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  html.desktop-view-mode .trust-response span{
    font-size:16px !important;
    font-weight:800 !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }

  html.desktop-view-mode .main-nav,
  html.desktop-view-mode.mobile-safe-header .main-nav,
  html.desktop-view-mode.force-mobile-header .main-nav{
    grid-column:1 / 5 !important;
    grid-row:3 !important;
    display:flex !important;
    width:100% !important;
    justify-content:center !important;
    align-items:center !important;
    gap:76px !important;
    padding:20px 0 10px !important;
    margin:4px 0 0 !important;
    border-top:1px solid rgba(15,23,42,.12) !important;
    overflow:visible !important;
  }
  html.desktop-view-mode .main-nav a{
    font-size:30px !important;
    line-height:1.15 !important;
    font-weight:900 !important;
    padding:8px 10px !important;
    white-space:nowrap !important;
  }

  html.desktop-view-mode .view-mode-toggle{
    min-width:260px !important;
    min-height:78px !important;
    padding:18px 30px !important;
    font-size:28px !important;
    line-height:1.1 !important;
    border-radius:999px !important;
    left:26px !important;
    bottom:26px !important;
    box-shadow:0 18px 46px rgba(0,86,214,.42) !important;
  }
}


/* V17: redesign the desktop-on-phone header area for better readability and tighter composition */
@media (max-width: 1200px) {
  html.desktop-view-mode .header,
  html.desktop-view-mode.mobile-safe-header .header,
  html.desktop-view-mode.force-mobile-header .header{
    background:linear-gradient(180deg,#deecfb 0%, #e9f3ff 100%) !important;
    border-bottom:1px solid rgba(15,23,42,.08) !important;
  }

  html.desktop-view-mode .header-inner,
  html.desktop-view-mode.mobile-safe-header .header-inner,
  html.desktop-view-mode.force-mobile-header .header-inner{
    display:grid !important;
    grid-template-columns:88px 350px 430px 220px !important;
    grid-template-rows:auto auto auto !important;
    gap:14px 16px !important;
    align-items:center !important;
    justify-content:center !important;
    width:1120px !important;
    min-width:1120px !important;
    max-width:1120px !important;
    padding:18px 0 14px !important;
    margin:0 auto !important;
    overflow:visible !important;
  }

  html.desktop-view-mode .header-social-left,
  html.desktop-view-mode.mobile-safe-header .header-social-left,
  html.desktop-view-mode.force-mobile-header .header-social-left{
    grid-column:1 !important;
    grid-row:1 !important;
    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;
    gap:12px !important;
    width:88px !important;
    min-width:88px !important;
    margin:0 !important;
    padding:0 !important;
    align-self:center !important;
  }
  html.desktop-view-mode .header-social-btn,
  html.desktop-view-mode.mobile-safe-header .header-social-btn,
  html.desktop-view-mode.force-mobile-header .header-social-btn{
    width:38px !important;
    height:38px !important;
    flex:0 0 38px !important;
  }
  html.desktop-view-mode .header-social-btn img,
  html.desktop-view-mode.mobile-safe-header .header-social-btn img,
  html.desktop-view-mode.force-mobile-header .header-social-btn img{
    width:38px !important;
    height:38px !important;
  }

  html.desktop-view-mode .brand,
  html.desktop-view-mode.mobile-safe-header .brand,
  html.desktop-view-mode.force-mobile-header .brand{
    grid-column:2 !important;
    grid-row:1 !important;
    display:flex !important;
    width:350px !important;
    min-width:350px !important;
    max-width:350px !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
    align-self:center !important;
  }
  html.desktop-view-mode .brand-text{display:block !important;}
  html.desktop-view-mode .brand-title{font-size:30px !important;line-height:1.06 !important;font-weight:900 !important;letter-spacing:-.02em !important;margin:0 !important;}
  html.desktop-view-mode .brand-cn{font-size:19px !important;line-height:1.15 !important;font-weight:800 !important;margin-top:4px !important;color:#334155 !important;}
  html.desktop-view-mode .brand-sub{display:block !important;font-size:15px !important;line-height:1.2 !important;margin-top:5px !important;color:#64748b !important;}

  html.desktop-view-mode .search,
  html.desktop-view-mode.mobile-safe-header .search,
  html.desktop-view-mode.force-mobile-header .search{
    grid-column:3 !important;
    grid-row:1 !important;
    display:flex !important;
    width:430px !important;
    min-width:430px !important;
    max-width:430px !important;
    height:58px !important;
    min-height:58px !important;
    margin:0 !important;
    padding:0 !important;
    align-items:center !important;
    justify-content:center !important;
    align-self:center !important;
  }
  html.desktop-view-mode .search input,
  html.desktop-view-mode.mobile-safe-header .search input,
  html.desktop-view-mode.force-mobile-header .search input{
    width:430px !important;
    min-width:430px !important;
    max-width:430px !important;
    height:58px !important;
    min-height:58px !important;
    padding:0 22px !important;
    border-radius:999px !important;
    font-size:17px !important;
    font-weight:600 !important;
    line-height:58px !important;
    box-shadow:0 6px 18px rgba(15,23,42,.06) !important;
    background:#fff !important;
  }

  html.desktop-view-mode .actions,
  html.desktop-view-mode.mobile-safe-header .actions,
  html.desktop-view-mode.force-mobile-header .actions{
    grid-column:4 !important;
    grid-row:1 !important;
    display:flex !important;
    width:220px !important;
    min-width:220px !important;
    max-width:220px !important;
    justify-content:flex-end !important;
    align-items:center !important;
    gap:10px !important;
    margin:0 !important;
    padding:0 !important;
    align-self:center !important;
  }
  html.desktop-view-mode .actions .btn,
  html.desktop-view-mode .lang-toggle,
  html.desktop-view-mode #waBtn{
    min-height:52px !important;
    padding:12px 16px !important;
    font-size:16px !important;
    font-weight:800 !important;
    border-radius:10px !important;
    box-shadow:0 6px 16px rgba(15,23,42,.08) !important;
  }

  html.desktop-view-mode .header-trust,
  html.desktop-view-mode.mobile-safe-header .header-trust,
  html.desktop-view-mode.force-mobile-header .header-trust{
    grid-column:1 / 5 !important;
    grid-row:2 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px 14px !important;
    width:1120px !important;
    max-width:1120px !important;
    margin:2px 0 0 !important;
    padding:0 !important;
    align-items:center !important;
  }
  html.desktop-view-mode .trust-badges,
  html.desktop-view-mode .trust-response{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    column-gap:12px !important;
    width:100% !important;
    align-items:center !important;
  }
  html.desktop-view-mode .trust-pill{
    padding:6px 14px !important;
    font-size:14px !important;
    font-weight:800 !important;
    border-radius:999px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
  }
  html.desktop-view-mode .trust-response span{
    font-size:13px !important;
    font-weight:800 !important;
    color:#0f172a !important;
    white-space:nowrap !important;
  }

  html.desktop-view-mode .main-nav,
  html.desktop-view-mode.mobile-safe-header .main-nav,
  html.desktop-view-mode.force-mobile-header .main-nav{
    grid-column:1 / 5 !important;
    grid-row:3 !important;
    display:flex !important;
    width:1120px !important;
    justify-content:center !important;
    align-items:center !important;
    gap:58px !important;
    padding:14px 0 2px !important;
    margin:2px 0 0 !important;
    border-top:1px solid rgba(15,23,42,.10) !important;
  }
  html.desktop-view-mode .main-nav a{
    font-size:19px !important;
    line-height:1.1 !important;
    font-weight:900 !important;
    letter-spacing:.01em !important;
    padding:4px 6px !important;
  }

  html.desktop-view-mode .view-mode-toggle{
    min-width:210px !important;
    min-height:62px !important;
    padding:14px 24px !important;
    font-size:20px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    left:18px !important;
    bottom:20px !important;
  }
}


/* V18: phone view-mode toggle behavior and sizing refinement */
.view-mode-toggle,
html.desktop-view-mode .view-mode-toggle{
  position:fixed !important;
  left:max(14px, env(safe-area-inset-left)) !important;
  bottom:max(94px, calc(env(safe-area-inset-bottom) + 94px)) !important;
  width:auto !important;
  max-width:min(260px, calc(100vw - 28px)) !important;
  white-space:nowrap !important;
  justify-content:center !important;
  align-items:center !important;
  transform:translateY(0) !important;
  opacity:1 !important;
  pointer-events:auto !important;
  transition:opacity .22s ease, transform .22s ease, box-shadow .22s ease !important;
  z-index:10060 !important;
}
.view-mode-toggle.is-temporarily-hidden,
html.desktop-view-mode .view-mode-toggle.is-temporarily-hidden{
  opacity:0 !important;
  transform:translateY(12px) !important;
  pointer-events:none !important;
}

@media (max-width:920px){
  .view-mode-toggle[data-mode="mobile"]{
    min-width:152px !important;
    min-height:48px !important;
    padding:12px 18px !important;
    font-size:15px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    box-shadow:0 12px 28px rgba(0,86,214,.30) !important;
  }
  .view-mode-toggle[data-mode="desktop"]{
    min-width:220px !important;
    min-height:58px !important;
    padding:15px 24px !important;
    font-size:21px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    box-shadow:0 18px 42px rgba(0,86,214,.38) !important;
  }
}

@media (max-width:1200px){
  html.desktop-view-mode .view-mode-toggle,
  html.desktop-view-mode.force-mobile-header .view-mode-toggle,
  html.desktop-view-mode.mobile-safe-header .view-mode-toggle{
    left:max(16px, env(safe-area-inset-left)) !important;
    bottom:max(96px, calc(env(safe-area-inset-bottom) + 96px)) !important;
    width:auto !important;
    min-width:230px !important;
    max-width:260px !important;
    min-height:60px !important;
    padding:16px 24px !important;
    font-size:21px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    box-shadow:0 18px 42px rgba(0,86,214,.38) !important;
  }
}


/* V19: keep Desktop/Mobile switch clickable while auto-hide is active */
.view-mode-toggle{
  touch-action:manipulation !important;
  -webkit-user-select:none !important;
  user-select:none !important;
}
.view-mode-toggle:hover,
.view-mode-toggle:focus,
.view-mode-toggle:active{
  opacity:1 !important;
  pointer-events:auto !important;
}


/* V20: make Mobile Version button larger in phone desktop-mode */
@media (max-width:1200px){
  html.desktop-view-mode .view-mode-toggle[data-mode="desktop"],
  html.desktop-view-mode.force-mobile-header .view-mode-toggle[data-mode="desktop"],
  html.desktop-view-mode.mobile-safe-header .view-mode-toggle[data-mode="desktop"]{
    min-width:280px !important;
    min-height:78px !important;
    padding:20px 34px !important;
    font-size:28px !important;
    font-weight:900 !important;
    border-radius:999px !important;
    left:max(18px, env(safe-area-inset-left)) !important;
    bottom:max(104px, calc(env(safe-area-inset-bottom) + 104px)) !important;
    box-shadow:0 20px 48px rgba(0,86,214,.42) !important;
  }
}
