@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --yellow: #e7f6f8;
  --yellow-dark: #cfecee;
  --red: #0c5e8a;
  --red-dark: #094a6e;
  --accent: #0d8a9a;
  --accent-dark: #0a6f7c;
  --ink: #071b2e;
  --ink-2: #2c4a63;
  --muted: #5b7388;
  --line: #d7e3ec;
  --bg: #f2f7f9;
  --white: #fff;
  --glow: #7ee0ea;
  --shadow: 0 12px 32px rgba(7, 27, 46, 0.1);
  --radius: 4px;
  --header-h: 118px;
  --font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --display: "Montserrat", "Noto Sans TC", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  min-width: 320px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -999px;
}

/* Prototype ribbon */
.proto-banner {
  background: var(--ink);
  color: #9fd8e0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 6px 16px;
}

/* Top bar */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.topbar a:hover { text-decoration: underline; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.lang { display: flex; gap: 4px; }
.lang button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 600;
}
.lang button.is-active { font-weight: 800; text-decoration: underline; }
.lang button:hover { opacity: 0.85; }

/* Header */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(7, 27, 46, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.04em;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong { font-size: 16px; }
.logo-text span { font-size: 11px; color: var(--ink-2); }

.nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  flex: 1;
}

.nav-item { position: relative; }

.nav-item > a {
  display: flex;
  align-items: center;
  height: 78px;
  padding: 0 12px;
  font-weight: 700;
  font-size: 14px;
}

.nav-item > a:hover,
.nav-item:hover > a,
.nav-item.is-current > a {
  background: var(--yellow);
  color: var(--red);
}

.mega {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--red);
  padding: 10px 0;
  z-index: 20;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega { display: block; }

.mega a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--ink-2);
}

