﻿/* Shared design tokens and UI primitives for all bearing pages */

:root {
  --ink: #111318;
  --muted: #66707c;
  --line: #e6eaf0;
  --blue: #006e00;
  --blue-soft: #edf7ed;
  --paper: #ffffff;
  --soft: #f7f9fc;
  --shadow: 0 18px 42px rgba(18, 28, 45, .08);
  --radius: 20px;
  --container: 1240px;

  /* Typography scale — shared with bearing detail */
  --font-display: clamp(32px, 4vw, 48px);
  --font-h2: clamp(28px, 3vw, 36px);
  --font-lead: clamp(15px, 1.5vw, 18px);
  --font-body: 14px;
  --font-body-sm: 13px;
  --font-caption: 12px;
  --font-label: 10px;
  --font-eyebrow: 12px;
  --leading-relaxed: 1.75;
  --tracking-tight: -.04em;
  --tracking-label: .08em;
  --tracking-eyebrow: .14em;
  --color-text-muted: #86909d;
  --color-text-secondary: #4f5a67;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Gear Latin Quotes";
  src: local("Arial");
  unicode-range: U+0022, U+0027, U+2018-201F;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Gear Latin Quotes", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.page,
.catalog-shell {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
}

.breadcrumb .current {
  color: #3f4854;
}

/* Shared section typography */
.section-eyebrow {
  color: var(--color-text-muted);
  font-size: var(--font-eyebrow);
  font-weight: 700;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.section-title {
  margin-top: 8px;
  font-size: var(--font-h2);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: 1.12;
}

.section-desc {
  max-width: 640px;
  color: var(--color-text-secondary);
  font-size: var(--font-body);
  line-height: var(--leading-relaxed);
}

.crumb,
.breadcrumb {
  display: flex;
  gap: 12px;
  min-height: 66px;
  align-items: center;
  color: #86909d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.crumb span:not(:last-child)::after,
.breadcrumb span:not(:last-child)::after {
  content: "/";
  margin-left: 12px;
  color: #c6ccd5;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  width: fit-content;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #626b76;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 12px 24px rgba(0, 110, 0, .18);
}

.btn.pill {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: var(--blue);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(18, 28, 45, .045);
}

/* Shared stats grid — hero key specs / product advantages */
.detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.detail-stat {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.detail-stat-label {
  color: var(--color-text-muted);
  font-size: var(--font-label);
  font-weight: 700;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.detail-stat-value {
  margin-top: 12px;
  font-size: var(--font-body);
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 768px) {
  .detail-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
