/* MAVIK Racing — Dark Race Tech theme
   ไฟล์เดียวทั้งเว็บ ไม่ใช้ framework เพื่อให้โหลดเร็ว */

:root {
  --bg: #0B0C0C;
  --surface: #151717;
  --surface-2: #111313;
  --img-bg: #0E1010;
  --footer: #070808;
  --border: #2A2E2E;
  --border-2: #3A3F3F;
  --line: #1F2222;
  --line-strong: #3A3F3F;
  --text: #F2F3EE;
  --text-2: #C9CCC4;
  --muted: #A3A8A0;
  --dim: #7C8279;
  --lime: #C4DA2F;
  --lime-hover: #D6EB45;
  --radius: 4px;
  /* ความกว้างเนื้อหาสูงสุด 1440px (ขอบซ้าย-ขวา 16–64px ตามขนาดจอ) */
  --gutter: max(clamp(16px, 4.4vw, 64px), calc(50vw - 720px));
  --stage: radial-gradient(ellipse 60% 55% at 50% 50%, #1D2020 0%, var(--bg) 70%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Kanit', system-ui, sans-serif; font-weight: 300; font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--lime); }
h1, h2, h3, p, ul, dl, dd, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
ul { padding: 0; list-style: none; }
button, select, input { font: inherit; color: inherit; }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lime); color: var(--bg); font-weight: 500; border-radius: var(--radius); }
.skip:focus { top: 12px; }

/* ---------- ตัวอักษร ---------- */
.display { font-weight: 800; font-style: italic; line-height: 1.12; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.text { color: var(--text); }
.small { font-size: 13px; }
.kicker { display: block; font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--lime); line-height: 1.6; }
.dim-kicker { color: var(--dim); }
.lead { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 620px; }
.muted-text { font-size: 17px; line-height: 1.75; color: var(--muted); }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 10px; }
.rich li { position: relative; padding-left: 18px; }
.rich li::before { content: '•'; position: absolute; left: 2px; color: var(--lime); }
.h-page { font-size: clamp(40px, 5vw, 72px); line-height: 1.12; }
.h-section { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.3; }
.h-sub { font-size: clamp(22px, 1.9vw, 26px); font-weight: 700; line-height: 1.35; }
.h-cta { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; line-height: 1.3; }
.h-group { font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--lime); }
.h-group .muted { font-size: 15px; font-weight: 300; }
.h-story { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; line-height: 1.35; }
.h-about { font-size: clamp(44px, 6.7vw, 96px); line-height: 1.1; }
.h-company { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; line-height: 1.3; }
.h-product { font-size: clamp(22px, 2vw, 28px); font-weight: 500; line-height: 1.4; }
.mb { margin-bottom: 32px; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- ปุ่ม / ชิป / input ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 16px; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex-shrink: 0; }
.btn-lime { background: var(--lime); color: var(--bg); }
.btn-lime:hover { background: var(--lime-hover); color: var(--bg); }
.btn-outline { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn-outline:hover { background: var(--lime); color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { background: #1b1d1d; color: var(--lime); }
.btn-ghost { border-color: var(--border-2); background: transparent; color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; height: 56px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--border-2); border-radius: 100px; font-size: 14px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-sm { font-size: 13px; padding: 2px 10px; border: 1px solid var(--border-2); border-radius: 100px; color: var(--text-2); white-space: nowrap; }
.code { font-size: 15px; font-weight: 500; letter-spacing: .03em; color: var(--lime); }
.input, .field select, .code-search input, .search-box input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background: var(--bg); color: var(--text); font-size: 16px; font-weight: 300;
}
select.input, .field select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A3A8A0' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
option, optgroup { background: var(--surface); color: var(--text); }
.input:focus, .field select:focus, .code-search input:focus { border-color: var(--lime); outline: none; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20; height: 80px; padding: 0 clamp(16px, 3vw, 48px); /* header เต็มความกว้างจอ ไม่จำกัดที่ 1440px */
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--footer); border-bottom: 1px solid var(--line);
}
.site-header.is-overlay { position: absolute; left: 0; right: 0; top: 0; height: 88px; background: transparent; border-bottom-color: rgba(255, 255, 255, .12); }
.logo img { height: 36px; width: auto; }
.is-overlay .logo img { height: 40px; }
.main-nav { display: flex; gap: 40px; font-size: 16px; font-weight: 500; }
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--lime); }
.main-nav a[aria-current="page"]:hover { color: var(--text); }
.nav-cta-mobile { display: none; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 4px; font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.lang-switch a { padding: 4px 8px; border-radius: 2px; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--text); color: var(--bg); }
.header-cta { font-weight: 500; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); background: var(--lime); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); background: var(--lime); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 860px; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 12, 12, .96) 0%, rgba(11, 12, 12, .85) 42%, rgba(11, 12, 12, .35) 100%); }
.hero-inner { position: relative; z-index: 2; flex: 1; padding: 150px var(--gutter) 72px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.hero-title { font-size: clamp(48px, 8vw, 112px); line-height: 1.08; }
.hero-short { min-height: 560px; }
.hero-short::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 12, .75) 50%, rgba(11, 12, 12, .55) 100%); }
.hero-short .hero-bg img { object-position: 60% 40%; }
.hero-bottom { justify-content: flex-end; gap: 12px; }

/* ---------- ฟอร์มค้นหาตามรุ่นรถ ---------- */
.finder { background: rgba(21, 23, 23, .94); border: 1px solid var(--border); }
.finder-hero { margin-top: 12px; max-width: 1040px; padding: 24px; border-top: 3px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.finder-bar { padding: 28px var(--gutter); background: var(--surface-2); border-width: 0 0 1px; display: flex; flex-direction: column; gap: 14px; }
.finder-row { display: flex; align-items: flex-end; gap: 16px; }
.field { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 500; color: var(--muted); }
.field select { height: 52px; }
.field-sm { flex: 0 0 220px; }
.finder-submit { height: 52px; flex-shrink: 0; }
.code-search { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.code-search input { width: 240px; height: 40px; font-size: 15px; }

/* ---------- ส่วนเนื้อหา ---------- */
.section { padding: 96px var(--gutter); }
.section.pt-0 { padding-top: 0; }
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.two-col.center-y { align-items: center; }

/* หมวดสินค้า */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.line-card { position: relative; overflow: hidden; min-height: 380px; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s; }
.line-card:hover { color: inherit; border-color: var(--lime); }
.line-deco { position: absolute; right: -40px; top: -30px; width: 260px; opacity: .9; }
.line-deco-brake { width: 300px; right: -30px; top: 30px; }
.line-body { position: relative; display: flex; flex-direction: column; gap: 8px; }
.line-title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1.2; }
.line-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; font-size: 16px; }

