:root{
  /* รอบ 18 — ปรับสีตาม brand kit ใหม่ที่เจ้านายส่งมา (โลโก้เดิม แต่กำหนดโทนสีทางการ) */
  --navy:#0D2B6B;
  --navy-dark:#081C4A;
  --navy-light:#1E3F8F;
  --gold:#C79A4E;
  --gold-light:#DDBD82;
  --gold-dark:#9C7530;
  --gold-text:#D9A94F;
  --green:#2E7D32;
  --green-dark:#1F5C23;
  --green-light:#4CA050;
  --sky-top:#BFE6FB;
  --sky-mid:#5CB6E8;
  --sky-deep:#2A8AC9;
  --ink:#1A2333;
  --paper:#FAFBFE;
}
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  /* รอบ 19 — เปลี่ยนฟอนต์หลักทั้งเว็บเป็น Sarabun (โหลดจาก Google Fonts ใน head())
     ซึ่งเป็นฟอนต์ตระกูลเดียวกับ TH Sarabun New ที่ผู้ใช้ขอ — ใช้เวอร์ชัน Google Fonts แทนไฟล์ฟอนต์เดิม
     เพราะเป็น CDN ฟรีที่เชื่อถือได้ ไม่ต้องเก็บไฟล์ฟอนต์เอง (ตรงตามหลักการเว็บไซต์ไม่มีค่าใช้จ่ายของโปรเจกต์นี้) */
  font-family:'Sarabun','Noto Sans Thai','Segoe UI',Tahoma,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ max-width:1120px; margin:0 auto; padding:0 20px; }

