:root {
  --blue: #0f62e6;
  --blue-dark: color-mix(in srgb, var(--blue) 75%, #000);
  --blue-soft: color-mix(in srgb, var(--blue) 10%, #fff);
  --hero: #e4f0ff;
  --red: #e5262b;
  --green: #12c447;
  --ink: #0b1d4a;
  --blue-deep: var(--ink);
  --muted: #6b7690;
  --line: #e4eaf3;
  --bg: #f3f8ff;
  --card: #fff;
  --star: #f5a524;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(15, 60, 140, .08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Kanit", "Noto Sans Thai", system-ui, sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.5;
  padding-bottom: 72px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 #e6edf7; }
.header .container { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { display: flex; flex-direction: column; line-height: 1.05; flex: 0 0 auto; }
.logo b { font-size: 24px; font-weight: 800; color: var(--blue); letter-spacing: .3px; }
.logo b span { color: var(--blue-deep); }
.logo small { font-size: 10px; color: var(--ink); font-weight: 500; }
.logo img { height: 40px; width: auto; display: block; }
#brandsSec { scroll-margin-top: 72px; }
.search { flex: 1; position: relative; min-width: 0; }
.search input {
  width: 100%; height: 42px; border: 1px solid #e3eaf5; border-radius: 999px;
  padding: 0 44px 0 18px; font: inherit; font-size: 14px; background: #fff; outline: none; box-shadow: 0 2px 10px rgba(15, 60, 140, .06);
}
.search input:focus { border-color: var(--blue); }
.search button { position: absolute; right: 6px; top: 5px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); }
.search svg { width: 19px; height: 19px; }
.header-actions { display: flex; gap: 8px; }
.round-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.round-btn svg { width: 20px; height: 20px; }
.round-btn.blue { background: var(--blue); }
.round-btn.green { background: var(--green); }
.round-btn.green svg { width: 26px; height: 26px; }
.round-btn.hide-sm { display: none; }
.nav-desktop { display: none; gap: 34px; font-weight: 600; margin: 0 auto; }
.nav-desktop a { position: relative; padding: 20px 0; color: var(--ink); }
.nav-desktop a:hover, .nav-desktop a.on { color: var(--blue); }
.nav-desktop a.on::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: 12px; height: 3px; border-radius: 3px; background: var(--blue); }

/* ---------- Hero (เต็มความกว้าง รูปอยู่ขวา) ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--hero), color-mix(in srgb, var(--hero) 40%, #fff)); }
.hero-bg { position: relative; height: 210px; display: grid; place-items: center; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg:not(.has-img) svg { width: 80%; max-width: 420px; }
.hero-bg.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--hero) 60%, #fff) 0%, transparent 45%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding-top: 6px; padding-bottom: 26px; }
.eyebrow { font-size: 13px; color: color-mix(in srgb, var(--ink) 70%, #fff); font-weight: 500; }
.hero h1 { font-size: 34px; line-height: 1.12; font-weight: 800; color: var(--blue-deep); margin-top: 4px; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--blue-deep); }
.hero .sub { margin-top: 2px; font-size: 14px; color: color-mix(in srgb, var(--ink) 75%, #fff); }
.hero-feats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 16px; }
.hero-feats > div { display: flex; flex-direction: column; align-items: center; font-size: 11px; gap: 8px; text-align: center; padding: 0 4px; line-height: 1.3; font-weight: 600; color: var(--blue-deep); }
.hero-feats > div + div { border-left: 1px solid color-mix(in srgb, var(--blue) 15%, transparent); }
/* ไอคอนจุดเด่น: ทรงสี่เหลี่ยมมน ไล่สีน้ำเงิน มีแสงเงา */
.hero-feats i {
  position: relative; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--blue) 55%, #7fd3ff) 0%, var(--blue) 55%, color-mix(in srgb, var(--blue) 80%, #001a5c) 100%);
  box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--blue) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 6px rgba(0, 20, 80, .25);
  transform: rotate(0deg); transition: transform .25s;
}
.hero-feats i::after { content: ""; position: absolute; inset: 1px 1px 50% 1px; border-radius: 13px 13px 40% 40%; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); pointer-events: none; }
.hero-feats > div:hover i { transform: translateY(-3px) rotate(-4deg); }
.hero-feats i svg { width: 24px; height: 24px; stroke-width: 2; position: relative; z-index: 1; }
.hero-cta { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-lg { height: 52px; border-radius: 14px; font-size: 15px; padding: 0 10px; gap: 6px; white-space: nowrap; box-shadow: 0 8px 20px rgba(15, 60, 140, .18); }
.btn-lg svg { width: 22px; height: 22px; }
.hero-badge { display: none; }
.cat-img { width: 46px; height: 32px; object-fit: contain; }
/* บังคับกรอบรูปทุกช่องให้ขนาดเท่ากัน — รูปจะถูกย่อให้พอดีกรอบ ไม่ยืดการ์ด */
.card .thumb, .gallery .main, .thumbs button { position: relative; overflow: hidden; }
.card .thumb img { position: absolute; inset: 14px 12px 8px; width: calc(100% - 24px); height: calc(100% - 22px); object-fit: contain; }
.gallery .main img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.thumbs button img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; }
.btn svg { width: 20px; height: 20px; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-line { background: var(--green); color: #fff; }
.btn-line:hover { filter: brightness(.95); }
.btn-ghost { background: #fff; color: var(--blue); border: 1px solid var(--blue); }

/* ---------- Sections ---------- */
.section { margin-top: 26px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; font-weight: 800; color: var(--blue-deep); display: flex; align-items: center; gap: 10px; }
/* แถบสีหน้าหัวข้อ แทนอิโมจิ */
.section-head h2::before { content: ""; width: 6px; height: 1.05em; border-radius: 6px; flex: 0 0 auto; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 55%, #7fd3ff), var(--blue)); box-shadow: 0 4px 10px -2px color-mix(in srgb, var(--blue) 60%, transparent); }
.section-head a, .section-head button { font-size: 13px; color: var(--blue); font-weight: 600; }

.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brands::-webkit-scrollbar { display: none; }
.blogo { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: .3px; line-height: 1.1; }
.blogo img { height: 100%; max-height: inherit; width: auto; object-fit: contain; }
.blogo .btxt { display: none; }
.blogo.nologo .btxt { display: inline; }
/* แบรนด์: โลโก้อยู่บน ชื่ออยู่ล่าง */
/* การ์ดแบรนด์: มีกรอบ + เงา ไม่ให้ดูขาวโล่ง */
.brand-chip {
  min-width: 0; padding: 8px 8px 10px; background: #fff; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px;
  font-size: 11px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--blue) 14%, #fff);
  box-shadow: 0 1px 2px rgba(15, 60, 140, .06), 0 6px 16px rgba(15, 60, 140, .10);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.brand-chip:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--blue) 35%, #fff); box-shadow: 0 2px 4px rgba(15, 60, 140, .08), 0 12px 26px rgba(15, 60, 140, .16); }
.brand-chip .bname { color: color-mix(in srgb, var(--ink) 75%, #fff); font-weight: 500; line-height: 1.2; word-break: break-word; }
/* กรอบเล็กรอบโลโก้ */
.bicon {
  position: relative; width: 100%; height: 50px; display: grid; place-items: center; overflow: hidden;
  border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 5%, #fff), color-mix(in srgb, var(--blue) 9%, #fff));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 10%, #fff), inset 0 -6px 10px -8px rgba(15, 60, 140, .18);
}
.bicon img { position: absolute; inset: 6px 8px; width: calc(100% - 16px); height: calc(100% - 12px); object-fit: contain; mix-blend-mode: multiply; }
.bicon i { display: none; }
/* ยังไม่มีโลโก้: แสดงตัวอักษรแรก */
.bicon.empty i { display: block; font-style: normal; font-weight: 800; font-size: 22px; color: var(--c); }
.tag-brand .blogo { height: 18px; max-height: 18px; }
.info .brand-name .blogo { height: 28px; max-height: 28px; }
/* แสดงแค่ 6 แบรนด์แรก ที่เหลือกด "ดูแบรนด์เพิ่มเติม" */
.brands:not(.open) .brand-chip:nth-child(n+7) { display: none; }
.brands-more { display: flex; justify-content: center; margin-top: 14px; }
.brands-more button { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 600; font-size: 14px; border: 1px solid color-mix(in srgb, var(--blue) 25%, #fff); box-shadow: 0 4px 12px rgba(15, 60, 140, .08); }
.brands-more button:hover { background: var(--blue-soft); }
.brands-more svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform .2s; }
.brands.open + .brands-more svg { transform: rotate(-90deg); }
@media (min-width: 768px) {
  .brands { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .brand-chip { font-size: 13px; }
  .bicon { height: 64px; }
}
.brand-chip.active { border-color: var(--blue); }

/* ประเภทแอร์: การ์ดใหญ่ รูปซ้าย ข้อความขวา */
.cats { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cat {
  position: relative; display: grid; grid-template-columns: 46% 1fr; align-items: center; gap: 10px;
  min-height: 120px; padding: 12px 14px 12px 8px; border-radius: 18px; overflow: hidden;
  /* พื้นฟ้าอ่อนไล่สี แบบภาพตัวอย่าง */
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--blue) 20%, #fff) 0%, transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 17%, #fff) 0%, color-mix(in srgb, var(--blue) 9%, #fff) 55%, color-mix(in srgb, var(--blue) 5%, #fff) 100%);
  box-shadow: 0 6px 20px rgba(15, 60, 140, .07); border: 2px solid transparent; transition: transform .15s, box-shadow .15s;
}
.cat:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 60, 140, .14); }
.cat-art { display: grid; place-items: center; height: 100%; min-height: 96px; }
.cat-art img, .cat-art svg { width: 100%; max-height: 120px; object-fit: contain; }
/* รูปที่มีพื้นขาว จะกลืนไปกับพื้นฟ้า */
.cat-art img { mix-blend-mode: multiply; }
.cat-art svg { filter: drop-shadow(0 8px 12px rgba(15, 40, 90, .15)); }
.cat-txt { display: flex; flex-direction: column; gap: 4px; }
.cat-txt b { font-size: 18px; font-weight: 800; color: var(--blue-deep); line-height: 1.2; }
.cat-txt small { font-size: 13px; color: color-mix(in srgb, var(--ink) 65%, #fff); line-height: 1.4; }
.cat-txt .go { align-self: flex-end; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; margin-top: 4px; }
.cat-txt .go svg { width: 16px; height: 16px; }
.cat.active { border-color: var(--blue); }

/* แท็บเลือกประเภท / ยี่ห้อ ในผลลัพธ์ */
.type-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -2px -16px 14px; padding: 2px 16px 6px; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tabs button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 8px 0 16px; border-radius: 999px;
  background: #fff; color: var(--blue-deep); font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid color-mix(in srgb, var(--blue) 14%, #fff); box-shadow: 0 4px 12px rgba(15, 60, 140, .07); transition: background .15s, color .15s;
}
.type-tabs button span { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; background: var(--blue-soft); color: var(--blue); }
.type-tabs button.on { background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 75%, #4fb4ff), var(--blue)); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--blue) 70%, transparent); }
.type-tabs button.on span { background: rgba(255,255,255,.25); color: #fff; }
.type-tabs.single button { pointer-events: none; }
.section-head .more { white-space: nowrap; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; position: relative; transition: transform .15s;
}
.card:hover { transform: translateY(-2px); }
.card .thumb { background: linear-gradient(180deg, #f3f7fd, #fff); padding: 16px 10px 6px; aspect-ratio: 4/3; display: grid; place-items: center; }
.tag-sale { position: absolute; top: 8px; right: 8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.tag-brand { position: absolute; top: 8px; left: 10px; right: 56px; font-weight: 800; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .body { padding: 8px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
/* ชื่อสินค้าสูงสุด 2 บรรทัด ทุกการ์ดสูงเท่ากัน */
.card h3 { font-size: 14px; font-weight: 600; line-height: 1.3; height: 2.6em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .model { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .model { font-size: 11px; color: var(--muted); }
.stars { color: var(--star); font-size: 12px; display: flex; align-items: center; gap: 4px; }
.stars span { color: var(--muted); }
.price { color: var(--red); font-weight: 800; font-size: 18px; }
.price.ask { color: var(--blue); font-size: 16px; }
.old { color: var(--muted); text-decoration: line-through; font-size: 12px; font-weight: 400; margin-left: 4px; }
.card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.card .stars { white-space: nowrap; font-size: 11.5px; gap: 3px; }
.card .stars .sold { margin-left: auto; font-size: 11px; }
.card .model { color: #3f4a5c; font-weight: 500; }
.card .from { margin-top: auto; padding-top: 4px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 5px; }
.card .from small { font-size: 11px; color: var(--muted); }
.card .from .old { margin-left: 0; }
/* การ์ดและภาพแอร์ใหญ่ขึ้น: ภาพชิดขอบมากขึ้น การ์ดกินพื้นที่ขอบจอมากขึ้นบนมือถือ */
.card .thumb { padding: 8px 6px 4px; }
.card .thumb img { inset: 6px 4px 2px; width: calc(100% - 8px); height: calc(100% - 8px); }
@media (max-width: 767px) {
  .grid { gap: 10px; margin: 0 -6px; }
}
.empty { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Service banner ---------- */
.service {
  margin-top: 22px; border-radius: 18px; padding: 20px; color: #fff;
  background: linear-gradient(120deg, var(--blue), color-mix(in srgb, var(--blue) 70%, #fff));
  display: flex; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap;
}
.service h3 { font-size: 20px; line-height: 1.3; }
.service p { font-size: 13px; opacity: .9; }
.service .btn { background: #fff; color: var(--blue); }

/* ผลงานติดตั้ง */
.works-sec { background: linear-gradient(160deg, #fff 0%, var(--blue-soft) 100%); border-radius: 22px; padding: 18px 14px 16px; box-shadow: var(--shadow); }
.works-head { min-width: 0; }
.works-head p { font-size: 13px; color: var(--muted); margin-top: 2px; padding-left: 16px; }
.works { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 28vw; gap: 10px; }
.work { position: relative; margin: 0; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--blue-soft); box-shadow: 0 8px 20px -10px rgba(15, 60, 140, .45); cursor: zoom-in; transition: transform .25s, box-shadow .25s; }
.work.big { grid-column: span 2; grid-row: span 2; }
.work.m-wide { grid-column: span 2; }
.work.m-none { display: none; }
.work-more { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 12px; background: rgba(5, 20, 55, .58); backdrop-filter: blur(1px); transition: background .25s; }
.work-more b { font-size: 26px; font-weight: 700; line-height: 1.1; }
.work:hover .work-more { background: rgba(5, 20, 55, .68); }
.work-cta { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 12px 14px; color: #fff; cursor: pointer; background: linear-gradient(135deg, var(--blue), color-mix(in srgb, var(--blue) 55%, #38bdf8)); }
.work-cta b { font-size: 15px; font-weight: 700; line-height: 1.25; }
.work-cta span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 600; white-space: nowrap; }
.work-cta svg { width: 15px; height: 15px; }
.work:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.work-img { height: 100%; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.work:hover { box-shadow: 0 16px 30px -12px rgba(15, 60, 140, .55); }
.work:hover .work-img img { transform: scale(1.05); }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; color: #fff; background: linear-gradient(180deg, transparent, rgba(5, 20, 55, .82)); }
.work figcaption b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.work figcaption small { display: block; font-size: 11px; opacity: .85; margin-top: 1px; }
.work:not(.big) figcaption { padding: 18px 9px 7px; }
.work:not(.big) figcaption b { font-size: 11px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.work:not(.big) figcaption small { display: none; }
.ed-on .work figcaption b, .ed-on .work figcaption small { display: block; -webkit-line-clamp: none; }
.work-viewer { position: fixed; inset: 0; z-index: 2000; background: rgba(4, 12, 32, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 56px 12px 14px; animation: wv-in .2s ease; }
.wv-thumbs { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; flex: 0 0 auto; padding: 2px; scrollbar-width: none; }
.wv-thumbs::-webkit-scrollbar { display: none; }
.wv-thumbs button { flex: 0 0 56px; height: 56px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: none; opacity: .5; cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.wv-thumbs button:hover { opacity: .85; }
.wv-thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.wv-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes wv-in { from { opacity: 0; } }
.work-viewer figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.work-viewer figure img { max-width: 100%; max-height: calc(100vh - 220px); object-fit: contain; border-radius: 10px; display: block; }
.work-viewer figcaption { color: #fff; text-align: center; font-size: 14px; }
.work-viewer figcaption b { display: block; font-weight: 600; }
.work-viewer figcaption small { display: block; font-size: 15px; font-weight: 500; }
.work figcaption small:not(:empty)::before, .work-viewer figcaption small::before { content: "📍 "; }
.work-viewer figcaption span { display: block; opacity: .6; font-size: 12px; margin-top: 2px; }
.wv-close, .wv-nav { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; display: grid; place-items: center; cursor: pointer; z-index: 1; }
.wv-close:hover, .wv-nav:hover { background: rgba(255, 255, 255, .26); }
.wv-close { top: 8px; right: 10px; }
.wv-nav { top: 50%; transform: translateY(-50%); }
.wv-nav svg { width: 22px; height: 22px; }
.wv-nav.prev { left: 10px; }
.wv-nav.next { right: 10px; }
body:not(.ed-on) .works { display: none; }
.works-peek { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.works-peek-imgs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: 26vw; gap: 6px; }
.works-peek-imgs img { width: 100%; height: 100%; min-width: 0; object-fit: cover; display: block; border-radius: 12px; }
.works-peek-btn { display: block; margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; text-align: center; }
@media (min-width: 768px) {
  body:not(.ed-on) .works { display: grid; }
  .works-peek { display: none; }
  .works-sec { padding: 24px 24px 20px; }
  .works { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 16vw, 186px); gap: 12px; }
  .work.m-wide { grid-column: auto; }
  .work.m-none { display: flex; }
  .work.d-big { grid-column: span 2; grid-row: span 2; }
  .work.d-w2 { grid-column: span 2; }
  .work:not(.big) figcaption { padding: 30px 12px 10px; }
  .work:not(.big) figcaption b { font-size: 13px; display: block; }
  .work:not(.big) figcaption small { display: block; }
  .work:hover { transform: translateY(-2px); }
  .work.big figcaption b { font-size: 16px; }
  .work-cta { padding: 16px 18px; gap: 10px; }
  .work-cta b { font-size: 17px; }
  .work-cta span { font-size: 13px; }
  .work-cta.d-big b { font-size: 24px; }
  .wv-thumbs button { flex-basis: 64px; height: 64px; }
}

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.why div { background: #fff; border-radius: 12px; padding: 14px; box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; font-size: 13px; }
.why i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.why i svg { width: 22px; height: 22px; }
.why b { display: block; font-size: 14px; }

.footer { margin-top: 32px; background: var(--ink); color: #cbd5e1; padding: 28px 0; font-size: 13px; }
.footer .container { display: grid; gap: 18px; }
.footer b { color: #fff; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #fff; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr); box-shadow: 0 -2px 12px rgba(0,0,0,.06);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--muted); }
.bottom-nav a svg { width: 22px; height: 22px; }
.bottom-nav a.active { color: var(--blue); }
.bottom-nav a.line { color: var(--green); }

/* ---------- Product page ---------- */
.crumbs { font-size: 13px; color: var(--muted); margin: 14px 0; }
.crumbs a:hover { color: var(--blue); }
.pd { display: grid; gap: 18px; }
.gallery { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.gallery .main { position: relative; aspect-ratio: 4/3; border-radius: 12px; background: linear-gradient(180deg, #eef5ff, #fff); display: grid; place-items: center; overflow: hidden; }
.gallery .main .badge-inv { position: absolute; top: 12px; right: 12px; background: var(--blue); color: #fff; border-radius: 10px; padding: 4px 10px; font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
.gallery .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.gallery .nav.prev { left: 10px; } .gallery .nav.next { right: 10px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.thumbs button { aspect-ratio: 1; border-radius: 10px; background: #f3f7fd; border: 2px solid transparent; display: grid; place-items: center; padding: 6px; }
.thumbs button.active { border-color: var(--blue); }

.info { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.info .brand-name { font-weight: 800; font-size: 14px; }
.info h1 { font-size: 24px; line-height: 1.25; margin-top: 2px; }
.info .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font-size: 12px; background: var(--blue-soft); color: var(--blue); padding: 4px 10px; border-radius: 999px; }
.range { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.range .price { font-size: 28px; }
.hot { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #ff7a3d, var(--red)); color: #fff; font-weight: 600; font-size: 12px; padding: 6px 12px 6px 9px; border-radius: 999px; box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--red) 70%, transparent); }
.hot svg { width: 15px; height: 15px; stroke-width: 2.2; }
.label { font-weight: 600; margin-top: 16px; font-size: 14px; }
.btu-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.btu-opts button { border: 1.5px solid var(--line); border-radius: 10px; height: 42px; font-size: 13px; font-weight: 500; background: #fff; }
.btu-opts button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.picked { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; }
.picked .btu { color: var(--blue); font-weight: 800; font-size: 18px; }
.picked small { color: var(--muted); font-size: 11px; display: block; }
.picked .old { margin: 0; font-size: 15px; }
.order-btns { display: grid; gap: 8px; margin-top: 14px; }
.order-btns .btn { height: 50px; font-size: 16px; }
.tel2 { margin-top: 8px; text-align: center; font-size: 14px; color: var(--muted); }
.tel2 a { color: var(--blue); font-weight: 600; }
.perks { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin-top: 16px; }
.perks div { text-align: center; font-size: 11px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.perks i { color: var(--blue); }
.perks i svg { width: 24px; height: 24px; }
.perks b { color: var(--ink); font-size: 12px; }

.tabs { display: flex; gap: 4px; overflow-x: auto; background: #fff; border-radius: 14px 14px 0 0; border-bottom: 1px solid var(--line); margin-top: 22px; scrollbar-width: none; }
.tabs button { padding: 14px 16px; font-size: 14px; white-space: nowrap; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs button.active { color: var(--blue); border-color: var(--blue); font-weight: 600; }
.tab-body { background: #fff; border-radius: 0 0 14px 14px; padding: 18px; box-shadow: var(--shadow); }
.promo { border-radius: 14px; overflow: hidden; background: linear-gradient(120deg, #e3f0ff, #f6faff); display: grid; gap: 16px; padding: 20px; }
.promo h2 { font-size: 26px; line-height: 1.2; }
.promo h2 em { font-style: normal; color: var(--blue); }
.hl-list { list-style: none; display: grid; gap: 8px; }
.hl-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.hl-list li::before { content: "✓"; color: #fff; background: var(--blue); border-radius: 50%; width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; font-size: 11px; margin-top: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
td, th { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: var(--bg); font-weight: 600; }
td:last-child { text-align: right; font-weight: 500; }
.review { border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.review-sum { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.review-sum small { font-size: 12px; color: var(--muted); }
.review-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-head small { color: var(--muted); font-size: 12px; margin-left: auto; }
.review p { margin-top: 4px; }
.empty-reviews { text-align: center; padding: 20px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty-reviews b { font-size: 16px; color: var(--blue-deep); }
.empty-reviews p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { color: var(--muted); margin-top: 6px; font-size: 14px; }

/* ---------- แท็บ ติดตั้งพร้อมอุปกรณ์ ---------- */
.inst { display: grid; gap: 16px; }
.inst h4 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; color: #fff; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); margin: -14px -14px 12px; padding: 10px 14px; border-radius: 14px 14px 0 0; }
.inst h4 i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.18); flex: 0 0 30px; }
.inst h4 svg { width: 18px; height: 18px; }
.inst h4 small { font-size: 12px; font-weight: 500; opacity: .85; }
.inst-box { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid color-mix(in srgb, var(--blue) 14%, #fff); box-shadow: 0 6px 18px rgba(15, 60, 140, .07); }
.eq-no { width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.inst-free { border-radius: 18px; padding: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--blue) 12%, #fff), #fff 60%); border: 1px solid color-mix(in srgb, var(--blue) 16%, #fff); }
.inst-free-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.inst-free-head > i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, color-mix(in srgb, var(--blue) 60%, #7fd3ff), var(--blue-deep)); box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--blue) 70%, transparent); }
.inst-free-head > i svg { width: 26px; height: 26px; }
.inst-free-head b { display: block; font-size: 19px; font-weight: 800; color: var(--blue-deep); line-height: 1.2; }
.inst-free-head span { font-size: 14px; color: var(--ink); font-weight: 500; }
.inst-free-head em { font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); padding: 4px 12px; border-radius: 999px; }
.eq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.eq { background: #fff; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; align-items: center; box-shadow: 0 4px 12px rgba(15, 60, 140, .07); }
.eq-name { display: flex; gap: 7px; align-self: stretch; align-items: flex-start; min-height: 38px; }
.eq-name b { display: block; font-size: 13px; font-weight: 700; color: var(--blue-deep); line-height: 1.25; }
.eq-name small, .ex small { display: block; font-size: 11px; color: var(--muted); line-height: 1.25; }
.eq-img { position: relative; width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; color: var(--blue); }
.eq-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.eq-img svg { width: 40%; height: 40%; }
.eq-qty, .ex-price { font-size: 13px; font-weight: 700; color: #fff; background: var(--blue-deep); padding: 3px 14px; border-radius: 999px; white-space: nowrap; }

.inst-cols { display: grid; gap: 16px; }
.inst-side { display: grid; gap: 16px; align-content: start; }
.inst-steps { list-style: none; display: grid; gap: 10px; }
.inst-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.inst-steps .eq-no { margin-top: 1px; }
.inst-text { font-size: 14px; line-height: 1.6; color: color-mix(in srgb, var(--ink) 80%, #fff); }

.warranty { border-radius: 18px; overflow: hidden; background: linear-gradient(150deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 12px 26px -10px color-mix(in srgb, var(--blue) 70%, transparent); }
.warranty-top { position: relative; padding: 16px 16px 12px; }
.warranty-top p { font-size: 17px; font-weight: 700; line-height: 1.35; max-width: 70%; }
.warranty-days { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.warranty-days b { font-size: 64px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
.warranty-days span { font-size: 26px; font-weight: 700; }
.warranty-shield { position: absolute; right: 12px; bottom: 6px; width: 92px; height: 92px; color: #ffd76a; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.warranty-shield svg { width: 100%; height: 100%; stroke-width: 1.4; }
.warranty-pts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; color: var(--ink); }
.warranty-pts > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 12px 4px; font-size: 11px; line-height: 1.3; }
.warranty-pts > div + div { border-left: 1px solid var(--line); }
.warranty-pts i { color: var(--blue); }
.warranty-pts svg { width: 26px; height: 26px; }

.ex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ex { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 8px; border-radius: 14px; background: color-mix(in srgb, var(--blue) 4%, #fff); border: 1px solid var(--line); }
.ex b { font-size: 14px; font-weight: 700; color: var(--blue-deep); }
.ex .eq-img { aspect-ratio: 16 / 7; margin: 4px 0; }
.ex-price { margin-top: auto; }
.inst-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

.inst-contact { display: grid; gap: 8px; border-radius: 16px; padding: 12px; background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.inst-contact a { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; }
.inst-contact small { display: block; font-size: 11px; opacity: .8; font-weight: 400; }
.inst-contact i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; display: grid; place-items: center; }
.inst-contact i svg { width: 20px; height: 20px; }
.inst-contact i.g { background: var(--green); } .inst-contact i.b { background: #fff; color: var(--blue); } .inst-contact i.o { background: #f59e0b; }
.inst-poster { text-align: center; font-size: 13px; }
.inst-poster a { color: var(--blue); font-weight: 600; }
@media (min-width: 768px) {
  .eq-grid { grid-template-columns: repeat(7, 1fr); }
  .inst-cols { grid-template-columns: 1.1fr 1fr; }
  .ex-grid { grid-template-columns: repeat(4, 1fr); }
  .inst-contact { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding: 14px 20px; }
  .inst-free-head b { font-size: 22px; }
}

/* Sticky order bar (mobile product page) */
.order-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; align-items: center; box-shadow: 0 -2px 12px rgba(0,0,0,.08); }
.order-bar .price { font-size: 20px; }
.order-bar .btn { flex: 1; }
.line-note { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; max-width: calc(100% - 32px); background: #0b1d4a; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .bottom-nav, .order-bar { display: none; }
  .nav-desktop { display: flex; }
  .search { flex: 0 1 340px; }
  .round-btn { width: 46px; height: 46px; }
  .round-btn.hide-sm { display: grid; }
  .logo b { font-size: 30px; }
  .hero { min-height: 560px; display: flex; align-items: center; background: var(--hero); }
  .hero-bg { position: absolute; inset: 0 0 0 38%; height: auto; }
  .hero-bg:not(.has-img) { inset: 0 0 0 50%; }
  .hero-bg.has-img::after { background: linear-gradient(90deg, var(--hero) 0%, color-mix(in srgb, var(--hero) 60%, transparent) 18%, transparent 45%); }
  .hero-inner { width: 100%; padding-top: 48px; padding-bottom: 48px; }
  .hero-inner > * { max-width: 600px; }
  .eyebrow { font-size: 17px; }
  .hero h1 { font-size: clamp(46px, 4.8vw, 72px); line-height: 1.08; letter-spacing: -1px; }
  .hero-inner > h1 { max-width: 680px; }
  .hero .lead { font-size: 26px; margin-top: 16px; }
  .hero .sub { font-size: 21px; }
  .hero-feats { margin-top: 26px; max-width: 580px; }
  .hero-feats > div { font-size: 14px; }
  .hero-feats i { width: 62px; height: 62px; border-radius: 18px; }
  .hero-feats i::after { border-radius: 17px 17px 40% 40%; }
  .hero-feats i svg { width: 30px; height: 30px; }
  .hero-cta { display: flex; margin-top: 30px; gap: 16px; }
  .btn-lg { height: 62px; padding: 0 40px; font-size: 21px; border-radius: 16px; }
  .btn-lg svg { width: 26px; height: 26px; }
  .hero-badge { position: absolute; right: 4%; top: 46%; z-index: 2; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(15, 60, 140, .18); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--blue-deep); text-align: center; line-height: 1.2; }
  .hero-badge b { font-size: 21px; font-weight: 800; }
  .hero-badge svg { width: 22px; height: 22px; color: #22a447; margin-bottom: 4px; }
  .section-head h2 { font-size: 26px; }
  .cats { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  .cat { min-height: 160px; }
  .cat-txt b { font-size: 22px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .why { grid-template-columns: repeat(4, 1fr); }
  .footer .container { grid-template-columns: 2fr 1fr 1fr; }
  .pd { grid-template-columns: 1.05fr 1fr; align-items: start; }
  .order-btns { grid-template-columns: 1fr 1fr; }
  .promo { grid-template-columns: 1.2fr 1fr; padding: 32px; }
  .promo h2 { font-size: 34px; }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===================== มือถือ: หน้าปกแบบสมูท ===================== */
.search-toggle { display: none; }
@media (max-width: 767px) {
  /* Header: โลโก้ + ปุ่มกลม (ค้นหา / โทร / LINE) — กดแว่นขยายแล้วช่องค้นหาเลื่อนลงมา */
  .header .container { height: 60px; gap: 8px; }
  .logo b { font-size: 23px; }
  .logo small { font-size: 9.5px; }
  .logo img { height: 48px; max-width: calc(100vw - 176px); object-fit: contain; object-position: left center; }
  .header-actions { margin-left: auto; gap: 7px; }
  .round-btn { width: 38px; height: 38px; }
  .round-btn svg { width: 18px; height: 18px; }
  .round-btn.green svg { width: 24px; height: 24px; }
  .round-btn.hide-sm { display: grid; }
  .search-toggle { display: grid; background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(15, 60, 140, .12), inset 0 0 0 1px #e3eaf5; }
  .search { position: absolute; left: 12px; right: 12px; top: 64px; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .header.searching .search { opacity: 1; transform: none; pointer-events: auto; }
  .search input { height: 46px; box-shadow: 0 10px 30px rgba(15, 60, 140, .18); }
  .search button { top: 7px; }

  /* รูปเป็นพื้นหลังเต็มหน้าปก ข้อความวางทับ — ไล่สีขาวอมฟ้าให้อ่านง่าย */
  .hero { background: var(--hero); }
  .hero-bg { position: absolute; inset: 0; height: auto; place-items: start center; }
  .hero-bg:not(.has-img) svg { width: 78%; margin-top: 40px; }
  .hero-bg img { animation: heroZoom 14s ease-out both; object-position: 62% 35%; }
  .hero-bg.has-img::after {
    /* บนสุดเห็นรูปชัด แล้วค่อยๆ สว่างขึ้นตรงที่มีตัวหนังสือ + ซ้ายสว่างกว่าขวาเล็กน้อย */
    background:
      linear-gradient(90deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.2) 45%, rgba(255,255,255,0) 75%),
      linear-gradient(180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.08) 18%,
        color-mix(in srgb, var(--hero) 30%, rgba(255,255,255,.45)) 45%,
        color-mix(in srgb, var(--hero) 35%, rgba(255,255,255,.85)) 72%,
        var(--bg) 100%);
  }
  .hero-inner { padding: 96px 18px 22px; }
  .hero-inner > * { animation: riseIn .6s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .06s; }
  .hero-inner > :nth-child(3) { animation-delay: .12s; }
  .hero-inner > :nth-child(4) { animation-delay: .18s; }
  .hero-inner > :nth-child(5) { animation-delay: .24s; }
  .hero-inner > :nth-child(n+6) { animation-delay: .3s; }

  .eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 5px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 600; }
  .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 20%, transparent); }
  .hero h1 { font-size: 34px; margin-top: 10px; line-height: 1.12; text-shadow: 0 0 18px rgba(255,255,255,.95), 0 0 4px rgba(255,255,255,.8); }
  .hero .lead, .hero .sub { text-shadow: 0 0 12px rgba(255,255,255,.95); }
  .eyebrow { background: rgba(255,255,255,.85) !important; backdrop-filter: blur(6px); box-shadow: 0 4px 12px rgba(15, 60, 140, .1); }
  .hero .lead { font-size: 16.5px; margin-top: 8px; }
  .hero .sub { font-size: 14px; line-height: 1.45; margin-top: 2px; }

  /* ไอคอน 4 ช่อง รวมอยู่ในการ์ดเดียว */
  .hero-feats { margin-top: 16px; padding: 14px 6px 12px; border-radius: 20px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); box-shadow: 0 10px 26px -10px rgba(15, 60, 140, .25), inset 0 0 0 1px color-mix(in srgb, var(--blue) 8%, #fff); }
  .hero-feats > div { font-size: 11px; gap: 7px; }
  .hero-feats > div + div { border-left-color: color-mix(in srgb, var(--blue) 10%, transparent); }
  .hero-feats i { width: 44px; height: 44px; border-radius: 13px; }
  .hero-feats i svg { width: 22px; height: 22px; }

  .hero-cta { margin-top: 14px; gap: 10px; }
  .btn-lg { height: 52px; border-radius: 999px; font-size: 15px; transition: transform .15s; }
  .btn-lg:active { transform: scale(.97); }
  .btn-blue.btn-lg { background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 75%, #4fb4ff), var(--blue)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--blue) 80%, transparent); }
  .btn-line.btn-lg { background: linear-gradient(135deg, color-mix(in srgb, var(--green) 80%, #8af0a8), var(--green)); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--green) 80%, transparent); }

  /* วงกลม "เย็นสบาย ประหยัดไฟ" บนรูป */
  .hero-badge { display: flex; position: absolute; right: 14px; top: 16px; z-index: 3; width: 84px; height: 84px; border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; color: var(--blue-deep); background: rgba(255,255,255,.88); backdrop-filter: blur(6px); box-shadow: 0 10px 24px rgba(15, 60, 140, .2); animation: floaty 4s ease-in-out infinite; }
  .hero-badge b { font-size: 11.5px; font-weight: 800; }
  .hero-badge svg { width: 14px; height: 14px; color: #22a447; margin-bottom: 2px; }

  .section { margin-top: 26px; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
