/*
Theme Name: ZETA DirtFreak
Description: ZETA DirtFreak 台灣官網自訂主題
Version: 1.0.0
Text Domain: zeta-dirtfreak
*/

/* ===== CSS Variables ===== */
:root {
  --navy: #1B2A4A;
  --navy-dark: #111d33;
  --accent: #C0392B;
  --grey: #666666;
  --lightgrey: #f2f2f2;
  --border: #dcdfe6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #222;
  line-height: 1.6;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3 { margin: 0 0 12px; }
img { max-width: 100%; }
/* 視覺隱藏、保留給搜尋引擎與螢幕閱讀器 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Header ===== */
header { border-bottom: 1px solid var(--border); position: relative; z-index: 50; }

.header-top {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo { font-size: 26px; font-weight: 800; color: var(--navy); letter-spacing: 1px; }
.logo .sub { display: block; font-size: 11px; font-weight: 400; color: var(--grey); letter-spacing: 0; margin-top: 2px; }

/* Nav */
nav.main-nav { display: flex; gap: 6px; align-items: center; }

nav.main-nav > a,
nav.main-nav > .dropdown > .nav-label {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  border-radius: 6px;
}

nav.main-nav > a:hover,
.dropdown:hover .nav-label { background: var(--lightgrey); }

nav.main-nav > a.active,
.dropdown > .nav-label.active { background: var(--lightgrey); }

.dropdown { position: relative; }

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  padding: 18px;
  border-radius: 8px;
  min-width: 320px;
  gap: 24px;
}

.dropdown:hover .dropdown-panel { display: flex; }

.dropdown-panel .col { min-width: 130px; }
.dropdown-panel .col strong { display: block; color: var(--accent); font-size: 12.5px; margin-bottom: 8px; }
.dropdown-panel .col a { display: block; font-size: 13.5px; color: #333; padding: 4px 0; }
.dropdown-panel .col a:hover { color: var(--accent); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 14px; }

.search-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--lightgrey);
  border: none;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--grey);
  cursor: pointer;
}

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}
.search-overlay.open { display: flex; }

.search-overlay-box {
  background: #fff;
  border-radius: 12px;
  padding: 28px 28px 24px;
  width: min(560px, 90vw);
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}

.search-overlay-hint {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--grey);
}

.search-overlay-box form {
  display: flex;
  gap: 8px;
}

.search-overlay-box input[type=text] {
  flex: 1;
  font-size: 16px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  outline: none;
}
.search-overlay-box input[type=text]:focus {
  border-color: var(--accent);
}

.search-overlay-box button[type=submit] {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.search-overlay-box button[type=submit]:hover {
  background: #a93226;
}

.search-overlay-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--grey);
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
}
.search-overlay-close:hover { color: #222; }

.webike-link {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 9px 16px;
  border-radius: 6px;
}
.webike-link:hover { background: var(--accent); }

/* Hamburger */
.nav-toggle-cb { display: none; }
.hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  background: #fff;
}