/* gold gradient text, reused from the print catalog */
.gold-text{
  background: linear-gradient(180deg, #F6D477 0%, #E3A335 55%, #C9791F 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  border-bottom:3px solid var(--gold);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 20px;
}
.nav .brand{ display:flex; align-items:center; gap:12px; }
.nav .brand img{ height:60px; width:auto; max-width:190px; object-fit:contain; }
.nav .brand-text{ color:#fff; font-weight:700; font-size:14px; letter-spacing:1px; }
.nav .brand-text small{ display:block; font-weight:400; font-size:10px; color:#C7D6F5; letter-spacing:0; }
.nav-links{ display:flex; align-items:center; gap:22px; }
.nav-links > a{ color:#fff; font-size:14px; font-weight:600; padding:6px 2px; border-bottom:2px solid transparent; }
.nav-links > a:hover, .nav-links > a.active{ border-bottom-color:var(--gold); color:var(--gold-light); }
.nav-cta{
  background:var(--green); color:#fff; padding:8px 16px; border-radius:20px;
  font-size:13px; font-weight:700;
}
.nav-actions{ display:flex; align-items:center; gap:10px; }
.nav-icon-btn{
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3);
  color:#fff; font-size:16px;
}
.nav-icon-btn:hover{ background:var(--gold); border-color:var(--gold); }
/* รอบ 19.4 — ลิงก์ "เกี่ยวกับ P&P Global Trading" ย้ายออกจาก dropdown "ข้อมูลข่าวสาร" มาอยู่ในแถบ nav-actions
   ข้างปุ่ม "ติดต่อเรา" ตามที่ขอ (แสดงตลอดทุกขนาดจอ เพราะ nav-actions ไม่ถูกยุบเข้าไปในเมนูแฮมเบอร์เกอร์) */
.nav-about-link{ color:#fff; font-size:13px; font-weight:600; white-space:nowrap; padding:6px 4px; }
.nav-about-link:hover{ color:var(--gold-light); }
.nav-contact-btn{
  display:flex; align-items:center; gap:6px; flex-shrink:0;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.3);
  color:#fff; font-size:13px; font-weight:700; padding:8px 14px; border-radius:20px;
  white-space:nowrap;
}
.nav-contact-btn:hover{ background:rgba(255,255,255,.24); }

/* ---------- nav dropdown (สินค้า / ข้อมูลข่าวสาร) ---------- */
.nav-dropdown{ position:relative; }
.nav-dropdown-toggle{
  display:flex; align-items:center; gap:5px;
  background:none; border:none; cursor:pointer;
  color:#fff; font-size:14px; font-weight:600; font-family:inherit;
  padding:6px 2px; border-bottom:2px solid transparent;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle.active{ border-bottom-color:var(--gold); color:var(--gold-light); }
.nav-dropdown-toggle svg{ transition:transform .2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg{ transform:rotate(180deg); }
.nav-dropdown-menu{
  display:none; position:absolute; top:100%; left:0; margin-top:12px;
  background:#fff; border-radius:12px; box-shadow:0 16px 34px rgba(11,31,92,0.22);
  min-width:240px; padding:8px; z-index:60;
}
.nav-dropdown-menu a{
  display:block; color:var(--navy); font-size:14px; font-weight:600;
  padding:10px 14px; border-radius:8px;
}
.nav-dropdown-menu a:hover{ background:#F2F5FC; color:var(--gold-dark); }
.nav-dropdown.open .nav-dropdown-menu{ display:block; }
@media (min-width:861px){
  .nav-dropdown:hover .nav-dropdown-menu{ display:block; }
}

/* เมนู "สินค้า" แบบ mega-menu จัดกลุ่มตามแบรนด์ (Solis / GoodWe / Aiko) แล้วซ้อนหมวดหมู่ไว้ข้างใน (รอบ 19.2)
   หมายเหตุ: ห้ามใส่ display:flex ไว้ใน .nav-dropdown-mega เฉยๆ เพราะจะไปทับ display:none ของ
   .nav-dropdown-menu (ลำดับ CSS มาทีหลัง ชนะ) ทำให้เมนูค้างเปิดตลอดเวลา — ต้องกำหนด display:flex
   เฉพาะตอน .open หรือ :hover เท่านั้น เหมือนกับเมนูปกติ */
.nav-dropdown-mega{ min-width:600px; flex-wrap:wrap; padding:14px 14px 6px; gap:0 18px; }
.nav-dropdown-group{ flex:1 1 160px; min-width:160px; margin-bottom:10px; }
.nav-dropdown-group-title{
  font-size:12px; font-weight:800; letter-spacing:.5px; text-transform:uppercase;
  color:var(--gold-dark); padding:4px 14px 8px; border-bottom:1px solid #EEF1F9; margin-bottom:4px;
}
.nav-dropdown-mega .nav-dropdown-viewall{
  flex-basis:100%; display:block; text-align:center; margin-top:4px; padding:12px 14px;
  border-top:1px solid #EEF1F9; border-radius:0 0 10px 10px; color:var(--navy); font-weight:700;
}
.nav-dropdown-mega .nav-dropdown-viewall:hover{ background:#F2F5FC; color:var(--gold-dark); }
.nav-dropdown.open .nav-dropdown-mega{ display:flex; }
@media (min-width:861px){
  .nav-dropdown:hover .nav-dropdown-mega{ display:flex; }
}
.nav-hamburger{
  display:none; width:38px; height:38px; border-radius:8px; flex-shrink:0;
  align-items:center; justify-content:center; background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.3); color:#fff; cursor:pointer;
}

/* ---------- hero (รอบ 19.1 — เปลี่ยนเป็นรูปแบนเนอร์สำเร็จรูปที่เจ้านายส่งมาทั้งภาพ ไม่ทับข้อความเพิ่ม) ---------- */
.hero-banner-full{ line-height:0; background:var(--paper); }
.hero-banner-full img{ width:100%; height:auto; display:block; }
.hero-actions{ opacity:0; animation:heroFadeUp .6s ease forwards; animation-delay:.18s; }
@keyframes heroFadeUp{
  from{ opacity:0; transform:translateY(14px); }
  to{ opacity:1; transform:translateY(0); }
}
/* แบนเนอร์รูปกังหันลม+แผงโซลาร์เหนือหัวข้อ "หมวดหมู่สินค้า" (รอบ 19.1) */
.cats-banner{ border-radius:16px; overflow:hidden; margin-bottom:22px; box-shadow:0 10px 26px rgba(11,31,92,0.1); }
.cats-banner img{ width:100%; height:auto; max-height:280px; object-fit:cover; }
.hero p{ max-width:640px; margin:0 0 26px; color:#0E2A55; font-size:16px; }
.hero-features{
  list-style:none; max-width:460px; margin:0 auto 26px; text-align:left; display:inline-block;
}
.hero-features li{
  font-size:15px; font-weight:600; color:#0E2A55; padding:5px 0;
}
.hero-actions{ display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap; margin-bottom:26px; }
.btn{
  display:inline-block; padding:15px 30px; border-radius:30px; font-weight:700; font-size:14px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--navy); color:#fff; box-shadow:0 8px 22px rgba(13,43,107,0.35); }
.btn-secondary{ background:#fff; color:var(--navy); box-shadow:0 8px 22px rgba(0,0,0,0.18); }
.btn-line{ background:var(--green); color:#fff; box-shadow:0 8px 22px rgba(46,125,50,0.4); }
.btn-outline{ background:rgba(255,255,255,0.12); color:#fff; border:1.5px solid rgba(255,255,255,0.55); }
.btn-outline-navy{ background:transparent; color:var(--navy); border:1.5px solid var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:#fff; }
.hero-social{ display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap; }
.hero-social-btn{
  width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:19px; font-weight:700; box-shadow:0 6px 16px rgba(0,0,0,0.3); transition:transform .15s;
  background:rgba(255,255,255,0.14); border:1.5px solid rgba(255,255,255,0.4);
}
.hero-social-btn:hover{ transform:translateY(-3px); }
@media (max-width:760px){
  .hero{ text-align:center; padding:72px 20px 56px; min-height:auto; }
  .hero-content{ max-width:none; }
  .hero-subhead{ margin-left:auto; margin-right:auto; }
  .hero-actions,.hero-social{ justify-content:center; }
}

/* ---------- scroll reveal ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ---------- brand strip ---------- */
.brand-strip-section{ padding:32px 0; }
.brand-strip{
  display:flex; align-items:center; justify-content:center; gap:56px; flex-wrap:wrap;
}
.brand-strip img{ height:44px; width:auto; object-fit:contain; opacity:0.9; }

/* ---------- sections ---------- */
section{ padding:56px 0; }
.section-title{ text-align:center; margin-bottom:8px; }
.section-title h2{ font-size:28px; font-weight:800; color:var(--navy); position:relative; display:inline-block; padding-bottom:14px; }
.section-title h2::after{
  content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:52px; height:4px; border-radius:4px;
  background:linear-gradient(90deg, var(--gold), var(--gold-light));
}
.section-sub{ text-align:center; color:#5A6580; font-size:14px; margin-bottom:36px; }

#about{ scroll-margin-top:90px; } /* รอบ 19.3 — กันเมนู "เกี่ยวกับ P&P Global Trading" (anchor ใหม่) เลื่อนไปแล้วโดน sticky nav บัง */
.about-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:40px; align-items:center; }
.about-grid p{ margin-bottom:14px; color:#39445c; }
.about-photo{ border-radius:18px; overflow:hidden; box-shadow:0 16px 40px rgba(11,31,92,0.18); }
.about-photo img{ width:100%; height:100%; min-height:320px; object-fit:cover; }
.about-features-box{
  background:#F7F9FD; border:1px solid #E4E9F5; border-radius:14px; padding:18px 20px; margin-bottom:18px;
}
.about-features-title{ font-size:14px; font-weight:800; color:var(--gold-dark); margin-bottom:4px; }
.about-features-box .hero-features{ margin:0; max-width:none; }
.about-features-box .hero-features li{ padding:4px 0; }
.stat-row{ display:flex; gap:24px; margin-top:22px; flex-wrap:wrap; }
.stat{ background:#fff; border:1px solid #E4E9F5; border-radius:14px; padding:16px 20px; min-width:120px; }
.stat b{ display:block; font-size:26px; color:var(--gold-dark); }
.stat span{ font-size:12px; color:#5A6580; }

.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-card{
  background:#fff; border:1px solid #E4E9F5; border-radius:16px; padding:26px 22px;
  text-align:center; box-shadow:0 4px 14px rgba(11,31,92,0.05);
  transition:box-shadow .2s ease, transform .2s ease;
}
.why-card:hover{ box-shadow:0 14px 30px rgba(11,31,92,0.14); transform:translateY(-4px); }
.why-card .ic{
  width:56px; height:56px; margin:0 auto 14px; border-radius:50%;
  background:#fff; border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center; color:var(--navy); font-size:22px; font-weight:800;
}
.why-card h3{ font-size:16px; color:var(--navy); margin-bottom:6px; }
.why-card p{ font-size:13px; color:#5A6580; }

/* รอบ 19 — การ์ดหมวดหมู่สินค้าเปลี่ยนจากพื้นกรมท่าไล่สีเป็นการ์ดพื้นขาว ไอคอนบนสุด ตาม brand kit ใหม่ */
/* รอบ 19.4 — เพิ่มระยะห่างระหว่างการ์ดตามที่ขอ (2.5ซม ≈ 95px ที่ 96dpi) ให้ดูโปร่ง สบายตาขึ้น */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:95px; }
.cat-card{
  position:relative; border-radius:16px; overflow:visible; min-height:180px;
  background:#fff; border:1px solid #E4E9F5;
  color:var(--navy); padding:28px 24px 24px; display:flex; flex-direction:column; justify-content:flex-start;
  box-shadow:0 4px 14px rgba(11,31,92,0.05);
  transition:box-shadow .2s ease, transform .2s ease;
}
.cat-card:hover{ box-shadow:0 14px 30px rgba(11,31,92,0.14); transform:translateY(-4px); }
.cat-card .tag{ font-size:11px; letter-spacing:2px; color:var(--gold-dark); font-weight:700; margin-bottom:6px;}
.cat-card-icon{
  width:52px; height:52px; border-radius:50%; margin-bottom:16px; flex-shrink:0;
  background:#fff; border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center; color:var(--navy);
}
/* รอบ 19.3 — ขยายโลโก้แบรนด์บนการ์ดหมวดหมู่สินค้าให้เห็นชัดเจนขึ้นมาก (เดิม 28px มุมขวาบน เล็กเกินไป)
   ย้ายจาก badge ลอยมุมการ์ดแบบ position:absolute มาเป็นแถวโลโก้ปกติที่ด้านบนสุดของการ์ดแทน เพราะถ้าใหญ่ถึง
   300x300px ตามที่ขอจริงๆ จะใหญ่กว่าตัวการ์ดทั้งใบ (การ์ดกว้างแค่ ~300-350px) ทำให้ layout พังได้ —
   ปรับเป็นขนาดใหญ่ที่สุดเท่าที่ยังพอดีกับการ์ดโดยไม่ล้น (64px) แทน
   รอบ 19.4 — ขยายเพิ่มอีกรอบตามที่ขอซ้ำ (64px→76px) พร้อมเพิ่มระยะห่างจากไอคอนด้านล่างให้ดูโปร่งขึ้น */
.cat-card-logos{ display:flex; gap:14px; margin-bottom:20px; }
.cat-card-logos img{ height:76px; width:auto; max-width:140px; object-fit:contain; background:#F7F9FD; border:1px solid #E4E9F5; border-radius:10px; padding:8px; }
.cat-card h3{ font-size:19px; margin-bottom:4px; color:var(--navy); }
.cat-card span{ font-size:12.5px; color:#5A6580; }
.cat-card .cat-highlight{ font-size:11.5px; color:var(--gold-dark); margin-top:10px; font-weight:600; }

/* ---------- trust strip ---------- */
.trust-strip{ display:none; }
/* removed from homepage per user feedback 2026-08-17 round 6 — kept class defined in case reused elsewhere */
.trust-badge{
  display:flex; align-items:center; gap:8px; background:#fff; border:1px solid #E4E9F5; border-radius:22px;
  padding:9px 18px; font-size:13px; font-weight:700; color:var(--navy); box-shadow:0 4px 12px rgba(11,31,92,0.06);
}

/* ---------- brand section (authorized distributor grid) ---------- */
.brand-section{ padding-top:44px; }
.brand-section,#about,#why-us,.home-categories,#faq,.home-contact{ padding-top:110px; padding-bottom:110px; }
/* รอบ 19.4 — เพิ่มระยะห่างระหว่างการ์ดแบรนด์ตามที่ขอ (2.5ซม ≈ 95px ที่ 96dpi) */
.brand-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:95px; }
.brand-grid-card{
  background:#fff; border:1px solid #E4E9F5; border-radius:16px; padding:30px 20px;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  box-shadow:0 4px 14px rgba(11,31,92,0.05); transition:box-shadow .15s, transform .15s;
}
.brand-grid-card:hover{ box-shadow:0 10px 24px rgba(11,31,92,0.12); transform:translateY(-2px); }
.brand-grid-card img{ height:76px; max-width:190px; width:auto; object-fit:contain; }
.brand-grid-card span{ font-size:14px; font-weight:800; color:var(--navy); }

/* ---------- stats band ---------- */
.stats-band{ background:linear-gradient(120deg, var(--navy-dark), var(--navy) 55%, var(--navy-light)); padding:36px 0; margin-top:44px; }
.stats-band-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.stats-item b{ display:block; font-size:clamp(20px,3vw,30px); font-weight:800; color:var(--gold-light); margin-bottom:4px; }
.stats-item span{ font-size:12px; color:#C7D6F5; }

/* ---------- FAQ ---------- */
.faq-list{ max-width:760px; margin:0 auto; }
.faq-item{
  background:#fff; border:1px solid #E4E9F5; border-radius:12px; padding:14px 18px; margin-bottom:12px;
}
.faq-item summary{
  cursor:pointer; font-size:14px; font-weight:700; color:var(--navy); list-style:none; padding:4px 0;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:' +'; color:var(--gold-dark); font-weight:800; }
.faq-item[open] summary::after{ content:' -'; }
.faq-body{ font-size:13px; color:#5A6580; margin-top:8px; line-height:1.7; }

/* ---------- final CTA band ---------- */
.final-cta{
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  padding:56px 0; margin-top:56px; text-align:center;
}
.final-cta-inner h2{ color:#fff; font-size:26px; margin-bottom:10px; }
.final-cta-inner p{ color:#C7D6F5; font-size:14px; margin-bottom:22px; }
.btn-primary-gold{ background:var(--gold); color:#fff; box-shadow:0 6px 18px rgba(184,132,63,0.4); }
.btn-outline-white{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.55); }
.btn-outline-white:hover{ background:rgba(255,255,255,0.1); }

/* ---------- product grid (used on products.html) ---------- */
.brand-block{ margin-bottom:46px; }
.brand-heading{
  display:flex; align-items:center; margin-bottom:10px; padding-bottom:10px;
  border-bottom:2px solid #E4E9F5;
}
.brand-heading-logo{ height:42px; width:auto; object-fit:contain; }
.cat-heading{ font-size:15px; font-weight:700; color:var(--gold-dark); margin:22px 0 12px; padding-left:2px; border-left:4px solid var(--gold); padding-left:10px; scroll-margin-top:90px; }

.product-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:18px; }
.p-card{
  background:#fff; border:1.5px solid #DCE3F5; border-radius:14px; overflow:hidden;
  display:flex; flex-direction:column; transition:box-shadow .15s, transform .15s;
}
.p-card:hover{ box-shadow:0 10px 24px rgba(11,31,92,0.12); transform:translateY(-2px); }
.p-card .photo{ background:#fff; padding:14px; text-align:center; overflow:hidden; position:relative; }
.p-card .photo img{ height:150px; margin:0 auto; object-fit:contain; transition:transform .2s ease; }
.p-card .photo:hover img{ transform:scale(2); }
.p-card .info{ padding:0 14px 16px; }
a.model{ display:block; font-size:13px; font-weight:700; color:var(--navy); margin-bottom:4px; }
a.model:hover{ text-decoration:underline; }
.p-card .spec{ display:flex; align-items:baseline; gap:4px; margin-bottom:2px;}
.p-card .spec b{ font-size:20px; color:var(--gold-dark); }
.p-card .spec span{ font-size:11px; color:#5A6580; }
.p-card .phase{ font-size:11px; color:#5A6580; margin-bottom:10px; }
.card-actions{ display:flex; gap:8px; }
.cta-datasheet{ margin-top:9px; width:100%; display:flex; align-items:center; justify-content:center; gap:7px; border:1.5px solid var(--gold); color:var(--gold-dark); background:#FFF9F0; border-radius:8px; padding:8px 10px; font-size:12px; font-weight:800; }
.cta-datasheet:hover{ background:var(--gold); color:#fff; }
.cta-datasheet svg{ width:15px; height:15px; }
.datasheet-library{ display:flex; justify-content:center; margin:-20px 0 30px; }
.datasheet-library a{ border:1.5px solid var(--gold); border-radius:24px; padding:9px 18px; color:var(--gold-dark); background:#fff; font-size:13px; font-weight:800; }
.datasheet-library a:hover{ background:var(--gold); color:#fff; }
.btn-datasheet,.btn-datasheet-muted{ display:inline-flex; align-items:center; gap:7px; }
.btn-datasheet{ background:var(--gold); color:#fff; box-shadow:0 8px 22px rgba(184,132,63,.28); }
.btn-datasheet:hover{ background:var(--gold-dark); }
.btn-datasheet-muted{ background:#F2F5FC; color:var(--navy); border:1px solid #DCE3F5; }
.btn-datasheet svg{ width:17px; height:17px; }
.p-card .cta{
  flex:1; display:block; text-align:center; background:var(--navy); color:#fff; font-size:12px; font-weight:700;
  padding:8px; border-radius:8px;
}
.p-card .cta:hover{ background:var(--navy-light); }
.cta-secondary{
  flex:1; display:block; text-align:center; background:#fff; color:var(--navy); border:1.5px solid var(--navy);
  font-size:12px; font-weight:700; padding:7px 6px; border-radius:8px;
}
.cta-secondary:hover{ background:#F0F3FC; }

/* ---------- filter bar ---------- */
.filter-bar{
  background:#fff; border:1px solid #E4E9F5; border-radius:14px; padding:16px 20px; margin-bottom:28px;
  position:sticky; top:64px; z-index:20; box-shadow:0 4px 14px rgba(11,31,92,0.05);
}
.filter-group{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; }
.filter-group:last-child{ margin-bottom:0; }
.filter-label{ font-size:12px; font-weight:700; color:var(--navy); margin-right:4px; }
.filter-pill{
  font-size:12px; font-weight:600; padding:6px 14px; border-radius:16px; border:1.5px solid #DCE3F5;
  background:#F7F9FD; color:#39445c; cursor:pointer; transition:.15s;
}
.filter-pill:hover{ border-color:var(--gold); }
.filter-pill.active{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* ---------- products.html: แถบตัวกรอง แบรนด์สินค้า/หมวดหมู่ ย้ายมาเป็น sidebar ด้านข้าง (รอบ 19.2) ---------- */
.products-layout{ display:grid; grid-template-columns:230px 1fr; gap:28px; align-items:start; }
.filter-sidebar{
  background:#fff; border:1px solid #E4E9F5; border-radius:14px; padding:20px 18px;
  position:sticky; top:80px; box-shadow:0 4px 14px rgba(11,31,92,0.05);
}
.filter-sidebar .filter-group{ display:flex; flex-direction:column; align-items:stretch; gap:8px; margin-bottom:22px; }
.filter-sidebar .filter-group:last-child{ margin-bottom:0; }
.filter-sidebar .filter-label{ font-size:16px; font-weight:700; color:var(--navy); margin:0 0 4px; display:block; }
.filter-sidebar .filter-pill{ font-size:16px; text-align:left; padding:8px 14px; }
.products-main{ min-width:0; }

/* ---------- product detail page ---------- */
.breadcrumb{ font-size:12px; color:#5A6580; margin-bottom:18px; }
.breadcrumb a{ color:var(--navy); font-weight:600; }
.breadcrumb a:hover{ text-decoration:underline; }
.detail-wrap{ display:grid; grid-template-columns:1fr 1.2fr; gap:40px; align-items:start; margin-bottom:60px; }
.detail-photo{ background:#fff; border:1px solid #E4E9F5; border-radius:16px; padding:30px; text-align:center; overflow:hidden; position:relative; }
.detail-photo img{ max-height:360px; margin:0 auto; object-fit:contain; cursor:zoom-in; transition:transform .2s ease; }
.detail-photo:hover img{ transform:scale(2); }
.detail-brand-logo{ height:44px; width:auto; object-fit:contain; margin-bottom:6px; }
.detail-info h1{ font-size:24px; color:var(--navy); margin:10px 0 4px; }
.detail-spec{ display:flex; align-items:baseline; gap:6px; margin:10px 0 2px; }
.detail-spec b{ font-size:32px; color:var(--gold-dark); white-space:nowrap; }
.detail-spec span{ font-size:13px; color:#5A6580; }
.detail-phase{ font-size:13px; color:#5A6580; margin-bottom:16px; }
.detail-table{ width:100%; border-collapse:collapse; margin:18px 0; }
.detail-table tr{ border-bottom:1px solid #E4E9F5; }
.detail-table td{ padding:9px 4px; font-size:13px; vertical-align:top; }
.detail-table td:first-child{ color:#5A6580; width:42%; }
.detail-table td:last-child{ color:var(--navy); font-weight:600; }
.detail-cta-row{ display:flex; gap:12px; margin-top:20px; flex-wrap:wrap; }

.highlights{ font-size:11px; color:var(--gold-dark); margin-bottom:8px; line-height:1.5; }
.awards{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.award-badge{
  font-size:10px; font-weight:600; color:var(--navy); background:#EEF2FC; border:1px solid #DCE3F5;
  border-radius:10px; padding:3px 8px; line-height:1.4;
}

.spec-details{ margin-bottom:10px; }
.spec-details summary{
  cursor:pointer; font-size:12px; font-weight:700; color:var(--gold-dark);
  list-style:none; padding:4px 0;
}
.spec-details summary::-webkit-details-marker{ display:none; }
.spec-details summary::after{ content:' ▾'; }
.spec-details[open] summary::after{ content:' ▴'; }
.spec-details-body{
  background:#F7F9FD; border-radius:8px; padding:10px 12px; margin-top:6px;
}
.spec-row{
  display:flex; justify-content:space-between; gap:10px; font-size:11px; padding:4px 0;
  border-bottom:1px solid #E4E9F5;
}
.spec-row:last-child{ border-bottom:none; }
.spec-row span{ color:#5A6580; flex-shrink:0; }
.spec-row b{ color:var(--navy); text-align:right; font-weight:600; }

/* ---------- contact ---------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.contact-card{
  background:#fff; border:1px solid #E4E9F5; border-radius:16px; padding:26px;
}
.contact-row{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.contact-row .ic{
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; flex-shrink:0;
}
.ic-line{ background:var(--green); }
.ic-phone{ background:var(--navy); }
.ic-fb{ background:#1877F2; }
.ic-tiktok{ background:#000; }
.ic-mail{ background:var(--navy); }
.contact-row b{ display:block; font-size:14px; color:var(--navy); }
.contact-row span{ font-size:13px; color:#5A6580; }

/* ---------- footer ---------- */
footer{
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color:#fff; padding:38px 0 20px; margin-top:20px;
}
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:30px; margin-bottom:26px; }
footer h4{ font-size:14px; margin-bottom:12px; color:var(--gold-light); }
footer p, footer a{ font-size:13px; color:#C7D6F5; display:block; margin-bottom:8px; }
footer a small{ color:#7C8CBB; font-size:11px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,0.15); padding-top:16px; text-align:center; font-size:12px; color:#9FB0D8; }
.footer-brand-logos{ display:flex; gap:16px; margin-top:14px; align-items:center; }
.footer-brand-logos img{ height:22px; width:auto; object-fit:contain; background:#fff; border-radius:4px; padding:3px 6px; }

/* ---------- lightbox (click-to-zoom product photo) ---------- */
.p-card .photo img.zoomable{ cursor:zoom-in; }
.lightbox{
  display:none; position:fixed; inset:0; z-index:200;
  background:rgba(7,20,64,0.88);
  align-items:center; justify-content:center;
  padding:40px 20px; cursor:zoom-out;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width:min(90vw,720px); max-height:85vh; width:auto; height:auto;
  margin:0 auto; background:#fff; border-radius:12px; padding:20px;
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close{
  position:absolute; top:18px; right:26px; color:#fff; font-size:36px; font-weight:300;
  line-height:1; cursor:pointer; user-select:none;
}
.lightbox-close:hover{ color:var(--gold-light); }

/* ---------- Smart Icon — ปุ่มลอยมุมขวาล่างทุกหน้า: ปรึกษาทีมงานฟรี / โทร / LINE / ขอใบเสนอราคา (รอบ 19.2) ---------- */
.smart-icon{ position:fixed; right:20px; bottom:20px; z-index:150; display:flex; flex-direction:column; align-items:flex-end; gap:10px; }
.smart-icon-menu{
  display:flex; align-items:flex-end; gap:12px; background:transparent; border-radius:18px; padding:0;
  min-width:0;
  opacity:0; visibility:hidden; pointer-events:none; transform:translateY(14px) scale(.96);
  transform-origin:bottom right; transition:opacity .28s ease, transform .32s cubic-bezier(.2,.8,.2,1), visibility .28s;
}
.smart-icon-menu.open{ opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0) scale(1); }
.smart-icon-item{
  display:flex; align-items:center; gap:10px; padding:9px 10px; border-radius:10px;
  color:var(--navy); font-size:14px; font-weight:600; width:100%; border:0; background:transparent;
  font-family:inherit; cursor:pointer; text-align:left;
}
.smart-icon-item:hover{ background:#F2F5FC; color:var(--gold-dark); }
.smart-icon-item-ic{
  width:30px; height:30px; border-radius:50%; background:var(--navy); color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.smart-icon-fab{
  display:flex; align-items:center; gap:8px; background:var(--green); color:#fff; border:none; cursor:pointer;
  padding:14px 20px; border-radius:30px; font-size:14px; font-weight:700; font-family:inherit;
  box-shadow:0 10px 24px rgba(0,0,0,0.3); transition:transform .15s, background .15s;
}
.smart-icon-fab:hover{ transform:translateY(-2px); background:var(--green-dark); }
.smart-icon-fab-ic{ display:flex; }
.smart-icon-facebook{ background:#1877F2; }
.smart-contact-card{ width:min(330px,calc(100vw - 105px)); background:#fff; padding:18px; border-radius:16px; box-shadow:0 14px 34px rgba(11,31,92,.22); display:flex; flex-direction:column; gap:7px; }
.smart-contact-card strong{ color:var(--navy); font-size:15px; }
.smart-contact-card>span{ color:#5A6580; font-size:12px; line-height:1.55; }
.smart-contact-card a{ color:var(--navy); font-size:13px; font-weight:700; }
.smart-contact-card a:hover{ color:var(--gold-dark); }
.smart-icon-buttons{ display:flex; flex-direction:column; gap:8px; align-items:center; }
.smart-circle{ width:54px; height:54px; border-radius:50%; border:0; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 8px 20px rgba(11,31,92,.2); cursor:pointer; position:relative; transition:transform .2s ease, box-shadow .2s ease; }
.smart-circle:hover{ transform:translateX(-3px) scale(1.05); box-shadow:0 12px 24px rgba(11,31,92,.28); }
.smart-circle::before{ content:attr(data-label); position:absolute; right:64px; background:#0B1F5C; color:#fff; border-radius:7px; padding:6px 9px; font-size:11px; white-space:nowrap; opacity:0; transform:translateX(6px); pointer-events:none; transition:.18s; }
.smart-circle:hover::before,.smart-circle:focus-visible::before{ opacity:1; transform:translateX(0); }
.smart-phone{ background:#2389E8; }
.smart-line{ background:#19B900; }
.smart-facebook{ background:#2389E8; }
.smart-email{ background:#FF4F68; }
.smart-quote{ background:var(--gold); }
.smart-close{ background:#A47BD1; }

/* ---------- homepage contact cards ---------- */
.home-contact{ background:#fff; }
.home-contact-head{ display:grid; grid-template-columns:.75fr 1.25fr; gap:42px; align-items:end; margin-bottom:34px; }
.home-contact-head span{ display:block; color:#FF6800; font-weight:800; font-size:14px; margin-bottom:3px; }
.home-contact-head h2{ color:#FF6800; font-size:46px; line-height:1; }
.home-contact-head p{ color:#6A6F7D; font-size:15px; max-width:660px; }
.home-contact-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; max-width:980px; }
.home-contact-card{ min-height:112px; border-radius:20px; background:#F3F3F6; padding:24px 28px; display:flex; align-items:center; gap:25px; color:#102C45; transition:transform .2s ease, box-shadow .2s ease; }
.home-contact-card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(11,31,92,.1); }
.home-contact-ic{ width:54px; height:54px; display:flex; align-items:center; justify-content:center; color:#102C45; flex-shrink:0; }
.home-contact-ic svg{ width:42px; height:42px; }
.home-contact-card span:last-child{ display:flex; flex-direction:column; gap:8px; }
.home-contact-card b{ font-size:16px; }
.home-contact-card small{ color:#26384A; font-size:15px; }
.home-contact-profile{ color:#6A6F7D; font-size:13px; margin-top:22px; }

/* ---------- full contact process form ---------- */
.contact-process{ padding:110px 0; background:#fff; }
.contact-process-grid{ display:grid; grid-template-columns:.95fr 1.25fr; gap:70px; align-items:start; }
.contact-process-kicker{ color:#FF6800; font-size:14px; font-weight:800; }
.contact-steps h2{ color:#FF6800; font-size:42px; margin:3px 0 26px; }
.contact-steps ol{ list-style:none; display:flex; flex-direction:column; gap:20px; }
.contact-steps li{ display:flex; align-items:center; gap:16px; color:#293346; font-size:15px; }
.contact-steps li b{ width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#FF6800; color:#fff; flex-shrink:0; }
.contact-process-form{ display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:38px 40px 30px; background:linear-gradient(110deg,#FFF0E6,#F4F4F7); border-radius:24px; }
.contact-process-form>label{ display:flex; flex-direction:column; gap:7px; color:#2A3446; font-size:14px; }
.contact-process-form input,.contact-process-form select,.contact-process-form textarea{ width:100%; border:1px solid #B7BBC3; background:#fff; border-radius:10px; padding:12px 14px; font:inherit; color:#293346; outline:none; }
.contact-process-form input:focus,.contact-process-form select:focus,.contact-process-form textarea:focus{ border-color:#FF6800; box-shadow:0 0 0 3px rgba(255,104,0,.12); }
.contact-time{ grid-column:1/-1; border:0; display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding:0; }
.contact-time legend{ width:100%; margin-bottom:6px; color:#2A3446; font-size:14px; }
.contact-time label{ display:flex; align-items:center; gap:7px; color:#5A6070; font-size:13px; }
.contact-time input{ width:auto; }
.contact-wide{ grid-column:1/-1; }
.contact-send{ grid-column:1/-1; justify-self:center; min-width:220px; border:1.5px solid #FF6800; background:transparent; color:#FF6800; border-radius:28px; padding:12px 24px; font-size:14px; font-weight:800; cursor:pointer; transition:.2s; }
.contact-send:hover{ color:#fff; background:#FF6800; }
.contact-form-status{ grid-column:1/-1; min-height:20px; text-align:center; color:var(--green-dark); font-size:13px; font-weight:700; }

/* ---------- quotation popup ---------- */
body.modal-open{ overflow:hidden; }
.quote-modal{ position:fixed; inset:0; z-index:300; display:grid; place-items:center; padding:20px; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .25s ease, visibility .25s; }
.quote-modal.open{ opacity:1; visibility:visible; pointer-events:auto; }
.quote-backdrop{ position:absolute; inset:0; background:rgba(7,20,64,.68); backdrop-filter:blur(5px); }
.quote-dialog{ position:relative; width:min(100%,520px); max-height:calc(100vh - 32px); overflow:auto; background:#fff; border-radius:22px; padding:30px; box-shadow:0 28px 80px rgba(7,20,64,.35); transform:translateY(24px) scale(.96); opacity:0; transition:transform .38s cubic-bezier(.2,.85,.2,1), opacity .28s ease; }
.quote-modal.open .quote-dialog{ transform:translateY(0) scale(1); opacity:1; }
.quote-close{ position:absolute; right:15px; top:12px; width:38px; height:38px; border:0; border-radius:50%; background:#F2F5FC; color:var(--navy); font-size:25px; cursor:pointer; }
.quote-kicker{ color:var(--gold-dark); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.quote-dialog h2{ color:var(--navy); font-size:26px; margin:4px 0 6px; }
.quote-dialog>p{ color:#5A6580; font-size:14px; margin-bottom:18px; }
.quote-dialog form{ display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.quote-dialog label{ display:flex; flex-direction:column; gap:6px; color:var(--navy); font-size:13px; font-weight:700; }
.quote-dialog label:nth-of-type(5){ grid-column:1/-1; }
.quote-dialog input,.quote-dialog select,.quote-dialog textarea{ width:100%; border:1.5px solid #DCE3F5; border-radius:10px; padding:11px 12px; font:inherit; color:#24324F; background:#fff; outline:none; }
.quote-dialog input:focus,.quote-dialog select:focus,.quote-dialog textarea:focus{ border-color:var(--gold); box-shadow:0 0 0 3px rgba(184,132,63,.13); }
.quote-submit{ grid-column:1/-1; border:0; border-radius:24px; padding:13px 18px; background:var(--navy); color:#fff; font:700 14px inherit; cursor:pointer; }
.quote-submit:hover{ background:var(--navy-light); }
.quote-status{ grid-column:1/-1; min-height:20px; text-align:center; font-size:13px; color:var(--green-dark); font-weight:700; }

/* ---------- responsive ---------- */
@media (max-width:860px){
  .brand-section,#about,#why-us,.home-categories,#faq,.home-contact{ padding-top:72px; padding-bottom:72px; }
  .about-grid, .why-grid, .cat-grid, .contact-wrap, .footer-grid{ grid-template-columns:1fr; }
  /* รอบ 19.4 — ลดระยะห่าง 95px ของ .cat-grid/.brand-grid กลับมาเหลือพอดีบนมือถือ (การ์ดเรียงคอลัมน์เดียวแล้ว
     ระยะ 95px ทั้งแนวตั้งจะห่างเกินไป) */
  .cat-grid{ gap:28px; }
  .brand-grid{ gap:24px; }
  .nav-hamburger{ display:flex; }
  .nav-links{
    display:none; position:absolute; top:100%; left:0; right:0;
    background:var(--navy); border-top:1px solid rgba(255,255,255,.15);
    flex-direction:column; align-items:stretch; gap:0; padding:8px 20px 16px;
    box-shadow:0 16px 30px rgba(0,0,0,.25); max-height:calc(100vh - 64px); overflow-y:auto;
  }
  .nav-links.open{ display:flex; }
  .nav-links > a{ padding:13px 4px; border-bottom:1px solid rgba(255,255,255,.1); }
  .nav-dropdown{ width:100%; }
  .nav-dropdown-toggle{ width:100%; justify-content:space-between; padding:13px 4px; border-bottom:1px solid rgba(255,255,255,.1); }
  .nav-dropdown-menu{
    position:static; display:none; margin-top:0; box-shadow:none; border-radius:0;
    background:rgba(255,255,255,.05); padding:0 0 4px 12px;
  }
  .nav-dropdown-menu a{ color:#E7ECFA; padding:11px 10px; }
  .nav-dropdown-menu a:hover{ background:rgba(255,255,255,.08); color:var(--gold-light); }
  .nav-dropdown.open .nav-dropdown-menu{ display:block; }
  /* เมนู "สินค้า" มือถือ: ยุบ mega-menu เป็นคอลัมน์เดียว จัดกลุ่มตามแบรนด์แบบเลื่อนลง (รอบ 19.2)
     ไม่ตั้ง display ที่นี่ — ปล่อยให้กฎ .nav-dropdown.open .nav-dropdown-menu{display:block} ด้านบนควบคุมการเปิด/ปิดแทน */
  .nav-dropdown-mega{ min-width:auto; flex-wrap:nowrap; padding:0 0 4px 12px; gap:0; }
  .nav-dropdown-group{ min-width:auto; margin-bottom:4px; }
  .nav-dropdown-group-title{ color:#C7D6F5; border-bottom-color:rgba(255,255,255,.12); }
  .nav-dropdown-mega .nav-dropdown-viewall{ border-top-color:rgba(255,255,255,.12); color:#fff; }
  .brand-strip{ gap:32px; }
  .brand-strip img{ height:34px; }
  .filter-bar{ position:static; }
  /* สลับแถบตัวกรอง แบรนด์/หมวดหมู่ ของหน้าสินค้าทั้งหมด จาก sidebar ด้านข้าง กลับมาเป็นแถบด้านบนแนวนอนบนมือถือ (รอบ 19.2) */
  .products-layout{ grid-template-columns:1fr; }
  .filter-sidebar{ position:static; }
  .filter-sidebar .filter-group{ flex-direction:row; flex-wrap:wrap; align-items:center; }
  .filter-sidebar .filter-pill{ width:auto; }
  .detail-wrap{ grid-template-columns:1fr; }
  .brand-grid{ grid-template-columns:1fr; }
  .stats-band-grid{ grid-template-columns:repeat(2,1fr); gap:26px; }
  .trust-strip{ flex-direction:column; align-items:center; }
  .smart-icon-fab-label{ display:none; }
  .smart-icon-fab{ padding:14px; border-radius:50%; }
  .smart-contact-card{ display:none; }
  .home-contact-head{ grid-template-columns:1fr; gap:12px; }
  .home-contact-head h2{ font-size:38px; }
  .home-contact-grid{ grid-template-columns:1fr; gap:14px; }
  .contact-process{ padding:72px 0; }
  .contact-process-grid{ grid-template-columns:1fr; gap:38px; }
  .contact-steps h2{ font-size:34px; }
  .contact-process-form{ padding:26px 20px; }
}
@media (max-width:560px){
  .nav .brand img{ height:48px; max-width:140px; }
  .contact-process-form{ grid-template-columns:1fr; }
  .contact-time,.contact-wide,.contact-send,.contact-form-status{ grid-column:1; }
}
@media (max-width:560px){
  .quote-dialog{ padding:26px 18px 20px; border-radius:18px; }
  .quote-dialog form{ grid-template-columns:1fr; }
  .quote-dialog label:nth-of-type(5),.quote-submit,.quote-status{ grid-column:1; }
}
@media (prefers-reduced-motion:reduce){
  .smart-icon-menu,.quote-modal,.quote-dialog{ transition:none; }
}

@media (max-width:480px){
  .nav{ padding:10px 12px; gap:8px; }
  .nav .brand-text small{ display:none; }
  .nav .brand-text{ font-size:11px; letter-spacing:0.5px; }
  .nav-actions{ gap:6px; }
  .nav-contact-btn span{ display:none; }
  .nav-contact-btn{ width:36px; height:36px; padding:0; justify-content:center; border-radius:50%; }
  .nav-cta{ padding:8px 12px; font-size:12px; }
}

/* ---------- Solar calculator ---------- */
.solar-calc-page{background:#f4f7f9;padding-bottom:96px}.calc-hero{position:relative;overflow:hidden;background:linear-gradient(125deg,#081d37 0%,#0f3a63 63%,#125178 100%);color:#fff}.calc-hero:after{content:"";position:absolute;width:440px;height:440px;border:1px solid rgba(255,255,255,.1);border-radius:50%;right:-120px;top:-220px;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.018)}.calc-hero-inner{min-height:360px;display:grid;grid-template-columns:1.35fr .65fr;align-items:center;gap:60px;position:relative;z-index:1}.calc-kicker{font-size:12px;letter-spacing:.15em;font-weight:800;color:#f6a800;margin-bottom:8px}.calc-hero h1{font-size:clamp(42px,6vw,70px);line-height:1.02;letter-spacing:-.035em;margin:0}.calc-hero h1 span{color:#ffae00}.calc-hero p{max-width:610px;color:#d4e0ec;font-size:17px;line-height:1.8;margin:18px 0 0}.calc-hero-orbit{position:relative;width:240px;height:240px;border:1px solid rgba(255,255,255,.18);border-radius:50%;display:grid;place-items:center;text-align:center}.calc-hero-orbit:before{content:"";position:absolute;inset:24px;border:1px dashed rgba(255,255,255,.18);border-radius:50%}.calc-hero-orbit b{font-size:14px;margin-top:98px}.calc-sun{position:absolute;width:46px;height:46px;background:#ffad00;border-radius:50%;right:2px;top:26px;box-shadow:0 0 30px rgba(255,173,0,.55)}.calc-panel-icon{position:absolute;top:61px;width:106px;height:66px;transform:skew(-8deg);border:5px solid #eef8ff;background:#166b9b;display:grid;grid-template-columns:repeat(3,1fr);gap:3px;padding:3px;box-shadow:0 11px 0 -5px #07192b}.calc-panel-icon i{border:1px solid #7fd4fc}.calc-workspace{margin-top:-30px;position:relative;z-index:2}.calc-steps{height:58px;display:flex;align-items:center;justify-content:center;max-width:630px;margin:0 auto 20px;background:#fff;border-radius:99px;box-shadow:0 10px 35px rgba(8,29,55,.08);padding:0 25px}.calc-steps>div{display:flex;align-items:center;gap:9px;color:#98a2b3}.calc-steps>div span{display:grid;place-items:center;width:31px;height:31px;border:1px solid #d8dde3;border-radius:50%;font-weight:700}.calc-steps>div.active,.calc-steps>div.done{color:#112f4e}.calc-steps>div.active span,.calc-steps>div.done span{background:#f6a800;border-color:#f6a800;color:white}.calc-steps>i{height:2px;background:#e4e7ec;flex:1;margin:0 18px}.calc-card{background:#fff;border-radius:25px;padding:44px;box-shadow:0 16px 60px rgba(8,29,55,.08);border:1px solid #eef0f3}.calc-card-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:32px}.calc-card h2{font-size:33px;color:#102f50;margin:0}.calc-card-head p,.calc-result-head p{color:#7b8798;margin:6px 0 0}.calc-mini-stat{text-align:right;background:#fff7e8;border-radius:14px;padding:12px 17px}.calc-mini-stat span{display:block;color:#7b8798;font-size:12px}.calc-mini-stat strong{display:block;color:#ec8c00;font-size:20px}.calc-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.calc-field>span,.calc-fieldset legend{display:block;color:#233f5e;font-weight:700;margin-bottom:9px}.calc-field em{color:#ef8c00;font-style:normal}.calc-field>div{position:relative}.calc-field input,.calc-field select{width:100%;height:57px;border:1px solid #d8dee6;border-radius:12px;background:#fff;padding:0 15px;outline:none;font-family:inherit}.calc-field input{padding-right:55px}.calc-field input:focus,.calc-field select:focus{border-color:#f6a800;box-shadow:0 0 0 4px rgba(246,168,0,.13)}.calc-field small{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#8791a0}.calc-field>b{display:block;min-height:18px;color:#d92d20;font-size:12px;margin-top:5px}.calc-fieldset{border:0;padding:0;margin:24px 0}.calc-radios{display:flex;gap:10px;flex-wrap:wrap}.calc-radios input{position:absolute;opacity:0}.calc-radios span{display:block;border:1px solid #dfe3e8;border-radius:10px;padding:9px 19px;cursor:pointer}.calc-radios input:checked+span{border-color:#f6a800;background:#fff7e8;color:#9a5b00;font-weight:700}.calc-range-box{background:#f7f9fb;border-radius:17px;padding:23px}.calc-range-head{display:flex;justify-content:space-between;align-items:center}.calc-range-head small{display:block;color:#8993a2}.calc-range-head output{font-size:25px;color:#ec8c00;font-weight:800}.calc-range-box input[type=range]{--p:50%;appearance:none;width:100%;height:5px;border-radius:5px;background:linear-gradient(90deg,#f6a800 var(--p),#dce1e7 var(--p));margin:22px 0 8px}.calc-range-box input[type=range]::-webkit-slider-thumb{appearance:none;width:24px;height:24px;border:5px solid white;background:#f6a800;border-radius:50%;box-shadow:0 2px 9px rgba(94,61,0,.35);cursor:pointer}.calc-range-label{display:flex;justify-content:space-between;font-size:12px;color:#8a94a3}.calc-day-night{display:grid;grid-template-columns:1fr 1fr;margin-top:20px}.calc-day-night div{text-align:center;border-right:1px solid #dfe4e9}.calc-day-night div:last-child{border:0}.calc-day-night span{display:block;color:#7f8a99}.calc-day-night strong{font-size:24px;color:#ed9100}.calc-note{display:flex;gap:11px;background:#fffaf0;border:1px solid #ffe2ae;border-radius:12px;padding:12px 14px;margin:20px 0}.calc-note>span{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f6a800;color:white;font-weight:700}.calc-note p{margin:1px 0;color:#745a35;font-size:13px}.calc-primary{display:flex;align-items:center;justify-content:center;gap:15px;margin:auto;border:0;border-radius:99px;padding:14px 25px;background:linear-gradient(135deg,#ef8a00,#ffb000);color:#fff;font-weight:800;font-family:inherit;box-shadow:0 10px 24px rgba(239,138,0,.25);cursor:pointer}.calc-primary:hover{transform:translateY(-2px)}.calc-back{border:0;background:transparent;color:#718096;font-family:inherit;cursor:pointer}.calc-result-head{text-align:center;margin-top:-10px}.calc-metrics{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:14px;margin:29px 0 16px}.calc-metrics article{border:1px solid #e0e5ea;border-radius:17px;padding:22px}.calc-metrics article.featured{border:0;color:#fff;background:linear-gradient(145deg,#143d64,#0b2845)}.calc-metrics article>span,.calc-metrics article>small{display:block;color:#7e8997}.calc-metrics .featured>span,.calc-metrics .featured>small{color:#c5d7e6}.calc-metrics strong{display:block;margin:9px 0 4px}.calc-metrics strong b{font-size:37px;color:#f3a000}.calc-assumption{display:flex;gap:16px;background:#f6f8fa;border-radius:11px;padding:12px 15px;font-size:12px;color:#7e8997}.calc-assumption b{color:#274563;white-space:nowrap}.calc-recommend-head{display:flex;justify-content:space-between;align-items:flex-end;margin:40px 0 17px}.calc-recommend-head h3{margin:0;color:#102f50;font-size:27px}.calc-tabs{display:flex;background:#eef1f4;padding:4px;border-radius:10px}.calc-tabs button{border:0;background:transparent;padding:8px 12px;border-radius:7px;color:#737e8e;font-family:inherit;cursor:pointer}.calc-tabs button.active{background:#fff;color:#153757;font-weight:700;box-shadow:0 2px 7px #d8dde3}.calc-products{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.calc-product{border:1px solid #dfe4e9;border-radius:17px;overflow:hidden;background:#fff}.calc-product.best{border:2px solid #f6a800}.calc-product-top{position:relative;min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 0,#fff 0,#eaf2f7 75%)}.calc-product-top>span{position:absolute;top:11px;left:11px;border-radius:99px;background:#f6a800;color:white;padding:4px 9px;font-size:10px;font-weight:800}.calc-product-top>small{color:#788696;margin-top:8px}.calc-brand{font-size:28px;font-weight:800;letter-spacing:-.04em}.calc-brand.solis{color:#14864b}.calc-brand.goodwe{color:#e3212a}.calc-product-body{padding:17px}.calc-product-body>p{font-size:12px;color:#e58900;margin:0}.calc-product-body h4{font-size:19px;margin:4px 0 10px;color:#123451}.calc-product-body ul{padding-left:18px;font-size:13px;color:#748092;min-height:70px}.calc-product-body a{display:block;border-top:1px solid #e7eaee;padding-top:12px;color:#e58900;font-size:13px;font-weight:800}.calc-cta{display:flex;justify-content:space-between;align-items:center;background:#fff6e5;border-radius:16px;padding:20px 22px;margin-top:20px}.calc-cta div span{display:block;color:#788493;font-size:13px}.calc-cta a{background:#f29a00;color:#fff;border-radius:99px;padding:11px 17px;font-weight:700}
@media(max-width:860px){.calc-hero-inner{grid-template-columns:1fr;min-height:330px}.calc-hero-orbit{display:none}.calc-card{padding:28px}.calc-form-grid,.calc-metrics,.calc-products{grid-template-columns:1fr}.calc-recommend-head{align-items:stretch;flex-direction:column;gap:13px}.calc-product-body ul{min-height:auto}}
@media(max-width:560px){.calc-hero-inner{min-height:300px}.calc-hero h1{font-size:40px}.calc-hero p{font-size:15px}.calc-workspace{margin-top:-22px}.calc-steps>div b{display:none}.calc-card{padding:23px 15px;border-radius:19px}.calc-card h2{font-size:27px}.calc-mini-stat{display:none}.calc-range-box{padding:17px 13px}.calc-assumption{display:block}.calc-assumption span{display:block;margin-top:4px}.calc-tabs{width:100%}.calc-tabs button{flex:1}.calc-cta{align-items:stretch;flex-direction:column;gap:14px}.calc-cta a{text-align:center}}