/* แบรนด์ */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.brand-tile { height: 132px; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s; }
.brand-tile:hover { color: inherit; border-color: var(--lime); }
.brand-name { font-size: 34px; font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .02em; }
.brand-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.brand-tile:hover .brand-foot svg { color: var(--lime); }

/* การ์ดสินค้า */
.card-grid { display: grid; gap: 24px; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--border-2); }
.card-link { display: flex; flex-direction: column; height: 100%; }
.card-link:hover { color: inherit; }
.card-img { aspect-ratio: 4 / 3; background: var(--img-bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img img:not(.card-logo) { width: 84%; height: 84%; object-fit: contain; transition: transform .35s ease; }
.card-link:hover .card-img img:not(.card-logo) { transform: scale(1.05); }
.card-img .illus-wheel { width: 52%; }
.card-img .illus-brake { width: 62%; }
.card-body { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card-title { font-size: 18px; font-weight: 500; line-height: 1.4; transition: color .2s; }
.card-link:hover .card-title { color: var(--lime); }
.card-body .muted { font-size: 15px; }
.card-price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: 22px; font-weight: 700; }
.card-body .muted + .card-price { margin-top: 8px; }

/* CTA คู่ */
.cta-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cta-box { padding: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta-lime { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.cta-lime .kicker { color: var(--bg); }
.cta-lime p { font-size: 17px; line-height: 1.7; color: #2B2F10; }
.cta-phone { font-size: 18px; font-weight: 700; color: var(--bg); }
.cta-phone:hover { color: var(--bg); text-decoration: underline; }

/* ภาพประกอบ (ยังไม่มีรูปสินค้า) */
.illus { color: #5E6560; }

/* ---------- หัวหน้าเพจ ---------- */
.page-head { padding: 40px var(--gutter) 32px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.page-head-lg { padding-top: 88px; padding-bottom: 64px; gap: 18px; border-bottom: 0; }
.breadcrumb { font-size: 15px; color: var(--muted); }
.breadcrumb.page-pad { padding-top: 32px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb [aria-current] { color: var(--text); }
.breadcrumb .sep { margin: 0 6px; color: var(--dim); }
.page-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.search-box { position: relative; width: 360px; max-width: 100%; }
.search-box svg { position: absolute; left: 14px; top: 15px; color: var(--muted); }
.search-box input { padding-left: 42px; background: var(--surface); }
.search-h1 { display: flex; flex-direction: column; }
.search-h1 .lead { font-weight: 300; }

/* ---------- แคตตาล็อก ---------- */
.catalog-layout { padding: 40px var(--gutter) 96px; display: flex; gap: 40px; align-items: flex-start; }
.sidebar { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.filter-panel > :not(summary):not(.sidebar-head) { margin-top: 24px; }
.filter-summary { display: none; }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.sidebar-title { font-size: 20px; font-weight: 700; }
.filter-group { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
#filterForm { display: flex; flex-direction: column; gap: 24px; }
.filter-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--dim); }
.filter-opt { display: flex; align-items: center; gap: 12px; min-height: 36px; font-size: 16px; cursor: pointer; }
.filter-opt .count { margin-left: auto; font-size: 13px; color: var(--dim); }
.filter-opt input[type=radio], .filter-opt .radio { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex-shrink: 0; border: 2px solid var(--border-2); border-radius: 50%; background: transparent; cursor: pointer; }
.filter-opt input[type=radio]:checked, .filter-opt.is-on .radio { border-color: var(--lime); background: var(--lime); box-shadow: inset 0 0 0 3px var(--bg); }
.filter-opt:has(input:checked) { color: var(--text); font-weight: 500; }
.filter-opt.is-on { color: var(--text); font-weight: 500; }
.price-range { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.price-range .input { height: 44px; font-size: 15px; }
.help-box { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.help-box strong { font-size: 16px; }
.help-box .muted { font-size: 14px; line-height: 1.6; }
.results-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar-left .h-sub { font-size: 20px; margin-right: 6px; }
.toolbar-left .h-sub .muted { font-size: 15px; font-weight: 300; }
.toolbar .chip { background: #1D2020; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.sort .input { width: 200px; height: 42px; font-size: 15px; background-color: var(--surface); }
.empty { padding: 56px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; font-size: 18px; color: var(--text-2); }

/* ---------- หน้าสินค้า ---------- */
.product-top { padding-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.product-gallery { aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-gallery img { width: 88%; height: 88%; object-fit: contain; }
.product-gallery .illus-wheel { width: 60%; }
.product-gallery .illus-brake { width: 72%; }
.product-info { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.part-no { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.1; color: var(--lime); word-break: break-word; }
.variant-block { display: flex; flex-direction: column; gap: 12px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 48px; height: 48px; padding: 5px; border: 1px solid var(--border-2); border-radius: var(--radius); display: block; transition: border-color .2s; }
.swatch span:first-child { display: block; width: 100%; height: 100%; border-radius: 2px; }
.swatch:hover { border-color: var(--text-2); }
.swatch.is-current { border: 2px solid var(--lime); padding: 4px; }
.buy-box { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.buy-box .muted { display: block; font-size: 15px; }
.buy-price { display: block; font-size: clamp(36px, 3.3vw, 48px); font-weight: 700; line-height: 1.2; }
.buy-note { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--muted); }
.fit-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.fit-table th { text-align: left; font-size: 13px; font-weight: 500; letter-spacing: .1em; color: var(--dim); padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border-2); }
.fit-table td { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.fit-note { margin-top: 12px; }
.spec-list > div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { font-weight: 500; text-align: right; }

/* ---------- ผลค้นหา ---------- */
.results { display: flex; flex-direction: column; gap: 48px; }
.result-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.result-row { padding: 18px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; gap: 32px; transition: border-color .2s; }
.result-row:hover { color: inherit; border-color: var(--lime); }
.result-row:hover .btn-ghost { border-color: var(--lime); color: var(--lime); }
.result-thumb { width: 120px; height: 96px; flex-shrink: 0; background: var(--img-bg); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.result-thumb img { width: 86px; height: 86px; object-fit: contain; }
.result-thumb .illus-wheel { width: 70px; }
.result-thumb .illus-brake { width: 90px; }
.result-code { width: 250px; flex-shrink: 0; display: flex; flex-direction: column; }
.result-code strong { font-size: 22px; font-weight: 800; font-style: italic; color: var(--lime); line-height: 1.3; }
.result-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.result-name h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.result-price { font-size: 26px; font-weight: 700; white-space: nowrap; }
.lime-band { padding: 40px 48px; background: var(--lime); color: var(--bg); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.lime-band p { margin-top: 6px; font-size: 17px; }

/* ---------- เกี่ยวกับเรา ---------- */
.about-visual { aspect-ratio: 4 / 3; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.about-visual svg { width: 46%; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar { padding: 36px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.pillar-n { font-size: 44px; font-weight: 800; font-style: italic; line-height: 1; color: var(--lime); }
.pillar h3 { font-size: 22px; font-weight: 700; line-height: 1.4; }
.pillar p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.distributor { padding: 48px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.distributor > div { display: flex; flex-direction: column; gap: 6px; }

/* ---------- ติดต่อ ---------- */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.channel { padding: 36px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.channel h3 { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--dim); }
.channel-big { font-size: clamp(26px, 2.2vw, 32px); font-weight: 700; line-height: 1.25; }
.channel-mail { font-size: clamp(20px, 1.8vw, 26px); word-break: break-all; }
.channel .btn { margin-top: auto; }
.channel .muted { font-size: 15px; }
.hours { width: 100%; }
.hours > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.hours > div:last-child { border-bottom: 0; color: var(--dim); }
.hours dd { font-weight: 500; }
.office { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.office-card { padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.office-card address { font-style: normal; font-size: 17px; line-height: 1.8; color: var(--text-2); }
.office-map { width: 100%; min-height: 400px; height: 100%; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); filter: grayscale(1) invert(.9) contrast(.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); border-top: 1px solid var(--line); padding: 72px var(--gutter) 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; font-size: 16px; }
.footer-grid > * { display: flex; flex-direction: column; gap: 12px; color: var(--text-2); }
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.footer-label { font-size: 13px; font-weight: 500; letter-spacing: .15em; color: var(--dim); }
.footer-addr { line-height: 1.6; }
.site-footer .dim { color: var(--dim); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

/* ---------- หน้าแรก (ลำดับตาม mockup) ---------- */
.kicker-slash { display: inline-flex; align-items: center; gap: 10px; }
.header-search { position: relative; width: 260px; }
.header-search input { width: 100%; height: 42px; padding: 0 42px 0 14px; border: 1px solid var(--border-2); border-radius: var(--radius); background: rgba(21, 23, 23, .85); color: var(--text); font-size: 14px; }
.header-search input:focus { border-color: var(--lime); outline: none; }
.header-search button { position: absolute; right: 0; top: 0; width: 42px; height: 42px; border: 0; background: none; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.header-search button:hover { color: var(--lime); }

.home-hero { min-height: 760px; }
.home-hero::before { background: linear-gradient(90deg, rgba(11, 12, 12, .98) 0%, rgba(11, 12, 12, .93) 45%, rgba(11, 12, 12, .8) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; padding-top: 120px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-visual { position: relative; }
.hero-visual img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .55)); }
.hero-visual::before { content: ''; position: absolute; z-index: 0; inset: 0 -4% 4%; background: radial-gradient(ellipse 60% 45% at 50% 78%, rgba(210, 220, 200, .2) 0%, transparent 70%); }
.hero-visual::after { content: ''; position: absolute; z-index: 0; left: 6%; right: 6%; bottom: -2%; height: 14%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .7) 35%, transparent 70%); filter: blur(6px); }
.hero-feats { display: flex; flex-wrap: wrap; gap: 20px 36px; margin-top: 18px; }
.hero-feats li { display: flex; align-items: center; gap: 12px; color: var(--lime); }
.hero-feats li span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.4; color: var(--muted); }
.hero-feats strong { font-size: 15px; color: var(--text); }

.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.cat-tile:hover { color: inherit; border-color: var(--lime); }
.cat-img { aspect-ratio: 16 / 8; background: var(--stage); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-img img { height: 92%; width: auto; max-width: 80%; object-fit: contain; transition: transform .4s ease; }
.cat-tile:hover .cat-img img { transform: scale(1.04); }
.cat-img .illus-wheel { height: 70%; width: auto; }
.cat-img .illus-brake { width: 46%; }
.cat-foot { padding: 20px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.cat-name { font-size: 26px; font-weight: 700; line-height: 1.3; }
.cat-en { font-size: 13px; font-weight: 500; letter-spacing: .12em; color: var(--dim); }
.cat-count { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.cat-count svg { color: var(--lime); }

.tech { position: relative; padding: 96px var(--gutter); background: radial-gradient(ellipse 45% 70% at 18% 50%, rgba(196, 218, 47, .10), transparent 70%), var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1.15fr 1fr .8fr; gap: 56px; align-items: center; }
.tech-img img { width: 100%; max-width: 600px; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.tech-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.h-tech { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.1; }
.tech-feats { display: flex; flex-direction: column; gap: 26px; }
.tech-feats li { display: flex; align-items: center; gap: 16px; }
.tech-feats li > span:last-child { display: flex; flex-direction: column; font-size: 13px; color: var(--dim); line-height: 1.4; }
.tech-feats strong { font-size: 17px; color: var(--text); }
.tech-ico { width: 50px; height: 56px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--lime); background: rgba(196, 218, 47, .12); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.compat { position: relative; overflow: hidden; padding: 96px var(--gutter); }
.compat-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.compat::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 12, 12, .97) 0%, rgba(11, 12, 12, .88) 45%, rgba(11, 12, 12, .45) 100%); }
.compat-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.h-compat { font-size: clamp(38px, 4.4vw, 64px); line-height: 1.1; }
.h-section-display { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.2; }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.scroller > * { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--border-2); border-radius: var(--radius); background: transparent; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--lime); color: var(--lime); }
.icon-btn.flip svg { transform: scaleX(-1); }
.icon-btn:disabled { opacity: .35; cursor: default; }

.sales { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sales-copy { padding: 88px 56px 88px var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.h-sales { font-size: clamp(30px, 3vw, 44px); line-height: 1.25; text-wrap: balance; }
.sales-img { position: relative; min-height: 420px; overflow: hidden; }
.sales-img > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.sales-logo { position: absolute; right: var(--gutter); bottom: 40px; width: 240px; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .7)); }

/* ---------- หน้าแรก v3 (เลย์เอาต์ตาม mockup รอบ 3) ---------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.main-nav { font-size: 17px; letter-spacing: .02em; }
.btn-line { border: 1.5px solid rgba(242, 243, 238, .85); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--lime); color: var(--lime); }

.home-hero { min-height: 700px; }
.home-hero::before { background: linear-gradient(90deg, rgba(11, 12, 12, .97) 0%, rgba(11, 12, 12, .9) 40%, rgba(11, 12, 12, .72) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.home-hero .hero-inner { justify-content: center; gap: 20px; padding-top: 128px; padding-bottom: 64px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; font-style: italic; letter-spacing: .04em; color: var(--lime); line-height: 1.5; }
.hero-big { font-size: clamp(56px, 7.2vw, 104px); line-height: 1.02; text-transform: uppercase; }
.hero-sub { font-size: clamp(16px, 1.4vw, 20px); color: var(--text-2); max-width: 620px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--muted); }
.hero-tags li { display: inline-flex; align-items: center; gap: 10px; }
.hero-tags li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: -24px; position: relative; z-index: 3; }
.cat-card { position: relative; min-height: 190px; padding: 24px 26px; overflow: hidden; background: linear-gradient(135deg, #1B1E1E 0%, #101212 100%); border: 1px solid var(--border); border-radius: var(--radius); display: flex; transition: border-color .2s; }
a.cat-card:hover { color: inherit; border-color: var(--lime); }
.cat-text { position: relative; z-index: 2; max-width: 54%; display: flex; flex-direction: column; gap: 6px; }
.cat-big { white-space: nowrap; font-size: clamp(26px, 2.3vw, 34px); font-weight: 800; font-style: italic; line-height: 1; letter-spacing: .01em; }
.cat-h { font-size: 15px; font-weight: 500; color: var(--lime); }
.cat-desc { font-size: 14px; line-height: 1.6; color: var(--muted); }
.cat-link { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
a.cat-card:hover .cat-link { color: var(--lime); }
.cat-visual { position: absolute; z-index: 1; right: 16px; top: 56%; transform: translateY(-50%); width: 40%; display: flex; align-items: center; justify-content: center; }
.cat-visual img { width: auto; max-width: 100%; max-height: 140px; height: auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .6)); transition: transform .35s ease; }
a.cat-card:hover .cat-visual img { transform: scale(1.05) rotate(-3deg); }
.cat-visual .illus-wheel { width: 78%; }
.cat-visual .illus-brake, .cat-visual .illus-mirror { width: 92%; }
.cat-n { position: absolute; right: 16px; bottom: 12px; z-index: 2; font-size: 13px; font-weight: 500; color: var(--dim); }
.cat-card.is-soon .cat-link { color: var(--dim); }
.cat-card.is-soon .cat-visual { opacity: .55; }

.bike { margin-top: 24px; }
.bike-panel { position: relative; overflow: hidden; padding: 36px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; grid-template-columns: minmax(220px, .8fr) 2.2fr; gap: 40px; align-items: center; }
.bike-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.bike-panel::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(21, 23, 23, .6) 0%, rgba(21, 23, 23, .95) 45%); }
.bike-title, .bike-panel .finder { position: relative; z-index: 1; }
.h-bike { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; text-transform: uppercase; margin-bottom: 10px; }
.finder-inline { background: transparent; border: 0; padding: 0; }
.finder-inline .field > span { font-size: 13px; font-weight: 500; color: var(--text); }
.finder-inline .field select { height: 48px; background-color: #ECEDE8; color: #111; border-color: #ECEDE8; font-weight: 400; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.6'/%3E%3C/svg%3E"); }
.finder-inline .field select option, .finder-inline .field select optgroup { background: #fff; color: #111; }
.finder-inline .finder-submit { height: 48px; }

.featured { padding-top: 88px; }
.h-featured { font-size: clamp(32px, 3.3vw, 46px); line-height: 1.1; text-transform: uppercase; margin-bottom: 4px; }
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.fcard:hover { border-color: var(--border-2); }
.fcard-img { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #2A2E2E 0%, #171919 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fcard-logo { position: absolute; top: 12px; left: 14px; z-index: 2; width: 72px !important; height: auto !important; opacity: .9; }
.fcard-img img:not(.fcard-logo) { width: 84%; height: 84%; object-fit: contain; transition: transform .35s ease; }
.fcard:hover .fcard-img img:not(.fcard-logo) { transform: scale(1.05); }
.fcard-img .illus-wheel { width: 52%; }
.fcard-img .illus-brake, .fcard-img .illus-mirror { width: 64%; }
.fcard-body { flex: 1; padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.fcard-brand { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dim); }
.fcard-title { font-size: 17px; font-weight: 700; line-height: 1.4; }
.fcard-title a:hover { color: var(--lime); }
.fcard-body .muted { font-size: 14px; }
.fcard-price { margin: 8px 0 12px; font-size: 24px; font-weight: 800; }
.fcard .btn { margin-top: auto; height: 44px; font-size: 15px; }

.feat-bar { margin-top: 24px; padding: 28px var(--gutter); background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat-item { display: flex; align-items: center; gap: 16px; padding: 4px 24px; color: var(--text); }
.feat-item + .feat-item { border-left: 1px solid var(--lime); }
.feat-item:first-child { padding-left: 0; }
.feat-item span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.5; color: var(--muted); }
.feat-item strong { font-size: 15px; font-weight: 800; letter-spacing: .03em; color: var(--text); }

.sales-band { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; }
.sales-band-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.sales-band::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 12, 12, .97) 0%, rgba(11, 12, 12, .85) 45%, rgba(11, 12, 12, .35) 100%); }
.sales-band-inner { position: relative; z-index: 2; padding: 64px var(--gutter); max-width: calc(760px + var(--gutter)); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.h-sales-big { font-size: clamp(36px, 3.6vw, 52px); line-height: 1.08; text-transform: uppercase; }

.footer-grid { grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }

/* ================= Responsive ================= */
@media (max-width: 1280px) {
  .header-search { display: none; }
}

@media (max-width: 1180px) {
  .cats { grid-template-columns: 1fr 1fr; }
  .bike-panel { grid-template-columns: 1fr; gap: 24px; }
  .feat-bar { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .feat-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech-feats { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 24px 40px; }
  .scroller { grid-auto-columns: calc((100% - 40px) / 3); }
  .main-nav { gap: 26px; }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-code { width: 190px; }
}

@media (max-width: 980px) {
  .site-header, .site-header.is-overlay { height: 64px; }
  .logo img, .is-overlay .logo img { height: 28px; }
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .header-tools { gap: 6px; }
  .main-nav {
    position: fixed; inset: 64px 0 0 0; z-index: 30; flex-direction: column; gap: 0;
    padding: 16px var(--gutter) 40px; background: var(--bg); font-size: 22px;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s; overflow-y: auto;
  }
  .main-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"] { color: var(--lime); border-bottom-color: var(--line); }
  .main-nav.is-open { transform: none; visibility: visible; }
  .nav-cta-mobile { display: inline-flex; margin-top: 28px; border-bottom: 1px solid transparent !important; padding: 0 28px !important; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 12, 12, .7) 0%, rgba(11, 12, 12, .92) 55%, var(--bg) 100%); }
  .hero-inner { padding: 112px var(--gutter) 48px; }
  .finder-row { flex-direction: column; align-items: stretch; }
  .field-sm { flex: 1; }
  .finder-submit { width: 100%; }
  .code-search { flex-wrap: wrap; }
  .code-search input { width: 100%; }

  .section { padding-top: 64px; padding-bottom: 64px; }
  .lines, .two-col, .cta-pair, .product-top, .office, .cat-grid, .tech, .sales { grid-template-columns: 1fr; }
  .tech { gap: 32px; padding-top: 64px; padding-bottom: 64px; }
  .tech-feats { grid-column: auto; }
  .compat { padding-top: 64px; padding-bottom: 64px; }
  .scroller { grid-auto-columns: calc((100% - 20px) / 2); }
  .sales-copy { padding: 56px var(--gutter); }
  .sales-img { min-height: 260px; }
  .home-hero::before { background: linear-gradient(180deg, rgba(11, 12, 12, .88) 0%, rgba(11, 12, 12, .94) 60%, var(--bg) 100%); }
  .home-hero { min-height: 0; }
  .home-hero .hero-inner { padding-top: 104px; padding-bottom: 56px; }
  .cats { margin-top: 0; }
  .bike-panel { padding: 24px 20px; }
  .hero-split { grid-template-columns: 1fr; gap: 32px; padding-top: 104px; }
  .hero-visual { max-width: 560px; width: 100%; justify-self: center; }
  .two-col, .product-top { gap: 40px; }
  .catalog-layout { flex-direction: column; }
  .sidebar { width: 100%; position: static; }
  .filter-summary { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 16px; border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface); font-weight: 500; cursor: pointer; list-style: none; }
  .filter-summary::-webkit-details-marker { display: none; }
  .filter-summary::after { content: '+'; color: var(--lime); font-size: 22px; margin-left: 12px; }
  .filter-panel[open] .filter-summary::after { content: '−'; }
  .filter-summary .muted { margin-left: auto; font-size: 14px; }
  .filter-panel[open] > .sidebar-head { margin-top: 20px; }
  .pillars, .channels { grid-template-columns: 1fr; }
  .result-row { gap: 20px; }
  .result-row .btn { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .btn { height: 48px; padding: 0 22px; font-size: 15px; }
  .hero-short { min-height: 440px; }
  .line-card { min-height: 300px; padding: 24px; }
  .line-deco { width: 180px; }
  .line-deco-brake { width: 220px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-tile { height: 96px; padding: 16px; }
  .brand-name { font-size: 24px; }
  .brand-foot { font-size: 13px; }
  .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cats { grid-template-columns: 1fr; }
  .cat-card { min-height: 170px; }
  .feat-bar { grid-template-columns: 1fr; }
  .feat-item, .feat-item + .feat-item { border-left: 0; padding: 0; }
  .hero-big { font-size: 52px; }
  .scroller { grid-auto-columns: 82%; }
  .hero-feats { flex-direction: column; gap: 14px; }
  .tech-feats { flex-direction: column; }
  .cat-name { font-size: 22px; }
  .sales-logo { width: 160px; }
  .cta-box { padding: 28px 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .sort { width: 100%; }
  .sort .input { flex: 1; width: auto; }
  .product-top { padding-top: 20px; }
  .result-row { display: grid; grid-template-columns: 96px 1fr; gap: 4px 16px; padding: 14px; }
  .result-thumb { width: 96px; height: 80px; grid-row: span 3; }
  .result-thumb img { width: 70px; height: 70px; }
  .result-code { width: auto; }
  .result-code strong { font-size: 18px; }
  .result-price { font-size: 20px; }
  .lime-band { padding: 28px 24px; }
  .lime-band .btn { width: 100%; }
  .distributor, .channel, .office-card, .pillar { padding: 24px; }
  .office-map { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- โปรโมชั่น ---------- */
.promo-empty { padding: 48px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--lime); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
@media (max-width: 640px) { .promo-empty { padding: 28px 22px; } }



/* ---------- สินค้าวางบนพื้น + เงาใต้ฐาน (ทุกหน้า) ----------
   รูปสินค้าถูกตัดขอบว่างออกแล้ว จัดให้ฐานสินค้าชิดเส้นพื้นเดียวกันทุกการ์ด
   แล้ววางเงาวงรีนุ่ม ๆ ไว้ใต้ฐาน */
.card-img, .fcard-img, .product-gallery, .result-thumb { position: relative; display: block; }
.card-img, .fcard-img { background: linear-gradient(180deg, #252929 0%, #151717 100%); }
.product-gallery { background: linear-gradient(180deg, #202323 0%, #131515 100%); }
.card-img > img:not(.card-logo), .fcard-img > img:not(.fcard-logo), .card-img > .illus, .fcard-img > .illus {
  position: absolute; z-index: 1; left: 12%; top: 12%; width: 76%; height: 70%;
  object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
.product-gallery > img:not(.gallery-logo), .product-gallery > .illus {
  position: absolute; z-index: 1; left: 10%; top: 12%; width: 80%; height: 70%;
  object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5));
}
.result-thumb img, .result-thumb .illus {
  position: absolute; z-index: 1; left: 12px; right: 12px; top: 10px; width: calc(100% - 24px); height: calc(100% - 30px);
  object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}
.card-img::after, .fcard-img::after, .product-gallery::after, .result-thumb::after {
  content: ''; position: absolute; z-index: 0; left: 50%; transform: translateX(-50%);
  width: 68%; height: 8%; bottom: 14%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 40%, transparent 72%);
  filter: blur(2px);
}
.product-gallery::after { width: 74%; height: 7%; bottom: 14.5%; }
.result-thumb::after { width: 80%; height: 10px; bottom: 15px; }
.cat-visual::after { content: ''; position: absolute; z-index: -1; left: 10%; right: 10%; bottom: -6px; height: 14px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .3) 45%, transparent 72%); filter: blur(2px); }
.cat-visual img { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); transform-origin: 50% 100%; }
.card-link:hover .card-img img:not(.card-logo), .fcard:hover .fcard-img img:not(.fcard-logo) { transform: scale(1.04); }
/* สินค้าแนะนำ: รูปเล็กลง ฐานสินค้ายังอยู่บนเส้นเงา */
.fcard-img > img:not(.fcard-logo), .fcard-img > .illus { left: 20%; top: 22%; width: 60%; height: 54%; }
.fcard-img::after { width: 54%; height: 7%; bottom: 20.5%; }

/* ชื่อสินค้าบรรทัดเดียว + บรรทัดรายละเอียดรุ่นรถ */
.card-title, .fcard-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard-title a { display: block; overflow: hidden; text-overflow: ellipsis; }
.h1-fit { display: block; margin-top: 4px; font-size: .68em; font-weight: 300; color: var(--muted); }
/* สินค้าแนะนำ: ลดพื้นที่ว่างใต้รูป (กรอบเตี้ยลง รูปขนาดเท่าเดิม) */
.fcard-img { aspect-ratio: 5 / 3; }
.fcard-img > img:not(.fcard-logo), .fcard-img > .illus { top: 14%; height: 68%; }
.fcard-img::after { bottom: 14.5%; height: 9%; }
/* สินค้าแนะนำ: เว้นระยะจากขอบบน (ฐานสินค้าอยู่ตำแหน่งเดิม) */
.fcard-img > img:not(.fcard-logo), .fcard-img > .illus { top: 24%; height: 58%; left: 22%; width: 56%; }
.fcard-img::after { width: 50%; bottom: 14%; }
/* เส้นคั่นเฟดสีเขียว ระหว่างรูปกับข้อมูลสินค้า (การ์ดสินค้าแนะนำ + แคตตาล็อก) */
.card-img { border-bottom: 0; }
.fcard-img::before, .card-img::before {
  content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(196, 218, 47, 0) 0%, var(--lime) 50%, rgba(196, 218, 47, 0) 100%);
  opacity: .85;
}
.fcard-img::before, .card-img::before { opacity: 1; background: linear-gradient(90deg, rgba(196, 218, 47, 0) 0%, var(--lime) 30%, var(--lime) 70%, rgba(196, 218, 47, 0) 100%); }
/* สินค้าแนะนำ: ลดระยะห่างบน-ล่างให้ต่อเนื่องกับ section อื่น */
.featured { padding-top: 56px; padding-bottom: 56px; }
.featured .section-head { margin-bottom: 28px; }
.feat-bar { margin-top: 0; }
@media (max-width: 980px) { .featured { padding-top: 44px; padding-bottom: 44px; } }
/* ค้นหาตามรุ่นรถ: หัวข้อบรรทัดเดียว */
.bike-panel { grid-template-columns: auto 1fr; }
.h-bike { white-space: nowrap; font-size: clamp(30px, 2.8vw, 40px); }
@media (max-width: 1180px) { .bike-panel { grid-template-columns: 1fr; } }
/* ติดต่อฝ่ายขาย: หัวข้อและรายละเอียดบรรทัดเดียว (จอใหญ่) */
.sales-band-inner { max-width: none; }
@media (min-width: 981px) {
  .h-sales-big, .sales-band-inner > p { white-space: nowrap; }
}
/* banner หน้าแรก: ไม่มีข้อความ (H1 ซ่อนไว้สำหรับ SEO) */
.home-hero { min-height: 0; height: clamp(320px, 42vw, 600px); }
.home-hero + .cats { margin-top: -48px; }
.footer-company { color: var(--text-2); text-decoration: underline; text-decoration-color: rgba(196, 218, 47, .5); text-underline-offset: 3px; }
.footer-company:hover { color: var(--lime); }
/* footer: คอลัมน์ติดต่อกว้างขึ้น ที่อยู่ไม่ตกบรรทัด */
@media (min-width: 1181px) { .footer-addr { white-space: nowrap; font-size: 15px; } }
@media (min-width: 1181px) { .footer-grid { grid-template-columns: 1.55fr .8fr .8fr 1.35fr 1fr; } }
.footer-company { white-space: nowrap; }

/* ---------- หน้าสินค้าทั้งหมด: ภาพพื้นหลังหัวหน้าเพจ เฟดกลืนกับพื้นเว็บ (ความเข้มเท่าหน้าแรก) ---------- */
.page-head-bg { position: relative; overflow: hidden; border-bottom: 0; isolation: isolate; }
.page-head-bg > * { position: relative; z-index: 2; }
.page-head-bg > .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-head-bg .hero-bg img { object-position: 70% 55%; }
.page-head-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 12, 12, .97) 0%, rgba(11, 12, 12, .9) 40%, rgba(11, 12, 12, .72) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 45%),
              linear-gradient(180deg, var(--bg) 0%, transparent 25%);
}
@media (max-width: 980px) {
  .page-head-bg::before { background: linear-gradient(180deg, rgba(11, 12, 12, .9) 0%, rgba(11, 12, 12, .9) 55%, var(--bg) 100%); }
}
/* โลโก้เล็กมุมซ้ายบนของรูปสินค้า (การ์ดแคตตาล็อก / สินค้าที่เกี่ยวข้อง) */
.card-img > .card-logo { position: absolute; top: 12px; left: 14px; z-index: 2; width: 64px; height: auto; opacity: .9; }

/* ---------- COMING SOON (โปรโมชั่น / เกี่ยวกับเรา) ---------- */
.coming-soon { min-height: clamp(360px, 52vh, 560px); justify-content: center; align-items: center; text-align: center; }
.h-soon { font-size: clamp(44px, 8vw, 112px); line-height: 1; letter-spacing: .02em; }

/* ---------- ติดต่อเรา (ออกแบบใหม่): ข้อมูลซ้าย + แผนที่ขวา ---------- */
.contact-wrap { padding: 8px var(--gutter) 88px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.call-card {
  position: relative; overflow: hidden; padding: 36px; border: 1px solid var(--border); border-radius: var(--radius);
  background: radial-gradient(120% 90% at 100% 0%, rgba(196, 218, 47, .14) 0%, rgba(196, 218, 47, 0) 55%), var(--surface);
  display: flex; flex-direction: column; gap: 10px;
}
.call-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); }
.call-card .kicker { margin: 0; }
.call-number { font-size: clamp(38px, 3.6vw, 56px); font-weight: 800; font-style: italic; line-height: 1.1; letter-spacing: .01em; color: var(--text); white-space: nowrap; }
.call-number:hover { color: var(--lime); }
.call-card .muted { font-size: 16px; margin-bottom: 14px; }
.call-card .btn-block svg { margin-right: 6px; }
.info-card { display: flex; gap: 18px; padding: 26px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.info-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(196, 218, 47, .1); color: var(--lime); }
.info-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.info-h { font-size: 18px; font-weight: 700; }
.info-company { font-weight: 500; }
.info-body address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.info-body .link-arrow { margin-top: 4px; }
.hours-list { display: flex; flex-direction: column; }
.hours-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.hours-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list dd { font-weight: 500; }
.hours-list .is-closed { color: var(--muted); }
.contact-map { position: relative; min-height: 520px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 980px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 340px; }
  .contact-wrap { padding-bottom: 56px; }
}
@media (max-width: 640px) {
  .call-card { padding: 26px 22px; }
  .info-card { padding: 22px 18px; gap: 14px; }
  .info-icon { width: 42px; height: 42px; }
}
.call-card .kicker { letter-spacing: .02em; font-size: 15px; }

/* ---------- หน้าสินค้า (ปรับรอบนี้) ---------- */
.product-gallery img.gallery-logo { position: absolute; z-index: 2; top: 22px; left: 24px; width: 104px; height: auto; opacity: .9; object-fit: initial; filter: none; }
/* ชื่อสินค้าเป็นหัวข้อหลัก + SKU ตัวเล็กใต้ชื่อ */
.product-info { gap: 20px; }
.product-title { display: flex; flex-direction: column; gap: 12px; }
.h-product { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; line-height: 1.3; }
.h-product .h1-fit { margin-top: 6px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; }
.product-sku { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.sku-main { font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--lime); }
.sku-sub { font-size: 13px; color: var(--dim); }
/* การ์ดราคา: พรีเมี่ยม */
.buy-box {
  position: relative; overflow: hidden; gap: 20px; padding: 28px 30px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background:
    radial-gradient(110% 120% at 100% 0%, rgba(196, 218, 47, .16) 0%, rgba(196, 218, 47, 0) 55%),
    linear-gradient(180deg, #1B1E1E 0%, #121414 100%);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}
.buy-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); }
.buy-box::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--lime) 0%, rgba(196, 218, 47, 0) 60%); }
.buy-head { display: flex; flex-direction: column; gap: 4px; }
.buy-label { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.buy-price { font-size: clamp(40px, 3.8vw, 56px); font-weight: 800; font-style: italic; line-height: 1.1; letter-spacing: .01em; color: var(--text); }
.buy-note { padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.buy-note a, .buy-note span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.buy-note a:hover { color: var(--lime); }
.buy-note svg { color: var(--lime); flex: none; }
/* ระยะบน-ล่าง: รุ่นรถที่ใช้ได้ / สเปกสินค้า / สินค้าที่คุณอาจสนใจ */
.product-top { padding-bottom: 56px; }
.product-band { padding-top: 48px; padding-bottom: 48px; }
.product-band .h-sub.mb { margin-bottom: 16px; }
.product-related { padding-top: 48px; padding-bottom: 64px; }
.product-related .section-head { margin-bottom: 24px; }
@media (max-width: 980px) {
  .product-top { padding-bottom: 40px; }
  .product-band { padding-top: 40px; padding-bottom: 40px; }
  .product-related { padding-top: 40px; padding-bottom: 48px; }
}
@media (max-width: 640px) {
  .product-gallery img.gallery-logo { width: 80px; top: 14px; left: 16px; }
  .buy-box { padding: 22px 20px; }
}
/* หัวข้อมีไอคอน (รุ่นรถที่ใช้ได้ / สเปกสินค้า) */
.h-with-icon { display: flex; align-items: center; gap: 14px; }
.h-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(196, 218, 47, .1); color: var(--lime); }
/* เลือกสี: บรรทัดเดียว (ป้าย "สี" + ปุ่มสีพร้อมชื่อ) */
.variant-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.variant-label { font-size: 15px; color: var(--muted); }
.color-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.color-pill {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 10px;
  border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface);
  font-size: 15px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: border-color .2s, color .2s;
}
.color-pill:hover { border-color: var(--text-2); color: var(--text); }
.color-pill.is-current { border-color: var(--lime); color: var(--text); box-shadow: inset 0 0 0 1px var(--lime); }
.color-dot { width: 18px; height: 18px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 2px rgba(0, 0, 0, .35); }
/* ช่องค้นหา: จอ 981–1280 แสดงแบบย่อใน header / มือถือ (เมนูเปิด) แสดงบนสุดของเมนู */
@media (min-width: 981px) and (max-width: 1280px) {
  .header-search { display: block; width: 180px; }
  .header-search input { font-size: 14px; }
}
@media (min-width: 981px) and (max-width: 1100px) {
  .main-nav { gap: 20px; font-size: 16px; }
  .header-search { width: 150px; }
}
.nav-search-mobile { display: none; }
@media (max-width: 980px) {
  .nav-search-mobile { display: block; position: relative; margin: 4px 0 8px; }
  .nav-search-mobile input { width: 100%; height: 50px; padding: 0 52px 0 16px; border: 1px solid var(--border-2); border-radius: var(--radius); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
  .nav-search-mobile input:focus { border-color: var(--lime); outline: none; }
  .nav-search-mobile button { position: absolute; right: 0; top: 0; width: 50px; height: 50px; border: 0; background: none; color: var(--lime); display: grid; place-items: center; cursor: pointer; }
}

/* ---------- Banner หน้าแรก (รูปออกแบบใหม่): เฟดแค่ขอบบน (ให้ header อ่านชัด) กับขอบล่างกลืนพื้นเว็บ ---------- */
.home-hero .hero-bg img { object-position: 50% 50%; }
.home-hero::before { background: linear-gradient(180deg, rgba(11, 12, 12, .55) 0%, rgba(11, 12, 12, 0) 20%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 12, 0) 26%); }
@media (max-width: 767px) {
  .home-hero .hero-bg img { object-position: 50% 50%; }
  .home-hero::before { background: linear-gradient(180deg, rgba(11, 12, 12, .6) 0%, rgba(11, 12, 12, 0) 28%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 12, 0) 30%); }
}

/* Banner เริ่มใต้ header (ไม่ให้ล้อชนเมนู) — ความสูงส่วนรูปเท่าเดิม + ความสูง header */
.home-hero { --hdr: 88px; height: calc(clamp(320px, 42vw, 600px) + var(--hdr)); }
.home-hero .hero-bg img { top: var(--hdr); height: calc(100% - var(--hdr)); }
.home-hero::before { top: var(--hdr); }
/* จอกว้างกว่า 1920: สูงตามสัดส่วนรูป 1920×600 (สูงสุด 800) รูปจะไม่ถูกตัดบน-ล่าง */
@media (min-width: 1921px) { .home-hero { height: calc(min(31.25vw, 800px) + var(--hdr)); } }
@media (max-width: 980px) { .home-hero { --hdr: 64px; } }

/* มือถือ/แท็บเล็ต: แสดง banner เต็มภาพ ไม่ตัด (สูงตามสัดส่วนรูป 3.2 : 1) */
@media (max-width: 980px) {
  .home-hero { height: calc(100vw / 3.2 + var(--hdr)); }
  .home-hero .hero-bg img { object-position: 50% 50%; }
  .home-hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(11, 12, 12, 0) 16%); }
  .home-hero + .cats { margin-top: 16px; }
}

/* เมนูหลัก 7 รายการ: อยู่บรรทัดเดียวทุกขนาดจอ */
.main-nav a { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1500px) {
  .main-nav { gap: 24px; font-size: 16px; }
  .header-search { width: 200px; }
}
/* จอ 981–1280: ช่องค้นหาย่อเป็นไอคอน กดแล้วขยายออกมาทับเมนูชั่วคราว */
@media (min-width: 981px) and (max-width: 1280px) {
  .main-nav { gap: 16px; font-size: 15px; letter-spacing: 0; }
  .header-search { display: block; width: 42px; height: 42px; }
  .header-search input {
    position: absolute; right: 0; top: 0; z-index: 5; width: 42px; padding: 0; cursor: pointer;
    color: transparent; background: transparent; border-color: var(--border-2); transition: width .2s ease;
  }
  .header-search input::placeholder { color: transparent; }
  .header-search:focus-within input { width: 280px; padding: 0 42px 0 14px; color: var(--text); background: var(--bg); border-color: var(--lime); cursor: text; }
  .header-search:focus-within input::placeholder { color: var(--dim); }
  .header-search button { z-index: 6; }
  .header-search:not(:focus-within) button { pointer-events: none; }
}

/* Banner ที่มีโลโก้/ข้อความชิดขอบ: แสดงเต็มภาพทุกขนาดจอ (สูงตามสัดส่วน 3.2 : 1 สูงสุด 800px) */
.home-hero { height: calc(min(100vw / 3.2, 800px) + var(--hdr)); }
.home-hero .hero-bg img { object-position: 50% 50%; }
@media (min-width: 1921px) { .home-hero { height: calc(min(100vw / 3.2, 800px) + var(--hdr)); } }

/* หน้าแรก: ค้นหาตามรุ่นรถ อยู่ต่อจาก banner (ซ้อนขอบล่าง banner) แล้วตามด้วยหมวดหมู่สินค้า */
.home-hero + .bike { position: relative; z-index: 3; margin-top: -48px; }
.bike + .cats { margin-top: 24px; }
@media (max-width: 980px) {
  .home-hero + .bike { margin-top: 16px; }
  .bike + .cats { margin-top: 16px; }
}

/* ---------- ค้นหาตามรุ่นรถ (หน้าแรก) สไตล์ใหม่: กล่องกระจกมืดลอยบน banner ---------- */
.bike-panel {
  grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; padding: 28px 32px 28px 36px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background:
    radial-gradient(70% 180% at 0% 0%, rgba(196, 218, 47, .14) 0%, rgba(196, 218, 47, 0) 55%),
    linear-gradient(180deg, rgba(27, 30, 30, .92) 0%, rgba(17, 19, 19, .95) 100%);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, .95);
}
.bike-panel::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); z-index: 2; }
.bike-panel::after { display: none; }
.bike-title { display: flex; align-items: center; gap: 16px; padding-right: 32px; border-right: 1px solid var(--border-2); }
.bike-icon { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: rgba(196, 218, 47, .12); color: var(--lime); }
.bike-kicker { display: block; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--lime); }
.h-bike { margin: 2px 0 4px; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.15; white-space: nowrap; }
.bike-title .muted { font-size: 14px; line-height: 1.5; }
.finder-inline .field { position: relative; }
.finder-inline .field-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--lime); pointer-events: none; z-index: 1; }
.finder-inline .field select {
  height: 52px; padding-left: 44px; padding-right: 40px; border: 1px solid var(--border-2); border-radius: var(--radius);
  background-color: #0E1010; color: var(--text); font-weight: 400;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C4DA2F' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; transition: border-color .15s, box-shadow .15s;
}
.finder-inline .field select:hover { border-color: #5A6060; }
.finder-inline .field select:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(196, 218, 47, .15); }
.finder-inline .field select option, .finder-inline .field select optgroup { background: #151717; color: #F2F3EE; }
.finder-inline .finder-row { gap: 12px; }
.finder-inline .finder-submit { height: 52px; padding: 0 28px; }
@media (max-width: 1180px) {
  .bike-panel { grid-template-columns: 1fr; gap: 22px; }
  .bike-title { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 640px) {
  .bike-panel { padding: 22px 18px 22px 22px; }
  .bike-icon { width: 46px; height: 46px; }
  .h-bike { font-size: 26px; }
}

/* ---------- หน้าผลการค้นหา (ออกแบบใหม่) ---------- */
.search-head { padding-bottom: 76px; }
.search-head .bike-kicker { margin-bottom: -4px; }
.search-head + .search-finder { position: relative; z-index: 3; margin-top: -44px; }
.search-results { padding-top: 40px; display: flex; flex-direction: column; gap: 48px; }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: -16px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px 0 16px; border-radius: 99px;
  border: 1px solid rgba(196, 218, 47, .4); background: rgba(196, 218, 47, .08); color: var(--text); font-size: 15px; font-weight: 500;
}
.filter-chip span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--muted); font-size: 16px; line-height: 1; }
.filter-chip:hover { border-color: var(--lime); color: var(--text); }
.filter-chip:hover span { background: var(--lime); color: var(--bg); }
.result-group { display: flex; flex-direction: column; gap: 20px; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); position: relative; }
.group-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 120px; height: 2px; background: var(--lime); }
.h-group-new { display: flex; align-items: center; gap: 12px; font-size: clamp(22px, 1.9vw, 28px); font-weight: 700; }
.count-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--border-2); font-size: 13px; font-weight: 500; color: var(--muted); }
.search-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; border: 1px dashed var(--border-2); border-radius: var(--radius); color: var(--muted); }