.mega a:hover { background: var(--bg); color: var(--red); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.track-mini {
  display: flex;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  height: 40px;
}

.track-mini input {
  border: 0;
  outline: 0;
  width: 150px;
  padding: 0 12px;
  font-size: 13px;
  background: transparent;
}

.track-mini button,
.btn {
  border: 0;
  height: 40px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
}

.track-mini button {
  background: var(--ink);
  color: #fff;
}

.btn-enquiry {
  background: #f0b429;
  color: #071b2e;
}
.btn-enquiry:hover { background: #d9a01f; }

.btn-red {
  background: var(--accent);
  color: #fff;
}

.btn-red:hover { background: var(--accent-dark); }

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover { background: #04101c; }

.btn-yellow {
  background: var(--red);
  color: #fff;
}

.btn-yellow:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: #071018;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.88) 0%, rgba(7, 27, 46, 0.55) 48%, rgba(7, 27, 46, 0.25) 100%),
    url("../img/products/jl-hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
}

.hero-copy { position: relative; z-index: 1; padding: 88px 0 28px; }

.kicker {
  display: inline-block;
  background: #f0b429;
  color: #071b2e;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.08;
  margin: 0 0 18px;
  max-width: 760px;
  font-weight: 800;
}

.hero .lead {
  max-width: 560px;
  color: #e8eef2;
  margin: 0 0 32px;
  font-size: 17px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.lift {
  position: relative;
  z-index: 3;
  margin-top: -92px;
  margin-bottom: 8px;
}

.cap-card {
  display: block;
  background: #fff;
  padding: 32px 28px 28px;
  box-shadow: 0 18px 50px rgba(7, 27, 46, 0.16);
  border: 0;
  min-height: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(7, 27, 46, 0.2);
}

.cap-no {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.cap-kicker {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cap-card h3 { margin: 0 0 12px; font-size: 24px; font-family: var(--display); }
.cap-card p { margin: 0 0 22px; color: var(--ink-2); }

.stats-block { padding-top: 88px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 16px;
}
.stat b { font-size: 48px; color: #f0b429; }
.more-light { color: #f0b429 !important; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.tile {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}
.tile-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 16, 24, 0.88) 100%);
}
.tile:hover .tile-bg { transform: scale(1.08); }
.tile strong {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-family: var(--display);
  font-weight: 800;
}

.quote-strip {
  background: #f0b429;
  color: #071b2e;
  padding: 56px 0;
}
.quote-strip .container {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 32px;
  align-items: center;
}
.quote-strip h2 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px; }
.quote-strip p { margin: 0; }
.quote-kicker { font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px !important; }
.quote-inline {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.quote-inline input {
  height: 52px;
  border: 0;
  background: #fff;
}
.quote-strip .result-box { margin-top: 18px; }
.quote-strip > .container + .container { display: block; }

.office-section { padding-top: 0; }
.office-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: stretch;
  min-height: 380px;
}
.office-photo {
  min-height: 360px;
  background-size: cover;
  background-position: center;
}
.office-split .block-title { margin-bottom: 12px; }
.office-split p { color: var(--ink-2); }

.news-card { padding: 0; overflow: hidden; }
.news-thumb {
  display: block;
  height: 170px;
  background-size: cover;
  background-position: center;
}
.news-card time, .news-card h3, .news-card p { padding-left: 20px; padding-right: 20px; }
.news-card time { display: block; padding-top: 16px; }
.news-card p { padding-bottom: 18px; }

.float-enquiry {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 45;
  background: #f0b429;
  color: #071b2e;
  font-weight: 800;
  padding: 14px 18px;
  box-shadow: 0 12px 28px rgba(7, 27, 46, 0.22);
}

.device.has-photo {
  position: relative;
  overflow: hidden;
  background: #0b1c28 !important;
  display: block;
  padding: 0;
}
.device.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.device.has-photo span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  background: rgba(7, 27, 46, 0.72);
  padding: 4px 8px;
  font-size: 11px;
  pointer-events: none;
}
.device.has-photo.is-hero img {
  min-height: 360px;
}
@media (max-width: 720px) {
  .device.has-photo.is-hero img { min-height: 220px; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-yellow { background: var(--yellow); }
.section-ink { background: var(--ink); color: #fff; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2,
.page-hero h1,
.block-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.section-head h2 { font-size: clamp(28px, 3vw, 36px); }
.section-head p,
.muted { color: var(--muted); margin: 8px 0 0; }

.section-ink .muted,
.section-ink .section-head p { color: #cfcfcf; }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.more { color: var(--accent); font-weight: 700; font-size: 14px; }
.card:hover .more { text-decoration: underline; }

.stat {
  text-align: left;
  padding: 8px 0;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 42px;
  line-height: 1;
  color: var(--glow);
}

.stat span { color: #ddd; font-size: 14px; }

.industry {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 22px;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.industry::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  background: var(--red);
  transform: rotate(25deg);
  opacity: 0.9;
}

.industry:nth-child(even)::after { background: var(--accent); }

.industry strong {
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.industry:nth-child(1) { background: linear-gradient(160deg, #0a2f4a, #0c5e8a); }
.industry:nth-child(2) { background: linear-gradient(160deg, #08343c, #0d8a9a); }
.industry:nth-child(3) { background: linear-gradient(160deg, #0a332c, #1a8f7a); }
.industry:nth-child(4) {
  background:
    radial-gradient(120px 80px at 82% 18%, rgba(126, 224, 234, 0.55), transparent 60%),
    linear-gradient(160deg, #071b2e, #12b5c9);
}
.industry:hover { outline: 3px solid var(--accent); }

/* Quote band */
.quote-band .container {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 32px;
  align-items: center;
}

.quote-form,
.form {
  display: grid;
  gap: 10px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row-3 { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr auto; gap: 10px; }

input, select, textarea {
  height: 44px;
  border: 1px solid #c5d6e0;
  padding: 0 12px;
  background: #fff;
  font-size: 14px;
}

input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 138, 154, 0.16);
}

textarea { height: 110px; padding: 10px 12px; resize: vertical; }

label {
  font-size: 13px;
  font-weight: 600;
  display: grid;
  gap: 6px;
}

.office {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
}

.office-flag {
  width: 88px;
  height: 88px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
}

.news-card time { color: var(--red); font-size: 12px; font-weight: 700; }
.news-card h3 { font-size: 16px; margin: 8px 0; }
.tag {
  display: inline-block;
  background: var(--bg);
  color: var(--ink-2);
  font-size: 12px;
  padding: 2px 8px;
  margin-right: 6px;
}

/* Footer */
.footer {
  background: #051422;
  color: #c5d6e0;
  padding: 48px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer h4 { color: #fff; margin: 0 0 12px; }
.footer a { display: block; padding: 4px 0; color: #b7c9d4; }
.footer a:hover { color: var(--glow); }
.footer-bottom {
  border-top: 1px solid #163044;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #7a93a3;
  font-size: 12px;
}

/* Inner pages */
.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 16, 24, 0.88), rgba(7, 27, 46, 0.55)),
    url("../img/products/jl-circuit.jpg") center / cover no-repeat;
  color: #fff;
  padding: 64px 0 48px;
  border-bottom: 6px solid #f0b429;
}

.crumb { color: #9bb3c4; font-size: 13px; margin: 0 0 12px; }
.crumb a:hover { color: var(--glow); }
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.page-hero .lead { max-width: 680px; color: #ddd; }

.subnav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}

.subnav a {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.subnav a.is-active,
.subnav a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.prose { max-width: 760px; }
.prose h2 { font-family: var(--display); font-size: 28px; margin: 0 0 12px; }
.prose p { color: var(--ink-2); }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.panel {
  background: var(--bg);
  padding: 24px;
  border-left: 4px solid var(--red);
}

.product {
  border-top: 4px solid var(--red);
}

.product .eta {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  margin: 8px 0;
}

.timeline { border-left: 3px solid var(--yellow); margin: 12px 0 0 8px; }
.tl-item { padding: 0 0 22px 20px; position: relative; }
.tl-item::before {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--red);
  border: 2px solid #fff;
  position: absolute;
  left: -8px;
  top: 4px;
}
.tl-item strong { display: block; }
.tl-item span { color: var(--muted); font-size: 13px; }
.tl-item.is-done::before { background: var(--ink); }
.tl-item.is-current::before { background: var(--yellow); outline: 3px solid var(--red); }

.result-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
}

.price {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.tabs { display: flex; gap: 0; margin-bottom: 20px; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  height: 42px;
  padding: 0 18px;
  font-weight: 700;
}
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.alert {
  background: #fff6d6;
  border-left: 4px solid var(--accent);
  padding: 12px 14px;
  font-size: 14px;
}

.success {
  display: none;
  background: #e8f6ea;
  border-left: 4px solid #1b7a36;
  padding: 14px;
  margin-top: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.table th, .table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.table th { background: var(--bg); }

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid var(--accent);
  z-index: 40;
  padding: 8px 12px;
  gap: 8px;
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 10px;
}

.mobile-cta a.alt { background: var(--accent); }

@media (max-width: 1099px) and (min-width: 781px) {
  .container { width: min(1180px, calc(100% - 32px)); }
  .track-mini input { width: 110px; }
  .nav-item > a { padding: 0 8px; font-size: 13px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .tile-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-strip .container, .office-split { grid-template-columns: 1fr; }
  .quote-inline { grid-template-columns: 1fr 1fr auto; }
  .hero { min-height: 64vh; padding-bottom: 100px; }
  .lift { margin-top: -64px; }
  .split { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav, .track-mini { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    padding: 8px 0 16px;
    border-bottom: 3px solid var(--red);
  }
  .nav.is-open .nav-item > a { height: 44px; }
  .nav.is-open .mega {
    display: block;
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.7);
    border: 0;
  }
  .menu-toggle { display: grid; place-items: center; }
  .header { position: sticky; }
  .hero { min-height: 70vh; padding-bottom: 48px; align-items: center; }
  .hero-bg { transform: none; }
  .lift { margin-top: -36px; }
  .tile { min-height: 200px; }
  .tile-grid, .stats-grid { grid-template-columns: 1fr; }
  .quote-strip .container,
  .quote-inline,
  .office-split { grid-template-columns: 1fr; }
  .float-enquiry { display: none; }
  .header-tools .btn-enquiry { display: none; }
  .grid-3, .grid-4, .grid-2,
  .quote-band .container,
  .form-row, .form-row-3,
  .split, .footer-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 62px; }
  .header-tools .btn-red { display: none; }
  .topbar .container { flex-wrap: wrap; padding: 6px 0; }
  .industry { min-height: 160px; }
  .device.is-hero { height: 220px; }
}

.device {
  height: 160px;
  border-radius: 10px;
  margin-bottom: 14px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.18), transparent 40%),
    linear-gradient(135deg, #071b2e, #0c5e8a);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.device.phone { background: linear-gradient(135deg, #0a2f4a, #0c5e8a); }
.device.audio { background: linear-gradient(135deg, #08343c, #0d8a9a); }
.device.home { background: linear-gradient(135deg, #0a332c, #1a8f7a); }
.device.auto {
  background:
    radial-gradient(80px 50px at 70% 30%, rgba(126, 224, 234, 0.65), transparent 55%),
    linear-gradient(135deg, #071b2e, #12b5c9);
}
.device.is-hero { height: 360px; font-size: 22px; margin-bottom: 12px; }

.product-card { padding: 0; overflow: hidden; }
.product-card .card-body { padding: 18px 20px 22px; }
.product-card .device {
  height: 220px;
  margin: 0;
  border-radius: 0;
}
.product-card h3 { font-size: 16px; }

.sku-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}

.tag-stock {
  background: #e8f6ea;
  color: #1b7a36;
}

.tag-order {
  background: #fff3e6;
  color: #c46216;
}

.price-hint {
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}

.spec-table th { width: 140px; }

.card.news-card,
.card.product-card,
.card.office { overflow: hidden; }
.card.news-card,
.card.product-card { padding: 0; }

/* Catalog pagination */
.pager-host { margin-top: 28px; }
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  justify-content: center;
}
.pager-btn,
.pager-num {
  appearance: none;
  border: 1px solid var(--line, #cfd6e4);
  background: #fff;
  color: var(--ink, #0b1f3a);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.pager-num.is-active,
.pager-btn:hover:not(:disabled),
.pager-num:hover {
  border-color: var(--cyan, #00a3e0);
  background: #e8f7fc;
  color: var(--navy, #0b1f3a);
}
.pager-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.pager-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.pager-info {
  font-size: 13px;
  color: var(--muted, #5a6b7f);
  margin-left: 4px;
}
.feature-list {
  margin: 0;
  padding-left: 1.15em;
  line-height: 1.7;
  color: var(--ink, #0b1f3a);
}
.feature-list li { margin: 4px 0; }
.catalog-count {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--cyan, #00a3e0);
}

.quote-prefill {
  margin-bottom: 20px;
  padding: 18px 20px;
  background: #f4f8fb;
  border: 1px solid var(--line, #cfd6e4);
  border-radius: 10px;
}
.quote-prefill-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: start;
}
.quote-prefill-card .device {
  min-height: 100px;
  border-radius: 8px;
  overflow: hidden;
}
.quote-prefill-card .device img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .quote-prefill-card { grid-template-columns: 1fr; }
}
