/* 博友制钛 brand page */

.bo-page {
  background: var(--paper);
}

.bo-header {
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(14px);
}

/* ---------- Hero ---------- */

.bo-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #050d19;
}

.bo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(120% 80% at 78% 40%, black, transparent 72%);
  pointer-events: none;
}

.bo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(72% 62% at 76% 45%, rgba(66, 217, 232, 0.13), transparent 68%);
  pointer-events: none;
}

.bo-hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: calc(var(--header-height) + 66px) 0 92px;
}

.bo-hero-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 48px;
}

.bo-hero h1 {
  margin: 0;
  font-size: clamp(58px, 8.4vw, 118px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.bo-hero-sub {
  margin: 20px 0 0;
  color: var(--cyan);
  font-size: clamp(17px, 1.7vw, 23px);
  font-weight: 700;
  letter-spacing: 0.24em;
}

.bo-hero-desc {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  line-height: 1.95;
}

.bo-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bo-hero-stats {
  margin: 46px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.bo-hero-stats strong {
  display: block;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bo-hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.bo-hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.bo-hero-visual img {
  width: min(96%, 520px);
  height: auto;
  filter: drop-shadow(0 42px 70px rgba(0, 0, 0, 0.55));
}

/* ---------- Brand seal ---------- */

.bo-brand {
  padding: 84px 0 0;
}

.bo-brand-inner {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 46px 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: 54px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(15, 32, 52, 0.05);
}

.bo-brand-logo {
  width: 100%;
  max-width: 220px;
}

.bo-brand-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.bo-brand-copy p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

/* ---------- Sticky toolbar ---------- */

.bo-toolbar {
  position: sticky;
  z-index: 20;
  top: var(--header-height);
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 247, 247, 0.92);
  backdrop-filter: blur(16px);
}

.bo-toolbar-inner {
  width: min(calc(100% - 48px), var(--content));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.bo-tabs {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bo-tabs::-webkit-scrollbar {
  display: none;
}

.bo-tab {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.bo-tab:hover {
  color: var(--ink);
  border-color: rgba(18, 116, 245, 0.4);
}

.bo-tab.is-active {
  color: var(--white);
  border-color: transparent;
  background: var(--ink);
}

.bo-search {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.bo-search svg {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.bo-search input {
  width: 210px;
  padding: 10px 14px 10px 37px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.bo-search input::placeholder {
  color: rgba(96, 112, 128, 0.72);
}

.bo-search input:focus {
  border-color: rgba(18, 116, 245, 0.5);
  box-shadow: 0 0 0 3px rgba(18, 116, 245, 0.12);
}

/* ---------- Catalog ---------- */

.bo-main {
  padding-bottom: 110px;
}

.bo-group {
  padding-top: 92px;
  scroll-margin-top: calc(var(--header-height) + 118px);
}

.bo-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.6fr);
  align-items: end;
  gap: 56px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.bo-group-head h2 {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.bo-group-head h2 em {
  color: rgba(7, 17, 31, 0.24);
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bo-group-head p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.bo-series {
  margin-top: 56px;
  scroll-margin-top: calc(var(--header-height) + 96px);
}

.bo-series-head {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bo-series-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.bo-series-head span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.bo-series-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.bo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 16px;
}

.bo-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.bo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 116, 245, 0.26);
  box-shadow: 0 18px 44px rgba(15, 32, 52, 0.1);
}

.bo-card-media {
  position: relative;
  height: 226px;
  padding: 22px 22px 8px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(244, 247, 247, 0.4), rgba(233, 240, 241, 0.85));
}

.bo-card-media::after {
  content: "";
  position: absolute;
  inset: auto 18px 14px;
  height: 1px;
  background: rgba(7, 17, 31, 0.07);
}

.bo-card-media img {
  width: auto;
  max-width: 100%;
  max-height: 190px;
  object-fit: contain;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bo-card:hover .bo-card-media img {
  transform: translateY(-4px) scale(1.035);
}

.bo-card-body {
  flex: 1;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bo-card-top h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.bo-code {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  color: var(--navy);
  background: rgba(16, 42, 67, 0.07);
  font-family: "Space Grotesk", monospace;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bo-specs {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  list-style: none;
}

.bo-specs li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.bo-specs li + li::before {
  content: "";
  width: 1px;
  height: 11px;
  margin-right: 4px;
  background: var(--line);
}

.bo-specs svg {
  width: 13px;
  height: 13px;
  color: var(--blue);
}

.bo-card-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.bo-card-price span {
  color: var(--muted);
  font-size: 12px;
}

.bo-card-price strong {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.bo-card-price strong::before {
  content: "¥";
  margin-right: 1px;
  font-size: 14px;
  font-weight: 600;
}

/* Component list card (随行套组) */

.bo-card.is-set .bo-specs {
  flex-direction: column;
  gap: 4px;
}

.bo-card.is-set .bo-specs li + li::before {
  display: none;
}

.bo-note {
  margin: 72px 0 0;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  line-height: 1.9;
}

.bo-empty {
  margin: 60px 0 0;
  padding: 46px 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.bo-page .category-contact h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}

[hidden] {
  display: none !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .bo-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .bo-hero-visual {
    min-height: 300px;
    order: -1;
  }

  .bo-hero-visual img {
    width: min(70%, 380px);
  }

  .bo-brand-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    text-align: left;
  }

  .bo-group-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 760px) {
  .bo-hero-inner {
    padding: calc(var(--header-height) + 40px) 0 64px;
  }

  .bo-hero-grid {
    margin-top: 34px;
  }

  .bo-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .bo-brand {
    padding-top: 56px;
  }

  .bo-brand-inner {
    padding: 30px 24px;
  }

  .bo-toolbar {
    top: var(--header-height);
    margin-top: 44px;
  }

  .bo-toolbar-inner {
    min-height: 0;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
  }

  .bo-tabs {
    order: 2;
    width: 100%;
    flex-basis: 100%;
  }

  .bo-search {
    flex: 1 1 100%;
  }

  .bo-search input {
    width: 100%;
  }

  .bo-group {
    padding-top: 62px;
    scroll-margin-top: calc(var(--header-height) + 132px);
  }

  .bo-series {
    margin-top: 40px;
  }

  .bo-grid {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 12px;
  }

  .bo-card-media {
    height: 168px;
    padding: 16px 14px 6px;
  }

  .bo-card-media img {
    max-height: 140px;
  }

  .bo-card-body {
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .bo-card-top h3 {
    font-size: 15px;
  }

  .bo-card-price strong {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .bo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bo-card-media {
    height: 200px;
  }

  .bo-card-media img {
    max-height: 168px;
  }
}
