﻿:root {
  --red: #A82B31;
  --red-dark: #8A2228;
  --red-soft: #FAF1F1;
  --ink: #282828;
  --ink-2: #4A4A4A;
  --gray: #8C8C8C;
  --gray-2: #A9A9A9;
  --line: #E8E8E8;
  --bg: #FFFFFF;
  --bg-soft: #F6F6F6;
  --bg-dark: #1C1C1C;
  --radius: 2px;
  --header-h: 58px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --num-font: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 60;
  display: flex; align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), height .3s var(--ease);
}
.header.is-solid { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; }
.brand-logo.logo-white { display: none; }
.header-nav { display: none; gap: 30px; align-items: center; }
.header-nav a { font-size: 13px; color: var(--ink-2); letter-spacing: .04em; position: relative; padding: 6px 0; }
.header-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red);
  transition: right .3s var(--ease);
}
.header-nav a:hover::after, .header-nav a.is-active::after { right: 0; }
.header-nav a.is-active { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  position: relative; color: var(--ink);
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 18px; height: 18px; }
.badge {
  position: absolute; top: 1px; right: 0; min-width: 15px; height: 15px; padding: 0 4px;
  background: var(--red); color: #fff; font-size: 10px; line-height: 15px; text-align: center;
  border-radius: 8px; font-family: var(--num-font);
}
.lang-btn {
  font-family: var(--num-font); font-size: 12px; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.lang-btn:hover { border-color: var(--red); color: var(--red); }

/* header over hero */
body.is-home:not(.scrolled) .header { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
body.is-home:not(.scrolled) .header .brand-logo.logo-red { display: none; }
body.is-home:not(.scrolled) .header .brand-logo.logo-white { display: block; }
body.is-home:not(.scrolled) .header-nav a,
body.is-home:not(.scrolled) .header-nav a.is-active { color: rgba(255,255,255,.8); }
body.is-home:not(.scrolled) .header-nav a.is-active { color: #fff; }
body.is-home:not(.scrolled) .icon-btn { color: #fff; }
body.is-home:not(.scrolled) .lang-btn { border-color: rgba(255,255,255,.35); color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: #111;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../img/hero-3-m.jpg?v=3");
  background-size: cover; background-position: 58% 62%;
  transform: scale(1.06);
  animation: heroZoom 8s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.62) 0%, rgba(10,10,10,0) 26%),
    linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.80) 34%, rgba(20,20,20,.34) 64%, rgba(20,20,20,.45) 100%),
    linear-gradient(0deg, rgba(10,10,10,.90) 0%, rgba(10,10,10,0) 52%);
}
.hero-red {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red); z-index: 2;
}
.hero .wrap { position: relative; z-index: 3; padding-bottom: 12vh; padding-top: calc(var(--header-h) + 40px); width: 100%; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--num-font); font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--red); }
.hero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 6.2vw, 58px); line-height: 1.16; letter-spacing: .01em;
  font-weight: 800; text-shadow: 0 2px 26px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.45);
}
.hero-sub {
  margin: 0 0 34px; max-width: 620px; font-size: clamp(12px, 2.4vw, 15px);
  color: rgba(255,255,255,.78); letter-spacing: .04em; line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 24px; border-radius: var(--radius);
  font-size: 14px; letter-spacing: .04em; transition: all .25s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-line { border: 1px solid var(--line); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-red-line { border: 1px solid var(--red); color: var(--red); }
.btn-red-line:hover { background: var(--red); color: #fff; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn svg { width: 16px; height: 16px; }

.hero-panel { display: none; }
.hero-meta {
  position: absolute; right: 22px; bottom: 12vh; z-index: 3; text-align: right;
  display: none;
}
.hero-meta .num { font-family: var(--num-font); font-size: 64px; line-height: 1; color: rgba(255,255,255,.9); }
.hero-meta .lbl { font-size: 11px; letter-spacing: .2em; color: rgba(255,255,255,.5); text-transform: uppercase; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .24em; color: rgba(255,255,255,.55); text-transform: uppercase;
}
.scroll-hint i { display: block; width: 1px; height: 32px; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.75)); animation: hintLine 2.2s var(--ease) infinite; }
@keyframes hintLine { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- sections ---------- */
.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.eyebrow {
  font-family: var(--num-font); font-size: 11px; letter-spacing: .24em; color: var(--red);
  text-transform: uppercase; margin-bottom: 12px;
}
.section-title { margin: 0; font-size: clamp(22px, 4vw, 32px); font-weight: 800; letter-spacing: .01em; line-height: 1.3; }
.section-desc { margin: 12px 0 0; color: var(--gray); font-size: 14px; max-width: 720px; }
.contents-word {
  font-family: var(--num-font); font-weight: 800; color: var(--red);
  font-size: clamp(38px, 10vw, 78px); line-height: .95; letter-spacing: .02em; margin-bottom: 18px;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 44px; }
.stat { background: #fff; padding: 22px 18px; text-align: center; }
.stat .n { font-family: var(--num-font); font-size: clamp(26px, 5vw, 40px); color: var(--red); line-height: 1; }
.stat .l { margin-top: 8px; font-size: 12px; color: var(--gray); letter-spacing: .08em; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cat-card {
  position: relative; display: block; overflow: hidden; background: #fff;
  border: 1px solid var(--line); padding: 26px 24px 22px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red);
  transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: transparent; }
.cat-card:hover::before { transform: scaleY(1); }
.cat-top { display: flex; align-items: baseline; gap: 14px; }
.cat-no { font-family: var(--num-font); font-size: 40px; line-height: 1; color: var(--red); opacity: .9; }
.cat-name { font-size: 22px; font-weight: 800; margin: 0; }
.cat-en { font-family: var(--num-font); font-size: 10px; letter-spacing: .18em; color: var(--gray-2); margin-top: 4px; text-transform: uppercase; }
.cat-core { margin: 16px 0 18px; font-size: 12px; color: var(--gray); }
.cat-core b { color: var(--ink-2); font-weight: 600; }
.cat-series { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font-size: 11px;
  background: var(--bg-soft); color: var(--ink-2); border-radius: 2px; white-space: nowrap;
}
.chip .c { font-family: var(--num-font); color: var(--red); font-size: 10px; }
.cat-arrow { position: absolute; right: 22px; top: 26px; color: var(--gray-2); transition: transform .3s var(--ease), color .3s; }
.cat-card:hover .cat-arrow { transform: translateX(4px); color: var(--red); }

/* feature strip */
.feat-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.feat-scroll::-webkit-scrollbar { height: 0; }
.feat-item { flex: 0 0 auto; width: 240px; scroll-snap-align: start; }
.feat-item .pic { background: var(--bg-soft); aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; }
.feat-item img { width: 88%; height: 88%; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.feat-item:hover img { transform: scale(1.05); }
.feat-item .m { font-family: var(--num-font); font-size: 18px; margin-top: 12px; letter-spacing: .02em; }
.feat-item .n { font-size: 12px; color: var(--gray); }

/* ---------- catalog ---------- */
.page-head { padding: calc(var(--header-h) + 26px) 0 6px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.page-head h1 { margin: 0; font-size: clamp(24px, 4.6vw, 36px); font-weight: 800; }
.page-head .en { font-family: var(--num-font); font-size: 11px; letter-spacing: .2em; color: var(--gray-2); margin-top: 8px; text-transform: uppercase; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 11px; height: 50px; padding: 0 18px;
  border: 1px solid var(--red); color: var(--red); background: #fff;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.dl-btn:hover { background: var(--red); color: #fff; }
.dl-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.dl-tx { display: flex; flex-direction: column; text-align: left; }
.dl-t { font-size: 13px; font-weight: 700; letter-spacing: .02em; line-height: 1.2; }
.dl-s { font-family: var(--num-font); font-size: 9px; letter-spacing: .1em; opacity: .65; margin-top: 4px; line-height: 1; }

.filters { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filters .wrap { padding-top: 12px; padding-bottom: 10px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0; }
.filter-row::-webkit-scrollbar { height: 0; }
.tab {
  flex: 0 0 auto; padding: 8px 16px; font-size: 13px; color: var(--ink-2); border: 1px solid var(--line);
  border-radius: 20px; transition: all .22s var(--ease); white-space: nowrap;
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.series-row { margin-top: 8px; }
.series-row .tab { border: 0; background: var(--bg-soft); border-radius: 2px; color: var(--gray); font-size: 12px; padding: 6px 12px; }
.series-row .tab.is-active { background: var(--red-soft); color: var(--red); }
.search-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.search-box { flex: 1; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 0 13px; height: 40px; border-radius: 2px; background: #fff; }
.search-box:focus-within { border-color: var(--ink); }
.search-box svg { width: 16px; height: 16px; color: var(--gray-2); flex: 0 0 auto; }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 13px; background: transparent; min-width: 0; }
.result-count { font-size: 12px; color: var(--gray); white-space: nowrap; font-family: var(--num-font); }

.product-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 26px 0 40px; }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--line); display: flex; overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover { box-shadow: 0 14px 34px rgba(0,0,0,.07); border-color: transparent; transform: translateY(-2px); }
.pcard-pic { flex: 0 0 42%; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; min-height: 128px; }
.pcard-pic img { width: 90%; height: 90%; object-fit: contain; transition: transform .45s var(--ease); mix-blend-mode: multiply; }
.pcard:hover .pcard-pic img { transform: scale(1.05); }
.pcard-body { flex: 1; padding: 16px 16px 14px; display: flex; flex-direction: column; min-width: 0; }
.pcard-cat { font-size: 10px; color: var(--gray-2); letter-spacing: .06em; }
.pcard-model { font-family: var(--num-font); font-size: 22px; line-height: 1.1; margin: 6px 0 3px; letter-spacing: .01em; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.pcard-model .v { font-family: inherit; font-size: 10px; color: var(--red); border: 1px solid rgba(168,43,49,.3); padding: 1px 5px; border-radius: 2px; letter-spacing: 0; }
.pcard-name { font-size: 13px; color: var(--ink-2); }
.pcard-specs { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pcard-specs span { font-size: 11px; color: var(--gray); }
.pcard-specs b { font-family: var(--num-font); font-weight: 500; color: var(--ink); margin-left: 4px; }
.cmp-toggle {
  position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--gray); background: rgba(255,255,255,.9); border: 1px solid var(--line);
  padding: 4px 7px; border-radius: 2px; opacity: 0; transition: all .25s var(--ease);
}
.pcard:hover .cmp-toggle, .cmp-toggle.is-on { opacity: 1; }
.cmp-toggle.is-on { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.cmp-toggle .dot { width: 9px; height: 9px; border: 1px solid var(--gray-2); border-radius: 1px; }
.cmp-toggle.is-on .dot { background: var(--red); border-color: var(--red); }

/* ---------- product detail ---------- */
.pd { padding-top: calc(var(--header-h) + 26px); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11px; color: var(--gray); }
.crumb a { color: var(--red); }
.crumb i { font-style: normal; color: var(--gray-2); }
.pd-top { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 18px; }
.pd-title { position: relative; }
.pd-model { font-family: var(--num-font); font-size: clamp(40px, 10vw, 72px); line-height: .96; color: var(--red); letter-spacing: .01em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pd-model .v { font-size: clamp(12px, 2.4vw, 15px); color: var(--red); border: 1px solid rgba(168,43,49,.35); padding: 2px 8px; letter-spacing: .04em; }
.pd-name { margin: 12px 0 0; font-size: clamp(18px, 3.6vw, 24px); font-weight: 800; }
.pd-en { font-family: var(--num-font); font-size: 12px; letter-spacing: .2em; color: var(--gray-2); text-transform: uppercase; margin-top: 7px; }
.pd-rule { width: 56px; height: 3px; background: var(--red); margin-top: 16px; }
.pd-pic { background: var(--bg-soft); display: grid; place-items: center; padding: 26px 18px; cursor: zoom-in; aspect-ratio: 16/10; overflow: hidden; }
.pd-pic img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); mix-blend-mode: multiply; }
.pd-pic:hover img { transform: scale(1.03); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pd-actions .btn { height: 42px; padding: 0 18px; font-size: 13px; flex: 1 1 auto; }

.block { margin-top: 40px; }
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tag-pill { background: var(--red); color: #fff; font-size: 12px; padding: 5px 12px; letter-spacing: .04em; }
.tag-en { font-family: var(--num-font); font-size: 10px; letter-spacing: .2em; color: var(--gray-2); text-transform: uppercase; }
.block-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--red); }
.overview-text { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin: 0; }

.spec-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.spec-table th { background: var(--red); color: #fff; font-weight: 500; font-size: 12px; padding: 10px 10px; text-align: left; letter-spacing: .04em; }
.spec-table th:nth-child(1) { width: 52%; }
.spec-table th:nth-child(2) { width: 20%; }
.spec-table th:nth-child(3) { width: 28%; text-align: right; }
.spec-table td { padding: 9px 10px; border-bottom: 1px solid #fff; vertical-align: top; background: #fff; }
.spec-table tr.alt td { background: var(--red-soft); }
.spec-table tr.spec-group-row td {
  background: #fff; padding: 18px 10px 7px 11px; border-bottom: 0;
  border-left: 3px solid var(--red); font-weight: 700; color: var(--ink); font-size: 12.5px;
}
.spec-table tr.spec-group-row:first-child td { padding-top: 10px; }
.spec-table td:nth-child(2) { color: var(--gray); font-family: var(--num-font); font-size: 11px; }
.spec-table td:nth-child(3) { text-align: right; font-family: var(--num-font); font-weight: 500; color: var(--ink); word-break: break-word; }

.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 44px 0 10px; }
.pd-nav a { border: 1px solid var(--line); padding: 14px 16px; transition: all .25s var(--ease); }
.pd-nav a:hover { border-color: var(--red); }
.pd-nav .k { font-size: 10px; color: var(--gray-2); letter-spacing: .16em; text-transform: uppercase; }
.pd-nav .m { font-family: var(--num-font); font-size: 17px; margin-top: 3px; }
.pd-nav .next { text-align: right; }

/* ---------- compare ---------- */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
.cmp-table { border-collapse: collapse; font-size: 12.5px; min-width: 100%; }
.cmp-table th, .cmp-table td { border-bottom: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; min-width: 128px; }
.cmp-table thead th { background: #fff; }
.cmp-table .th-model { font-family: var(--num-font); font-size: 17px; }
.cmp-table .th-sub { font-size: 11px; color: var(--gray); font-weight: 400; }
.cmp-table .row-label { color: var(--ink-2); background: var(--bg-soft); position: sticky; left: 0; z-index: 1; min-width: 108px; width: 108px; }
.cmp-table td { font-family: var(--num-font); }
.cmp-table td .u { color: var(--gray-2); font-size: 10px; margin-left: 3px; }
.cmp-group td { background: var(--red-soft); color: var(--red); font-weight: 700; font-size: 11px; letter-spacing: .08em; }
.cmp-remove { background: var(--bg-soft); padding: 4px 8px; font-size: 10px; color: var(--gray); border-radius: 2px; margin-top: 6px; display: inline-block; }
.cmp-remove:hover { background: var(--red-soft); color: var(--red); }
.cmp-picker { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 2px; }
.cmp-picker .p { flex: 0 0 auto; border: 1px dashed var(--line); padding: 8px 14px; font-size: 12px; color: var(--gray); border-radius: 2px; }
.cmp-picker .p.is-on { border-style: solid; border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* compare floating bar */
.cmp-bar {
  position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 55;
  transform: translateY(120%); transition: transform .35s var(--ease);
  background: rgba(40,40,40,.96); backdrop-filter: blur(10px); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.cmp-bar.is-show { transform: translateY(0); }
.cmp-bar .txt { font-size: 12px; color: rgba(255,255,255,.75); }
.cmp-bar .txt b { font-family: var(--num-font); color: #fff; font-size: 15px; margin-right: 3px; }
.cmp-bar .btn { height: 36px; padding: 0 16px; font-size: 12px; }

/* ---------- contact ---------- */
.contact-hero { position: relative; color: #fff; overflow: hidden; background: #111; padding: calc(var(--header-h) + 60px) 0 60px; }
.contact-bg { position: absolute; inset: 0; background: url("../img/thank-you.jpg") center/cover; filter: saturate(.85); }
.contact-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92), rgba(10,10,10,.55)); }
.contact-hero .wrap { position: relative; z-index: 2; }
.contact-hero h1 { margin: 0; font-size: clamp(28px, 6vw, 46px); font-weight: 800; }
.contact-hero .en { font-family: var(--num-font); font-size: 11px; letter-spacing: .24em; color: rgba(255,255,255,.6); margin-top: 12px; text-transform: uppercase; }
.contact-hero .rule { width: 48px; height: 3px; background: var(--red); margin: 22px 0; }
.contact-hero .company { font-size: 15px; font-weight: 700; }
.contact-hero .company-en { font-family: var(--num-font); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 34px; max-width: 640px; }
.contact-item .k { font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.45); text-transform: uppercase; }
.contact-item .v { font-size: 14px; margin-top: 6px; color: #fff; line-height: 1.6; }
.contact-item.full { grid-column: 1 / -1; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.form-card { background: #fff; border: 1px solid var(--line); padding: 24px 20px; }
.form-card h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.form-card .tip { margin: 0 0 20px; font-size: 12px; color: var(--gray); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; color: var(--gray); letter-spacing: .06em; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; padding: 11px 12px; font-size: 13px;
  border-radius: 2px; outline: 0; transition: border-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 92px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- favorites ---------- */
.fav-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 24px 0 40px; }
.fav-item { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); padding: 12px; background: #fff; }
.fav-item .pic { flex: 0 0 96px; height: 72px; background: var(--bg-soft); display: grid; place-items: center; }
.fav-item img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.fav-item .info { flex: 1; min-width: 0; }
.fav-item .m { font-family: var(--num-font); font-size: 18px; }
.fav-item .n { font-size: 12px; color: var(--gray); }
.fav-item .del { color: var(--gray-2); padding: 6px; }
.fav-item .del:hover { color: var(--red); }

.empty { text-align: center; padding: 70px 20px; }
.empty .ic { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--line); }
.empty h3 { margin: 0 0 8px; font-size: 17px; }
.empty p { margin: 0 0 22px; font-size: 13px; color: var(--gray); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 44px 0 30px; margin-top: 0; }
.footer-top { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 26px; width: auto; }
.footer-slogan { font-family: var(--num-font); font-size: 10px; letter-spacing: .18em; color: rgba(255,255,255,.4); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.32); }

/* ---------- bottom nav ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: flex;
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 0 7px; font-size: 10px; color: var(--gray); position: relative; }
.bottom-nav a svg { width: 20px; height: 20px; }
.bottom-nav a.is-active { color: var(--red); }
.bottom-nav .badge { top: 3px; right: 50%; margin-right: -18px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,.98); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-show { display: flex; animation: fadeIn .25s ease; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox .close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 16px); z-index: 100;
  background: rgba(40,40,40,.94); color: #fff; font-size: 12px; padding: 10px 18px; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: all .28s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .fav-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-pic { padding: 40px; }
}

@media (min-width: 900px) {
  :root { --header-h: 68px; }
  .header-nav { display: flex; }
  .bottom-nav { display: none; }
  .cmp-bar { bottom: 0; padding-left: max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); padding-right: max(22px, calc((100vw - var(--maxw)) / 2 + 22px)); }
  .hero-red { width: 34%; }
  .hero-bg { background-image: url("../img/hero-3.jpg?v=3"); background-position: 58% 55%; }
  .hero .wrap { padding-left: calc(34vw + 24px - max(0px, (100vw - var(--maxw)) / 2)); }
  .hero-meta { display: block; }
  .hero-panel {
    display: block; position: absolute; z-index: 3; left: 0; bottom: 12vh; width: 34%;
    padding-left: max(24px, calc((100vw - var(--maxw)) / 2 + 22px)); padding-right: 32px; color: #fff;
  }
  .hero-panel .hp-kicker {
    font-family: var(--num-font); font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.55);
    text-transform: uppercase; line-height: 1.9; margin-bottom: 18px;
  }
  .hero-panel .hp-co { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
  .hero-panel .hp-en { font-family: var(--num-font); font-size: 9px; letter-spacing: .12em; color: rgba(255,255,255,.5); margin-top: 6px; }
  .hero-panel .hp-meta {
    display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.22); font-family: var(--num-font); font-size: 11px;
    color: rgba(255,255,255,.8); letter-spacing: .04em;
  }
  .section { padding: 100px 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cat-card { padding: 32px 30px 28px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 34px 0 56px; }
  .pcard { flex-direction: column; }
  .pcard-pic { flex: none; aspect-ratio: 4/3; width: 100%; min-height: 0; }
  .pcard-body { padding: 18px 18px 16px; }
  .pcard-model { font-size: 24px; }
  .pd-top { grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
  .pd { padding-top: calc(var(--header-h) + 40px); }
  .pd-actions .btn { flex: 0 0 auto; }
  .pd-pic { aspect-ratio: 4/3; }
  .fav-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 34px 32px; }
  .footer { padding: 56px 0 34px; }
  .cmp-table th, .cmp-table td { min-width: 0; }
  .cmp-table .row-label { width: 160px; min-width: 160px; }
}

@media (min-width: 1180px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .fav-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (hover: none) {
  .cmp-toggle { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
