
:root {
  --bg: #f4f6f8; --surface: #fff; --ink: #0f172a; --muted: #5b677a;
  --line: #d7dee8; --brand: #0b4f6c; --brand-2: #147a9b; --accent: #c45c26;
  --accent-soft: #f8e8de; --shadow: 0 10px 30px rgba(15,23,42,.06);
  --radius: 14px; --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Noto Sans SC", "Noto Sans TC",
          "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans Thai", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:var(--font); color:var(--ink); background:var(--bg); line-height:1.5; }
img, svg { max-width:100%; display:block; }
a { color:var(--brand-2); text-decoration-thickness:1px; text-underline-offset:2px; }
a:hover { color:var(--brand); }
.container { width:min(100% - 2rem, var(--max)); margin-inline:auto; }
.site-header {
  position:sticky; top:0; z-index:20; background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px); border-bottom:1px solid var(--line);
}
.header-inner {
  display:flex; align-items:center; justify-content:space-between;
  gap:1rem; padding:.75rem 0; flex-wrap:wrap;
}
.logo {
  display:flex; align-items:center; gap:.65rem; color:var(--ink);
  text-decoration:none; font-weight:700;
}
.logo-mark {
  width:36px; height:36px; border-radius:10px;
  background:linear-gradient(145deg,var(--brand),var(--brand-2));
  color:#fff; display:grid; place-items:center; font-size:.95rem;
}
.nav { display:flex; gap:1rem; flex-wrap:wrap; }
.nav a { color:var(--muted); text-decoration:none; font-weight:600; font-size:.92rem; }
.nav a:hover, .nav a.active { color:var(--brand); }
.lang-switch { display:flex; align-items:center; gap:.4rem; margin-left:auto; }
.lang-switch .lang-label { font-size:.75rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.lang-switch select {
  border:1px solid var(--line); border-radius:999px; padding:.35rem .7rem;
  font:inherit; font-size:.85rem; font-weight:600; background:#fff; color:var(--ink);
  cursor:pointer;
}
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.4rem;
  padding:.65rem 1.1rem; border-radius:999px; border:1px solid transparent;
  font-weight:650; text-decoration:none; cursor:pointer; font:inherit;
}
.btn-primary { background:var(--brand); color:#fff; }
.btn-primary:hover { background:#083d54; color:#fff; }
.btn-accent { background:var(--accent); color:#fff; }
.btn-accent:hover { background:#a64a1c; color:#fff; }
.btn-ghost { background:#fff; border-color:var(--line); color:var(--ink); }
.btn-ghost:hover { border-color:var(--brand-2); color:var(--brand); }
.hero, .hero-slim {
  padding:2.2rem 0 1.6rem;
  background:radial-gradient(circle at 85% 15%, rgba(20,122,155,.16), transparent 40%),
             linear-gradient(180deg,#e8eef3,var(--bg));
}
.hero-slim h1 { font-size:clamp(1.7rem, 3.5vw, 2.5rem); line-height:1.2; margin:0 0 .7rem; max-width:22ch; }
.eyebrow {
  text-transform:uppercase; letter-spacing:.08em; font-size:.72rem;
  font-weight:700; color:var(--brand-2); margin:0 0 .5rem;
}
.lead { font-size:1.02rem; color:var(--muted); max-width:46ch; margin:0; }
.hero-actions { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.2rem; }
.section { padding:2.2rem 0; }
.section-head {
  display:flex; justify-content:space-between; gap:1rem; align-items:end;
  margin-bottom:1.2rem; flex-wrap:wrap;
}
.section-head h2 { margin:0; font-size:1.45rem; }
.muted { color:var(--muted); }
.category-grid, .product-grid {
  display:grid; gap:1rem;
  grid-template-columns:repeat(auto-fill, minmax(240px, 1fr));
}
.cat-card, .product-card, .info-card, .form-card {
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow);
}
.cat-card {
  padding:0; overflow:hidden; display:flex; flex-direction:column;
  text-decoration:none; color:inherit; min-height:0;
}
.cat-card .cat-img {
  aspect-ratio: 4/5; background:#eef3f6; display:grid; place-items:center;
  border-bottom:1px solid var(--line); overflow:hidden;
}
.cat-card .cat-img img { width:100%; height:100%; object-fit:contain; padding:.75rem; }
.cat-card h3 { margin:0; font-size:1.02rem; padding:0 .9rem; }
.cat-card .cat-meta { font-size:.8rem; color:var(--brand); font-weight:700; padding:.75rem .9rem 0; }
.cat-card.img-card { padding-bottom:.95rem; gap:.35rem; }
.product-card { overflow:hidden; display:grid; grid-template-rows:auto 1fr; }
.product-visual {
  background:linear-gradient(160deg,#eef3f6,#fbfcfd);
  aspect-ratio: 4/5; display:grid; place-items:center;
  border-bottom:1px solid var(--line); text-decoration:none; overflow:hidden;
}
.product-visual img { width:100%; height:100%; object-fit:contain; padding:.6rem; }
.product-visual.large {
  aspect-ratio:auto; min-height:280px; border-radius:var(--radius);
  border:1px solid var(--line); border-bottom:1px solid var(--line);
}
.product-body { padding:1rem 1.1rem 1.2rem; display:flex; flex-direction:column; gap:.55rem; }
.product-body h3 { margin:0; font-size:1.02rem; }
.product-body h3 a { color:inherit; text-decoration:none; }
.product-body h3 a:hover { color:var(--brand); }
.spec-chips { list-style:none; margin:0; padding:0; display:grid; gap:.25rem; }
.spec-chips li { font-size:.84rem; color:var(--ink); }
.spec-chips span { color:var(--muted); display:inline-block; min-width:5.2rem; }
.card-actions { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.25rem; }
.cta-band {
  background:linear-gradient(120deg,var(--brand),#0f6f8d); color:#fff;
  border-radius:calc(var(--radius)+6px); padding:1.5rem;
  display:flex; justify-content:space-between; gap:1rem; align-items:center; flex-wrap:wrap;
}
.cta-band h2 { margin:0 0 .35rem; font-size:1.3rem; }
.cta-band p { margin:0; color:rgba(255,255,255,.88); }
.page-hero, .page-hero-slim { padding:1.8rem 0 .8rem; }
.page-hero-slim h1 { margin:0; font-size:clamp(1.55rem, 3vw, 2.1rem); }
.breadcrumb { font-size:.88rem; color:var(--muted); margin-bottom:.55rem; }
.breadcrumb a { color:inherit; }
.product-detail {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:1.2rem; margin-bottom:1.1rem;
}
.detail-head, .detail-head-img {
  display:grid; grid-template-columns: minmax(200px, 320px) 1fr; gap:1.2rem;
  align-items:start; margin-bottom:1rem;
}
.spec-table { width:100%; border-collapse:collapse; }
.spec-table caption { text-align:left; font-weight:700; margin-bottom:.5rem; color:var(--brand); }
.spec-table th, .spec-table td {
  border-top:1px solid var(--line); padding:.55rem .35rem; text-align:left; vertical-align:top;
}
.spec-table th { width:34%; color:var(--muted); font-weight:600; }
.form-wrap { display:grid; grid-template-columns:1.2fr .8fr; gap:1.2rem; align-items:start; }
.form-card, .info-card { padding:1.3rem; }
label { display:block; font-weight:650; margin:.8rem 0 .3rem; font-size:.9rem; }
input, select, textarea {
  width:100%; padding:.65rem .75rem; border:1px solid var(--line);
  border-radius:10px; font:inherit; background:#fff; color:var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline:2px solid rgba(20,122,155,.25); border-color:var(--brand-2);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }
.req { color:var(--accent); }
.form-note { font-size:.85rem; color:var(--muted); margin-top:.75rem; }
.honeypot { position:absolute; left:-9999px; opacity:0; height:0; overflow:hidden; }
.thanks-box {
  max-width:560px; margin:2rem auto; background:var(--surface);
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  padding:2rem; text-align:center;
}
.site-footer { margin-top:2.5rem; background:#0b1c28; color:#d7e2ea; padding:2rem 0 1.1rem; }
.footer-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin-bottom:1.2rem; }
.site-footer a { color:#9fd3e8; }
.site-footer .muted { color:#a8b8c4; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:.9rem; font-size:.82rem; color:#8ea0ad; }
@media (max-width: 860px) {
  .form-wrap, .detail-head, .detail-head-img, .footer-grid { grid-template-columns:1fr; }
  .nav { gap:.7rem; }
  .form-row { grid-template-columns:1fr; }
  .lang-switch { width:100%; justify-content:flex-end; }
}
