/* ===== SOLWE Product Detail Unified Layout v1.0 (page-scoped: body.pdp) =====
   Standard: /products/fast-charger.html (ca-gallery + ca-detail design system)
   Scope  : ONLY body.pdp — no global selectors, safe to load on any page.
   Loads AFTER style.css / page inline <style>; overrides via body.pdp specificity.
   ===================================================================== */

body.pdp{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  color:#333;
  background:#fff;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}

/* ---------- 1. Content frame: max width 1200, side padding 28 ---------- */
body.pdp .container{ max-width:1200px; margin:0 auto; padding:0 28px; }
body.pdp .navbar-inner,
body.pdp .footer-inner{ max-width:1200px; margin:0 auto; padding:0 28px; }

/* ---------- 2. Section rhythm ---------- */
body.pdp .section{ padding:44px 0; }
body.pdp .section-header{ text-align:center; margin-bottom:26px; }
body.pdp .section-header h2{ font-size:clamp(22px,2.4vw,28px); font-weight:800; color:var(--gray-900,#1a1a2e); margin:0 0 6px; line-height:1.28; }
body.pdp .section-header p{ font-size:14px; line-height:1.55; color:var(--gray-500,#64748b); max-width:640px; margin:0 auto; }
body.pdp .section > .container > h2{ font-size:clamp(22px,2.4vw,28px); font-weight:800; color:var(--gray-900,#1a1a2e); margin:0 0 18px; text-align:center; line-height:1.28; }
body.pdp .section h3{ font-size:16px; color:#1a1a2e; }

/* ---------- 3. HERO: dark band, 45 / 55 two columns (image left, text right) ---------- */
body.pdp .hero{
  background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);
  color:#fff;
  padding:44px 0 38px;
  margin-top:var(--nav-height,0);
  text-align:left;
  overflow:visible;
}
body.pdp .hero .container{
  display:grid;
  grid-template-columns:minmax(0,45fr) minmax(0,55fr);
  gap:40px;
  align-items:center;
  max-width:1200px;
  padding:0 28px;
}
body.pdp .hero-image{ text-align:center; min-width:0; }
body.pdp .hero-image > img{ max-width:100%; max-height:400px; border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.35); }
body.pdp .hero-content{ min-width:0; max-width:none; margin:0; position:static; }
body.pdp .hero-breadcrumb{ font-size:12.5px; color:rgba(255,255,255,.5); margin:0 0 8px; }
body.pdp .hero-breadcrumb a{ color:rgba(255,255,255,.7); text-decoration:none; }
body.pdp .hero-breadcrumb a:hover{ color:#fff; }
body.pdp .hero-content h1,
body.pdp .hero h1{
  font-size:clamp(23px,2.6vw,32px);
  font-weight:800;
  line-height:1.22;
  margin:0 0 12px;
  color:#fff;
}
body.pdp .hero-intro,
body.pdp .hero-subtitle{
  font-size:14.5px;
  line-height:1.65;
  color:rgba(255,255,255,.78);
  margin:0 0 16px;
  opacity:1;
}
body.pdp .hero-selling-points{ display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; margin:0 0 18px; }
body.pdp .hero-selling-points .sp{
  font-size:13px; color:rgba(255,255,255,.85);
  display:flex; align-items:center; gap:7px; line-height:1.4;
}
body.pdp .hero-selling-points .sp::before{ content:'\2713'; color:var(--accent,#e94560); font-weight:700; font-size:15px; }
body.pdp .hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }
body.pdp .hero-actions .btn-primary,
body.pdp .hero-actions .btn-outline{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 26px; font-size:14px; font-weight:700;
  border-radius:10px; text-decoration:none; cursor:pointer;
  transition:background .18s ease,transform .18s ease,border-color .18s ease;
}
body.pdp .hero-actions .btn-primary{ background:var(--accent,#e94560); color:#fff; border:none; }
body.pdp .hero-actions .btn-primary:hover{ background:#c9304a; transform:translateY(-1px); }
body.pdp .hero-actions .btn-outline{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,.3); font-weight:600; }
body.pdp .hero-actions .btn-outline:hover{ border-color:rgba(255,255,255,.72); }

/* legacy hero markup (A / C / S4 groups) normalised to the same grid */
body.pdp .hero-grid{
  display:grid; grid-template-columns:minmax(0,45fr) minmax(0,55fr);
  gap:40px; align-items:center; max-width:1200px; margin:0 auto; padding:0 28px;
}
body.pdp .hero-grid .hero-image{ order:-1; }
body.pdp .hero-tags{ display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; margin:0 0 18px; }
body.pdp .hero-tags > span{ font-size:13px; color:rgba(255,255,255,.85); display:flex; align-items:center; gap:7px; }
body.pdp .hero-tags > span::before{ content:'\2713'; color:var(--accent,#e94560); font-weight:700; font-size:15px; }
body.pdp .hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }
body.pdp .hero-cta .btn-primary{ padding:13px 26px; font-size:14px; font-weight:700; background:var(--accent,#e94560); color:#fff; border:none; border-radius:10px; cursor:pointer; }

/* ---------- 4. GALLERY: main stage + thumbs (fast-charger standard) ---------- */
body.pdp .pdp-gallery{ display:block; width:100%; }
body.pdp .pdp-gallery__stage{
  position:relative;
  display:flex; align-items:center; justify-content:center;
  background:#fff; border-radius:14px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  padding:10px;
  min-height:200px;
}
body.pdp .pdp-gallery__main{
  display:block; max-width:100%; max-height:400px; width:auto; height:auto;
  object-fit:contain; border-radius:14px;
  transition:opacity .12s ease;
}
body.pdp .pdp-gallery__main.is-fading{ opacity:.25; }
body.pdp .pdp-gallery__thumbs{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:12px; margin-top:14px;
}
body.pdp .pdp-gallery__thumbs[hidden]{ display:none; }
body.pdp .pdp-gallery__thumb{
  width:86px; height:86px; flex:0 0 86px;
  padding:4px; box-sizing:border-box;
  border:2px solid rgba(255,255,255,.28);
  border-radius:12px; background:#fff;
  cursor:pointer; overflow:hidden;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.pdp .pdp-gallery__thumb img{
  display:block; width:100%; height:100%; object-fit:contain; border-radius:8px;
}
body.pdp .pdp-gallery__thumb:hover{ transform:translateY(-1px); border-color:rgba(255,255,255,.6); }
body.pdp .pdp-gallery__thumb.is-active{
  border-color:var(--accent,#e94560);
  box-shadow:0 0 0 3px rgba(233,69,96,.28);
}
body.pdp .pdp-gallery.is-empty{ display:none; }

/* ---------- 5. Overview ---------- */
body.pdp .overview-content{ max-width:940px; margin:0 auto; }
body.pdp .overview-content p{ font-size:15.5px; line-height:1.75; color:#475569; margin:0 0 12px; }
body.pdp .overview-content p:last-child{ margin-bottom:0; }

/* ---------- 6. Key features ---------- */
body.pdp .features-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body.pdp .feature-card{ background:#f8fafc; border:1px solid #e8edf3; border-radius:14px; padding:20px 18px; }
body.pdp .feature-card .f-icon{ width:38px; height:38px; margin-bottom:12px; font-size:22px; line-height:38px; text-align:center; }
body.pdp .feature-card h3{ font-size:15px; margin:0 0 6px; }
body.pdp .feature-card p{ font-size:13.5px; line-height:1.6; color:#64748b; margin:0; }

/* ---------- 7. Specifications ---------- */
body.pdp .specs-table{ width:100%; max-width:860px; margin:0 auto; border-collapse:collapse; font-size:13.5px; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 2px 12px rgba(15,23,42,.06); }
body.pdp .specs-table td{ padding:10px 18px; border-bottom:1px solid #eef2f7; vertical-align:top; line-height:1.6; }
body.pdp .specs-table tr:last-child td{ border-bottom:0; }
body.pdp .specs-table td:first-child{ width:210px; background:#f8fafc; font-weight:600; color:#334155; }

/* ---------- 8. Compatible devices ---------- */
body.pdp .devices-grid{ display:flex; flex-wrap:wrap; gap:8px; max-width:860px; margin:0 auto; justify-content:center; }
body.pdp .device-badge{ font-size:12.5px; padding:6px 14px; background:#f1f5f9; border-radius:999px; color:#334155; }

/* ---------- 9. Business applications / customization / related grids ---------- */
body.pdp .app-grid,
body.pdp .custom-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.pdp .app-card,
body.pdp .custom-card{ background:#f8fafc; border:1px solid #e8edf3; border-radius:14px; padding:20px 16px; }
body.pdp .app-icon,
body.pdp .custom-icon{ font-size:30px; margin-bottom:10px; line-height:1.1; }
body.pdp .app-card h4,
body.pdp .custom-card h4{ font-size:14.5px; margin:0 0 6px; color:#1a1a2e; }
body.pdp .app-card p,
body.pdp .custom-card p{ font-size:13px; line-height:1.55; color:#64748b; margin:0; }
body.pdp .process-flow{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; justify-content:center; }
body.pdp .process-step{ padding:10px 8px; text-align:center; }
body.pdp .process-step .step-num{ width:34px; height:34px; font-size:14px; margin:0 auto 8px; border-radius:50%; background:var(--accent,#e94560); color:#fff; line-height:34px; }
body.pdp .process-step .step-label{ font-size:12.5px; color:#475569; }

/* ---------- 10. Why this product sells ---------- */
body.pdp .why-content{ max-width:900px; margin:0 auto; font-size:15px; line-height:1.8; color:#475569; }
body.pdp .why-content p{ margin:0 0 12px; }
body.pdp .why-content p:last-child{ margin-bottom:0; }

/* ---------- 11. Quality assurance ---------- */
body.pdp .qa-timeline{ max-width:860px; margin:0 auto; padding-left:34px; position:relative; }
body.pdp .qa-timeline::before{ content:''; position:absolute; left:15px; top:0; bottom:0; width:2px; background:#e8edf3; }
body.pdp .qa-step{ display:flex; gap:16px; margin-bottom:16px; position:relative; }
body.pdp .qa-num{ width:32px; height:32px; font-size:14px; border-radius:50%; background:#fff; border:3px solid var(--accent,#e94560); color:#1a1a2e; line-height:26px; text-align:center; flex:0 0 32px; }
body.pdp .qa-content{ background:#f8fafc; border-radius:12px; padding:14px 18px; flex:1; }
body.pdp .qa-content h4{ font-size:14.5px; margin:0 0 4px; color:#1a1a2e; }
body.pdp .qa-content p{ font-size:13px; line-height:1.55; color:#64748b; margin:0; }

/* ---------- 12. FAQ ---------- */
body.pdp .faq-list{ max-width:820px; margin:0 auto; }
body.pdp .faq-item{ margin-bottom:8px; border:1px solid #e8edf3; border-radius:12px; background:#fff; overflow:hidden; }
body.pdp .faq-item summary{ padding:12px 16px; font-size:14.5px; font-weight:600; color:#1a1a2e; cursor:pointer; }
body.pdp .faq-item .faq-answer{ padding:0 16px 14px; font-size:13.5px; line-height:1.6; }
body.pdp .faq-item .faq-answer p{ font-size:13.5px; color:#64748b; margin:0; }

/* ---------- 13. Related products ---------- */
body.pdp .related-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
body.pdp .card-related{ background:#fff; border:1px solid #e8edf3; border-radius:14px; overflow:hidden; text-align:center; }
body.pdp .card-related img,
body.pdp .related-card img{ width:100%; height:150px; object-fit:contain; background:#f8fafc; display:block; }
body.pdp .related-info{ padding:12px; }
body.pdp .related-info h4{ font-size:13.5px; margin:0; color:#1a1a2e; }

/* ---------- 14. Request quote ---------- */
body.pdp .cta{ padding:44px 0; }
body.pdp .cta-card{ background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%); border-radius:18px; padding:38px 28px; text-align:center; color:#fff; }
body.pdp .cta-card h2{ font-size:clamp(21px,2.4vw,26px); font-weight:800; color:#fff; margin:0 0 10px; }
body.pdp .cta-card p{ font-size:14px; line-height:1.65; color:rgba(255,255,255,.78); max-width:640px; margin:0 auto 18px; }
body.pdp .cta-card .btn-primary-large,
body.pdp .cta-card .btn-primary{ display:inline-block; padding:14px 30px; font-size:15px; font-weight:700; background:var(--accent,#e94560); color:#fff; border-radius:10px; text-decoration:none; }
body.pdp .cta-form{ max-width:640px; margin:22px auto 0; text-align:left; }
body.pdp .cta-form .form-row{ display:flex; gap:12px; margin-bottom:10px; }
body.pdp .cta-form .form-group{ margin-bottom:10px; flex:1; }
body.pdp .cta-form .form-group input,
body.pdp .cta-form .form-group textarea{ width:100%; box-sizing:border-box; padding:10px 14px; font-size:13.5px; border:1px solid #dbe3ec; border-radius:10px; }
body.pdp .cta-form .btn-submit{ padding:14px; font-size:15px; margin-top:12px; width:100%; background:var(--accent,#e94560); color:#fff; border:none; border-radius:10px; font-weight:700; cursor:pointer; }
body.pdp .cta-contact{ margin-top:12px; font-size:13.5px; color:rgba(255,255,255,.8); }

/* ---------- 15. Footer ---------- */
body.pdp .footer{ padding:34px 0 18px; }
body.pdp .footer-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px; margin-bottom:20px; }
body.pdp .footer-col a{ display:block; margin-bottom:6px; }
body.pdp .site-footer{ padding:26px 20px; text-align:center; font-size:13px; color:#64748b; }

/* ================== TABLET (<=1024) ================== */
@media (max-width:1024px){
  body.pdp .container,
  body.pdp .navbar-inner,
  body.pdp .footer-inner{ padding:0 24px; }
  body.pdp .hero{ padding:36px 0 32px; }
  body.pdp .hero .container,
  body.pdp .hero-grid{ gap:26px; padding:0 24px; }
  body.pdp .hero-content h1,
  body.pdp .hero h1{ font-size:26px; }
  body.pdp .hero-intro,
  body.pdp .hero-subtitle{ font-size:14px; }
  body.pdp .pdp-gallery__main{ max-height:330px; }
  body.pdp .section{ padding:38px 0; }
  body.pdp .section-header{ margin-bottom:22px; }
  body.pdp .features-grid,
  body.pdp .app-grid,
  body.pdp .custom-grid{ gap:14px; }
  body.pdp .overview-content,
  body.pdp .specs-table,
  body.pdp .qa-timeline{ max-width:none; }
}

/* Tablet portrait 761-900: keep the two-column hero */
@media (min-width:761px) and (max-width:900px){
  body.pdp .hero .container,
  body.pdp .hero-grid{ grid-template-columns:minmax(0,45fr) minmax(0,55fr); gap:22px; padding:0 22px; align-items:center; }
  body.pdp .hero-content h1,
  body.pdp .hero h1{ font-size:23px; }
  body.pdp .hero-intro,
  body.pdp .hero-subtitle{ font-size:13.5px; line-height:1.6; }
  body.pdp .hero-selling-points,
  body.pdp .hero-tags{ gap:6px 12px; }
  body.pdp .hero-selling-points .sp,
  body.pdp .hero-tags > span{ font-size:12.5px; }
  body.pdp .hero-actions .btn-primary,
  body.pdp .hero-actions .btn-outline{ padding:11px 18px; font-size:13px; }
  body.pdp .pdp-gallery__main{ max-height:300px; }
}

/* ================== MOBILE (<=760 single column) ================== */
@media (max-width:760px){
  body.pdp .hero{ padding:32px 0 28px; }
  body.pdp .hero .container,
  body.pdp .hero-grid{ grid-template-columns:minmax(0,1fr); gap:22px; }
  body.pdp .hero-image{ order:-1; }
  body.pdp .section{ padding:32px 0; }
  body.pdp .section-header{ margin-bottom:18px; }
  body.pdp .section-header h2,
  body.pdp .section > .container > h2{ font-size:21px; }
  body.pdp .features-grid,
  body.pdp .app-grid,
  body.pdp .custom-grid{ grid-template-columns:minmax(0,1fr); gap:12px; }
  body.pdp .related-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
  body.pdp .footer-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  body.pdp .process-flow{ flex-direction:column; gap:0; margin-top:18px; }
  body.pdp .cta-form .form-row{ flex-direction:column; gap:0; margin-bottom:0; }
  body.pdp .overview-content p{ font-size:14.5px; line-height:1.7; }
  body.pdp .pdp-gallery__thumb{ width:74px; height:74px; flex:0 0 74px; }
}

/* ================== PHONE 390 ================== */
@media (max-width:480px){
  body.pdp .container,
  body.pdp .navbar-inner,
  body.pdp .footer-inner{ padding:0 17px; }
  body.pdp .hero{ padding:26px 0 24px; }
  body.pdp .hero .container,
  body.pdp .hero-grid{ padding:0 17px; gap:18px; }
  body.pdp .hero-content h1,
  body.pdp .hero h1{ font-size:21px; }
  body.pdp .hero-intro,
  body.pdp .hero-subtitle{ font-size:14px; line-height:1.62; }
  body.pdp .hero-selling-points,
  body.pdp .hero-tags{ grid-template-columns:minmax(0,1fr); }
  body.pdp .pdp-gallery__main{ max-height:280px; }
  body.pdp .pdp-gallery__thumb{ width:68px; height:68px; flex:0 0 68px; padding:3px; }
  body.pdp .pdp-gallery__stage{ padding:8px; border-radius:12px; }
  body.pdp .hero-actions .btn-primary,
  body.pdp .hero-actions .btn-outline{ flex:1 1 auto; padding:12px 18px; font-size:14px; }
  body.pdp .section{ padding:28px 0; }
  body.pdp .overview-content p,
  body.pdp .why-content{ font-size:14.5px; line-height:1.7; }
  body.pdp .feature-card p,
  body.pdp .app-card p,
  body.pdp .custom-card p,
  body.pdp .qa-content p,
  body.pdp .faq-item .faq-answer p{ font-size:14px; line-height:1.6; }
  body.pdp .faq-item summary{ font-size:14px; padding:12px 14px; }
  body.pdp .specs-table td{ padding:9px 12px; font-size:13px; }
  body.pdp .specs-table td:first-child{ width:118px; }
  body.pdp .related-grid{ grid-template-columns:minmax(0,1fr); }
  body.pdp .cta-card{ padding:26px 18px; border-radius:14px; }
  body.pdp .cta-form .btn-submit{ font-size:14.5px; }
  body.pdp .footer-grid{ grid-template-columns:minmax(0,1fr); gap:16px; }
}

/* ================== PHONE specs table -> stacked rows (<=600) ================== */
@media (max-width:600px){
  body.pdp .specs-table,
  body.pdp .specs-table tbody,
  body.pdp .specs-table tr,
  body.pdp .specs-table td{ display:block; width:100%; box-sizing:border-box; }
  body.pdp .specs-table{ border-radius:10px; }
  body.pdp .specs-table tr:not(:last-child) td{ border-bottom:0; }
  body.pdp .specs-table tr:not(:last-child){ border-bottom:1px solid #eef2f7; }
  body.pdp .specs-table td{ padding:0; }
  body.pdp .specs-table td:first-child{
    width:100%; padding:10px 14px 2px; background:transparent;
    font-size:12px; letter-spacing:.04em; text-transform:uppercase; color:#64748b;
  }
  body.pdp .specs-table td:last-child{ padding:0 14px 11px; font-size:13.5px; line-height:1.55; }
}

/* ================== 16. LEGACY MODULE COMPATIBILITY (A/B groups: 12-section pages) ================== */
body.pdp .section-content{ max-width:940px; margin:0 auto; }
body.pdp .section-content p{ font-size:15.5px; line-height:1.75; color:#475569; margin:0 0 12px; }
body.pdp .apps-grid,
body.pdp .oem-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.pdp .custom-item,
body.pdp .qa-card{ background:#f8fafc; border:1px solid #e8edf3; border-radius:14px; padding:20px 16px; }
body.pdp .custom-item h4,
body.pdp .qa-card h4{ font-size:14.5px; margin:0 0 6px; color:#1a1a2e; }
body.pdp .custom-item p,
body.pdp .qa-card p{ font-size:13px; line-height:1.55; color:#64748b; margin:0; }
body.pdp .qa-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.pdp .btn{ display:inline-block; margin-top:10px; padding:9px 18px; font-size:13px; font-weight:600; border-radius:8px; background:#f1f5f9; color:#1a1a2e; text-decoration:none; transition:background .18s ease,color .18s ease; }
body.pdp .btn:hover{ background:var(--accent,#e94560); color:#fff; }
body.pdp .card-related{ padding-bottom:16px; }

/* ================== 17. LEGACY MODULE COMPATIBILITY (C group: self-contained template) ================== */
body.pdp .section-alt{ background:#f8fafc; }
body.pdp .breadcrumb{ font-size:12.5px; color:rgba(255,255,255,.5); margin:0 0 8px; }
body.pdp .breadcrumb a{ color:rgba(255,255,255,.7); text-decoration:none; }
body.pdp .breadcrumb a:hover{ color:#fff; }
body.pdp .hero-specs{ display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; margin:0 0 18px; }
body.pdp .hero-spec{ font-size:13px; font-weight:400; color:rgba(255,255,255,.85); background:none; padding:0; border-radius:0; display:flex; align-items:center; gap:7px; line-height:1.4; }
body.pdp .hero-spec::before{ content:'\2713'; color:var(--accent,#e94560); font-weight:700; font-size:15px; }
body.pdp .compat-grid{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; max-width:860px; margin:0 auto; }
body.pdp .compat-item{ font-size:12.5px; padding:6px 14px; background:#f1f5f9; border-radius:999px; color:#334155; }
body.pdp .qc-timeline{ max-width:860px; margin:0 auto; }
body.pdp .qc-step{ display:flex; gap:16px; margin-bottom:14px; align-items:flex-start; }
body.pdp .qc-step .circle{ width:32px; height:32px; flex:0 0 32px; border-radius:50%; background:#fff; border:3px solid var(--accent,#e94560); color:#1a1a2e; line-height:26px; text-align:center; font-size:13px; font-weight:700; box-sizing:border-box; }
body.pdp .card{ background:#fff; border:1px solid #e8edf3; border-radius:14px; padding:18px; }
body.pdp .card .icon{ font-size:26px; margin-bottom:8px; line-height:1.1; }
body.pdp .cta-section{ background:linear-gradient(135deg,#1a1a2e 0%,#16213e 100%); color:#fff; padding:44px 0; text-align:center; }
body.pdp .cta-section h2{ color:#fff; font-size:clamp(21px,2.4vw,26px); font-weight:800; margin:0 0 10px; }
body.pdp .cta-section p{ color:rgba(255,255,255,.78); font-size:14px; line-height:1.65; margin:0 0 16px; }
body.pdp .cta-section .btn-primary,
body.pdp .cta-section .btn-outline{ display:inline-block; margin:6px; padding:13px 26px; border-radius:10px; text-decoration:none; font-weight:700; font-size:14px; }
body.pdp .cta-section .btn-primary{ background:var(--accent,#e94560); color:#fff; border:none; }
body.pdp .cta-section .btn-outline{ background:transparent; color:#fff; border:2px solid rgba(255,255,255,.3); }

/* ================== 18. Responsive patches for legacy grids ================== */
@media (max-width:1024px){
  body.pdp .apps-grid, body.pdp .oem-grid, body.pdp .qa-grid, body.pdp .custom-grid{ gap:14px; }
}
@media (max-width:760px){
  body.pdp .apps-grid, body.pdp .oem-grid, body.pdp .qa-grid, body.pdp .custom-grid{ grid-template-columns:minmax(0,1fr); gap:12px; }
  body.pdp .compat-grid{ gap:6px; }
  body.pdp .section-content p{ font-size:14.5px; line-height:1.7; }
}
@media (max-width:480px){
  body.pdp .hero-specs{ grid-template-columns:minmax(0,1fr); }
  body.pdp .custom-item, body.pdp .qa-card, body.pdp .card{ padding:16px 14px; }
  body.pdp .cta-section{ padding:32px 0; }
}
/* v2: 无可用图片时 hero 收为单列，避免左侧空白区 */
body.pdp .hero .container.is-single,
body.pdp .hero .hero-grid.is-single { grid-template-columns: minmax(0, 1fr) !important; }
body.pdp .hero .container.is-single .hero-image,
body.pdp .hero .hero-grid.is-single .hero-image { display: none !important; }
body.pdp .pdp-gallery.is-empty { display: none !important; }

/* ---------- 11. RESPONSIVE TABLE (防止窄屏横向溢出) ---------- */
body.pdp table{ max-width:100%; }
@media (max-width:760px){
  body.pdp table{ display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  body.pdp table > thead, body.pdp table > tbody{ width:100%; }
}

/* ---------- 12. WHATSAPP UNIFY: 横排 125x38 ---------- */
body.pdp .wa-chat-btn{
  display:inline-flex !important; align-items:center; justify-content:center;
  flex-wrap:nowrap !important; gap:6px;
  width:125px; min-width:125px; max-width:125px;
  height:38px; min-height:38px; max-height:38px;
  padding:0 10px !important; border-radius:8px;
  white-space:nowrap; writing-mode:horizontal-tb; box-sizing:border-box;
  font-size:13.5px; line-height:1;
}
body.pdp .wa-chat-btn svg{ width:18px; height:18px; flex:0 0 18px; }
body.pdp .wa-chat-btn .wa-chat-text{ white-space:nowrap; }
@media (max-width:480px){
  body.pdp .wa-chat-btn{
    width:112px; min-width:112px; max-width:112px;
    height:34px; min-height:34px; max-height:34px; font-size:12.5px;
  }
  body.pdp .wa-chat-btn svg{ width:16px; height:16px; flex:0 0 16px; }
}

/* ---------- 13. SPECS HARD OVERRIDE: 旧内联样式表溢出兜底 ---------- */
body.pdp .overview-content,
body.pdp .container > *,
body.pdp section .container{ max-width:100% !important; }
@media (max-width:760px){
  body.pdp table, body.pdp table.specs-table, body.pdp .specs-table{
    display:block !important; width:100% !important; max-width:100% !important;
    overflow-x:auto !important; -webkit-overflow-scrolling:touch;
  }
  body.pdp .overview-content table, body.pdp .container table{ width:100% !important; }
}

/* ---------- 14. HTML LOCK: 防止 html 层横向滚动 ---------- */
html:has(body.pdp){ overflow-x:hidden; }