.brand-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.brand-tile {
  position: relative; overflow: hidden; height: auto; min-height: 168px; padding: 26px 26px 22px; gap: 14px; justify-content: space-between;
  background: radial-gradient(90% 140% at 100% 0%, rgba(196, 218, 47, .1) 0%, rgba(196, 218, 47, 0) 55%), linear-gradient(180deg, #1B1E1E 0%, #131515 100%);
  border: 1px solid var(--border); transition: border-color .2s, transform .2s;
}
.brand-tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.brand-tile:hover { border-color: var(--border-2); transform: translateY(-2px); }
.brand-tile:hover::before { transform: scaleY(1); }
.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand-name { font-size: 38px; }
.brand-go { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-2); color: var(--muted); transition: all .2s; }
.brand-tile:hover .brand-go { background: var(--lime); border-color: var(--lime); color: var(--bg); }
.brand-models { display: flex; flex-wrap: wrap; gap: 6px; min-height: 26px; }
.brand-count { font-size: 14px; color: var(--dim); }

.help-band {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 32px 28px 36px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background: radial-gradient(70% 180% at 0% 0%, rgba(196, 218, 47, .14) 0%, rgba(196, 218, 47, 0) 55%), linear-gradient(180deg, #1B1E1E 0%, #121414 100%);
}
.help-band::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); }
.help-text { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 4px; }
.help-band .btn-row { gap: 12px; }
@media (max-width: 980px) {
  .search-head { padding-bottom: 60px; }
  .search-head + .search-finder { margin-top: -36px; }
  .search-results { padding-top: 32px; gap: 36px; }
}
@media (max-width: 640px) {
  .help-band { padding: 22px 18px 22px 22px; }
  .help-band .btn-row, .help-band .btn { width: 100%; }
  .brand-name { font-size: 32px; }
}
.search-head .bike-kicker { letter-spacing: .02em; font-size: 15px; }
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ภาษาอังกฤษ: เมนูหลักตัวพิมพ์ใหญ่ทั้งหมด */
html[lang="en"] .main-nav a { text-transform: uppercase; letter-spacing: .03em; }