/* ===== Breadcrumb ===== */
.breadcrumb { max-width: 1280px; margin: 16px auto 0; padding: 0 24px; font-size: 12.5px; color: var(--grey); }
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span.sep { margin: 0 6px; }
.breadcrumb span.current { color: var(--navy); font-weight: 600; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 20px 0 40px; }
.pagination a, .pagination span {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--grey);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination span.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Section Utilities ===== */
section { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
section.alt { background: var(--lightgrey); max-width: 100%; }
section.alt > .inner { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.section-head h2 { font-size: 22px; color: var(--navy); border-left: 5px solid var(--accent); padding-left: 12px; margin: 0; }
.section-head .more { font-size: 13px; color: var(--grey); }
.section-head .more:hover { color: var(--accent); }

/* ===== Footer ===== */
footer { background: var(--navy-dark); color: #c7ccd6; padding: 48px 24px 20px; margin-top: 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: flex; gap: 40px; border-bottom: 1px solid #2b3a58; padding-bottom: 32px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-logo-block { flex: 0 0 220px; }
.footer-logo-block img { height: 60px; width: auto; margin-bottom: 14px; }
.footer-logo-block p { font-size: 12px; line-height: 1.8; color: #8b93a8; margin: 0; }
.footer-cols { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.footer-cols h4 { font-size: 13px; color: #fff; margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 12.5px; color: #8b93a8; padding: 4px 0; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { font-size: 11.5px; color: #6d7793; text-align: center; padding-top: 8px; }
.footer-simple .footer-bottom { padding-top: 0; }

/* ===== Homepage ===== */
.hero { max-width: 1280px; margin: 24px auto; padding: 0 24px; }
.hero-banner { width: 100%; object-fit: cover; border-radius: 10px; display: block; }
.hero-placeholder { height: 420px; background: var(--lightgrey); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 15px; }

/* Pick Up */
.pickup-head { text-align: center; padding-top: 8px; margin-bottom: 36px; }
.pickup-head h2 { font-size: 30px; letter-spacing: 2px; color: var(--navy); font-style: italic; font-weight: 800; margin-bottom: 8px; }
.pickup-head .divider { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12.5px; color: var(--grey); }
.pickup-head .divider .line { width: 36px; height: 1px; background: var(--border); display: inline-block; }
.pickup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.pickup-item a { display: block; }
.pickup-item .cat-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border-bottom: 3px solid var(--accent); display: block; }
.pickup-item .cat-placeholder { aspect-ratio: 1; background: var(--lightgrey); border-radius: 8px; border-bottom: 3px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 13px; }
.pickup-item .name { margin-top: 10px; font-size: 13.5px; font-weight: 600; color: #222; text-align: left; }

/* Brand entries (DRC/DFG) */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { border: 1px solid var(--border); border-radius: 10px; display: flex; overflow: hidden; background: #fff; }
.brand-card img { width: 180px; flex: none; object-fit: contain; padding: 16px; border-right: 1px solid var(--border); }
.brand-card .brand-placeholder { width: 180px; flex: none; background: var(--lightgrey); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 12px; border-right: 1px solid var(--border); }
.brand-card .text { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.brand-card .text h3 { font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.brand-card .text p { font-size: 13px; color: var(--grey); margin: 0 0 14px; }
.brand-card .text a { font-size: 13px; font-weight: 700; color: var(--accent); }

/* Model search entry */
.model-search-entry .lead { font-size: 14px; color: var(--grey); margin-bottom: 20px; }
.maker-quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.maker-quick-item a { display: block; }
.maker-quick-item img { width: 100%; height: 80px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; padding: 10px; background: #fff; }
.maker-quick-item img:hover { border-color: var(--accent); }
.maker-quick-item .name { text-align: center; font-size: 12.5px; font-weight: 600; margin-top: 6px; color: var(--navy); }

/* News (homepage) */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.news-item { display: flex; gap: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: #fff; }
.news-item .thumb { flex: none; display: block; }
.news-item img { width: 96px; height: 72px; flex: none; object-fit: cover; border-radius: 6px; }
.news-item .news-thumb-placeholder { width: 96px; height: 72px; flex: none; background: var(--lightgrey); border-radius: 6px; }
.news-item .tag { font-size: 11px; font-weight: 700; color: var(--accent); }
.news-item .title { font-size: 13.5px; font-weight: 600; margin: 4px 0; color: #222; }
.news-item .date { font-size: 11.5px; color: #999; }

/* ===== Product List / Archive ===== */
.page-head { max-width: 1280px; margin: 0 auto; padding: 20px 24px 0; }
.page-head h1 { font-size: 22px; color: var(--navy); }

.active-chips { max-width: 1280px; margin: 12px auto 0; padding: 0 24px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.chip { background: var(--lightgrey); border: 1px solid var(--border); border-radius: 16px; padding: 6px 12px; font-size: 12.5px; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.chip .x { color: var(--grey); font-weight: 700; cursor: pointer; text-decoration: none; }

.products-layout { max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; gap: 28px; align-items: flex-start; }

aside.filters { flex: 0 0 240px; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
aside.filters h3 { font-size: 13.5px; color: var(--navy); border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-bottom: 12px; }
aside.filters .group { margin-bottom: 22px; }
aside.filters .cat-scroll { max-height: 190px; overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
aside.filters .cat-code { margin-left: auto; font-size: 10.5px; color: #aaa; font-family: monospace; }
aside.filters label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; padding: 4px 0; cursor: pointer; }
aside.filters select { width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; margin-top: 6px; }
aside.filters .search-box { display: flex; gap: 6px; }
aside.filters .search-box input { flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
aside.filters .search-box button { background: var(--navy); color: #fff; border: none; padding: 8px 12px; border-radius: 6px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }
aside.filters .search-box button:hover { background: var(--accent); }

.filter-toggle-cb { display: none; }
.filter-toggle-btn { display: none; }

main.results { flex: 1; min-width: 0; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; color: var(--grey); }
.sort-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--grey); }
.sort-select { font-size: 13px; padding: 4px 8px; border: 1px solid var(--border); border-radius: 4px; color: var(--navy); background: #fff; cursor: pointer; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; position: relative; }
.product-card .img-wrap { position: relative; }
.product-card .product-img { width: 100%; height: 170px; object-fit: contain; background: #f6f7fa; display: block; }
.product-card .product-img-placeholder { height: 170px; background: var(--lightgrey); display: flex; align-items: center; justify-content: center; color: var(--grey); font-size: 12px; }
.brand-logo-badge {
  position: absolute; top: 8px; left: 8px;
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 4px 8px; font-size: 10.5px; font-weight: 800;
  color: var(--navy); display: flex; align-items: center; gap: 4px;
}
.brand-logo-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product-card .info { padding: 14px; }
.product-card .name { font-size: 14px; font-weight: 600; margin: 2px 0; color: #222; }
.product-card .model { font-size: 12px; color: var(--grey); margin-bottom: 12px; }
.product-card .cta { display: block; text-align: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 9px; border-radius: 6px; }
.product-card .cta:hover { background: var(--accent); }

/* ===== Product Detail ===== */
.detail { max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; gap: 40px; align-items: start; }

.gallery { flex: 0 0 440px; }
.product-main-img { width: 100%; max-height: 420px; object-fit: contain; background: var(--lightgrey); border-radius: 8px; display: block; }

.info { flex: 1; }
.brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.brand-badge { display: inline-block; font-size: 12px; font-weight: 800; color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 4px; letter-spacing: 1px; }
.brand-link { font-size: 12px; color: var(--grey); }
.brand-link:hover { color: var(--accent); }
.product-cat { font-size: 13px; color: var(--grey); margin-bottom: 4px; }
.jp-name { font-size: 13px; color: var(--grey); font-style: italic; margin-bottom: 4px; }
.info h1 { font-size: 25px; color: var(--navy); margin-bottom: 12px; }

.basic-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13.5px; }
.basic-table th, .basic-table td { border: 1px solid var(--border); padding: 9px 14px; text-align: left; }
.basic-table th { background: var(--lightgrey); width: 150px; color: var(--navy); font-weight: 600; }
.basic-table .rep-note { font-size: 11.5px; color: var(--accent); }

.anchor-note { font-size: 12.5px; color: var(--grey); margin-bottom: 16px; }
.anchor-note a { color: var(--accent); font-weight: 600; }

/* Inline buy button */
.row-cta { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 6px; white-space: nowrap; }
.row-cta:hover { background: var(--accent); color: #fff; }

/* Fitment section */
section.fitment { max-width: 1280px; margin: 0 auto; padding: 8px 24px 24px; border-top: 1px solid var(--border); }
section.fitment h2 { font-size: 18px; color: var(--navy); margin-bottom: 8px; border-left: 4px solid var(--accent); padding-left: 10px; }
.fitment-note { font-size: 12.5px; color: var(--grey); margin-bottom: 16px; }
.fitment-note a { color: var(--accent); }

/* PDF callout card */
.pdf-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--border); background: #fafbfc;
  border-radius: 10px; padding: 16px 20px; margin-bottom: 20px;
}
.pdf-callout .txt { font-size: 13px; color: #444; }
.pdf-callout .txt b { display: block; color: var(--navy); font-size: 14.5px; margin-bottom: 2px; }
.pdf-callout .pdf-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 700;
  padding: 10px 18px; border-radius: 6px; white-space: nowrap;
}
.pdf-callout .pdf-btn:hover { background: var(--accent); }

/* Fitment table */
table.fit-table { width: 100%; border-collapse: collapse; font-size: 13px; }
table.fit-table th, table.fit-table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: middle; }
table.fit-table th { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 600; }
table.fit-table tr:nth-child(even) td { background: var(--lightgrey); }


/* Description section */
section.desc { max-width: 1280px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--border); }
section.desc h2 { font-size: 18px; color: var(--navy); margin-bottom: 16px; border-left: 4px solid var(--accent); padding-left: 10px; }
.body-text { font-size: 14px; line-height: 2; color: #333; }

/* Related section */
section.related { max-width: 1280px; margin: 0 auto; padding: 24px; border-top: 1px solid var(--border); }
section.related h2 { font-size: 18px; color: var(--navy); margin-bottom: 20px; border-left: 4px solid var(--accent); padding-left: 10px; }
section.related .product-grid { grid-template-columns: repeat(4, 1fr); }

/* ===== News List ===== */
.news-page-head { max-width: 1280px; margin: 0 auto; padding: 28px 24px 0; }
.news-page-head h1 { font-size: 24px; color: var(--navy); }

.tabs { max-width: 1280px; margin: 20px auto 0; padding: 0 24px; display: flex; gap: 8px; border-bottom: 2px solid var(--border); }
.tabs a {
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  color: var(--grey); border-bottom: 3px solid transparent; margin-bottom: -2px;
  display: inline-block;
}
.tabs a.active { color: var(--navy); border-bottom-color: var(--accent); }
.tabs a:hover { color: var(--navy); }

.news-feed { max-width: 1280px; margin: 0 auto; padding: 24px 24px 60px; }
.news-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: start; }
.news-row img { width: 100%; height: 130px; object-fit: cover; border-radius: 8px; display: block; }
.news-row .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 8px; margin-bottom: 8px; }
.news-row .title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.news-row .excerpt { font-size: 13.5px; color: var(--grey); line-height: 1.7; margin-bottom: 10px; }
.news-row .meta { font-size: 12px; color: #aaa; }
.news-row .readmore { font-size: 13px; font-weight: 700; color: var(--accent); margin-left: 16px; }
.news-row .readmore:hover { color: var(--navy); }

/* ===== News Single ===== */
article.news-article { max-width: 900px; margin: 0 auto; padding: 32px 24px 60px; }
article.news-article header { margin-bottom: 28px; }
article.news-article .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 3px 10px; margin-bottom: 12px; }
article.news-article h1 { font-size: 26px; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
article.news-article .date { font-size: 13px; color: #aaa; }
article.news-article .hero-img img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; margin: 20px 0 32px; display: block; }
article.news-article .body-text { font-size: 15px; line-height: 2; color: #333; }
article.news-article .body-text p { margin-bottom: 20px; }
article.news-article .body-text h2 { font-size: 18px; color: var(--navy); margin: 36px 0 12px; }

.news-related { max-width: 900px; margin: 0 auto; padding: 0 24px 60px; border-top: 2px solid var(--border); }
.news-related h2 { font-size: 18px; color: var(--navy); margin: 32px 0 20px; }
.news-related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-related-list .card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.news-related-list .card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.news-related-list .card-body { padding: 12px; }
.news-related-list .tag { font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 6px; display: block; }
.news-related-list .title { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.news-related-list .date { font-size: 12px; color: #aaa; margin-top: 6px; }

/* ===== Model Search ===== */
.maker-grid {
  max-width: 1280px; margin: 32px auto 0; padding: 0 24px 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.maker-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; }
.maker-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.maker-card .logo-wrap { height: 140px; display: flex; align-items: center; justify-content: center; padding: 20px; border-bottom: 1px solid var(--border); background: #fff; }
.maker-card .logo-wrap img { max-height: 100%; max-width: 100%; object-fit: contain; }
.maker-card .text { padding: 16px; }
.maker-card .text h2 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.maker-card .text .models-count { font-size: 12px; color: var(--grey); margin-bottom: 12px; }
.maker-card .text .btn { display: block; text-align: center; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 10px; border-radius: 6px; }
.maker-card .text .btn:hover { background: var(--accent); }

/* Maker detail page */
.maker-page-head { max-width: 1280px; margin: 0 auto; padding: 28px 24px 0; display: flex; align-items: center; gap: 32px; }
.maker-page-head img { height: 90px; width: auto; object-fit: contain; }
.maker-page-head .text h1 { font-size: 26px; color: var(--navy); margin-bottom: 6px; }
.maker-page-head .text p { font-size: 13.5px; color: var(--grey); margin: 0; }

.maker-section { max-width: 1280px; margin: 40px auto 0; padding: 0 24px; }
.maker-section h2 { font-size: 18px; color: var(--navy); border-left: 5px solid var(--accent); padding-left: 12px; margin-bottom: 6px; }
.popular-label, .all-models-label { font-size: 12px; color: var(--grey); font-weight: 600; margin: 16px 0 8px; }
.all-models-label { margin-top: 20px; }

.popular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.model-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.model-card .model-name { padding: 10px 12px; font-size: 13px; font-weight: 600; color: var(--navy); }
.model-card .model-name .year { font-size: 11px; font-weight: 400; color: var(--grey); display: block; margin-top: 2px; }
.model-card .model-btn { display: block; text-align: center; margin: 0 12px 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 8px; border-radius: 6px; }
.model-card .model-btn:hover { background: var(--accent); }

.model-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.model-list li a { display: inline-block; border: 1px solid var(--border); border-radius: 6px; padding: 6px 14px; font-size: 13px; color: var(--navy); }
.model-list li a:hover { border-color: var(--accent); color: var(--accent); }
.model-note { font-size: 11.5px; color: #aaa; margin: 8px 0 0; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0 0; }

.other-makers { max-width: 1280px; margin: 48px auto 0; padding: 0 24px 60px; }
.other-makers h2 { font-size: 16px; color: var(--navy); margin-bottom: 16px; }
.other-makers-list { display: flex; gap: 12px; flex-wrap: wrap; }
.other-makers-list a { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.other-makers-list a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== About ===== */
.about-hero { max-width: 1280px; margin: 24px auto 0; padding: 0 24px; }
.about-hero img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; display: block; }
.about-hero .placeholder { height: 300px; font-size: 14px; }

.about-section { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.about-section h1, .about-section h2 { font-size: 20px; color: var(--navy); border-left: 5px solid var(--accent); padding-left: 12px; margin-bottom: 16px; }
.about-section p { font-size: 13.5px; line-height: 1.9; color: #333; }

.sisters { max-width: 1280px; margin: 0 auto; padding: 40px 24px; background: var(--lightgrey); }
.sisters .inner { max-width: 900px; margin: 0 auto; }
.sisters .inner h2 { font-size: 20px; color: var(--navy); border-left: 5px solid var(--accent); padding-left: 12px; margin-bottom: 16px; }
.sister-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sister-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.sister-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.sister-card p { font-size: 12.5px; color: var(--grey); margin: 0 0 12px; }
.sister-card a { font-size: 13px; font-weight: 700; color: var(--accent); }

.agent-info { max-width: 900px; margin: 0 auto; padding: 40px 24px; }
.agent-info h2 { font-size: 20px; color: var(--navy); border-left: 5px solid var(--accent); padding-left: 12px; margin-bottom: 16px; }
.agent-info table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.agent-info th, .agent-info td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.agent-info th { background: var(--lightgrey); width: 140px; color: var(--navy); font-weight: 600; }

/* ===== Contact ===== */
/* ===== Contact Page ===== */
.layout { max-width: 1000px; margin: 0 auto; padding: 24px; display: flex; gap: 40px; }
.intro { font-size: 14px; color: #333; margin-bottom: 20px; }

.line-col { flex: 1.1; }
.line-box { border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; margin-bottom: 16px; background: #fafbfc; }
.line-box .box-title { color: var(--accent); font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.line-box .box-title::before { content: "▶ "; }
.line-box p { margin: 4px 0; font-size: 13.5px; color: #333; }
.line-box .id-line { font-weight: 600; color: var(--navy); }
.line-box a { color: var(--accent); }
.contact-note { margin-top: 20px; padding: 14px 18px; background: var(--lightgrey); border-radius: 8px; font-size: 12.5px; color: var(--grey); }

.agent-box { flex: 1; border: 1px solid var(--border); border-radius: 10px; padding: 20px; height: fit-content; }
.agent-box h3 { font-size: 14.5px; color: var(--navy); margin-bottom: 12px; }
.agent-box table { width: 100%; border-collapse: collapse; font-size: 13px; }
.agent-box th, .agent-box td { padding: 8px 0; text-align: left; vertical-align: top; }
.agent-box th { color: var(--grey); width: 80px; font-weight: 600; }
.agent-box td a { color: var(--accent); }

/* ===== RWD ===== */
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pickup-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .news-list { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .maker-quick-grid { grid-template-columns: repeat(3, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .maker-grid { grid-template-columns: repeat(2, 1fr); }
  .sister-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-top { flex-wrap: wrap; row-gap: 8px; }
  .hamburger-btn { display: flex; }
  .header-right { order: 1; }

  nav.main-nav {
    order: 2;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 8px;
  }
  .nav-toggle-cb:checked ~ nav.main-nav { display: flex; }
  nav.main-nav > a,
  .dropdown > .nav-label { width: 100%; padding: 12px 4px; border-radius: 4px; }
  .dropdown-panel { position: static !important; display: block !important; transform: none !important; box-shadow: none; border: none; padding: 2px 0 10px 16px; min-width: 0; width: 100%; background: none; }
  .dropdown-panel .col { min-width: 0; margin-bottom: 12px; }
  .dropdown-panel .col a { padding: 6px 0; }

  .brand-card { flex-direction: column; }
  .products-layout { flex-direction: column; }
  main.results { width: 100%; }
  .filter-toggle-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 16px; background: var(--lightgrey); border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--navy); cursor: pointer; margin-bottom: 4px; }
  aside.filters { display: none; width: 100%; margin-top: 12px; }
  .filter-toggle-cb:checked ~ aside.filters { display: block; }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { flex-direction: column; }
  .gallery { flex: none; width: 100%; }
  section.fitment { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.fit-table { min-width: 600px; }
  section.related .product-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { flex-direction: column; }
  .line-col, .agent-box { flex: none; width: 100%; }
  .maker-page-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-top { flex-direction: column; }
  .footer-logo-block { flex: none; }
}

@media (max-width: 640px) {
  .news-row { grid-template-columns: 1fr; }
  .news-related-list { grid-template-columns: 1fr; }
  .maker-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .pickup-grid { grid-template-columns: repeat(2, 1fr); }
  .maker-quick-grid { grid-template-columns: repeat(2, 1fr); }
}

label > span.cat-code {
  display: none;
}