/* Grouptek product catalogue */

:root {
  --brand: #3e98c5;          /* logo blue */
  --brand-600: #2a80b0;
  --brand-700: #1b6a96;      /* text-safe brand blue (AA on white) */
  --brand-800: #135376;
  --brand-50: #f0f8fc;
  --brand-100: #dcf0f9;
  --brand-200: #b9e0f2;
  --ink: #0d2230;
  --text: #2a3c49;
  --muted: #5a6d7a;
  --line: #e2e9ee;
  --line-2: #cbd8e0;
  --bg: #f5f8fa;
  --surface: #ffffff;
  --diag: #0b6680;
  --diag-bg: #e0f2f7;
  --treat: #8a4b06;
  --treat-bg: #fdf0dc;
  --ok: #0f6a40;
  --ok-bg: #e3f5ec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(13, 34, 48, .05), 0 4px 14px rgba(13, 34, 48, .05);
  --shadow-lg: 0 2px 4px rgba(13, 34, 48, .05), 0 14px 32px rgba(13, 34, 48, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand-700); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; text-wrap: balance; }
h2 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.015em; margin: 0 0 20px; }
h3 { font-size: 17px; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(62, 152, 197, .5); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 44px; padding-bottom: 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 18px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.icon { flex: none; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; color: var(--brand-700); margin: 0 0 8px; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: auto; height: 38px; }
.brand-word { width: auto; height: 20px; }
.brand-sub { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-2); line-height: 1.1; }
.header-search { position: relative; flex: 1; max-width: 440px; margin-left: auto; }
.header-search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.header-search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg);
  font-size: 15px;
}
.header-search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-100); }
.page-home .header-search { visibility: hidden; }
.header-nav { display: flex; gap: 4px; }
.header-nav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.header-nav a:hover { background: var(--brand-50); color: var(--brand-700); }

/* ------------------------------------------------------------ hero */

