/* ============================================================
   Yitong Hardware — Wholesale Cabinet Hardware & Handles
   style.css · industrial B2B theme (dark grey / white / deep blue)
   ============================================================ */

:root {
  --c-brand: #0a4e9e;
  --c-brand-d: #073a78;
  --c-brand-l: #2f7bd1;
  --c-brand-tint: #eaf1fa;

  --c-dark: #10161d;
  --c-dark-2: #1a2430;
  --c-dark-3: #233041;

  --c-white: #ffffff;
  --c-bg: #f4f6f9;
  --c-line: #e2e7ee;
  --c-line-d: #ccd5e0;

  --c-heading: #101b26;
  --c-text: #33414f;
  --c-muted: #66788a;
  --c-on-dark: #aebccb;
  --c-on-dark-strong: #e6edf4;

  --radius: 4px;
  --shadow-sm: 0 2px 8px rgba(16, 27, 38, .06);
  --shadow-md: 0 10px 28px rgba(16, 27, 38, .10);
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1200px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; }
a:hover { color: var(--c-brand-d); }
h1, h2, h3, h4, h5 { color: var(--c-heading); line-height: 1.25; margin: 0 0 .55em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-brand-l); outline-offset: 2px; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- layout helpers ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-soft { background: var(--c-bg); }
.bg-white { background: var(--c-white); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-brand);
  margin-bottom: 14px;
}
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.sec-head p { color: var(--c-muted); font-size: 16.5px; margin: 0; }
.sec-head .eyebrow { margin-bottom: 12px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-brand { background: var(--c-brand); color: #fff; }
.btn-brand:hover { background: var(--c-brand-d); color: #fff; }
.btn-white { background: #fff; color: var(--c-heading); }
.btn-white:hover { background: var(--c-bg); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .65);
}
.btn-ghost:hover { background: #fff; color: var(--c-heading); border-color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--c-brand);
  border: 1.5px solid var(--c-brand);
}
.btn-outline:hover { background: var(--c-brand); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 12.5px; }

/* ---------- topbar ---------- */
.topbar { background: var(--c-dark); color: var(--c-on-dark); font-size: 13px; }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px;
}
.topbar a { color: var(--c-on-dark); }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar-right span { color: var(--c-brand-l); font-weight: 700; }
@media (max-width: 760px) { .topbar-right span, .topbar-left .hide-sm { display: none; } }

/* ---------- header / nav ---------- */
.main-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .2s;
}
.main-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 42px; height: 42px; flex: none;
  background: linear-gradient(135deg, var(--c-brand) 0%, #08366e 100%);
  color: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; letter-spacing: .01em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.12; }
.logo-text strong { font-size: 21px; letter-spacing: .09em; color: var(--c-heading); font-weight: 800; }
.logo-text small { font-size: 9.5px; letter-spacing: .44em; color: var(--c-muted); font-weight: 700; text-transform: uppercase; }
.logo:hover .logo-text strong { color: var(--c-brand); }

.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: var(--c-heading); font-weight: 600; font-size: 15px;
  padding: 8px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--c-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:hover, .nav a.active { color: var(--c-brand); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }

/* hamburger */
.hamburger {
  display: none; position: relative; z-index: 1101;
  width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: var(--c-heading); border-radius: 2px; transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10, 16, 23, .55);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav-overlay.show { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .hamburger { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1100;
    width: min(78vw, 340px); background: #fff;
    padding: 92px 30px 30px;
    transform: translateX(102%); transition: transform .28s ease;
    box-shadow: -18px 0 40px rgba(10, 16, 23, .14); overflow-y: auto;
  }
  .nav.open { transform: translateX(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--c-line); font-size: 16px; }
  .nav a::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 22px; width: 100%; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(9, 15, 22, .92) 0%, rgba(9, 15, 22, .72) 45%, rgba(9, 15, 22, .30) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-inner { padding: 128px 0 96px; }
.hero .eyebrow { color: var(--c-brand-l); margin-bottom: 16px; }
.hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  max-width: 780px;
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.hero h1 .accent { color: #9cc3f2; }
.hero-lead { color: var(--c-on-dark-strong); font-size: 17.5px; max-width: 640px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 34px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px; padding: 6px 15px; font-size: 13px; color: #eef3f8;
}
.hero-badges svg { width: 14px; height: 14px; flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  margin-top: 72px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.hero-stats b {
  display: block; font-size: clamp(26px, 3vw, 36px); color: #fff; font-weight: 800; line-height: 1.1;
}
.hero-stats b em { font-style: normal; color: var(--c-brand-l); }
.hero-stats span { font-size: 13.5px; color: var(--c-on-dark); }
@media (max-width: 860px) {
  .hero-inner { padding: 84px 0 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ---------- icon cards (why us / services) ---------- */
.icon-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px;
  padding: 32px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.icon-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-line-d); }
.card-icon {
  width: 60px; height: 60px; border-radius: 8px;
  background: var(--c-brand-tint); color: var(--c-brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.icon-card h3 { font-size: 19px; margin-bottom: 10px; }
.icon-card p { color: var(--c-muted); font-size: 14.5px; margin: 0; }
.card-num {
  position: absolute; top: 26px; right: 26px; font-size: 15px; font-weight: 800; color: var(--c-line-d);
}

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } }

.about-media { position: relative; }
.about-media img { border-radius: 8px; width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about-media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--c-brand); border-radius: 8px; z-index: -1; opacity: .35;
}
.exp-badge {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--c-brand); color: #fff; text-align: center;
  padding: 16px 20px; border-radius: 6px; box-shadow: var(--shadow-md);
}
.exp-badge b { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.exp-badge span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #cfe0f4; }
@media (max-width: 680px) { .exp-badge { right: 6px; } }

.check-list { margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--c-text); font-size: 15.5px; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--c-brand); margin-top: 3px; }

/* ---------- products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-btn {
  padding: 8px 18px; border: 1px solid var(--c-line-d); background: #fff; color: var(--c-text);
  border-radius: 999px; font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--c-brand); color: var(--c-brand); }
.filter-btn.active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

.prod-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prod-media { aspect-ratio: 1/1; background: var(--c-bg); overflow: hidden; position: relative; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-media .tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--c-brand); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px;
}
.prod-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-sku { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; color: var(--c-brand); text-transform: uppercase; }
.prod-body h3 { font-size: 18px; margin: 6px 0 8px; }
.prod-body p { color: var(--c-muted); font-size: 14px; margin-bottom: 14px; flex: 1; }
.prod-meta { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--c-line); padding-top: 14px; }
.moq {
  background: var(--c-brand-tint); color: var(--c-brand); border-radius: 3px;
  font-size: 12.5px; font-weight: 700; padding: 4px 10px;
}
.more-link { font-size: 13.5px; font-weight: 700; color: var(--c-heading); display: inline-flex; align-items: center; gap: 6px; }
.more-link:hover { color: var(--c-brand); }
.more-link svg { width: 15px; height: 15px; transition: transform .2s; }
.more-link:hover svg { transform: translateX(4px); }

/* ---------- services (dark band) ---------- */
.band-dark { background: linear-gradient(150deg, #0d141c 0%, #16202c 100%); color: var(--c-on-dark); }
.band-dark .sec-head h2 { color: #fff; }
.band-dark .sec-head p { color: var(--c-on-dark); }
.svc-card {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px;
  padding: 30px 26px; background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.svc-card:hover { border-color: var(--c-brand-l); background: rgba(255, 255, 255, .06); }
.svc-card .card-icon { background: rgba(47, 123, 209, .16); color: #8db9ea; }
.svc-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.svc-card p { color: var(--c-on-dark); font-size: 14px; margin: 0; }

/* ---------- news ---------- */
.news-card { background: #fff; border: 1px solid var(--c-line); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; transition: .2s; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-date { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-date time { font-size: 12.5px; font-weight: 700; color: var(--c-muted); letter-spacing: .04em; }
.news-date .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-brand-l); }
.news-card h3 { font-size: 18.5px; line-height: 1.4; }
.news-card h3 a { color: var(--c-heading); }
.news-card h3 a:hover { color: var(--c-brand); }
.news-card p { color: var(--c-muted); font-size: 14.5px; flex: 1; }
.news-card .more-link { margin-top: 8px; }

/* ---------- contact / quote ---------- */
.contact-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
@media (max-width: 940px) { .contact-split { grid-template-columns: 1fr; gap: 44px; } }

.c-item { display: flex; gap: 16px; margin-bottom: 26px; }
.c-icon {
  width: 46px; height: 46px; flex: none; border-radius: 6px;
  background: var(--c-brand-tint); color: var(--c-brand);
  display: flex; align-items: center; justify-content: center;
}
.c-icon svg { width: 22px; height: 22px; }
.c-item h4 { font-size: 15.5px; margin-bottom: 2px; }
.c-item p, .c-item a { color: var(--c-muted); font-size: 14.5px; margin: 0; word-break: break-word; }
.c-item a:hover { color: var(--c-brand); }

.form-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 8px;
  padding: 38px; box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .form-note { color: var(--c-muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--c-heading); }
.field label .req { color: #c62828; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--c-text);
  padding: 12px 14px; border: 1px solid var(--c-line-d); border-radius: 4px;
  background: #fbfcfd; transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--c-brand);
  box-shadow: 0 0 0 3px rgba(10, 78, 158, .13); background: #fff;
}
.field input.err, .field textarea.err { border-color: #c62828; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success {
  display: none; background: #e9f7ef; border: 1px solid #bfe5cf; color: #1e6b42;
  border-radius: 6px; padding: 16px 18px; font-size: 15px; margin-bottom: 20px;
}
.form-success.show { display: block; }
.form-error { display: none; color: #c62828; font-size: 14px; margin-top: 10px; }
.form-error.show { display: block; }
.btn-submit { width: 100%; padding: 15px; font-size: 15px; }

/* ---------- footer ---------- */
.site-footer { background: #0c1219; color: var(--c-on-dark); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 72px 0 50px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo-text small { color: var(--c-muted); }
.site-footer p { color: var(--c-on-dark); font-size: 14px; }
.footer-brand p { max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: var(--c-on-dark); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 13px; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--c-brand-l); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0; font-size: 13px;
}
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--c-on-dark); }
.footer-bottom a:hover { color: #fff; }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(105deg, rgba(9, 15, 22, .9) 30%, rgba(9, 15, 22, .72) 70%, rgba(9, 15, 22, .55)),
    url("../img/hero.jpg") center/cover no-repeat;
  color: #fff; padding: 74px 0;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 10px; }
.crumb { font-size: 13.5px; color: var(--c-on-dark); display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--c-brand-l); }
.crumb a:hover { color: #fff; }
.crumb span { opacity: .65; }

/* ---------- text / prose ---------- */
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.prose p { margin-bottom: 1em; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px;
  padding: 18px 22px; margin-bottom: 14px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--c-heading); font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--c-brand); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--c-muted); font-size: 15px; padding-top: 12px; }

/* ---------- reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- misc ---------- */
.cta-strip {
  background: linear-gradient(120deg, var(--c-brand-d) 0%, var(--c-brand) 60%, #0f5cb8 100%);
  color: #fff; border-radius: 10px; padding: 46px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.cta-strip h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 6px; }
.cta-strip p { color: #d5e5f7; margin: 0; }
.cta-strip .btn-white { color: var(--c-brand-d); }
.cta-strip .btn-white:hover { background: #eef4fb; }
.media-wide img { width: 100%; border-radius: 8px; object-fit: cover; }
.vspace { margin-top: 72px; }

/* ============================================================
   CMS additions — filter links, product detail, pagination, errors
   ============================================================ */
a.filter-btn { display: inline-block; text-decoration: none; }
a.filter-btn:hover { color: var(--c-brand); }
.filter-btn.active:hover { color: #fff; }
.field input.err, .field textarea.err, .field select.err { border-color: #c62828; }
.errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: #c62828; font-size: 13px; }

.detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 36px; } }
.gallery-main img { width: 100%; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-bg); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery-thumbs img { border: 1px solid var(--c-line); border-radius: 6px; }

.meta-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.meta-list span {
  background: var(--c-brand-tint); color: var(--c-brand);
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 3px;
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 6px; }
.spec-table th, .spec-table td {
  padding: 12px 14px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top;
}
.spec-table th { width: 210px; color: var(--c-heading); font-weight: 700; background: var(--c-bg); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
  padding: 8px 14px; border: 1px solid var(--c-line-d); border-radius: 4px;
  font-size: 14px; color: var(--c-text); text-decoration: none;
}
.pager a:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager .current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; font-weight: 700; }

/* ============================================================
   Site search
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 190px; padding: 9px 38px 9px 14px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--c-line-d); border-radius: 999px; background: #fbfcfd; color: var(--c-text);
}
.header-search input:focus {
  outline: 0; border-color: var(--c-brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 78, 158, .12);
}
.header-search button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; background: transparent; color: var(--c-muted);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.header-search button:hover { color: var(--c-brand); }
.header-search svg { width: 17px; height: 17px; }
@media (max-width: 1240px) { .header-search input { width: 150px; } }
@media (max-width: 1080px) {
  .header-search { width: 100%; margin: 10px 0 4px; }
  .header-search input { width: 100%; }
  .header-search button { right: 8px; }
}

.search-page-form { display: flex; gap: 12px; max-width: 620px; margin-bottom: 28px; }
.search-page-form input {
  flex: 1; padding: 14px 16px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--c-line-d); border-radius: 4px; color: var(--c-text);
}
.search-page-form input:focus {
  outline: 0; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(10, 78, 158, .13);
}
.search-count { color: var(--c-muted); margin-bottom: 34px; }
.search-h2 { font-size: 20px; margin-bottom: 20px; }
.search-empty {
  background: #fff; border: 1px dashed var(--c-line-d); border-radius: 8px;
  padding: 42px 30px; text-align: center;
}
.search-empty h3 { margin-bottom: 8px; }
.search-empty p { color: var(--c-muted); margin: 0; }

/* ============================================================
   Social profiles (GEO: external links + schema sameAs)
   ============================================================ */
.social-links { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-links li { margin: 0; }
.social-links a {
  display: inline-block; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; text-decoration: none;
}
.social-links a:hover { background: var(--c-brand); border-color: var(--c-brand); }

.follow-band { background: linear-gradient(120deg, var(--c-brand), var(--c-brand-d)); color: #fff; padding: 46px 0; }
.follow-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.follow-band .eyebrow { color: rgba(255, 255, 255, .75); }
.follow-band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 30px); margin: 6px 0 8px; }
.follow-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 560px; }
.follow-links { display: flex; gap: 12px; flex-wrap: wrap; }
.follow-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none; transition: .2s;
}
.follow-btn:hover { background: #fff; color: var(--c-brand); border-color: #fff; }
.follow-btn svg { width: 15px; height: 15px; }
@media (max-width: 700px) { .follow-inner { flex-direction: column; align-items: flex-start; } }