.hero { background: linear-gradient(180deg, #fff 0%, var(--brand-50) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; align-items: center; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; }
.hero-logo { width: 100%; max-width: 330px; height: auto; justify-self: center; }
.big-search { position: relative; margin-top: 26px; max-width: 640px; }
.big-search > .icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; color: var(--brand-700); }
.big-search input {
  width: 100%; height: 60px; padding: 0 52px 0 52px;
  border: 1px solid var(--line-2); border-radius: 16px; background: #fff;
  font-size: 17px; box-shadow: var(--shadow);
}
.big-search input::placeholder { color: #8296a3; }
.big-search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 5px var(--brand-100), var(--shadow); }
.big-search input::-webkit-search-cancel-button { display: none; }
.clear-search { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.clear-search:hover { background: var(--bg); color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.quick-tag { border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 500; color: var(--text); }
.quick-tag:hover { border-color: var(--brand); color: var(--brand-700); }

/* ------------------------------------------------------------ grids & cards */

.grid { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.brands { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.points { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.models { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }

.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-media { display: block; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: #fff; padding: 14px; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px 16px; flex: 1; }
.card-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--brand-700); }
.card-title { font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--ink); }
.card-text { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; line-height: 1.2;
  padding: 4px 10px; border-radius: 999px;
  background: #edf2f5; color: var(--text); text-decoration: none; white-space: nowrap;
}
.chip .icon { width: 14px; height: 14px; }
.chip-diag { background: var(--diag-bg); color: var(--diag); }
.chip-treat { background: var(--treat-bg); color: var(--treat); }
.chip-link:hover { background: var(--brand-100); color: var(--brand-800); }

.cat, .brand-card {
  display: grid; height: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s;
}
.cat { grid-template-columns: auto 1fr; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 2px; padding: 16px 18px; }
.cat:hover, .brand-card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lg); }
.cat-icon { grid-row: span 3; width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; border: 1px solid var(--brand-100); }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-icon-lg { width: 60px; height: 60px; border-radius: 16px; flex: none; }
.cat-icon-lg .icon { width: 30px; height: 30px; }
.cat-name { font-weight: 700; color: var(--ink); font-size: 16.5px; }
.cat-desc { font-size: 14px; color: var(--muted); line-height: 1.45; }
.cat-count { font-size: 13px; font-weight: 700; color: var(--brand-700); align-self: end; margin-top: 6px; }
.brand-card { gap: 6px; padding: 18px 20px; align-content: start; }
.brand-name { font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.brand-country, .meta { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); }
.brand-country .icon, .meta .icon { width: 16px; height: 16px; }
.brand-about { font-size: 14px; color: var(--text); line-height: 1.5; }

/* ------------------------------------------------------------ filters */

.filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.filter-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.filter-row::-webkit-scrollbar { display: none; }
.pill {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); background: #fff; color: var(--text);
  border-radius: 999px; padding: 7px 14px; min-height: 38px;
  font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
}
.pill .icon { width: 16px; height: 16px; }
.pill:hover { border-color: var(--brand); color: var(--brand-700); }
.pill.is-on { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.result-count { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.empty { text-align: center; padding: 40px 16px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty p { margin: 0 0 8px; }
.is-searching #categories, .is-searching #brands { display: none; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn small { font-weight: 500; opacity: .85; margin-left: 2px; font-size: 13px; }
.btn-primary { background: var(--brand-700); color: #fff; }
.btn-primary:hover { background: var(--brand-800); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-sm { min-height: 38px; padding: 6px 12px; font-size: 14px; }
.btn-sm .icon { width: 18px; height: 18px; }

/* ------------------------------------------------------------ listing page head */

.page-head { background: linear-gradient(180deg, #fff, var(--brand-50)); border-bottom: 1px solid var(--line); padding-bottom: 32px; }
.page-title { display: flex; gap: 18px; align-items: flex-start; }
.page-title h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.025em; margin: 0 0 8px; }
.page-title .meta { margin: 10px 0 0; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; padding: 18px 0; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-700); text-decoration: underline; }

/* ------------------------------------------------------------ product page */

.product-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; padding-bottom: 12px; }
.viewer { position: sticky; top: calc(var(--header-h) + 16px); }
.viewer-main {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; cursor: zoom-in;
  min-height: 0; overflow: hidden;
}
.viewer-main img { width: 100%; height: 100%; object-fit: contain; }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--muted); }
.zoom-hint .icon { width: 18px; height: 18px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; list-style: none; padding: 2px; margin: 12px 0 0; scrollbar-width: thin; }
.thumb { width: 76px; height: 58px; flex: none; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 4px; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--brand-200); }
.thumb.is-on { border-color: var(--brand-700); box-shadow: 0 0 0 2px var(--brand-100); }

.product-brand { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--brand-700); text-decoration: none; }
.product-brand:hover { text-decoration: underline; }
.product-info h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin: 6px 0 12px; font-weight: 800; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tagline { font-size: 19px; line-height: 1.45; color: var(--ink); font-weight: 500; margin: 0 0 12px; }
.summary { margin: 0; line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.stats li { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 12px; padding: 12px 14px; }
.stat-value { display: block; font-size: 22px; font-weight: 800; color: var(--brand-800); letter-spacing: -.015em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.notice { display: flex; gap: 10px; align-items: flex-start; background: #fff8e6; border: 1px solid #f1d593; color: #5e4200; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 18px 0 0; }
.notice .icon { margin-top: 1px; color: #a06c00; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.product-nav { display: flex; gap: 8px; overflow-x: auto; padding-top: 28px; scrollbar-width: none; }
.product-nav::-webkit-scrollbar { display: none; }
.product-nav a { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.product-nav a:hover { border-color: var(--brand); color: var(--brand-700); }

.point { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.point-num { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }
.point h3 { margin: 6px 0 6px; font-size: 17px; }
.point p { margin: 0; font-size: 15px; line-height: 1.55; }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who-sell { margin-top: 14px; }
.who-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.who-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 16px; }
.who-col h3 .icon { color: var(--brand-700); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--brand-50); color: var(--brand-800); border: 1px solid var(--brand-100); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.check-list { display: grid; gap: 9px; list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.check-list .icon { color: var(--brand-700); width: 18px; height: 18px; margin-top: 1px; }

.model { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); padding: 18px; }
.model h3 { margin: 0 0 6px; font-size: 16.5px; }
.model p { margin: 0; font-size: 14.5px; line-height: 1.5; }
.guide { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.guide h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 18px; font-size: 16px; border-bottom: 1px solid var(--line); }
.guide h3 .icon { color: var(--brand-700); }

/* specs */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; align-items: start; }
.spec-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-group:has(.spec-multi) { grid-column: 1 / -1; }
.spec-group h3 { margin: 0; padding: 13px 18px; font-size: 15px; background: var(--brand-50); color: var(--brand-800); border-bottom: 1px solid var(--brand-100); }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: minmax(130px, 38%) minmax(0, 1fr); gap: 16px; padding: 11px 18px; border-top: 1px solid var(--line); }
.spec-list > div:first-child { border-top: 0; }
.spec-list dt { color: var(--muted); font-size: 14px; font-weight: 500; }
.spec-list dd { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; position: relative; } /* contains absolutely positioned sr-only text */
.spec-multi { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.spec-multi thead th:first-child { width: 36%; }
.guide .spec-multi { min-width: 460px; }
.spec-multi th, .spec-multi td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-multi thead th { background: #fafcfd; border-top: 0; font-size: 13px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.spec-multi tbody th { font-weight: 500; color: var(--text); min-width: 190px; }
.spec-multi td { color: var(--ink); }
.spec-multi tbody tr:hover { background: #fbfdfe; }
.mark { font-weight: 800; }
.mark.yes { color: var(--ok); }
.mark.no { color: #a9b6bf; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge-std { background: var(--ok-bg); color: var(--ok); }
.badge-opt { background: var(--brand-50); color: var(--brand-800); }
.badge-up { background: #f0f2f4; color: var(--muted); white-space: normal; }
.spec-note { margin: 0; padding: 10px 18px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.source { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 18px 0 0; }
.source .icon { width: 18px; height: 18px; margin-top: 1px; }

/* gallery */
.gallery-item { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; text-align: left; cursor: zoom-in; transition: border-color .2s, box-shadow .2s; }
.gallery-item:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f3f6f8; }
.gallery-item span { display: block; padding: 10px 12px; font-size: 13.5px; line-height: 1.4; border-top: 1px solid var(--line); }
.related { padding-bottom: 32px; }

/* brands pages: 2-column grid of PDF tiles */
.pdf-section { padding-top: 32px; padding-bottom: 48px; }
.pdf-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: calc(960px + 48px); padding-top: 24px; }
.pdf-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--brand-700); text-decoration: none; padding: 6px 10px 6px 4px; margin-left: -4px; border-radius: 8px; }
.pdf-back:hover { background: var(--brand-50); }
.pdf-back .icon { width: 18px; height: 18px; }
.pdf-title { margin: 0; font-size: clamp(24px, 3vw, 30px); letter-spacing: -.02em; }
.pdf-section-tight { padding-top: 16px; }
.pdf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 auto; max-width: 960px; }
.pdf-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pdf-tile:hover { border-color: var(--brand-200); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pdf-media { display: block; min-height: 0; overflow: hidden; flex: 1 0 auto; } /* fills the card when a neighbour's caption wraps */
.pdf-media img { width: 100%; height: 100%; object-fit: contain; }
.pdf-media-cover { aspect-ratio: 3 / 4; background: #eef2f5; padding: 18px; }
.pdf-media-logo { aspect-ratio: 20 / 9; background: #fff; padding: 8px; }
.pdf-caption { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px 14px; border-top: 1px solid var(--line); margin-top: auto; }
.pdf-brand { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--brand-700); }
.pdf-name { font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--ink); }
.pdf-meta { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.pdf-meta .icon { width: 15px; height: 15px; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6, 18, 26, .95); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 72px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100% - 52px); object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox figcaption { margin-top: 14px; color: #d2dee6; font-size: 15px; text-align: center; }
.lb-btn { position: absolute; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* bottom sheets (share, quote) */
.sheet { position: fixed; inset: 0; z-index: 50; background: rgba(13, 34, 48, .45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.sheet-panel { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 20px; display: grid; gap: 8px; box-shadow: var(--shadow-lg); }
.sheet-panel h2 { font-size: 18px; margin: 0 0 6px; }
.sheet-opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; text-align: left; }
.sheet-opt:hover { border-color: var(--brand); color: var(--brand-700); }
.sheet-opt .icon { color: var(--brand-700); }
.sheet-cancel { margin-top: 4px; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); }

.action-bar { display: none; }

/* footer */
.site-footer { margin-top: 56px; background: #fff; border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
.footer-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px; }
.footer-inner p { margin: 8px 0 0; }
.footer-word { height: 20px; width: auto; }
.footer-note { font-size: 13px; }
.notfound { padding: 80px 24px; text-align: center; }
.notfound .lead { margin: 0 auto 24px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
  .hero-logo { display: none; }
  .product-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .viewer { position: static; }
  .who { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 60px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .site-header { position: static; }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand-mark { height: 32px; }
  .brand-word { height: 18px; }
  .header-search { order: 3; flex-basis: 100%; max-width: none; }
  .page-home .header-search { display: none; }
  .section { padding-top: 32px; }
  .lead { font-size: 16.5px; }
  .big-search input { height: 54px; font-size: 16px; }
  .viewer-main { padding: 14px; border-radius: 14px; }
  .tagline { font-size: 17.5px; }
  .product-info .actions { display: none; }
  .page-product { padding-bottom: 84px; }
  .action-bar {
    display: flex; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(13, 34, 48, .08);
  }
  .action-bar .btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; font-size: 14.5px; }
  .action-bar .btn small { display: none; }
  .action-bar.has-quote .btn { padding: 10px 6px; gap: 6px; font-size: 14px; }
  .spec-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 16px; }
  .spec-group h3 { padding: 12px 16px; }
  .sheet { align-items: flex-end; padding: 0; }
  .sheet-panel { border-radius: 18px 18px 0 0; padding: 20px 16px calc(20px + env(safe-area-inset-bottom)); width: 100%; }
  .lightbox figure { padding: 64px 8px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
  .footer-inner { grid-template-columns: 1fr; }
  .page-title { gap: 14px; }
  .cat-icon-lg { width: 48px; height: 48px; }
}

@media (max-width: 560px) {
  .pdf-grid { gap: 10px; }
  .pdf-media-cover { padding: 8px; }
  .pdf-caption { padding: 8px 10px 10px; }
  .pdf-brand { font-size: 10.5px; }
  .pdf-name { font-size: 14px; }
  .pdf-meta { font-size: 12px; }
  .pdf-meta .icon { display: none; }
  .pdf-media-logo { padding: 2px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; padding: 14px; row-gap: 6px; }
  .cat-icon { grid-row: auto; width: 40px; height: 40px; border-radius: 10px; }
  .cat-icon .icon { width: 22px; height: 22px; }
  .cat-name { font-size: 15px; line-height: 1.25; }
  .cat-desc { display: none; }
  .cat-count { margin-top: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-media { padding: 8px; }
  .card-body { padding: 10px 12px 12px; gap: 3px; }
  .card-brand { font-size: 10.5px; }
  .card-title { font-size: 15px; }
  .card-text { font-size: 13px; -webkit-line-clamp: 2; }
  .card-tags .chip:not(.chip-diag):not(.chip-treat) { display: none; }
  .card:hover { transform: none; }
}

@media (max-width: 370px) {
  .action-bar.has-quote .btn .icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ------------------------------------------------------------ print (spec sheet) */

.print-head { display: none; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 11pt; }
  .site-header, .site-footer, .crumbs, .actions, .action-bar, .product-nav, .thumbs, #images, .related, .js-print, .zoom-hint, .toast, .lightbox, .sheet { display: none !important; }
  .print-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--brand); padding-bottom: 8px; margin-bottom: 14px; }
  .print-head img { height: 19px; width: auto; }
  .wrap { padding: 0; max-width: none; }
  .product-top { grid-template-columns: 34% 1fr; gap: 20px; }
  .viewer { position: static; }
  .viewer-main { border: 0; padding: 0; aspect-ratio: auto; }
  .viewer-main img { height: auto; max-height: 220px; }
  .section { padding-top: 16px; }
  .points, .models { grid-template-columns: 1fr 1fr; }
  .point, .model, .who-col, .spec-group, .stats li { break-inside: avoid; box-shadow: none; }
  .specs { grid-template-columns: 1fr; }
  .spec-multi { min-width: 0; }
  a { color: inherit; text-decoration: none; }
  h2 { font-size: 15pt; margin-bottom: 10px; }
}
